@acorex/modules 19.3.8 → 19.4.2

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 (152) hide show
  1. package/auth/lib/pages/account/account.module.d.ts +1 -1
  2. package/common/lib/features/global-search/search.module.d.ts +1 -1
  3. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +2 -2
  4. package/document-management/lib/badge.provider.d.ts +1 -1
  5. package/document-management/lib/document-management.module.d.ts +11 -10
  6. package/document-management/lib/features/drive/drive.component.d.ts +2 -2
  7. package/document-management/lib/features/drive-choose/drive-choose.module.d.ts +7 -0
  8. package/document-management/lib/features/drive-choose/slots/file-uploader-widget-extension/file-uploader-widget-extension.component.d.ts +8 -0
  9. package/document-management/lib/features/shared/document-manager.service.d.ts +2 -1
  10. package/document-management/lib/features/shared/document-manager.types.d.ts +3 -0
  11. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +5 -4
  12. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-bj5xztse.mjs → acorex-modules-auth-acorex-modules-auth-B-OllEdK.mjs} +18 -17
  13. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-bj5xztse.mjs.map → acorex-modules-auth-acorex-modules-auth-B-OllEdK.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-auth-app-chooser.component-BOL3VzC1.mjs → acorex-modules-auth-app-chooser.component-DNr963RR.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-auth-app-chooser.component-BOL3VzC1.mjs.map → acorex-modules-auth-app-chooser.component-DNr963RR.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-auth-login.module-C1AoXhCI.mjs → acorex-modules-auth-login.module-HfQItJY6.mjs} +4 -4
  17. package/fesm2022/{acorex-modules-auth-login.module-C1AoXhCI.mjs.map → acorex-modules-auth-login.module-HfQItJY6.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-auth-master.layout-vuHfrDxu.mjs → acorex-modules-auth-master.layout-DgN0Dh-I.mjs} +6 -5
  19. package/fesm2022/acorex-modules-auth-master.layout-DgN0Dh-I.mjs.map +1 -0
  20. package/fesm2022/{acorex-modules-auth-password.component-C71v2x71.mjs → acorex-modules-auth-password.component-B-L3ksjM.mjs} +2 -2
  21. package/fesm2022/{acorex-modules-auth-password.component-C71v2x71.mjs.map → acorex-modules-auth-password.component-B-L3ksjM.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-auth-password.component-Dtcz95NV.mjs → acorex-modules-auth-password.component-CVgNTaKI.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-auth-password.component-Dtcz95NV.mjs.map → acorex-modules-auth-password.component-CVgNTaKI.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-routes-lJgHFaQR.mjs → acorex-modules-auth-routes-CtoZQEq9.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-auth-routes-lJgHFaQR.mjs.map → acorex-modules-auth-routes-CtoZQEq9.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-auth-two-factor.module-C9SfEHF7.mjs → acorex-modules-auth-two-factor.module-CCP_Oovk.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-auth-two-factor.module-C9SfEHF7.mjs.map → acorex-modules-auth-two-factor.module-CCP_Oovk.mjs.map} +1 -1
  28. package/fesm2022/{acorex-modules-auth-user-sessions.component-CCsoLecU.mjs → acorex-modules-auth-user-sessions.component-6jRmJGeS.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-auth-user-sessions.component-CCsoLecU.mjs.map → acorex-modules-auth-user-sessions.component-6jRmJGeS.mjs.map} +1 -1
  30. package/fesm2022/acorex-modules-auth.mjs +1 -1
  31. package/fesm2022/{acorex-modules-common-search-popup.component-D1Ddwc_U.mjs → acorex-modules-common-search-popup.component-tUvSQpDP.mjs} +5 -5
  32. package/fesm2022/acorex-modules-common-search-popup.component-tUvSQpDP.mjs.map +1 -0
  33. package/fesm2022/acorex-modules-common.mjs +7 -6
  34. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  35. package/fesm2022/acorex-modules-dashboard-management.mjs +8 -6
  36. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  37. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-k2QMxYk9.mjs → acorex-modules-document-management-acorex-modules-document-management-MoAj_IYQ.mjs} +187 -63
  38. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-MoAj_IYQ.mjs.map +1 -0
  39. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-BHCuKbmu.mjs → acorex-modules-document-management-attachment-widget.component-DhGDpLBA.mjs} +4 -4
  40. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-BHCuKbmu.mjs.map → acorex-modules-document-management-attachment-widget.component-DhGDpLBA.mjs.map} +1 -1
  41. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-CNvlm2Va.mjs → acorex-modules-document-management-create-folder-dialog.component-5sFKSWlW.mjs} +2 -2
  42. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-CNvlm2Va.mjs.map → acorex-modules-document-management-create-folder-dialog.component-5sFKSWlW.mjs.map} +1 -1
  43. package/fesm2022/{acorex-modules-document-management-details-view.component-DE84Itc_.mjs → acorex-modules-document-management-details-view.component-CIJ5IBHD.mjs} +2 -2
  44. package/fesm2022/{acorex-modules-document-management-details-view.component-DE84Itc_.mjs.map → acorex-modules-document-management-details-view.component-CIJ5IBHD.mjs.map} +1 -1
  45. package/fesm2022/{acorex-modules-document-management-drive-choose.component-CKMI_oKM.mjs → acorex-modules-document-management-drive-choose.component-C5JuGFud.mjs} +2 -2
  46. package/fesm2022/{acorex-modules-document-management-drive-choose.component-CKMI_oKM.mjs.map → acorex-modules-document-management-drive-choose.component-C5JuGFud.mjs.map} +1 -1
  47. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BPY3z02r.mjs → acorex-modules-document-management-large-icons-view.component-brzJaGRC.mjs} +2 -2
  48. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BPY3z02r.mjs.map → acorex-modules-document-management-large-icons-view.component-brzJaGRC.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-eymKR4xY.mjs → acorex-modules-document-management-large-tiles-view.component-DYfROtQ9.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-eymKR4xY.mjs.map → acorex-modules-document-management-large-tiles-view.component-DYfROtQ9.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-document-management-list-view.component-CGSls2hG.mjs → acorex-modules-document-management-list-view.component-DZBjqWfy.mjs} +2 -2
  52. package/fesm2022/{acorex-modules-document-management-list-view.component-CGSls2hG.mjs.map → acorex-modules-document-management-list-view.component-DZBjqWfy.mjs.map} +1 -1
  53. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DROTONyx.mjs → acorex-modules-document-management-permission-definition.provider-DoVsp7nL.mjs} +3 -3
  54. package/fesm2022/acorex-modules-document-management-permission-definition.provider-DoVsp7nL.mjs.map +1 -0
  55. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BPU5NKy8.mjs → acorex-modules-document-management-rename-node-dialog.component-BkilWP6k.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BPU5NKy8.mjs.map → acorex-modules-document-management-rename-node-dialog.component-BkilWP6k.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CYjLGCUJ.mjs → acorex-modules-document-management-small-icons-view.component-Cx5uqw7R.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CYjLGCUJ.mjs.map → acorex-modules-document-management-small-icons-view.component-Cx5uqw7R.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BnXo0uWh.mjs → acorex-modules-document-management-small-tiles-view.component-Cs3CLt7l.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BnXo0uWh.mjs.map → acorex-modules-document-management-small-tiles-view.component-Cs3CLt7l.mjs.map} +1 -1
  61. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  62. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-Bh0D44Yv.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-KTKkPz-B.mjs} +9 -9
  63. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-Bh0D44Yv.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-KTKkPz-B.mjs.map} +1 -1
  64. package/fesm2022/{acorex-modules-form-template-management-category.entity-CMez7XCT.mjs → acorex-modules-form-template-management-category.entity-DxgqHkjI.mjs} +2 -2
  65. package/fesm2022/{acorex-modules-form-template-management-category.entity-CMez7XCT.mjs.map → acorex-modules-form-template-management-category.entity-DxgqHkjI.mjs.map} +1 -1
  66. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-D_VOBOyf.mjs → acorex-modules-form-template-management-permission-definition.provider-6czJEo8f.mjs} +13 -13
  67. package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-6czJEo8f.mjs.map +1 -0
  68. package/fesm2022/{acorex-modules-form-template-management-settings.provider-CzvnYncE.mjs → acorex-modules-form-template-management-settings.provider-D3nbUDMw.mjs} +2 -2
  69. package/fesm2022/{acorex-modules-form-template-management-settings.provider-CzvnYncE.mjs.map → acorex-modules-form-template-management-settings.provider-D3nbUDMw.mjs.map} +1 -1
  70. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CJqwkNDn.mjs → acorex-modules-form-template-management-template-widget-edit.component-BLobMX4C.mjs} +2 -2
  71. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CJqwkNDn.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BLobMX4C.mjs.map} +1 -1
  72. package/fesm2022/{acorex-modules-form-template-management-template.entity-CSUgPKlG.mjs → acorex-modules-form-template-management-template.entity-Ci6QzE16.mjs} +2 -2
  73. package/fesm2022/{acorex-modules-form-template-management-template.entity-CSUgPKlG.mjs.map → acorex-modules-form-template-management-template.entity-Ci6QzE16.mjs.map} +1 -1
  74. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDFNie66.mjs → acorex-modules-form-template-management-viewer-popup.component-DIzlC6tX.mjs} +2 -2
  75. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DDFNie66.mjs.map → acorex-modules-form-template-management-viewer-popup.component-DIzlC6tX.mjs.map} +1 -1
  76. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  77. package/fesm2022/acorex-modules-notification-management.mjs +5 -5
  78. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  79. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs → acorex-modules-organization-management-org-chart-configuration.page-DNzhGz5G.mjs} +7 -7
  80. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DNzhGz5G.mjs.map +1 -0
  81. package/fesm2022/{acorex-modules-organization-management-org-chart.page-1UgQCqvl.mjs → acorex-modules-organization-management-org-chart.page-CP8zz-Bc.mjs} +22 -10
  82. package/fesm2022/acorex-modules-organization-management-org-chart.page-CP8zz-Bc.mjs.map +1 -0
  83. package/fesm2022/acorex-modules-organization-management.mjs +117 -5
  84. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  85. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-Bh6NW7UJ.mjs → acorex-modules-platform-management-acorex-modules-platform-management-C9wUvVuk.mjs} +184 -20
  86. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C9wUvVuk.mjs.map +1 -0
  87. package/fesm2022/{acorex-modules-platform-management-list-version.component-Ctqr4YiY.mjs → acorex-modules-platform-management-list-version.component-BGhETw3U.mjs} +2 -2
  88. package/fesm2022/{acorex-modules-platform-management-list-version.component-Ctqr4YiY.mjs.map → acorex-modules-platform-management-list-version.component-BGhETw3U.mjs.map} +1 -1
  89. package/fesm2022/{acorex-modules-platform-management-settings.provider-Bz3Npk_t.mjs → acorex-modules-platform-management-settings.provider-C327XLKW.mjs} +2 -2
  90. package/fesm2022/{acorex-modules-platform-management-settings.provider-Bz3Npk_t.mjs.map → acorex-modules-platform-management-settings.provider-C327XLKW.mjs.map} +1 -1
  91. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  92. package/fesm2022/acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs +218 -0
  93. package/fesm2022/acorex-modules-security-management-permissions-editor.component-Ccx0_9L_.mjs.map +1 -0
  94. package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-P2buwWAw.mjs +41 -0
  95. package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-P2buwWAw.mjs.map +1 -0
  96. package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-CoqOAn_m.mjs +21 -0
  97. package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-CoqOAn_m.mjs.map +1 -0
  98. package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs +51 -0
  99. package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-P3adQ1xt.mjs.map +1 -0
  100. package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs +22 -0
  101. package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-D4lk67fE.mjs.map +1 -0
  102. package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs +21 -0
  103. package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-Cz32ewum.mjs.map +1 -0
  104. package/fesm2022/acorex-modules-security-management.mjs +185 -18
  105. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  106. package/fesm2022/{acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs → acorex-modules-settings-management-setting-page.component-BgQoPRy_.mjs} +7 -7
  107. package/fesm2022/acorex-modules-settings-management-setting-page.component-BgQoPRy_.mjs.map +1 -0
  108. package/fesm2022/{acorex-modules-settings-management-setting-view.component-DryghOjs.mjs → acorex-modules-settings-management-setting-view.component-CX_FKIxI.mjs} +4 -3
  109. package/fesm2022/acorex-modules-settings-management-setting-view.component-CX_FKIxI.mjs.map +1 -0
  110. package/fesm2022/acorex-modules-settings-management.mjs +3 -3
  111. package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
  112. package/fesm2022/acorex-modules-training-management.mjs +3 -2
  113. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  114. package/form-template-management/index.d.ts +1 -0
  115. package/notification-management/lib/notification-management.module.d.ts +1 -1
  116. package/organization-management/lib/features/employee/employee-feature.module.d.ts +9 -0
  117. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +2 -2
  118. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +3 -2
  119. package/organization-management/lib/organization-management.module.d.ts +2 -1
  120. package/package.json +11 -11
  121. package/platform-management/lib/entities/data-source/data-source.service.d.ts +1 -1
  122. package/platform-management/lib/entities/data-source/data-source.types.d.ts +2 -2
  123. package/platform-management/lib/entities/data-source/datasource-provider.dynamic.d.ts +1 -1
  124. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.service.d.ts +2 -2
  125. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +2 -2
  126. package/platform-management/lib/entities/meta-data-definition-category/category.service.d.ts +1 -1
  127. package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +2 -2
  128. package/platform-management/lib/features/app-terms/pages/list/list-terms.component.d.ts +2 -2
  129. package/platform-management/lib/features/app-terms/settings.keys.d.ts +3 -0
  130. package/platform-management/lib/features/common/common.module.d.ts +1 -1
  131. package/platform-management/lib/platform-management.module.d.ts +1 -1
  132. package/security-management/lib/features/permissions/permissions-editor/permissions-editor.component.d.ts +70 -0
  133. package/security-management/lib/features/permissions/permissions-widget/permissions-widget-column.component.d.ts +10 -0
  134. package/security-management/lib/features/permissions/permissions-widget/permissions-widget-designer.component.d.ts +6 -0
  135. package/security-management/lib/features/permissions/permissions-widget/permissions-widget-edit.component.d.ts +8 -0
  136. package/security-management/lib/features/permissions/permissions-widget/permissions-widget-print.component.d.ts +6 -0
  137. package/security-management/lib/features/permissions/permissions-widget/permissions-widget-view.component.d.ts +6 -0
  138. package/security-management/lib/features/permissions/permissions-widget/permissions-widget.config.d.ts +2 -0
  139. package/security-management/lib/features/permissions/permissions.module.d.ts +8 -0
  140. package/security-management/lib/features/permissions/workflows/assign-permissions.workflow.d.ts +10 -0
  141. package/security-management/lib/security-management.module.d.ts +3 -2
  142. package/settings-management/lib/features/settings/setting-page/setting-page.component.d.ts +2 -2
  143. package/fesm2022/acorex-modules-auth-master.layout-vuHfrDxu.mjs.map +0 -1
  144. package/fesm2022/acorex-modules-common-search-popup.component-D1Ddwc_U.mjs.map +0 -1
  145. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-k2QMxYk9.mjs.map +0 -1
  146. package/fesm2022/acorex-modules-document-management-permission-definition.provider-DROTONyx.mjs.map +0 -1
  147. package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-D_VOBOyf.mjs.map +0 -1
  148. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs.map +0 -1
  149. package/fesm2022/acorex-modules-organization-management-org-chart.page-1UgQCqvl.mjs.map +0 -1
  150. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-Bh6NW7UJ.mjs.map +0 -1
  151. package/fesm2022/acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs.map +0 -1
  152. package/fesm2022/acorex-modules-settings-management-setting-view.component-DryghOjs.mjs.map +0 -1
