@acorex/modules 19.3.3-next.0 → 19.3.4

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 (224) hide show
  1. package/conversation/lib/entities/comments/pages/comment-list-view.component.d.ts +3 -2
  2. package/dashboard-management/index.d.ts +3 -1
  3. package/dashboard-management/lib/entities/dashboard/dashboard.types.d.ts +4 -0
  4. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +6 -25
  5. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +1 -26
  6. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +8 -0
  7. package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts +10 -2
  8. package/dashboard-management/lib/features/home-dashboard/dashboard-popups/dashboard-popup.service.d.ts +1 -1
  9. package/dashboard-management/lib/features/home-dashboard/index.d.ts +1 -0
  10. package/dashboard-management/lib/menu.provider.d.ts +1 -0
  11. package/document-management/lib/features/document-explorer/views/attachement-widget/attachment-widget.component.d.ts +126 -0
  12. package/document-management/lib/features/shared/document-manager.types.d.ts +1 -1
  13. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +1 -0
  14. package/fesm2022/{acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs → acorex-modules-application-management-module-designer.component-cD24pUfN.mjs} +7 -7
  15. package/fesm2022/{acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs.map → acorex-modules-application-management-module-designer.component-cD24pUfN.mjs.map} +1 -1
  16. package/fesm2022/acorex-modules-application-management.mjs +41 -41
  17. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  18. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs → acorex-modules-auth-acorex-modules-auth-DCWtLiHM.mjs} +43 -43
  19. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs.map → acorex-modules-auth-acorex-modules-auth-DCWtLiHM.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs → acorex-modules-auth-app-chooser.component-VMhnsjYn.mjs} +5 -5
  21. package/fesm2022/{acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs.map → acorex-modules-auth-app-chooser.component-VMhnsjYn.mjs.map} +1 -1
  22. package/fesm2022/acorex-modules-auth-blank.layout-DIttom0K.mjs +18 -0
  23. package/fesm2022/{acorex-modules-auth-blank.layout-B1a0710P.mjs.map → acorex-modules-auth-blank.layout-DIttom0K.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-login.module-D-XgzifC.mjs → acorex-modules-auth-login.module-DxLjSR75.mjs} +8 -8
  25. package/fesm2022/{acorex-modules-auth-login.module-D-XgzifC.mjs.map → acorex-modules-auth-login.module-DxLjSR75.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-auth-master.layout-ZaCb3CED.mjs → acorex-modules-auth-master.layout-Dpb-D34R.mjs} +5 -5
  27. package/fesm2022/{acorex-modules-auth-master.layout-ZaCb3CED.mjs.map → acorex-modules-auth-master.layout-Dpb-D34R.mjs.map} +1 -1
  28. package/fesm2022/acorex-modules-auth-password.component-Bcwod5kV.mjs +59 -0
  29. package/fesm2022/{acorex-modules-auth-password.component-CLTZoufP.mjs.map → acorex-modules-auth-password.component-Bcwod5kV.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-auth-password.component-C-xRIhrM.mjs → acorex-modules-auth-password.component-CEAzmwdd.mjs} +5 -5
  31. package/fesm2022/{acorex-modules-auth-password.component-C-xRIhrM.mjs.map → acorex-modules-auth-password.component-CEAzmwdd.mjs.map} +1 -1
  32. package/fesm2022/{acorex-modules-auth-routes-4T5jq7su.mjs → acorex-modules-auth-routes-DHX4wD9P.mjs} +2 -2
  33. package/fesm2022/{acorex-modules-auth-routes-4T5jq7su.mjs.map → acorex-modules-auth-routes-DHX4wD9P.mjs.map} +1 -1
  34. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs → acorex-modules-auth-tenant-chooser.component-S07bx8PP.mjs} +4 -4
  35. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs.map → acorex-modules-auth-tenant-chooser.component-S07bx8PP.mjs.map} +1 -1
  36. package/fesm2022/acorex-modules-auth-two-factor-code.component-CK9J4jMb.mjs +40 -0
  37. package/fesm2022/{acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs.map → acorex-modules-auth-two-factor-code.component-CK9J4jMb.mjs.map} +1 -1
  38. package/fesm2022/{acorex-modules-auth-two-factor.module-D72KIpvA.mjs → acorex-modules-auth-two-factor.module-CZyzLTm3.mjs} +7 -7
  39. package/fesm2022/{acorex-modules-auth-two-factor.module-D72KIpvA.mjs.map → acorex-modules-auth-two-factor.module-CZyzLTm3.mjs.map} +1 -1
  40. package/fesm2022/{acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs → acorex-modules-auth-user-sessions.component-SuhoNCuQ.mjs} +5 -5
  41. package/fesm2022/{acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs.map → acorex-modules-auth-user-sessions.component-SuhoNCuQ.mjs.map} +1 -1
  42. package/fesm2022/acorex-modules-auth.mjs +1 -1
  43. package/fesm2022/{acorex-modules-common-search-popup.component-C3XUb6pF.mjs → acorex-modules-common-search-popup.component-DQYBNkIc.mjs} +4 -4
  44. package/fesm2022/{acorex-modules-common-search-popup.component-C3XUb6pF.mjs.map → acorex-modules-common-search-popup.component-DQYBNkIc.mjs.map} +1 -1
  45. package/fesm2022/acorex-modules-common.mjs +19 -19
  46. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  47. package/fesm2022/acorex-modules-conversation.mjs +45 -45
  48. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  49. package/fesm2022/acorex-modules-dashboard-management.mjs +4994 -1
  50. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  51. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Dw7YKb_h.mjs → acorex-modules-document-management-acorex-modules-document-management-kZDDtr98.mjs} +151 -139
  52. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-kZDDtr98.mjs.map +1 -0
  53. package/fesm2022/acorex-modules-document-management-attachment-widget.component-DlwLjrkw.mjs +32 -0
  54. package/fesm2022/acorex-modules-document-management-attachment-widget.component-DlwLjrkw.mjs.map +1 -0
  55. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-Ty5V60Tu.mjs → acorex-modules-document-management-create-folder-dialog.component-CPXnUlUx.mjs} +6 -6
  56. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-Ty5V60Tu.mjs.map → acorex-modules-document-management-create-folder-dialog.component-CPXnUlUx.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-document-management-details-view.component-BuUJq8WU.mjs → acorex-modules-document-management-details-view.component-9LB0w9DQ.mjs} +5 -5
  58. package/fesm2022/{acorex-modules-document-management-details-view.component-BuUJq8WU.mjs.map → acorex-modules-document-management-details-view.component-9LB0w9DQ.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-document-management-drive-choose.component-DSCIj1X_.mjs → acorex-modules-document-management-drive-choose.component-CPIB0bcn.mjs} +5 -5
  60. package/fesm2022/{acorex-modules-document-management-drive-choose.component-DSCIj1X_.mjs.map → acorex-modules-document-management-drive-choose.component-CPIB0bcn.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DvrdSkIZ.mjs → acorex-modules-document-management-large-icons-view.component-D--yZaJt.mjs} +5 -5
  62. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DvrdSkIZ.mjs.map → acorex-modules-document-management-large-icons-view.component-D--yZaJt.mjs.map} +1 -1
  63. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-rIxsD8sE.mjs → acorex-modules-document-management-large-tiles-view.component-CNeKXArZ.mjs} +5 -5
  64. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-rIxsD8sE.mjs.map → acorex-modules-document-management-large-tiles-view.component-CNeKXArZ.mjs.map} +1 -1
  65. package/fesm2022/{acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs → acorex-modules-document-management-link-dialog.component-DKbO2nX8.mjs} +4 -4
  66. package/fesm2022/{acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs.map → acorex-modules-document-management-link-dialog.component-DKbO2nX8.mjs.map} +1 -1
  67. package/fesm2022/{acorex-modules-document-management-list-view.component-BrutZLAU.mjs → acorex-modules-document-management-list-view.component-q2bCwMab.mjs} +5 -5
  68. package/fesm2022/{acorex-modules-document-management-list-view.component-BrutZLAU.mjs.map → acorex-modules-document-management-list-view.component-q2bCwMab.mjs.map} +1 -1
  69. package/fesm2022/acorex-modules-document-management-lock-dialog.component-By36woOc.mjs +52 -0
  70. package/fesm2022/{acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs.map → acorex-modules-document-management-lock-dialog.component-By36woOc.mjs.map} +1 -1
  71. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CQOLEctF.mjs → acorex-modules-document-management-permission-definition.provider-Cqkd87Cb.mjs} +2 -2
  72. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CQOLEctF.mjs.map → acorex-modules-document-management-permission-definition.provider-Cqkd87Cb.mjs.map} +1 -1
  73. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-zSY0PShA.mjs → acorex-modules-document-management-rename-node-dialog.component-WZYHoTrK.mjs} +6 -6
  74. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-zSY0PShA.mjs.map → acorex-modules-document-management-rename-node-dialog.component-WZYHoTrK.mjs.map} +1 -1
  75. package/fesm2022/{acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs → acorex-modules-document-management-share-dialog.component-Diof2rpe.mjs} +4 -4
  76. package/fesm2022/{acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs.map → acorex-modules-document-management-share-dialog.component-Diof2rpe.mjs.map} +1 -1
  77. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-Bj6G6aqt.mjs +55 -0
  78. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs.map → acorex-modules-document-management-share-email-dialog.component-Bj6G6aqt.mjs.map} +1 -1
  79. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CFB6g5r6.mjs → acorex-modules-document-management-small-icons-view.component-iCcvLfHC.mjs} +5 -5
  80. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CFB6g5r6.mjs.map → acorex-modules-document-management-small-icons-view.component-iCcvLfHC.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Dp2Lnb3c.mjs → acorex-modules-document-management-small-tiles-view.component-BlxmyYrn.mjs} +5 -5
  82. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Dp2Lnb3c.mjs.map → acorex-modules-document-management-small-tiles-view.component-BlxmyYrn.mjs.map} +1 -1
  83. package/fesm2022/acorex-modules-document-management-unlock-dialog.component-CNjFnm2w.mjs +37 -0
  84. package/fesm2022/{acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs.map → acorex-modules-document-management-unlock-dialog.component-CNjFnm2w.mjs.map} +1 -1
  85. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  86. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-BL9GxOV_.mjs} +56 -56
  87. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-BL9GxOV_.mjs.map} +1 -1
  88. package/fesm2022/{acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs → acorex-modules-form-template-management-category.entity-DgpkNWIh.mjs} +2 -2
  89. package/fesm2022/{acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs.map → acorex-modules-form-template-management-category.entity-DgpkNWIh.mjs.map} +1 -1
  90. package/fesm2022/{acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs → acorex-modules-form-template-management-designer.page-BmSMzkbb.mjs} +4 -4
  91. package/fesm2022/{acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs.map → acorex-modules-form-template-management-designer.page-BmSMzkbb.mjs.map} +1 -1
  92. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs → acorex-modules-form-template-management-permission-definition.provider-DwpvJvia.mjs} +2 -2
  93. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs.map → acorex-modules-form-template-management-permission-definition.provider-DwpvJvia.mjs.map} +1 -1
  94. package/fesm2022/{acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs → acorex-modules-form-template-management-settings.provider-BDlPJPWl.mjs} +2 -2
  95. package/fesm2022/{acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs.map → acorex-modules-form-template-management-settings.provider-BDlPJPWl.mjs.map} +1 -1
  96. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-M-R2U9CH.mjs → acorex-modules-form-template-management-template-picker.component-DWZby-TS.mjs} +4 -4
  97. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-M-R2U9CH.mjs.map → acorex-modules-form-template-management-template-picker.component-DWZby-TS.mjs.map} +1 -1
  98. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-BP75i9zU.mjs → acorex-modules-form-template-management-template-widget-edit.component-CZ7DLKVC.mjs} +5 -5
  99. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-BP75i9zU.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-CZ7DLKVC.mjs.map} +1 -1
  100. package/fesm2022/{acorex-modules-form-template-management-template.entity-CCaHPkWq.mjs → acorex-modules-form-template-management-template.entity-DbDR1qAp.mjs} +2 -2
  101. package/fesm2022/{acorex-modules-form-template-management-template.entity-CCaHPkWq.mjs.map → acorex-modules-form-template-management-template.entity-DbDR1qAp.mjs.map} +1 -1
  102. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CUOsh6e5.mjs → acorex-modules-form-template-management-viewer-popup.component-B4EoS2iO.mjs} +5 -5
  103. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CUOsh6e5.mjs.map → acorex-modules-form-template-management-viewer-popup.component-B4EoS2iO.mjs.map} +1 -1
  104. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  105. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DcmAnBue.mjs → acorex-modules-issue-management-acorex-modules-issue-management-7RWgBq87.mjs} +62 -65
  106. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DcmAnBue.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-7RWgBq87.mjs.map} +1 -1
  107. package/fesm2022/acorex-modules-issue-management-capture-screen.component-BzvY3UMh.mjs +28 -0
  108. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-BMpafdHr.mjs.map → acorex-modules-issue-management-capture-screen.component-BzvY3UMh.mjs.map} +1 -1
  109. package/fesm2022/acorex-modules-issue-management.mjs +1 -1
  110. package/fesm2022/acorex-modules-log-management.mjs +10 -10
  111. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  112. package/fesm2022/acorex-modules-notification-management.mjs +36 -36
  113. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  114. package/fesm2022/{acorex-modules-organization-management-add-item.component-DE0Ek0dk.mjs → acorex-modules-organization-management-add-item.component-sP_aikRE.mjs} +5 -5
  115. package/fesm2022/{acorex-modules-organization-management-add-item.component-DE0Ek0dk.mjs.map → acorex-modules-organization-management-add-item.component-sP_aikRE.mjs.map} +1 -1
  116. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-RuvkSheN.mjs → acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs} +5 -5
  117. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-RuvkSheN.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs.map} +1 -1
  118. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs → acorex-modules-organization-management-org-chart-configuration.service-CtA19B8x.mjs} +4 -4
  119. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs.map → acorex-modules-organization-management-org-chart-configuration.service-CtA19B8x.mjs.map} +1 -1
  120. package/fesm2022/{acorex-modules-organization-management-org-chart.page-C2qYJxpY.mjs → acorex-modules-organization-management-org-chart.page-B-TZkfTX.mjs} +12 -12
  121. package/fesm2022/{acorex-modules-organization-management-org-chart.page-C2qYJxpY.mjs.map → acorex-modules-organization-management-org-chart.page-B-TZkfTX.mjs.map} +1 -1
  122. package/fesm2022/acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs +320 -0
  123. package/fesm2022/acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs.map +1 -0
  124. package/fesm2022/acorex-modules-organization-management-position.entity-CY4TugWR.mjs +412 -0
  125. package/fesm2022/acorex-modules-organization-management-position.entity-CY4TugWR.mjs.map +1 -0
  126. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs +332 -0
  127. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs.map +1 -0
  128. package/fesm2022/{acorex-modules-organization-management-position.entity-DhPT9kzv.mjs → acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs} +63 -27
  129. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs.map +1 -0
  130. package/fesm2022/{acorex-modules-organization-management-role.entity-C-AIIaDo.mjs → acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs} +58 -8
  131. package/fesm2022/acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs.map +1 -0
  132. package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs +324 -0
  133. package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs.map +1 -0
  134. package/fesm2022/acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs +320 -0
  135. package/fesm2022/acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs.map +1 -0
  136. package/fesm2022/acorex-modules-organization-management-skill.entity-D9XojzUV.mjs +287 -0
  137. package/fesm2022/acorex-modules-organization-management-skill.entity-D9XojzUV.mjs.map +1 -0
  138. package/fesm2022/acorex-modules-organization-management.mjs +451 -106
  139. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  140. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BaYlXX3M.mjs → acorex-modules-platform-management-acorex-modules-platform-management-D8qCuwrP.mjs} +267 -207
  141. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-D8qCuwrP.mjs.map +1 -0
  142. package/fesm2022/{acorex-modules-platform-management-list-version.component-DB8pe9so.mjs → acorex-modules-platform-management-list-version.component-C4efcHZE.mjs} +8 -8
  143. package/fesm2022/acorex-modules-platform-management-list-version.component-C4efcHZE.mjs.map +1 -0
  144. package/fesm2022/{acorex-modules-platform-management-settings.provider-BQzM-lyt.mjs → acorex-modules-platform-management-settings.provider-DOR4HWty.mjs} +2 -2
  145. package/fesm2022/{acorex-modules-platform-management-settings.provider-BQzM-lyt.mjs.map → acorex-modules-platform-management-settings.provider-DOR4HWty.mjs.map} +1 -1
  146. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  147. package/fesm2022/acorex-modules-project-management.mjs +43 -43
  148. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  149. package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
  150. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  151. package/fesm2022/acorex-modules-security-management.mjs +35 -35
  152. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  153. package/fesm2022/{acorex-modules-settings-management-setting-page.component-XDFtTqft.mjs → acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs} +4 -4
  154. package/fesm2022/{acorex-modules-settings-management-setting-page.component-XDFtTqft.mjs.map → acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs.map} +1 -1
  155. package/fesm2022/{acorex-modules-settings-management-setting-view.component-B_6RIU9e.mjs → acorex-modules-settings-management-setting-view.component-DryghOjs.mjs} +4 -4
  156. package/fesm2022/{acorex-modules-settings-management-setting-view.component-B_6RIU9e.mjs.map → acorex-modules-settings-management-setting-view.component-DryghOjs.mjs.map} +1 -1
  157. package/fesm2022/acorex-modules-settings-management.mjs +6 -6
  158. package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
  159. package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
  160. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  161. package/fesm2022/acorex-modules-training-management.mjs +43 -43
  162. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  163. package/organization-management/lib/const.d.ts +38 -2
  164. package/organization-management/lib/entities/index.d.ts +6 -0
  165. package/organization-management/lib/entities/position/position.types.d.ts +5 -0
  166. package/organization-management/lib/entities/position-category/index.d.ts +3 -0
  167. package/organization-management/lib/entities/position-category/position-category.entity.d.ts +3 -0
  168. package/organization-management/lib/entities/position-category/position-category.module.d.ts +6 -0
  169. package/organization-management/lib/entities/position-category/position-category.service.d.ts +10 -0
  170. package/organization-management/lib/entities/position-category/position-category.types.d.ts +7 -0
  171. package/organization-management/lib/entities/responsibility/index.d.ts +3 -0
  172. package/organization-management/lib/entities/responsibility/responsibility.entity.d.ts +3 -0
  173. package/organization-management/lib/entities/responsibility/responsibility.module.d.ts +7 -0
  174. package/organization-management/lib/entities/responsibility/responsibility.service.d.ts +10 -0
  175. package/organization-management/lib/entities/responsibility/responsibility.types.d.ts +6 -0
  176. package/organization-management/lib/entities/responsibility-category/index.d.ts +3 -0
  177. package/organization-management/lib/entities/responsibility-category/responsibility-category.entity.d.ts +3 -0
  178. package/organization-management/lib/entities/responsibility-category/responsibility-category.module.d.ts +7 -0
  179. package/organization-management/lib/entities/responsibility-category/responsibility-category.service.d.ts +10 -0
  180. package/organization-management/lib/entities/responsibility-category/responsibility-category.types.d.ts +7 -0
  181. package/organization-management/lib/entities/role/role.types.d.ts +3 -0
  182. package/organization-management/lib/entities/role-category/index.d.ts +3 -0
  183. package/organization-management/lib/entities/role-category/role-category.entity.d.ts +3 -0
  184. package/organization-management/lib/entities/role-category/role-category.module.d.ts +6 -0
  185. package/organization-management/lib/entities/role-category/role-category.service.d.ts +10 -0
  186. package/organization-management/lib/entities/role-category/role-category.types.d.ts +7 -0
  187. package/organization-management/lib/entities/skill/index.d.ts +3 -0
  188. package/organization-management/lib/entities/skill/skill.entity.d.ts +3 -0
  189. package/organization-management/lib/entities/skill/skill.module.d.ts +6 -0
  190. package/organization-management/lib/entities/skill/skill.service.d.ts +10 -0
  191. package/organization-management/lib/entities/skill/skill.types.d.ts +6 -0
  192. package/organization-management/lib/entities/skill-category/index.d.ts +3 -0
  193. package/organization-management/lib/entities/skill-category/skill-category.entity.d.ts +3 -0
  194. package/organization-management/lib/entities/skill-category/skill-category.module.d.ts +6 -0
  195. package/organization-management/lib/entities/skill-category/skill-category.service.d.ts +10 -0
  196. package/organization-management/lib/entities/skill-category/skill-category.types.d.ts +7 -0
  197. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +38 -2
  198. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +38 -2
  199. package/organization-management/lib/organization-management.module.d.ts +17 -11
  200. package/package.json +1 -1
  201. package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +1 -4
  202. package/platform-management/lib/entities/promotion/promotion.datasource.d.ts +7 -0
  203. package/platform-management/lib/features/app-terms/components/notify-app/notify-app.component.d.ts +1 -2
  204. package/platform-management/lib/features/app-terms/pages/list/list-terms.component.d.ts +0 -1
  205. package/platform-management/lib/features/app-version/check-version.service.d.ts +1 -3
  206. package/platform-management/lib/features/app-version/components/list-versions/list-version.component.d.ts +2 -1
  207. package/platform-management/lib/features/app-version/components/notify-app/notify-app.component.d.ts +2 -3
  208. package/platform-management/lib/features/app-version/workflows/change-log.workflow.d.ts +8 -0
  209. package/fesm2022/acorex-modules-auth-blank.layout-B1a0710P.mjs +0 -18
  210. package/fesm2022/acorex-modules-auth-password.component-CLTZoufP.mjs +0 -59
  211. package/fesm2022/acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs +0 -40
  212. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-Ccj2AaJ1.mjs +0 -3755
  213. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-Ccj2AaJ1.mjs.map +0 -1
  214. package/fesm2022/acorex-modules-dashboard-management-home-dashboard-BXD0g_tp.mjs +0 -835
  215. package/fesm2022/acorex-modules-dashboard-management-home-dashboard-BXD0g_tp.mjs.map +0 -1
  216. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-Dw7YKb_h.mjs.map +0 -1
  217. package/fesm2022/acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs +0 -52
  218. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs +0 -55
  219. package/fesm2022/acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs +0 -37
  220. package/fesm2022/acorex-modules-issue-management-capture-screen.component-BMpafdHr.mjs +0 -28
  221. package/fesm2022/acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map +0 -1
  222. package/fesm2022/acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map +0 -1
  223. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BaYlXX3M.mjs.map +0 -1
  224. package/fesm2022/acorex-modules-platform-management-list-version.component-DB8pe9so.mjs.map +0 -1
