@acorex/modules 20.4.2 → 20.5.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/common/index.d.ts +5 -1
  2. package/data-management/index.d.ts +69 -5
  3. package/fesm2022/{acorex-modules-application-management-acorex-modules-application-management-3Z51H2O-.mjs → acorex-modules-application-management-acorex-modules-application-management-CQMnhxLa.mjs} +28 -7
  4. package/fesm2022/acorex-modules-application-management-acorex-modules-application-management-CQMnhxLa.mjs.map +1 -0
  5. package/fesm2022/acorex-modules-application-management-menu-list.component-BMbl5rtn.mjs +1046 -0
  6. package/fesm2022/acorex-modules-application-management-menu-list.component-BMbl5rtn.mjs.map +1 -0
  7. package/fesm2022/acorex-modules-application-management.mjs +1 -1
  8. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BwMF7mXK.mjs → acorex-modules-auth-acorex-modules-auth-D1GLmcE-.mjs} +10 -10
  9. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BwMF7mXK.mjs.map → acorex-modules-auth-acorex-modules-auth-D1GLmcE-.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-auth-app-chooser.component-Y8ccBUCa.mjs → acorex-modules-auth-app-chooser.component-BwuQ1IDp.mjs} +2 -2
  11. package/fesm2022/{acorex-modules-auth-app-chooser.component-Y8ccBUCa.mjs.map → acorex-modules-auth-app-chooser.component-BwuQ1IDp.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-auth-login.module-B-nJmy3_.mjs → acorex-modules-auth-login.module-C3YVgPHp.mjs} +4 -4
  13. package/fesm2022/{acorex-modules-auth-login.module-B-nJmy3_.mjs.map → acorex-modules-auth-login.module-C3YVgPHp.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-auth-master.layout-BhsnK28w.mjs → acorex-modules-auth-master.layout-D0iHJc_T.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-auth-master.layout-BhsnK28w.mjs.map → acorex-modules-auth-master.layout-D0iHJc_T.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-auth-oauth-callback.component-DojO-qYk.mjs → acorex-modules-auth-oauth-callback.component-CfTRvv9t.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-auth-oauth-callback.component-DojO-qYk.mjs.map → acorex-modules-auth-oauth-callback.component-CfTRvv9t.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-auth-password.component-DauiGRQb.mjs → acorex-modules-auth-password.component-C-aos_5o.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-auth-password.component-DauiGRQb.mjs.map → acorex-modules-auth-password.component-C-aos_5o.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-auth-password.component-DxzlLZWK.mjs → acorex-modules-auth-password.component-DzWcZlfs.mjs} +2 -2
  21. package/fesm2022/{acorex-modules-auth-password.component-DxzlLZWK.mjs.map → acorex-modules-auth-password.component-DzWcZlfs.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-auth-routes-BwJilKAK.mjs → acorex-modules-auth-routes-CR8yYe3M.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-auth-routes-BwJilKAK.mjs.map → acorex-modules-auth-routes-CR8yYe3M.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-two-factor.module-CV70xdxY.mjs → acorex-modules-auth-two-factor.module-BzFLnBad.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-auth-two-factor.module-CV70xdxY.mjs.map → acorex-modules-auth-two-factor.module-BzFLnBad.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-auth-user-sessions.component-CYtCo5d1.mjs → acorex-modules-auth-user-sessions.component-Bfb74eNc.mjs} +3 -3
  27. package/fesm2022/acorex-modules-auth-user-sessions.component-Bfb74eNc.mjs.map +1 -0
  28. package/fesm2022/acorex-modules-auth.mjs +1 -1
  29. package/fesm2022/acorex-modules-common.mjs +86 -12
  30. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  31. package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
  32. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  33. package/fesm2022/acorex-modules-data-management.mjs +447 -9
  34. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  35. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-CwVDh52l.mjs → acorex-modules-document-management-acorex-modules-document-management-BsfSETMk.mjs} +18 -18
  36. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BsfSETMk.mjs.map +1 -0
  37. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-KTVXeYE1.mjs → acorex-modules-document-management-attachment-widget.component-C4KhZ0gC.mjs} +2 -2
  38. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-KTVXeYE1.mjs.map → acorex-modules-document-management-attachment-widget.component-C4KhZ0gC.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-document-management-details-view.component-Blo7DEM9.mjs → acorex-modules-document-management-details-view.component-DeI-r7-g.mjs} +2 -2
  40. package/fesm2022/{acorex-modules-document-management-details-view.component-Blo7DEM9.mjs.map → acorex-modules-document-management-details-view.component-DeI-r7-g.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-wVF422mD.mjs → acorex-modules-document-management-document-signature-popup.component-DMFqz5jZ.mjs} +2 -2
  42. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-wVF422mD.mjs.map → acorex-modules-document-management-document-signature-popup.component-DMFqz5jZ.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bk62GMxv.mjs → acorex-modules-document-management-drive-choose.component-BcLME_up.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bk62GMxv.mjs.map → acorex-modules-document-management-drive-choose.component-BcLME_up.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-document-management-drive.component-CdauFuwi.mjs → acorex-modules-document-management-drive.component-BVgm40pD.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-document-management-drive.component-CdauFuwi.mjs.map → acorex-modules-document-management-drive.component-BVgm40pD.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BkeEB1i8.mjs → acorex-modules-document-management-large-icons-view.component-D9NtNlWh.mjs} +2 -2
  48. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BkeEB1i8.mjs.map → acorex-modules-document-management-large-icons-view.component-D9NtNlWh.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CTp5hvCU.mjs → acorex-modules-document-management-large-tiles-view.component-DUvlPflF.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CTp5hvCU.mjs.map → acorex-modules-document-management-large-tiles-view.component-DUvlPflF.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-document-management-link-dialog.component-BXzePJlW.mjs → acorex-modules-document-management-link-dialog.component-Gc-Cwsq-.mjs} +2 -2
  52. package/fesm2022/acorex-modules-document-management-link-dialog.component-Gc-Cwsq-.mjs.map +1 -0
  53. package/fesm2022/{acorex-modules-document-management-list-view.component-Ctk28jwC.mjs → acorex-modules-document-management-list-view.component-CulR4iN1.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-document-management-list-view.component-Ctk28jwC.mjs.map → acorex-modules-document-management-list-view.component-CulR4iN1.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-document-management-share-dialog.component-PCK4_jcD.mjs → acorex-modules-document-management-share-dialog.component-Cie7I04V.mjs} +2 -2
  56. package/fesm2022/acorex-modules-document-management-share-dialog.component-Cie7I04V.mjs.map +1 -0
  57. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DZEoX29V.mjs → acorex-modules-document-management-share-email-dialog.component-DbRYaPFI.mjs} +2 -2
  58. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-DbRYaPFI.mjs.map +1 -0
  59. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D81OAgYf.mjs → acorex-modules-document-management-small-icons-view.component-DJI_f_9F.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D81OAgYf.mjs.map → acorex-modules-document-management-small-icons-view.component-DJI_f_9F.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BNuswkkU.mjs → acorex-modules-document-management-small-tiles-view.component-kNOOhmcY.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BNuswkkU.mjs.map → acorex-modules-document-management-small-tiles-view.component-kNOOhmcY.mjs.map} +1 -1
  63. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  64. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-CcVD1arq.mjs → acorex-modules-help-desk-acorex-modules-help-desk-BR0maKeU.mjs} +3 -3
  65. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-CcVD1arq.mjs.map → acorex-modules-help-desk-acorex-modules-help-desk-BR0maKeU.mjs.map} +1 -1
  66. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BAD2K3Yk.mjs → acorex-modules-help-desk-capture-screen.component-DZFQUHUd.mjs} +2 -2
  67. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BAD2K3Yk.mjs.map → acorex-modules-help-desk-capture-screen.component-DZFQUHUd.mjs.map} +1 -1
  68. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  69. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-OuRcuL44.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-cb1hY8I2.mjs} +9 -9
  70. package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-OuRcuL44.mjs.map → acorex-modules-human-capital-management-acorex-modules-human-capital-management-cb1hY8I2.mjs.map} +1 -1
  71. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-CcfQMQcK.mjs → acorex-modules-human-capital-management-employee-skill.entity-DfdiUEju.mjs} +2 -2
  72. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-CcfQMQcK.mjs.map → acorex-modules-human-capital-management-employee-skill.entity-DfdiUEju.mjs.map} +1 -1
  73. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-DstZ_ed2.mjs → acorex-modules-human-capital-management-employee.entity-CP0J0udU.mjs} +2 -2
  74. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-DstZ_ed2.mjs.map → acorex-modules-human-capital-management-employee.entity-CP0J0udU.mjs.map} +1 -1
  75. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Cxpm2FR4.mjs → acorex-modules-human-capital-management-employment-type.entity-0nT4XSi2.mjs} +2 -2
  76. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-Cxpm2FR4.mjs.map → acorex-modules-human-capital-management-employment-type.entity-0nT4XSi2.mjs.map} +1 -1
  77. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-wNFknszR.mjs → acorex-modules-human-capital-management-leave-request.entity-YGyl6MWh.mjs} +2 -2
  78. package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-wNFknszR.mjs.map → acorex-modules-human-capital-management-leave-request.entity-YGyl6MWh.mjs.map} +1 -1
  79. package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CS5I6afy.mjs → acorex-modules-human-capital-management-leave-type.entity-J9p3UIlS.mjs} +2 -2
  80. package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-CS5I6afy.mjs.map → acorex-modules-human-capital-management-leave-type.entity-J9p3UIlS.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-ClzIrdYi.mjs → acorex-modules-human-capital-management-position-assignment.entity-DBz-A04O.mjs} +2 -2
  82. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-ClzIrdYi.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-DBz-A04O.mjs.map} +1 -1
  83. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-CA_afJbJ.mjs → acorex-modules-human-capital-management-skill-level.entity-CV9vEbTH.mjs} +2 -2
  84. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-CA_afJbJ.mjs.map → acorex-modules-human-capital-management-skill-level.entity-CV9vEbTH.mjs.map} +1 -1
  85. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-B0rZeAGS.mjs → acorex-modules-human-capital-management-skill.entity-n6HyUWfU.mjs} +9 -3
  86. package/fesm2022/acorex-modules-human-capital-management-skill.entity-n6HyUWfU.mjs.map +1 -0
  87. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  88. package/fesm2022/{acorex-modules-report-management-report-create-root.component-Cy7fMpif.mjs → acorex-modules-report-management-report-create-root.component-w6pWujhV.mjs} +2 -2
  89. package/fesm2022/acorex-modules-report-management-report-create-root.component-w6pWujhV.mjs.map +1 -0
  90. package/fesm2022/acorex-modules-report-management.mjs +1 -1
  91. package/fesm2022/acorex-modules-security-management.mjs +2 -2
  92. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  93. package/fesm2022/acorex-modules-text-template-management.mjs +1 -251
  94. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  95. package/package.json +10 -10
  96. package/text-template-management/index.d.ts +2 -23
  97. package/fesm2022/acorex-modules-application-management-acorex-modules-application-management-3Z51H2O-.mjs.map +0 -1
  98. package/fesm2022/acorex-modules-application-management-menu-list.component-LIRwdWs6.mjs +0 -731
  99. package/fesm2022/acorex-modules-application-management-menu-list.component-LIRwdWs6.mjs.map +0 -1
  100. package/fesm2022/acorex-modules-auth-user-sessions.component-CYtCo5d1.mjs.map +0 -1
  101. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CwVDh52l.mjs.map +0 -1
  102. package/fesm2022/acorex-modules-document-management-link-dialog.component-BXzePJlW.mjs.map +0 -1
  103. package/fesm2022/acorex-modules-document-management-share-dialog.component-PCK4_jcD.mjs.map +0 -1
  104. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-DZEoX29V.mjs.map +0 -1
  105. package/fesm2022/acorex-modules-human-capital-management-skill.entity-B0rZeAGS.mjs.map +0 -1
  106. package/fesm2022/acorex-modules-report-management-report-create-root.component-Cy7fMpif.mjs.map +0 -1