@@ -1,5 +1,6 @@
1
- import * as i2$2 from '@acorex/platform/common';
2
- import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingService, AXP_APP_VERSION_PROVIDER, createQueryView, AXPFileStorageService, AXPRegionalService, AXPComponentSlotModule, AXP_SETTING_DEFINITION_PROVIDER, AXP_MENU_PROVIDER } from '@acorex/platform/common';
1
+ import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingService, AXP_APP_VERSION_PROVIDER, createQueryView, AXPFileStorageService, AXPRegionalService, AXP_SETTING_DEFINITION_PROVIDER, AXP_MENU_PROVIDER } from '@acorex/platform/common';
2
+ import * as i2$2 from '@acorex/platform/layout/components';
3
+ import { AXPThemeLayoutBlockComponent, AXPComponentSlotModule } from '@acorex/platform/layout/components';
3
4
  import { AXMEntityCrudServiceImpl, AXPEntityDefinitionRegistryService, AXPEntityResolver, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
4
5
  import * as i3$2 from '@acorex/platform/workflow';
5
6
  import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowModule } from '@acorex/platform/workflow';
@@ -17,8 +18,7 @@ import * as i2 from '@acorex/core/format';
17
18
  import { AXFormatModule } from '@acorex/core/format';
18
19
  import * as i6 from '@acorex/core/translation';
