@acorex/modules 19.3.3-next.1 → 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 (222) 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/document-management/lib/features/document-explorer/views/attachement-widget/attachment-widget.component.d.ts +126 -0
  11. package/document-management/lib/features/shared/document-manager.types.d.ts +1 -3
  12. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +1 -0
  13. package/fesm2022/{acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs → acorex-modules-application-management-module-designer.component-cD24pUfN.mjs} +7 -7
  14. package/fesm2022/{acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs.map → acorex-modules-application-management-module-designer.component-cD24pUfN.mjs.map} +1 -1
  15. package/fesm2022/acorex-modules-application-management.mjs +41 -41
  16. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  17. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs → acorex-modules-auth-acorex-modules-auth-DCWtLiHM.mjs} +43 -43
  18. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs.map → acorex-modules-auth-acorex-modules-auth-DCWtLiHM.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs → acorex-modules-auth-app-chooser.component-VMhnsjYn.mjs} +5 -5
  20. package/fesm2022/{acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs.map → acorex-modules-auth-app-chooser.component-VMhnsjYn.mjs.map} +1 -1
  21. package/fesm2022/acorex-modules-auth-blank.layout-DIttom0K.mjs +18 -0
  22. package/fesm2022/{acorex-modules-auth-blank.layout-B1a0710P.mjs.map → acorex-modules-auth-blank.layout-DIttom0K.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-auth-login.module-D-XgzifC.mjs → acorex-modules-auth-login.module-DxLjSR75.mjs} +8 -8
  24. package/fesm2022/{acorex-modules-auth-login.module-D-XgzifC.mjs.map → acorex-modules-auth-login.module-DxLjSR75.mjs.map} +1 -1
  25. package/fesm2022/{acorex-modules-auth-master.layout-ZaCb3CED.mjs → acorex-modules-auth-master.layout-Dpb-D34R.mjs} +5 -5
  26. package/fesm2022/{acorex-modules-auth-master.layout-ZaCb3CED.mjs.map → acorex-modules-auth-master.layout-Dpb-D34R.mjs.map} +1 -1
  27. package/fesm2022/acorex-modules-auth-password.component-Bcwod5kV.mjs +59 -0
  28. package/fesm2022/{acorex-modules-auth-password.component-CLTZoufP.mjs.map → acorex-modules-auth-password.component-Bcwod5kV.mjs.map} +1 -1
  29. package/fesm2022/{acorex-modules-auth-password.component-C-xRIhrM.mjs → acorex-modules-auth-password.component-CEAzmwdd.mjs} +5 -5
  30. package/fesm2022/{acorex-modules-auth-password.component-C-xRIhrM.mjs.map → acorex-modules-auth-password.component-CEAzmwdd.mjs.map} +1 -1
  31. package/fesm2022/{acorex-modules-auth-routes-4T5jq7su.mjs → acorex-modules-auth-routes-DHX4wD9P.mjs} +2 -2
  32. package/fesm2022/{acorex-modules-auth-routes-4T5jq7su.mjs.map → acorex-modules-auth-routes-DHX4wD9P.mjs.map} +1 -1
  33. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs → acorex-modules-auth-tenant-chooser.component-S07bx8PP.mjs} +4 -4
  34. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs.map → acorex-modules-auth-tenant-chooser.component-S07bx8PP.mjs.map} +1 -1
  35. package/fesm2022/acorex-modules-auth-two-factor-code.component-CK9J4jMb.mjs +40 -0
  36. package/fesm2022/{acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs.map → acorex-modules-auth-two-factor-code.component-CK9J4jMb.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-auth-two-factor.module-D72KIpvA.mjs → acorex-modules-auth-two-factor.module-CZyzLTm3.mjs} +7 -7
  38. package/fesm2022/{acorex-modules-auth-two-factor.module-D72KIpvA.mjs.map → acorex-modules-auth-two-factor.module-CZyzLTm3.mjs.map} +1 -1
  39. package/fesm2022/{acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs → acorex-modules-auth-user-sessions.component-SuhoNCuQ.mjs} +5 -5
  40. package/fesm2022/{acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs.map → acorex-modules-auth-user-sessions.component-SuhoNCuQ.mjs.map} +1 -1
  41. package/fesm2022/acorex-modules-auth.mjs +1 -1
  42. package/fesm2022/{acorex-modules-common-search-popup.component-C3XUb6pF.mjs → acorex-modules-common-search-popup.component-DQYBNkIc.mjs} +4 -4
  43. package/fesm2022/{acorex-modules-common-search-popup.component-C3XUb6pF.mjs.map → acorex-modules-common-search-popup.component-DQYBNkIc.mjs.map} +1 -1
  44. package/fesm2022/acorex-modules-common.mjs +19 -19
  45. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  46. package/fesm2022/acorex-modules-conversation.mjs +45 -45
  47. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  48. package/fesm2022/acorex-modules-dashboard-management.mjs +4994 -1
  49. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  50. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-hMEt0yZI.mjs → acorex-modules-document-management-acorex-modules-document-management-kZDDtr98.mjs} +151 -141
  51. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-kZDDtr98.mjs.map +1 -0
  52. package/fesm2022/acorex-modules-document-management-attachment-widget.component-DlwLjrkw.mjs +32 -0
  53. package/fesm2022/acorex-modules-document-management-attachment-widget.component-DlwLjrkw.mjs.map +1 -0
  54. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-D_FfCqY8.mjs → acorex-modules-document-management-create-folder-dialog.component-CPXnUlUx.mjs} +6 -6
  55. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-D_FfCqY8.mjs.map → acorex-modules-document-management-create-folder-dialog.component-CPXnUlUx.mjs.map} +1 -1
  56. package/fesm2022/{acorex-modules-document-management-details-view.component-Oxtnvogq.mjs → acorex-modules-document-management-details-view.component-9LB0w9DQ.mjs} +5 -5
  57. package/fesm2022/{acorex-modules-document-management-details-view.component-Oxtnvogq.mjs.map → acorex-modules-document-management-details-view.component-9LB0w9DQ.mjs.map} +1 -1
  58. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BqZyAAAw.mjs → acorex-modules-document-management-drive-choose.component-CPIB0bcn.mjs} +5 -5
  59. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BqZyAAAw.mjs.map → acorex-modules-document-management-drive-choose.component-CPIB0bcn.mjs.map} +1 -1
  60. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-9APgNKIu.mjs → acorex-modules-document-management-large-icons-view.component-D--yZaJt.mjs} +5 -5
  61. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-9APgNKIu.mjs.map → acorex-modules-document-management-large-icons-view.component-D--yZaJt.mjs.map} +1 -1
  62. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Byt-Hl3M.mjs → acorex-modules-document-management-large-tiles-view.component-CNeKXArZ.mjs} +5 -5
  63. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Byt-Hl3M.mjs.map → acorex-modules-document-management-large-tiles-view.component-CNeKXArZ.mjs.map} +1 -1
  64. package/fesm2022/{acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs → acorex-modules-document-management-link-dialog.component-DKbO2nX8.mjs} +4 -4
  65. package/fesm2022/{acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs.map → acorex-modules-document-management-link-dialog.component-DKbO2nX8.mjs.map} +1 -1
  66. package/fesm2022/{acorex-modules-document-management-list-view.component-BeuXrgYL.mjs → acorex-modules-document-management-list-view.component-q2bCwMab.mjs} +5 -5
  67. package/fesm2022/{acorex-modules-document-management-list-view.component-BeuXrgYL.mjs.map → acorex-modules-document-management-list-view.component-q2bCwMab.mjs.map} +1 -1
  68. package/fesm2022/acorex-modules-document-management-lock-dialog.component-By36woOc.mjs +52 -0
  69. package/fesm2022/{acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs.map → acorex-modules-document-management-lock-dialog.component-By36woOc.mjs.map} +1 -1
  70. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-9KjrOZc6.mjs → acorex-modules-document-management-permission-definition.provider-Cqkd87Cb.mjs} +2 -2
  71. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-9KjrOZc6.mjs.map → acorex-modules-document-management-permission-definition.provider-Cqkd87Cb.mjs.map} +1 -1
  72. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BHayM-mO.mjs → acorex-modules-document-management-rename-node-dialog.component-WZYHoTrK.mjs} +6 -6
  73. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BHayM-mO.mjs.map → acorex-modules-document-management-rename-node-dialog.component-WZYHoTrK.mjs.map} +1 -1
  74. package/fesm2022/{acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs → acorex-modules-document-management-share-dialog.component-Diof2rpe.mjs} +4 -4
  75. package/fesm2022/{acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs.map → acorex-modules-document-management-share-dialog.component-Diof2rpe.mjs.map} +1 -1
  76. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-Bj6G6aqt.mjs +55 -0
  77. 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
  78. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CNVZaLv2.mjs → acorex-modules-document-management-small-icons-view.component-iCcvLfHC.mjs} +5 -5
  79. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CNVZaLv2.mjs.map → acorex-modules-document-management-small-icons-view.component-iCcvLfHC.mjs.map} +1 -1
  80. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BDv_sH9f.mjs → acorex-modules-document-management-small-tiles-view.component-BlxmyYrn.mjs} +5 -5
  81. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-BDv_sH9f.mjs.map → acorex-modules-document-management-small-tiles-view.component-BlxmyYrn.mjs.map} +1 -1
  82. package/fesm2022/acorex-modules-document-management-unlock-dialog.component-CNjFnm2w.mjs +37 -0
  83. package/fesm2022/{acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs.map → acorex-modules-document-management-unlock-dialog.component-CNjFnm2w.mjs.map} +1 -1
  84. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  85. 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
  86. 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
  87. package/fesm2022/{acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs → acorex-modules-form-template-management-category.entity-DgpkNWIh.mjs} +2 -2
  88. package/fesm2022/{acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs.map → acorex-modules-form-template-management-category.entity-DgpkNWIh.mjs.map} +1 -1
  89. package/fesm2022/{acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs → acorex-modules-form-template-management-designer.page-BmSMzkbb.mjs} +4 -4
  90. 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
  91. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs → acorex-modules-form-template-management-permission-definition.provider-DwpvJvia.mjs} +2 -2
  92. 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
  93. package/fesm2022/{acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs → acorex-modules-form-template-management-settings.provider-BDlPJPWl.mjs} +2 -2
  94. package/fesm2022/{acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs.map → acorex-modules-form-template-management-settings.provider-BDlPJPWl.mjs.map} +1 -1
  95. 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
  96. 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
  97. 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
  98. 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
  99. package/fesm2022/{acorex-modules-form-template-management-template.entity-CCaHPkWq.mjs → acorex-modules-form-template-management-template.entity-DbDR1qAp.mjs} +2 -2
  100. package/fesm2022/{acorex-modules-form-template-management-template.entity-CCaHPkWq.mjs.map → acorex-modules-form-template-management-template.entity-DbDR1qAp.mjs.map} +1 -1
  101. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CUOsh6e5.mjs → acorex-modules-form-template-management-viewer-popup.component-B4EoS2iO.mjs} +5 -5
  102. 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
  103. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  104. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DcmAnBue.mjs → acorex-modules-issue-management-acorex-modules-issue-management-7RWgBq87.mjs} +62 -65
  105. 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
  106. package/fesm2022/acorex-modules-issue-management-capture-screen.component-BzvY3UMh.mjs +28 -0
  107. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-BMpafdHr.mjs.map → acorex-modules-issue-management-capture-screen.component-BzvY3UMh.mjs.map} +1 -1
  108. package/fesm2022/acorex-modules-issue-management.mjs +1 -1
  109. package/fesm2022/acorex-modules-log-management.mjs +10 -10
  110. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  111. package/fesm2022/acorex-modules-notification-management.mjs +35 -35
  112. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  113. package/fesm2022/{acorex-modules-organization-management-add-item.component-DE0Ek0dk.mjs → acorex-modules-organization-management-add-item.component-sP_aikRE.mjs} +5 -5
  114. 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
  115. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-RuvkSheN.mjs → acorex-modules-organization-management-org-chart-configuration.page-CaNP3qwK.mjs} +5 -5
  116. 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
  117. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-2EZNvjAH.mjs → acorex-modules-organization-management-org-chart-configuration.service-CtA19B8x.mjs} +4 -4
  118. 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
  119. package/fesm2022/{acorex-modules-organization-management-org-chart.page-C2qYJxpY.mjs → acorex-modules-organization-management-org-chart.page-B-TZkfTX.mjs} +12 -12
  120. 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
  121. package/fesm2022/acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs +320 -0
  122. package/fesm2022/acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs.map +1 -0
  123. package/fesm2022/acorex-modules-organization-management-position.entity-CY4TugWR.mjs +412 -0
  124. package/fesm2022/acorex-modules-organization-management-position.entity-CY4TugWR.mjs.map +1 -0
  125. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs +332 -0
  126. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs.map +1 -0
  127. package/fesm2022/{acorex-modules-organization-management-position.entity-DhPT9kzv.mjs → acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs} +63 -27
  128. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs.map +1 -0
  129. package/fesm2022/{acorex-modules-organization-management-role.entity-C-AIIaDo.mjs → acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs} +58 -8
  130. package/fesm2022/acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs.map +1 -0
  131. package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs +324 -0
  132. package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs.map +1 -0
  133. package/fesm2022/acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs +320 -0
  134. package/fesm2022/acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs.map +1 -0
  135. package/fesm2022/acorex-modules-organization-management-skill.entity-D9XojzUV.mjs +287 -0
  136. package/fesm2022/acorex-modules-organization-management-skill.entity-D9XojzUV.mjs.map +1 -0
  137. package/fesm2022/acorex-modules-organization-management.mjs +451 -106
  138. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  139. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs → acorex-modules-platform-management-acorex-modules-platform-management-D8qCuwrP.mjs} +247 -269
  140. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-D8qCuwrP.mjs.map +1 -0
  141. package/fesm2022/{acorex-modules-platform-management-list-version.component-a_szjudb.mjs → acorex-modules-platform-management-list-version.component-C4efcHZE.mjs} +8 -8
  142. package/fesm2022/acorex-modules-platform-management-list-version.component-C4efcHZE.mjs.map +1 -0
  143. package/fesm2022/{acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs → acorex-modules-platform-management-settings.provider-DOR4HWty.mjs} +2 -2
  144. package/fesm2022/{acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs.map → acorex-modules-platform-management-settings.provider-DOR4HWty.mjs.map} +1 -1
  145. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  146. package/fesm2022/acorex-modules-project-management.mjs +43 -43
  147. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  148. package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
  149. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  150. package/fesm2022/acorex-modules-security-management.mjs +35 -35
  151. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  152. package/fesm2022/{acorex-modules-settings-management-setting-page.component-XDFtTqft.mjs → acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs} +4 -4
  153. package/fesm2022/{acorex-modules-settings-management-setting-page.component-XDFtTqft.mjs.map → acorex-modules-settings-management-setting-page.component-X33xeQrg.mjs.map} +1 -1
  154. package/fesm2022/{acorex-modules-settings-management-setting-view.component-B_6RIU9e.mjs → acorex-modules-settings-management-setting-view.component-DryghOjs.mjs} +4 -4
  155. 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
  156. package/fesm2022/acorex-modules-settings-management.mjs +6 -6
  157. package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
  158. package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
  159. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  160. package/fesm2022/acorex-modules-training-management.mjs +43 -43
  161. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  162. package/organization-management/lib/const.d.ts +38 -2
  163. package/organization-management/lib/entities/index.d.ts +6 -0
  164. package/organization-management/lib/entities/position/position.types.d.ts +5 -0
  165. package/organization-management/lib/entities/position-category/index.d.ts +3 -0
  166. package/organization-management/lib/entities/position-category/position-category.entity.d.ts +3 -0
  167. package/organization-management/lib/entities/position-category/position-category.module.d.ts +6 -0
  168. package/organization-management/lib/entities/position-category/position-category.service.d.ts +10 -0
  169. package/organization-management/lib/entities/position-category/position-category.types.d.ts +7 -0
  170. package/organization-management/lib/entities/responsibility/index.d.ts +3 -0
  171. package/organization-management/lib/entities/responsibility/responsibility.entity.d.ts +3 -0
  172. package/organization-management/lib/entities/responsibility/responsibility.module.d.ts +7 -0
  173. package/organization-management/lib/entities/responsibility/responsibility.service.d.ts +10 -0
  174. package/organization-management/lib/entities/responsibility/responsibility.types.d.ts +6 -0
  175. package/organization-management/lib/entities/responsibility-category/index.d.ts +3 -0
  176. package/organization-management/lib/entities/responsibility-category/responsibility-category.entity.d.ts +3 -0
  177. package/organization-management/lib/entities/responsibility-category/responsibility-category.module.d.ts +7 -0
  178. package/organization-management/lib/entities/responsibility-category/responsibility-category.service.d.ts +10 -0
  179. package/organization-management/lib/entities/responsibility-category/responsibility-category.types.d.ts +7 -0
  180. package/organization-management/lib/entities/role/role.types.d.ts +3 -0
  181. package/organization-management/lib/entities/role-category/index.d.ts +3 -0
  182. package/organization-management/lib/entities/role-category/role-category.entity.d.ts +3 -0
  183. package/organization-management/lib/entities/role-category/role-category.module.d.ts +6 -0
  184. package/organization-management/lib/entities/role-category/role-category.service.d.ts +10 -0
  185. package/organization-management/lib/entities/role-category/role-category.types.d.ts +7 -0
  186. package/organization-management/lib/entities/skill/index.d.ts +3 -0
  187. package/organization-management/lib/entities/skill/skill.entity.d.ts +3 -0
  188. package/organization-management/lib/entities/skill/skill.module.d.ts +6 -0
  189. package/organization-management/lib/entities/skill/skill.service.d.ts +10 -0
  190. package/organization-management/lib/entities/skill/skill.types.d.ts +6 -0
  191. package/organization-management/lib/entities/skill-category/index.d.ts +3 -0
  192. package/organization-management/lib/entities/skill-category/skill-category.entity.d.ts +3 -0
  193. package/organization-management/lib/entities/skill-category/skill-category.module.d.ts +6 -0
  194. package/organization-management/lib/entities/skill-category/skill-category.service.d.ts +10 -0
  195. package/organization-management/lib/entities/skill-category/skill-category.types.d.ts +7 -0
  196. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +38 -2
  197. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +38 -2
  198. package/organization-management/lib/organization-management.module.d.ts +17 -11
  199. package/package.json +1 -1
  200. package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +1 -4
  201. package/platform-management/lib/features/app-terms/components/notify-app/notify-app.component.d.ts +1 -2
  202. package/platform-management/lib/features/app-terms/pages/list/list-terms.component.d.ts +0 -1
  203. package/platform-management/lib/features/app-version/check-version.service.d.ts +1 -3
  204. package/platform-management/lib/features/app-version/components/list-versions/list-version.component.d.ts +2 -1
  205. package/platform-management/lib/features/app-version/components/notify-app/notify-app.component.d.ts +2 -3
  206. package/platform-management/lib/features/app-version/workflows/change-log.workflow.d.ts +8 -0
  207. package/fesm2022/acorex-modules-auth-blank.layout-B1a0710P.mjs +0 -18
  208. package/fesm2022/acorex-modules-auth-password.component-CLTZoufP.mjs +0 -59
  209. package/fesm2022/acorex-modules-auth-two-factor-code.component-PqOn37Gg.mjs +0 -40
  210. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs +0 -3780
  211. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs.map +0 -1
  212. package/fesm2022/acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs +0 -861
  213. package/fesm2022/acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs.map +0 -1
  214. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-hMEt0yZI.mjs.map +0 -1
  215. package/fesm2022/acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs +0 -52
  216. package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs +0 -55
  217. package/fesm2022/acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs +0 -37
  218. package/fesm2022/acorex-modules-issue-management-capture-screen.component-BMpafdHr.mjs +0 -28
  219. package/fesm2022/acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map +0 -1
  220. package/fesm2022/acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map +0 -1
  221. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs.map +0 -1
  222. package/fesm2022/acorex-modules-platform-management-list-version.component-a_szjudb.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/const.ts","../../../../libs/modules/form-template-management/src/lib/entities/category/category.service.ts","../../../../libs/modules/form-template-management/src/lib/entities/category/category.module.ts","../../../../libs/modules/form-template-management/src/lib/entities/template/template.service.ts","../../../../libs/modules/form-template-management/src/lib/entities/template/template.module.ts","../../../../libs/modules/form-template-management/src/lib/entities/template/template.types.ts","../../../../libs/modules/form-template-management/src/lib/entity.provider.ts","../../../../libs/modules/form-template-management/src/lib/permission.keys.ts","../../../../libs/modules/form-template-management/src/lib/menu.provider.ts","../../../../libs/modules/form-template-management/src/lib/search-command.provider.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/template.provider.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/designer-connector.service.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/workflows/create-template.workflow.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/workflows/design-template.workflow.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template-picker/template.provider.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template/template-widget-view.component.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template/template-widget-designer.component.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template/template-widget.config.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template-designer/template-designer-widget.config.ts","../../../../libs/modules/form-template-management/src/lib/features/viewer/workflows/open-template.workflow.ts","../../../../libs/modules/form-template-management/src/lib/features/viewer/viewer-connector.service.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/workflows/workflow.actions.ts","../../../../libs/modules/form-template-management/src/lib/form-template-management.module.ts","../../../../libs/modules/form-template-management/src/acorex-modules-form-template-management.ts"],"sourcesContent":["const config = {\n i18n: 'form-template-management',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'form-template-management',\n name: 'FormTemplateManagement',\n title: `t('module-name', {scope:\"${config.i18n}\"})`,\n icon: 'fa-light fa-file-invoice'\n },\n entities: {\n category: {\n name: 'TemplateCategory',\n title: 't(\"category\", { scope: \"common\" })',\n icon: 'fa-light fa-list'\n },\n template: {\n name: 'Template',\n title: `t(\"template\",{scope:\"${config.i18n}\"})`,\n icon: 'fa-light fa-file-code'\n }\n },\n};\n","import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';\nimport { Injectable } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMFormTemplateCategoryEntityModel } from './category.types';\n\nexport abstract class AXMFormTemplateManagementCategoryEntityService extends AXMEntityCrudServiceImpl<\n string,\n AXMFormTemplateCategoryEntityModel\n> { }\n\n@Injectable()\nexport class AXMFormTemplateManagementCategoryEntityServiceImpl extends AXMFormTemplateManagementCategoryEntityService {\n constructor() {\n super(`${RootConfig.module.name}.${RootConfig.entities.category.name}`);\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { AXMFormTemplateManagementCategoryEntityService, AXMFormTemplateManagementCategoryEntityServiceImpl } from './category.service';\n\n@NgModule({\nimports: [],\nexports: [],\ndeclarations: [],\n providers: [\n {\n provide: AXMFormTemplateManagementCategoryEntityService,\n useClass: AXMFormTemplateManagementCategoryEntityServiceImpl,\n },\n ],\n})\nexport class AXMFormTemplateManagementCategoryEntityModule {\n}\n ","import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';\nimport { Injectable } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMCreateFormTemplateDto, AXMFormTemplateDetailDto, AXMFormTemplateListItemDto, AXMUpdateFormTemplateDto } from './template.types';\n\nexport abstract class AXMFormTemplateManagementTemplateEntityService extends AXMEntityCrudServiceImpl<\n string,\n AXMFormTemplateDetailDto,\n AXMFormTemplateListItemDto,\n AXMCreateFormTemplateDto,\n AXMUpdateFormTemplateDto\n> { }\n\n@Injectable()\nexport class AXMFormTemplateManagementTemplateEntityServiceImpl extends AXMFormTemplateManagementTemplateEntityService {\n constructor() {\n super(`${RootConfig.module.name}.${RootConfig.entities.template.name}`);\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { AXMFormTemplateManagementTemplateEntityService, AXMFormTemplateManagementTemplateEntityServiceImpl } from './template.service';\n\n@NgModule({\nimports: [],\nexports: [],\ndeclarations: [],\n providers: [\n {\n provide: AXMFormTemplateManagementTemplateEntityService,\n useClass: AXMFormTemplateManagementTemplateEntityServiceImpl,\n },\n ],\n})\nexport class AXMFormTemplateManagementTemplateEntityModule {\n}\n ","import { AXPEntityCreateDto, AXPEntityDetailDto, AXPEntityListItemDto, AXPEntityUpdateDto } from '@acorex/platform/layout/entity';\n\n\nexport interface AXMCreateFormTemplateDto extends AXPEntityCreateDto {\n templateId: string;\n title: string;\n description?: string;\n typeId: number;\n categoryIds: string[];\n}\n\nexport interface AXMUpdateFormTemplateDto extends AXPEntityUpdateDto<string> {\n title: string;\n description?: string;\n typeId: number;\n template?: string;\n categoryIds: string[];\n}\n\nexport interface AXMFormTemplateDetailDto extends AXPEntityDetailDto<string> {\n title: string;\n description?: string;\n typeId: number;\n type: number;\n template: string | null;\n categoryIds: string[];\n categories: { id: string, title: string }[];\n}\n\nexport interface AXMFormTemplateListItemDto extends AXPEntityListItemDto<string> {\n title: string;\n description?: string;\n typeId: number;\n type: number;\n categoryIds: string[];\n categories: { id: string, title: string }[];\n}\n\n\nexport const AXMFormTemplateTypes = {\n Form: { id: 10, title: 'Form Template' },\n Widget: { id: 20, title: 'Widget Template' },\n Report: { id: 30, title: 'Report Template' },\n};\n","import { AXPEntity } from '@acorex/platform/common';\nimport {\n AXPEntityDefinitionLoader,\n AXPEntityDefinitionPreloader,\n AXPEntityPreloadEntity,\n} from '@acorex/platform/layout/entity';\nimport { Injectable, Injector, inject } from '@angular/core';\nimport { RootConfig } from './const';\n\n@Injectable()\nexport class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {\n public preload(): AXPEntityPreloadEntity[] {\n const module = RootConfig.module.name;\n return Array.from(Object.values(RootConfig.entities)).map((entity: any) => ({\n module: module,\n entity: entity.name,\n }));\n }\n\n private injector = inject(Injector);\n\n async get(moduleName: string, entityName: string): Promise<AXPEntity | null> {\n if (moduleName == RootConfig.module.name) {\n switch (entityName) {\n case RootConfig.entities.category.name:\n return (await import('./entities/category/category.entity')).factory(this.injector);\n case RootConfig.entities.template.name:\n return (await import('./entities/template/template.entity')).factory(this.injector);\n }\n }\n return null;\n }\n}\n","export const AXMPermissionsKeys = {\n FormTemplate: {\n Management: 'form-template:manage',\n Templates: {\n Management: 'form-template:templates:manage',\n View: 'form-template:templates:view',\n Edit: 'form-template:templates:edit',\n Delete: 'form-template:templates:delete',\n Create: 'form-template:templates:create',\n },\n Categories: {\n Management: 'form-template:categories:manage',\n View: 'form-template:categories:view',\n Edit: 'form-template:categories:edit',\n Delete: 'form-template:categories:delete',\n Create: 'form-template:categories:create',\n },\n },\n};\n","import { AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { inject } from '@angular/core';\nimport { RootConfig } from './const';\nimport { firstValueFrom } from 'rxjs';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXMPermissionsKeys } from './permission.keys';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n private sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);\n if (!isAuthorized) {\n return;\n }\n //\n\n const scope = RootConfig.config.i18n;\n const module = RootConfig.module;\n\n context.addItems([\n {\n priority: 9001,\n text: `t('root-menu', {scope:\"${scope}\"})`,\n icon: module.icon,\n data: {\n requiredPermission: [AXMPermissionsKeys.FormTemplate.Management]\n },\n children: [\n {\n text: `t(\"categories\", {scope: \"${scope}\"})`,\n path: this.entityService.createPath(module.name, RootConfig.entities.category.name),\n icon: RootConfig.entities.category.icon,\n priority: 1,\n data: {\n requiredPermission: [AXMPermissionsKeys.FormTemplate.Categories.Management]\n },\n },\n {\n text: `t('templates', {scope:\"${scope}\"})`,\n path: this.entityService.createPath(module.name, RootConfig.entities.template.name),\n icon: RootConfig.entities.template.icon,\n priority: 2,\n data: {\n requiredPermission: [AXMPermissionsKeys.FormTemplate.Templates.Management]\n },\n },\n ],\n },\n ]);\n }\n}\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex/platform/common';\nimport { RootConfig } from './const';\n\nexport class AXMSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n group: 'command',\n title: 'New Form Template',\n icon: RootConfig.entities.template.icon,\n description: 'Create a new form template for designing reusable forms.', // Added description\n command: {\n // 'create-entity': {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n // },\n name: 'create-entity',\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`\n }\n },\n },\n {\n group: 'command',\n title: 'New Form Template Category',\n icon: RootConfig.entities.category.icon,\n description: 'Create a new category to organize form templates.', // Added description\n command: {\n // 'create-entity': {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.category.name}`,\n // },\n name: 'create-entity',\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`\n }\n },\n },\n ];\n}\n","import { AXPWidgetNode } from '@acorex/platform/layout/builder';\nimport { AXPQueryRequest } from '@acorex/platform/core';\nimport { inject } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AXMFormTemplateManagementTemplateEntityService } from '../../entities/template';\nimport { AXPTemplateWidgetItem, AXPTemplateWidgetListItem, AXPTemplateWidgetProvider } from './widgets/template';\n\nexport class AXPTemplateWidgetProviderImpl implements AXPTemplateWidgetProvider {\n private service = inject(AXMFormTemplateManagementTemplateEntityService);\n\n async items(query?: AXPQueryRequest): Promise<AXPTemplateWidgetListItem[]> {\n const result = (await this.service.query(query)).items.map(\n (c) =>\n ({\n id: c.id,\n title: c.title,\n group: {\n name: c.categoryIds[0],\n order: 2,\n title: get(c, 'category.title') ?? 'Custom',\n },\n description: c.description,\n } as AXPTemplateWidgetListItem)\n );\n return result;\n }\n\n async get(id: string): Promise<AXPTemplateWidgetItem | null> {\n const item = await this.service.getOne(id);\n if (item) {\n const document = JSON.parse(item.template!) as AXPWidgetNode;\n const page = document?.children?.[0];\n\n return {\n id: item.id as string,\n nodes: page?.children ?? [],\n title: item.title,\n };\n } else {\n throw Error('Invalid Id');\n }\n }\n}\n","import { AXPDesignerConnector, AXPDesignerContent } from '@acorex/platform/layout/designer';\nimport { inject, Injectable } from '@angular/core';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { AXPDataGenerator } from '@acorex/platform/core';\nimport { RootConfig } from '../../const';\nimport { AXMFormTemplateManagementCategoryEntityService } from '../../entities/category';\nimport { AXMFormTemplateManagementTemplateEntityService, AXMFormTemplateTypes } from '../../entities/template';\n@Injectable()\nexport class AXPDesignerConnectorImpl extends AXPDesignerConnector {\n\n\n private workflow = inject(AXPWorkflowService);\n private templateEntityService = inject(AXMFormTemplateManagementTemplateEntityService)\n private categoryEntityService = inject(AXMFormTemplateManagementCategoryEntityService)\n\n //#region Save and load Widgets\n\n public override async save(id: string, content: AXPDesignerContent): Promise<boolean> {\n const item = await this.templateEntityService.getOne(id)\n if (item) {\n await this.templateEntityService.updateOne(id, { template: content.json })\n return true;\n }\n else {\n throw Error(\"Invalid Id\");\n }\n }\n\n public override async saveAs(content: AXPDesignerContent): Promise<boolean> {\n const result = await this.workflow.execute('create-entity', {\n redirect: false,\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n canCreateNewOne: false,\n data: {\n name: AXPDataGenerator.alphanumeric(10),\n type: AXMFormTemplateTypes.Widget,\n template: content.json,\n categoryId: (await this.categoryEntityService.query()).items[0]?.id\n }\n });\n return result.getOutput('result');\n }\n\n public override async load(id: string): Promise<string | null> {\n const item = await this.templateEntityService.getOne(id)\n if (item) {\n return item.template;\n }\n else {\n throw Error(\"Invalid Id\");\n }\n }\n\n //#endregion\n}\n","import { AXPWorkflow } from \"@acorex/platform/workflow\";\nimport { RootConfig } from \"../../../const\";\n\nexport const AXMCreateFormTemplateWorkflow: AXPWorkflow = {\n startStepId: 'create-form-template',\n steps: {\n \"create-form-template\": {\n action: 'start-workflow',\n input: {\n workflow: \"create-entity\",\n context: {\n redirect: true,\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n },\n options: {\n process: {\n redirect: false,\n }\n }\n },\n // nextSteps: [\n // {\n // conditions: [{ type: 'SINGLE', expression: 'context.getOutput(\"result\") == true' }],\n // nextStepId: 'get-template-confirmaton',\n // },\n // ],\n },\n \"get-template-confirmaton\": {\n action: 'show-prompt-dialog',\n input: {\n title: 'Confirm Action',\n message: `Would you like to proceed with starting template design?`,\n type: 'primary',\n },\n nextSteps: [\n {\n conditions: [{ type: 'SINGLE', expression: 'context.getOutput(\"result\") == true' }],\n nextStepId: 'template-design',\n },\n ],\n },\n \"template-design\": {\n action: 'open-form-template-designer',\n },\n },\n};\n\n\n","import { AXPWorkflow } from \"@acorex/platform/workflow\";\n\nexport const AXMDesignFormTemplateWorkflow: AXPWorkflow = {\n startStepId: 'open',\n steps: {\n \"open\": {\n action: 'decide',\n nextSteps: [\n {\n conditions: [{ type: 'SINGLE', expression: ' context.getVariable(\"embedded\") == true' }],\n nextStepId: 'embedded',\n },\n {\n conditions: [{ type: 'SINGLE', expression: ' !context.getVariable(\"embedded\")' }],\n nextStepId: 'form',\n },\n ],\n },\n 'embedded': {\n action: 'open-embedded-template-designer',\n nextSteps: [\n {\n conditions: [{ type: 'SINGLE', expression: ' context.getOutput(\"result\") == true' }],\n nextStepId: 'save-embedded',\n },\n ],\n },\n 'form': {\n action: 'open-form-template-designer',\n },\n 'save-embedded': {\n action: 'save-embedded-template-designer',\n },\n },\n};\n\n\n","import { AXPopupService } from '@acorex/components/popup';\nimport { AXPWidgetCategory, AXPWidgetNode } from '@acorex/platform/layout/builder';\nimport { AXPQueryRequest } from '@acorex/platform/core';\nimport { inject, Injectable, InjectionToken } from '@angular/core';\nimport { sortBy } from 'lodash-es';\nimport { AXMFormTemplateManagementCategoryEntityService } from '../../../../entities/category';\n\nexport interface AXPTemplateWidgetListItem {\n id: string;\n title: string;\n description?: string;\n icon?: string;\n group: AXPWidgetCategory;\n}\n\nexport interface AXPTemplateWidgetItem {\n id: string;\n title: string;\n nodes: AXPWidgetNode[];\n}\n\nexport interface AXPTemplateWidgetProvider {\n items(query?: AXPQueryRequest): Promise<AXPTemplateWidgetListItem[]>;\n get(id: string): Promise<AXPTemplateWidgetItem | null>;\n}\n\nexport const AXP_TEMPLATE_WIDGET_PROVIDER = new InjectionToken<AXPTemplateWidgetProvider[]>(\n 'AXP_TEMPLATE_WIDGET_PROVIDER'\n);\n\n@Injectable({ providedIn: 'root' })\nexport class AXPTemplateWidgetProviderService implements AXPTemplateWidgetProvider {\n private popupService = inject(AXPopupService);\n\n private categoryEntityService = inject(AXMFormTemplateManagementCategoryEntityService);\n\n private providers = inject(AXP_TEMPLATE_WIDGET_PROVIDER, { optional: true });\n\n async items(query?: AXPQueryRequest): Promise<AXPTemplateWidgetListItem[]> {\n if (Array.isArray(this.providers)) {\n const result: AXPTemplateWidgetListItem[] = [];\n for (const provider of this.providers) {\n const items = await provider.items(query);\n if (items) {\n result.push(...items);\n }\n }\n return result;\n } else {\n return [];\n }\n }\n\n async get(id: string): Promise<AXPTemplateWidgetItem | null> {\n if (Array.isArray(this.providers)) {\n for (const provider of this.providers) {\n const node = await provider.get(id);\n if (node) {\n return node;\n }\n }\n }\n return null;\n }\n\n async chooseTemplate(): Promise<AXPTemplateWidgetListItem | null> {\n const com = await import('./template-picker.component').then((c) => c.AXPTemplateWidgetPickerComponent);\n const widgets = await this.items({\n skip: 0,\n take: 100,\n filter: {\n field: 'type.id',\n value: 20,\n operator: {\n type: 'equal',\n },\n },\n });\n\n const categories = (await this.categoryEntityService.query({ skip: 0, take: 100 })).items;\n const result = await this.popupService.open(com, {\n title: 'Widget Template Gallery',\n size: 'md',\n closeButton: true,\n data: {\n widgets: sortBy(widgets, (c) => c.title),\n categories,\n },\n });\n if (result.data) {\n const selected = result.data?.widgets as AXPTemplateWidgetListItem[];\n return selected[0];\n }\n return null;\n }\n}\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPLayoutBuilderModule, AXPLayoutWidgetComponent, AXPValueWidgetComponent, AXPWidgetNode } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, effect, inject, signal } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AXPTemplateWidgetProviderService } from '../template-picker/template.provider';\n\n@Component({\n selector: 'axp-template-widget-view',\n template: `\n @for (node of nodes(); track $index) {\n <ng-container axp-widget-renderer\n [node]=\"node\"\n [parentNode]=\"this\"\n [mode]=\"this.mode\"\n >\n </ng-container>\n }\n @empty {\n <span class=\"ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400\">\n {{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}\n </span>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule]\n})\nexport class AXPTemplateWidgetViewComponent extends AXPValueWidgetComponent {\n private metaKey = '__meta__';\n private templateProvider = inject(AXPTemplateWidgetProviderService);\n protected templateId = computed<string>(() => this.options()['templateId'] as string);\n protected nodes = signal<AXPWidgetNode[]>([]);\n\n constructor() {\n super();\n //\n effect(\n async () => {\n this.nodes.set([]);\n const value = this.getValue();\n const templateId = get(value, `${this.metaKey}.templateId`) ?? this.templateId();\n if (templateId) {\n const item = await this.templateProvider.get(templateId);\n if (item) {\n this.nodes.set(item.nodes);\n }\n }\n }\n );\n }\n}\n","import { AXPLayoutBuilderModule, AXPLayoutWidgetComponent, AXPWidgetNode, AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport {\n AXPDesignerAddWidgetMiniButtonComponent,\n AXPDesignerService,\n AXPDesignerWidgetComponent,\n AXPWidgetDesignerRendererDirective,\n} from '@acorex/platform/layout/designer';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, effect, HostBinding, inject, signal } from '@angular/core';\nimport { AXPTemplateWidgetProviderService } from '../template-picker/template.provider';\nimport { AXMenuItem } from '@acorex/components/menu';\n\nexport const AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU: AXMenuItem = {\n text: 'Choose Template',\n name: 'choose',\n icon: 'fa-solid fa-folder-open',\n};\n\n\n@Component({\n selector: 'axp-template-widget-designer',\n template: `\n @if(nodes().length) {\n <div class=\"ax-relative ax-block ax-w-full ax-pointer-events-none\">\n @for (node of nodes(); track $index) {\n <ng-container axp-widget-designer-renderer [locked]=\"true\" [node]=\"node\" [parentNode]=\"this\" [mode]=\"this.mode\"> </ng-container>\n }\n <div\n class=\"ax-absolute ax-top-0 ax-bottom-0 ax-left-0 ax-right-0 ax-bg-blue-400 ax-opacity-30 ax-flex ax-justify-center ax-items-center ax-z-[400]\"\n >\n <span class=\"ax-capitalize ax-font-semibold ax-text-primary-700\"> {{ title() }}</span>\n </div>\n </div>\n } @else {\n <axp-designer-add-widget-mini-button\n class=\"ax-flex-1 ax-self-center ax-place-self-end\"\n (onClick)=\"handleChooseWidget()\"\n >\n </axp-designer-add-widget-mini-button>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n AXPLayoutBuilderModule,\n AXPWidgetDesignerRendererDirective,\n AXPDesignerAddWidgetMiniButtonComponent,\n ],\n providers: [\n {\n provide: AXPLayoutWidgetComponent,\n useExisting: AXPTemplateWidgetDesignerComponent,\n },\n ]\n})\nexport class AXPTemplateWidgetDesignerComponent extends AXPValueWidgetComponent<any> implements AXPDesignerWidgetComponent {\n private templateProvider = inject(AXPTemplateWidgetProviderService);\n private designerService = inject(AXPDesignerService);\n\n protected templateId = computed<string>(() => this.options()['templateId'] as string);\n protected nodes = signal<AXPWidgetNode[]>([]);\n protected title = signal<string | null>(null);\n\n constructor() {\n super();\n //\n effect(\n async () => {\n this.nodes.set([]);\n if (this.templateId()) {\n const item = await this.templateProvider.get(this.templateId());\n if (item && item.nodes?.length > 0) {\n this.title.set(item.title);\n this.nodes.set(item.nodes);\n }\n }\n }\n );\n }\n\n async handleChooseWidget() {\n const result = await this.templateProvider.chooseTemplate();\n if (result) {\n this.designerService.update({\n mode: 'update',\n values: { options: { templateId: result.id } },\n widget: this.node,\n });\n }\n }\n\n @HostBinding('class')\n private get __class(): string {\n const cls: any = {};\n //\n cls[`ax-w-full`] = true;\n cls[`ax-widget-outline`] = true;\n //\n cls[`ax-block`] = true;\n return cls;\n }\n\n onContextMenu(context: { items: AXMenuItem[]; }): void {\n const items: AXMenuItem[] = [\n AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU\n ]\n items[items.length - 1].break = true;\n context.items.unshift(...items)\n }\n\n async executeCommand(command: { name: string; data?: any; handled: boolean; }): Promise<void> {\n switch (command.name) {\n case AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU.name:\n await this.handleChooseWidget();\n break;\n }\n return Promise.resolve();\n }\n}\n","import { AXP_WIDGETS_ADVANCE_CATEGORY, AXPWidgetConfig, AXPWidgetGroupEnum, createStringProperty } from '@acorex/platform/layout/builder';\nimport { AXP_BEHAVIOR_PROPERTY_GROUP, AXP_DATA_PATH_PROPERTY, AXP_NAME_PROPERTY } from '@acorex/platform/widgets';\n\nexport const AXPTemplateWidget: AXPWidgetConfig<AXPBlockWidgetConfigType> = {\n name: 'template',\n title: 'Template',\n type: 'container',\n icon: 'fa-light fa-file-invoice',\n categories: [AXP_WIDGETS_ADVANCE_CATEGORY],\n groups: [AXPWidgetGroupEnum.FormElement],\n designer: {\n canInsert: false,\n },\n properties: [\n AXP_NAME_PROPERTY,\n AXP_DATA_PATH_PROPERTY,\n createStringProperty({\n name: 'options.templateId',\n title: 'Template',\n group: AXP_BEHAVIOR_PROPERTY_GROUP,\n visible: false,\n }),\n ],\n components: {\n view: {\n component: () => import('./template-widget-view.component').then((c) => c.AXPTemplateWidgetViewComponent),\n },\n edit: {\n component: () => import('./template-widget-edit.component').then((c) => c.AXPTemplateWidgetEditComponent),\n },\n print: {\n component: () => import('./template-widget-view.component').then((c) => c.AXPTemplateWidgetViewComponent),\n },\n designer: {\n component: () => import('./template-widget-designer.component').then((c) => c.AXPTemplateWidgetDesignerComponent),\n },\n },\n};\n\nexport type AXPBlockWidgetConfigType = {\n type: 'container';\n};\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\n\n@Component({\n template: `\n <span\n class=\"ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer\"\n (click)=\"handleClick()\" *translate=\"let t\"\n >\n {{ t(\"edit-template\",{ scope:\"form-template-management\" }) | async }}\n </span>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXTranslationModule]\n})\nexport class AXPTemplateDesignerWidgetViewComponent extends AXPValueWidgetComponent<any> {\n\n private workflow = inject(AXPWorkflowService);\n\n protected embedded = computed<string | null>(() => this.options()['embedded'] ?? false);\n\n protected async handleClick() {\n if (this.embedded()) {\n const context = await this.workflow.execute('design-form-template', { embedded: true, content: this.getValue() });\n const content = context.getVariable('content');\n this.setValue(content);\n }\n else {\n const id = this.extractValue('id');\n const context = await this.workflow.execute('design-form-template', { id });\n }\n }\n}\n","import { AXP_WIDGETS_LAYOUT_CATEGORY, AXPWidgetConfig } from '@acorex/platform/layout/builder';\nimport { AXP_DATA_PATH_PROPERTY, AXP_NAME_PROPERTY } from '@acorex/platform/widgets';\n\nexport const AXPTemplateDesignerWidget: AXPWidgetConfig = {\n name: \"template-designer\",\n title: \"Template Designer\",\n icon: \"fa-solid fa-square\",\n type: 'editor',\n categories: AXP_WIDGETS_LAYOUT_CATEGORY,\n properties: [\n AXP_NAME_PROPERTY,\n AXP_DATA_PATH_PROPERTY,\n ],\n components: {\n view: {\n component: () => import('./template-designer-widget-view.component').then((c) => c.AXPTemplateDesignerWidgetViewComponent),\n },\n edit: {\n component: () => import('./template-designer-widget-view.component').then((c) => c.AXPTemplateDesignerWidgetViewComponent),\n }\n }\n}\n\ndeclare module '@acorex/platform/layout/builder' {\n interface AXPWidgetTypesMap {\n templateDesigner: 'template-designer';\n }\n}","import { AXPWorkflow, AXPWorkflowAction, AXPWorkflowContext } from \"@acorex/platform/workflow\";\nimport { inject, Injectable } from \"@angular/core\";\nimport { AXPopupService } from \"@acorex/components/popup\";\n\n\n@Injectable()\nexport class AXMOpenFormTemplateViewerAction extends AXPWorkflowAction {\n\n private popupService = inject(AXPopupService);\n\n async execute(context: AXPWorkflowContext): Promise<void> {\n const { id } = context.getVariable('data');\n const metadata = context.getVariable('metadata');\n const comp = await import('../viewer-popup.component').then(x => x.AXPFormTemplateViewerPopupComponent);\n const result = await this.popupService.open(comp, {\n title: 'Form Template Viewer',\n data: {\n templateId: id,\n metadata\n }\n })\n context.setOutput('result', result.data != null);\n if (result.data?.context) {\n context.setOutput('form-context', result.data?.context);\n }\n }\n}\n\n\nexport const AXMOpenFormTemplateViewerWorkflow: AXPWorkflow = {\n startStepId: 'open-form',\n steps: {\n \"open-form\": {\n action: 'open-form-template-viewer',\n },\n },\n};\n\n\n","import { inject, Injectable } from '@angular/core';\nimport { AXMFormTemplateManagementTemplateEntityService } from '../../entities/template';\nimport { AXPMetaData } from '@acorex/platform/core';\n\nexport abstract class AXPFormTemplateViewerConnector {\n abstract submit(id: string, context: any, metadeta?: AXPMetaData): Promise<boolean>;\n abstract load(id: string): Promise<string | null>;\n}\n\n@Injectable()\nexport class AXPFormTemplateViewerConnectorImpl extends AXPFormTemplateViewerConnector {\n private templateEntityService = inject(AXMFormTemplateManagementTemplateEntityService);\n\n //#region Save and load Widgets\n\n public override async submit(id: string, context: any, metadeta?: AXPMetaData): Promise<boolean> {\n console.log(id, context, metadeta);\n return Promise.resolve(true);\n }\n\n public override async load(id: string): Promise<string | null> {\n const item = await this.templateEntityService.getOne(id);\n if (item) {\n return item.template;\n } else {\n throw Error('Invalid Id');\n }\n }\n\n //#endregion\n}\n","import { AXToastService } from \"@acorex/components/toast\";\nimport { AXPWorkflowNavigateAction } from \"@acorex/platform/common\";\nimport { AXPBroadcastEventService, AXPDataGenerator } from \"@acorex/platform/core\";\nimport { AXPDesignerMessageKeys, AXPDesignerSaveFormMessage } from \"@acorex/platform/layout/designer\";\nimport { AXPWorkflowAction, AXPWorkflowContext } from \"@acorex/platform/workflow\";\nimport { Injectable, inject } from \"@angular/core\";\n\n@Injectable()\nexport class AXMOpenFormTemplateDesignerAction extends AXPWorkflowAction {\n\n private navigation = inject(AXPWorkflowNavigateAction);\n\n async execute(context: AXPWorkflowContext): Promise<void> {\n const id = context.getVariable('id') ?? context.getVariable('data.id') ?? AXPDataGenerator.uuid();\n context.setVariable('payload', {\n commands: `forms/designer?id=${id}`,\n target: 'blank'\n });\n await this.navigation.execute(context);\n }\n}\n\n\nInjectable()\nexport class AXMOpenEmbeddedTemplateDesignerAction extends AXPWorkflowAction {\n\n private navigation = inject(AXPWorkflowNavigateAction);\n private broadcastService = inject(AXPBroadcastEventService);\n\n async execute(context: AXPWorkflowContext): Promise<void> {\n const id = context.getVariable('id') ?? context.getVariable('data.id') ?? AXPDataGenerator.uuid();\n\n context.setVariable('payload', {\n commands: `forms/designer?id=${id}&strategy=Broadcast`,\n target: 'blank'\n });\n await this.navigation.execute(context);\n\n console.log(`Form opened for ID: ${id}. Waiting for user to close the form...`);\n\n return new Promise((resolve, reject) => {\n this.broadcastService.listen<{ formId: string }>(AXPDesignerMessageKeys.RequestFormContent).subscribe(async (event) => {\n if (event.requestId && event.data.formId == id) {\n const content: string | null = context.getVariable('content') ?? null;\n this.broadcastService.respondToRequest(event.requestId, content);\n context.setOutput(\"result\", true);\n resolve();\n } else {\n context.setOutput(\"result\", false);\n reject('No valid requestId found in the event.');\n }\n });\n\n })\n }\n}\n\nInjectable()\nexport class AXMSaveEmbeddedTemplateDesignerAction extends AXPWorkflowAction {\n private broadcastService = inject(AXPBroadcastEventService);\n\n override async execute(context: AXPWorkflowContext): Promise<void> {\n return new Promise((resolve, reject) => {\n this.broadcastService.listen<AXPDesignerSaveFormMessage>(AXPDesignerMessageKeys.SaveForm).subscribe(async (event) => {\n if (event.data.success) {\n this.broadcastService.respondToRequest(event.requestId!, { success: true });\n context.setVariable('content', event.data.content);\n context.setOutput('result', true)\n }\n else {\n context.setOutput('result', false)\n }\n resolve();\n });\n });\n }\n\n}","import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPDesignerConnector } from '@acorex/platform/layout/designer';\nimport { AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { AXPWorkflowModule } from '@acorex/platform/workflow';\nimport { inject, Injector, NgModule } from '@angular/core';\nimport { ROUTES, Routes } from '@angular/router';\nimport { AXMFormTemplateManagementCategoryEntityModule } from './entities/category';\nimport { AXMFormTemplateManagementTemplateEntityModule } from './entities/template';\nimport { AXMEntityProvider } from './entity.provider';\nimport { AXMMenuProvider } from './menu.provider';\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\n\nimport { AXMSearchCommandProvider } from './search-command.provider';\nimport { AXPTemplateWidgetProviderImpl } from './features/designer/template.provider';\nimport { AXPDesignerConnectorImpl } from './features/designer/designer-connector.service';\nimport { AXMCreateFormTemplateWorkflow, AXMDesignFormTemplateWorkflow, AXP_TEMPLATE_WIDGET_PROVIDER, AXPTemplateDesignerWidget, AXPTemplateWidget } from './features';\nimport { AXMOpenFormTemplateViewerAction, AXMOpenFormTemplateViewerWorkflow } from './features/viewer/workflows/open-template.workflow';\nimport { AXPFormTemplateViewerConnector, AXPFormTemplateViewerConnectorImpl } from './features/viewer/viewer-connector.service';\nimport { AXMOpenEmbeddedTemplateDesignerAction, AXMOpenFormTemplateDesignerAction, AXMSaveEmbeddedTemplateDesignerAction } from './features/designer/workflows/workflow.actions';\n\nfunction routesFacory() {\n const routes: Routes = [\n {\n path: 'forms',\n children: [\n {\n path: 'designer',\n loadComponent: () =>\n import('./features/designer/designer.page').then((c) => c.AXMFormTemplateManagementModuleDesignerPage),\n },\n {\n path: 'preview',\n loadComponent: () =>\n import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewComponent),\n },\n {\n path: 'viewer',\n loadComponent: () =>\n import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewViewerComponent),\n },\n ],\n },\n ];\n return routes;\n}\n\n@NgModule({\n imports: [\n AXPWidgetsModule,\n AXMFormTemplateManagementCategoryEntityModule,\n AXMFormTemplateManagementTemplateEntityModule,\n AXPLayoutBuilderModule.forChild({\n widgets: [AXPTemplateDesignerWidget, AXPTemplateWidget],\n }),\n AXPWorkflowModule.forChild({\n actions: {\n 'open-form-template-viewer': AXMOpenFormTemplateViewerAction,\n //\n 'open-form-template-designer': AXMOpenFormTemplateDesignerAction,\n 'open-embedded-template-designer': AXMOpenEmbeddedTemplateDesignerAction,\n //\n 'save-embedded-template-designer': AXMSaveEmbeddedTemplateDesignerAction\n },\n workflows: {\n 'create-form-template': AXMCreateFormTemplateWorkflow,\n 'design-form-template': AXMDesignFormTemplateWorkflow,\n 'open-form-template': AXMOpenFormTemplateViewerWorkflow\n },\n }),\n ],\n exports: [],\n declarations: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFacory,\n },\n {\n provide: AXP_ENTITY_DEFINITION_LOADER,\n useClass: AXMEntityProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n {\n provide: AXPDesignerConnector,\n useClass: AXPDesignerConnectorImpl,\n },\n {\n provide: AXPFormTemplateViewerConnector,\n useClass: AXPFormTemplateViewerConnectorImpl,\n },\n {\n provide: AXP_TEMPLATE_WIDGET_PROVIDER,\n useClass: AXPTemplateWidgetProviderImpl,\n multi: true,\n },\n {\n provide: AXP_SETTING_DEFINITION_PROVIDER,\n useFactory: async () => {\n const injector = inject(Injector);\n const provider = (await import('./settings.provider')).AXMSettingProvider;\n return new provider(injector);\n },\n multi: true,\n },\n {\n provide: AXP_SEARCH_PROVIDER,\n useClass: AXMSearchCommandProvider,\n multi: true,\n },\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useFactory: async () => {\n const injector = inject(Injector);\n const provider = (await import('./permission-definition.provider')).AXMPermissionDefinitionProvider;\n return new provider(injector);\n } ,\n multi: true,\n },\n ],\n})\nexport class AXMFormTemplateManagementModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,0BAA0B;CACjC;AACY,MAAA,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,0BAA0B;AACjC,QAAA,IAAI,EAAE,wBAAwB;AAC9B,QAAA,KAAK,EAAE,CAAA,yBAAA,EAA4B,MAAM,CAAC,IAAI,CAAK,GAAA,CAAA;AACnD,QAAA,IAAI,EAAE;AACP,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,KAAK,EAAE,oCAAoC;AAC3C,YAAA,IAAI,EAAE;AACP,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,qBAAA,EAAwB,MAAM,CAAC,IAAI,CAAK,GAAA,CAAA;AAC/C,YAAA,IAAI,EAAE;AACP;AACF,KAAA;;;ACjBG,MAAgB,8CAA+C,SAAQ,wBAG5E,CAAA;AAAI;AAGC,MAAO,kDAAmD,SAAQ,8CAA8C,CAAA;AACpH,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,mBAAmB;AAC5B,4BAAA,QAAQ,EAAE,wBAAwB;AAClC,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACD,wBAAA;AACE,4BAAA,OAAO,EAAE,kCAAkC;4BAC3C,UAAU,EAAE,YAAW;AACrB,gCAAA,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;gCACjC,MAAM,QAAQ,GAAG,CAAC,MAAM,OAAO,uFAAkC,CAAC,EAAE,+BAA+B;AACnG,gCAAA,OAAO,IAAI,QAAQ,CAAC,QAAQ,CAAC;6BAC9B;AACD,4BAAA,KAAK,EAAE,IAAI;AACZ,yBAAA;AACF,qBAAA;AACF,iBAAA;;;AChID;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-modules-form-template-management-acorex-modules-form-template-management-BL9GxOV_.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/const.ts","../../../../libs/modules/form-template-management/src/lib/entities/category/category.service.ts","../../../../libs/modules/form-template-management/src/lib/entities/category/category.module.ts","../../../../libs/modules/form-template-management/src/lib/entities/template/template.service.ts","../../../../libs/modules/form-template-management/src/lib/entities/template/template.module.ts","../../../../libs/modules/form-template-management/src/lib/entities/template/template.types.ts","../../../../libs/modules/form-template-management/src/lib/entity.provider.ts","../../../../libs/modules/form-template-management/src/lib/permission.keys.ts","../../../../libs/modules/form-template-management/src/lib/menu.provider.ts","../../../../libs/modules/form-template-management/src/lib/search-command.provider.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/template.provider.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/designer-connector.service.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/workflows/create-template.workflow.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/workflows/design-template.workflow.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template-picker/template.provider.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template/template-widget-view.component.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template/template-widget-designer.component.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template/template-widget.config.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/widgets/template-designer/template-designer-widget.config.ts","../../../../libs/modules/form-template-management/src/lib/features/viewer/workflows/open-template.workflow.ts","../../../../libs/modules/form-template-management/src/lib/features/viewer/viewer-connector.service.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/workflows/workflow.actions.ts","../../../../libs/modules/form-template-management/src/lib/form-template-management.module.ts","../../../../libs/modules/form-template-management/src/acorex-modules-form-template-management.ts"],"sourcesContent":["const config = {\n i18n: 'form-template-management',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'form-template-management',\n name: 'FormTemplateManagement',\n title: `t('module-name', {scope:\"${config.i18n}\"})`,\n icon: 'fa-light fa-file-invoice'\n },\n entities: {\n category: {\n name: 'TemplateCategory',\n title: 't(\"category\", { scope: \"common\" })',\n icon: 'fa-light fa-list'\n },\n template: {\n name: 'Template',\n title: `t(\"template\",{scope:\"${config.i18n}\"})`,\n icon: 'fa-light fa-file-code'\n }\n },\n};\n","import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';\nimport { Injectable } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMFormTemplateCategoryEntityModel } from './category.types';\n\nexport abstract class AXMFormTemplateManagementCategoryEntityService extends AXMEntityCrudServiceImpl<\n string,\n AXMFormTemplateCategoryEntityModel\n> { }\n\n@Injectable()\nexport class AXMFormTemplateManagementCategoryEntityServiceImpl extends AXMFormTemplateManagementCategoryEntityService {\n constructor() {\n super(`${RootConfig.module.name}.${RootConfig.entities.category.name}`);\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { AXMFormTemplateManagementCategoryEntityService, AXMFormTemplateManagementCategoryEntityServiceImpl } from './category.service';\n\n@NgModule({\nimports: [],\nexports: [],\ndeclarations: [],\n providers: [\n {\n provide: AXMFormTemplateManagementCategoryEntityService,\n useClass: AXMFormTemplateManagementCategoryEntityServiceImpl,\n },\n ],\n})\nexport class AXMFormTemplateManagementCategoryEntityModule {\n}\n ","import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';\nimport { Injectable } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMCreateFormTemplateDto, AXMFormTemplateDetailDto, AXMFormTemplateListItemDto, AXMUpdateFormTemplateDto } from './template.types';\n\nexport abstract class AXMFormTemplateManagementTemplateEntityService extends AXMEntityCrudServiceImpl<\n string,\n AXMFormTemplateDetailDto,\n AXMFormTemplateListItemDto,\n AXMCreateFormTemplateDto,\n AXMUpdateFormTemplateDto\n> { }\n\n@Injectable()\nexport class AXMFormTemplateManagementTemplateEntityServiceImpl extends AXMFormTemplateManagementTemplateEntityService {\n constructor() {\n super(`${RootConfig.module.name}.${RootConfig.entities.template.name}`);\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { AXMFormTemplateManagementTemplateEntityService, AXMFormTemplateManagementTemplateEntityServiceImpl } from './template.service';\n\n@NgModule({\nimports: [],\nexports: [],\ndeclarations: [],\n providers: [\n {\n provide: AXMFormTemplateManagementTemplateEntityService,\n useClass: AXMFormTemplateManagementTemplateEntityServiceImpl,\n },\n ],\n})\nexport class AXMFormTemplateManagementTemplateEntityModule {\n}\n ","import { AXPEntityCreateDto, AXPEntityDetailDto, AXPEntityListItemDto, AXPEntityUpdateDto } from '@acorex/platform/layout/entity';\n\n\nexport interface AXMCreateFormTemplateDto extends AXPEntityCreateDto {\n templateId: string;\n title: string;\n description?: string;\n typeId: number;\n categoryIds: string[];\n}\n\nexport interface AXMUpdateFormTemplateDto extends AXPEntityUpdateDto<string> {\n title: string;\n description?: string;\n typeId: number;\n template?: string;\n categoryIds: string[];\n}\n\nexport interface AXMFormTemplateDetailDto extends AXPEntityDetailDto<string> {\n title: string;\n description?: string;\n typeId: number;\n type: number;\n template: string | null;\n categoryIds: string[];\n categories: { id: string, title: string }[];\n}\n\nexport interface AXMFormTemplateListItemDto extends AXPEntityListItemDto<string> {\n title: string;\n description?: string;\n typeId: number;\n type: number;\n categoryIds: string[];\n categories: { id: string, title: string }[];\n}\n\n\nexport const AXMFormTemplateTypes = {\n Form: { id: 10, title: 'Form Template' },\n Widget: { id: 20, title: 'Widget Template' },\n Report: { id: 30, title: 'Report Template' },\n};\n","import { AXPEntity } from '@acorex/platform/common';\nimport {\n AXPEntityDefinitionLoader,\n AXPEntityDefinitionPreloader,\n AXPEntityPreloadEntity,\n} from '@acorex/platform/layout/entity';\nimport { Injectable, Injector, inject } from '@angular/core';\nimport { RootConfig } from './const';\n\n@Injectable()\nexport class AXMEntityProvider implements AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader {\n public preload(): AXPEntityPreloadEntity[] {\n const module = RootConfig.module.name;\n return Array.from(Object.values(RootConfig.entities)).map((entity: any) => ({\n module: module,\n entity: entity.name,\n }));\n }\n\n private injector = inject(Injector);\n\n async get(moduleName: string, entityName: string): Promise<AXPEntity | null> {\n if (moduleName == RootConfig.module.name) {\n switch (entityName) {\n case RootConfig.entities.category.name:\n return (await import('./entities/category/category.entity')).factory(this.injector);\n case RootConfig.entities.template.name:\n return (await import('./entities/template/template.entity')).factory(this.injector);\n }\n }\n return null;\n }\n}\n","export const AXMPermissionsKeys = {\n FormTemplate: {\n Management: 'form-template:manage',\n Templates: {\n Management: 'form-template:templates:manage',\n View: 'form-template:templates:view',\n Edit: 'form-template:templates:edit',\n Delete: 'form-template:templates:delete',\n Create: 'form-template:templates:create',\n },\n Categories: {\n Management: 'form-template:categories:manage',\n View: 'form-template:categories:view',\n Edit: 'form-template:categories:edit',\n Delete: 'form-template:categories:delete',\n Create: 'form-template:categories:create',\n },\n },\n};\n","import { AXPMenuProvider, AXPMenuProviderContext } from '@acorex/platform/common';\nimport { AXPEntityService } from '@acorex/platform/layout/entity';\nimport { inject } from '@angular/core';\nimport { RootConfig } from './const';\nimport { firstValueFrom } from 'rxjs';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXMPermissionsKeys } from './permission.keys';\n\nexport class AXMMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n private sessionService = inject(AXPSessionService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);\n if (!isAuthorized) {\n return;\n }\n //\n\n const scope = RootConfig.config.i18n;\n const module = RootConfig.module;\n\n context.addItems([\n {\n priority: 9001,\n text: `t('root-menu', {scope:\"${scope}\"})`,\n icon: module.icon,\n data: {\n requiredPermission: [AXMPermissionsKeys.FormTemplate.Management]\n },\n children: [\n {\n text: `t(\"categories\", {scope: \"${scope}\"})`,\n path: this.entityService.createPath(module.name, RootConfig.entities.category.name),\n icon: RootConfig.entities.category.icon,\n priority: 1,\n data: {\n requiredPermission: [AXMPermissionsKeys.FormTemplate.Categories.Management]\n },\n },\n {\n text: `t('templates', {scope:\"${scope}\"})`,\n path: this.entityService.createPath(module.name, RootConfig.entities.template.name),\n icon: RootConfig.entities.template.icon,\n priority: 2,\n data: {\n requiredPermission: [AXMPermissionsKeys.FormTemplate.Templates.Management]\n },\n },\n ],\n },\n ]);\n }\n}\n","import { AXPSearchCommandProvider, AXPSearchResult } from '@acorex/platform/common';\nimport { RootConfig } from './const';\n\nexport class AXMSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n group: 'command',\n title: 'New Form Template',\n icon: RootConfig.entities.template.icon,\n description: 'Create a new form template for designing reusable forms.', // Added description\n command: {\n // 'create-entity': {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n // },\n name: 'create-entity',\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`\n }\n },\n },\n {\n group: 'command',\n title: 'New Form Template Category',\n icon: RootConfig.entities.category.icon,\n description: 'Create a new category to organize form templates.', // Added description\n command: {\n // 'create-entity': {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.category.name}`,\n // },\n name: 'create-entity',\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`\n }\n },\n },\n ];\n}\n","import { AXPWidgetNode } from '@acorex/platform/layout/builder';\nimport { AXPQueryRequest } from '@acorex/platform/core';\nimport { inject } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AXMFormTemplateManagementTemplateEntityService } from '../../entities/template';\nimport { AXPTemplateWidgetItem, AXPTemplateWidgetListItem, AXPTemplateWidgetProvider } from './widgets/template';\n\nexport class AXPTemplateWidgetProviderImpl implements AXPTemplateWidgetProvider {\n private service = inject(AXMFormTemplateManagementTemplateEntityService);\n\n async items(query?: AXPQueryRequest): Promise<AXPTemplateWidgetListItem[]> {\n const result = (await this.service.query(query)).items.map(\n (c) =>\n ({\n id: c.id,\n title: c.title,\n group: {\n name: c.categoryIds[0],\n order: 2,\n title: get(c, 'category.title') ?? 'Custom',\n },\n description: c.description,\n } as AXPTemplateWidgetListItem)\n );\n return result;\n }\n\n async get(id: string): Promise<AXPTemplateWidgetItem | null> {\n const item = await this.service.getOne(id);\n if (item) {\n const document = JSON.parse(item.template!) as AXPWidgetNode;\n const page = document?.children?.[0];\n\n return {\n id: item.id as string,\n nodes: page?.children ?? [],\n title: item.title,\n };\n } else {\n throw Error('Invalid Id');\n }\n }\n}\n","import { AXPDesignerConnector, AXPDesignerContent } from '@acorex/platform/layout/designer';\nimport { inject, Injectable } from '@angular/core';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { AXPDataGenerator } from '@acorex/platform/core';\nimport { RootConfig } from '../../const';\nimport { AXMFormTemplateManagementCategoryEntityService } from '../../entities/category';\nimport { AXMFormTemplateManagementTemplateEntityService, AXMFormTemplateTypes } from '../../entities/template';\n@Injectable()\nexport class AXPDesignerConnectorImpl extends AXPDesignerConnector {\n\n\n private workflow = inject(AXPWorkflowService);\n private templateEntityService = inject(AXMFormTemplateManagementTemplateEntityService)\n private categoryEntityService = inject(AXMFormTemplateManagementCategoryEntityService)\n\n //#region Save and load Widgets\n\n public override async save(id: string, content: AXPDesignerContent): Promise<boolean> {\n const item = await this.templateEntityService.getOne(id)\n if (item) {\n await this.templateEntityService.updateOne(id, { template: content.json })\n return true;\n }\n else {\n throw Error(\"Invalid Id\");\n }\n }\n\n public override async saveAs(content: AXPDesignerContent): Promise<boolean> {\n const result = await this.workflow.execute('create-entity', {\n redirect: false,\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n canCreateNewOne: false,\n data: {\n name: AXPDataGenerator.alphanumeric(10),\n type: AXMFormTemplateTypes.Widget,\n template: content.json,\n categoryId: (await this.categoryEntityService.query()).items[0]?.id\n }\n });\n return result.getOutput('result');\n }\n\n public override async load(id: string): Promise<string | null> {\n const item = await this.templateEntityService.getOne(id)\n if (item) {\n return item.template;\n }\n else {\n throw Error(\"Invalid Id\");\n }\n }\n\n //#endregion\n}\n","import { AXPWorkflow } from \"@acorex/platform/workflow\";\nimport { RootConfig } from \"../../../const\";\n\nexport const AXMCreateFormTemplateWorkflow: AXPWorkflow = {\n startStepId: 'create-form-template',\n steps: {\n \"create-form-template\": {\n action: 'start-workflow',\n input: {\n workflow: \"create-entity\",\n context: {\n redirect: true,\n entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,\n },\n options: {\n process: {\n redirect: false,\n }\n }\n },\n // nextSteps: [\n // {\n // conditions: [{ type: 'SINGLE', expression: 'context.getOutput(\"result\") == true' }],\n // nextStepId: 'get-template-confirmaton',\n // },\n // ],\n },\n \"get-template-confirmaton\": {\n action: 'show-prompt-dialog',\n input: {\n title: 'Confirm Action',\n message: `Would you like to proceed with starting template design?`,\n type: 'primary',\n },\n nextSteps: [\n {\n conditions: [{ type: 'SINGLE', expression: 'context.getOutput(\"result\") == true' }],\n nextStepId: 'template-design',\n },\n ],\n },\n \"template-design\": {\n action: 'open-form-template-designer',\n },\n },\n};\n\n\n","import { AXPWorkflow } from \"@acorex/platform/workflow\";\n\nexport const AXMDesignFormTemplateWorkflow: AXPWorkflow = {\n startStepId: 'open',\n steps: {\n \"open\": {\n action: 'decide',\n nextSteps: [\n {\n conditions: [{ type: 'SINGLE', expression: ' context.getVariable(\"embedded\") == true' }],\n nextStepId: 'embedded',\n },\n {\n conditions: [{ type: 'SINGLE', expression: ' !context.getVariable(\"embedded\")' }],\n nextStepId: 'form',\n },\n ],\n },\n 'embedded': {\n action: 'open-embedded-template-designer',\n nextSteps: [\n {\n conditions: [{ type: 'SINGLE', expression: ' context.getOutput(\"result\") == true' }],\n nextStepId: 'save-embedded',\n },\n ],\n },\n 'form': {\n action: 'open-form-template-designer',\n },\n 'save-embedded': {\n action: 'save-embedded-template-designer',\n },\n },\n};\n\n\n","import { AXPopupService } from '@acorex/components/popup';\nimport { AXPWidgetCategory, AXPWidgetNode } from '@acorex/platform/layout/builder';\nimport { AXPQueryRequest } from '@acorex/platform/core';\nimport { inject, Injectable, InjectionToken } from '@angular/core';\nimport { sortBy } from 'lodash-es';\nimport { AXMFormTemplateManagementCategoryEntityService } from '../../../../entities/category';\n\nexport interface AXPTemplateWidgetListItem {\n id: string;\n title: string;\n description?: string;\n icon?: string;\n group: AXPWidgetCategory;\n}\n\nexport interface AXPTemplateWidgetItem {\n id: string;\n title: string;\n nodes: AXPWidgetNode[];\n}\n\nexport interface AXPTemplateWidgetProvider {\n items(query?: AXPQueryRequest): Promise<AXPTemplateWidgetListItem[]>;\n get(id: string): Promise<AXPTemplateWidgetItem | null>;\n}\n\nexport const AXP_TEMPLATE_WIDGET_PROVIDER = new InjectionToken<AXPTemplateWidgetProvider[]>(\n 'AXP_TEMPLATE_WIDGET_PROVIDER'\n);\n\n@Injectable({ providedIn: 'root' })\nexport class AXPTemplateWidgetProviderService implements AXPTemplateWidgetProvider {\n private popupService = inject(AXPopupService);\n\n private categoryEntityService = inject(AXMFormTemplateManagementCategoryEntityService);\n\n private providers = inject(AXP_TEMPLATE_WIDGET_PROVIDER, { optional: true });\n\n async items(query?: AXPQueryRequest): Promise<AXPTemplateWidgetListItem[]> {\n if (Array.isArray(this.providers)) {\n const result: AXPTemplateWidgetListItem[] = [];\n for (const provider of this.providers) {\n const items = await provider.items(query);\n if (items) {\n result.push(...items);\n }\n }\n return result;\n } else {\n return [];\n }\n }\n\n async get(id: string): Promise<AXPTemplateWidgetItem | null> {\n if (Array.isArray(this.providers)) {\n for (const provider of this.providers) {\n const node = await provider.get(id);\n if (node) {\n return node;\n }\n }\n }\n return null;\n }\n\n async chooseTemplate(): Promise<AXPTemplateWidgetListItem | null> {\n const com = await import('./template-picker.component').then((c) => c.AXPTemplateWidgetPickerComponent);\n const widgets = await this.items({\n skip: 0,\n take: 100,\n filter: {\n field: 'type.id',\n value: 20,\n operator: {\n type: 'equal',\n },\n },\n });\n\n const categories = (await this.categoryEntityService.query({ skip: 0, take: 100 })).items;\n const result = await this.popupService.open(com, {\n title: 'Widget Template Gallery',\n size: 'md',\n closeButton: true,\n data: {\n widgets: sortBy(widgets, (c) => c.title),\n categories,\n },\n });\n if (result.data) {\n const selected = result.data?.widgets as AXPTemplateWidgetListItem[];\n return selected[0];\n }\n return null;\n }\n}\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPLayoutBuilderModule, AXPLayoutWidgetComponent, AXPValueWidgetComponent, AXPWidgetNode } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, effect, inject, signal } from '@angular/core';\nimport { get } from 'lodash-es';\nimport { AXPTemplateWidgetProviderService } from '../template-picker/template.provider';\n\n@Component({\n selector: 'axp-template-widget-view',\n template: `\n @for (node of nodes(); track $index) {\n <ng-container axp-widget-renderer\n [node]=\"node\"\n [parentNode]=\"this\"\n [mode]=\"this.mode\"\n >\n </ng-container>\n }\n @empty {\n <span class=\"ax-underline ax-decoration-dotted ax-underline-offset-8 ax-text-gray-400\">\n {{ 'empty-template' | translate : { scope: 'form-template-management' } | async }}\n </span>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXPLayoutBuilderModule, AXTranslationModule]\n})\nexport class AXPTemplateWidgetViewComponent extends AXPValueWidgetComponent {\n private metaKey = '__meta__';\n private templateProvider = inject(AXPTemplateWidgetProviderService);\n protected templateId = computed<string>(() => this.options()['templateId'] as string);\n protected nodes = signal<AXPWidgetNode[]>([]);\n\n constructor() {\n super();\n //\n effect(\n async () => {\n this.nodes.set([]);\n const value = this.getValue();\n const templateId = get(value, `${this.metaKey}.templateId`) ?? this.templateId();\n if (templateId) {\n const item = await this.templateProvider.get(templateId);\n if (item) {\n this.nodes.set(item.nodes);\n }\n }\n }\n );\n }\n}\n","import { AXPLayoutBuilderModule, AXPLayoutWidgetComponent, AXPWidgetNode, AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport {\n AXPDesignerAddWidgetMiniButtonComponent,\n AXPDesignerService,\n AXPDesignerWidgetComponent,\n AXPWidgetDesignerRendererDirective,\n} from '@acorex/platform/layout/designer';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, effect, HostBinding, inject, signal } from '@angular/core';\nimport { AXPTemplateWidgetProviderService } from '../template-picker/template.provider';\nimport { AXMenuItem } from '@acorex/components/menu';\n\nexport const AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU: AXMenuItem = {\n text: 'Choose Template',\n name: 'choose',\n icon: 'fa-solid fa-folder-open',\n};\n\n\n@Component({\n selector: 'axp-template-widget-designer',\n template: `\n @if(nodes().length) {\n <div class=\"ax-relative ax-block ax-w-full ax-pointer-events-none\">\n @for (node of nodes(); track $index) {\n <ng-container axp-widget-designer-renderer [locked]=\"true\" [node]=\"node\" [parentNode]=\"this\" [mode]=\"this.mode\"> </ng-container>\n }\n <div\n class=\"ax-absolute ax-top-0 ax-bottom-0 ax-left-0 ax-right-0 ax-bg-blue-400 ax-opacity-30 ax-flex ax-justify-center ax-items-center ax-z-[400]\"\n >\n <span class=\"ax-capitalize ax-font-semibold ax-text-primary-700\"> {{ title() }}</span>\n </div>\n </div>\n } @else {\n <axp-designer-add-widget-mini-button\n class=\"ax-flex-1 ax-self-center ax-place-self-end\"\n (onClick)=\"handleChooseWidget()\"\n >\n </axp-designer-add-widget-mini-button>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n AXPLayoutBuilderModule,\n AXPWidgetDesignerRendererDirective,\n AXPDesignerAddWidgetMiniButtonComponent,\n ],\n providers: [\n {\n provide: AXPLayoutWidgetComponent,\n useExisting: AXPTemplateWidgetDesignerComponent,\n },\n ]\n})\nexport class AXPTemplateWidgetDesignerComponent extends AXPValueWidgetComponent<any> implements AXPDesignerWidgetComponent {\n private templateProvider = inject(AXPTemplateWidgetProviderService);\n private designerService = inject(AXPDesignerService);\n\n protected templateId = computed<string>(() => this.options()['templateId'] as string);\n protected nodes = signal<AXPWidgetNode[]>([]);\n protected title = signal<string | null>(null);\n\n constructor() {\n super();\n //\n effect(\n async () => {\n this.nodes.set([]);\n if (this.templateId()) {\n const item = await this.templateProvider.get(this.templateId());\n if (item && item.nodes?.length > 0) {\n this.title.set(item.title);\n this.nodes.set(item.nodes);\n }\n }\n }\n );\n }\n\n async handleChooseWidget() {\n const result = await this.templateProvider.chooseTemplate();\n if (result) {\n this.designerService.update({\n mode: 'update',\n values: { options: { templateId: result.id } },\n widget: this.node,\n });\n }\n }\n\n @HostBinding('class')\n private get __class(): string {\n const cls: any = {};\n //\n cls[`ax-w-full`] = true;\n cls[`ax-widget-outline`] = true;\n //\n cls[`ax-block`] = true;\n return cls;\n }\n\n onContextMenu(context: { items: AXMenuItem[]; }): void {\n const items: AXMenuItem[] = [\n AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU\n ]\n items[items.length - 1].break = true;\n context.items.unshift(...items)\n }\n\n async executeCommand(command: { name: string; data?: any; handled: boolean; }): Promise<void> {\n switch (command.name) {\n case AXP_DESIGNER_TEMPLATE_WIDGET_CHOOSE_MENU.name:\n await this.handleChooseWidget();\n break;\n }\n return Promise.resolve();\n }\n}\n","import { AXP_WIDGETS_ADVANCE_CATEGORY, AXPWidgetConfig, AXPWidgetGroupEnum, createStringProperty } from '@acorex/platform/layout/builder';\nimport { AXP_BEHAVIOR_PROPERTY_GROUP, AXP_DATA_PATH_PROPERTY, AXP_NAME_PROPERTY } from '@acorex/platform/widgets';\n\nexport const AXPTemplateWidget: AXPWidgetConfig<AXPBlockWidgetConfigType> = {\n name: 'template',\n title: 'Template',\n type: 'container',\n icon: 'fa-light fa-file-invoice',\n categories: [AXP_WIDGETS_ADVANCE_CATEGORY],\n groups: [AXPWidgetGroupEnum.FormElement],\n designer: {\n canInsert: false,\n },\n properties: [\n AXP_NAME_PROPERTY,\n AXP_DATA_PATH_PROPERTY,\n createStringProperty({\n name: 'options.templateId',\n title: 'Template',\n group: AXP_BEHAVIOR_PROPERTY_GROUP,\n visible: false,\n }),\n ],\n components: {\n view: {\n component: () => import('./template-widget-view.component').then((c) => c.AXPTemplateWidgetViewComponent),\n },\n edit: {\n component: () => import('./template-widget-edit.component').then((c) => c.AXPTemplateWidgetEditComponent),\n },\n print: {\n component: () => import('./template-widget-view.component').then((c) => c.AXPTemplateWidgetViewComponent),\n },\n designer: {\n component: () => import('./template-widget-designer.component').then((c) => c.AXPTemplateWidgetDesignerComponent),\n },\n },\n};\n\nexport type AXPBlockWidgetConfigType = {\n type: 'container';\n};\n","import { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport { AXPWorkflowService } from '@acorex/platform/workflow';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed, inject } from '@angular/core';\n\n@Component({\n template: `\n <span\n class=\"ax-underline ax-decoration-dotted ax-underline-offset-8 hover:ax-text-primary-500 ax-cursor-pointer\"\n (click)=\"handleClick()\" *translate=\"let t\"\n >\n {{ t(\"edit-template\",{ scope:\"form-template-management\" }) | async }}\n </span>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [CommonModule, AXTranslationModule]\n})\nexport class AXPTemplateDesignerWidgetViewComponent extends AXPValueWidgetComponent<any> {\n\n private workflow = inject(AXPWorkflowService);\n\n protected embedded = computed<string | null>(() => this.options()['embedded'] ?? false);\n\n protected async handleClick() {\n if (this.embedded()) {\n const context = await this.workflow.execute('design-form-template', { embedded: true, content: this.getValue() });\n const content = context.getVariable('content');\n this.setValue(content);\n }\n else {\n const id = this.extractValue('id');\n const context = await this.workflow.execute('design-form-template', { id });\n }\n }\n}\n","import { AXP_WIDGETS_LAYOUT_CATEGORY, AXPWidgetConfig } from '@acorex/platform/layout/builder';\nimport { AXP_DATA_PATH_PROPERTY, AXP_NAME_PROPERTY } from '@acorex/platform/widgets';\n\nexport const AXPTemplateDesignerWidget: AXPWidgetConfig = {\n name: \"template-designer\",\n title: \"Template Designer\",\n icon: \"fa-solid fa-square\",\n type: 'editor',\n categories: AXP_WIDGETS_LAYOUT_CATEGORY,\n properties: [\n AXP_NAME_PROPERTY,\n AXP_DATA_PATH_PROPERTY,\n ],\n components: {\n view: {\n component: () => import('./template-designer-widget-view.component').then((c) => c.AXPTemplateDesignerWidgetViewComponent),\n },\n edit: {\n component: () => import('./template-designer-widget-view.component').then((c) => c.AXPTemplateDesignerWidgetViewComponent),\n }\n }\n}\n\ndeclare module '@acorex/platform/layout/builder' {\n interface AXPWidgetTypesMap {\n templateDesigner: 'template-designer';\n }\n}","import { AXPWorkflow, AXPWorkflowAction, AXPWorkflowContext } from \"@acorex/platform/workflow\";\nimport { inject, Injectable } from \"@angular/core\";\nimport { AXPopupService } from \"@acorex/components/popup\";\n\n\n@Injectable()\nexport class AXMOpenFormTemplateViewerAction extends AXPWorkflowAction {\n\n private popupService = inject(AXPopupService);\n\n async execute(context: AXPWorkflowContext): Promise<void> {\n const { id } = context.getVariable('data');\n const metadata = context.getVariable('metadata');\n const comp = await import('../viewer-popup.component').then(x => x.AXPFormTemplateViewerPopupComponent);\n const result = await this.popupService.open(comp, {\n title: 'Form Template Viewer',\n data: {\n templateId: id,\n metadata\n }\n })\n context.setOutput('result', result.data != null);\n if (result.data?.context) {\n context.setOutput('form-context', result.data?.context);\n }\n }\n}\n\n\nexport const AXMOpenFormTemplateViewerWorkflow: AXPWorkflow = {\n startStepId: 'open-form',\n steps: {\n \"open-form\": {\n action: 'open-form-template-viewer',\n },\n },\n};\n\n\n","import { inject, Injectable } from '@angular/core';\nimport { AXMFormTemplateManagementTemplateEntityService } from '../../entities/template';\nimport { AXPMetaData } from '@acorex/platform/core';\n\nexport abstract class AXPFormTemplateViewerConnector {\n abstract submit(id: string, context: any, metadeta?: AXPMetaData): Promise<boolean>;\n abstract load(id: string): Promise<string | null>;\n}\n\n@Injectable()\nexport class AXPFormTemplateViewerConnectorImpl extends AXPFormTemplateViewerConnector {\n private templateEntityService = inject(AXMFormTemplateManagementTemplateEntityService);\n\n //#region Save and load Widgets\n\n public override async submit(id: string, context: any, metadeta?: AXPMetaData): Promise<boolean> {\n console.log(id, context, metadeta);\n return Promise.resolve(true);\n }\n\n public override async load(id: string): Promise<string | null> {\n const item = await this.templateEntityService.getOne(id);\n if (item) {\n return item.template;\n } else {\n throw Error('Invalid Id');\n }\n }\n\n //#endregion\n}\n","import { AXToastService } from \"@acorex/components/toast\";\nimport { AXPWorkflowNavigateAction } from \"@acorex/platform/common\";\nimport { AXPBroadcastEventService, AXPDataGenerator } from \"@acorex/platform/core\";\nimport { AXPDesignerMessageKeys, AXPDesignerSaveFormMessage } from \"@acorex/platform/layout/designer\";\nimport { AXPWorkflowAction, AXPWorkflowContext } from \"@acorex/platform/workflow\";\nimport { Injectable, inject } from \"@angular/core\";\n\n@Injectable()\nexport class AXMOpenFormTemplateDesignerAction extends AXPWorkflowAction {\n\n private navigation = inject(AXPWorkflowNavigateAction);\n\n async execute(context: AXPWorkflowContext): Promise<void> {\n const id = context.getVariable('id') ?? context.getVariable('data.id') ?? AXPDataGenerator.uuid();\n context.setVariable('payload', {\n commands: `forms/designer?id=${id}`,\n target: 'blank'\n });\n await this.navigation.execute(context);\n }\n}\n\n\nInjectable()\nexport class AXMOpenEmbeddedTemplateDesignerAction extends AXPWorkflowAction {\n\n private navigation = inject(AXPWorkflowNavigateAction);\n private broadcastService = inject(AXPBroadcastEventService);\n\n async execute(context: AXPWorkflowContext): Promise<void> {\n const id = context.getVariable('id') ?? context.getVariable('data.id') ?? AXPDataGenerator.uuid();\n\n context.setVariable('payload', {\n commands: `forms/designer?id=${id}&strategy=Broadcast`,\n target: 'blank'\n });\n await this.navigation.execute(context);\n\n console.log(`Form opened for ID: ${id}. Waiting for user to close the form...`);\n\n return new Promise((resolve, reject) => {\n this.broadcastService.listen<{ formId: string }>(AXPDesignerMessageKeys.RequestFormContent).subscribe(async (event) => {\n if (event.requestId && event.data.formId == id) {\n const content: string | null = context.getVariable('content') ?? null;\n this.broadcastService.respondToRequest(event.requestId, content);\n context.setOutput(\"result\", true);\n resolve();\n } else {\n context.setOutput(\"result\", false);\n reject('No valid requestId found in the event.');\n }\n });\n\n })\n }\n}\n\nInjectable()\nexport class AXMSaveEmbeddedTemplateDesignerAction extends AXPWorkflowAction {\n private broadcastService = inject(AXPBroadcastEventService);\n\n override async execute(context: AXPWorkflowContext): Promise<void> {\n return new Promise((resolve, reject) => {\n this.broadcastService.listen<AXPDesignerSaveFormMessage>(AXPDesignerMessageKeys.SaveForm).subscribe(async (event) => {\n if (event.data.success) {\n this.broadcastService.respondToRequest(event.requestId!, { success: true });\n context.setVariable('content', event.data.content);\n context.setOutput('result', true)\n }\n else {\n context.setOutput('result', false)\n }\n resolve();\n });\n });\n }\n\n}","import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPDesignerConnector } from '@acorex/platform/layout/designer';\nimport { AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { AXPWorkflowModule } from '@acorex/platform/workflow';\nimport { inject, Injector, NgModule } from '@angular/core';\nimport { ROUTES, Routes } from '@angular/router';\nimport { AXMFormTemplateManagementCategoryEntityModule } from './entities/category';\nimport { AXMFormTemplateManagementTemplateEntityModule } from './entities/template';\nimport { AXMEntityProvider } from './entity.provider';\nimport { AXMMenuProvider } from './menu.provider';\nimport { AXMPermissionDefinitionProvider } from './permission-definition.provider';\n\nimport { AXMSearchCommandProvider } from './search-command.provider';\nimport { AXPTemplateWidgetProviderImpl } from './features/designer/template.provider';\nimport { AXPDesignerConnectorImpl } from './features/designer/designer-connector.service';\nimport { AXMCreateFormTemplateWorkflow, AXMDesignFormTemplateWorkflow, AXP_TEMPLATE_WIDGET_PROVIDER, AXPTemplateDesignerWidget, AXPTemplateWidget } from './features';\nimport { AXMOpenFormTemplateViewerAction, AXMOpenFormTemplateViewerWorkflow } from './features/viewer/workflows/open-template.workflow';\nimport { AXPFormTemplateViewerConnector, AXPFormTemplateViewerConnectorImpl } from './features/viewer/viewer-connector.service';\nimport { AXMOpenEmbeddedTemplateDesignerAction, AXMOpenFormTemplateDesignerAction, AXMSaveEmbeddedTemplateDesignerAction } from './features/designer/workflows/workflow.actions';\n\nfunction routesFacory() {\n const routes: Routes = [\n {\n path: 'forms',\n children: [\n {\n path: 'designer',\n loadComponent: () =>\n import('./features/designer/designer.page').then((c) => c.AXMFormTemplateManagementModuleDesignerPage),\n },\n {\n path: 'preview',\n loadComponent: () =>\n import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewComponent),\n },\n {\n path: 'viewer',\n loadComponent: () =>\n import('@acorex/platform/layout/designer').then((c) => c.AXPLayoutDesignerPreviewViewerComponent),\n },\n ],\n },\n ];\n return routes;\n}\n\n@NgModule({\n imports: [\n AXPWidgetsModule,\n AXMFormTemplateManagementCategoryEntityModule,\n AXMFormTemplateManagementTemplateEntityModule,\n AXPLayoutBuilderModule.forChild({\n widgets: [AXPTemplateDesignerWidget, AXPTemplateWidget],\n }),\n AXPWorkflowModule.forChild({\n actions: {\n 'open-form-template-viewer': AXMOpenFormTemplateViewerAction,\n //\n 'open-form-template-designer': AXMOpenFormTemplateDesignerAction,\n 'open-embedded-template-designer': AXMOpenEmbeddedTemplateDesignerAction,\n //\n 'save-embedded-template-designer': AXMSaveEmbeddedTemplateDesignerAction\n },\n workflows: {\n 'create-form-template': AXMCreateFormTemplateWorkflow,\n 'design-form-template': AXMDesignFormTemplateWorkflow,\n 'open-form-template': AXMOpenFormTemplateViewerWorkflow\n },\n }),\n ],\n exports: [],\n declarations: [],\n providers: [\n {\n provide: ROUTES,\n multi: true,\n useFactory: routesFacory,\n },\n {\n provide: AXP_ENTITY_DEFINITION_LOADER,\n useClass: AXMEntityProvider,\n multi: true,\n },\n {\n provide: AXP_MENU_PROVIDER,\n useClass: AXMMenuProvider,\n multi: true,\n },\n {\n provide: AXPDesignerConnector,\n useClass: AXPDesignerConnectorImpl,\n },\n {\n provide: AXPFormTemplateViewerConnector,\n useClass: AXPFormTemplateViewerConnectorImpl,\n },\n {\n provide: AXP_TEMPLATE_WIDGET_PROVIDER,\n useClass: AXPTemplateWidgetProviderImpl,\n multi: true,\n },\n {\n provide: AXP_SETTING_DEFINITION_PROVIDER,\n useFactory: async () => {\n const injector = inject(Injector);\n const provider = (await import('./settings.provider')).AXMSettingProvider;\n return new provider(injector);\n },\n multi: true,\n },\n {\n provide: AXP_SEARCH_PROVIDER,\n useClass: AXMSearchCommandProvider,\n multi: true,\n },\n {\n provide: AXP_PERMISSION_DEFINITION_PROVIDER,\n useFactory: async () => {\n const injector = inject(Injector);\n const provider = (await import('./permission-definition.provider')).AXMPermissionDefinitionProvider;\n return new provider(injector);\n } ,\n multi: true,\n },\n ],\n})\nexport class AXMFormTemplateManagementModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAA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2
- import { a as AXMFormTemplateManagementCategoryEntityService, R as RootConfig } from './acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs';
2
+ import { a as AXMFormTemplateManagementCategoryEntityService, R as RootConfig } from './acorex-modules-form-template-management-acorex-modules-form-template-management-BL9GxOV_.mjs';
3
3
  import { AXPWidgetsList } from '@acorex/modules/common';
4
4
 
5
5
  async function factory(injector) {
@@ -242,4 +242,4 @@ async function factory(injector) {
242
242
  }
243
243
 
244
244
  export { factory };
245
- //# sourceMappingURL=acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs.map
245
+ //# sourceMappingURL=acorex-modules-form-template-management-category.entity-DgpkNWIh.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/entities/category/category.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\n\nimport { RootConfig } from '../../const';\nimport { AXMFormTemplateManagementCategoryEntityService } from './category.service';\nimport { AXPWidgetsList } from '@acorex/modules/common';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMFormTemplateManagementCategoryEntityService);\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.category.name,\n parentKey: 'parentId',\n source: '',\n title: RootConfig.entities.category.title,\n formats: {\n individual: `t(\"category\", { scope: \"${i18n}\" })`,\n plural: `t(\"categories\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'section',\n title: `t(\"category\", { scope: \"common\" })`,\n },\n ],\n properties: [\n {\n name: 'title',\n title: `t(\"title\",{ scope: \"common\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n width: '400px',\n },\n },\n },\n options: {\n filter: {\n inline: {\n enabled: true,\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'parentId',\n title: `t(\"parentId\",{ scope: \"${i18n}\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.category.name}`,\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n const res = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n return {\n items: res.items.map((item) => ({ ...item, hasChild: item.childCount > 0 })),\n total: res.total,\n };\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'section',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"create\", { scope: \"common\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 't(\"deleteItems\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 't(\"detail\", { scope: \"common\" })',\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 't(\"delete\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 't(\"allItem\", { scope: \"common\" })',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAQO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,8CAA8C,CAAC;AAChF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;AACvC,QAAA,SAAS,EAAE,UAAU;AACrB,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK;AACzC,QAAA,OAAO,EAAE;YACP,UAAU,EAAE,CAA2B,wBAAA,EAAA,IAAI,CAAM,IAAA,CAAA;YACjD,MAAM,EAAE,CAA6B,0BAAA,EAAA,IAAI,CAAM,IAAA,CA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,CAAC,QAAQ;AACtC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,kCAAkC;AACzC,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,kCAAkC;AACzC,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,mCAAmC;AAC1C,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
1
+ {"version":3,"file":"acorex-modules-form-template-management-category.entity-DgpkNWIh.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/entities/category/category.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\n\nimport { RootConfig } from '../../const';\nimport { AXMFormTemplateManagementCategoryEntityService } from './category.service';\nimport { AXPWidgetsList } from '@acorex/modules/common';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMFormTemplateManagementCategoryEntityService);\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.category.name,\n parentKey: 'parentId',\n source: '',\n title: RootConfig.entities.category.title,\n formats: {\n individual: `t(\"category\", { scope: \"${i18n}\" })`,\n plural: `t(\"categories\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'section',\n title: `t(\"category\", { scope: \"common\" })`,\n },\n ],\n properties: [\n {\n name: 'title',\n title: `t(\"title\",{ scope: \"common\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n width: '400px',\n },\n },\n },\n options: {\n filter: {\n inline: {\n enabled: true,\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'parentId',\n title: `t(\"parentId\",{ scope: \"${i18n}\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.category.name}`,\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n const res = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n return {\n items: res.items.map((item) => ({ ...item, hasChild: item.childCount > 0 })),\n total: res.total,\n };\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'parentId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'section',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"create\", { scope: \"common\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 't(\"deleteItems\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 't(\"detail\", { scope: \"common\" })',\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 't(\"delete\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 't(\"allItem\", { scope: \"common\" })',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAQO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,8CAA8C,CAAC;AAChF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAA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AAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,SAAS;AACvC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,uCAAuC;AAC9C,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,QAAQ;AACtC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,kCAAkC;AACzC,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,kCAAkC;AACzC,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,mCAAmC;AAC1C,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -17,10 +17,10 @@ class AXMFormTemplateManagementModuleDesignerPage {
17
17
  ngAfterViewInit() {
18
18
  document.querySelector('html')?.classList.remove('ax-dark');
19
19
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModuleDesignerPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMFormTemplateManagementModuleDesignerPage, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<axp-layout-designer [id]=\"templateId()\" [strategy]=\"strategy()\"> </axp-layout-designer>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXPWidgetsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: AXPLayoutDesignerComponent, selector: "axp-layout-designer", inputs: ["id", "strategy"] }] }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMFormTemplateManagementModuleDesignerPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AXMFormTemplateManagementModuleDesignerPage, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<axp-layout-designer [id]=\"templateId()\" [strategy]=\"strategy()\"> </axp-layout-designer>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXPWidgetsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: AXPLayoutDesignerComponent, selector: "axp-layout-designer", inputs: ["id", "strategy"] }] }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFormTemplateManagementModuleDesignerPage, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMFormTemplateManagementModuleDesignerPage, decorators: [{
24
24
  type: Component,
25
25
  args: [{ imports: [
26
26
  CommonModule,
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
33
33
  }] });
34
34
 
35
35
  export { AXMFormTemplateManagementModuleDesignerPage };
36
- //# sourceMappingURL=acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs.map
36
+ //# sourceMappingURL=acorex-modules-form-template-management-designer.page-BmSMzkbb.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/features/designer/designer.page.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/designer.page.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPLayoutDesignerComponent } from '@acorex/platform/layout/designer';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, signal } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\n@Component({\n templateUrl: 'designer.page.html',\n imports: [\n CommonModule,\n AXDecoratorModule,\n AXPWidgetsModule,\n AXPLayoutBuilderModule,\n AXButtonModule,\n AXPLayoutDesignerComponent,\n ]\n})\nexport class AXMFormTemplateManagementModuleDesignerPage {\n private router = inject(ActivatedRoute);\n protected templateId = signal<string | null>(this.router.snapshot.queryParams['id']);\n protected strategy = signal<string | null>(this.router.snapshot.queryParams['strategy']);\n\n ngAfterViewInit(): void {\n document.querySelector('html')?.classList.remove('ax-dark');\n }\n}\n","<axp-layout-designer [id]=\"templateId()\" [strategy]=\"strategy()\"> </axp-layout-designer>"],"names":[],"mappings":";;;;;;;;;;MAoBa,2CAA2C,CAAA;AAXxD,IAAA,WAAA,GAAA;AAYU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC;A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A,OAAA,EAAA;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,gBAAgB;wBAChB,sBAAsB;wBACtB,cAAc;wBACd,0BAA0B;AAC3B,qBAAA,EAAA,QAAA,EAAA,8FAAA,EAAA;;;;;"}
1
+ {"version":3,"file":"acorex-modules-form-template-management-designer.page-BmSMzkbb.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/features/designer/designer.page.ts","../../../../libs/modules/form-template-management/src/lib/features/designer/designer.page.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';\nimport { AXPLayoutDesignerComponent } from '@acorex/platform/layout/designer';\nimport { AXPWidgetsModule } from '@acorex/platform/widgets';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, signal } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\n@Component({\n templateUrl: 'designer.page.html',\n imports: [\n CommonModule,\n AXDecoratorModule,\n AXPWidgetsModule,\n AXPLayoutBuilderModule,\n AXButtonModule,\n AXPLayoutDesignerComponent,\n ]\n})\nexport class AXMFormTemplateManagementModuleDesignerPage {\n private router = inject(ActivatedRoute);\n protected templateId = signal<string | null>(this.router.snapshot.queryParams['id']);\n protected strategy = signal<string | null>(this.router.snapshot.queryParams['strategy']);\n\n ngAfterViewInit(): void {\n document.querySelector('html')?.classList.remove('ax-dark');\n }\n}\n","<axp-layout-designer [id]=\"templateId()\" [strategy]=\"strategy()\"> </axp-layout-designer>"],"names":[],"mappings":";;;;;;;;;;MAoBa,2CAA2C,CAAA;AAXxD,IAAA,WAAA,GAAA;AAYU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC;AAC7B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAgB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;AAC1E,QAAA,IAAA,CAAA,QAA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;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { AXTranslationService } from '@acorex/core/translation';
2
- import { A as AXMPermissionsKeys } from './acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs';
2
+ import { A as AXMPermissionsKeys } from './acorex-modules-form-template-management-acorex-modules-form-template-management-BL9GxOV_.mjs';
3
3
 
4
4
  class AXMPermissionDefinitionProvider {
5
5
  constructor(injector) {
@@ -28,4 +28,4 @@ class AXMPermissionDefinitionProvider {
28
28
  }
29
29
 
30
30
  export { AXMPermissionDefinitionProvider };
31
- //# sourceMappingURL=acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs.map
31
+ //# sourceMappingURL=acorex-modules-form-template-management-permission-definition.provider-DwpvJvia.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/permission-definition.provider.ts"],"sourcesContent":["import { AXTranslationService } from '@acorex/core/translation';\nimport { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';\nimport { Injector } from '@angular/core';\nimport { AXMPermissionsKeys } from './permission.keys';\n\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n private readonly translateService = this.injector.get(AXTranslationService);\n\n constructor(private injector: Injector) {\n }\n\n\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n\n const trans = async (key: string) => await this.translateService.translateAsync(`permissions.form-template.${key}`, { scope: 'form-template-management' });\n\n const keys = AXMPermissionsKeys.FormTemplate;\n\n context.addGroup(keys.Management, await trans('manage.title'), await trans('manage.description'))\n // \n .addPermission(keys.Templates.Management, await trans('templates.manage.title'), await trans('templates.manage.description'))\n .addChild(keys.Templates.View, await trans('templates.view.title'), await trans('templates.view.description'))\n .addChild(keys.Templates.Edit, await trans('templates.edit.title'), await trans('templates.edit.description'))\n .addChild(keys.Templates.Delete, await trans('templates.delete.title'), await trans('templates.delete.description'))\n .addChild(keys.Templates.Create, await trans('templates.create.title'), await trans('templates.create.description'))\n .endPermission()\n //\n .addPermission(keys.Categories.Management, await trans('categories.manage.title'), await trans('categories.manage.description'))\n .addChild(keys.Categories.View, await trans('categories.view.title'), await trans('categories.view.description'))\n .addChild(keys.Categories.Edit, await trans('categories.edit.title'), await trans('categories.edit.description'))\n .addChild(keys.Categories.Delete, await trans('categories.delete.title'), await trans('categories.delete.description'))\n .addChild(keys.Categories.Create, await trans('categories.create.title'), await trans('categories.create.description'))\n .endPermission()\n\n }\n}\n"],"names":[],"mappings":";;;MAKa,+BAA+B,CAAA;AAG1C,IAAA,WAAA,CAAoB,QAAkB,EAAA;QAAlB,IAAQ,CAAA,QAAA,GAAR,QAAQ;QAFX,IAAgB,CAAA,gBAAA,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC;;IAM3E,MAAM,MAAM,CAAC,OAA+C,EAAA;QAE1D,MAAM,KAAK,GAAG,OAAO,GAAW,KAAK,MAAM,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAA6B,0BAAA,EAAA,GAAG,CAAE,CAAA,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE,CAAC;AAE1J,QAAA,MAAM,IAAI,GAAG,kBAAkB,CAAC,YAAY;AAE5C,QAAA,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,KAAK,CAAC,cAAc,CAAC,EAAE,MAAM,KAAK,CAAC,oBAAoB,CAAC;;AAE7F,aAAA,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,MAAM,KAAK,CAAC,wBAAwB,CAAC,EAAE,MAAM,KAAK,CAAC,8BAA8B,CAAC;AAC3H,aAAA,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,sBAAsB,CAAC,EAAE,MAAM,KAAK,CAAC,4BAA4B,CAAC;AAC5G,aAAA,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,sBAAsB,CAAC,EAAE,MAAM,KAAK,CAAC,4BAA4B,CAAC;AAC5G,aAAA,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,wBAAwB,CAAC,EAAE,MAAM,KAAK,CAAC,8BAA8B,CAAC;AAClH,aAAA,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,wBAAwB,CAAC,EAAE,MAAM,KAAK,CAAC,8BAA8B,CAAC;AAClH,aAAA,aAAa;;AAEb,aAAA,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,MAAM,KAAK,CAAC,yBAAyB,CAAC,EAAE,MAAM,KAAK,CAAC,+BAA+B,CAAC;AAC9H,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,uBAAuB,CAAC,EAAE,MAAM,KAAK,CAAC,6BAA6B,CAAC;AAC/G,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,uBAAuB,CAAC,EAAE,MAAM,KAAK,CAAC,6BAA6B,CAAC;AAC/G,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,yBAAyB,CAAC,EAAE,MAAM,KAAK,CAAC,+BAA+B,CAAC;AACrH,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,yBAAyB,CAAC,EAAE,MAAM,KAAK,CAAC,+BAA+B,CAAC;AACrH,aAAA,aAAa,EAAE;;AAGrB;;;;"}
1
+ {"version":3,"file":"acorex-modules-form-template-management-permission-definition.provider-DwpvJvia.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/permission-definition.provider.ts"],"sourcesContent":["import { AXTranslationService } from '@acorex/core/translation';\nimport { AXPPermissionDefinitionProvider, AXPPermissionDefinitionProviderContext } from '@acorex/platform/auth';\nimport { Injector } from '@angular/core';\nimport { AXMPermissionsKeys } from './permission.keys';\n\nexport class AXMPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n private readonly translateService = this.injector.get(AXTranslationService);\n\n constructor(private injector: Injector) {\n }\n\n\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n\n const trans = async (key: string) => await this.translateService.translateAsync(`permissions.form-template.${key}`, { scope: 'form-template-management' });\n\n const keys = AXMPermissionsKeys.FormTemplate;\n\n context.addGroup(keys.Management, await trans('manage.title'), await trans('manage.description'))\n // \n .addPermission(keys.Templates.Management, await trans('templates.manage.title'), await trans('templates.manage.description'))\n .addChild(keys.Templates.View, await trans('templates.view.title'), await trans('templates.view.description'))\n .addChild(keys.Templates.Edit, await trans('templates.edit.title'), await trans('templates.edit.description'))\n .addChild(keys.Templates.Delete, await trans('templates.delete.title'), await trans('templates.delete.description'))\n .addChild(keys.Templates.Create, await trans('templates.create.title'), await trans('templates.create.description'))\n .endPermission()\n //\n .addPermission(keys.Categories.Management, await trans('categories.manage.title'), await trans('categories.manage.description'))\n .addChild(keys.Categories.View, await trans('categories.view.title'), await trans('categories.view.description'))\n .addChild(keys.Categories.Edit, await trans('categories.edit.title'), await trans('categories.edit.description'))\n .addChild(keys.Categories.Delete, await trans('categories.delete.title'), await trans('categories.delete.description'))\n .addChild(keys.Categories.Create, await trans('categories.create.title'), await trans('categories.create.description'))\n .endPermission()\n\n }\n}\n"],"names":[],"mappings":";;;MAKa,+BAA+B,CAAA;AAG1C,IAAA,WAAA,CAAoB,QAAkB,EAAA;QAAlB,IAAQ,CAAA,QAAA,GAAR,QAAQ;QAFX,IAAgB,CAAA,gBAAA,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC;;IAM3E,MAAM,MAAM,CAAC,OAA+C,EAAA;QAE1D,MAAM,KAAK,GAAG,O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,CAAC,EAAE,MAAM,KAAK,CAAC,6BAA6B,CAAC;AAC/G,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,uBAAuB,CAAC,EAAE,MAAM,KAAK,CAAC,6BAA6B,CAAC;AAC/G,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,yBAAyB,CAAC,EAAE,MAAM,KAAK,CAAC,+BAA+B,CAAC;AACrH,aAAA,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,yBAAyB,CAAC,EAAE,MAAM,KAAK,CAAC,+BAA+B,CAAC;AACrH,aAAA,aAAa,EAAE;;AAGrB;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
2
- import { R as RootConfig } from './acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs';
2
+ import { R as RootConfig } from './acorex-modules-form-template-management-acorex-modules-form-template-management-BL9GxOV_.mjs';
3
3
  import { AXTranslationService } from '@acorex/core/translation';
4
4
 
5
5
  var AXPFormTemplateSettings;
@@ -73,4 +73,4 @@ class AXMSettingProvider {
73
73
  }
74
74
 
75
75
  export { AXMSettingProvider };
76
- //# sourceMappingURL=acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs.map
76
+ //# sourceMappingURL=acorex-modules-form-template-management-settings.provider-BDlPJPWl.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/settings.keys.ts","../../../../libs/modules/form-template-management/src/lib/settings.provider.ts"],"sourcesContent":["export enum AXPFormTemplateSettings {\n HistoryPanel = 'form-template:designer:history-panel',\n AutoSave = 'form-template:designer:auto-save',\n AutoSaveInterval = 'form-template:designer:auto-save-interval',\n AutoSaveTimeout = 'form-template:designer:auto-save-timeout',\n}\n\n\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { RootConfig } from './const';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { Injector } from '@angular/core';\nimport { AXPFormTemplateSettings } from './settings.keys';\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly translateService = this.injector.get(AXTranslationService);\n\n constructor(private injector: Injector) { }\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n const trans = async (key: string) => await this.translateService.translateAsync(`settings.form-template.${key}`, { scope: 'form-template-management' });\n\n context\n // Add Form Template Group\n .addGroup('form-template', await trans('title'), await trans('description'), RootConfig.module.icon)\n\n // Start Interface Section\n .addSection('designer', await trans('designer.title'), await trans('designer.description'))\n .addSetting({\n key: AXPFormTemplateSettings.HistoryPanel,\n title: await trans('designer.history-panel.title'),\n scope: 'U',\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n },\n description: await trans('designer.history-panel.description'),\n validationRules: [\n {\n rule: 'required',\n },\n ],\n })\n .addSetting({\n key: AXPFormTemplateSettings.AutoSave,\n title: await trans('designer.auto-save.title'),\n scope: 'U',\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n },\n description: await trans('designer.auto-save.description'),\n })\n .addSetting({\n key: AXPFormTemplateSettings.AutoSaveInterval,\n title: await trans('designer.auto-save-interval.title'),\n scope: 'U',\n isInherited: true,\n defaultValue: 1,\n widget: {\n type: AXPWidgetsCatalog.number,\n options: {\n visibility: `{{ context.eval('designer.auto-save') }}`,\n hasClearButton: false,\n minValue: 1,\n maxValue: 60,\n }\n },\n description: await trans('designer.auto-save-interval.description'),\n })\n .endSection()\n\n // End Form Template Group\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;AAAA,IAAY,uBAKX;AALD,CAAA,UAAY,uBAAuB,EAAA;AAC/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,KAAK,CAAC,oCAAoC,CAAC;AAC9D,YAAA,eAAe,EAAE;AACf,gBAAA;AACE,oBAAA,IAAI,EAAE,UAAU;AACjB,iBAAA;AACF,aAAA;SACF;AACA,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,uBAAuB,CAAC,QAAQ;AACrC,YAAA,KAAK,EAAE,MAAM,KAAK,CAAC,0BAA0B,CAAC;AAC9C,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,YAAY,EAAE,KAAK;AACnB,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB,CAAC,MAAM;AAC/B,aAAA;AACD,YAAA,WAAW,EAAE,MAAM,KAAK,CAAC,gCAAgC,CAAC;SAC3D;AACA,aAAA,UAAU,CAAC;YACV,GAAG,EAAE,uBAAuB,CAAC,gBAAgB;AAC7C,YAAA,KAAK,EAAE,MAAM,KAAK,CAAC,mCAAmC,CAAC;AACvD,YAAA,KAAK,EAAE,GAAG;AACV,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,YAAY,EAAE,CAAC;AACf,YAAA,MAAM,EAAE;gBACN,IAAI,EAAE,iBAAiB,CAAC,MAAM;AAC9B,gBAAA,OAAO,EAAE;AACP,oBAAA,UAAU,EAAE,CAA0C,wCAAA,CAAA;AACtD,oBAAA,cAAc,EAAE,KAAK;AACrB,oBAAA,QAAQ,EAAE,CAAC;AACX,oBAAA,QAAQ,EAAE,EAAE;AACb;AACF,aAAA;AACD,YAAA,WAAW,EAAE,MAAM,KAAK,CAAC,yCAAyC,CAAC;SACpE;AACA,aAAA,UAAU;;AAGV,aAAA,QAAQ,EAAE;;AAEhB;;;;"}
1
+ {"version":3,"file":"acorex-modules-form-template-management-settings.provider-BDlPJPWl.mjs","sources":["../../../../libs/modules/form-template-management/src/lib/settings.keys.ts","../../../../libs/modules/form-template-management/src/lib/settings.provider.ts"],"sourcesContent":["export enum AXPFormTemplateSettings {\n HistoryPanel = 'form-template:designer:history-panel',\n AutoSave = 'form-template:designer:auto-save',\n AutoSaveInterval = 'form-template:designer:auto-save-interval',\n AutoSaveTimeout = 'form-template:designer:auto-save-timeout',\n}\n\n\n","import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { RootConfig } from './const';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { Injector } from '@angular/core';\nimport { AXPFormTemplateSettings } from './settings.keys';\nexport class AXMSettingProvider implements AXPSettingDefinitionProvider {\n private readonly translateService = this.injector.get(AXTranslationService);\n\n constructor(private injector: Injector) { }\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n const trans = async (key: string) => await this.translateService.translateAsync(`settings.form-template.${key}`, { scope: 'form-template-management' });\n\n context\n // Add Form Template Group\n .addGroup('form-template', await trans('title'), await trans('description'), RootConfig.module.icon)\n\n // Start Interface Section\n .addSection('designer', await trans('designer.title'), await trans('designer.description'))\n .addSetting({\n key: AXPFormTemplateSettings.HistoryPanel,\n title: await trans('designer.history-panel.title'),\n scope: 'U',\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n },\n description: await trans('designer.history-panel.description'),\n validationRules: [\n {\n rule: 'required',\n },\n ],\n })\n .addSetting({\n key: AXPFormTemplateSettings.AutoSave,\n title: await trans('designer.auto-save.title'),\n scope: 'U',\n isInherited: true,\n defaultValue: false,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n },\n description: await trans('designer.auto-save.description'),\n })\n .addSetting({\n key: AXPFormTemplateSettings.AutoSaveInterval,\n title: await trans('designer.auto-save-interval.title'),\n scope: 'U',\n isInherited: true,\n defaultValue: 1,\n widget: {\n type: AXPWidgetsCatalog.number,\n options: {\n visibility: `{{ context.eval('designer.auto-save') }}`,\n hasClearButton: false,\n minValue: 1,\n maxValue: 60,\n }\n },\n description: await trans('designer.auto-save-interval.description'),\n })\n .endSection()\n\n // End Form Template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