From ae528ce4927788d28a8dc2690b434d05115b2f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Sun, 22 Feb 2026 17:56:18 +0300 Subject: [PATCH] =?UTF-8?q?Tema=20g=C3=BCncellemesi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Seeds/HostData.json | 2 +- .../Seeds/ListFormSeeder_Accounting.cs | 32 +- .../Seeds/ListFormSeeder_Administration.cs | 70 ++--- .../Seeds/ListFormSeeder_Coordinator.cs | 24 +- .../Seeds/ListFormSeeder_Crm.cs | 34 +-- .../Seeds/ListFormSeeder_Hr.cs | 32 +- .../Seeds/ListFormSeeder_Intranet.cs | 20 +- .../Seeds/ListFormSeeder_Maintenance.cs | 30 +- .../Seeds/ListFormSeeder_Mrp.cs | 26 +- .../Seeds/ListFormSeeder_Project.cs | 26 +- .../Seeds/ListFormSeeder_Saas.cs | 40 +-- .../Seeds/ListFormSeeder_Store.cs | 34 +-- .../Seeds/ListFormSeeder_SupplyChain.cs | 44 +-- ui/src/components/codeLayout/PanelManager.tsx | 2 +- ui/src/components/orders/Cart.tsx | 2 +- ui/src/views/coordinator/QuestionDialog.tsx | 2 +- ui/src/views/form/FormDevExpress.tsx | 289 +++++++++--------- .../intranet/widgets/ActiveReservations.tsx | 2 +- .../views/intranet/widgets/ActiveSurveys.tsx | 2 +- .../views/intranet/widgets/Announcements.tsx | 2 +- .../intranet/widgets/ExpenseManagement.tsx | 2 +- .../intranet/widgets/LeaveManagement.tsx | 2 +- .../views/intranet/widgets/MealWeeklyMenu.tsx | 2 +- .../intranet/widgets/OvertimeManagement.tsx | 2 +- .../views/intranet/widgets/PriorityTasks.tsx | 2 +- .../intranet/widgets/RecentDocuments.tsx | 2 +- .../views/intranet/widgets/ShuttleRoute.tsx | 20 +- .../views/intranet/widgets/TodayBirthdays.tsx | 2 +- .../views/intranet/widgets/UpcomingEvents.tsx | 2 +- .../intranet/widgets/UpcomingTrainings.tsx | 2 +- ui/src/views/intranet/widgets/Visitors.tsx | 2 +- ui/src/views/list/useListFormColumns.ts | 2 +- ui/src/views/menu/MenuManager.tsx | 2 +- 33 files changed, 388 insertions(+), 371 deletions(-) diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/HostData.json b/api/src/Erp.Platform.DbMigrator/Seeds/HostData.json index e612162e..a95f5b6c 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/HostData.json +++ b/api/src/Erp.Platform.DbMigrator/Seeds/HostData.json @@ -202,7 +202,7 @@ "code": "App.SiteManagement.Theme.Style", "nameKey": "App.SiteManagement.Theme.Style", "descriptionKey": "App.SiteManagement.Theme.Style.Description", - "defaultValue": "dx.light.compact", + "defaultValue": "dx.material.blue.light.compact", "isVisibleToClients": true, "providers": "U|G|D", "isInherited": false, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Accounting.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Accounting.cs index 525ac652..790f6a00 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Accounting.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Accounting.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -356,7 +356,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -523,7 +523,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -715,7 +715,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1027,7 +1027,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1155,7 +1155,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1283,7 +1283,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1411,7 +1411,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1539,7 +1539,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1667,7 +1667,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1795,7 +1795,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1923,7 +1923,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2286,7 +2286,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2670,7 +2670,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2979,7 +2979,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3311,7 +3311,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Administration.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Administration.cs index 38f81b8f..930ba9dc 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Administration.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Administration.cs @@ -57,7 +57,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -180,7 +180,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -406,7 +406,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -623,7 +623,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -759,7 +759,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1022,7 +1022,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1166,7 +1166,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1365,7 +1365,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1594,7 +1594,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1722,7 +1722,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1852,7 +1852,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2041,7 +2041,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2276,7 +2276,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2410,7 +2410,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2544,7 +2544,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3026,7 +3026,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3227,7 +3227,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3583,7 +3583,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3815,7 +3815,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4047,7 +4047,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4304,7 +4304,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4398,7 +4398,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4516,7 +4516,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -4662,7 +4662,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -4769,7 +4769,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4875,7 +4875,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -5078,7 +5078,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5169,7 +5169,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5262,7 +5262,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5352,7 +5352,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5461,7 +5461,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5552,7 +5552,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5841,7 +5841,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -6026,7 +6026,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -6293,7 +6293,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Coordinator.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Coordinator.cs index c88feaf2..4d89af8b 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Coordinator.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Coordinator.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -174,7 +174,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -590,7 +590,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -743,7 +743,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -924,7 +924,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1142,7 +1142,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1323,7 +1323,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1608,7 +1608,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1728,7 +1728,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1978,7 +1978,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2105,7 +2105,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2246,7 +2246,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Crm.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Crm.cs index 0d230046..a7295170 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Crm.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Crm.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -204,7 +204,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -343,7 +343,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -463,7 +463,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -583,7 +583,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -736,7 +736,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -828,7 +828,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -956,7 +956,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1083,7 +1083,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency var listForm = await _listFormRepository.InsertAsync(new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1799,7 +1799,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1959,7 +1959,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2087,7 +2087,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2508,7 +2508,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2824,7 +2824,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2999,7 +2999,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -3318,7 +3318,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3678,7 +3678,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs index 028f35b3..cdcaf571 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs @@ -55,7 +55,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -149,7 +149,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -438,7 +438,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -641,7 +641,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -945,7 +945,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1238,7 +1238,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2021,7 +2021,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2367,7 +2367,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2711,7 +2711,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3011,7 +3011,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3392,7 +3392,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3548,7 +3548,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3791,7 +3791,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4140,7 +4140,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4343,7 +4343,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -4520,7 +4520,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs index 9e1b99c6..8639dfd9 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -144,7 +144,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -234,7 +234,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -495,7 +495,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -692,7 +692,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -954,7 +954,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1191,7 +1191,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1476,7 +1476,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1744,7 +1744,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1911,7 +1911,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Maintenance.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Maintenance.cs index 0d3105fb..19df5399 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Maintenance.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Maintenance.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -182,7 +182,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -310,7 +310,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -684,7 +684,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1066,7 +1066,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1195,7 +1195,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1354,7 +1354,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1648,7 +1648,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1777,7 +1777,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1906,7 +1906,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2035,7 +2035,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2164,7 +2164,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2567,7 +2567,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2736,7 +2736,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2881,7 +2881,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs index 06f10ed6..36e83f1f 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Mrp.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -182,7 +182,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -403,7 +403,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -706,7 +706,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -834,7 +834,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1081,7 +1081,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1353,7 +1353,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1623,7 +1623,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1751,7 +1751,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1879,7 +1879,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2317,7 +2317,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2548,7 +2548,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2963,7 +2963,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Project.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Project.cs index c2286adc..86602a41 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Project.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Project.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -183,7 +183,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -312,7 +312,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -441,7 +441,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -570,7 +570,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -699,7 +699,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -828,7 +828,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1272,7 +1272,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -1379,7 +1379,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, IsSubForm = true, ShowNote = true, LayoutJson = DefaultLayoutJson("tree"), @@ -1504,7 +1504,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1875,7 +1875,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2181,7 +2181,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2377,7 +2377,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs index 0a39f813..5d311246 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Saas.cs @@ -57,7 +57,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -557,7 +557,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -1020,7 +1020,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1409,7 +1409,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1569,7 +1569,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1716,7 +1716,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1877,7 +1877,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2054,7 +2054,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2236,7 +2236,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2555,7 +2555,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3183,7 +3183,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3424,7 +3424,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3625,7 +3625,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3861,7 +3861,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3974,7 +3974,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4087,7 +4087,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4232,7 +4232,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4322,7 +4322,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4518,7 +4518,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4654,7 +4654,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency new ListForm { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs index c6f15207..1ea1943d 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -183,7 +183,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -312,7 +312,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -441,7 +441,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -819,7 +819,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1025,7 +1025,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1294,7 +1294,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1603,7 +1603,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1770,7 +1770,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2054,7 +2054,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2183,7 +2183,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2332,7 +2332,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2667,7 +2667,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2895,7 +2895,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -3158,7 +3158,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3386,7 +3386,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -3660,7 +3660,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs index 75dda487..0165504a 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs @@ -54,7 +54,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -183,7 +183,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -338,7 +338,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend var listForm = await _listFormRepository.InsertAsync(new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -671,7 +671,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -799,7 +799,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -929,7 +929,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1059,7 +1059,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -1772,7 +1772,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2114,7 +2114,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2275,7 +2275,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2510,7 +2510,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -2691,7 +2691,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -2873,7 +2873,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3003,7 +3003,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3287,7 +3287,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = true, ShowNote = true, @@ -3510,7 +3510,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3638,7 +3638,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -3766,7 +3766,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4278,7 +4278,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4509,7 +4509,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -4637,7 +4637,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, @@ -5008,7 +5008,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend new ListForm() { ListFormType = ListFormTypeEnum.List, - PageSize = 20, + PageSize = 10, ExportJson = DefaultExportJson, IsSubForm = false, ShowNote = true, diff --git a/ui/src/components/codeLayout/PanelManager.tsx b/ui/src/components/codeLayout/PanelManager.tsx index f16edf1e..3cc0e2fc 100644 --- a/ui/src/components/codeLayout/PanelManager.tsx +++ b/ui/src/components/codeLayout/PanelManager.tsx @@ -35,7 +35,7 @@ export const PanelManager: React.FC = ({
-

Panel Manager

+

Panel Manager

diff --git a/ui/src/views/form/FormDevExpress.tsx b/ui/src/views/form/FormDevExpress.tsx index fe135506..ecd37f04 100644 --- a/ui/src/views/form/FormDevExpress.tsx +++ b/ui/src/views/form/FormDevExpress.tsx @@ -3,7 +3,6 @@ import { Form as FormDx, FormRef, GroupItem as GroupItemDx, - Label as LabelDx, SimpleItem as SimpleItemDx, } from 'devextreme-react/form' import { FieldDataChangedEvent, GroupItem } from 'devextreme/ui/form' @@ -12,6 +11,7 @@ import { GridBoxEditorComponent } from './editors/GridBoxEditorComponent' import { TagBoxEditorComponent } from './editors/TagBoxEditorComponent' import { RowMode, SimpleItemWithColData } from './types' import { PlatformEditorTypes } from '@/proxy/form/models' +import { useLocalization } from '@/utils/hooks/useLocalization' const FormDevExpress = (props: { listFormCode: string @@ -23,10 +23,11 @@ const FormDevExpress = (props: { setFormData: Dispatch }) => { const { listFormCode, isSubForm, mode, refForm, formData, formItems, setFormData } = props + const { translate } = useLocalization() const formDataRef = useRef(formData) const formItemsRef = useRef(formItems) - + useEffect(() => { formDataRef.current = formData }, [formData]) @@ -40,7 +41,7 @@ const FormDevExpress = (props: { if (!refForm.current?.instance()) return const allItems = formItems.flatMap((group) => (group.items as SimpleItemWithColData[]) || []) - + allItems.forEach((item) => { if (item.colData?.lookupDto?.dataSourceType && item.editorOptions?.dataSource) { try { @@ -60,13 +61,15 @@ const FormDevExpress = (props: { const updateCascadeDisabledStates = () => { if (!refForm.current?.instance()) return - const allItems = formItemsRef.current.flatMap((group) => (group.items as SimpleItemWithColData[]) || []) - + const allItems = formItemsRef.current.flatMap( + (group) => (group.items as SimpleItemWithColData[]) || [], + ) + allItems.forEach((item) => { const cascadeParentFields = item.colData?.lookupDto?.cascadeParentFields if (cascadeParentFields) { const parentFields = cascadeParentFields.split(',').map((f: string) => f.trim()) - + try { const editor = refForm.current?.instance().getEditor(item.dataField!) if (editor && mode !== 'view') { @@ -74,7 +77,7 @@ const FormDevExpress = (props: { const shouldDisable = parentFields.some((parentField: string) => { return !formDataRef.current || !formDataRef.current[parentField] }) - + editor.option('disabled', shouldDisable) } } catch (err) { @@ -90,148 +93,152 @@ const FormDevExpress = (props: { }, [formData, mode]) return ( -
- { - const newFormData = { ...formData, [e.dataField!]: e.value } - - // Cascading child field'leri temizle (parent field değiştiğinde) - const allItems = formItemsRef.current.flatMap((group) => (group.items as SimpleItemWithColData[]) || []) - const cascadingChildren = allItems.filter((item) => { - const parentFields = item.colData?.lookupDto?.cascadeParentFields?.split(',') || [] - return parentFields.some(field => field.trim() === e.dataField) - }) + { + const newFormData = { ...formData, [e.dataField!]: e.value } - // Parent field değiştiğinde child field'leri temizle - cascadingChildren.forEach((child) => { - newFormData[child.dataField!] = null - }) + // Cascading child field'leri temizle (parent field değiştiğinde) + const allItems = formItemsRef.current.flatMap( + (group) => (group.items as SimpleItemWithColData[]) || [], + ) + const cascadingChildren = allItems.filter((item) => { + const parentFields = item.colData?.lookupDto?.cascadeParentFields?.split(',') || [] + return parentFields.some((field) => field.trim() === e.dataField) + }) - setFormData(newFormData) + // Parent field değiştiğinde child field'leri temizle + cascadingChildren.forEach((child) => { + newFormData[child.dataField!] = null + }) - // Cascade disabled durumlarını güncelle (setTimeout ile editor güncellemesinden sonra çalışsın) - setTimeout(() => { - updateCascadeDisabledStates() - }, 0) + setFormData(newFormData) - //Dinamik script - const changeItem = formItemsRef.current - .flatMap((group) => (group.items as SimpleItemWithColData[]) || []) - .find((i: SimpleItemWithColData) => i.dataField === e.dataField) + // Cascade disabled durumlarını güncelle (setTimeout ile editor güncellemesinden sonra çalışsın) + setTimeout(() => { + updateCascadeDisabledStates() + }, 0) - if (changeItem?.editorScript) { - try { - //setFormData({...formData, Path: e.value}); - //UiEvalService.ApiGenerateBackgroundWorkers(); - //setFormData({ ...formData, Path: (v => v === '1' ? '1-deneme' : v === '0' ? '0-deneme' : '')(e.value) }) - eval(changeItem.editorScript) - } catch (err) { - console.error('Script execution failed for', changeItem.name, err) - } + //Dinamik script + const changeItem = formItemsRef.current + .flatMap((group) => (group.items as SimpleItemWithColData[]) || []) + .find((i: SimpleItemWithColData) => i.dataField === e.dataField) + + if (changeItem?.editorScript) { + try { + //setFormData({...formData, Path: e.value}); + //UiEvalService.ApiGenerateBackgroundWorkers(); + //setFormData({ ...formData, Path: (v => v === '1' ? '1-deneme' : v === '0' ? '0-deneme' : '')(e.value) }) + eval(changeItem.editorScript) + } catch (err) { + console.error('Script execution failed for', changeItem.name, err) } - }} - onContentReady={(e) => { - const groupItems = e.component.option('items') as any[] - const firstItem = groupItems?.[0]?.items?.[0] + } + }} + onContentReady={(e) => { + const groupItems = e.component.option('items') as any[] + const firstItem = groupItems?.[0]?.items?.[0] - if (firstItem?.dataField) { - const editor = e.component.getEditor(firstItem.dataField) - mode !== 'view' && editor?.focus() - } - }} - > - {formItems.map((formGroupItem, i) => { - return ( - - {(formGroupItem.items as SimpleItemWithColData[])?.map((formItem, i) => { - return formItem.editorType2 === PlatformEditorTypes.dxTagBox ? ( - ( - { - setFormData({ ...formData, [formItem.dataField!]: e }) - }} - editorOptions={{ - ...formItem.editorOptions, - ...(mode === 'view' ? { readOnly: true } : {}), - }} - > - )} - > - - - ) : formItem.editorType2 === PlatformEditorTypes.dxGridBox ? ( - ( - { - setFormData({ ...formData, [formItem.dataField!]: e }) - }} - editorOptions={{ - ...formItem.editorOptions, - ...(mode === 'view' ? { readOnly: true } : {}), - }} - > - )} - > - - - ) : ( - { - if (btn?.options?.onClick && typeof btn.options.onClick === 'string') { - const origClick = eval(`(${btn.options.onClick})`) - btn.options.onClick = (e: any) => { - origClick({ - ...e, - formData: formDataRef.current, - fieldName: formItem.dataField, - mode, - }) - } + if (firstItem?.dataField) { + const editor = e.component.getEditor(firstItem.dataField) + mode !== 'view' && editor?.focus() + } + }} + > + {formItems.map((formGroupItem, i) => { + return ( + + {(formGroupItem.items as SimpleItemWithColData[])?.map((formItem, i) => { + return formItem.editorType2 === PlatformEditorTypes.dxTagBox ? ( + ( + { + setFormData({ ...formData, [formItem.dataField!]: e }) + }} + editorOptions={{ + ...formItem.editorOptions, + ...(mode === 'view' ? { readOnly: true } : {}), + }} + > + )} + label={{ text: translate('::' + formItem.colData?.captionName), className: 'font-semibold' }} + > + ) : formItem.editorType2 === PlatformEditorTypes.dxGridBox ? ( + ( + { + setFormData({ ...formData, [formItem.dataField!]: e }) + }} + editorOptions={{ + ...formItem.editorOptions, + ...(mode === 'view' ? { readOnly: true } : {}), + }} + > + )} + label={{ text: translate('::' + formItem.colData?.captionName), className: 'font-semibold' }} + > + ) : ( + - ) - })} - - ) - })} - - + : {}), + buttons: (formItem.editorOptions?.buttons || []).map((btn: any) => { + if (btn?.options?.onClick && typeof btn.options.onClick === 'string') { + const origClick = eval(`(${btn.options.onClick})`) + btn.options.onClick = (e: any) => { + origClick({ + ...e, + formData: formDataRef.current, + fieldName: formItem.dataField, + mode, + }) + } + } + return btn + }), + }} + label={{ text: translate('::' + formItem.colData?.captionName) }} + /> + ) + })} + + ) + })} +
) } diff --git a/ui/src/views/intranet/widgets/ActiveReservations.tsx b/ui/src/views/intranet/widgets/ActiveReservations.tsx index 281e7bf1..7668729c 100644 --- a/ui/src/views/intranet/widgets/ActiveReservations.tsx +++ b/ui/src/views/intranet/widgets/ActiveReservations.tsx @@ -20,7 +20,7 @@ const ActiveReservations: React.FC = ({ return (
-

+

{translate('::App.Platform.Intranet.Widgets.ActiveReservations.Title')}

diff --git a/ui/src/views/intranet/widgets/ActiveSurveys.tsx b/ui/src/views/intranet/widgets/ActiveSurveys.tsx index 95a35b79..b7804139 100644 --- a/ui/src/views/intranet/widgets/ActiveSurveys.tsx +++ b/ui/src/views/intranet/widgets/ActiveSurveys.tsx @@ -20,7 +20,7 @@ const ActiveSurveys: React.FC = ({ surveys, onTakeSurvey }) {/* Header with gradient */}
-

+

{translate('::App.Platform.Intranet.Widgets.ActiveSurveys.Title')}

diff --git a/ui/src/views/intranet/widgets/Announcements.tsx b/ui/src/views/intranet/widgets/Announcements.tsx index 5f83512f..79497152 100644 --- a/ui/src/views/intranet/widgets/Announcements.tsx +++ b/ui/src/views/intranet/widgets/Announcements.tsx @@ -28,7 +28,7 @@ const Announcements: React.FC = ({ announcements, onAnnounce
-

+

{translate('::App.Platform.Intranet.Widgets.Announcements.Title')}

diff --git a/ui/src/views/intranet/widgets/ExpenseManagement.tsx b/ui/src/views/intranet/widgets/ExpenseManagement.tsx index 651663d5..c3c35c51 100644 --- a/ui/src/views/intranet/widgets/ExpenseManagement.tsx +++ b/ui/src/views/intranet/widgets/ExpenseManagement.tsx @@ -13,7 +13,7 @@ const ExpenseManagement: React.FC = ({ expenses, onNewEx return (
-

+

{translate('::App.Platform.Intranet.Widgets.ExpenseManagement.Title')}

diff --git a/ui/src/views/intranet/widgets/LeaveManagement.tsx b/ui/src/views/intranet/widgets/LeaveManagement.tsx index b7d739c4..e104f6ee 100644 --- a/ui/src/views/intranet/widgets/LeaveManagement.tsx +++ b/ui/src/views/intranet/widgets/LeaveManagement.tsx @@ -18,7 +18,7 @@ const LeaveManagement: React.FC = ({ leaves, onNewLeave }) return (
-

+

{translate('::App.Platform.Intranet.Widgets.LeaveManagement.Title')}

diff --git a/ui/src/views/intranet/widgets/MealWeeklyMenu.tsx b/ui/src/views/intranet/widgets/MealWeeklyMenu.tsx index 6c6034a8..868823c3 100644 --- a/ui/src/views/intranet/widgets/MealWeeklyMenu.tsx +++ b/ui/src/views/intranet/widgets/MealWeeklyMenu.tsx @@ -18,7 +18,7 @@ const MealWeeklyMenu: React.FC<{ meals: MealDto[] }> = ({ meals }) => {
-

+

{translate('::App.Platform.Intranet.Widgets.MealWeeklyMenu.Title')}

diff --git a/ui/src/views/intranet/widgets/OvertimeManagement.tsx b/ui/src/views/intranet/widgets/OvertimeManagement.tsx index 5af9814a..caa9057d 100644 --- a/ui/src/views/intranet/widgets/OvertimeManagement.tsx +++ b/ui/src/views/intranet/widgets/OvertimeManagement.tsx @@ -18,7 +18,7 @@ const OvertimeManagement: React.FC = ({ overtimes, onNe return (
-

+

{translate('::App.Platform.Intranet.Widgets.OvertimeManagement.Title')}

diff --git a/ui/src/views/intranet/widgets/PriorityTasks.tsx b/ui/src/views/intranet/widgets/PriorityTasks.tsx index 31455c8b..061e8a8e 100644 --- a/ui/src/views/intranet/widgets/PriorityTasks.tsx +++ b/ui/src/views/intranet/widgets/PriorityTasks.tsx @@ -28,7 +28,7 @@ const PriorityTasks: React.FC = ({ tasks }) => { return (
-

+

{translate('::App.Platform.Intranet.Widgets.PriorityTasks.Title')}

diff --git a/ui/src/views/intranet/widgets/RecentDocuments.tsx b/ui/src/views/intranet/widgets/RecentDocuments.tsx index 3a99b8d5..e375ab55 100644 --- a/ui/src/views/intranet/widgets/RecentDocuments.tsx +++ b/ui/src/views/intranet/widgets/RecentDocuments.tsx @@ -19,7 +19,7 @@ const RecentDocuments: React.FC<{ documents: DocumentDto[] }> = ({ documents })
-

+

{translate('::App.Platform.Intranet.Widgets.RecentDocuments.Title')}

diff --git a/ui/src/views/intranet/widgets/ShuttleRoute.tsx b/ui/src/views/intranet/widgets/ShuttleRoute.tsx index 32125eb5..17d8fc78 100644 --- a/ui/src/views/intranet/widgets/ShuttleRoute.tsx +++ b/ui/src/views/intranet/widgets/ShuttleRoute.tsx @@ -8,10 +8,20 @@ const ShuttleRoute: React.FC<{ shuttleRoutes: ShuttleRouteDto[] }> = ({ shuttleR const eveningShuttles = shuttleRoutes.filter((s) => s.type === 'evening') const { translate } = useLocalization(); + // Sadece saat kısmını göstermek için formatlama fonksiyonu + const formatTime = (timeString: string): string => { + try { + const date = new Date(timeString) + return date.toLocaleTimeString('tr-TR', { hour: '2-digit', minute: '2-digit' }) + } catch { + return timeString + } + } + return (
-

+

{translate('::App.Platform.Intranet.Widgets.ShuttleRoute.Title')}

@@ -39,12 +49,12 @@ const ShuttleRoute: React.FC<{ shuttleRoutes: ShuttleRouteDto[] }> = ({ shuttleR

- {shuttle.departureTime} + {formatTime(shuttle.departureTime)}

- {shuttle.arrivalTime} + {formatTime(shuttle.arrivalTime)} 5 @@ -84,12 +94,12 @@ const ShuttleRoute: React.FC<{ shuttleRoutes: ShuttleRouteDto[] }> = ({ shuttleR

- {shuttle.departureTime} + {formatTime(shuttle.departureTime)}

- {shuttle.arrivalTime} + {formatTime(shuttle.arrivalTime)} 5 diff --git a/ui/src/views/intranet/widgets/TodayBirthdays.tsx b/ui/src/views/intranet/widgets/TodayBirthdays.tsx index ebe09b4b..940f0339 100644 --- a/ui/src/views/intranet/widgets/TodayBirthdays.tsx +++ b/ui/src/views/intranet/widgets/TodayBirthdays.tsx @@ -10,7 +10,7 @@ const TodayBirthdays: React.FC<{ employees: EmployeeDto[] }> = ({ employees }) = return (
-

+

🎂 {translate('::App.Platform.Intranet.Widgets.TodayBirthdays.Title')}

diff --git a/ui/src/views/intranet/widgets/UpcomingEvents.tsx b/ui/src/views/intranet/widgets/UpcomingEvents.tsx index cacba83b..88ab0552 100644 --- a/ui/src/views/intranet/widgets/UpcomingEvents.tsx +++ b/ui/src/views/intranet/widgets/UpcomingEvents.tsx @@ -20,7 +20,7 @@ const UpcomingEvents: React.FC<{ events: EventDto[] }> = ({ events }) => { return (
-

+

{translate('::App.Platform.Intranet.Widgets.UpcomingEvents.Title')}

diff --git a/ui/src/views/intranet/widgets/UpcomingTrainings.tsx b/ui/src/views/intranet/widgets/UpcomingTrainings.tsx index b15f303d..4bf44d03 100644 --- a/ui/src/views/intranet/widgets/UpcomingTrainings.tsx +++ b/ui/src/views/intranet/widgets/UpcomingTrainings.tsx @@ -12,7 +12,7 @@ const UpcomingTrainings: React.FC<{ trainings: TrainingDto[] }> = ({ trainings } return (
-

+

{translate('::App.Platform.Intranet.Widgets.UpcomingTrainings.Title')}

diff --git a/ui/src/views/intranet/widgets/Visitors.tsx b/ui/src/views/intranet/widgets/Visitors.tsx index 5cc2f562..6565e640 100644 --- a/ui/src/views/intranet/widgets/Visitors.tsx +++ b/ui/src/views/intranet/widgets/Visitors.tsx @@ -48,7 +48,7 @@ const Visitors: React.FC<{ visitors: VisitorDto[] }> = ({ visitors }) => { return (
-

+

{translate('::App.Platform.Intranet.Widgets.Visitors.Title')}

diff --git a/ui/src/views/list/useListFormColumns.ts b/ui/src/views/list/useListFormColumns.ts index 4fa05863..eeb89238 100644 --- a/ui/src/views/list/useListFormColumns.ts +++ b/ui/src/views/list/useListFormColumns.ts @@ -437,7 +437,7 @@ const useListFormColumns = ({ // Buton sayısına göre dinamik genişlik hesapla // Her buton için ~35-40px + padding - const calculatedWidth = Math.min(buttons.length * 40 + 30, 200) + const calculatedWidth = Math.min(buttons.length * 40 + 50, 200) const column = { type: 'buttons', diff --git a/ui/src/views/menu/MenuManager.tsx b/ui/src/views/menu/MenuManager.tsx index 1eb9ce7a..48ec050f 100644 --- a/ui/src/views/menu/MenuManager.tsx +++ b/ui/src/views/menu/MenuManager.tsx @@ -98,7 +98,7 @@ export const MenuManager = () => { {/* Sol kısım: Başlık */}
-

Menu Manager

+

Menu Manager

({menuItems.length} root items)