19
20
  import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
20
- import { AXPBasePageComponent, AXPPageLayoutComponent, AXPBasePage } from '@acorex/platform/themes/default';
21
- import { AXPThemeLayoutBlockComponent } from '@acorex/platform/themes/shared';
21
+ import { AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPageLayoutBase } from '@acorex/platform/layout/views';
22
22
  import * as i1 from '@angular/common';
23
23
  import { CommonModule } from '@angular/common';
24
24
  import { AXSafePipe } from '@acorex/core/pipes';
@@ -551,7 +551,7 @@ async function appTermEntityEntityFactory(injector) {
551
551
  return entityDef;
552
552
  }
553
553
 
554
- class AXMListTermsComponent extends AXPBasePageComponent {
554
+ class AXMListTermsComponent extends AXPPageLayoutBaseComponent {
555
555
  constructor() {
556
556
  super(...arguments);
557
557
  this.service = inject(AXMAppTermService);
@@ -595,10 +595,10 @@ class AXMListTermsComponent extends AXPBasePageComponent {
595
595
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMListTermsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
596
596
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXMListTermsComponent, isStandalone: true, selector: "ng-component", host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
597
597
  {
598
- provide: AXPBasePage,
598
+ provide: AXPPageLayoutBase,
599
599
  useExisting: AXMListTermsComponent,
600
600
  },
601
- ], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer, axp-page-header, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-container, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "activationOffset", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
601
+ ], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "activationOffset", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
602
602
  }
603
603
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMListTermsComponent, decorators: [{
604
604
  type: Component,
@@ -614,7 +614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
614
614
  AXSafePipe
615
615
  ], providers: [
616
616
  {
617
- provide: AXPBasePage,
617
+ provide: AXPPageLayoutBase,
618
618
  useExisting: AXMListTermsComponent,
619
619
  },
620
620
  ], template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>" }]
@@ -3552,6 +3552,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
3552
3552
  args: [{ selector: 'acorex-platform-promotion-slot', imports: [CommonModule, AXSafePipe], template: "@for (item of listData(); track item.id) { @if (item.contentType?.name == 'media') {\n<img [src]=\"item.image?.url ?? ''\" class=\"ax-w-full ax-p-3 ax-border {{\n item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none'\n }}\" />\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 class=\"ax-text-base/6\" [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} }\n" }]
3553
3553
  }] });
