@acorex/modules 20.0.25 → 20.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/auth/index.d.ts +57 -4
  2. package/common/index.d.ts +8 -1
  3. package/data-management/index.d.ts +401 -3
  4. package/fesm2022/{acorex-modules-application-management-module-designer.component-BvuZJdwg.mjs → acorex-modules-application-management-module-designer.component-udoks-Ef.mjs} +17 -17
  5. package/fesm2022/acorex-modules-application-management-module-designer.component-udoks-Ef.mjs.map +1 -0
  6. package/fesm2022/acorex-modules-application-management.mjs +53 -53
  7. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  8. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DqsEqXec.mjs → acorex-modules-auth-acorex-modules-auth-5TIjp5UG.mjs} +182 -123
  9. package/fesm2022/acorex-modules-auth-acorex-modules-auth-5TIjp5UG.mjs.map +1 -0
  10. package/fesm2022/{acorex-modules-auth-app-chooser.component-D0pKNUts.mjs → acorex-modules-auth-app-chooser.component-B0w1Xzx7.mjs} +6 -6
  11. package/fesm2022/{acorex-modules-auth-app-chooser.component-D0pKNUts.mjs.map → acorex-modules-auth-app-chooser.component-B0w1Xzx7.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-auth-blank.layout-BwVSMaFI.mjs → acorex-modules-auth-blank.layout-C8NsXB9K.mjs} +5 -5
  13. package/fesm2022/{acorex-modules-auth-blank.layout-BwVSMaFI.mjs.map → acorex-modules-auth-blank.layout-C8NsXB9K.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-auth-login.module-Dky49ylL.mjs → acorex-modules-auth-login.module-B8sVVZHV.mjs} +8 -8
  15. package/fesm2022/{acorex-modules-auth-login.module-Dky49ylL.mjs.map → acorex-modules-auth-login.module-B8sVVZHV.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-auth-master.layout-DXfRjCLL.mjs → acorex-modules-auth-master.layout-CMKxj1Qo.mjs} +7 -7
  17. package/fesm2022/{acorex-modules-auth-master.layout-DXfRjCLL.mjs.map → acorex-modules-auth-master.layout-CMKxj1Qo.mjs.map} +1 -1
  18. package/fesm2022/acorex-modules-auth-oauth-callback.component-C95YLpI_.mjs +101 -0
  19. package/fesm2022/acorex-modules-auth-oauth-callback.component-C95YLpI_.mjs.map +1 -0
  20. package/fesm2022/{acorex-modules-auth-password.component-oH5OFHqQ.mjs → acorex-modules-auth-password.component-DH0qKunk.mjs} +9 -9
  21. package/fesm2022/{acorex-modules-auth-password.component-oH5OFHqQ.mjs.map → acorex-modules-auth-password.component-DH0qKunk.mjs.map} +1 -1
  22. package/fesm2022/acorex-modules-auth-password.component-Du0EBIiw.mjs +239 -0
  23. package/fesm2022/acorex-modules-auth-password.component-Du0EBIiw.mjs.map +1 -0
  24. package/fesm2022/{acorex-modules-auth-routes-DAiaTm4Y.mjs → acorex-modules-auth-routes-Q9zaIiBS.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-auth-routes-DAiaTm4Y.mjs.map → acorex-modules-auth-routes-Q9zaIiBS.mjs.map} +1 -1
  26. package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs.map +1 -1
  27. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-3-FFY4tI.mjs → acorex-modules-auth-tenant-chooser.component-wp7OOLsH.mjs} +16 -13
  28. package/fesm2022/acorex-modules-auth-tenant-chooser.component-wp7OOLsH.mjs.map +1 -0
  29. package/fesm2022/{acorex-modules-auth-two-factor-code.component-UUmdX7IM.mjs → acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs} +7 -7
  30. package/fesm2022/{acorex-modules-auth-two-factor-code.component-UUmdX7IM.mjs.map → acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs.map} +1 -1
  31. package/fesm2022/{acorex-modules-auth-two-factor.module-Coe4NNUW.mjs → acorex-modules-auth-two-factor.module-oRixkeAn.mjs} +7 -7
  32. package/fesm2022/{acorex-modules-auth-two-factor.module-Coe4NNUW.mjs.map → acorex-modules-auth-two-factor.module-oRixkeAn.mjs.map} +1 -1
  33. package/fesm2022/acorex-modules-auth-user-sessions.component-8wwWI0cQ.mjs +135 -0
  34. package/fesm2022/acorex-modules-auth-user-sessions.component-8wwWI0cQ.mjs.map +1 -0
  35. package/fesm2022/acorex-modules-auth.mjs +1 -1
  36. package/fesm2022/acorex-modules-calendar-management.mjs +19 -19
  37. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  38. package/fesm2022/acorex-modules-common-acorex-modules-common-DQESb8jf.mjs +1667 -0
  39. package/fesm2022/acorex-modules-common-acorex-modules-common-DQESb8jf.mjs.map +1 -0
  40. package/fesm2022/{acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs → acorex-modules-common-search-popup.component-CpFvcrxw.mjs} +13 -13
  41. package/fesm2022/acorex-modules-common-search-popup.component-CpFvcrxw.mjs.map +1 -0
  42. package/fesm2022/{acorex-modules-platform-management-settings.provider-intHn3XI.mjs → acorex-modules-common-settings.provider-ha75F6g5.mjs} +2 -3
  43. package/fesm2022/acorex-modules-common-settings.provider-ha75F6g5.mjs.map +1 -0
  44. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-D48aDOVu.mjs → acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs} +11 -11
  45. package/fesm2022/acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs.map +1 -0
  46. package/fesm2022/acorex-modules-common.mjs +1 -1199
  47. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  48. package/fesm2022/{acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs → acorex-modules-contact-management-acorex-modules-contact-management-CM72FkGM.mjs} +47 -222
  49. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-CM72FkGM.mjs.map +1 -0
  50. package/fesm2022/{acorex-modules-contact-management-address-type.entity-CWIBwWfZ.mjs → acorex-modules-contact-management-address-type.entity-CW0fx3v8.mjs} +2 -2
  51. package/fesm2022/{acorex-modules-contact-management-address-type.entity-CWIBwWfZ.mjs.map → acorex-modules-contact-management-address-type.entity-CW0fx3v8.mjs.map} +1 -1
  52. package/fesm2022/{acorex-modules-contact-management-contact-address.entity-DO6GizbS.mjs → acorex-modules-contact-management-contact-address.entity-D5OGWsSx.mjs} +2 -2
  53. package/fesm2022/{acorex-modules-contact-management-contact-address.entity-DO6GizbS.mjs.map → acorex-modules-contact-management-contact-address.entity-D5OGWsSx.mjs.map} +1 -1
  54. package/fesm2022/{acorex-modules-contact-management-contact-method.entity-tEtMSV4f.mjs → acorex-modules-contact-management-contact-method.entity-Cpdd-Xwb.mjs} +2 -2
  55. package/fesm2022/{acorex-modules-contact-management-contact-method.entity-tEtMSV4f.mjs.map → acorex-modules-contact-management-contact-method.entity-Cpdd-Xwb.mjs.map} +1 -1
  56. package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-C-B5aOoq.mjs → acorex-modules-contact-management-contact-relationship.entity-B_gQ7mEo.mjs} +2 -2
  57. package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-C-B5aOoq.mjs.map → acorex-modules-contact-management-contact-relationship.entity-B_gQ7mEo.mjs.map} +1 -1
  58. package/fesm2022/{acorex-modules-contact-management-contact-source.entity-Dw8jwcox.mjs → acorex-modules-contact-management-contact-source.entity-BwYBaS8B.mjs} +2 -2
  59. package/fesm2022/{acorex-modules-contact-management-contact-source.entity-Dw8jwcox.mjs.map → acorex-modules-contact-management-contact-source.entity-BwYBaS8B.mjs.map} +1 -1
  60. package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-BJOOhcD1.mjs → acorex-modules-contact-management-emergency-contact-category.entity-CDbm4Rq3.mjs} +2 -2
  61. package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-BJOOhcD1.mjs.map → acorex-modules-contact-management-emergency-contact-category.entity-CDbm4Rq3.mjs.map} +1 -1
  62. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs → acorex-modules-contact-management-emergency-contact.entity-BpNDJPVs.mjs} +2 -2
  63. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs.map → acorex-modules-contact-management-emergency-contact.entity-BpNDJPVs.mjs.map} +1 -1
  64. package/fesm2022/acorex-modules-contact-management.mjs +1 -1
  65. package/fesm2022/acorex-modules-content-management.mjs +14 -14
  66. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  67. package/fesm2022/acorex-modules-conversation.mjs +123 -123
  68. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  69. package/fesm2022/acorex-modules-dashboard-management.mjs +191 -191
  70. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  71. package/fesm2022/acorex-modules-data-management.mjs +2215 -265
  72. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  73. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Bte3VGKC.mjs → acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs} +144 -144
  74. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs.map +1 -0
  75. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Cc0anIMV.mjs → acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs} +5 -5
  76. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Cc0anIMV.mjs.map → acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs.map} +1 -1
  77. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BNcu8bzT.mjs → acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs} +22 -22
  78. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs.map +1 -0
  79. package/fesm2022/{acorex-modules-document-management-details-view.component-BeN0NPcy.mjs → acorex-modules-document-management-details-view.component-bzA7fJZW.mjs} +5 -5
  80. package/fesm2022/{acorex-modules-document-management-details-view.component-BeN0NPcy.mjs.map → acorex-modules-document-management-details-view.component-bzA7fJZW.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-document-management-drive-choose.component-B66wODCQ.mjs → acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs} +18 -18
  82. package/fesm2022/acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs.map +1 -0
  83. package/fesm2022/{acorex-modules-document-management-drive.component-CUej0GjY.mjs → acorex-modules-document-management-drive.component-DrkSd6Rv.mjs} +28 -28
  84. package/fesm2022/acorex-modules-document-management-drive.component-DrkSd6Rv.mjs.map +1 -0
  85. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BuwrkLhe.mjs → acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs} +5 -5
  86. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BuwrkLhe.mjs.map → acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs.map} +1 -1
  87. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cs-mjiQX.mjs → acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs} +5 -5
  88. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cs-mjiQX.mjs.map → acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs.map} +1 -1
  89. package/fesm2022/{acorex-modules-document-management-link-dialog.component-OTa8ttto.mjs → acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs} +5 -5
  90. package/fesm2022/{acorex-modules-document-management-link-dialog.component-OTa8ttto.mjs.map → acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs.map} +1 -1
  91. package/fesm2022/{acorex-modules-document-management-list-view.component-1M2rIOGv.mjs → acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs} +5 -5
  92. package/fesm2022/{acorex-modules-document-management-list-view.component-1M2rIOGv.mjs.map → acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs.map} +1 -1
  93. package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-DsSo15AL.mjs → acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs} +20 -20
  94. package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs.map +1 -0
  95. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-gunvY9et.mjs → acorex-modules-document-management-meta-selector-widget-column.component-C_J1rPak.mjs} +4 -4
  96. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-gunvY9et.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-C_J1rPak.mjs.map} +1 -1
  97. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-B-fYrGs1.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-By_NgUX6.mjs} +7 -7
  98. package/fesm2022/acorex-modules-document-management-meta-selector-widget-designer.component-By_NgUX6.mjs.map +1 -0
  99. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-D4gu7liQ.mjs → acorex-modules-document-management-meta-selector-widget-view.component-zwCw3v1w.mjs} +4 -4
  100. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-D4gu7liQ.mjs.map → acorex-modules-document-management-meta-selector-widget-view.component-zwCw3v1w.mjs.map} +1 -1
  101. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BEq3ySY3.mjs → acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs} +2 -2
  102. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BEq3ySY3.mjs.map → acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs.map} +1 -1
  103. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DWzD41AV.mjs → acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs} +15 -15
  104. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs.map +1 -0
  105. package/fesm2022/{acorex-modules-document-management-share-dialog.component-DiyR6CiE.mjs → acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs} +6 -6
  106. package/fesm2022/{acorex-modules-document-management-share-dialog.component-DiyR6CiE.mjs.map → acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs.map} +1 -1
  107. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-CKlG3YwB.mjs → acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs} +5 -5
  108. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-CKlG3YwB.mjs.map → acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs.map} +1 -1
  109. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Dh5Di_2Y.mjs → acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs} +5 -5
  110. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Dh5Di_2Y.mjs.map → acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs.map} +1 -1
  111. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-mOjQbw-f.mjs → acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs} +5 -5
  112. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-mOjQbw-f.mjs.map → acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs.map} +1 -1
  113. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  114. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-EsaVgkdd.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-zz8KU2BM.mjs} +68 -68
  115. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-zz8KU2BM.mjs.map +1 -0
  116. package/fesm2022/{acorex-modules-form-template-management-category.entity-CC0qe4pv.mjs → acorex-modules-form-template-management-category.entity-g5YGQjj3.mjs} +2 -2
  117. package/fesm2022/{acorex-modules-form-template-management-category.entity-CC0qe4pv.mjs.map → acorex-modules-form-template-management-category.entity-g5YGQjj3.mjs.map} +1 -1
  118. package/fesm2022/{acorex-modules-form-template-management-designer.page-B14QVCAw.mjs → acorex-modules-form-template-management-designer.page-DQorNK3f.mjs} +6 -6
  119. package/fesm2022/acorex-modules-form-template-management-designer.page-DQorNK3f.mjs.map +1 -0
  120. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BMd6DvoR.mjs → acorex-modules-form-template-management-permission-definition.provider-BFPqDVO3.mjs} +2 -2
  121. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BMd6DvoR.mjs.map → acorex-modules-form-template-management-permission-definition.provider-BFPqDVO3.mjs.map} +1 -1
  122. package/fesm2022/{acorex-modules-form-template-management-settings.provider-BYS5t4c_.mjs → acorex-modules-form-template-management-settings.provider-DYbrgJI7.mjs} +2 -2
  123. package/fesm2022/{acorex-modules-form-template-management-settings.provider-BYS5t4c_.mjs.map → acorex-modules-form-template-management-settings.provider-DYbrgJI7.mjs.map} +1 -1
  124. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-C0mLCsFT.mjs → acorex-modules-form-template-management-template-picker.component-DgH_DUIB.mjs} +14 -14
  125. package/fesm2022/acorex-modules-form-template-management-template-picker.component-DgH_DUIB.mjs.map +1 -0
  126. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CffnsEo2.mjs → acorex-modules-form-template-management-template-widget-edit.component-CCL7xNSm.mjs} +9 -9
  127. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CCL7xNSm.mjs.map +1 -0
  128. package/fesm2022/{acorex-modules-form-template-management-template.entity-DTx9CejD.mjs → acorex-modules-form-template-management-template.entity-XNBsmQZY.mjs} +2 -2
  129. package/fesm2022/{acorex-modules-form-template-management-template.entity-DTx9CejD.mjs.map → acorex-modules-form-template-management-template.entity-XNBsmQZY.mjs.map} +1 -1
  130. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-BwVSDsN3.mjs → acorex-modules-form-template-management-viewer-popup.component-Bw9VbGx7.mjs} +12 -12
  131. package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-Bw9VbGx7.mjs.map +1 -0
  132. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  133. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DKdtV_QL.mjs → acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs} +45 -45
  134. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DKdtV_QL.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs.map} +1 -1
  135. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CucnKDr1.mjs → acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs} +7 -7
  136. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CucnKDr1.mjs.map → acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs.map} +1 -1
  137. package/fesm2022/acorex-modules-issue-management.mjs +1 -1
  138. package/fesm2022/acorex-modules-log-management.mjs +427 -479
  139. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  140. package/fesm2022/acorex-modules-notification-management.mjs +60 -60
  141. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  142. package/fesm2022/{acorex-modules-organization-management-add-item.component-Br70YGJS.mjs → acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs} +16 -16
  143. package/fesm2022/{acorex-modules-organization-management-add-item.component-Br70YGJS.mjs.map → acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs.map} +1 -1
  144. package/fesm2022/{acorex-modules-organization-management-branch.entity-Bsgj4Pow.mjs → acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs} +80 -6
  145. package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +1 -0
  146. package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +1 -1
  147. package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +1 -1
  148. package/fesm2022/{acorex-modules-organization-management-department.entity-BMojk26d.mjs → acorex-modules-organization-management-department.entity-BxCyXNtv.mjs} +68 -7
  149. package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +1 -0
  150. package/fesm2022/{acorex-modules-organization-management-division.entity-BnWpX4US.mjs → acorex-modules-organization-management-division.entity-DzQT2jpz.mjs} +68 -6
  151. package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +1 -0
  152. package/fesm2022/{acorex-modules-organization-management-employee.entity-DBuCVYZP.mjs → acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs} +152 -28
  153. package/fesm2022/acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs.map +1 -0
  154. package/fesm2022/{acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs → acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs} +21 -8
  155. package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +1 -0
  156. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DHu4UuxD.mjs → acorex-modules-organization-management-org-chart-configuration.page-a2JPiCy9.mjs} +6 -6
  157. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-a2JPiCy9.mjs.map +1 -0
  158. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-CcZMGyCz.mjs → acorex-modules-organization-management-org-chart-configuration.service-BkfSow3s.mjs} +5 -5
  159. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-BkfSow3s.mjs.map +1 -0
  160. package/fesm2022/{acorex-modules-organization-management-org-chart.page-CSMTnTDi.mjs → acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs} +20 -20
  161. package/fesm2022/acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs.map +1 -0
  162. package/fesm2022/{acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs → acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs} +20 -35
  163. package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +1 -0
  164. package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs +526 -0
  165. package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +1 -0
  166. package/fesm2022/{acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs → acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs} +12 -25
  167. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +1 -0
  168. package/fesm2022/{acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs → acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs} +70 -25
  169. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +1 -0
  170. package/fesm2022/{acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs → acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs} +22 -14
  171. package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +1 -0
  172. package/fesm2022/{acorex-modules-organization-management-position.entity-CY4TugWR.mjs → acorex-modules-organization-management-role.entity-CruQeObl.mjs} +77 -79
  173. package/fesm2022/acorex-modules-organization-management-role.entity-CruQeObl.mjs.map +1 -0
  174. package/fesm2022/acorex-modules-organization-management-settings.provider-hlbUXugb.mjs.map +1 -1
  175. package/fesm2022/{acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs → acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs} +18 -33
  176. package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +1 -0
  177. package/fesm2022/{acorex-modules-organization-management-skill.entity-D9XojzUV.mjs → acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs} +61 -22
  178. package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +1 -0
  179. package/fesm2022/{acorex-modules-organization-management-team.entity-mYPhrc2l.mjs → acorex-modules-organization-management-team.entity-DMCfAZsr.mjs} +58 -10
  180. package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +1 -0
  181. package/fesm2022/acorex-modules-organization-management.mjs +221 -136
  182. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  183. package/fesm2022/{acorex-modules-platform-management-list-version.component-CgF5pvTa.mjs → acorex-modules-platform-management-list-version.component-BOfUQDwo.mjs} +9 -9
  184. package/fesm2022/acorex-modules-platform-management-list-version.component-BOfUQDwo.mjs.map +1 -0
  185. package/fesm2022/acorex-modules-platform-management.mjs +3479 -1
  186. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  187. package/fesm2022/acorex-modules-project-management.mjs +43 -43
  188. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  189. package/fesm2022/{acorex-modules-report-management-report-create-root.component-DqrLa6vh.mjs → acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs} +10 -10
  190. package/fesm2022/acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs.map +1 -0
  191. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-C3UP9Jsi.mjs → acorex-modules-report-management-report-runner-root-page.component-DHu-kyCd.mjs} +13 -13
  192. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-C3UP9Jsi.mjs.map → acorex-modules-report-management-report-runner-root-page.component-DHu-kyCd.mjs.map} +1 -1
  193. package/fesm2022/acorex-modules-report-management.mjs +465 -232
  194. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  195. package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
  196. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  197. package/fesm2022/acorex-modules-security-management.mjs +170 -102
  198. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  199. package/fesm2022/{acorex-modules-settings-management-setting-page.component-BbnEqXKu.mjs → acorex-modules-settings-management-setting-page.component-cG4ykm2g.mjs} +17 -17
  200. package/fesm2022/acorex-modules-settings-management-setting-page.component-cG4ykm2g.mjs.map +1 -0
  201. package/fesm2022/{acorex-modules-settings-management-setting-view.component-DP8mxDK9.mjs → acorex-modules-settings-management-setting-view.component-CrEK2N1U.mjs} +11 -11
  202. package/fesm2022/acorex-modules-settings-management-setting-view.component-CrEK2N1U.mjs.map +1 -0
  203. package/fesm2022/acorex-modules-settings-management.mjs +6 -6
  204. package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
  205. package/fesm2022/acorex-modules-text-template-management-settings.provider-fX0dhWUL.mjs.map +1 -1
  206. package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
  207. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  208. package/fesm2022/acorex-modules-training-management.mjs +43 -43
  209. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  210. package/fesm2022/{acorex-modules-workflow-management-task-board.page-zaSchG-u.mjs → acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs} +123 -133
  211. package/fesm2022/acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs.map +1 -0
  212. package/fesm2022/acorex-modules-workflow-management.mjs +12 -12
  213. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  214. package/log-management/index.d.ts +46 -19
  215. package/organization-management/index.d.ts +41 -13
  216. package/package.json +1 -1
  217. package/platform-management/index.d.ts +8 -277
  218. package/report-management/index.d.ts +180 -126
  219. package/security-management/index.d.ts +2 -46
  220. package/fesm2022/acorex-modules-application-management-module-designer.component-BvuZJdwg.mjs.map +0 -1
  221. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DqsEqXec.mjs.map +0 -1
  222. package/fesm2022/acorex-modules-auth-password.component-BbsQWpEh.mjs +0 -134
  223. package/fesm2022/acorex-modules-auth-password.component-BbsQWpEh.mjs.map +0 -1
  224. package/fesm2022/acorex-modules-auth-tenant-chooser.component-3-FFY4tI.mjs.map +0 -1
  225. package/fesm2022/acorex-modules-auth-user-sessions.component-CtTrstZT.mjs +0 -135
  226. package/fesm2022/acorex-modules-auth-user-sessions.component-CtTrstZT.mjs.map +0 -1
  227. package/fesm2022/acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs.map +0 -1
  228. package/fesm2022/acorex-modules-common-timeline-version-history-popup.component-D48aDOVu.mjs.map +0 -1
  229. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs.map +0 -1
  230. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-Bte3VGKC.mjs.map +0 -1
  231. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BNcu8bzT.mjs.map +0 -1
  232. package/fesm2022/acorex-modules-document-management-drive-choose.component-B66wODCQ.mjs.map +0 -1
  233. package/fesm2022/acorex-modules-document-management-drive.component-CUej0GjY.mjs.map +0 -1
  234. package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DsSo15AL.mjs.map +0 -1
  235. package/fesm2022/acorex-modules-document-management-meta-selector-widget-designer.component-B-fYrGs1.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-DWzD41AV.mjs.map +0 -1
  237. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-EsaVgkdd.mjs.map +0 -1
  238. package/fesm2022/acorex-modules-form-template-management-designer.page-B14QVCAw.mjs.map +0 -1
  239. package/fesm2022/acorex-modules-form-template-management-template-picker.component-C0mLCsFT.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CffnsEo2.mjs.map +0 -1
  241. package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-BwVSDsN3.mjs.map +0 -1
  242. package/fesm2022/acorex-modules-organization-management-branch.entity-Bsgj4Pow.mjs.map +0 -1
  243. package/fesm2022/acorex-modules-organization-management-department.entity-BMojk26d.mjs.map +0 -1
  244. package/fesm2022/acorex-modules-organization-management-division.entity-BnWpX4US.mjs.map +0 -1
  245. package/fesm2022/acorex-modules-organization-management-employee.entity-DBuCVYZP.mjs.map +0 -1
  246. package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map +0 -1
  247. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DHu4UuxD.mjs.map +0 -1
  248. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-CcZMGyCz.mjs.map +0 -1
  249. package/fesm2022/acorex-modules-organization-management-org-chart.page-CSMTnTDi.mjs.map +0 -1
  250. package/fesm2022/acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs.map +0 -1
  251. package/fesm2022/acorex-modules-organization-management-position.entity-CY4TugWR.mjs.map +0 -1
  252. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs.map +0 -1
  253. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs.map +0 -1
  254. package/fesm2022/acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs.map +0 -1
  255. package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs +0 -324
  256. package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs.map +0 -1
  257. package/fesm2022/acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs.map +0 -1
  258. package/fesm2022/acorex-modules-organization-management-skill.entity-D9XojzUV.mjs.map +0 -1
  259. package/fesm2022/acorex-modules-organization-management-team.entity-mYPhrc2l.mjs.map +0 -1
  260. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BLhzWiXM.mjs +0 -5524
  261. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BLhzWiXM.mjs.map +0 -1
  262. package/fesm2022/acorex-modules-platform-management-list-version.component-CgF5pvTa.mjs.map +0 -1
  263. package/fesm2022/acorex-modules-platform-management-settings.provider-intHn3XI.mjs.map +0 -1
  264. package/fesm2022/acorex-modules-report-management-report-create-root.component-DqrLa6vh.mjs.map +0 -1
  265. package/fesm2022/acorex-modules-settings-management-setting-page.component-BbnEqXKu.mjs.map +0 -1
  266. package/fesm2022/acorex-modules-settings-management-setting-view.component-DP8mxDK9.mjs.map +0 -1
  267. package/fesm2022/acorex-modules-workflow-management-task-board.page-zaSchG-u.mjs.map +0 -1