@@ -2,10 +2,10 @@ import { AXP_PERMISSION_DEFINITION_PROVIDER, AXPSessionService } from '@acorex/p
2
2
  import { AXPEntityCommandScope, createQueryView, AXPRefreshEvent, createAllQueryView, AXPEntityQueryType, AXPVersioningService, AXPSettingService, AXPSearchService, AXPLockService, AXPHomePageService, AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
3
3
  import * as i1$2 from '@acorex/platform/core';
4
4
  import { AXPExpressionEvaluatorService, getSmart, AXPPlatformScope, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
5
+ import { ensureListActions, actionExists, AXPEntityDefinitionRegistryService, AXP_ENTITY_ACTION_PLUGIN, AXMEntityCrudServiceImpl, entityMasterCrudActions, entityMasterDeleteAction, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, AXPEntityService } from '@acorex/platform/layout/entity';
5
6
  import { AXPWidgetsModule } from '@acorex/platform/layout/widgets';
6
7
  import * as i0 from '@angular/core';
7
8
  import { inject, Injectable, NgModule, Injector, runInInjectionContext, input, signal, ViewEncapsulation, Component, InjectionToken, HostListener, computed } from '@angular/core';
8
- import { ensureListActions, actionExists, AXPEntityDefinitionRegistryService, AXP_ENTITY_ACTION_PLUGIN, AXMEntityCrudServiceImpl, entityMasterCrudActions, entityMasterDeleteAction, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE } from '@acorex/platform/layout/entity';
9
9
  import * as i1 from '@acorex/platform/workflow';
10
10
  import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowModule, AXPWorkflowService } from '@acorex/platform/workflow';
11
11
  import { AXDialogService } from '@acorex/components/dialog';
@@ -35,8 +35,10 @@ const AXPWidgetsList = {
35
35
  Editors: {
36
36
  DocumentAttachment: 'document-attachment-editor',
37
37
  TagBox: 'tagable-editor',
38
+ TagEditor: 'tag-editor',
38
39
  CheckBox: 'checkbox-editor',
39
40
  ColorBox: 'color-editor',
41
+ ColorPalette: 'color-palette-editor',
40
42
  DateTimeBox: 'date-time-editor',
41
43
  Direction: 'direction',
42
44
  LargeTextBox: 'large-text-editor',
@@ -1803,8 +1805,10 @@ const colorPlugin = {
1803
1805
  schema: {
1804
1806
  dataType: 'string',
1805
1807
  interface: {
1806
- type: AXPWidgetsList.Theme.ThemeColorChooser,
1807
- options: {},
1808
+ type: AXPWidgetsList.Editors.ColorPalette,
1809
+ options: {
1810
+ swatches: options?.swatches,
1811
+ },
1808
1812
  },
1809
1813
  },
1810
1814
  validations: [],
@@ -1817,6 +1821,24 @@ const colorPlugin = {
1817
1821
  },
1818
1822
  });
1819
1823
  }
1824
+ //#region ---- Add Column to List View ----
1825
+ // Add color column to list view if enabled (default: true)
1826
+ const columnEnabled = options?.column?.enabled ?? true;
1827
+ if (columnEnabled) {
1828
+ const columns = ctx.columns.list() ?? [];
1829
+ if (!columns.some((c) => c.name === 'color')) {
1830
+ ctx.columns.add({
1831
+ name: 'color',
1832
+ title: '@general:terms.common.color',
1833
+ sort: { enabled: false },
1834
+ options: {
1835
+ visible: options?.column?.visible ?? true,
1836
+ width: `${options?.column?.width ?? 120}px`,
1837
+ },
1838
+ });
1839
+ }
1840
+ }
1841
+ //#endregion
1820
1842
  ctx.interfaces.master.create.update((create) => {
1821
1843
  const next = create ?? { sections: [], properties: [] };
1822
1844
  next.sections = next.sections ?? [];
@@ -1828,7 +1850,7 @@ const colorPlugin = {
1828
1850
  next.properties.push({
1829
1851
  name: 'color',
1830
1852
  layout: {
1831
- positions: { lg: { colSpan: options?.colSpan ?? 6 } },
1853
+ positions: { lg: { colSpan: 6 } },
1832
1854
  },
1833
1855
  });
1834
1856
  }
@@ -1845,7 +1867,7 @@ const colorPlugin = {
1845
1867
  next.properties.push({
1846
1868
  name: 'color',
1847
1869
  layout: {
1848
- positions: { lg: { colSpan: options?.colSpan ?? 6 } },
1870
+ positions: { lg: { colSpan: 6 } },
1849
1871
  },
1850
1872
  });
1851
1873
  }
@@ -1862,7 +1884,7 @@ const colorPlugin = {
1862
1884
  next.properties.push({
1863
1885
  name: 'color',
1864
1886
  layout: {
1865
- positions: { lg: { colSpan: options?.colSpan ?? 6 } },
1887
+ positions: { lg: { colSpan: 6 } },
1866
1888
  },
1867
1889
  });
1868
1890
  }
@@ -3838,6 +3860,24 @@ const iconPlugin = {
3838
3860
  },
3839
3861
  });
3840
3862
  }