@@ -2,6 +2,7 @@ import { AXWysiwygContainerComponent } from '@acorex/components/wysiwyg';
2
2
  import { OnInit } from '@angular/core';
3
3
  import { AXStyleLookType } from '@acorex/components/common';
4
4
  import { AXMCommentEntityModel } from '../comments.type';
5
+ import { DomSanitizer } from '@angular/platform-browser';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class AXMCommentListViewComponent implements OnInit {
7
8
  protected hasCooldown: import("@angular/core").WritableSignal<boolean>;
@@ -20,7 +21,7 @@ export declare class AXMCommentListViewComponent implements OnInit {
20
21
  private popupService;
21
22
  private toastService;
22
23
  private dialogService;
23
- private htmlUtils;
24
+ sanitize: DomSanitizer;
24
25
  private readonly routeParams;
25
26
  private getPayload;
26
27
  payload: import("@angular/core").Signal<{
@@ -45,7 +46,7 @@ export declare class AXMCommentListViewComponent implements OnInit {
45
46
  message: string;
46
47
  value: string;
47
48
  };
48
- sanitizeHtml(htmlContent: string): import("@angular/platform-browser").SafeHtml | null;
49
+ sanitizeHtml(htmlContent: string): import("@angular/platform-browser").SafeHtml;
49
50
  handleImageError(imageId: string): void;
50
51
  checkImageExists(imageId: string): boolean;
51
52
  extractInitials(name: string): string;
@@ -1,3 +1,5 @@
1
- export * from './lib/dashboard-management.module';
2
1
  export * from './lib/const';
2
+ export * from './lib/dashboard-management.module';
3
+ export * from './lib/entities';
4
+ export * from './lib/features/home-dashboard';
3
5
  export * from './lib/features/shared/widgets';
@@ -5,4 +5,8 @@ export interface AXMCommonDashboardEntityModel extends AXPEntityModel<string> {
5
5
  title: string;
6
6
  description: string;
7
7
  widgets: AXMDashboardWidgetData[];
8
+ roleIds?: string[];
9
+ isDeleted?: boolean;
10
+ locked?: boolean;
11
+ scope: 'U' | 'T';
8
12
  }
@@ -1,9 +1,9 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { AXDialogService } from '@acorex/components/dialog';
4
- import { AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
5
4
  import { AXPBasePageComponent } from '@acorex/platform/themes/default';
6
5
  import { AXPopupService } from '@acorex/components/popup';
6
+ import { AXPSessionService } from '@acorex/platform/auth';
7
7
  import { AXPActionMenuItem, AXPExecuteCommand } from '@acorex/platform/core';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class AXMDashboardHomeComponent extends AXPBasePageComponent implements OnInit {
@@ -29,29 +29,7 @@ export declare class AXMDashboardHomeComponent extends AXPBasePageComponent impl
29
29
  };
30
30
  protected readonly popupService: AXPopupService;
31
31
  protected readonly dialogService: AXDialogService;
32
- protected readonly store: {
33
- dashboards: import("@angular/core").Signal<import("./home-dashboard.type").AXMDashboardLayout[]>;
34
- currentDashboardId: import("@angular/core").Signal<string | null>;
35
- dashboardsOption: import("@ngrx/signals").DeepSignal<import("@acorex/components/grid-layout-builder").AXGridLayoutOptions>;
36
- isLoading: import("@angular/core").Signal<boolean>;
37
- currentDashboard: import("@angular/core").Signal<import("./home-dashboard.type").AXMDashboardLayout | null>;
38
- setCurrentDashboard: (dashboardId: string) => void;
39
- addDashboard: () => Promise<void>;
40
- addWidget: () => Promise<void>;
41
- removeDashboard: (id: string) => Promise<void>;
42
- removeWidget: (dashboardId: string, widgetId: string) => Promise<void>;
43
- handleConfigChange: (dashboard: import("./home-dashboard.type").AXMDashboardLayout) => Promise<void>;
44
- onGridChange: (event: import("@acorex/components/grid-layout-builder").AXGridLayoutEvent) => Promise<void>;
45
- handlePopupConfiguration: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode) => Promise<void>;
46
- handleValueChanged: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode, data: unknown) => Promise<void>;
47
- handleOptionsChanged: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode, data: unknown) => Promise<void>;
48
- refreshDashboards: () => Promise<void>;
49
- } & import("@ngrx/signals").StateSource<{
50
- dashboards: import("./home-dashboard.type").AXMDashboardLayout[];
51
- currentDashboardId: string | null;
52
- dashboardsOption: import("@acorex/components/grid-layout-builder").AXGridLayoutOptions;
53
- isLoading: boolean;
54
- }>;
32
+ protected readonly store: any;
55
33
  protected readonly router: Router;
56
34
  protected readonly activatedRoute: ActivatedRoute;
57
35
  protected layoutService: {
@@ -114,8 +92,12 @@ export declare class AXMDashboardHomeComponent extends AXPBasePageComponent impl
114
92
  sideMenuWidth: number;
115
93
  menuOrientation: import("@acorex/platform/themes/shared").AXPMenuOrientation;
116
94
  }>;
95
+ protected readonly sessionService: AXPSessionService;
96
+ private dashboardsLoaded;
117
97
  protected readonly isEdited: import("@angular/core").WritableSignal<boolean>;
118
98
  protected readonly context: import("@angular/core").WritableSignal<{}>;
99
+ ngOnInit(): Promise<void>;
100
+ private applyDashboardFiltering;
119
101
  protected toggleEdit(): void;
120
102
  protected confirmWidgetDelete(dashboardId: string, widgetId: string): Promise<void>;
121
103
  getPageTitle(): string;
@@ -124,7 +106,6 @@ export declare class AXMDashboardHomeComponent extends AXPBasePageComponent impl
124
106
  getPrimaryMenuItems(): Promise<AXPActionMenuItem[]>;
125
107
  getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
126
108
  execute(command: AXPExecuteCommand): Promise<void>;
127
- log(event: AXPLayoutContextChangeEvent): void;
128
109
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardHomeComponent, never>;
129
110
  static ɵcmp: i0.ɵɵComponentDeclaration<AXMDashboardHomeComponent, "axm-dashboard-home", never, {}, {}, never, never, true, never>;
130
111
  }
