@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
@@ -0,0 +1,1667 @@
1
+ import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
2
+ import { AXPHomePageService, AXPSearchCommandProvider, AXPSearchService, AXPSettingService, AXPLockService, AXPRegionalService, AXP_SETTING_DEFINITION_PROVIDER, AXP_MENU_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, applyQueryArray, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
9
+ import * as i4 from '@acorex/core/translation';
10
+ import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
11
+ import { AXPWidgetsCatalog, AXP_WIDGET_DATASOURCE_PROVIDER } 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 i2 from '@acorex/components/decorators';
21
+ import { AXDecoratorModule } from '@acorex/components/decorators';
22
+ import * as i2$1 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 i1$3 from '@angular/forms';
29
+ import { FormsModule } from '@angular/forms';
30
+ import * as i4$1 from '@acorex/components/form';
31
+ import { AXFormModule } from '@acorex/components/form';
32
+ import * as i5 from '@acorex/components/label';
33
+ import { AXLabelModule } from '@acorex/components/label';
34
+ import * as i6 from '@acorex/components/select-box';
35
+ import { AXSelectBoxModule } from '@acorex/components/select-box';
36
+ import * as i7 from '@acorex/components/text-area';
37
+ import { AXTextAreaModule } from '@acorex/components/text-area';
38
+ import { AXValidationModule } from '@acorex/core/validation';
39
+ import { AXCalendarService } from '@acorex/core/date-time';
40
+ import { signalStore, withState, withMethods, patchState, withHooks } from '@ngrx/signals';
41
+ import { AXLocaleService } from '@acorex/core/locale';
42
+ import * as i1$4 from '@acorex/components/dropdown';
43
+ import { AXDropdownModule } from '@acorex/components/dropdown';
44
+ import { AXPopoverModule } from '@acorex/components/popover';
45
+ import { AXDataSource } from '@acorex/cdk/common';
46
+
47
+ const config = {
48
+ i18n: 'common',
49
+ };
50
+ const RootConfig = {
51
+ config,
52
+ module: {
53
+ module: 'common',
54
+ name: 'Common',
55
+ title: `t('module-name', {scope:"${config.i18n}"})`,
56
+ icon: 'fa-light fa-file-invoice',
57
+ },
58
+ entities: {},
59
+ };
60
+
61
+ class AXMEntityProvider {
62
+ constructor() {
63
+ this.injector = inject(Injector);
64
+ }
65
+ preload() {
66
+ const module = RootConfig.module.name;
67
+ return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
68
+ module: module,
69
+ entity: entity.name,
70
+ }));
71
+ }
72
+ async get(moduleName, entityName) {
73
+ if (moduleName == RootConfig.module.name) {
74
+ switch (entityName) {
75
+ }
76
+ }
77
+ return null;
78
+ }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
80
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider }); }
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider, decorators: [{
83
+ type: Injectable
84
+ }] });
85
+
86
+ class AXMMenuProvider {
87
+ constructor() {
88
+ this.sessionService = inject(AXPSessionService);
89
+ this.homePageService = inject(AXPHomePageService);
90
+ }
91
+ async provide(context) {
92
+ const scope = RootConfig.config.i18n;
93
+ const module = RootConfig.module;
94
+ const appName = this.sessionService.application?.name;
95
+ const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
96
+ if (!isAuthorized) {
97
+ return;
98
+ }
99
+ //
100
+ const homePagePath = this.homePageService.getCurrent().path;
101
+ if (homePagePath) {
102
+ context.addItems([
103
+ {
104
+ priority: -9,
105
+ text: `t('home',{scope:'common'})`,
106
+ path: homePagePath,
107
+ icon: 'fa-light fa-grid-2',
108
+ data: {
109
+ //requiredPermission: '',
110
+ },
111
+ },
112
+ ]);
113
+ }
114
+ context.find('user-profile').addItems([
115
+ {
116
+ text: `t('user.title', {scope: "settings"})`,
117
+ name: 'user-settings',
118
+ icon: 'fa-light fa-gear',
119
+ path: `/${this.sessionService.application?.name}/settings/user`,
120
+ },
121
+ ]);
122
+ context.addItems([
123
+ {
124
+ name: 'tenant-application-settings',
125
+ priority: 10000,
126
+ text: `t('tenant.title', {scope: "settings"})`,
127
+ type: 'menu',
128
+ icon: 'fa-light fa-gear',
129
+ path: `/${appName}/settings/tenant`,
130
+ data: {
131
+ requiredPermission: 'admin',
132
+ },
133
+ },
134
+ {
135
+ name: 'task-board',
136
+ text: `t('task-board.page-title', {scope: 'workflow-management'})`,
137
+ type: 'menu',
138
+ data: {
139
+ requiredPermission: 'platform',
140
+ },
141
+ icon: 'fa-light fa-list-check',
142
+ path: `/${appName}/task-board`,
143
+ },
144
+ ]);
145
+ }
146
+ }
147
+
148
+ class AXMPermissionDefinitionProvider {
149
+ async define(context) {
150
+ // context.addPermissions([
151
+ // {
152
+ // name: 'view_templates',
153
+ // title: 'Permission to view templates',
154
+ // isArchived: false,
155
+ // },
156
+ // ]);
157
+ }
158
+ }
159
+
160
+ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
161
+ constructor() {
162
+ super(...arguments);
163
+ this.commands = [
164
+ // {
165
+ // group: 'command',
166
+ // title: 'New Form Template',
167
+ // icon: RootConfig.entities.template.icon,
168
+ // description: 'Create a new form template for designing reusable forms.', // Added description
169
+ // commands: {
170
+ // 'create-entity': {
171
+ // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
172
+ // },
173
+ // },
174
+ // }
175
+ ];
176
+ }
177
+ }
178
+
179
+ var AXMLockSystemSettings;
180
+ (function (AXMLockSystemSettings) {
181
+ AXMLockSystemSettings["LockSystem"] = "general:lock-system:lock";
182
+ })(AXMLockSystemSettings || (AXMLockSystemSettings = {}));
183
+
184
+ class AXMSettingProvider {
185
+ constructor(injector) {
186
+ this.injector = injector;
187
+ this.translateService = this.injector.get(AXTranslationService);
188
+ }
189
+ async provide(context) {
190
+ const trans = async (key) => await this.translateService.translateAsync(`settings.${key}`, { scope: 'general' });
191
+ // Find the 'General Settings' group
192
+ const group = context.group('general');
193
+ if (!group) {
194
+ return;
195
+ }
196
+ // Add the 'Release Notes' setting
197
+ group.addSection('lock-system', await trans('general.lock-system.lock.title'), await trans('general.lock-system.lock.description')).addSetting({
198
+ key: AXMLockSystemSettings.LockSystem,
199
+ title: await trans('general.lock-system.lock.title'),
200
+ scope: AXPPlatformScope.Tenant,
201
+ isInherited: true,
202
+ defaultValue: false,
203
+ valueTransforms: objectKeyValueTransforms('id'),
204
+ widget: {
205
+ type: AXPWidgetsCatalog.toggle,
206
+ options: {
207
+ label: null,
208
+ }
209
+ },
210
+ description: await trans('general.lock-system.lock.description'),
211
+ });
212
+ }
213
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
214
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSettingProvider }); }
215
+ }
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSettingProvider, decorators: [{
217
+ type: Injectable
218
+ }], ctorParameters: () => [{ type: i0.Injector }] });
219
+
220
+ class AXPComparePopupComponent extends AXBasePageComponent {
221
+ constructor() {
222
+ super(...arguments);
223
+ this.inputs = input(...(ngDevMode ? [undefined, { debugName: "inputs" }] : []));
224
+ this.isBusy = signal(false, ...(ngDevMode ? [{ debugName: "isBusy" }] : []));
225
+ this.mode = input('compare', ...(ngDevMode ? [{ debugName: "mode" }] : []));
226
+ }
227
+ ngOnInit() {
228
+ super.ngOnInit();
229
+ // Any additional initialization logic can go here
230
+ }
231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPComparePopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
232
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.3", 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:
233
+ // Angular
234
+ CommonModule }, { kind: "ngmodule", type:
235
+ // ACoreX
236
+ AXDecoratorModule }, { kind: "component", type: i2.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: "component", type:
237
+ // Compare View
238
+ AXPCompareViewComponent, selector: "axp-compare-view", inputs: ["inputs", "mode"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
239
+ }
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPComparePopupComponent, decorators: [{
241
+ type: Component,
242
+ args: [{ selector: 'axp-compare-popup', standalone: true, imports: [
243
+ // Angular
244
+ CommonModule,
245
+ // ACoreX
246
+ AXDecoratorModule,
247
+ AXButtonModule,
248
+ AXTranslationModule,
249
+ // Compare View
250
+ AXPCompareViewComponent
251
+ ], 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>" }]
252
+ }] });
253
+
254
+ var comparePopup_component = /*#__PURE__*/Object.freeze({
255
+ __proto__: null,
256
+ AXPComparePopupComponent: AXPComparePopupComponent
257
+ });
258
+
259
+ class AXMComparePopupStartAction extends AXPWorkflowAction {
260
+ constructor() {
261
+ super(...arguments);
262
+ this.popupService = inject(AXPopupService);
263
+ this.translate = inject(AXTranslationService);
264
+ }
265
+ async execute(context) {
266
+ const comp = (await Promise.resolve().then(function () { return comparePopup_component; })).AXPComparePopupComponent;
267
+ this.popupService.open(comp, {
268
+ title: await this.translate.translateAsync('Compare'),
269
+ size: 'lg',
270
+ data: {
271
+ inputs: signal(context.getVariable('inputs')),
272
+ mode: signal(context.getVariable('mode')),
273
+ },
274
+ });
275
+ }
276
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMComparePopupStartAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
277
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMComparePopupStartAction }); }
278
+ }
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMComparePopupStartAction, decorators: [{
280
+ type: Injectable
281
+ }] });
282
+ class AXMCompareEntityRecordsAction extends AXPWorkflowAction {
283
+ constructor() {
284
+ super(...arguments);
285
+ this.entityRegistry = inject(AXPEntityDefinitionRegistryService);
286
+ }
287
+ async execute(context) {
288
+ const [moduleName, entityName] = context.getVariable('entity').split('.');
289
+ const entityRef = await this.entityRegistry.resolve(moduleName, entityName);
290
+ const records = context.getVariable('data');
291
+ const ids = records?.map((r) => r.id);
292
+ const getById = entityRef.queries.byKey?.execute;
293
+ //
294
+ const fields = entityRef.properties
295
+ .filter(p => p.schema.interface && p.schema.hidden != true)
296
+ .map((p) => ({
297
+ path: p.name,
298
+ title: p.title,
299
+ description: p.description,
300
+ widget: {
301
+ type: p.schema.interface?.type,
302
+ name: p.name,
303
+ path: p.name,
304
+ options: p.schema.interface?.options,
305
+ },
306
+ }));
307
+ const objects = await Promise.all(ids.map(async (c) => {
308
+ const object = await getById(c);
309
+ return {
310
+ id: object.id,
311
+ title: object.title,
312
+ description: object.description,
313
+ context: object,
314
+ };
315
+ }));
316
+ const inputs = {
317
+ fields: fields,
318
+ objects: objects,
319
+ };
320
+ //
321
+ context.setVariable('inputs', inputs);
322
+ context.setVariable('mode', 'records');
323
+ context.setOutput('result', true);
324
+ }
325
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCompareEntityRecordsAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
326
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCompareEntityRecordsAction }); }
327
+ }
328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCompareEntityRecordsAction, decorators: [{
329
+ type: Injectable
330
+ }] });
331
+ class AXMCompareEntityRecordVersionsAction extends AXPWorkflowAction {
332
+ constructor() {
333
+ super(...arguments);
334
+ this.entityRegistry = inject(AXPEntityDefinitionRegistryService);
335
+ this.activityLogService = inject(AXPActivityLogService);
336
+ this.formatService = inject(AXFormatService);
337
+ this.translate = inject(AXTranslationService);
338
+ }
339
+ async execute(context) {
340
+ const [moduleName, entityName] = context.getVariable('entity').split('.');
341
+ const entityRef = await this.entityRegistry.resolve(moduleName, entityName);
342
+ const refId = context.getVariable('data.refId');
343
+ const refType = context.getVariable('data.refType');
344
+ const ids = context.getVariable('data.ids');
345
+ const histories = await this.activityLogService.getHistoryByIds(refId, refType, ids);
346
+ //
347
+ const fields = entityRef.properties
348
+ .filter(p => p.schema.interface && p.schema.hidden != true)
349
+ .map((p) => ({
350
+ path: p.name,
351
+ title: p.title,
352
+ description: p.description,
353
+ widget: {
354
+ type: p.schema.interface?.type,
355
+ name: p.name,
356
+ path: p.name,
357
+ options: p.schema.interface?.options,
358
+ },
359
+ }));
360
+ const objects = await Promise.all(histories.map(async (h) => ({
361
+ id: h.id,
362
+ title: await this.translate.translateAsync(`@activity-log:${h.changeType == 'update' ? 'updated' : 'created'}-by-title`, {
363
+ params: {
364
+ user: h.user?.title,
365
+ date: this.formatService.format(h.date, 'datetime', { format: 'short' }),
366
+ }
367
+ }),
368
+ description: h.user?.title,
369
+ context: h.data,
370
+ })));
371
+ const inputs = {
372
+ fields: fields,
373
+ objects: objects,
374
+ };
375
+ //
376
+ context.setVariable('inputs', inputs);
377
+ context.setVariable('mode', 'changes');
378
+ context.setOutput('result', true);
379
+ }
380
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCompareEntityRecordVersionsAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
381
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCompareEntityRecordVersionsAction }); }
382
+ }
383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCompareEntityRecordVersionsAction, decorators: [{
384
+ type: Injectable
385
+ }] });
386
+ const AXMCompareEntityRecordsWorkflow = {
387
+ startStepId: 'start',
388
+ steps: {
389
+ start: {
390
+ action: 'show-entity-records-compare-action',
391
+ nextSteps: [
392
+ {
393
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
394
+ nextStepId: 'show-popup',
395
+ }
396
+ ],
397
+ },
398
+ 'show-popup': {
399
+ action: 'show-compare-popup-action',
400
+ },
401
+ },
402
+ };
403
+ const AXMCompareEntityRecordVersionsWorkflow = {
404
+ startStepId: 'start',
405
+ steps: {
406
+ start: {
407
+ action: 'show-entity-record-versions-compare-action',
408
+ nextSteps: [
409
+ {
410
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
411
+ nextStepId: 'show-popup',
412
+ }
413
+ ],
414
+ },
415
+ 'show-popup': {
416
+ action: 'show-compare-popup-action',
417
+ },
418
+ },
419
+ };
420
+
421
+ class AXPCompareModule {
422
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPCompareModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
423
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXPCompareModule, imports: [AXPComparePopupComponent, i1$1.AXPWorkflowModule], exports: [AXPComparePopupComponent] }); }
424
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPCompareModule, imports: [AXPComparePopupComponent,
425
+ AXPWorkflowModule.forChild({
426
+ actions: {
427
+ 'show-compare-popup-action': AXMComparePopupStartAction,
428
+ 'show-entity-records-compare-action': AXMCompareEntityRecordsAction,
429
+ 'show-entity-record-versions-compare-action': AXMCompareEntityRecordVersionsAction,
430
+ },
431
+ workflows: {
432
+ 'show-entity-records-compare': AXMCompareEntityRecordsWorkflow,
433
+ 'show-entity-record-versions-compare': AXMCompareEntityRecordVersionsWorkflow,
434
+ },
435
+ })] }); }
436
+ }
437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPCompareModule, decorators: [{
438
+ type: NgModule,
439
+ args: [{
440
+ imports: [
441
+ AXPComparePopupComponent,
442
+ AXPWorkflowModule.forChild({
443
+ actions: {
444
+ 'show-compare-popup-action': AXMComparePopupStartAction,
445
+ 'show-entity-records-compare-action': AXMCompareEntityRecordsAction,
446
+ 'show-entity-record-versions-compare-action': AXMCompareEntityRecordVersionsAction,
447
+ },
448
+ workflows: {
449
+ 'show-entity-records-compare': AXMCompareEntityRecordsWorkflow,
450
+ 'show-entity-record-versions-compare': AXMCompareEntityRecordVersionsWorkflow,
451
+ },
452
+ }),
453
+ ],
454
+ exports: [AXPComparePopupComponent],
455
+ }]
456
+ }] });
457
+
458
+ const AXP_GLOBAL_SEARCH_CONFIG_TOKEN = new InjectionToken('AXP_GLOBAL_SEARCH_CONFIG_TOKEN');
459
+
460
+ class AXPGlobalSearchSlotComponent {
461
+ constructor() {
462
+ this.workflow = inject(AXPWorkflowService);
463
+ }
464
+ async startSearch() {
465
+ await this.workflow.execute('global-search');
466
+ }
467
+ async handleKeyboardEvent(event) {
468
+ if (event.ctrlKey) {
469
+ switch (event.code) {
470
+ case 'KeyK':
471
+ event.preventDefault();
472
+ event.stopPropagation();
473
+ await this.startSearch();
474
+ break;
475
+ }
476
+ }
477
+ }
478
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
479
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPGlobalSearchSlotComponent, isStandalone: true, selector: "ng-component", host: { listeners: { "document:keydown": "handleKeyboardEvent($event)" } }, ngImport: i0, template: `
480
+ <ax-button color="primary" class="ax-flex md:ax-hidden" (onClick)="startSearch()">
481
+ <ax-icon class="fa-regular fa-search">
482
+ </ax-icon>
483
+ </ax-button>
484
+ <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">
485
+ <div class="ax-flex ax-items-center ax-gap-2">
486
+ <i class="fa-light fa-search ax-text-xl"></i>
487
+ <span>{{ t('search-placeholder',{scope:'global-search'}) | async}}</span>
488
+ </div>
489
+ <kbd class="ax-text-sm">Ctrl+K</kbd>
490
+ </div>
491
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i4.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
492
+ }
493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchSlotComponent, decorators: [{
494
+ type: Component,
495
+ args: [{
496
+ template: `
497
+ <ax-button color="primary" class="ax-flex md:ax-hidden" (onClick)="startSearch()">
498
+ <ax-icon class="fa-regular fa-search">
499
+ </ax-icon>
500
+ </ax-button>
501
+ <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">
502
+ <div class="ax-flex ax-items-center ax-gap-2">
503
+ <i class="fa-light fa-search ax-text-xl"></i>
504
+ <span>{{ t('search-placeholder',{scope:'global-search'}) | async}}</span>
505
+ </div>
506
+ <kbd class="ax-text-sm">Ctrl+K</kbd>
507
+ </div>
508
+ `,
509
+ imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXTranslationModule, AXTextBoxModule]
510
+ }]
511
+ }], propDecorators: { handleKeyboardEvent: [{
512
+ type: HostListener,
513
+ args: ['document:keydown', ['$event']]
514
+ }] } });
515
+
516
+ class AXPGlobalSearchStartAction extends AXPWorkflowAction {
517
+ constructor() {
518
+ super(...arguments);
519
+ this.popupService = inject(AXPopupService);
520
+ this.workflow = inject(AXPWorkflowService);
521
+ this.config = inject(AXP_GLOBAL_SEARCH_CONFIG_TOKEN);
522
+ }
523
+ async execute(context) {
524
+ const component = await this.config.window();
525
+ const popup = await this.popupService.open(component, {
526
+ title: 'Search...',
527
+ size: 'fit',
528
+ closeOnBackdropClick: true,
529
+ data: {
530
+ text: context.getVariable('text'),
531
+ },
532
+ header: false,
533
+ });
534
+ if (popup.data) {
535
+ const result = popup.data;
536
+ if (result && result.command) {
537
+ this.workflow.execute(result.command?.name, result.command?.options);
538
+ }
539
+ }
540
+ }
541
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchStartAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
542
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchStartAction }); }
543
+ }
544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchStartAction, decorators: [{
545
+ type: Injectable
546
+ }] });
547
+ const AXPGlobalSearchWorkflow = {
548
+ startStepId: 'start',
549
+ steps: {
550
+ start: {
551
+ action: 'AXPGlobalSearchStartAction',
552
+ },
553
+ },
554
+ };
555
+
556
+ class AXPGlobalSearchModule {
557
+ constructor(appInitService, injector) {
558
+ }
559
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchModule, deps: [{ token: i1$2.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
560
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchModule, imports: [i2$1.AXPComponentSlotModule, i1$1.AXPWorkflowModule] }); }
561
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchModule, providers: [
562
+ {
563
+ provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
564
+ useValue: {
565
+ window: () => import('./acorex-modules-common-search-popup.component-CpFvcrxw.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
566
+ },
567
+ },
568
+ ], imports: [AXPComponentSlotModule.forChild({
569
+ 'root-header-start': [
570
+ {
571
+ priority: 0,
572
+ name: 'search',
573
+ component: AXPGlobalSearchSlotComponent,
574
+ },
575
+ ],
576
+ }),
577
+ //
578
+ AXPWorkflowModule.forChild({
579
+ actions: {
580
+ AXPGlobalSearchStartAction
581
+ },
582
+ workflows: {
583
+ 'global-search': AXPGlobalSearchWorkflow,
584
+ },
585
+ })] }); }
586
+ }
587
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPGlobalSearchModule, decorators: [{
588
+ type: NgModule,
589
+ args: [{
590
+ imports: [
591
+ AXPComponentSlotModule.forChild({
592
+ 'root-header-start': [
593
+ {
594
+ priority: 0,
595
+ name: 'search',
596
+ component: AXPGlobalSearchSlotComponent,
597
+ },
598
+ ],
599
+ }),
600
+ //
601
+ AXPWorkflowModule.forChild({
602
+ actions: {
603
+ AXPGlobalSearchStartAction
604
+ },
605
+ workflows: {
606
+ 'global-search': AXPGlobalSearchWorkflow,
607
+ },
608
+ })
609
+ ],
610
+ exports: [],
611
+ declarations: [],
612
+ providers: [
613
+ {
614
+ provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
615
+ useValue: {
616
+ window: () => import('./acorex-modules-common-search-popup.component-CpFvcrxw.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
617
+ },
618
+ },
619
+ ]
620
+ }]
621
+ }], ctorParameters: () => [{ type: i1$2.AXPAppStartUpService }, { type: i0.Injector }] });
622
+
623
+ class AXPGlobalSearchViewModel {
624
+ constructor() {
625
+ this.settingKeys = {
626
+ recent: "global-search:recents:items",
627
+ pinned: "global-search:pinned:items"
628
+ };
629
+ this.searchService = inject(AXPSearchService);
630
+ this.settingService = inject(AXPSettingService);
631
+ this._text = signal(null, ...(ngDevMode ? [{ debugName: "_text" }] : []));
632
+ this.text = this._text.asReadonly();
633
+ this._results = signal([], ...(ngDevMode ? [{ debugName: "_results" }] : []));
634
+ this.results = this._results.asReadonly();
635
+ this._isBusy = signal(false, ...(ngDevMode ? [{ debugName: "_isBusy" }] : []));
636
+ this.isBusy = this._isBusy.asReadonly();
637
+ this.isEmpty = computed(() => this.text() && this.results().length == 0, ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
638
+ this.isValid = computed(() => (this.text()?.length ?? 0) > 2, ...(ngDevMode ? [{ debugName: "isValid" }] : []));
639
+ this.isStart = computed(() => !this.isEmpty() && this.results().length == 0, ...(ngDevMode ? [{ debugName: "isStart" }] : []));
640
+ this.isWelcome = computed(() => this.isStart() && this.pinnedItems().length == 0 && this.recentItems().length == 0, ...(ngDevMode ? [{ debugName: "isWelcome" }] : []));
641
+ this._recentItems = signal([], ...(ngDevMode ? [{ debugName: "_recentItems" }] : []));
642
+ this._pinnedItems = signal([], ...(ngDevMode ? [{ debugName: "_pinnedItems" }] : []));
643
+ this.pinnedItems = this._pinnedItems.asReadonly();
644
+ this.recentItems = computed(() => this.getTopRecentItems(), ...(ngDevMode ? [{ debugName: "recentItems" }] : []));
645
+ this.onItemSelected = new Subject();
646
+ this.loadSettings();
647
+ }
648
+ async search(text) {
649
+ this._isBusy.set(true);
650
+ this._text.set(text);
651
+ if (!this.isValid()) {
652
+ this._results.set([]);
653
+ }
654
+ else {
655
+ await new Promise((resolve) => setTimeout(resolve, 250));
656
+ const results = await this.searchService.search(text);
657
+ this._results.set(results);
658
+ }
659
+ this._isBusy.set(false);
660
+ }
661
+ async execute(item) {
662
+ this.onItemSelected.next(item);
663
+ await this.updateSelectionHistory(item);
664
+ }
665
+ async pin(item) {
666
+ const currentPinned = this._pinnedItems();
667
+ if (!currentPinned.some(i => i.id === item.id)) {
668
+ this._pinnedItems.set([item, ...currentPinned].slice(0, 5));
669
+ await this.saveSettings();
670
+ }
671
+ }
672
+ async unpin(item) {
673
+ const currentPinned = this._pinnedItems();
674
+ this._pinnedItems.set(currentPinned.filter(i => i.id !== item.id));
675
+ await this.saveSettings();
676
+ }
677
+ async togglePin(item) {
678
+ if (this.isPinned(item)) {
679
+ await this.unpin(item);
680
+ }
681
+ else {
682
+ await this.pin(item);
683
+ }
684
+ }
685
+ isPinned(item) {
686
+ const currentPinned = this._pinnedItems();
687
+ return currentPinned.some(i => i.id === item.id);
688
+ }
689
+ async updateSelectionHistory(item) {
690
+ // Update recent selections
691
+ const currentHistory = this._recentItems();
692
+ const updatedHistory = [item, ...currentHistory.filter(i => i.id !== item.id)].slice(0, 5);
693
+ this._recentItems.set(updatedHistory);
694
+ // Save updated settings
695
+ await this.saveSettings();
696
+ }
697
+ getTopRecentItems() {
698
+ const pinnedIds = new Set(this._pinnedItems().map(item => item.id));
699
+ return this._recentItems().filter(item => !pinnedIds.has(item.id)).slice(0, 5);
700
+ }
701
+ async clearRecentItems() {
702
+ this._recentItems.set([]);
703
+ await this.settingService.scope(AXPPlatformScope.User).set(this.settingKeys.recent, []);
704
+ }
705
+ async loadSettings() {
706
+ // Load recent selections
707
+ const recent = await this.settingService.get(this.settingKeys.recent);
708
+ if (recent) {
709
+ this._recentItems.set(recent.slice(0, 5));
710
+ }
711
+ // Load pinned items
712
+ const pinned = await this.settingService.get(this.settingKeys.pinned);
713
+ if (pinned) {
714
+ this._pinnedItems.set(pinned.slice(0, 5));
715
+ }
716
+ }
717
+ async saveSettings() {
718
+ // Save recent selections
719
+ await this.settingService.scope(AXPPlatformScope.User).set(this.settingKeys.recent, this._recentItems().slice(0, 5));
720
+ // Save pinned items
721
+ await this.settingService.scope(AXPPlatformScope.User).set(this.settingKeys.pinned, this._pinnedItems().slice(0, 5));
722
+ }
723
+ }
724
+
725
+ class AXMLockPopupWorkflowAction extends AXPWorkflowAction {
726
+ constructor() {
727
+ super(...arguments);
728
+ this.popupService = inject(AXPopupService);
729
+ }
730
+ async execute(context) {
731
+ const comp = (await Promise.resolve().then(function () { return index; })).AXPLockPopupComponent;
732
+ const result = await this.popupService.open(comp, {
733
+ title: 'lock-system.lock',
734
+ data: {
735
+ refId: context.getVariable('options.refId'),
736
+ refType: context.getVariable('options.refType'),
737
+ },
738
+ });
739
+ if (result.data != null && result.data.isCanceled != null) {
740
+ context.setOutput('isCanceled', result.data.isCanceled);
741
+ if (!result.data.isCanceled) {
742
+ context.setOutput('lockDuration', result.data.duration);
743
+ context.setOutput('lockReason', result.data.reason);
744
+ }
745
+ }
746
+ else {
747
+ context.setOutput('isCanceled', true);
748
+ }
749
+ }
750
+ }
751
+ const AXMLockPopupWorkflow = {
752
+ startStepId: 'lock-popup',
753
+ steps: {
754
+ 'lock-popup': {
755
+ action: 'AXMLockPopupWorkflowAction',
756
+ nextSteps: [
757
+ {
758
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("isCanceled") == false' }],
759
+ nextStepId: 'successToast',
760
+ },
761
+ ],
762
+ },
763
+ successToast: {
764
+ id: 'successToast',
765
+ action: 'AXPToastAction',
766
+ input: {
767
+ color: 'success',
768
+ title: 'workflow.entity-modified-title',
769
+ content: 'workflow.entity-modified-body',
770
+ },
771
+ nextSteps: [
772
+ {
773
+ conditions: [],
774
+ nextStepId: 'modifyConfirmed',
775
+ },
776
+ ],
777
+ },
778
+ modifyConfirmed: {
779
+ id: 'modifyConfirmed',
780
+ action: 'AXPEntityModifyConfirmedAction',
781
+ },
782
+ },
783
+ };
784
+
785
+ class AXMUnlockConfirmWorkflowAction extends AXPWorkflowAction {
786
+ constructor() {
787
+ super(...arguments);
788
+ this.dialogService = inject(AXDialogService);
789
+ this.translationService = inject(AXTranslationService);
790
+ this.lockService = inject(AXPLockService);
791
+ this.sessionService = inject(AXPSessionService);
792
+ }
793
+ async execute(context) {
794
+ const refId = context.getVariable('options.refId');
795
+ const refType = context.getVariable('options.refType');
796
+ // Show confirmation dialog
797
+ 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');
798
+ if (dialogResult.result) {
799
+ try {
800
+ // Perform unlock
801
+ await this.lockService.unlock({
802
+ refId: refId,
803
+ refType: refType,
804
+ type: 'user',
805
+ });
806
+ context.setOutput('isCanceled', false);
807
+ context.setOutput('unlocked', true);
808
+ }
809
+ catch (error) {
810
+ console.error('Unlock failed:', error);
811
+ // Show error dialog
812
+ await this.dialogService.alert(await this.translationService.translateAsync('workflow.error'), await this.translationService.translateAsync('lock-system.unlock-failed', { scope: 'general' }), 'danger');
813
+ context.setOutput('isCanceled', true);
814
+ context.setOutput('unlocked', false);
815
+ }
816
+ }
817
+ else {
818
+ context.setOutput('isCanceled', true);
819
+ context.setOutput('unlocked', false);
820
+ }
821
+ }
822
+ }
823
+ const AXMUnlockConfirmWorkflow = {
824
+ startStepId: 'unlock-confirm',
825
+ steps: {
826
+ 'unlock-confirm': {
827
+ action: 'AXMUnlockConfirmWorkflowAction',
828
+ nextSteps: [
829
+ {
830
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("unlocked") == true' }],
831
+ nextStepId: 'successToast',
832
+ },
833
+ ],
834
+ },
835
+ successToast: {
836
+ id: 'successToast',
837
+ action: 'AXPToastAction',
838
+ input: {
839
+ color: 'success',
840
+ title: 'workflow.entity-modified-title',
841
+ content: 'workflow.entity-modified-body',
842
+ },
843
+ nextSteps: [
844
+ {
845
+ conditions: [],
846
+ nextStepId: 'modifyConfirmed',
847
+ },
848
+ ],
849
+ },
850
+ modifyConfirmed: {
851
+ id: 'modifyConfirmed',
852
+ action: 'AXPEntityModifyConfirmedAction',
853
+ },
854
+ },
855
+ };
856
+
857
+ class AXPLockPopupComponent extends AXBasePageComponent {
858
+ constructor() {
859
+ super(...arguments);
860
+ //#endregion
861
+ //#region ---- Signals & Services ----
862
+ this.isBusy = signal(false, ...(ngDevMode ? [{ debugName: "isBusy" }] : []));
863
+ this.form = viewChild.required('form');
864
+ this.lockService = inject(AXPLockService);
865
+ this.sessionService = inject(AXPSessionService);
866
+ this.translationService = inject(AXTranslationService);
867
+ //#endregion
868
+ //#region ---- Form Data ----
869
+ this.duration = '1h';
870
+ this.reason = '';
871
+ this.lockDurations = [];
872
+ }
873
+ async ngOnInit() {
874
+ // Load translated duration options
875
+ this.lockDurations = [
876
+ {
877
+ value: '1h',
878
+ text: await this.translationService.translateAsync('lock-system.duration.options.1h', { scope: 'general' }),
879
+ hours: 1
880
+ },
881
+ {
882
+ value: '1d',
883
+ text: await this.translationService.translateAsync('lock-system.duration.options.1d', { scope: 'general' }),
884
+ hours: 24
885
+ },
886
+ {
887
+ value: 'infinite',
888
+ text: await this.translationService.translateAsync('lock-system.duration.options.infinite', { scope: 'general' })
889
+ }
890
+ ];
891
+ }
892
+ //#endregion
893
+ //#region ---- UI Handlers ----
894
+ async handleConfirm() {
895
+ if (this.isBusy()) {
896
+ return;
897
+ }
898
+ // Validate form
899
+ const validation = await this.form().validate();
900
+ if (!validation.result) {
901
+ return;
902
+ }
903
+ // Ensure duration is selected
904
+ if (!this.duration) {
905
+ return;
906
+ }
907
+ this.isBusy.set(true);
908
+ try {
909
+ const selectedDuration = this.lockDurations.find(d => d.value === this.duration);
910
+ const expireAt = selectedDuration?.hours
911
+ ? new Date(Date.now() + selectedDuration.hours * 60 * 60 * 1000)
912
+ : undefined; // undefined means infinite
913
+ await this.lockService.lock({
914
+ refId: this.refId,
915
+ refType: this.refType,
916
+ type: 'user',
917
+ date: new Date().toISOString(),
918
+ expireAt: expireAt,
919
+ lockedBy: {
920
+ id: this.sessionService.user?.id ?? 'system',
921
+ type: 'oidc.users',
922
+ },
923
+ });
924
+ // Close and notify success
925
+ this.close({
926
+ isCanceled: false,
927
+ duration: this.duration,
928
+ reason: this.reason
929
+ });
930
+ }
931
+ catch (error) {
932
+ console.error(error);
933
+ // TODO: show error toast if required
934
+ }
935
+ finally {
936
+ this.isBusy.set(false);
937
+ }
938
+ }
939
+ handleCancel() {
940
+ this.close({ isCanceled: true });
941
+ }
942
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPLockPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
943
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.3", 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:
944
+ // Angular
945
+ CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
946
+ // ACoreX
947
+ 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: i2.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i2.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: i4$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i4$1.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i5.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i6.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: i7.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.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None }); }
948
+ }
949
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPLockPopupComponent, decorators: [{
950
+ type: Component,
951
+ args: [{ selector: 'axp-lock-popup', standalone: true, imports: [
952
+ // Angular
953
+ CommonModule,
954
+ FormsModule,
955
+ // ACoreX
956
+ AXButtonModule,
957
+ AXDecoratorModule,
958
+ AXFormModule,
959
+ AXLabelModule,
960
+ AXSelectBoxModule,
961
+ AXTextAreaModule,
962
+ AXTranslationModule,
963
+ AXValidationModule,
964
+ ], 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" }]
965
+ }] });
966
+
967
+ var index = /*#__PURE__*/Object.freeze({
968
+ __proto__: null,
969
+ AXPLockPopupComponent: AXPLockPopupComponent
970
+ });
971
+
972
+ class AXMLockEvaluatorScopeProvider {
973
+ constructor() {
974
+ this.lockService = inject(AXPLockService);
975
+ }
976
+ async provide(context) {
977
+ context.addScope('lock', {
978
+ check: async (refId, refType) => {
979
+ const lock = await this.lockService.check({
980
+ refId, refType
981
+ });
982
+ return lock;
983
+ }
984
+ });
985
+ }
986
+ }
987
+
988
+ class AXMVersionHistoryPopupStartAction extends AXPWorkflowAction {
989
+ constructor() {
990
+ super(...arguments);
991
+ this.popupService = inject(AXPopupService);
992
+ this.translate = inject(AXTranslationService);
993
+ }
994
+ async execute(context) {
995
+ const comp = (await import('./acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs')).AXMTimelineVersionHistoryPopupComponent;
996
+ this.popupService.open(comp, {
997
+ title: await this.translate.translateAsync('@activity-log:actions.view-history'),
998
+ data: {
999
+ refId: context.getVariable('options.refId'),
1000
+ refType: context.getVariable('options.refType'),
1001
+ fromDate: context.getVariable('options.fromDate'),
1002
+ toDate: context.getVariable('options.toDate'),
1003
+ limit: context.getVariable('options.limit'),
1004
+ offset: context.getVariable('options.offset'),
1005
+ },
1006
+ });
1007
+ }
1008
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMVersionHistoryPopupStartAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1009
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMVersionHistoryPopupStartAction }); }
1010
+ }
1011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMVersionHistoryPopupStartAction, decorators: [{
1012
+ type: Injectable
1013
+ }] });
1014
+ const AXMVersionHistoryPopupWorkflow = {
1015
+ startStepId: 'start',
1016
+ steps: {
1017
+ start: {
1018
+ action: 'show-version-history-popup-action',
1019
+ },
1020
+ },
1021
+ };
1022
+
1023
+ class AXPVersionHistoryModule {
1024
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPVersionHistoryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1025
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXPVersionHistoryModule, imports: [i1$1.AXPWorkflowModule] }); }
1026
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPVersionHistoryModule, imports: [AXPWorkflowModule.forChild({
1027
+ actions: {
1028
+ 'show-version-history-popup-action': AXMVersionHistoryPopupStartAction,
1029
+ },
1030
+ workflows: {
1031
+ 'show-version-history-popup': AXMVersionHistoryPopupWorkflow,
1032
+ },
1033
+ })] }); }
1034
+ }
1035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPVersionHistoryModule, decorators: [{
1036
+ type: NgModule,
1037
+ args: [{
1038
+ imports: [
1039
+ AXPWorkflowModule.forChild({
1040
+ actions: {
1041
+ 'show-version-history-popup-action': AXMVersionHistoryPopupStartAction,
1042
+ },
1043
+ workflows: {
1044
+ 'show-version-history-popup': AXMVersionHistoryPopupWorkflow,
1045
+ },
1046
+ }),
1047
+ ],
1048
+ exports: [],
1049
+ }]
1050
+ }] });
1051
+
1052
+ class AXPDateTimeEvaluatorScopeProvider {
1053
+ constructor() {
1054
+ this.calendarService = inject(AXCalendarService);
1055
+ }
1056
+ async provide(context) {
1057
+ context.addScope('date', {
1058
+ today: () => {
1059
+ return this.calendarService.now();
1060
+ },
1061
+ tomorrow: () => {
1062
+ return this.calendarService.create(this.calendarService.now()).add('day', 1).startOf('day').date;
1063
+ },
1064
+ yesterday: () => {
1065
+ return this.calendarService.create(this.calendarService.now()).add('day', -1).startOf('day').date;
1066
+ },
1067
+ addDays: (date, days) => {
1068
+ return this.calendarService.create(date).add('day', days).date;
1069
+ },
1070
+ });
1071
+ }
1072
+ }
1073
+
1074
+ const path = 'regional:';
1075
+ var AXPRegionalSetting;
1076
+ (function (AXPRegionalSetting) {
1077
+ AXPRegionalSetting["LocaleProfile"] = "regional:locale-profile";
1078
+ AXPRegionalSetting["TimeZone"] = "regional:timezone";
1079
+ AXPRegionalSetting["Language"] = "regional:language";
1080
+ AXPRegionalSetting["Country"] = "regional:country";
1081
+ AXPRegionalSetting["Calendar"] = "regional:calendar";
1082
+ AXPRegionalSetting["FirstDayOfWeek"] = "regional:first-day-of-week";
1083
+ AXPRegionalSetting["WeekendDays"] = "regional:weekend-days";
1084
+ AXPRegionalSetting["ShortDate"] = "regional:short-date";
1085
+ AXPRegionalSetting["LongDate"] = "regional:long-date";
1086
+ AXPRegionalSetting["ShortTime"] = "regional:short-time";
1087
+ AXPRegionalSetting["LongTime"] = "regional:long-time";
1088
+ AXPRegionalSetting["MeasurementUnits"] = "regional:measurement-units";
1089
+ AXPRegionalSetting["TemperatureUnits"] = "regional:temperature-units";
1090
+ AXPRegionalSetting["DistanceUnits"] = "regional:distance-units";
1091
+ AXPRegionalSetting["WeightUnits"] = "regional:weight-units";
1092
+ AXPRegionalSetting["VolumeUnits"] = "regional:volume-units";
1093
+ AXPRegionalSetting["SpeedUnits"] = "regional:speed-units";
1094
+ AXPRegionalSetting["AreaUnits"] = "regional:area-units";
1095
+ })(AXPRegionalSetting || (AXPRegionalSetting = {}));
1096
+
1097
+ // Regional Store - Manages regional settings and system changes
1098
+ const AXPRegionalStoreService = signalStore({ providedIn: 'root' },
1099
+ // Initial State
1100
+ withState((localeService = inject(AXLocaleService)) => {
1101
+ const state = {
1102
+ profile: localeService.activeProfile().localeInfo.code,
1103
+ language: localeService.activeProfile().localeInfo.language,
1104
+ calendar: localeService.activeProfile().calendar.system,
1105
+ };
1106
+ return state;
1107
+ }),
1108
+ // Computed Signals
1109
+ // withComputed(({ }) => ({
1110
+ // })),
1111
+ // Methods for State Management
1112
+ withMethods((store, settingService = inject(AXPSettingService), localeService = inject(AXLocaleService), calendarService = inject(AXCalendarService), translateService = inject(AXTranslationService)) => {
1113
+ const applyChanges = async () => {
1114
+ const profile = localeService.activeProfile();
1115
+ const html = document.getElementsByTagName('html')[0];
1116
+ profile.i18nMeta?.rtl ? html.setAttribute('dir', 'rtl') : html.removeAttribute('dir');
1117
+ };
1118
+ return {
1119
+ async changeProfile(profileCode) {
1120
+ await localeService.setProfile(profileCode);
1121
+ const profile = localeService.activeProfile();
1122
+ //
1123
+ if (store.profile() != profile.localeInfo.code) {
1124
+ settingService.scope(AXPPlatformScope.User).set(AXPRegionalSetting.LocaleProfile, profile.localeInfo.code);
1125
+ settingService.scope(AXPPlatformScope.User).set(AXPRegionalSetting.Language, profile.localeInfo.code);
1126
+ patchState(store, { profile: profile.localeInfo.code });
1127
+ }
1128
+ //
1129
+ await applyChanges();
1130
+ },
1131
+ async loadSetting() {
1132
+ const profileCode = (await settingService.scope(AXPPlatformScope.User).get(AXPRegionalSetting.LocaleProfile));
1133
+ patchState(store, { profile: profileCode });
1134
+ await localeService.setProfile(profileCode);
1135
+ //
1136
+ // delay to ensure the profile is set and override the default
1137
+ setTimeout(async () => {
1138
+ const calendar = (await settingService.scope(AXPPlatformScope.User).get(AXPRegionalSetting.Calendar));
1139
+ patchState(store, { calendar: calendar });
1140
+ calendarService.setActiveCalendar(calendar);
1141
+ //
1142
+ const language = (await settingService.scope(AXPPlatformScope.User).get(AXPRegionalSetting.Language));
1143
+ patchState(store, { language: language });
1144
+ translateService.setActiveLang(language);
1145
+ //
1146
+ await applyChanges();
1147
+ });
1148
+ //
1149
+ },
1150
+ };
1151
+ }), withHooks((store, settingService = inject(AXPSettingService), translateService = inject(AXTranslationService)) => ({
1152
+ onInit() {
1153
+ settingService.onChanged.subscribe(async (setting) => {
1154
+ const keys = [
1155
+ AXPRegionalSetting.LocaleProfile,
1156
+ AXPRegionalSetting.Language,
1157
+ AXPRegionalSetting.Calendar
1158
+ ];
1159
+ //
1160
+ if (keys.some(k => setting.keys.includes(k))) {
1161
+ await store.loadSetting();
1162
+ }
1163
+ });
1164
+ },
1165
+ onDestroy() { },
1166
+ })));
1167
+
1168
+ class AXMLanguageSlotComponent {
1169
+ constructor() {
1170
+ this.regionalService = inject(AXPRegionalService);
1171
+ this.store = inject(AXPRegionalStoreService);
1172
+ this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : []));
1173
+ }
1174
+ async ngOnInit() {
1175
+ const items = await this.regionalService.getLocaleProfiles();
1176
+ this.items.set(items);
1177
+ }
1178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMLanguageSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1179
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXMLanguageSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n", dependencies: [{ kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i1$4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXPopoverModule }, { 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: "component", type: i3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }] }); }
1180
+ }
1181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMLanguageSlotComponent, decorators: [{
1182
+ type: Component,
1183
+ args: [{ imports: [AXDropdownModule, AXDecoratorModule, AXPopoverModule, AXButtonModule], template: "<ax-button color=\"primary\">\n <ax-icon class=\"fa-regular fa-globe\"> </ax-icon>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(lang of items(); track lang){\n <ax-button-item\n [text]=\"lang.title\"\n [selected]=\"store.profile() === lang.code\"\n (onClick)=\"store.changeProfile(lang.code)\"\n >\n <ax-prefix>\n <ax-icon icon=\"fa-solid fa-flag\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n</ax-button>\n" }]
1184
+ }] });
1185
+
1186
+ class AXPRegionalWidgetDataSourceProvider {
1187
+ constructor() {
1188
+ this.regionalService = inject(AXPRegionalService);
1189
+ //#region Country
1190
+ this.country = {
1191
+ name: 'countries',
1192
+ title: 'Countries',
1193
+ textField: 'title',
1194
+ valueField: 'code',
1195
+ columns: [
1196
+ {
1197
+ name: 'code',
1198
+ title: 'Code',
1199
+ },
1200
+ {
1201
+ name: 'title',
1202
+ title: 'Title',
1203
+ },
1204
+ {
1205
+ name: 'timezone',
1206
+ title: 'Timezone',
1207
+ },
1208
+ ],
1209
+ source: async () => {
1210
+ const list = await this.regionalService.getCountries();
1211
+ return new AXDataSource({
1212
+ pageSize: 20,
1213
+ key: 'code',
1214
+ load: (e) => {
1215
+ return applyQueryArray(list, e);
1216
+ },
1217
+ byKey: async (key) => {
1218
+ return list.find((c) => c.code == key);
1219
+ },
1220
+ });
1221
+ },
1222
+ samples: [
1223
+ { code: 'US', title: 'United States', timezone: 'GMT-5' },
1224
+ { code: 'CA', title: 'Canada', timezone: 'GMT-6' },
1225
+ { code: 'GB', title: 'United Kingdom', timezone: 'GMT+0' },
1226
+ ],
1227
+ };
1228
+ //#endregion
1229
+ //#region Cities
1230
+ this.cities = {
1231
+ name: 'cities',
1232
+ title: 'Cities',
1233
+ textField: 'title',
1234
+ valueField: 'code',
1235
+ columns: [
1236
+ {
1237
+ name: 'code',
1238
+ title: 'Code',
1239
+ },
1240
+ {
1241
+ name: 'title',
1242
+ title: 'Title',
1243
+ },
1244
+ {
1245
+ name: 'timezone',
1246
+ title: 'Timezone',
1247
+ },
1248
+ ],
1249
+ source: async () => {
1250
+ const list = await this.regionalService.getCities();
1251
+ return new AXDataSource({
1252
+ pageSize: 20,
1253
+ key: 'code',
1254
+ load: (e) => {
1255
+ return applyQueryArray(list, e);
1256
+ },
1257
+ byKey: async (key) => {
1258
+ return list.find((c) => c.code == key);
1259
+ },
1260
+ });
1261
+ },
1262
+ samples: [
1263
+ { code: 'NYC', title: 'New York', timezone: 'GMT-5' },
1264
+ { code: 'TOR', title: 'Toronto', timezone: 'GMT-5' },
1265
+ { code: 'LDN', title: 'London', timezone: 'GMT+0' },
1266
+ ],
1267
+ };
1268
+ //#endregion
1269
+ //#region Provinces
1270
+ this.provinces = {
1271
+ name: 'provinces',
1272
+ title: 'Provinces',
1273
+ textField: 'title',
1274
+ valueField: 'code',
1275
+ columns: [
1276
+ {
1277
+ name: 'code',
1278
+ title: 'Code',
1279
+ },
1280
+ {
1281
+ name: 'title',
1282
+ title: 'Title',
1283
+ },
1284
+ {
1285
+ name: 'timezone',
1286
+ title: 'Timezone',
1287
+ },
1288
+ ],
1289
+ source: async () => {
1290
+ const list = await this.regionalService.getProvinces();
1291
+ return new AXDataSource({
1292
+ pageSize: 20,
1293
+ key: 'code',
1294
+ load: (e) => {
1295
+ return applyQueryArray(list, e);
1296
+ },
1297
+ byKey: async (key) => {
1298
+ return list.find((p) => p.code == key);
1299
+ },
1300
+ });
1301
+ },
1302
+ samples: [
1303
+ { code: 'CA', title: 'California', timezone: 'GMT-8' },
1304
+ { code: 'ON', title: 'Ontario', timezone: 'GMT-5' },
1305
+ { code: 'ENG', title: 'England', timezone: 'GMT+0' },
1306
+ ],
1307
+ };
1308
+ //#endregion
1309
+ //#region Currencies
1310
+ this.currencies = {
1311
+ name: 'currencies',
1312
+ title: 'Currencies',
1313
+ textField: 'title',
1314
+ valueField: 'code',
1315
+ columns: [
1316
+ {
1317
+ name: 'code',
1318
+ title: 'Code',
1319
+ },
1320
+ {
1321
+ name: 'title',
1322
+ title: 'Title',
1323
+ },
1324
+ {
1325
+ name: 'symbol',
1326
+ title: 'Symbol',
1327
+ },
1328
+ ],
1329
+ source: async () => {
1330
+ const list = await this.regionalService.getCurrencies();
1331
+ return new AXDataSource({
1332
+ pageSize: 20,
1333
+ key: 'code',
1334
+ load: (e) => {
1335
+ return applyQueryArray(list, e);
1336
+ },
1337
+ byKey: async (key) => {
1338
+ return list.find((c) => c.code == key);
1339
+ },
1340
+ });
1341
+ },
1342
+ samples: [
1343
+ { code: 'USD', title: 'United States Dollar', symbol: '$' },
1344
+ { code: 'CAD', title: 'Canadian Dollar', symbol: 'CA$' },
1345
+ { code: 'GBP', title: 'British Pound', symbol: '£' },
1346
+ ],
1347
+ };
1348
+ //#endregion
1349
+ //#region Languages
1350
+ this.languages = {
1351
+ name: 'languages',
1352
+ title: 'Languages',
1353
+ textField: 'title',
1354
+ valueField: 'code',
1355
+ columns: [
1356
+ {
1357
+ name: 'code',
1358
+ title: 'Code',
1359
+ },
1360
+ {
1361
+ name: 'title',
1362
+ title: 'Title',
1363
+ },
1364
+ ],
1365
+ source: async () => {
1366
+ const list = await this.regionalService.getLanguages();
1367
+ return new AXDataSource({
1368
+ pageSize: 20,
1369
+ key: 'code',
1370
+ load: (e) => {
1371
+ return applyQueryArray(list, e);
1372
+ },
1373
+ byKey: async (key) => {
1374
+ return list.find((l) => l.code == key);
1375
+ },
1376
+ });
1377
+ },
1378
+ samples: [
1379
+ { code: 'EN', title: 'English', nativeName: 'English' },
1380
+ { code: 'FR', title: 'French', nativeName: 'Français' },
1381
+ { code: 'ES', title: 'Spanish', nativeName: 'Español' },
1382
+ ],
1383
+ };
1384
+ //#endregion
1385
+ //#region Timezones
1386
+ this.timezones = {
1387
+ name: 'timezones',
1388
+ title: 'Timezones',
1389
+ textField: 'title',
1390
+ valueField: 'iana',
1391
+ columns: [
1392
+ {
1393
+ name: 'code',
1394
+ title: 'Code',
1395
+ },
1396
+ {
1397
+ name: 'title',
1398
+ title: 'Title',
1399
+ },
1400
+ ],
1401
+ source: async () => {
1402
+ const list = await this.regionalService.getTimeZones();
1403
+ return new AXDataSource({
1404
+ pageSize: 20,
1405
+ key: 'code',
1406
+ load: (e) => {
1407
+ return applyQueryArray(list, e);
1408
+ },
1409
+ byKey: async (key) => {
1410
+ return list.find((t) => t.code == key);
1411
+ },
1412
+ });
1413
+ },
1414
+ samples: [
1415
+ { code: 'GMT-5', title: 'Eastern Time (US & Canada)' },
1416
+ { code: 'GMT+0', title: 'Greenwich Mean Time' },
1417
+ { code: 'GMT+1', title: 'Central European Time' },
1418
+ ],
1419
+ };
1420
+ }
1421
+ //#endregion
1422
+ async items() {
1423
+ return [this.country, this.cities, this.provinces, this.currencies, this.languages, this.timezones];
1424
+ }
1425
+ }
1426
+
1427
+ class AXMRegionalModule {
1428
+ constructor(appInitService, injector) {
1429
+ const service = injector.get(AXPRegionalStoreService);
1430
+ appInitService.registerTask({
1431
+ name: 'Settings',
1432
+ statusText: 'Apply Regional Settings ...',
1433
+ priority: 2,
1434
+ run: async () => {
1435
+ await service.loadSetting();
1436
+ }
1437
+ });
1438
+ }
1439
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMRegionalModule, deps: [{ token: i1$2.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
1440
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMRegionalModule, imports: [i2$1.AXPComponentSlotModule] }); }
1441
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMRegionalModule, providers: [
1442
+ {
1443
+ provide: AXP_SETTING_DEFINITION_PROVIDER,
1444
+ useFactory: async () => {
1445
+ const injector = inject(Injector);
1446
+ const provider = (await import('./acorex-modules-common-settings.provider-ha75F6g5.mjs')).AXMRegionalSettingProvider;
1447
+ return new provider(injector);
1448
+ },
1449
+ multi: true
1450
+ },
1451
+ {
1452
+ provide: AXP_WIDGET_DATASOURCE_PROVIDER,
1453
+ useClass: AXPRegionalWidgetDataSourceProvider,
1454
+ multi: true
1455
+ },
1456
+ ], imports: [AXPComponentSlotModule.forChild({
1457
+ 'root-header-end': [
1458
+ {
1459
+ name: 'language',
1460
+ component: AXMLanguageSlotComponent
1461
+ }
1462
+ ]
1463
+ })] }); }
1464
+ }
1465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMRegionalModule, decorators: [{
1466
+ type: NgModule,
1467
+ args: [{
1468
+ imports: [
1469
+ AXPComponentSlotModule.forChild({
1470
+ 'root-header-end': [
1471
+ {
1472
+ name: 'language',
1473
+ component: AXMLanguageSlotComponent
1474
+ }
1475
+ ]
1476
+ })
1477
+ ],
1478
+ exports: [],
1479
+ declarations: [],
1480
+ providers: [
1481
+ {
1482
+ provide: AXP_SETTING_DEFINITION_PROVIDER,
1483
+ useFactory: async () => {
1484
+ const injector = inject(Injector);
1485
+ const provider = (await import('./acorex-modules-common-settings.provider-ha75F6g5.mjs')).AXMRegionalSettingProvider;
1486
+ return new provider(injector);
1487
+ },
1488
+ multi: true
1489
+ },
1490
+ {
1491
+ provide: AXP_WIDGET_DATASOURCE_PROVIDER,
1492
+ useClass: AXPRegionalWidgetDataSourceProvider,
1493
+ multi: true
1494
+ },
1495
+ ],
1496
+ }]
1497
+ }], ctorParameters: () => [{ type: i1$2.AXPAppStartUpService }, { type: i0.Injector }] });
1498
+
1499
+ class AXMCommonModule {
1500
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1501
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMCommonModule, imports: [AXPGlobalSearchModule,
1502
+ AXPWidgetsModule,
1503
+ AXPVersionHistoryModule,
1504
+ AXPCompareModule,
1505
+ AXMRegionalModule, i1$1.AXPWorkflowModule] }); }
1506
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCommonModule, providers: [
1507
+ {
1508
+ provide: AXP_MENU_PROVIDER,
1509
+ useClass: AXMMenuProvider,
1510
+ multi: true,
1511
+ },
1512
+ {
1513
+ provide: AXP_ENTITY_DEFINITION_LOADER,
1514
+ useClass: AXMEntityProvider,
1515
+ multi: true,
1516
+ },
1517
+ {
1518
+ provide: AXP_SETTING_DEFINITION_PROVIDER,
1519
+ useClass: AXMSettingProvider,
1520
+ multi: true,
1521
+ },
1522
+ {
1523
+ provide: AXP_SEARCH_PROVIDER,
1524
+ useClass: AXMSearchCommandProvider,
1525
+ multi: true,
1526
+ },
1527
+ {
1528
+ provide: AXP_PERMISSION_DEFINITION_PROVIDER,
1529
+ useClass: AXMPermissionDefinitionProvider,
1530
+ multi: true,
1531
+ },
1532
+ {
1533
+ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
1534
+ useClass: AXMLockEvaluatorScopeProvider,
1535
+ multi: true,
1536
+ },
1537
+ {
1538
+ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
1539
+ useClass: AXPDateTimeEvaluatorScopeProvider,
1540
+ multi: true,
1541
+ },
1542
+ ], imports: [AXPGlobalSearchModule,
1543
+ AXPWidgetsModule,
1544
+ AXPVersionHistoryModule,
1545
+ AXPCompareModule,
1546
+ AXMRegionalModule,
1547
+ AXPWorkflowModule.forChild({
1548
+ actions: {
1549
+ AXMLockPopupWorkflowAction,
1550
+ AXMUnlockConfirmWorkflowAction,
1551
+ },
1552
+ workflows: {
1553
+ 'lock-popup': AXMLockPopupWorkflow,
1554
+ 'unlock-confirm': AXMUnlockConfirmWorkflow,
1555
+ },
1556
+ })] }); }
1557
+ }
1558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMCommonModule, decorators: [{
1559
+ type: NgModule,
1560
+ args: [{
1561
+ imports: [
1562
+ AXPGlobalSearchModule,
1563
+ AXPWidgetsModule,
1564
+ AXPVersionHistoryModule,
1565
+ AXPCompareModule,
1566
+ AXMRegionalModule,
1567
+ AXPWorkflowModule.forChild({
1568
+ actions: {
1569
+ AXMLockPopupWorkflowAction,
1570
+ AXMUnlockConfirmWorkflowAction,
1571
+ },
1572
+ workflows: {
1573
+ 'lock-popup': AXMLockPopupWorkflow,
1574
+ 'unlock-confirm': AXMUnlockConfirmWorkflow,
1575
+ },
1576
+ }),
1577
+ ],
1578
+ exports: [],
1579
+ declarations: [],
1580
+ providers: [
1581
+ {
1582
+ provide: AXP_MENU_PROVIDER,
1583
+ useClass: AXMMenuProvider,
1584
+ multi: true,
1585
+ },
1586
+ {
1587
+ provide: AXP_ENTITY_DEFINITION_LOADER,
1588
+ useClass: AXMEntityProvider,
1589
+ multi: true,
1590
+ },
1591
+ {
1592
+ provide: AXP_SETTING_DEFINITION_PROVIDER,
1593
+ useClass: AXMSettingProvider,
1594
+ multi: true,
1595
+ },
1596
+ {
1597
+ provide: AXP_SEARCH_PROVIDER,
1598
+ useClass: AXMSearchCommandProvider,
1599
+ multi: true,
1600
+ },
1601
+ {
1602
+ provide: AXP_PERMISSION_DEFINITION_PROVIDER,
1603
+ useClass: AXMPermissionDefinitionProvider,
1604
+ multi: true,
1605
+ },
1606
+ {
1607
+ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
1608
+ useClass: AXMLockEvaluatorScopeProvider,
1609
+ multi: true,
1610
+ },
1611
+ {
1612
+ provide: AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER,
1613
+ useClass: AXPDateTimeEvaluatorScopeProvider,
1614
+ multi: true,
1615
+ },
1616
+ ],
1617
+ }]
1618
+ }] });
1619
+
1620
+ const AXPWidgetsList = {
1621
+ Editors: {
1622
+ DocumentAttachment: 'document-attachment-editor',
1623
+ TagBox: 'tagable-editor',
1624
+ CheckBox: 'checkbox-editor',
1625
+ ColorBox: 'color-editor',
1626
+ DateTimeBox: 'date-time-editor',
1627
+ Direction: 'direction',
1628
+ LargeTextBox: 'large-text-editor',
1629
+ NumberBox: 'number-editor',
1630
+ UnitValueBox: 'number-unit-editor',
1631
+ PasswordBox: 'password-editor',
1632
+ QueryBuilder: 'query-builder-editor',
1633
+ RichText: 'rich-text-editor',
1634
+ SelectBox: 'select-editor',
1635
+ SelectionList: 'selection-list-editor',
1636
+ TextBox: 'text-editor',
1637
+ InlineDataTable: 'table-editor',
1638
+ ToggleSwitch: 'toggle-editor',
1639
+ FileTypeExtension: 'file-type-extension',
1640
+ MapBox: 'map',
1641
+ MediaGallery: 'gallery',
1642
+ SignatureBox: 'signature',
1643
+ LookupBox: 'lookup-editor',
1644
+ },
1645
+ Layouts: {
1646
+ BlockLayout: 'block-layout',
1647
+ RepeaterLayout: 'repeater-layout',
1648
+ TextBlockLayout: 'text-block-layout',
1649
+ FormField: 'form-field',
1650
+ },
1651
+ Actions: {
1652
+ ActionButton: 'button-action',
1653
+ },
1654
+ Advanced: {
1655
+ QRCode: 'qrcode',
1656
+ },
1657
+ Templates: {
1658
+ Designer: 'template-designer',
1659
+ },
1660
+ };
1661
+
1662
+ /**
1663
+ * Generated bundle index. Do not edit.
1664
+ */
1665
+
1666
+ export { AXPGlobalSearchViewModel as A, RootConfig as R, AXPWidgetsList as a, AXPRegionalSetting as b, AXMCommonModule as c, AXMEntityProvider as d, AXMMenuProvider as e, AXMSearchCommandProvider as f, AXMSettingProvider as g, AXP_GLOBAL_SEARCH_CONFIG_TOKEN as h, AXPGlobalSearchModule as i, AXPVersionHistoryModule as j, AXMLockPopupWorkflowAction as k, AXMLockPopupWorkflow as l, AXMUnlockConfirmWorkflowAction as m, AXMUnlockConfirmWorkflow as n, AXPLockPopupComponent as o };
1667
+ //# sourceMappingURL=acorex-modules-common-acorex-modules-common-DQESb8jf.mjs.map