3863
+ //#region ---- Add Column to List View ----
3864
+ // Add icon column to list view if enabled (default: true)
3865
+ const columnEnabled = options?.column?.enabled ?? true;
3866
+ if (columnEnabled) {
3867
+ const columns = ctx.columns.list() ?? [];
3868
+ if (!columns.some((c) => c.name === 'icon')) {
3869
+ ctx.columns.add({
3870
+ name: 'icon',
3871
+ title: '@general:terms.common.icon',
3872
+ sort: { enabled: false },
3873
+ options: {
3874
+ visible: options?.column?.visible ?? true,
3875
+ width: `${options?.column?.width ?? 120}px`,
3876
+ },
3877
+ });
3878
+ }
3879
+ }
3880
+ //#endregion
3841
3881
  ctx.interfaces.master.create.update((create) => {
3842
3882
  const next = create ?? { sections: [], properties: [] };
3843
3883
  next.sections = next.sections ?? [];
@@ -3849,7 +3889,7 @@ const iconPlugin = {
3849
3889
  next.properties.push({
3850
3890
  name: 'icon',
3851
3891
  layout: {
3852
- positions: { lg: { colSpan: options?.colSpan ?? 6 } },
3892
+ positions: { lg: { colSpan: 6 } },
3853
3893
  },
3854
3894
  });
3855
3895
  }
@@ -3866,7 +3906,7 @@ const iconPlugin = {
3866
3906
  next.properties.push({
3867
3907
  name: 'icon',
3868
3908
  layout: {
3869
- positions: { lg: { colSpan: options?.colSpan ?? 6 } },
3909
+ positions: { lg: { colSpan: 6 } },
3870
3910
  },
3871
3911
  });
3872
3912
  }
@@ -3883,7 +3923,7 @@ const iconPlugin = {
3883
3923
  next.properties.push({
3884
3924
  name: 'icon',
3885
3925
  layout: {
3886
- positions: { lg: { colSpan: options?.colSpan ?? 6 } },
3926
+ positions: { lg: { colSpan: 6 } },
3887
3927
  },
3888
3928
  });
3889
3929
  }
@@ -4600,18 +4640,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
4600
4640
 
4601
4641
  const config = {
4602
4642
  i18n: 'common',
4643
+ module: 'Common',
4603
4644
  };
4604
4645
  const RootConfig = {
4605
4646
  config,
4606
4647
  module: {
4607
- module: 'common',
4608
- name: 'Common',
4609
- title: `t('module-name', {scope:"${config.i18n}"})`,
4648
+ route: 'common',
4649
+ name: config.module,
4650
+ title: '@common:module-name',
4610
4651
  icon: 'fa-light fa-file-invoice',
4611
4652
  },
4612
4653
  entities: {},
4613
4654
  };
4614
4655
 
4656
+ //#region ---- Common Module Entity Provider ----
4657
+ class AXMCommonModuleEntityProvider {
4658
+ constructor() {
4659
+ this.injector = inject(Injector);
4660
+ }
4661
+ preload() {
4662
+ const module = RootConfig.module.name;
4663
+ return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
4664
+ module: module,
4665
+ entity: entity.name,
4666
+ }));
4667
+ }
4668
+ async get(moduleName, entityName) {
4669
+ return null;
4670
+ }
4671
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMCommonModuleEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4672
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMCommonModuleEntityProvider }); }
4673
+ }
4674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMCommonModuleEntityProvider, decorators: [{
4675
+ type: Injectable
4676
+ }] });
4677
+
4615
4678
  const AXPCommonMenuKeys = {
4616
4679
  Home: 'app:home',
4617
4680
  };