@@ -1,26 +1 @@
1
- import { AXGridLayoutEvent, AXGridLayoutOptions } from '@acorex/components/grid-layout-builder';
2
- import { AXPWidgetNode } from '@acorex/platform/layout/builder';
3
- import { AXMDashboardLayout } from './home-dashboard.type';
4
- export declare const AXMDashboardStore: import("@angular/core").Type<{
5
- dashboards: import("@angular/core").Signal<AXMDashboardLayout[]>;
6
- currentDashboardId: import("@angular/core").Signal<string | null>;
7
- dashboardsOption: import("@ngrx/signals").DeepSignal<AXGridLayoutOptions>;
8
- isLoading: import("@angular/core").Signal<boolean>;
9
- currentDashboard: import("@angular/core").Signal<AXMDashboardLayout | null>;
10
- setCurrentDashboard: (dashboardId: string) => void;
11
- addDashboard: () => Promise<void>;
12
- addWidget: () => Promise<void>;
13
- removeDashboard: (id: string) => Promise<void>;
14
- removeWidget: (dashboardId: string, widgetId: string) => Promise<void>;
15
- handleConfigChange: (dashboard: AXMDashboardLayout) => Promise<void>;
16
- onGridChange: (event: AXGridLayoutEvent) => Promise<void>;
17
- handlePopupConfiguration: (widgetNode: AXPWidgetNode) => Promise<void>;
18
- handleValueChanged: (widgetNode: AXPWidgetNode, data: unknown) => Promise<void>;
19
- handleOptionsChanged: (widgetNode: AXPWidgetNode, data: unknown) => Promise<void>;
20
- refreshDashboards: () => Promise<void>;
21
- } & import("@ngrx/signals").StateSource<{
22
- dashboards: AXMDashboardLayout[];
23
- currentDashboardId: string | null;
24
- dashboardsOption: AXGridLayoutOptions;
25
- isLoading: boolean;
26
- }>>;
1
+ export declare const AXMDashboardStore: any;
@@ -5,6 +5,14 @@ export interface AXMDashboardLayout {
5
5
  title: string;
6
6
  description?: string;
7
7
  widgets: AXMDashboardWidgetData[];
8
+ createdAt?: Date;
9
+ updatedAt?: Date;
10
+ createdBy?: string;
11
+ updatedBy?: string;
12
+ roleIds?: string[];
13
+ isDeleted?: boolean;
14
+ locked?: boolean;
15
+ scope: 'U' | 'T';
8
16
  }