@@ -1,1200 +1,2 @@
1
- import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
2
- import { AXPHomePageService, AXPSearchCommandProvider, AXPSearchService, AXPSettingService, AXPLockService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
3
- import { AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
4
- import * as i0 from '@angular/core';
5
- import { inject, Injector, Injectable, input, signal, ViewEncapsulation, Component, NgModule, InjectionToken, HostListener, computed, viewChild } from '@angular/core';
6
- import { firstValueFrom, Subject } from 'rxjs';
7
- import * as i1$2 from '@acorex/platform/core';
8
- import { objectKeyValueTransforms, AXPPlatformScope, AXPActivityLogService, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
9
- import * as i4$1 from '@acorex/core/translation';
10
- import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
11
- import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
12
- import { AXPWidgetsModule } from '@acorex/platform/widgets';
13
- import * as i1$1 from '@acorex/platform/workflow';
14
- import { AXPWorkflowAction, AXPWorkflowModule, AXPWorkflowService } from '@acorex/platform/workflow';
15
- import * as i1 from '@angular/common';
16
- import { CommonModule } from '@angular/common';
17
- import * as i3 from '@acorex/components/button';
18
- import { AXButtonModule } from '@acorex/components/button';
19
- import { AXBasePageComponent } from '@acorex/components/page';
20
- import * as i4 from '@acorex/components/decorators';
21
- import { AXDecoratorModule } from '@acorex/components/decorators';
22
- import * as i2 from '@acorex/platform/layout/components';
23
- import { AXPCompareViewComponent, AXPComponentSlotModule } from '@acorex/platform/layout/components';
24
- import { AXPopupService } from '@acorex/components/popup';
25
- import { AXFormatService } from '@acorex/core/format';
26
- import { AXTextBoxModule } from '@acorex/components/text-box';
27
- import { AXDialogService } from '@acorex/components/dialog';
28
- import * as i2$1 from '@angular/forms';
29
- import { FormsModule } from '@angular/forms';
30
- import * as i5 from '@acorex/components/form';
31
- import { AXFormModule } from '@acorex/components/form';
32
- import * as i6 from '@acorex/components/label';
33
- import { AXLabelModule } from '@acorex/components/label';
34
- import * as i7 from '@acorex/components/select-box';
35
- import { AXSelectBoxModule } from '@acorex/components/select-box';
36
- import * as i8 from '@acorex/components/text-area';
37
- import { AXTextAreaModule } from '@acorex/components/text-area';
38
- import { AXValidationModule } from '@acorex/core/validation';
39
-
40
- const config = {
41
- i18n: 'common',
42
- };
43
- const RootConfig = {
44
- config,
45
- module: {
46
- module: 'common',
47
- name: 'Common',
48
- title: `t('module-name', {scope:"${config.i18n}"})`,
49
- icon: 'fa-light fa-file-invoice',
50
- },
51
- entities: {},
52
- };
53
-
54
- class AXMEntityProvider {
55
- constructor() {
56
- this.injector = inject(Injector);
57
- }
58
- preload() {
59
- const module = RootConfig.module.name;
60
- return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
61
- module: module,
62
- entity: entity.name,
63
- }));
64
- }
65
- async get(moduleName, entityName) {
66
- if (moduleName == RootConfig.module.name) {
67
- switch (entityName) {
68
- }
69
- }
70
- return null;
71
- }
72
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
73
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMEntityProvider }); }
74
- }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMEntityProvider, decorators: [{
76
- type: Injectable
77
- }] });
78
-
79
- class AXMMenuProvider {
80
- constructor() {
81
- this.sessionService = inject(AXPSessionService);
82
- this.homePageService = inject(AXPHomePageService);
83
- }
84
- async provide(context) {
85
- const scope = RootConfig.config.i18n;
86
- const module = RootConfig.module;
87
- const appName = this.sessionService.application?.name;
88
- const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
89
- if (!isAuthorized) {
90
- return;
91
- }
92
- //
93
- const homePagePath = this.homePageService.getCurrent().path;
94
- if (homePagePath) {
95
- context.addItems([
96
- {
97
- priority: -9,
98
- text: `t('home',{scope:'common'})`,
99
- path: homePagePath,
100
- icon: 'fa-light fa-grid-2',
101
- data: {
102
- //requiredPermission: '',
103
- },
104
- },
105
- ]);
106
- }
107
- context.find('user-profile').addItems([
108
- {
109
- text: `t('user.title', {scope: "settings"})`,
110
- name: 'user-settings',
111
- icon: 'fa-light fa-gear',
112
- path: `/${this.sessionService.application?.name}/settings/user`,
113
- },
114
- ]);
115
- context.addItems([
116
- {
117
- name: 'tenant-application-settings',
118
- priority: 10000,
119
- text: `t('tenant.title', {scope: "settings"})`,
120
- type: 'menu',
121
- icon: 'fa-light fa-gear',
122
- path: `/${appName}/settings/tenant`,
123
- data: {
124
- requiredPermission: 'admin',
125
- },
126
- },
127
- {
128
- name: 'task-board',
129
- text: `Task Board`,
130
- type: 'menu',
131
- data: {
132
- requiredPermission: 'platform',
133
- },
134
- icon: 'fa-light fa-list-check',
135
- path: `/${appName}/task-board`,
136
- },
137
- ]);
138
- }
139
- }
140
-
141
- class AXMPermissionDefinitionProvider {
142
- async define(context) {
143
- // context.addPermissions([
144
- // {
145
- // name: 'view_templates',
146
- // title: 'Permission to view templates',
147
- // isArchived: false,
148
- // },
149
- // ]);
150
- }
151
- }
152
-
153
- class AXMSearchCommandProvider extends AXPSearchCommandProvider {
154
- constructor() {
155
- super(...arguments);
156
- this.commands = [
157
- // {
158
- // group: 'command',
159
- // title: 'New Form Template',
160
- // icon: RootConfig.entities.template.icon,
161
- // description: 'Create a new form template for designing reusable forms.', // Added description
162
- // commands: {
163
- // 'create-entity': {
164
- // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
165
- // },
166
- // },
167
- // }
168
- ];
169
- }
170
- }
171
-
172
- var AXMLockSystemSettings;
173
- (function (AXMLockSystemSettings) {
174
- AXMLockSystemSettings["LockSystem"] = "general:lock-system:lock";
175
- })(AXMLockSystemSettings || (AXMLockSystemSettings = {}));
176
-
177
- class AXMSettingProvider {
178
- constructor(injector) {
179
- this.injector = injector;
180
- this.translateService = this.injector.get(AXTranslationService);
181
- }
182
- async provide(context) {
183
- const trans = async (key) => await this.translateService.translateAsync(`settings.${key}`, { scope: 'general' });
184
- // Find the 'General Settings' group
185
- const group = context.group('general');
186
- if (!group) {
187
- return;
188
- }
189
- // Add the 'Release Notes' setting
190
- group.addSection('lock-system', await trans('general.lock-system.lock.title'), await trans('general.lock-system.lock.description')).addSetting({
191
- key: AXMLockSystemSettings.LockSystem,
192
- title: await trans('general.lock-system.lock.title'),
193
- scope: AXPPlatformScope.Tenant,
194
- isInherited: true,
195
- defaultValue: false,
196
- valueTransforms: objectKeyValueTransforms('id'),
197
- widget: {
198
- type: AXPWidgetsCatalog.toggle,
199
- options: {
200
- label: null,
201
- }
202
- },
203
- description: await trans('general.lock-system.lock.description'),
204
- });
205
- }
206
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
207
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSettingProvider }); }
208
- }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSettingProvider, decorators: [{
210
- type: Injectable
211
- }], ctorParameters: () => [{ type: i0.Injector }] });
212
-
213
- class AXPComparePopupComponent extends AXBasePageComponent {
214
- constructor() {
215
- super(...arguments);
216
- this.inputs = input();
217
- this.isBusy = signal(false);
218
- this.mode = input('compare');
219
- }
220
- ngOnInit() {
221
- super.ngOnInit();
222
- // Any additional initialization logic can go here
223
- }
224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPComparePopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
225
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.7", type: AXPComparePopupComponent, isStandalone: true, selector: "axp-compare-popup", inputs: { inputs: { classPropertyName: "inputs", publicName: "inputs", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null } }, providers: [], usesInheritance: true, ngImport: i0, template: "<ax-content>\n <div class=\"ax-p-6 ax-min-h-[30vh] ax-overflow-y-auto\">\n <axp-compare-view [inputs]=\"inputs()\" [mode]=\"mode()\"></axp-compare-view>\n </div>\n</ax-content>\n<ax-footer>\n <ax-prefix></ax-prefix>\n <ax-suffix>\n <ax-button [text]=\"'close' | translate | async\" look=\"solid\" color=\"primary\" (onClick)=\"close()\"> </ax-button>\n </ax-suffix>\n</ax-footer>", dependencies: [{ kind: "ngmodule", type:
226
- // Angular
227
- CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type:
228
- // ACoreX
229
- AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4$1.AXTranslatorPipe, name: "translate" }, { kind: "component", type:
230
- // Compare View
231
- AXPCompareViewComponent, selector: "axp-compare-view", inputs: ["inputs", "mode"] }], encapsulation: i0.ViewEncapsulation.None }); }
232
- }
233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPComparePopupComponent, decorators: [{
234
- type: Component,
235
- args: [{ selector: 'axp-compare-popup', standalone: true, imports: [
236
- // Angular
237
- CommonModule,
238
- // ACoreX
239
- AXDecoratorModule,
240
- AXButtonModule,
241
- AXTranslationModule,
242
- // Compare View
243
- AXPCompareViewComponent
244
- ], encapsulation: ViewEncapsulation.None, providers: [], template: "<ax-content>\n <div class=\"ax-p-6 ax-min-h-[30vh] ax-overflow-y-auto\">\n <axp-compare-view [inputs]=\"inputs()\" [mode]=\"mode()\"></axp-compare-view>\n </div>\n</ax-content>\n<ax-footer>\n <ax-prefix></ax-prefix>\n <ax-suffix>\n <ax-button [text]=\"'close' | translate | async\" look=\"solid\" color=\"primary\" (onClick)=\"close()\"> </ax-button>\n </ax-suffix>\n</ax-footer>" }]
245
- }] });
246
-
247
- var comparePopup_component = /*#__PURE__*/Object.freeze({
248
- __proto__: null,
249
- AXPComparePopupComponent: AXPComparePopupComponent
250
- });
251
-
252
- class AXMComparePopupStartAction extends AXPWorkflowAction {
253
- constructor() {
254
- super(...arguments);
255
- this.popupService = inject(AXPopupService);
256
- this.translate = inject(AXTranslationService);
257
- }
258
- async execute(context) {
259
- const comp = (await Promise.resolve().then(function () { return comparePopup_component; })).AXPComparePopupComponent;
260
- this.popupService.open(comp, {
261
- title: await this.translate.translateAsync('Compare'),
262
- size: 'lg',
263
- data: {
264
- inputs: signal(context.getVariable('inputs')),
265
- mode: signal(context.getVariable('mode')),
266
- },
267
- });
268
- }
269
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMComparePopupStartAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
270
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMComparePopupStartAction }); }
271
- }
272
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMComparePopupStartAction, decorators: [{
273
- type: Injectable
274
- }] });
275
- class AXMCompareEntityRecordsAction extends AXPWorkflowAction {
276
- constructor() {
277
- super(...arguments);
278
- this.entityRegistry = inject(AXPEntityDefinitionRegistryService);
279
- }
280
- async execute(context) {
281
- const [moduleName, entityName] = context.getVariable('entity').split('.');
282
- const entityRef = await this.entityRegistry.resolve(moduleName, entityName);
283
- const records = context.getVariable('data');
284
- const ids = records?.map((r) => r.id);
285
- const getById = entityRef.queries.byKey?.execute;
286
- //
287
- const fields = entityRef.properties
288
- .filter(p => p.schema.interface && p.schema.hidden != true)
289
- .map((p) => ({
290
- path: p.name,
291
- title: p.title,
292
- description: p.description,
293
- widget: {
294
- type: p.schema.interface?.type,
295
- name: p.name,
296
- path: p.name,
297
- options: p.schema.interface?.options,
298
- },
299
- }));
300
- const objects = await Promise.all(ids.map(async (c) => {
301
- const object = await getById(c);
302
- return {
303
- id: object.id,
304
- title: object.title,
305
- description: object.description,
306
- context: object,
307
- };
308
- }));
309
- const inputs = {
310
- fields: fields,
311
- objects: objects,
312
- };
313
- //
314
- context.setVariable('inputs', inputs);
315
- context.setVariable('mode', 'records');
316
- context.setOutput('result', true);
317
- }
318
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCompareEntityRecordsAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
319
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCompareEntityRecordsAction }); }
320
- }
321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCompareEntityRecordsAction, decorators: [{
322
- type: Injectable
323
- }] });
324
- class AXMCompareEntityRecordVersionsAction extends AXPWorkflowAction {
325
- constructor() {
326
- super(...arguments);
327
- this.entityRegistry = inject(AXPEntityDefinitionRegistryService);
328
- this.activityLogService = inject(AXPActivityLogService);
329
- this.formatService = inject(AXFormatService);
330
- this.translate = inject(AXTranslationService);
331
- }
332
- async execute(context) {
333
- const [moduleName, entityName] = context.getVariable('entity').split('.');
334
- const entityRef = await this.entityRegistry.resolve(moduleName, entityName);
335
- const refId = context.getVariable('data.refId');
336
- const refType = context.getVariable('data.refType');
337
- const ids = context.getVariable('data.ids');
338
- const histories = await this.activityLogService.getHistoryByIds(refId, refType, ids);
339
- //
340
- const fields = entityRef.properties
341
- .filter(p => p.schema.interface && p.schema.hidden != true)
342
- .map((p) => ({
343
- path: p.name,
344
- title: p.title,
345
- description: p.description,
346
- widget: {
347
- type: p.schema.interface?.type,
348
- name: p.name,
349
- path: p.name,
350
- options: p.schema.interface?.options,
351
- },
352
- }));
353
- const objects = await Promise.all(histories.map(async (h) => ({
354
- id: h.id,
355
- title: await this.translate.translateAsync(`@activity-log:${h.changeType == 'update' ? 'updated' : 'created'}-by-title`, {
356
- params: {
357
- user: h.user?.title,
358
- date: this.formatService.format(h.date, 'datetime', { format: 'short' }),
359
- }
360
- }),
361
- description: h.user?.title,
362
- context: h.data,
363
- })));
364
- const inputs = {
365
- fields: fields,
366
- objects: objects,
367
- };
368
- //
369
- context.setVariable('inputs', inputs);
370
- context.setVariable('mode', 'changes');
371
- context.setOutput('result', true);
372
- }
373
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCompareEntityRecordVersionsAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
374
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCompareEntityRecordVersionsAction }); }
375
- }
376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCompareEntityRecordVersionsAction, decorators: [{
377
- type: Injectable
378
- }] });
379
- const AXMCompareEntityRecordsWorkflow = {
380
- startStepId: 'start',
381
- steps: {
382
- start: {
383
- action: 'show-entity-records-compare-action',
384
- nextSteps: [
385
- {
386
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
387
- nextStepId: 'show-popup',
388
- }
389
- ],
390
- },
391
- 'show-popup': {
392
- action: 'show-compare-popup-action',
393
- },
394
- },
395
- };
396
- const AXMCompareEntityRecordVersionsWorkflow = {
397
- startStepId: 'start',
398
- steps: {
399
- start: {
400
- action: 'show-entity-record-versions-compare-action',
401
- nextSteps: [
402
- {
403
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
404
- nextStepId: 'show-popup',
405
- }
406
- ],
407
- },
408
- 'show-popup': {
409
- action: 'show-compare-popup-action',
410
- },
411
- },
412
- };
413
-
414
- class AXPCompareModule {
415
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPCompareModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
416
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXPCompareModule, imports: [AXPComparePopupComponent, i1$1.AXPWorkflowModule], exports: [AXPComparePopupComponent] }); }
417
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPCompareModule, imports: [AXPComparePopupComponent,
418
- AXPWorkflowModule.forChild({
419
- actions: {
420
- 'show-compare-popup-action': AXMComparePopupStartAction,
421
- 'show-entity-records-compare-action': AXMCompareEntityRecordsAction,
422
- 'show-entity-record-versions-compare-action': AXMCompareEntityRecordVersionsAction,
423
- },
424
- workflows: {
425
- 'show-entity-records-compare': AXMCompareEntityRecordsWorkflow,
426
- 'show-entity-record-versions-compare': AXMCompareEntityRecordVersionsWorkflow,
427
- },
428
- })] }); }
429
- }
430
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPCompareModule, decorators: [{
431
- type: NgModule,
432
- args: [{
433
- imports: [
434
- AXPComparePopupComponent,
435
- AXPWorkflowModule.forChild({
436
- actions: {
437
- 'show-compare-popup-action': AXMComparePopupStartAction,
438
- 'show-entity-records-compare-action': AXMCompareEntityRecordsAction,
439
- 'show-entity-record-versions-compare-action': AXMCompareEntityRecordVersionsAction,
440
- },
441
- workflows: {
442
- 'show-entity-records-compare': AXMCompareEntityRecordsWorkflow,
443
- 'show-entity-record-versions-compare': AXMCompareEntityRecordVersionsWorkflow,
444
- },
445
- }),
446
- ],
447
- exports: [AXPComparePopupComponent],
448
- }]
449
- }] });
450
-
451
- const AXP_GLOBAL_SEARCH_CONFIG_TOKEN = new InjectionToken('AXP_GLOBAL_SEARCH_CONFIG_TOKEN');
452
-
453
- class AXPGlobalSearchSlotComponent {
454
- constructor() {
455
- this.workflow = inject(AXPWorkflowService);
456
- }
457
- async startSearch() {
458
- await this.workflow.execute('global-search');
459
- }
460
- async handleKeyboardEvent(event) {
461
- if (event.ctrlKey) {
462
- switch (event.code) {
463
- case 'KeyK':
464
- event.preventDefault();
465
- event.stopPropagation();
466
- await this.startSearch();
467
- break;
468
- }
469
- }
470
- }
471
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
472
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: AXPGlobalSearchSlotComponent, isStandalone: true, selector: "ng-component", host: { listeners: { "document:keydown": "handleKeyboardEvent($event)" } }, ngImport: i0, template: `
473
- <ax-button color="primary" class="ax-flex md:ax-hidden" (onClick)="startSearch()">
474
- <ax-icon class="fa-regular fa-search">
475
- </ax-icon>
476
- </ax-button>
477
- <div class="ax-bg-primary-200/15 ax-h-10 ax-w-72 ax-rounded-default ax-cursor-pointer ax-justify-between ax-hidden md:ax-flex ax-items-center ax-px-3 hover:ax-bg-primary-200/30 ax-text-primary-text" (click)="startSearch()" *translate="let t">
478
- <div class="ax-flex ax-items-center ax-gap-2">
479
- <i class="fa-light fa-search ax-text-xl"></i>
480
- <span>{{ t('search-placeholder',{scope:'global-search'}) | async}}</span>
481
- </div>
482
- <kbd class="ax-text-sm">Ctrl+K</kbd>
483
- </div>
484
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXTextBoxModule }] }); }
485
- }
486
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchSlotComponent, decorators: [{
487
- type: Component,
488
- args: [{
489
- template: `
490
- <ax-button color="primary" class="ax-flex md:ax-hidden" (onClick)="startSearch()">
491
- <ax-icon class="fa-regular fa-search">
492
- </ax-icon>
493
- </ax-button>
494
- <div class="ax-bg-primary-200/15 ax-h-10 ax-w-72 ax-rounded-default ax-cursor-pointer ax-justify-between ax-hidden md:ax-flex ax-items-center ax-px-3 hover:ax-bg-primary-200/30 ax-text-primary-text" (click)="startSearch()" *translate="let t">
495
- <div class="ax-flex ax-items-center ax-gap-2">
496
- <i class="fa-light fa-search ax-text-xl"></i>
497
- <span>{{ t('search-placeholder',{scope:'global-search'}) | async}}</span>
498
- </div>
499
- <kbd class="ax-text-sm">Ctrl+K</kbd>
500
- </div>
501
- `,
502
- imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXTranslationModule, AXTextBoxModule]
503
- }]
504
- }], propDecorators: { handleKeyboardEvent: [{
505
- type: HostListener,
506
- args: ['document:keydown', ['$event']]
507
- }] } });
508
-
509
- class AXPGlobalSearchStartAction extends AXPWorkflowAction {
510
- constructor() {
511
- super(...arguments);
512
- this.popupService = inject(AXPopupService);
513
- this.workflow = inject(AXPWorkflowService);
514
- this.config = inject(AXP_GLOBAL_SEARCH_CONFIG_TOKEN);
515
- }
516
- async execute(context) {
517
- const component = await this.config.window();
518
- const popup = await this.popupService.open(component, {
519
- title: 'Search...',
520
- size: 'fit',
521
- closeOnBackdropClick: true,
522
- data: {
523
- text: context.getVariable('text'),
524
- },
525
- header: false,
526
- });
527
- if (popup.data) {
528
- const result = popup.data;
529
- if (result && result.command) {
530
- this.workflow.execute(result.command?.name, result.command?.options);
531
- }
532
- }
533
- }
534
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchStartAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
535
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchStartAction }); }
536
- }
537
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchStartAction, decorators: [{
538
- type: Injectable
539
- }] });
540
- const AXPGlobalSearchWorkflow = {
541
- startStepId: 'start',
542
- steps: {
543
- start: {
544
- action: 'AXPGlobalSearchStartAction',
545
- },
546
- },
547
- };
548
-
549
- class AXPGlobalSearchModule {
550
- constructor(appInitService, injector) {
551
- }
552
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchModule, deps: [{ token: i1$2.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
553
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchModule, imports: [i2.AXPComponentSlotModule, i1$1.AXPWorkflowModule] }); }
554
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchModule, providers: [
555
- {
556
- provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
557
- useValue: {
558
- window: () => import('./acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
559
- },
560
- },
561
- ], imports: [AXPComponentSlotModule.forChild({
562
- 'root-header-start': [
563
- {
564
- priority: 0,
565
- name: 'search',
566
- component: AXPGlobalSearchSlotComponent,
567
- },
568
- ],
569
- }),
570
- //
571
- AXPWorkflowModule.forChild({
572
- actions: {
573
- AXPGlobalSearchStartAction
574
- },
575
- workflows: {
576
- 'global-search': AXPGlobalSearchWorkflow,
577
- },
578
- })] }); }
579
- }
580
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPGlobalSearchModule, decorators: [{
581
- type: NgModule,
582
- args: [{
583
- imports: [
584
- AXPComponentSlotModule.forChild({
585
- 'root-header-start': [
586
- {
587
- priority: 0,
588
- name: 'search',
589
- component: AXPGlobalSearchSlotComponent,
590
- },
591
- ],
592
- }),
593
- //
594
- AXPWorkflowModule.forChild({
595
- actions: {
596
- AXPGlobalSearchStartAction
597
- },
598
- workflows: {
599
- 'global-search': AXPGlobalSearchWorkflow,
600
- },
601
- })
602
- ],
603
- exports: [],
604
- declarations: [],
605
- providers: [
606
- {
607
- provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
608
- useValue: {
609
- window: () => import('./acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
610
- },
611
- },
612
- ]
613
- }]
614
- }], ctorParameters: () => [{ type: i1$2.AXPAppStartUpService }, { type: i0.Injector }] });
615
-
616
- class AXPGlobalSearchViewModel {
617
- constructor() {
618
- this.settingKeys = {
619
- recent: "global-search:recents:items",
620
- pinned: "global-search:pinned:items"
621
- };
622
- this.searchService = inject(AXPSearchService);
623
- this.settingService = inject(AXPSettingService);
624
- this._text = signal(null);
625
- this.text = this._text.asReadonly();
626
- this._results = signal([]);
627
- this.results = this._results.asReadonly();
628
- this._isBusy = signal(false);
629
- this.isBusy = this._isBusy.asReadonly();
630
- this.isEmpty = computed(() => this.text() && this.results().length == 0);
631
- this.isValid = computed(() => (this.text()?.length ?? 0) > 2);
632
- this.isStart = computed(() => !this.isEmpty() && this.results().length == 0);
633
- this.isWelcome = computed(() => this.isStart() && this.pinnedItems().length == 0 && this.recentItems().length == 0);
634
- this._recentItems = signal([]);
635
- this._pinnedItems = signal([]);
636
- this.pinnedItems = this._pinnedItems.asReadonly();
637
- this.recentItems = computed(() => this.getTopRecentItems());
638
- this.onItemSelected = new Subject();
639
- this.loadSettings();
640
- }
641
- async search(text) {
642
- this._isBusy.set(true);
643
- this._text.set(text);
644
- if (!this.isValid()) {
645
- this._results.set([]);
646
- }
647
- else {
648
- await new Promise((resolve) => setTimeout(resolve, 250));
649
- const results = await this.searchService.search(text);
650
- this._results.set(results);
651
- }
652
- this._isBusy.set(false);
653
- }
654
- async execute(item) {
655
- this.onItemSelected.next(item);
656
- await this.updateSelectionHistory(item);
657
- }
658
- async pin(item) {
659
- const currentPinned = this._pinnedItems();
660
- if (!currentPinned.some(i => i.id === item.id)) {
661
- this._pinnedItems.set([item, ...currentPinned].slice(0, 5));
662
- await this.saveSettings();
663
- }
664
- }
665
- async unpin(item) {
666
- const currentPinned = this._pinnedItems();
667
- this._pinnedItems.set(currentPinned.filter(i => i.id !== item.id));
668
- await this.saveSettings();
669
- }
670
- async togglePin(item) {
671
- if (this.isPinned(item)) {
672
- await this.unpin(item);
673
- }
674
- else {
675
- await this.pin(item);
676
- }
677
- }
678
- isPinned(item) {
679
- const currentPinned = this._pinnedItems();
680
- return currentPinned.some(i => i.id === item.id);
681
- }
682
- async updateSelectionHistory(item) {
683
- // Update recent selections
684
- const currentHistory = this._recentItems();
685
- const updatedHistory = [item, ...currentHistory.filter(i => i.id !== item.id)].slice(0, 5);
686
- this._recentItems.set(updatedHistory);
687
- // Save updated settings
688
- await this.saveSettings();
689
- }
690
- getTopRecentItems() {
691
- const pinnedIds = new Set(this._pinnedItems().map(item => item.id));
692
- return this._recentItems().filter(item => !pinnedIds.has(item.id)).slice(0, 5);
693
- }
694
- async clearRecentItems() {
695
- this._recentItems.set([]);
696
- await this.settingService.scope(AXPPlatformScope.User).set(this.settingKeys.recent, []);
697
- }
698
- async loadSettings() {
699
- // Load recent selections
700
- const recent = await this.settingService.get(this.settingKeys.recent);
701
- if (recent) {
702
- this._recentItems.set(recent.slice(0, 5));
703
- }
704
- // Load pinned items
705
- const pinned = await this.settingService.get(this.settingKeys.pinned);
706
- if (pinned) {
707
- this._pinnedItems.set(pinned.slice(0, 5));
708
- }
709
- }
710
- async saveSettings() {
711
- // Save recent selections
712
- await this.settingService.scope(AXPPlatformScope.User).set(this.settingKeys.recent, this._recentItems().slice(0, 5));
713
- // Save pinned items
714
- await this.settingService.scope(AXPPlatformScope.User).set(this.settingKeys.pinned, this._pinnedItems().slice(0, 5));
715
- }
716
- }
717
-
718
- class AXMLockPopupWorkflowAction extends AXPWorkflowAction {
719
- constructor() {
720
- super(...arguments);
721
- this.popupService = inject(AXPopupService);
722
- }
723
- async execute(context) {
724
- const comp = (await Promise.resolve().then(function () { return index; })).AXPLockPopupComponent;
725
- const result = await this.popupService.open(comp, {
726
- title: 'lock-system.lock',
727
- data: {
728
- refId: context.getVariable('options.refId'),
729
- refType: context.getVariable('options.refType'),
730
- },
731
- });
732
- if (result.data != null && result.data.isCanceled != null) {
733
- context.setOutput('isCanceled', result.data.isCanceled);
734
- if (!result.data.isCanceled) {
735
- context.setOutput('lockDuration', result.data.duration);
736
- context.setOutput('lockReason', result.data.reason);
737
- }
738
- }
739
- else {
740
- context.setOutput('isCanceled', true);
741
- }
742
- }
743
- }
744
- const AXMLockPopupWorkflow = {
745
- startStepId: 'lock-popup',
746
- steps: {
747
- 'lock-popup': {
748
- action: 'AXMLockPopupWorkflowAction',
749
- nextSteps: [
750
- {
751
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("isCanceled") == false' }],
752
- nextStepId: 'successToast',
753
- },
754
- ],
755
- },
756
- successToast: {
757
- id: 'successToast',
758
- action: 'AXPToastAction',
759
- input: {
760
- color: 'success',
761
- title: 'workflow.entity-modified-title',
762
- content: 'workflow.entity-modified-body',
763
- },
764
- nextSteps: [
765
- {
766
- conditions: [],
767
- nextStepId: 'modifyConfirmed',
768
- },
769
- ],
770
- },
771
- modifyConfirmed: {
772
- id: 'modifyConfirmed',
773
- action: 'AXPEntityModifyConfirmedAction',
774
- },
775
- },
776
- };
777
-
778
- class AXMUnlockConfirmWorkflowAction extends AXPWorkflowAction {
779
- constructor() {
780
- super(...arguments);
781
- this.dialogService = inject(AXDialogService);
782
- this.translationService = inject(AXTranslationService);
783
- this.lockService = inject(AXPLockService);
784
- this.sessionService = inject(AXPSessionService);
785
- }
786
- async execute(context) {
787
- const refId = context.getVariable('options.refId');
788
- const refType = context.getVariable('options.refType');
789
- // Show confirmation dialog
790
- const dialogResult = await this.dialogService.confirm(await this.translationService.translateAsync('unlock.title', { scope: 'general' }), await this.translationService.translateAsync('lock-system.confirm-unlock', { scope: 'general' }), 'warning', 'horizontal', false, 'cancel');
791
- if (dialogResult.result) {
792
- try {
793
- // Perform unlock
794
- await this.lockService.unlock({
795
- refId: refId,
796
- refType: refType,
797
- type: 'user',
798
- });
799
- context.setOutput('isCanceled', false);
800
- context.setOutput('unlocked', true);
801
- }
802
- catch (error) {
803
- console.error('Unlock failed:', error);
804
- // Show error dialog
805
- await this.dialogService.alert(await this.translationService.translateAsync('workflow.error'), await this.translationService.translateAsync('lock-system.unlock-failed', { scope: 'general' }), 'danger');
806
- context.setOutput('isCanceled', true);
807
- context.setOutput('unlocked', false);
808
- }
809
- }
810
- else {
811
- context.setOutput('isCanceled', true);
812
- context.setOutput('unlocked', false);
813
- }
814
- }
815
- }
816
- const AXMUnlockConfirmWorkflow = {
817
- startStepId: 'unlock-confirm',
818
- steps: {
819
- 'unlock-confirm': {
820
- action: 'AXMUnlockConfirmWorkflowAction',
821
- nextSteps: [
822
- {
823
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("unlocked") == true' }],
824
- nextStepId: 'successToast',
825
- },
826
- ],
827
- },
828
- successToast: {
829
- id: 'successToast',
830
- action: 'AXPToastAction',
831
- input: {
832
- color: 'success',
833
- title: 'workflow.entity-modified-title',
834
- content: 'workflow.entity-modified-body',
835
- },
836
- nextSteps: [
837
- {
838
- conditions: [],
839
- nextStepId: 'modifyConfirmed',
840
- },
841
- ],
842
- },
843
- modifyConfirmed: {
844
- id: 'modifyConfirmed',
845
- action: 'AXPEntityModifyConfirmedAction',
846
- },
847
- },
848
- };
849
-
850
- class AXPLockPopupComponent extends AXBasePageComponent {
851
- constructor() {
852
- super(...arguments);
853
- //#endregion
854
- //#region ---- Signals & Services ----
855
- this.isBusy = signal(false);
856
- this.form = viewChild.required('form');
857
- this.lockService = inject(AXPLockService);
858
- this.sessionService = inject(AXPSessionService);
859
- this.translationService = inject(AXTranslationService);
860
- //#endregion
861
- //#region ---- Form Data ----
862
- this.duration = '1h';
863
- this.reason = '';
864
- this.lockDurations = [];
865
- }
866
- async ngOnInit() {
867
- // Load translated duration options
868
- this.lockDurations = [
869
- {
870
- value: '1h',
871
- text: await this.translationService.translateAsync('lock-system.duration.options.1h', { scope: 'general' }),
872
- hours: 1
873
- },
874
- {
875
- value: '1d',
876
- text: await this.translationService.translateAsync('lock-system.duration.options.1d', { scope: 'general' }),
877
- hours: 24
878
- },
879
- {
880
- value: 'infinite',
881
- text: await this.translationService.translateAsync('lock-system.duration.options.infinite', { scope: 'general' })
882
- }
883
- ];
884
- }
885
- //#endregion
886
- //#region ---- UI Handlers ----
887
- async handleConfirm() {
888
- if (this.isBusy()) {
889
- return;
890
- }
891
- // Validate form
892
- const validation = await this.form().validate();
893
- if (!validation.result) {
894
- return;
895
- }
896
- // Ensure duration is selected
897
- if (!this.duration) {
898
- return;
899
- }
900
- this.isBusy.set(true);
901
- try {
902
- const selectedDuration = this.lockDurations.find(d => d.value === this.duration);
903
- const expireAt = selectedDuration?.hours
904
- ? new Date(Date.now() + selectedDuration.hours * 60 * 60 * 1000)
905
- : undefined; // undefined means infinite
906
- await this.lockService.lock({
907
- refId: this.refId,
908
- refType: this.refType,
909
- type: 'user',
910
- date: new Date().toISOString(),
911
- expireAt: expireAt,
912
- lockedBy: {
913
- id: this.sessionService.user?.id ?? 'system',
914
- type: 'oidc.users',
915
- },
916
- });
917
- // Close and notify success
918
- this.close({
919
- isCanceled: false,
920
- duration: this.duration,
921
- reason: this.reason
922
- });
923
- }
924
- catch (error) {
925
- console.error(error);
926
- // TODO: show error toast if required
927
- }
928
- finally {
929
- this.isBusy.set(false);
930
- }
931
- }
932
- handleCancel() {
933
- this.close({ isCanceled: true });
934
- }
935
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPLockPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
936
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.7", type: AXPLockPopupComponent, isStandalone: true, selector: "axp-lock-popup", viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ax-content *translate=\"let t\">\n <div class=\"ax-p-6\">\n <ax-form #form>\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n \n <!-- Lock Duration Selection -->\n <ax-form-field class=\"ax-col-span-12\">\n <ax-label>{{ t('lock-system.duration.title', {scope: 'general'}) | async }}</ax-label>\n <ax-select-box\n [(ngModel)]=\"duration\"\n [dataSource]=\"lockDurations\"\n [valueField]=\"'value'\"\n [textField]=\"'text'\"\n name=\"duration\"\n class=\"ax-w-full\"\n >\n <ax-validation-rule\n rule=\"required\"\n message=\"This field is required\"\n ></ax-validation-rule>\n </ax-select-box>\n </ax-form-field>\n\n <!-- Optional Reason -->\n <ax-form-field class=\"ax-col-span-12\">\n <ax-label>{{ t('lock-system.reason.title', {scope: 'general'}) | async }}</ax-label>\n <ax-text-area\n [(ngModel)]=\"reason\"\n [placeholder]=\"t('lock-system.reason.placeholder', {scope: 'general'}) | async\"\n name=\"reason\"\n class=\"ax-w-full ax-min-h-20\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-text-area>\n </ax-form-field>\n\n </div>\n </ax-form>\n </div>\n</ax-content>\n\n<ax-footer *translate=\"let t\">\n <ax-prefix></ax-prefix>\n <ax-suffix>\n <ax-button \n [text]=\"t('cancel') | async\" \n (onClick)=\"handleCancel()\" \n [disabled]=\"isBusy()\"\n ></ax-button>\n <ax-button\n [text]=\"t('lock-system.lock', {scope: 'general'}) | async\"\n color=\"primary\"\n look=\"solid\"\n (onClick)=\"handleConfirm()\"\n [disabled]=\"isBusy()\"\n >\n </ax-button>\n </ax-suffix>\n</ax-footer>\n", styles: [""], dependencies: [{ kind: "ngmodule", type:
937
- // Angular
938
- CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
939
- // ACoreX
940
- AXButtonModule }, { kind: "component", type: i3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i4.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i5.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i5.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i5.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i6.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i7.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i8.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXValidationModule }], encapsulation: i0.ViewEncapsulation.None }); }
941
- }
942
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPLockPopupComponent, decorators: [{
943
- type: Component,
944
- args: [{ selector: 'axp-lock-popup', standalone: true, imports: [
945
- // Angular
946
- CommonModule,
947
- FormsModule,
948
- // ACoreX
949
- AXButtonModule,
950
- AXDecoratorModule,
951
- AXFormModule,
952
- AXLabelModule,
953
- AXSelectBoxModule,
954
- AXTextAreaModule,
955
- AXTranslationModule,
956
- AXValidationModule,
957
- ], encapsulation: ViewEncapsulation.None, template: "<ax-content *translate=\"let t\">\n <div class=\"ax-p-6\">\n <ax-form #form>\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n \n <!-- Lock Duration Selection -->\n <ax-form-field class=\"ax-col-span-12\">\n <ax-label>{{ t('lock-system.duration.title', {scope: 'general'}) | async }}</ax-label>\n <ax-select-box\n [(ngModel)]=\"duration\"\n [dataSource]=\"lockDurations\"\n [valueField]=\"'value'\"\n [textField]=\"'text'\"\n name=\"duration\"\n class=\"ax-w-full\"\n >\n <ax-validation-rule\n rule=\"required\"\n message=\"This field is required\"\n ></ax-validation-rule>\n </ax-select-box>\n </ax-form-field>\n\n <!-- Optional Reason -->\n <ax-form-field class=\"ax-col-span-12\">\n <ax-label>{{ t('lock-system.reason.title', {scope: 'general'}) | async }}</ax-label>\n <ax-text-area\n [(ngModel)]=\"reason\"\n [placeholder]=\"t('lock-system.reason.placeholder', {scope: 'general'}) | async\"\n name=\"reason\"\n class=\"ax-w-full ax-min-h-20\"\n >\n <ax-clear-button></ax-clear-button>\n </ax-text-area>\n </ax-form-field>\n\n </div>\n </ax-form>\n </div>\n</ax-content>\n\n<ax-footer *translate=\"let t\">\n <ax-prefix></ax-prefix>\n <ax-suffix>\n <ax-button \n [text]=\"t('cancel') | async\" \n (onClick)=\"handleCancel()\" \n [disabled]=\"isBusy()\"\n ></ax-button>\n <ax-button\n [text]=\"t('lock-system.lock', {scope: 'general'}) | async\"\n color=\"primary\"\n look=\"solid\"\n (onClick)=\"handleConfirm()\"\n [disabled]=\"isBusy()\"\n >\n </ax-button>\n </ax-suffix>\n</ax-footer>\n" }]
958
- }] });
959
-
960
- var index = /*#__PURE__*/Object.freeze({
961
- __proto__: null,
962
- AXPLockPopupComponent: AXPLockPopupComponent
963
- });
964
-
965
- class AXMLockEvaluatorScopeProvider {
966
- constructor() {
967
- this.lockService = inject(AXPLockService);
968
- }
969
- async provide(context) {
970
- context.addScope('lock', {
971
- check: async (refId, refType) => {
972
- const lock = await this.lockService.check({
973
- refId, refType
974
- });
975
- return lock;
976
- }
977
- });
978
- }
979
- }
980
-
981
- class AXMVersionHistoryPopupStartAction extends AXPWorkflowAction {
982
- constructor() {
983
- super(...arguments);
984
- this.popupService = inject(AXPopupService);
985
- this.translate = inject(AXTranslationService);
986
- }
987
- async execute(context) {
988
- const comp = (await import('./acorex-modules-common-timeline-version-history-popup.component-D48aDOVu.mjs')).AXMTimelineVersionHistoryPopupComponent;
989
- this.popupService.open(comp, {
990
- title: await this.translate.translateAsync('@activity-log:actions.view-history'),
991
- data: {
992
- refId: context.getVariable('options.refId'),
993
- refType: context.getVariable('options.refType'),
994
- fromDate: context.getVariable('options.fromDate'),
995
- toDate: context.getVariable('options.toDate'),
996
- limit: context.getVariable('options.limit'),
997
- offset: context.getVariable('options.offset'),
998
- },
999
- });
1000
- }
1001
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMVersionHistoryPopupStartAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1002
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMVersionHistoryPopupStartAction }); }
1003
- }
1004
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMVersionHistoryPopupStartAction, decorators: [{
1005
- type: Injectable
1006
- }] });
1007
- const AXMVersionHistoryPopupWorkflow = {
1008
- startStepId: 'start',
1009
- steps: {
1010
- start: {
1011
- action: 'show-version-history-popup-action',
1012
- },
1013
- },
1014
- };
1015
-
1016
- class AXPVersionHistoryModule {
1017
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPVersionHistoryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1018
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXPVersionHistoryModule, imports: [i1$1.AXPWorkflowModule] }); }
1019
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPVersionHistoryModule, imports: [AXPWorkflowModule.forChild({
1020
- actions: {
1021
- 'show-version-history-popup-action': AXMVersionHistoryPopupStartAction,
1022
- },
1023
- workflows: {
1024
- 'show-version-history-popup': AXMVersionHistoryPopupWorkflow,
1025
- },
1026
- })] }); }
1027
- }
1028
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPVersionHistoryModule, decorators: [{
1029
- type: NgModule,
1030
- args: [{
1031
- imports: [
1032
- AXPWorkflowModule.forChild({
1033
- actions: {
1034
- 'show-version-history-popup-action': AXMVersionHistoryPopupStartAction,
1035
- },
1036
- workflows: {
1037
- 'show-version-history-popup': AXMVersionHistoryPopupWorkflow,
1038
- },
1039
- }),
1040
- ],
1041
- exports: [],
1042
- }]
1043
- }] });
1044
-
1045
- class AXMCommonModule {
1046
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1047
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXMCommonModule, imports: [AXPGlobalSearchModule,
1048
- AXPWidgetsModule,
1049
- AXPVersionHistoryModule,
1050
- AXPCompareModule, i1$1.AXPWorkflowModule] }); }
1051
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCommonModule, providers: [
1052
- {
1053
- provide: AXP_MENU_PROVIDER,
1054
- useClass: AXMMenuProvider,
1055
- multi: true,
1056
- },
1057
- {
1058
- provide: AXP_ENTITY_DEFINITION_LOADER,
1059
- useClass: AXMEntityProvider,
1060
- multi: true,
1061
- },
1062
- {
1063
- provide: AXP_SETTING_DEFINITION_PROVIDER,
1064
- useClass: AXMSettingProvider,
1065
- multi: true,
1066
- },
1067
- {
1068
- provide: AXP_SEARCH_PROVIDER,
1069
- useClass: AXMSearchCommandProvider,
1070
- multi: true,
1071
- },
1072
- {
1073
- provide: AXP_PERMISSION_DEFINITION_PROVIDER,
1074
- useClass: AXMPermissionDefinitionProvider,
1075
- multi: true,
1076
- },
1077
- {
1078
- provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
1079
- useClass: AXMLockEvaluatorScopeProvider,
1080
- multi: true,
1081
- },
1082
- ], imports: [AXPGlobalSearchModule,
1083
- AXPWidgetsModule,
1084
- AXPVersionHistoryModule,
1085
- AXPCompareModule,
1086
- AXPWorkflowModule.forChild({
1087
- actions: {
1088
- AXMLockPopupWorkflowAction,
1089
- AXMUnlockConfirmWorkflowAction,
1090
- },
1091
- workflows: {
1092
- 'lock-popup': AXMLockPopupWorkflow,
1093
- 'unlock-confirm': AXMUnlockConfirmWorkflow,
1094
- },
1095
- })] }); }
1096
- }
1097
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMCommonModule, decorators: [{
1098
- type: NgModule,
1099
- args: [{
1100
- imports: [
1101
- AXPGlobalSearchModule,
1102
- AXPWidgetsModule,
1103
- AXPVersionHistoryModule,
1104
- AXPCompareModule,
1105
- AXPWorkflowModule.forChild({
1106
- actions: {
1107
- AXMLockPopupWorkflowAction,
1108
- AXMUnlockConfirmWorkflowAction,
1109
- },
1110
- workflows: {
1111
- 'lock-popup': AXMLockPopupWorkflow,
1112
- 'unlock-confirm': AXMUnlockConfirmWorkflow,
1113
- },
1114
- }),
1115
- ],
1116
- exports: [],
1117
- declarations: [],
1118
- providers: [
1119
- {
1120
- provide: AXP_MENU_PROVIDER,
1121
- useClass: AXMMenuProvider,
1122
- multi: true,
1123
- },
1124
- {
1125
- provide: AXP_ENTITY_DEFINITION_LOADER,
1126
- useClass: AXMEntityProvider,
1127
- multi: true,
1128
- },
1129
- {
1130
- provide: AXP_SETTING_DEFINITION_PROVIDER,
1131
- useClass: AXMSettingProvider,
1132
- multi: true,
1133
- },
1134
- {
1135
- provide: AXP_SEARCH_PROVIDER,
1136
- useClass: AXMSearchCommandProvider,
1137
- multi: true,
1138
- },
1139
- {
1140
- provide: AXP_PERMISSION_DEFINITION_PROVIDER,
1141
- useClass: AXMPermissionDefinitionProvider,
1142
- multi: true,
1143
- },
1144
- {
1145
- provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
1146
- useClass: AXMLockEvaluatorScopeProvider,
1147
- multi: true,
1148
- },
1149
- ],
1150
- }]
1151
- }] });
1152
-
1153
- const AXPWidgetsList = {
1154
- Editors: {
1155
- DocumentAttachment: 'document-attachment-editor',
1156
- TagBox: 'tagable-editor',
1157
- CheckBox: 'checkbox-editor',
1158
- ColorBox: 'color-editor',
1159
- DateTimeBox: 'date-time-editor',
1160
- Direction: 'direction',
1161
- LargeTextBox: 'large-text-editor',
1162
- NumberBox: 'number-editor',
1163
- UnitValueBox: 'number-unit-editor',
1164
- PasswordBox: 'password-editor',
1165
- QueryBuilder: 'query-builder-editor',
1166
- RichText: 'rich-text-editor',
1167
- SelectBox: 'select-editor',
1168
- SelectionList: 'selection-list-editor',
1169
- TextBox: 'text-editor',
1170
- InlineDataTable: 'table-editor',
1171
- ToggleSwitch: 'toggle-editor',
1172
- FileTypeExtension: 'file-type-extension',
1173
- MapBox: 'map',
1174
- MediaGallery: 'gallery',
1175
- SignatureBox: 'signature',
1176
- LookupBox: 'lookup-editor',
1177
- },
1178
- Layouts: {
1179
- BlockLayout: 'block-layout',
1180
- RepeaterLayout: 'repeater-layout',
1181
- TextBlockLayout: 'text-block-layout',
1182
- FormField: 'form-field',
1183
- },
1184
- Actions: {
1185
- ActionButton: 'button-action',
1186
- },
1187
- Advanced: {
1188
- QRCode: 'qrcode',
1189
- },
1190
- Templates: {
1191
- Designer: 'template-designer',
1192
- },
1193
- };
1194
-
1195
- /**
1196
- * Generated bundle index. Do not edit.
1197
- */
1198
-
1199
- export { AXMCommonModule, AXMEntityProvider, AXMLockPopupWorkflow, AXMLockPopupWorkflowAction, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, AXMUnlockConfirmWorkflow, AXMUnlockConfirmWorkflowAction, AXPGlobalSearchModule, AXPGlobalSearchViewModel, AXPLockPopupComponent, AXPVersionHistoryModule, AXPWidgetsList, AXP_GLOBAL_SEARCH_CONFIG_TOKEN, RootConfig };
1
+ export { c as AXMCommonModule, d as AXMEntityProvider, l as AXMLockPopupWorkflow, k as AXMLockPopupWorkflowAction, e as AXMMenuProvider, f as AXMSearchCommandProvider, g as AXMSettingProvider, n as AXMUnlockConfirmWorkflow, m as AXMUnlockConfirmWorkflowAction, i as AXPGlobalSearchModule, A as AXPGlobalSearchViewModel, o as AXPLockPopupComponent, j as AXPVersionHistoryModule, a as AXPWidgetsList, h as AXP_GLOBAL_SEARCH_CONFIG_TOKEN, R as RootConfig } from './acorex-modules-common-acorex-modules-common-DQESb8jf.mjs';
1200
2
  //# sourceMappingURL=acorex-modules-common.mjs.map