@@ -4620,6 +4683,7 @@ class AXMMenuProvider {
4620
4683
  constructor() {
4621
4684
  this.sessionService = inject(AXPSessionService);
4622
4685
  this.homePageService = inject(AXPHomePageService);
4686
+ this.entityService = inject(AXPEntityService);
4623
4687
  }
4624
4688
  async provide(context) {
4625
4689
  const scope = RootConfig.config.i18n;
@@ -4763,6 +4827,11 @@ class AXMCommonModule {
4763
4827
  useClass: AXPTranslateEvaluatorScopeProvider,
4764
4828
  multi: true,
4765
4829
  },
4830
+ {
4831
+ provide: AXP_ENTITY_DEFINITION_LOADER,
4832
+ useClass: AXMCommonModuleEntityProvider,
4833
+ multi: true,
4834
+ },
4766
4835
  ], imports: [AXMLockSystemModule,
4767
4836
  AXPExtraPropertiesModule,
4768
4837
  AXPCategoryModule,
@@ -4832,6 +4901,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
4832
4901
  useClass: AXPTranslateEvaluatorScopeProvider,
4833
4902
  multi: true,
4834
4903
  },
4904
+ {
4905
+ provide: AXP_ENTITY_DEFINITION_LOADER,
4906
+ useClass: AXMCommonModuleEntityProvider,
4907
+ multi: true,
4908
+ },
4835
4909
  ],
4836
4910
  }]
4837
4911
  }] });