3554
3554
 
3555
+ /**
3556
+ * Deeply sanitizes an object for storage in IndexedDB by removing non-serializable content
3557
+ */
3558
+ function sanitizeForStorage(obj) {
3559
+ if (!obj) {
3560
+ return obj;
3561
+ }
3562
+ // Handle primitive values
3563
+ if (typeof obj !== 'object') {
3564
+ return obj;
3565
+ }
3566
+ // Handle arrays
3567
+ if (Array.isArray(obj)) {
3568
+ return obj.map(item => sanitizeForStorage(item));
3569
+ }
3570
+ // Handle Date objects
3571
+ if (obj instanceof Date) {
3572
+ return obj;
3573
+ }
3574
+ // Handle File objects specially
3575
+ if (obj instanceof File) {
3576
+ // File objects are handled separately, return as is
3577
+ return obj;
3578
+ }
3579
+ // Handle regular objects
3580
+ const cleanedObj = {};
3581
+ for (const [key, value] of Object.entries(obj)) {
3582
+ // Skip functions, symbols and other non-serializable types
3583
+ if (typeof value === 'function' || typeof value === 'symbol') {
3584
+ continue;
3585
+ }
3586
+ // Handle null values
3587
+ if (value === null) {
3588
+ cleanedObj[key] = null;
3589
+ continue;
3590
+ }
3591
+ // Recursively sanitize objects
3592
+ if (typeof value === 'object') {
3593
+ cleanedObj[key] = sanitizeForStorage(value);
3594
+ }
3595
+ else {
3596
+ cleanedObj[key] = value;
3597
+ }
3598
+ }
3599
+ return cleanedObj;
3600
+ }
3555
3601
  async function promotionEntityFactory(injector) {
3556
3602
  const dataService = injector.get(AXMAppPromotionService);
3557
3603
  const i18n = RootConfig.config.i18n;
@@ -3646,11 +3692,12 @@ async function promotionEntityFactory(injector) {
3646
3692
  schema: {
3647
3693
  dataType: 'string',
3648
3694
  interface: {
3649
- type: AXPWidgetsCatalog.documentAttachment,
3695
+ type: AXPWidgetsCatalog.fileUploader,
3650
3696
  options: {
3651
3697
  multiple: true,
3652
- entity: `${RootConfig.module.name}.${RootConfig.entities.promotion.name}`,
3653
- record: '{{context.eval("id")}}',
3698
+ // entity: `${RootConfig.module.name}.${RootConfig.entities.promotion.name}`,
3699
+ // record: '{{context.eval("id")}}',
3700
+ // types:['risk-assessment-report']
3654
3701
  },
3655
3702
  },
3656
3703
  },
@@ -3791,8 +3838,28 @@ async function promotionEntityFactory(injector) {
3791
3838
  commands: {
3792
3839
  create: {
3793
3840
  execute: async (data) => {
3794
- console.log(data);
3841
+ // First deeply sanitize the data object to remove non-serializable content
3842
+ data = sanitizeForStorage(data);
3843
+ // Convert array of File objects to serializable format for IndexedDB storage
3844
+ data.imageId = await Promise.all((data.imageId || []).map(async (file) => {
3845
+ if (file instanceof File) {
3846
+ return {
3847
+ name: file.name,
3848
+ type: file.type,
3849
+ size: file.size,
3850
+ lastModified: file.lastModified,
3851
+ // Convert File to base64 string for storage
3852
+ data: await new Promise((resolve) => {
3853
+ const reader = new FileReader();
3854
+ reader.onloadend = () => resolve(reader.result);
3855
+ reader.readAsDataURL(file);
3856
+ })
3857
+ };
3858
+ }
3859
+ return file;
3860
+ }));
3795
3861
  const res = await dataService.insertOne(data);
3862
+ // Return the same ID format that was used for storage
3796
3863
  return { id: res };
3797
3864
  },
3798
3865
  },
@@ -3803,6 +3870,28 @@ async function promotionEntityFactory(injector) {
3803
3870
  },
3804
3871
  update: {
3805
3872
  execute: async (data) => {
3873
+ // First deeply sanitize the data object to remove non-serializable content
3874
+ data = sanitizeForStorage(data);
3875
+ // Convert array of File objects to serializable format for IndexedDB storage
3876
+ if (data.imageId && Array.isArray(data.imageId)) {
3877
+ data.imageId = await Promise.all((data.imageId || []).map(async (file) => {
3878
+ if (file instanceof File) {
3879
+ return {
3880
+ name: file.name,
3881
+ type: file.type,
3882
+ size: file.size,
3883
+ lastModified: file.lastModified,
3884
+ // Convert File to base64 string for storage
3885
+ data: await new Promise((resolve) => {
3886
+ const reader = new FileReader();
3887
+ reader.onloadend = () => resolve(reader.result);
3888
+ reader.readAsDataURL(file);
3889
+ })
3890
+ };
3891
+ }
3892
+ return file;
3893
+ }));
3894
+ }
3806
3895
  return await dataService.updateOne(data.id, data);
3807
3896
  },
3808
3897
  },
@@ -3810,7 +3899,74 @@ async function promotionEntityFactory(injector) {
3810
3899
  queries: {
3811
3900
  byKey: {
3812
3901
  execute: async (id) => {
3813
- return await dataService.getOne(id);
3902
+ try {
3903
+ // Debug the incoming ID parameter
3904
+ console.log('byKey original id parameter:', id, typeof id);
3905
+ // Ensure id is a valid key for IndexedDB - needs to be string or number
3906
+ let validId;
3907
+ // If id is an object (e.g., from router params or complex structure)
3908
+ if (typeof id === 'object' && id !== null) {
3909
+ if ('id' in id) {
3910
+ validId = String(id.id);
3911
+ }
3912
+ else {
3913
+ validId = String(id);
3914
+ }
3915
+ console.warn('Converted object id to string:', validId);
3916
+ }
3917
+ else if (id === undefined || id === null) {
3918
+ console.error('Invalid id parameter: null or undefined');
3919
+ return null;
3920
+ }
3921
+ else {
3922
+ // Convert to string to ensure consistency
3923
+ validId = String(id);
3924
+ }
3925
+ // Log the ID being used for the query
3926
+ console.log('Fetching record with id:', validId, typeof validId);
3927
+ try {
3928
+ const data = await dataService.getOne(validId);
3929
+ console.log('getOne result:', data ? 'Data found' : 'No data found');
3930
+ // If no data was found
3931
+ if (!data) {
3932
+ console.warn(`No record found with id: ${validId}`);
3933
+ return null;
3934
+ }
3935
+ // Deserialize imageId field if it contains serialized file objects
3936
+ if (data.imageId && Array.isArray(data.imageId)) {
3937
+ data.imageId = await Promise.all(data.imageId.map(async (fileData) => {
3938
+ // Check if this is a serialized file
3939
+ if (fileData && fileData.data && fileData.name && fileData.type) {
3940
+ try {
3941
+ // Convert base64 string back to a Blob
3942
+ const response = await fetch(fileData.data);
3943
+ const blob = await response.blob();
3944
+ // Create a new File object
3945
+ return new File([blob], fileData.name, {
3946
+ type: fileData.type,
3947
+ lastModified: fileData.lastModified
3948
+ });
3949
+ }
3950
+ catch (error) {
3951
+ console.error('Failed to deserialize file:', fileData.name, error);
3952
+ return fileData; // Return original data if deserialization fails
3953
+ }
3954
+ }
3955
+ return fileData; // Return as is if not a serialized file
3956
+ })); // Cast to any to avoid type conflict
3957
+ }
3958
+ return data;
3959
+ }
3960
+ catch (error) {
3961
+ console.error(`Error fetching data with ID ${validId}:`, error);
3962
+ // Return null instead of throwing to avoid cascading errors
3963
+ return null;
3964
+ }
3965
+ }
3966
+ catch (error) {
3967
+ console.error('Critical error in byKey query:', error);
3968
+ return null; // Return null instead of throwing to avoid UI errors
3969
+ }
3814
3970
  },
3815
3971
  type: AXPEntityQueryType.Single,
3816
3972
  },
@@ -4516,7 +4672,7 @@ class AXMPlatformManagementCommonModule {
4516
4672
  provide: AXP_SETTING_DEFINITION_PROVIDER,
4517
4673
  useFactory: async () => {
4518
4674
  const injector = inject(Injector);
4519
- const provider = (await import('./acorex-modules-platform-management-settings.provider-Bz3Npk_t.mjs')).AXMRegionalSettingProvider;
4675
+ const provider = (await import('./acorex-modules-platform-management-settings.provider-C327XLKW.mjs')).AXMRegionalSettingProvider;
4520
4676
  return new provider(injector);
4521
4677
  },
4522
4678
  multi: true
@@ -4527,7 +4683,7 @@ class AXMPlatformManagementCommonModule {
4527
4683
  multi: true
4528
4684
  },
4529
4685
  ], imports: [AXPComponentSlotModule.forChild({
4530
- 'header-end': [
4686
+ 'root-header-end': [
4531
4687
  {
4532
4688
  name: 'language',
4533
4689
  component: AXMLanguageSlotComponent
@@ -4540,7 +4696,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4540
4696
  args: [{
4541
4697
  imports: [
4542
4698
  AXPComponentSlotModule.forChild({
4543
- 'header-end': [
4699
+ 'root-header-end': [
4544
4700
  {
4545
4701
  name: 'language',
4546
4702
  component: AXMLanguageSlotComponent
@@ -4555,7 +4711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4555
4711
  provide: AXP_SETTING_DEFINITION_PROVIDER,
4556
4712
  useFactory: async () => {
4557
4713
  const injector = inject(Injector);
4558
- const provider = (await import('./acorex-modules-platform-management-settings.provider-Bz3Npk_t.mjs')).AXMRegionalSettingProvider;
4714
+ const provider = (await import('./acorex-modules-platform-management-settings.provider-C327XLKW.mjs')).AXMRegionalSettingProvider;
4559
4715
  return new provider(injector);
4560
4716
  },
4561
4717
  multi: true
@@ -4744,6 +4900,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4744
4900
  type: Injectable
4745
4901
  }] });
4746
4902
 
4903
+ var AXPApplicationTermsSettings;
4904
+ (function (AXPApplicationTermsSettings) {
4905
+ AXPApplicationTermsSettings["ApplicationTerms"] = "general:startup:application-terms";
4906
+ })(AXPApplicationTermsSettings || (AXPApplicationTermsSettings = {}));
4907
+
4747
4908
  class AppTermsCheckService {
4748
4909
  constructor() {
4749
4910
  this.settingsService = inject(AXPSettingService);
@@ -4764,7 +4925,10 @@ class AppTermsCheckService {
4764
4925
  const isConfirm = await this.settingsService
4765
4926
  .scope(AXPPlatformScope.User)
4766
4927
  .get(`is-confirm-term-${term.id}`);
4767
- if (!isConfirm) {
4928
+ const isEnableToShow = await this.settingsService
4929
+ .scope(AXPPlatformScope.User)
4930
+ .get(AXPApplicationTermsSettings.ApplicationTerms);
4931
+ if (!isConfirm && isEnableToShow) {
4768
4932
  filterTerms.push(term);
4769
4933
  }
4770
4934
  }
@@ -4792,7 +4956,7 @@ class AXMShowReleaseNotesPopupAction extends AXPWorkflowAction {
4792
4956
  }
4793
4957
  async execute(context) {
4794
4958
  const scope = RootConfig.config.i18n;
4795
- const comp = await (await import('./acorex-modules-platform-management-list-version.component-Ctqr4YiY.mjs')).AXMListVersionComponent;
4959
+ const comp = await (await import('./acorex-modules-platform-management-list-version.component-BGhETw3U.mjs')).AXMListVersionComponent;
4796
4960
  this.popupService.open(comp, {
4797
4961
  title: `t('release-notes',{scope: "${scope}"})`,
4798
4962
  });
@@ -5348,4 +5512,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
5348
5512
  */
5349
5513
 
5350
5514
  export { AXPRegionalSetting as A, AXMGlossaryServiceImpl as B, metaDataDefinitionFactory as C, AXMMetaDataDefinitionService as D, AXMPMetaDataDefinitionServiceImpl as E, metaDataDefinitionCategoryEntityFactory as F, AXMMetaDataDefinitionCategoryService as G, AXMMetaDataDefinitionCategoryServiceImpl as H, AXMPromotionSlotComponent as I, promotionEntityFactory as J, AXMAppPromotionService as K, AXMPromotionServiceImpl as L, AXPRegionalStoreService as M, AXMUpdaterModule as N, AXPUpdaterService as O, RootConfig as R, AXMAppVersionService as a, AXMPlatformManagementModule as b, appTermEntityEntityFactory as c, AXMAppTermService as d, AXMAppTermServiceImpl as e, AXMListTermsComponent as f, AXMNotifyNewTermPopupAction as g, AXMTermUpdateSettingAction as h, AXMNewTermWorkflow as i, appVersionEntityEntityFactory as j, AXMAppVersionServiceImpl as k, AXMNotifyAppComponent as l, AXMAppVersionSlotComponent as m, AXMChangeLogPopupAction as n, AXMChangeLogUpdateSettingAction as o, AXMWhatsNewWorkflow as p, AXMCheckNewVersionAction as q, AXMCheckNewVersionWorkflow as r, dataSourceEntityFactory as s, AXMDataSourceService as t, AXMDataSourceServiceImpl as u, globalVariableEntityFactory as v, AXMGlobalVariablesService as w, AXMGlobalVariablesServiceImpl as x, glossaryEntityFactory as y, AXMGlossaryService as z };
5351
- //# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-Bh6NW7UJ.mjs.map
5515
+ //# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-C9wUvVuk.mjs.map