9
17
  export type AXMDashboardWidgetData = {
10
18
  config: AXGridLayoutNode;
@@ -2,12 +2,20 @@ import { AXBasePageComponent } from '@acorex/components/page';
2
2
  import { OnInit } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AXMAddDashboardPopup extends AXBasePageComponent implements OnInit {
5
+ protected readonly scope: string;
5
6
  private readonly data;
7
+ protected isAdmin: boolean;
8
+ private readonly roleService;
9
+ private readonly sessionService;
6
10
  protected readonly title: import("@angular/core").ModelSignal<string>;
7
11
  protected readonly description: import("@angular/core").ModelSignal<string>;
12
+ protected readonly selectedRoleIds: import("@angular/core").ModelSignal<string[]>;
13
+ protected readonly isDisabled: import("@angular/core").ModelSignal<boolean>;
14
+ protected readonly isLocked: import("@angular/core").ModelSignal<boolean>;
15
+ protected roles: any[];
8
16
  protected get isValid(): boolean;
9
- ngOnInit(): void;
17
+ ngOnInit(): Promise<void>;
10
18
  protected handleClose(isCanceled?: boolean): Promise<void>;
11
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMAddDashboardPopup, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; }, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "selectedRoleIds": { "alias": "selectedRoleIds"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; "selectedRoleIds": "selectedRoleIdsChange"; "isDisabled": "isDisabledChange"; "isLocked": "isLockedChange"; }, never, never, true, never>;
13
21
  }
@@ -3,7 +3,7 @@ import { AXMDashboardLayout } from '../dashboard-home';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AXMDashboardPopupService {
5
5
  private readonly popupService;
6
- generateDashboardLayout(data: Partial<AXMDashboardLayout>): Promise<AXMDashboardLayout | void>;
6
+ generateDashboardLayout(data: Partial<AXMDashboardLayout>, isAdmin: boolean): Promise<AXMDashboardLayout | void>;
7
7
  handlePopupConfiguration(widget: AXPWidgetNode): Promise<AXPWidgetNode | void>;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardPopupService, never>;
9
9
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMDashboardPopupService>;
@@ -0,0 +1 @@
1
+ export * from './dashboard-home';
@@ -1,5 +1,6 @@
1
1
  import { AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';
2
2
  export declare class AXMMenuProvider implements AXPMenuProvider {
3
3
  private sessionService;
4
+ private entityService;
4
5
  provide(context: AXPMenuProviderContext): Promise<void>;
5
6
  }
@@ -0,0 +1,126 @@
1
+ import { AXMDocumentManagerService } from '../../../shared';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXMDocumentExplorerAttachmentComponent {
4
+ protected vm: {
5
+ viewMode: import("@angular/core").Signal<import("../../../drive").AXPDocumentExplorerViewMode>;
6
+ isLoading: import("@angular/core").Signal<boolean>;
7
+ scope: import("@angular/core").Signal<import("@acorex/platform/core").AXPPlatformScope>;
8
+ currentPath: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode[]>;
9
+ currentNode: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode | null>;
10
+ loadingFolderId: import("@angular/core").Signal<string | null>;
11
+ navigatingFolderId: import("@angular/core").Signal<string | null>;
12
+ backHistory: import("@angular/core").Signal<{
13
+ folderId: string;
14
+ path: import("../../../drive").AXMDocumentExplorerNode[];
15
+ }[]>;
16
+ selectionMode: import("@angular/core").Signal<import("../../../drive").AXMDocumentSelectionMode>;
17
+ selectedNodes: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode[]>;
18
+ browseMode: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerBrowseMode>;
19
+ sortField: import("@angular/core").Signal<string>;
20
+ sortDirection: import("@angular/core").Signal<string>;
21
+ folders: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode[]>;
22
+ files: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode[]>;
23
+ itemsCount: import("@angular/core").Signal<number>;
24
+ availableSpace: import("@angular/core").Signal<number>;
25
+ currentDrive: import("@angular/core").Signal<import("@acorex/platform/core").AXPPlatformScope | null>;
26
+ fileTypes: import("@angular/core").Signal<import("@acorex/platform/common").AXPFileType[]>;
27
+ detailPanel: import("@angular/core").Signal<boolean>;
28
+ isRoot: import("@angular/core").Signal<boolean>;
29
+ isVirtual: import("@angular/core").Signal<boolean>;
30
+ currentFolder: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode | null>;
31
+ currentFolderContents: import("@angular/core").Signal<{
32
+ folders: import("../../../drive").AXMDocumentExplorerNode[];
33
+ files: import("../../../drive").AXMDocumentExplorerNode[];
34
+ }>;
35
+ isLargeTilesView: import("@angular/core").Signal<boolean>;
36
+ isSmallTilesView: import("@angular/core").Signal<boolean>;
37
+ isListView: import("@angular/core").Signal<boolean>;
38
+ isDetailsView: import("@angular/core").Signal<boolean>;
39
+ isLargeIconsView: import("@angular/core").Signal<boolean>;
40
+ isSmallIconsView: import("@angular/core").Signal<boolean>;
41
+ isBackAvailable: import("@angular/core").Signal<boolean>;
42
+ isUpAvailable: import("@angular/core").Signal<boolean>;
43
+ selectedCount: import("@angular/core").Signal<number>;
44
+ hasSelectedItems: import("@angular/core").Signal<boolean>;
45
+ hasMultipleSelectedItems: import("@angular/core").Signal<boolean>;
46
+ isMultiSelect: import("@angular/core").Signal<boolean>;
47
+ selectedNode: import("@angular/core").Signal<import("../../../drive").AXMDocumentExplorerNode | null>;
48
+ isDetailPanelOpen: import("@angular/core").Signal<boolean>;
49
+ initialize: (options?: {
50
+ scope?: import("@acorex/platform/core").AXPPlatformScope;
51
+ browseMode?: import("../../../drive").AXMDocumentExplorerBrowseMode;
52
+ filter?: any;
53
+ }) => Promise<void>;
54
+ navigateToFolder: (folderId: string) => void;
55
+ loadFolderContents: (folderId: string) => Promise<void>;
56
+ virtualFolder: (files?: import("../../../drive").AXMDocumentExplorerNode[]) => Promise<void>;
57
+ setViewMode: (mode: import("../../../drive").AXPDocumentExplorerViewMode | string) => void;
58
+ isViewMode: (mode: import("../../../drive").AXPDocumentExplorerViewMode | string) => boolean;
59
+ setSortField: (field: string) => void;
60
+ setSortDirection: (direction: string) => void;
61
+ setSelectionMode: (mode: import("../../../drive").AXMDocumentSelectionMode | string) => void;
62
+ setDrive: (scope: import("@acorex/platform/core").AXPPlatformScope) => void;
63
+ isLoadingFolder: (folderId: string) => boolean;
64
+ getFileInfo: (fileName: string) => {
65
+ icon: string;
66
+ type: string;
67
+ };
68
+ getNodeInfo: (node: import("../../../drive").AXMDocumentExplorerNode) => {
69
+ name: string;
70
+ icon: string;
71
+ type: string;
72
+ sections: [{
73
+ title: string;
74
+ details: {
75
+ title: string;
76
+ content?: any;
77
+ icon?: string;
78
+ format?: "datetime" | "filesize" | "number" | "string";
79
+ }[];
80
+ }];
81
+ };
82
+ sortItems: (items: import("../../../drive").AXMDocumentExplorerNode[]) => import("../../../drive").AXMDocumentExplorerNode[];
83
+ refresh: () => Promise<void>;
84
+ navigateToUp: () => void;
85
+ navigateBack: () => Promise<void>;
86
+ openFile: (file: import("../../../drive").AXMDocumentExplorerNode) => Promise<void>;
87
+ deleteNodes: (nodes?: import("../../../drive").AXMDocumentExplorerNode[]) => Promise<void>;
88
+ toggleSelect: (node: import("../../../drive").AXMDocumentExplorerNode) => void;
89
+ isItemSelected: (node: import("../../../drive").AXMDocumentExplorerNode) => boolean;
90
+ selectAll: () => void;
91
+ deselectAll: () => void;
92
+ openDetailPanel: () => void;
93
+ closeDetailPanel: () => void;
94
+ toggleDetailPanel: () => void;
95
+ getFolderAddMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
96
+ getFolderActionMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
97
+ getContextMenuItems: () => Promise<import("@acorex/platform/core").AXPActionMenuItem[]>;
98
+ } & import("@ngrx/signals").StateSource<{
99
+ viewMode: import("../../../drive").AXPDocumentExplorerViewMode;
100
+ isLoading: boolean;
101
+ scope: import("@acorex/platform/core").AXPPlatformScope;
102
+ currentPath: import("../../../drive").AXMDocumentExplorerNode[];
103
+ currentNode: import("../../../drive").AXMDocumentExplorerNode | null;
104
+ loadingFolderId: string | null;
105
+ navigatingFolderId: string | null;
106
+ backHistory: {
107
+ folderId: string;
108
+ path: import("../../../drive").AXMDocumentExplorerNode[];
109
+ }[];
110
+ selectionMode: import("../../../drive").AXMDocumentSelectionMode;
111
+ selectedNodes: import("../../../drive").AXMDocumentExplorerNode[];
112
+ browseMode: import("../../../drive").AXMDocumentExplorerBrowseMode;
113
+ sortField: string;
114
+ sortDirection: string;
115
+ folders: import("../../../drive").AXMDocumentExplorerNode[];
116
+ files: import("../../../drive").AXMDocumentExplorerNode[];
117
+ itemsCount: number;
118
+ availableSpace: number;
119
+ currentDrive: import("@acorex/platform/core").AXPPlatformScope | null;
120
+ fileTypes: import("@acorex/platform/common").AXPFileType[];
121
+ detailPanel: boolean;
122
+ }>;
123
+ protected readonly driveService: AXMDocumentManagerService;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentExplorerAttachmentComponent, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentExplorerAttachmentComponent, "axm-document-explorer-attachment-widget", never, {}, {}, never, never, true, never>;
126
+ }
@@ -16,7 +16,7 @@ export interface AXMDocumentExplorerNode {
16
16
  }
17
17
  export interface AXMNodeType extends AXMDocumentManagementDocumentTypeEntityModel {
18
18
  }
19
- export type AXPDocumentExplorerViewMode = 'large-tiles' | 'small-tiles' | 'list' | 'details' | 'large-icons' | 'small-icons';
19
+ export type AXPDocumentExplorerViewMode = 'large-tiles' | 'small-tiles' | 'list' | 'details' | 'large-icons' | 'attachment' | 'small-icons';
20
20
  export type AXMDocumentExplorerBrowseMode = 'file' | 'folder';
21
21
  export type AXMDocumentSelectionMode = 'single' | 'multiple' | 'none';
22
22
  export type CreateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
@@ -205,6 +205,7 @@ export declare class AXMDocumentAttachmentWidgetEditComponent extends AXPValueWi
205
205
  protected uploadFromComputer(): Promise<void>;
206
206
  protected updateContents(files: AXMDocumentExplorerNode[]): Promise<void>;
207
207
  protected handleActionCallback(action: AXMDocumentAction): Promise<void>;
208
+ private get __class();
208
209
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetEditComponent, never>;
209
210
  static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetEditComponent, "axm-document-attachment-edit-widget", never, {}, {}, never, never, true, never>;
210
211
  }
@@ -180,10 +180,10 @@ class AXMModuleDesignerContextMenuService {
180
180
  getMenuItems(includeItems) {
181
181
  return this.menuItems.filter((i) => includeItems.includes(i.name));
182
182
  }
183
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
184
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerContextMenuService, providedIn: 'root' }); }
183
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMModuleDesignerContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
184
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMModuleDesignerContextMenuService, providedIn: 'root' }); }
185
185
  }
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerContextMenuService, decorators: [{
186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMModuleDesignerContextMenuService, decorators: [{
187
187
  type: Injectable,
188
188
  args: [{
189
189
  providedIn: 'root',
@@ -290,10 +290,10 @@ class AXMModuleDesignerComponent {
290
290
  assignData(target, data) {
291
291
  set(target, 'data', data);
292
292
  }
293
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
294
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMModuleDesignerComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["contextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n", styles: [".ax-collapse-header{padding:.25rem .5rem!important}.ax-collapse-header:hover{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.ax-collapse-header:hover:is(.ax-dark *){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity, 1))}.ax-collapse-body-content{padding:.25rem!important;padding-inline-start:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "component", type: i2.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "closeOthers", "collapsed"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: i2.AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i6.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i8.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i6$1.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i6$1.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i8$1.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMModuleDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
294
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXMModuleDesignerComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["contextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n", styles: [".ax-collapse-header{padding:.25rem .5rem!important}.ax-collapse-header:hover{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.ax-collapse-header:hover:is(.ax-dark *){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity, 1))}.ax-collapse-body-content{padding:.25rem!important;padding-inline-start:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "component", type: i2.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "closeOthers", "collapsed"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: i2.AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i6.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i8.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i6$1.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i6$1.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i8$1.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
295
295
  }
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerComponent, decorators: [{
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMModuleDesignerComponent, decorators: [{
297
297
  type: Component,
298
298
  args: [{ encapsulation: ViewEncapsulation.None, imports: [
299
299
  CommonModule,
@@ -312,4 +312,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
312
312
  }], ctorParameters: () => [] });
313
313
 
314
314
  export { AXMModuleDesignerComponent };
315
- //# sourceMappingURL=acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs.map
315
+ //# sourceMappingURL=acorex-modules-application-management-module-designer.component-cD24pUfN.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs","sources":["../../../../libs/modules/application-management/src/lib/services/context-menu.service.ts","../../../../libs/modules/application-management/src/lib/module-designer/module-designer.component.ts","../../../../libs/modules/application-management/src/lib/module-designer/module-designer.component.html"],"sourcesContent":["import { AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent, AXMenuItem } from '@acorex/components/menu';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { inject, Injectable, signal } from '@angular/core';\nimport { AXMModuleItem } from '../module-designer/module-designer.type';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXMModuleDesignerContextMenuService {\n private workflow = inject(AXPWorkflowService);\n protected copiedRecord = signal<{ type: AXMModuleItem; record: any } | null>(null);\n protected elementData = signal<{ entityType: AXMModuleItem; record: any; moduleId: string } | null>(null);\n\n private menuItems: AXMenuItem[] = [\n {\n name: 'create',\n text: 'Create',\n icon: 'fas fa-plus',\n color: 'primary',\n },\n {\n name: 'delete',\n text: 'Delete',\n icon: 'fas fa-trash',\n color: 'danger',\n },\n {\n name: 'details',\n text: 'Details',\n icon: 'fas fa-eye',\n color: 'default',\n },\n {\n name: 'copy',\n text: 'Copy',\n icon: 'fas fa-copy',\n color: 'default',\n },\n {\n name: 'paste',\n text: 'Paste',\n icon: 'fas fa-paste',\n color: 'default',\n disabled: false,\n },\n ];\n\n open(e: AXContextMenuOpeningEvent) {\n const target = e.targetElement;\n const elementType = target?.getAttribute('data-elementType');\n\n const { data } = target as any;\n\n if (elementType == 'module' || elementType == 'subModule') {\n const moduleId = target?.getAttribute('data-moduleId');\n const entityType = target?.getAttribute('data-entityType') as AXMModuleItem;\n if (elementType == 'module') {\n this.elementData.set({\n entityType,\n moduleId: moduleId as string,\n record: {\n id: moduleId,\n },\n });\n e.items = this.getMenuItems(['details', 'delete']);\n } else {\n this.elementData.set({\n entityType,\n moduleId: moduleId as string,\n record: undefined,\n });\n const items = this.getMenuItems(['create', 'paste']);\n const customMenuItems = items.map((i) =>\n i.name == 'paste' ? { ...i, disabled: entityType == this.copiedRecord()?.type ? false : true } : i\n );\n e.items = customMenuItems;\n }\n } else if (elementType == 'subModuleItem') {\n this.elementData.set(data);\n e.items = this.getMenuItems(['delete', 'copy', 'details']);\n } else {\n e.items = [];\n e.canceled = true;\n }\n }\n\n itemClick(e: AXContextMenuItemsClickEvent) {\n if (this.elementData()) {\n switch (e.item.name) {\n case 'create':\n this.createEntity(this.elementData()?.entityType as AXMModuleItem, this.elementData()?.moduleId);\n break;\n\n case 'details':\n this.showDetails(this.elementData()?.entityType as AXMModuleItem | 'module', this.elementData()?.record.id);\n break;\n\n case 'delete':\n this.deleteEntity(\n this.elementData()?.entityType as AXMModuleItem | 'module',\n this.elementData()?.record.id,\n this.elementData()?.moduleId\n );\n break;\n\n case 'copy':\n this.copyRecord(this.elementData()?.entityType as AXMModuleItem, this.elementData()?.record);\n break;\n\n case 'paste':\n this.pasteRecord(this.elementData()?.moduleId as string);\n break;\n\n default:\n break;\n }\n }\n }\n\n async createEntity(entityType: 'module' | AXMModuleItem, moduleId?: string) {\n await this.workflow.execute('create-module-entity', {\n entity: `application-management.${entityType}`,\n data: {\n moduleId,\n },\n meta: {\n type: entityType,\n moduleId,\n },\n });\n }\n\n async showDetails(entityType: 'module' | AXMModuleItem, id: string) {\n await this.workflow.execute('show-module-entity-details', {\n entity: `application-management.${entityType}`,\n data: {\n id,\n },\n });\n }\n\n private copyRecord(entityType: AXMModuleItem, record: any) {\n const newRecord = { ...record, moduleId: undefined, id: undefined };\n this.copiedRecord.set({ type: entityType, record: newRecord });\n }\n\n private async pasteRecord(moduleId: string) {\n if (this.copiedRecord()) {\n await this.workflow.execute('create-module-entity', {\n entity: `application-management.${this.copiedRecord()?.type}`,\n data: {\n ...this.copiedRecord()?.record,\n moduleId,\n },\n meta: {\n type: this.copiedRecord()?.type,\n moduleId,\n },\n });\n }\n }\n\n private async deleteEntity(entityType: 'module' | AXMModuleItem, id: string[] | string, moduleId?: string) {\n await this.workflow.execute('delete-entity', {\n entity: `application-management.${entityType}`,\n data: {\n id,\n },\n meta: {\n moduleId,\n type: entityType,\n },\n });\n }\n\n private getMenuItems(includeItems: string[]) {\n return this.menuItems.filter((i) => includeItems.includes(i.name as string));\n }\n}\n","import { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCollapseClickEvent, AXCollapseModule } from '@acorex/components/collapse';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDrawerModule } from '@acorex/components/drawer';\nimport {\n AXContextMenuComponent,\n AXContextMenuItemsClickEvent,\n AXContextMenuOpeningEvent,\n AXMenuModule,\n} from '@acorex/components/menu';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\nimport { AXSideMenuModule } from '@acorex/components/side-menu';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPEntityCreateEvent, AXPEntityDeletedEvent } from '@acorex/platform/layout/entity';\nimport { AXPWorkflowService, ofType } from '@acorex/platform/workflow';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n inject,\n OnInit,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { set } from 'lodash-es';\nimport { Subject, takeUntil } from 'rxjs';\nimport { AXMModuleDesignerContextMenuService } from '../services/context-menu.service';\nimport { AXPModuleDesignerService } from './module-designer.service';\nimport { AXMModuleItem } from './module-designer.type';\n\n@Component({\n templateUrl: './module-designer.component.html',\n styleUrls: ['./module-designer.component.scss'],\n encapsulation: ViewEncapsulation.None,\n imports: [\n CommonModule,\n AXDrawerModule,\n AXButtonModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXSideMenuModule,\n AXCollapseModule,\n AXPopoverModule,\n AXSelectionListModule,\n AXBadgeModule,\n AXMenuModule,\n RouterModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMModuleDesignerComponent implements OnInit {\n protected cdr: ChangeDetectorRef = inject(ChangeDetectorRef);\n protected contextMenu = viewChild<AXContextMenuComponent>('contextMenu');\n\n protected dataProvider = inject(AXPModuleDesignerService);\n private workflow = inject(AXPWorkflowService);\n protected contextMenuService = inject(AXMModuleDesignerContextMenuService);\n\n protected modules = signal<any[]>([]);\n\n protected moduleDataCache = new Map<string, any[]>();\n\n private readonly destroyed = new Subject<void>();\n\n constructor() {\n this.subscribeActionEvents();\n }\n\n ngOnInit() {\n this.loadModules();\n }\n\n protected subscribeActionEvents() {\n this.workflow.events$\n .pipe(ofType(AXPEntityDeletedEvent, AXPEntityCreateEvent))\n .pipe(takeUntil(this.destroyed))\n .subscribe((event) => {\n const { meta } = event.payload;\n if (meta.type === 'module') {\n this.loadModules();\n } else {\n this.loadModuleData(meta.moduleId, meta.type, true);\n }\n this.cdr.markForCheck();\n });\n }\n\n protected async loadModules() {\n try {\n const modules = await this.dataProvider.getModules();\n this.modules.set(modules.items);\n this.refreshContextMenu();\n } catch (error) {\n console.error('Error loading modules:', error);\n }\n }\n\n protected async handleCollapseItemClick(moduleId: string, e: AXCollapseClickEvent, dataType: AXMModuleItem) {\n if (e.component.isCollapsed) {\n e.handled = true;\n e.component.isLoading = true;\n\n await this.loadModuleData(moduleId, dataType);\n\n e.component.toggle();\n e.component.isLoading = false;\n e.component['cdr'].markForCheck();\n this.refreshContextMenu();\n }\n }\n\n protected refreshContextMenu() {\n setTimeout(() => {\n this.contextMenu()?.refresh();\n }, 0);\n }\n\n protected async loadModuleData(moduleId: string, dataType: AXMModuleItem, hardReload = false) {\n const cacheKey = `${moduleId}-${dataType}`;\n\n let dataItems = this.moduleDataCache.get(cacheKey);\n // if (!dataItems || hardReload) {\n try {\n const methodMap = {\n entity: this.dataProvider.getEntities,\n permission: this.dataProvider.getPermissions,\n feature: this.dataProvider.getFeatures,\n };\n const data = await methodMap[dataType].call(this.dataProvider, moduleId);\n\n dataItems = data.items as any[];\n this.moduleDataCache.set(cacheKey, dataItems);\n } catch (error) {\n console.error(`Error loading ${dataType}:`, error);\n }\n // }\n }\n\n protected getEntities(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-entity`) || [];\n }\n\n protected getPermissions(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-permission`) || [];\n }\n\n protected getFeatures(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-feature`) || [];\n }\n\n protected openingContextMenu(e: AXContextMenuOpeningEvent) {\n this.contextMenuService.open(e);\n }\n\n protected handleActionClick(e: AXContextMenuItemsClickEvent) {\n this.contextMenuService.itemClick(e);\n }\n\n protected createModule() {\n this.contextMenuService.createEntity('module');\n }\n\n protected destroy() {\n this.destroyed.next();\n this.destroyed.complete();\n }\n\n protected assignData(target: HTMLElement, data: any): void {\n set(target, 'data', data);\n }\n}\n","<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n"],"names":["i3","i4","i6","i8","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQa,mCAAmC,CAAA;AAHhD,IAAA,WAAA,GAAA;AAIU,QAAA,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AAA,CAAA,+XAAA,CAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"acorex-modules-application-management-module-designer.component-cD24pUfN.mjs","sources":["../../../../libs/modules/application-management/src/lib/services/context-menu.service.ts","../../../../libs/modules/application-management/src/lib/module-designer/module-designer.component.ts","../../../../libs/modules/application-management/src/lib/module-designer/module-designer.component.html"],"sourcesContent":["import { AXContextMenuItemsClickEvent, AXContextMenuOpeningEvent, AXMenuItem } from '@acorex/components/menu';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { inject, Injectable, signal } from '@angular/core';\nimport { AXMModuleItem } from '../module-designer/module-designer.type';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXMModuleDesignerContextMenuService {\n private workflow = inject(AXPWorkflowService);\n protected copiedRecord = signal<{ type: AXMModuleItem; record: any } | null>(null);\n protected elementData = signal<{ entityType: AXMModuleItem; record: any; moduleId: string } | null>(null);\n\n private menuItems: AXMenuItem[] = [\n {\n name: 'create',\n text: 'Create',\n icon: 'fas fa-plus',\n color: 'primary',\n },\n {\n name: 'delete',\n text: 'Delete',\n icon: 'fas fa-trash',\n color: 'danger',\n },\n {\n name: 'details',\n text: 'Details',\n icon: 'fas fa-eye',\n color: 'default',\n },\n {\n name: 'copy',\n text: 'Copy',\n icon: 'fas fa-copy',\n color: 'default',\n },\n {\n name: 'paste',\n text: 'Paste',\n icon: 'fas fa-paste',\n color: 'default',\n disabled: false,\n },\n ];\n\n open(e: AXContextMenuOpeningEvent) {\n const target = e.targetElement;\n const elementType = target?.getAttribute('data-elementType');\n\n const { data } = target as any;\n\n if (elementType == 'module' || elementType == 'subModule') {\n const moduleId = target?.getAttribute('data-moduleId');\n const entityType = target?.getAttribute('data-entityType') as AXMModuleItem;\n if (elementType == 'module') {\n this.elementData.set({\n entityType,\n moduleId: moduleId as string,\n record: {\n id: moduleId,\n },\n });\n e.items = this.getMenuItems(['details', 'delete']);\n } else {\n this.elementData.set({\n entityType,\n moduleId: moduleId as string,\n record: undefined,\n });\n const items = this.getMenuItems(['create', 'paste']);\n const customMenuItems = items.map((i) =>\n i.name == 'paste' ? { ...i, disabled: entityType == this.copiedRecord()?.type ? false : true } : i\n );\n e.items = customMenuItems;\n }\n } else if (elementType == 'subModuleItem') {\n this.elementData.set(data);\n e.items = this.getMenuItems(['delete', 'copy', 'details']);\n } else {\n e.items = [];\n e.canceled = true;\n }\n }\n\n itemClick(e: AXContextMenuItemsClickEvent) {\n if (this.elementData()) {\n switch (e.item.name) {\n case 'create':\n this.createEntity(this.elementData()?.entityType as AXMModuleItem, this.elementData()?.moduleId);\n break;\n\n case 'details':\n this.showDetails(this.elementData()?.entityType as AXMModuleItem | 'module', this.elementData()?.record.id);\n break;\n\n case 'delete':\n this.deleteEntity(\n this.elementData()?.entityType as AXMModuleItem | 'module',\n this.elementData()?.record.id,\n this.elementData()?.moduleId\n );\n break;\n\n case 'copy':\n this.copyRecord(this.elementData()?.entityType as AXMModuleItem, this.elementData()?.record);\n break;\n\n case 'paste':\n this.pasteRecord(this.elementData()?.moduleId as string);\n break;\n\n default:\n break;\n }\n }\n }\n\n async createEntity(entityType: 'module' | AXMModuleItem, moduleId?: string) {\n await this.workflow.execute('create-module-entity', {\n entity: `application-management.${entityType}`,\n data: {\n moduleId,\n },\n meta: {\n type: entityType,\n moduleId,\n },\n });\n }\n\n async showDetails(entityType: 'module' | AXMModuleItem, id: string) {\n await this.workflow.execute('show-module-entity-details', {\n entity: `application-management.${entityType}`,\n data: {\n id,\n },\n });\n }\n\n private copyRecord(entityType: AXMModuleItem, record: any) {\n const newRecord = { ...record, moduleId: undefined, id: undefined };\n this.copiedRecord.set({ type: entityType, record: newRecord });\n }\n\n private async pasteRecord(moduleId: string) {\n if (this.copiedRecord()) {\n await this.workflow.execute('create-module-entity', {\n entity: `application-management.${this.copiedRecord()?.type}`,\n data: {\n ...this.copiedRecord()?.record,\n moduleId,\n },\n meta: {\n type: this.copiedRecord()?.type,\n moduleId,\n },\n });\n }\n }\n\n private async deleteEntity(entityType: 'module' | AXMModuleItem, id: string[] | string, moduleId?: string) {\n await this.workflow.execute('delete-entity', {\n entity: `application-management.${entityType}`,\n data: {\n id,\n },\n meta: {\n moduleId,\n type: entityType,\n },\n });\n }\n\n private getMenuItems(includeItems: string[]) {\n return this.menuItems.filter((i) => includeItems.includes(i.name as string));\n }\n}\n","import { AXBadgeModule } from '@acorex/components/badge';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXCollapseClickEvent, AXCollapseModule } from '@acorex/components/collapse';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDrawerModule } from '@acorex/components/drawer';\nimport {\n AXContextMenuComponent,\n AXContextMenuItemsClickEvent,\n AXContextMenuOpeningEvent,\n AXMenuModule,\n} from '@acorex/components/menu';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXSelectionListModule } from '@acorex/components/selection-list';\nimport { AXSideMenuModule } from '@acorex/components/side-menu';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPEntityCreateEvent, AXPEntityDeletedEvent } from '@acorex/platform/layout/entity';\nimport { AXPWorkflowService, ofType } from '@acorex/platform/workflow';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n inject,\n OnInit,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { set } from 'lodash-es';\nimport { Subject, takeUntil } from 'rxjs';\nimport { AXMModuleDesignerContextMenuService } from '../services/context-menu.service';\nimport { AXPModuleDesignerService } from './module-designer.service';\nimport { AXMModuleItem } from './module-designer.type';\n\n@Component({\n templateUrl: './module-designer.component.html',\n styleUrls: ['./module-designer.component.scss'],\n encapsulation: ViewEncapsulation.None,\n imports: [\n CommonModule,\n AXDrawerModule,\n AXButtonModule,\n AXDecoratorModule,\n AXTranslationModule,\n AXSideMenuModule,\n AXCollapseModule,\n AXPopoverModule,\n AXSelectionListModule,\n AXBadgeModule,\n AXMenuModule,\n RouterModule,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXMModuleDesignerComponent implements OnInit {\n protected cdr: ChangeDetectorRef = inject(ChangeDetectorRef);\n protected contextMenu = viewChild<AXContextMenuComponent>('contextMenu');\n\n protected dataProvider = inject(AXPModuleDesignerService);\n private workflow = inject(AXPWorkflowService);\n protected contextMenuService = inject(AXMModuleDesignerContextMenuService);\n\n protected modules = signal<any[]>([]);\n\n protected moduleDataCache = new Map<string, any[]>();\n\n private readonly destroyed = new Subject<void>();\n\n constructor() {\n this.subscribeActionEvents();\n }\n\n ngOnInit() {\n this.loadModules();\n }\n\n protected subscribeActionEvents() {\n this.workflow.events$\n .pipe(ofType(AXPEntityDeletedEvent, AXPEntityCreateEvent))\n .pipe(takeUntil(this.destroyed))\n .subscribe((event) => {\n const { meta } = event.payload;\n if (meta.type === 'module') {\n this.loadModules();\n } else {\n this.loadModuleData(meta.moduleId, meta.type, true);\n }\n this.cdr.markForCheck();\n });\n }\n\n protected async loadModules() {\n try {\n const modules = await this.dataProvider.getModules();\n this.modules.set(modules.items);\n this.refreshContextMenu();\n } catch (error) {\n console.error('Error loading modules:', error);\n }\n }\n\n protected async handleCollapseItemClick(moduleId: string, e: AXCollapseClickEvent, dataType: AXMModuleItem) {\n if (e.component.isCollapsed) {\n e.handled = true;\n e.component.isLoading = true;\n\n await this.loadModuleData(moduleId, dataType);\n\n e.component.toggle();\n e.component.isLoading = false;\n e.component['cdr'].markForCheck();\n this.refreshContextMenu();\n }\n }\n\n protected refreshContextMenu() {\n setTimeout(() => {\n this.contextMenu()?.refresh();\n }, 0);\n }\n\n protected async loadModuleData(moduleId: string, dataType: AXMModuleItem, hardReload = false) {\n const cacheKey = `${moduleId}-${dataType}`;\n\n let dataItems = this.moduleDataCache.get(cacheKey);\n // if (!dataItems || hardReload) {\n try {\n const methodMap = {\n entity: this.dataProvider.getEntities,\n permission: this.dataProvider.getPermissions,\n feature: this.dataProvider.getFeatures,\n };\n const data = await methodMap[dataType].call(this.dataProvider, moduleId);\n\n dataItems = data.items as any[];\n this.moduleDataCache.set(cacheKey, dataItems);\n } catch (error) {\n console.error(`Error loading ${dataType}:`, error);\n }\n // }\n }\n\n protected getEntities(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-entity`) || [];\n }\n\n protected getPermissions(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-permission`) || [];\n }\n\n protected getFeatures(moduleId: string) {\n return this.moduleDataCache.get(`${moduleId}-feature`) || [];\n }\n\n protected openingContextMenu(e: AXContextMenuOpeningEvent) {\n this.contextMenuService.open(e);\n }\n\n protected handleActionClick(e: AXContextMenuItemsClickEvent) {\n this.contextMenuService.itemClick(e);\n }\n\n protected createModule() {\n this.contextMenuService.createEntity('module');\n }\n\n protected destroy() {\n this.destroyed.next();\n this.destroyed.complete();\n }\n\n protected assignData(target: HTMLElement, data: any): void {\n set(target, 'data', data);\n }\n}\n","<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n"],"names":["i3","i4","i6","i8","i9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQa,mCAAmC,CAAA;AAHhD,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACnC,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAA8C,IAAI,CAAC;AACxE,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAsE,IAAI,CAAC;AAEjG,QAAA,IAAA,CAAA,SAAS,GAAiB;AAChC,YAAA;AACE,gBAAA,IAAI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