@acorex/modules 20.2.0-next.4 → 20.2.1

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 (229) hide show
  1. package/contact-management/index.d.ts +21 -163
  2. package/content-management/index.d.ts +59 -2
  3. package/conversation/index.d.ts +77 -68
  4. package/dashboard-management/index.d.ts +7 -4
  5. package/data-management/index.d.ts +66 -10
  6. package/document-management/index.d.ts +51 -2
  7. package/fesm2022/{acorex-modules-application-management-module-designer.component-CsZjqUAj.mjs → acorex-modules-application-management-module-designer.component-BitSGI0F.mjs} +7 -7
  8. package/fesm2022/{acorex-modules-application-management-module-designer.component-CsZjqUAj.mjs.map → acorex-modules-application-management-module-designer.component-BitSGI0F.mjs.map} +1 -1
  9. package/fesm2022/acorex-modules-application-management.mjs +41 -41
  10. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  11. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-tDyQQDnk.mjs → acorex-modules-auth-acorex-modules-auth-CdZ9BHOa.mjs} +47 -47
  12. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-tDyQQDnk.mjs.map → acorex-modules-auth-acorex-modules-auth-CdZ9BHOa.mjs.map} +1 -1
  13. package/fesm2022/{acorex-modules-auth-app-chooser.component-yu1DJZKN.mjs → acorex-modules-auth-app-chooser.component-D4ehfpnB.mjs} +5 -5
  14. package/fesm2022/{acorex-modules-auth-app-chooser.component-yu1DJZKN.mjs.map → acorex-modules-auth-app-chooser.component-D4ehfpnB.mjs.map} +1 -1
  15. package/fesm2022/{acorex-modules-auth-blank.layout-ZjroQcdq.mjs → acorex-modules-auth-blank.layout-D0KDl_qd.mjs} +4 -4
  16. package/fesm2022/{acorex-modules-auth-blank.layout-ZjroQcdq.mjs.map → acorex-modules-auth-blank.layout-D0KDl_qd.mjs.map} +1 -1
  17. package/fesm2022/{acorex-modules-auth-login.module-D1aa1F6G.mjs → acorex-modules-auth-login.module-BHRC357P.mjs} +8 -8
  18. package/fesm2022/{acorex-modules-auth-login.module-D1aa1F6G.mjs.map → acorex-modules-auth-login.module-BHRC357P.mjs.map} +1 -1
  19. package/fesm2022/{acorex-modules-auth-master.layout-CGQmSlGQ.mjs → acorex-modules-auth-master.layout-DAYMmpBW.mjs} +5 -5
  20. package/fesm2022/{acorex-modules-auth-master.layout-CGQmSlGQ.mjs.map → acorex-modules-auth-master.layout-DAYMmpBW.mjs.map} +1 -1
  21. package/fesm2022/{acorex-modules-auth-oauth-callback.component-m9YiJ4e9.mjs → acorex-modules-auth-oauth-callback.component-B0Q3w45s.mjs} +5 -5
  22. package/fesm2022/{acorex-modules-auth-oauth-callback.component-m9YiJ4e9.mjs.map → acorex-modules-auth-oauth-callback.component-B0Q3w45s.mjs.map} +1 -1
  23. package/fesm2022/{acorex-modules-auth-password.component-Cb3FJ1DZ.mjs → acorex-modules-auth-password.component-BJpxtJYh.mjs} +5 -5
  24. package/fesm2022/{acorex-modules-auth-password.component-Cb3FJ1DZ.mjs.map → acorex-modules-auth-password.component-BJpxtJYh.mjs.map} +1 -1
  25. package/fesm2022/{acorex-modules-auth-password.component-CiWdX7f_.mjs → acorex-modules-auth-password.component-NAY46d_2.mjs} +5 -5
  26. package/fesm2022/{acorex-modules-auth-password.component-CiWdX7f_.mjs.map → acorex-modules-auth-password.component-NAY46d_2.mjs.map} +1 -1
  27. package/fesm2022/{acorex-modules-auth-routes-pae8qpX9.mjs → acorex-modules-auth-routes-hvqL2dCH.mjs} +2 -2
  28. package/fesm2022/{acorex-modules-auth-routes-pae8qpX9.mjs.map → acorex-modules-auth-routes-hvqL2dCH.mjs.map} +1 -1
  29. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Bk0l3XoV.mjs → acorex-modules-auth-tenant-chooser.component-Cy94co3S.mjs} +4 -4
  30. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Bk0l3XoV.mjs.map → acorex-modules-auth-tenant-chooser.component-Cy94co3S.mjs.map} +1 -1
  31. package/fesm2022/{acorex-modules-auth-two-factor-code.component-DDEIajiI.mjs → acorex-modules-auth-two-factor-code.component-CAbntIoR.mjs} +4 -4
  32. package/fesm2022/{acorex-modules-auth-two-factor-code.component-DDEIajiI.mjs.map → acorex-modules-auth-two-factor-code.component-CAbntIoR.mjs.map} +1 -1
  33. package/fesm2022/{acorex-modules-auth-two-factor.module-DtcoHPH4.mjs → acorex-modules-auth-two-factor.module-kPuT8yUw.mjs} +7 -7
  34. package/fesm2022/{acorex-modules-auth-two-factor.module-DtcoHPH4.mjs.map → acorex-modules-auth-two-factor.module-kPuT8yUw.mjs.map} +1 -1
  35. package/fesm2022/{acorex-modules-auth-user-sessions.component-sI6P2joA.mjs → acorex-modules-auth-user-sessions.component-Chx_jTSJ.mjs} +5 -5
  36. package/fesm2022/{acorex-modules-auth-user-sessions.component-sI6P2joA.mjs.map → acorex-modules-auth-user-sessions.component-Chx_jTSJ.mjs.map} +1 -1
  37. package/fesm2022/acorex-modules-auth.mjs +1 -1
  38. package/fesm2022/acorex-modules-calendar-management.mjs +22 -22
  39. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  40. package/fesm2022/{acorex-modules-common-search-popup.component-D7Y4T3Rp.mjs → acorex-modules-common-search-popup.component-39U0-TIj.mjs} +4 -4
  41. package/fesm2022/{acorex-modules-common-search-popup.component-D7Y4T3Rp.mjs.map → acorex-modules-common-search-popup.component-39U0-TIj.mjs.map} +1 -1
  42. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-ceEtE6qB.mjs → acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs} +4 -4
  43. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-ceEtE6qB.mjs.map → acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs.map} +1 -1
  44. package/fesm2022/acorex-modules-common.mjs +72 -49
  45. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  46. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs +863 -0
  47. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs.map +1 -0
  48. package/fesm2022/{acorex-modules-contact-management-contact-method.entity-Ci93_mb9.mjs → acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs} +2 -35
  49. package/fesm2022/acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs.map +1 -0
  50. package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-DjOm8qQb.mjs → acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs} +2 -2
  51. package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-DjOm8qQb.mjs.map → acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs.map} +1 -1
  52. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-BQyjzPR8.mjs → acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs} +2 -2
  53. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-BQyjzPR8.mjs.map → acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs.map} +1 -1
  54. package/fesm2022/acorex-modules-contact-management.mjs +1 -1
  55. package/fesm2022/acorex-modules-content-management.mjs +823 -14
  56. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  57. package/fesm2022/acorex-modules-conversation.mjs +161 -99
  58. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  59. package/fesm2022/acorex-modules-dashboard-management.mjs +246 -142
  60. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  61. package/fesm2022/acorex-modules-data-management.mjs +516 -50
  62. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  63. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DXGX-riG.mjs → acorex-modules-document-management-acorex-modules-document-management-C4G6L94e.mjs} +1132 -191
  64. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C4G6L94e.mjs.map +1 -0
  65. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-NaY7Mn95.mjs → acorex-modules-document-management-attachment-widget.component-CbDcYxEZ.mjs} +5 -5
  66. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-NaY7Mn95.mjs.map → acorex-modules-document-management-attachment-widget.component-CbDcYxEZ.mjs.map} +1 -1
  67. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-epxEuBU5.mjs → acorex-modules-document-management-create-folder-dialog.component-BCs4aZKn.mjs} +5 -5
  68. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-epxEuBU5.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BCs4aZKn.mjs.map} +1 -1
  69. package/fesm2022/{acorex-modules-document-management-details-view.component-CMI2Eokj.mjs → acorex-modules-document-management-details-view.component-v1VroVv-.mjs} +5 -5
  70. package/fesm2022/{acorex-modules-document-management-details-view.component-CMI2Eokj.mjs.map → acorex-modules-document-management-details-view.component-v1VroVv-.mjs.map} +1 -1
  71. package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs +123 -0
  72. package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs.map +1 -0
  73. package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs +105 -0
  74. package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs.map +1 -0
  75. package/fesm2022/{acorex-modules-document-management-drive-choose.component-DBKgwm70.mjs → acorex-modules-document-management-drive-choose.component-C5gJtH7_.mjs} +5 -5
  76. package/fesm2022/{acorex-modules-document-management-drive-choose.component-DBKgwm70.mjs.map → acorex-modules-document-management-drive-choose.component-C5gJtH7_.mjs.map} +1 -1
  77. package/fesm2022/{acorex-modules-document-management-drive.component-DoGdTL3n.mjs → acorex-modules-document-management-drive.component-D5OwpnAP.mjs} +40 -17
  78. package/fesm2022/acorex-modules-document-management-drive.component-D5OwpnAP.mjs.map +1 -0
  79. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BRsTSoln.mjs → acorex-modules-document-management-large-icons-view.component-DkHt-dTD.mjs} +5 -5
  80. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BRsTSoln.mjs.map → acorex-modules-document-management-large-icons-view.component-DkHt-dTD.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CpYeYyR5.mjs → acorex-modules-document-management-large-tiles-view.component-D2nA00k3.mjs} +5 -5
  82. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CpYeYyR5.mjs.map → acorex-modules-document-management-large-tiles-view.component-D2nA00k3.mjs.map} +1 -1
  83. package/fesm2022/{acorex-modules-document-management-link-dialog.component-ZteosW8O.mjs → acorex-modules-document-management-link-dialog.component-DKOod11R.mjs} +4 -4
  84. package/fesm2022/{acorex-modules-document-management-link-dialog.component-ZteosW8O.mjs.map → acorex-modules-document-management-link-dialog.component-DKOod11R.mjs.map} +1 -1
  85. package/fesm2022/{acorex-modules-document-management-list-view.component-C4VFnACA.mjs → acorex-modules-document-management-list-view.component-RaW67V7O.mjs} +5 -5
  86. package/fesm2022/{acorex-modules-document-management-list-view.component-C4VFnACA.mjs.map → acorex-modules-document-management-list-view.component-RaW67V7O.mjs.map} +1 -1
  87. package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-D5Csi3A3.mjs → acorex-modules-document-management-meta-choose-popup.component-BZu8EbTh.mjs} +5 -5
  88. package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BZu8EbTh.mjs.map +1 -0
  89. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-OXeS0kW8.mjs → acorex-modules-document-management-meta-selector-widget-column.component-CBAE1KZM.mjs} +4 -4
  90. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-OXeS0kW8.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-CBAE1KZM.mjs.map} +1 -1
  91. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-BdVSGb3M.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-B9Eqa6j0.mjs} +4 -4
  92. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-BdVSGb3M.mjs.map → acorex-modules-document-management-meta-selector-widget-designer.component-B9Eqa6j0.mjs.map} +1 -1
  93. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-B-Vos30P.mjs → acorex-modules-document-management-meta-selector-widget-view.component-BPBqDMwP.mjs} +4 -4
  94. package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-B-Vos30P.mjs.map → acorex-modules-document-management-meta-selector-widget-view.component-BPBqDMwP.mjs.map} +1 -1
  95. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-Bc7rbWwN.mjs → acorex-modules-document-management-permission-definition.provider-B6nu7fmX.mjs} +2 -2
  96. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-Bc7rbWwN.mjs.map → acorex-modules-document-management-permission-definition.provider-B6nu7fmX.mjs.map} +1 -1
  97. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DWUVMrVt.mjs → acorex-modules-document-management-rename-node-dialog.component--6V1Zaoz.mjs} +5 -5
  98. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DWUVMrVt.mjs.map → acorex-modules-document-management-rename-node-dialog.component--6V1Zaoz.mjs.map} +1 -1
  99. package/fesm2022/{acorex-modules-document-management-share-dialog.component-CkyuEAwV.mjs → acorex-modules-document-management-share-dialog.component-mBEu2KpG.mjs} +4 -4
  100. package/fesm2022/{acorex-modules-document-management-share-dialog.component-CkyuEAwV.mjs.map → acorex-modules-document-management-share-dialog.component-mBEu2KpG.mjs.map} +1 -1
  101. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DXjcTOny.mjs → acorex-modules-document-management-share-email-dialog.component-CI4SKdjk.mjs} +4 -4
  102. package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DXjcTOny.mjs.map → acorex-modules-document-management-share-email-dialog.component-CI4SKdjk.mjs.map} +1 -1
  103. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CCirsfoz.mjs → acorex-modules-document-management-small-icons-view.component-Cl1MKsX9.mjs} +5 -5
  104. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CCirsfoz.mjs.map → acorex-modules-document-management-small-icons-view.component-Cl1MKsX9.mjs.map} +1 -1
  105. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-58KZSQC4.mjs → acorex-modules-document-management-small-tiles-view.component-xoO1Loxt.mjs} +5 -5
  106. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-58KZSQC4.mjs.map → acorex-modules-document-management-small-tiles-view.component-xoO1Loxt.mjs.map} +1 -1
  107. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  108. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-DxSYInAR.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-CeQnu6WW.mjs} +56 -56
  109. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-DxSYInAR.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-CeQnu6WW.mjs.map} +1 -1
  110. package/fesm2022/{acorex-modules-form-template-management-category.entity-DeCfvNqF.mjs → acorex-modules-form-template-management-category.entity-DmrE2Pfz.mjs} +2 -2
  111. package/fesm2022/{acorex-modules-form-template-management-category.entity-DeCfvNqF.mjs.map → acorex-modules-form-template-management-category.entity-DmrE2Pfz.mjs.map} +1 -1
  112. package/fesm2022/{acorex-modules-form-template-management-designer.page-BsjFGFOD.mjs → acorex-modules-form-template-management-designer.page-CarisHH5.mjs} +4 -4
  113. package/fesm2022/{acorex-modules-form-template-management-designer.page-BsjFGFOD.mjs.map → acorex-modules-form-template-management-designer.page-CarisHH5.mjs.map} +1 -1
  114. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CsjgxSgC.mjs → acorex-modules-form-template-management-permission-definition.provider-CfOa446m.mjs} +2 -2
  115. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CsjgxSgC.mjs.map → acorex-modules-form-template-management-permission-definition.provider-CfOa446m.mjs.map} +1 -1
  116. package/fesm2022/{acorex-modules-form-template-management-settings.provider-_BIGyRt8.mjs → acorex-modules-form-template-management-settings.provider-hLlHnm-I.mjs} +2 -2
  117. package/fesm2022/{acorex-modules-form-template-management-settings.provider-_BIGyRt8.mjs.map → acorex-modules-form-template-management-settings.provider-hLlHnm-I.mjs.map} +1 -1
  118. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BCg756yD.mjs → acorex-modules-form-template-management-template-picker.component-bxYZqmYR.mjs} +5 -5
  119. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BCg756yD.mjs.map → acorex-modules-form-template-management-template-picker.component-bxYZqmYR.mjs.map} +1 -1
  120. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DkqRsXMq.mjs → acorex-modules-form-template-management-template-widget-edit.component-D_Ys5kRT.mjs} +5 -5
  121. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DkqRsXMq.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-D_Ys5kRT.mjs.map} +1 -1
  122. package/fesm2022/{acorex-modules-form-template-management-template.entity-CQm29n5v.mjs → acorex-modules-form-template-management-template.entity-CvlwS8TY.mjs} +2 -2
  123. package/fesm2022/{acorex-modules-form-template-management-template.entity-CQm29n5v.mjs.map → acorex-modules-form-template-management-template.entity-CvlwS8TY.mjs.map} +1 -1
  124. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DW2Z5EcJ.mjs → acorex-modules-form-template-management-viewer-popup.component-CE13nuke.mjs} +5 -5
  125. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DW2Z5EcJ.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CE13nuke.mjs.map} +1 -1
  126. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  127. package/fesm2022/acorex-modules-identifier-management.mjs +512 -0
  128. package/fesm2022/acorex-modules-identifier-management.mjs.map +1 -0
  129. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-a_wcGVPh.mjs → acorex-modules-issue-management-acorex-modules-issue-management-CTFlKzqy.mjs} +36 -36
  130. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-a_wcGVPh.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-CTFlKzqy.mjs.map} +1 -1
  131. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CsahsE-E.mjs → acorex-modules-issue-management-capture-screen.component-DDvum8EG.mjs} +5 -5
  132. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CsahsE-E.mjs.map → acorex-modules-issue-management-capture-screen.component-DDvum8EG.mjs.map} +1 -1
  133. package/fesm2022/acorex-modules-issue-management.mjs +1 -1
  134. package/fesm2022/{acorex-modules-locale-management-settings.provider-PKnqTses.mjs → acorex-modules-locale-management-settings.provider-ClVIqYIL.mjs} +2 -2
  135. package/fesm2022/{acorex-modules-locale-management-settings.provider-PKnqTses.mjs.map → acorex-modules-locale-management-settings.provider-ClVIqYIL.mjs.map} +1 -1
  136. package/fesm2022/acorex-modules-locale-management.mjs +1974 -1
  137. package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
  138. package/fesm2022/acorex-modules-location-management.mjs +56 -43
  139. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  140. package/fesm2022/acorex-modules-log-management.mjs +198 -10
  141. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  142. package/fesm2022/acorex-modules-notification-management.mjs +158 -100
  143. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  144. package/fesm2022/{acorex-modules-organization-management-add-item.component-CzIIXsRJ.mjs → acorex-modules-organization-management-add-item.component-DkXcoyHa.mjs} +4 -4
  145. package/fesm2022/{acorex-modules-organization-management-add-item.component-CzIIXsRJ.mjs.map → acorex-modules-organization-management-add-item.component-DkXcoyHa.mjs.map} +1 -1
  146. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-XXAEpYNo.mjs → acorex-modules-organization-management-org-chart-configuration.page-kVFv0xZ0.mjs} +5 -5
  147. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-XXAEpYNo.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-kVFv0xZ0.mjs.map} +1 -1
  148. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-CIveMQUH.mjs → acorex-modules-organization-management-org-chart-configuration.service-7I15ZQGa.mjs} +4 -4
  149. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-CIveMQUH.mjs.map → acorex-modules-organization-management-org-chart-configuration.service-7I15ZQGa.mjs.map} +1 -1
  150. package/fesm2022/{acorex-modules-organization-management-org-chart.page-UqJ1VOJ-.mjs → acorex-modules-organization-management-org-chart.page-DuyhYwnh.mjs} +12 -12
  151. package/fesm2022/{acorex-modules-organization-management-org-chart.page-UqJ1VOJ-.mjs.map → acorex-modules-organization-management-org-chart.page-DuyhYwnh.mjs.map} +1 -1
  152. package/fesm2022/acorex-modules-organization-management.mjs +265 -122
  153. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  154. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-B8X8tXFw.mjs +714 -0
  155. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-B8X8tXFw.mjs.map +1 -0
  156. package/fesm2022/{acorex-modules-contact-management-contact-source.entity-BsF9p0GK.mjs → acorex-modules-party-management-party-identifier-type.entity-b8aNBCpT.mjs} +238 -136
  157. package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-b8aNBCpT.mjs.map +1 -0
  158. package/fesm2022/acorex-modules-party-management-party-identifier.entity-B_5MSDF1.mjs +470 -0
  159. package/fesm2022/acorex-modules-party-management-party-identifier.entity-B_5MSDF1.mjs.map +1 -0
  160. package/fesm2022/{acorex-modules-contact-management-address-type.entity-DQZwgXki.mjs → acorex-modules-party-management-party-relationship.entity-CLAAuCde.mjs} +174 -218
  161. package/fesm2022/acorex-modules-party-management-party-relationship.entity-CLAAuCde.mjs.map +1 -0
  162. package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-CqdXpqLN.mjs → acorex-modules-party-management-party-role.entity-C5BeakjX.mjs} +157 -162
  163. package/fesm2022/acorex-modules-party-management-party-role.entity-C5BeakjX.mjs.map +1 -0
  164. package/fesm2022/acorex-modules-party-management-party.entity-Blwg8o3o.mjs +538 -0
  165. package/fesm2022/acorex-modules-party-management-party.entity-Blwg8o3o.mjs.map +1 -0
  166. package/fesm2022/acorex-modules-party-management-permission-definition.provider-DwMPgZkB.mjs +59 -0
  167. package/fesm2022/acorex-modules-party-management-permission-definition.provider-DwMPgZkB.mjs.map +1 -0
  168. package/fesm2022/acorex-modules-party-management.mjs +2 -0
  169. package/fesm2022/acorex-modules-party-management.mjs.map +1 -0
  170. package/fesm2022/acorex-modules-platform-management-list-terms.component-B1gl5xfT.mjs +93 -0
  171. package/fesm2022/acorex-modules-platform-management-list-terms.component-B1gl5xfT.mjs.map +1 -0
  172. package/fesm2022/{acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs → acorex-modules-platform-management-list-version.component-DTfLeVbH.mjs} +4 -4
  173. package/fesm2022/{acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs.map → acorex-modules-platform-management-list-version.component-DTfLeVbH.mjs.map} +1 -1
  174. package/fesm2022/acorex-modules-platform-management.mjs +483 -2129
  175. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  176. package/fesm2022/acorex-modules-project-management.mjs +43 -43
  177. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  178. package/fesm2022/{acorex-modules-report-management-report-create-root.component-CFNtnshF.mjs → acorex-modules-report-management-report-create-root.component-CPR6H1R1.mjs} +4 -4
  179. package/fesm2022/{acorex-modules-report-management-report-create-root.component-CFNtnshF.mjs.map → acorex-modules-report-management-report-create-root.component-CPR6H1R1.mjs.map} +1 -1
  180. package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-CbfJ_7Da.mjs → acorex-modules-report-management-report-runner-root-page.component-BIUto_c9.mjs} +8 -9
  181. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BIUto_c9.mjs.map +1 -0
  182. package/fesm2022/acorex-modules-report-management.mjs +279 -35
  183. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  184. package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
  185. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  186. package/fesm2022/acorex-modules-security-management.mjs +60 -60
  187. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  188. package/fesm2022/{acorex-modules-settings-management-setting-page.component-BhF5x-8D.mjs → acorex-modules-settings-management-setting-page.component-BWXHxXwS.mjs} +4 -4
  189. package/fesm2022/{acorex-modules-settings-management-setting-page.component-BhF5x-8D.mjs.map → acorex-modules-settings-management-setting-page.component-BWXHxXwS.mjs.map} +1 -1
  190. package/fesm2022/{acorex-modules-settings-management-setting-view.component-Do_gNJ2t.mjs → acorex-modules-settings-management-setting-view.component-D5pKY0Ag.mjs} +4 -4
  191. package/fesm2022/{acorex-modules-settings-management-setting-view.component-Do_gNJ2t.mjs.map → acorex-modules-settings-management-setting-view.component-D5pKY0Ag.mjs.map} +1 -1
  192. package/fesm2022/acorex-modules-settings-management.mjs +6 -6
  193. package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
  194. package/fesm2022/acorex-modules-task-management.mjs +196 -153
  195. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  196. package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
  197. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  198. package/fesm2022/acorex-modules-training-management.mjs +44 -44
  199. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  200. package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-DC7jdoqZ.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-BfE17ZXY.mjs} +13 -13
  201. package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-DC7jdoqZ.mjs.map → acorex-modules-workflow-management-acorex-modules-workflow-management-BfE17ZXY.mjs.map} +1 -1
  202. package/fesm2022/{acorex-modules-workflow-management-task-board.page-Bv2GAPaN.mjs → acorex-modules-workflow-management-task-board.page-2UTqXn3s.mjs} +20 -20
  203. package/fesm2022/{acorex-modules-workflow-management-task-board.page-Bv2GAPaN.mjs.map → acorex-modules-workflow-management-task-board.page-2UTqXn3s.mjs.map} +1 -1
  204. package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
  205. package/identifier-management/README.md +269 -0
  206. package/identifier-management/index.d.ts +271 -0
  207. package/locale-management/index.d.ts +22 -1
  208. package/location-management/index.d.ts +4 -1
  209. package/notification-management/index.d.ts +9 -5
  210. package/package.json +13 -5
  211. package/party-management/README.md +177 -0
  212. package/party-management/index.d.ts +86 -0
  213. package/platform-management/index.d.ts +2 -140
  214. package/report-management/index.d.ts +481 -35
  215. package/task-management/index.d.ts +4 -4
  216. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-Co0tt3cj.mjs +0 -2600
  217. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-Co0tt3cj.mjs.map +0 -1
  218. package/fesm2022/acorex-modules-contact-management-address-type.entity-DQZwgXki.mjs.map +0 -1
  219. package/fesm2022/acorex-modules-contact-management-contact-address.entity-CFfRywsB.mjs +0 -781
  220. package/fesm2022/acorex-modules-contact-management-contact-address.entity-CFfRywsB.mjs.map +0 -1
  221. package/fesm2022/acorex-modules-contact-management-contact-method.entity-Ci93_mb9.mjs.map +0 -1
  222. package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-CqdXpqLN.mjs.map +0 -1
  223. package/fesm2022/acorex-modules-contact-management-contact-source.entity-BsF9p0GK.mjs.map +0 -1
  224. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DXGX-riG.mjs.map +0 -1
  225. package/fesm2022/acorex-modules-document-management-drive.component-DoGdTL3n.mjs.map +0 -1
  226. package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-D5Csi3A3.mjs.map +0 -1
  227. package/fesm2022/acorex-modules-locale-management-acorex-modules-locale-management-CfaOC6U5.mjs +0 -1975
  228. package/fesm2022/acorex-modules-locale-management-acorex-modules-locale-management-CfaOC6U5.mjs.map +0 -1
  229. package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-CbfJ_7Da.mjs.map +0 -1
@@ -1,39 +1,32 @@
1
- import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingService, AXP_APP_VERSION_PROVIDER, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER } from '@acorex/platform/common';
1
+ import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXP_APP_VERSION_PROVIDER, AXPSettingService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER } from '@acorex/platform/common';
2
2
  import * as i4$1 from '@acorex/platform/layout/components';
3
- import { AXPThemeLayoutBlockComponent, AXPComponentSlotModule } from '@acorex/platform/layout/components';
3
+ import { AXPComponentSlotModule } from '@acorex/platform/layout/components';
4
4
  import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
5
- import * as i3$2 from '@acorex/platform/workflow';
6
- import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowModule } from '@acorex/platform/workflow';
5
+ import * as i3$1 from '@acorex/platform/workflow';
6
+ import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
7
7
  import * as i0 from '@angular/core';
8
- import { Injectable, inject, signal, HostListener, Component, Input, Injector, NgModule } from '@angular/core';
8
+ import { Injectable, inject, Component, Input, Injector, NgModule } from '@angular/core';
9
9
  import { ROUTES } from '@angular/router';
10
10
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
11
- import * as i3 from '@acorex/cdk/outline';
12
- import { AXOutlineModule } from '@acorex/cdk/outline';
13
- import * as i3$1 from '@acorex/components/decorators';
14
- import { AXDecoratorModule } from '@acorex/components/decorators';
15
- import * as i2 from '@acorex/components/side-menu';
16
- import { AXSideMenuModule } from '@acorex/components/side-menu';
17
- import * as i5$1 from '@acorex/core/format';
18
- import { AXFormatModule } from '@acorex/core/format';
19
- import { AXSafePipe } from '@acorex/core/pipes';
20
- import * as i6 from '@acorex/core/translation';
21
- import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
22
- import { AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPageLayoutBase } from '@acorex/platform/layout/views';
23
- import * as i5 from '@angular/common';
24
- import { CommonModule } from '@angular/common';
25
- import { AXPopupService } from '@acorex/components/popup';
26
- import { AXPPlatformScope, AXPAppStartUpService, objectKeyValueTransforms } from '@acorex/platform/core';
27
11
  import * as i4 from '@acorex/components/button';
28
12
  import { AXButtonModule } from '@acorex/components/button';
29
- import * as i2$1 from '@acorex/components/check-box';
13
+ import * as i2 from '@acorex/components/check-box';
30
14
  import { AXCheckBoxModule } from '@acorex/components/check-box';
15
+ import * as i3 from '@acorex/components/decorators';
16
+ import { AXDecoratorModule } from '@acorex/components/decorators';
31
17
  import * as i1 from '@acorex/components/label';
32
18
  import { AXLabelModule } from '@acorex/components/label';
33
19
  import { AXBasePageComponent } from '@acorex/components/page';
20
+ import * as i6 from '@acorex/core/translation';
21
+ import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
22
+ import * as i5 from '@angular/common';
23
+ import { CommonModule } from '@angular/common';
34
24
  import { DomSanitizer } from '@angular/platform-browser';
35
- import { AXPWidgetsList } from '@acorex/modules/common';
25
+ import { AXPopupService } from '@acorex/components/popup';
26
+ import { AXPPlatformScope, AXPAppStartUpService, objectKeyValueTransforms } from '@acorex/platform/core';
27
+ import { AXSafePipe } from '@acorex/core/pipes';
36
28
  import { AXPSessionService } from '@acorex/platform/auth';
29
+ import { AXMAppTermService } from '@acorex/modules/content-management';
37
30
  import { AXDialogService } from '@acorex/components/dialog';
38
31
  import { SwUpdate } from '@angular/service-worker';
39
32
  import { firstValueFrom } from 'rxjs';
@@ -50,12 +43,6 @@ const RootConfig = {
50
43
  icon: 'fa-light fa-cogs',
51
44
  },
52
45
  entities: {
53
- glossary: {
54
- name: 'Glossary',
55
- title: `t("glossary.individual-title", { scope: "${config.i18n}" })`,
56
- titlePlural: `t("glossary.plural-title", { scope: "${config.i18n}" })`,
57
- icon: 'fa-light fa-file',
58
- },
59
46
  localizationManagement: {
60
47
  name: 'Localization Management',
61
48
  title: `t("localization-management", {scope:"${config.i18n}"})`,
@@ -72,55 +59,35 @@ const RootConfig = {
72
59
  titlePlural: `t("appVersionPlural", {scope:"${config.i18n}"})`,
73
60
  icon: 'fa-light fa-code-branch',
74
61
  },
75
- appTerm: {
76
- name: 'app-term',
77
- title: `t("app-term.individual-title", {scope:"${config.i18n}"})`,
78
- titlePlural: `t("app-term.plural-title", {scope:"${config.i18n}"})`,
79
- pageTitle: `t("app-term.page-title", {scope:"${config.i18n}"})`,
80
- pageDescription: `t("app-term.page-description", {scope:"${config.i18n}"})`,
81
- icon: 'fa-light fa-scale-balanced',
82
- },
83
- metaDataDefinitionCategory: {
84
- name: 'MetaDataDefinitionCategory',
85
- title: `t("MetaDataDefinitionCategory", {scope:"${config.i18n}"})`,
86
- titlePlural: `t("MetaDataDefinitionCategoryPlural", {scope:"${config.i18n}"})`,
87
- icon: 'fa-light fa-list',
88
- },
89
- metaDataDefinition: {
90
- name: 'MetaDataDefinition',
91
- title: `t("metaDataDefinition", {scope:"${config.i18n}"})`,
92
- titlePlural: `t("metaDataDefinitionPlural", {scope:"${config.i18n}"})`,
93
- icon: 'fa-light fa-server',
94
- },
95
62
  },
96
63
  };
97
64
 
98
- class AXMAppTermService extends AXMEntityCrudServiceImpl {
65
+ class AXMAppVersionService extends AXMEntityCrudServiceImpl {
99
66
  }
100
- class AXMAppTermServiceImpl extends AXMEntityCrudServiceImpl {
67
+ class AXMAppVersionServiceImpl extends AXMEntityCrudServiceImpl {
101
68
  constructor() {
102
- super(`${RootConfig.module.name}.${RootConfig.entities.appTerm.name}`);
69
+ super(`${RootConfig.module.name}.${RootConfig.entities.appVersion.name}`);
103
70
  }
104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppTermServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
105
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppTermServiceImpl }); }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
72
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl }); }
106
73
  }
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppTermServiceImpl, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl, decorators: [{
108
75
  type: Injectable
109
76
  }], ctorParameters: () => [] });
110
77
 
111
- async function appTermEntityEntityFactory(injector) {
112
- const dataService = injector.get(AXMAppTermService);
78
+ async function appVersionEntityEntityFactory(injector) {
79
+ const dataService = injector.get(AXMAppVersionService);
113
80
  const i18n = RootConfig.config.i18n;
114
81
  const entityDef = {
115
82
  module: RootConfig.module.name,
116
- name: RootConfig.entities.appTerm.name,
83
+ name: RootConfig.entities.appVersion.name,
117
84
  source: '',
118
- title: RootConfig.entities.appTerm.title,
85
+ title: RootConfig.entities.appVersion.title,
119
86
  formats: {
120
- individual: RootConfig.entities.appTerm.title,
121
- plural: RootConfig.entities.appTerm.titlePlural,
87
+ individual: RootConfig.entities.appVersion.title,
88
+ plural: RootConfig.entities.appVersion.title,
122
89
  searchResult: {
123
- title: '{{ title }}',
90
+ title: '{{ versionNumber }}',
124
91
  description: RootConfig.module.title,
125
92
  },
126
93
  },
@@ -128,29 +95,13 @@ async function appTermEntityEntityFactory(injector) {
128
95
  groups: [
129
96
  {
130
97
  id: 'section',
131
- title: RootConfig.entities.appTerm.title,
98
+ title: RootConfig.entities.appVersion.title,
132
99
  },
133
100
  ],
134
101
  properties: [
135
102
  {
136
- name: 'type',
137
- title: `t("type", { scope: "common" })`,
138
- groupId: 'section',
139
- schema: {
140
- dataType: 'string',
141
- interface: {
142
- type: AXPWidgetsCatalog.text,
143
- },
144
- },
145
- validations: [
146
- {
147
- rule: 'required',
148
- },
149
- ],
150
- },
151
- {
152
- name: 'title',
153
- title: `t("title", { scope: "common" })`,
103
+ name: 'versionNumber',
104
+ title: `t("versionNumber", { scope: "${i18n}" })`,
154
105
  groupId: 'section',
155
106
  schema: {
156
107
  dataType: 'string',
@@ -178,8 +129,8 @@ async function appTermEntityEntityFactory(injector) {
178
129
  ],
179
130
  },
180
131
  {
181
- name: 'content',
182
- title: `t("content", { scope: "${i18n}" })`,
132
+ name: 'changeLog',
133
+ title: `t("changeLogs", { scope: "${i18n}" })`,
183
134
  groupId: 'section',
184
135
  schema: {
185
136
  dataType: 'string',
@@ -199,13 +150,13 @@ async function appTermEntityEntityFactory(injector) {
199
150
  ],
200
151
  },
201
152
  {
202
- name: 'version',
203
- title: `t("version", { scope: "${i18n}" })`,
153
+ name: 'publishDate',
154
+ title: `t("publishDate", { scope: "${i18n}" })`,
204
155
  groupId: 'section',
205
156
  schema: {
206
- dataType: 'number',
157
+ dataType: 'dateTime',
207
158
  interface: {
208
- type: AXPWidgetsCatalog.number,
159
+ type: AXPWidgetsCatalog.dateTime,
209
160
  },
210
161
  },
211
162
  options: {
@@ -225,33 +176,23 @@ async function appTermEntityEntityFactory(injector) {
225
176
  ],
226
177
  },
227
178
  {
228
- name: 'effectiveDate',
229
- title: `t("effectiveDate", { scope: "${i18n}" })`,
179
+ name: 'showFirstTimePopup',
180
+ title: `t("notifyUser", { scope: "${i18n}" })`,
230
181
  groupId: 'section',
231
182
  schema: {
232
- dataType: 'dateTime',
183
+ dataType: 'boolean',
233
184
  interface: {
234
- type: AXPWidgetsCatalog.dateTime,
235
- },
236
- },
237
- options: {
238
- filter: {
239
- advance: {
240
- enabled: true,
241
- },
242
- },
243
- sort: {
244
- enabled: true,
185
+ type: AXPWidgetsCatalog.checkbox,
245
186
  },
246
187
  },
247
- validations: [
248
- {
249
- rule: 'required',
250
- },
251
- ],
252
188
  },
253
189
  ],
254
- columns: [{ name: 'title' }, { name: 'content' }, { name: 'version' }, { name: 'effectiveDate' }],
190
+ columns: [
191
+ { name: 'versionNumber' },
192
+ { name: 'changeLog' },
193
+ { name: 'publishDate' },
194
+ { name: 'showFirstTimePopup' },
195
+ ],
255
196
  commands: {
256
197
  create: {
257
198
  execute: async (data) => {
@@ -289,7 +230,8 @@ async function appTermEntityEntityFactory(injector) {
289
230
  },
290
231
  list: {
291
232
  execute: async (e) => {
292
- const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
233
+ console.log(e);
234
+ const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });
293
235
  return x;
294
236
  },
295
237
  type: AXPEntityQueryType.List,
@@ -305,29 +247,29 @@ async function appTermEntityEntityFactory(injector) {
305
247
  ],
306
248
  properties: [
307
249
  {
308
- name: 'title',
250
+ name: 'versionNumber',
309
251
  layout: {
310
252
  positions: {
311
253
  lg: {
312
- colSpan: 12,
313
254
  order: 1,
255
+ colSpan: 4,
314
256
  },
315
257
  },
316
258
  },
317
259
  },
318
260
  {
319
- name: 'type',
261
+ name: 'publishDate',
320
262
  layout: {
321
263
  positions: {
322
264
  lg: {
323
- colSpan: 4,
324
265
  order: 2,
266
+ colSpan: 4,
325
267
  },
326
268
  },
327
269
  },
328
270
  },
329
271
  {
330
- name: 'version',
272
+ name: 'showFirstTimePopup',
331
273
  layout: {
332
274
  positions: {
333
275
  lg: {
@@ -338,23 +280,12 @@ async function appTermEntityEntityFactory(injector) {
338
280
  },
339
281
  },
340
282
  {
341
- name: 'content',
283
+ name: 'changeLog',
342
284
  layout: {
343
285
  positions: {
344
286
  lg: {
345
- colSpan: 12,
346
287
  order: 10,
347
- },
348
- },
349
- },
350
- },
351
- {
352
- name: 'effectiveDate',
353
- layout: {
354
- positions: {
355
- lg: {
356
- colSpan: 4,
357
- order: 4,
288
+ colSpan: 12,
358
289
  },
359
290
  },
360
291
  },
@@ -369,18 +300,18 @@ async function appTermEntityEntityFactory(injector) {
369
300
  ],
370
301
  properties: [
371
302
  {
372
- name: 'title',
303
+ name: 'versionNumber',
373
304
  layout: {
374
305
  positions: {
375
306
  lg: {
376
- colSpan: 12,
307
+ colSpan: 4,
377
308
  order: 1,
378
309
  },
379
310
  },
380
311
  },
381
312
  },
382
313
  {
383
- name: 'type',
314
+ name: 'publishDate',
384
315
  layout: {
385
316
  positions: {
386
317
  lg: {
@@ -391,7 +322,7 @@ async function appTermEntityEntityFactory(injector) {
391
322
  },
392
323
  },
393
324
  {
394
- name: 'version',
325
+ name: 'showFirstTimePopup',
395
326
  layout: {
396
327
  positions: {
397
328
  lg: {
@@ -402,22 +333,11 @@ async function appTermEntityEntityFactory(injector) {
402
333
  },
403
334
  },
404
335
  {
405
- name: 'content',
336
+ name: 'changeLog',
406
337
  layout: {
407
338
  positions: {
408
339
  lg: {
409
340
  colSpan: 12,
410
- order: 10,
411
- },
412
- },
413
- },
414
- },
415
- {
416
- name: 'effectiveDate',
417
- layout: {
418
- positions: {
419
- lg: {
420
- colSpan: 4,
421
341
  order: 4,
422
342
  },
423
343
  },
@@ -426,7 +346,7 @@ async function appTermEntityEntityFactory(injector) {
426
346
  ],
427
347
  },
428
348
  single: {
429
- title: '{{title}}',
349
+ title: '{{versionNumber}}',
430
350
  sections: [
431
351
  {
432
352
  id: 'section',
@@ -434,56 +354,41 @@ async function appTermEntityEntityFactory(injector) {
434
354
  ],
435
355
  properties: [
436
356
  {
437
- name: 'title',
438
- layout: {
439
- positions: {
440
- lg: {
441
- colSpan: 6,
442
- order: 1,
443
- },
444
- },
445
- },
446
- },
447
- {
448
- name: 'type',
357
+ name: 'versionNumber',
449
358
  layout: {
450
359
  positions: {
451
360
  lg: {
452
- colSpan: 6,
453
- order: 2,
361
+ colSpan: 4,
454
362
  },
455
363
  },
456
364
  },
457
365
  },
458
366
  {
459
- name: 'version',
367
+ name: 'publishDate',
460
368
  layout: {
461
369
  positions: {
462
370
  lg: {
463
- colSpan: 6,
464
- order: 3,
371
+ colSpan: 4,
465
372
  },
466
373
  },
467
374
  },
468
375
  },
469
376
  {
470
- name: 'content',
377
+ name: 'showFirstTimePopup',
471
378
  layout: {
472
379
  positions: {
473
380
  lg: {
474
- colSpan: 12,
475
- order: 10,
381
+ colSpan: 4,
476
382
  },
477
383
  },
478
384
  },
479
385
  },
480
386
  {
481
- name: 'effectiveDate',
387
+ name: 'changeLog',
482
388
  layout: {
483
389
  positions: {
484
390
  lg: {
485
- colSpan: 6,
486
- order: 4,
391
+ colSpan: 8,
487
392
  },
488
393
  },
489
394
  },
@@ -522,7 +427,7 @@ async function appTermEntityEntityFactory(injector) {
522
427
  scope: AXPEntityCommandScope.Individual,
523
428
  },
524
429
  ],
525
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
430
+ views: [createAllQueryView({ sorts: [{ name: 'versionNumber', dir: 'desc' }] })],
526
431
  },
527
432
  },
528
433
  },
@@ -530,205 +435,216 @@ async function appTermEntityEntityFactory(injector) {
530
435
  return entityDef;
531
436
  }
532
437
 
533
- class AXMListTermsComponent extends AXPPageLayoutBaseComponent {
438
+ class AXMNotifyAppComponent extends AXBasePageComponent {
534
439
  constructor() {
535
440
  super(...arguments);
536
- this.service = inject(AXMAppTermService);
537
- this.terms = [];
538
- this.loaded = signal(false, ...(ngDevMode ? [{ debugName: "loaded" }] : []));
539
- this.showScrollSide = signal(true, ...(ngDevMode ? [{ debugName: "showScrollSide" }] : []));
540
- }
541
- ngAfterViewInit() {
542
- this.checkScroll();
543
- }
544
- onResize() {
545
- this.checkScroll();
546
- }
547
- checkScroll() {
548
- const contentElement = document.getElementById('contentDiv');
549
- if (contentElement != null) {
550
- this.showScrollSide.set(contentElement.offsetHeight > window.innerHeight - 140);
551
- }
441
+ this.isShowAgain = true;
442
+ this.sanitize = inject(DomSanitizer);
552
443
  }
553
- async ngOnInit() {
444
+ ngOnInit() {
554
445
  super.ngOnInit();
555
- const result = await this.service.query({
556
- skip: 0,
557
- take: 1000,
558
- });
559
- this.terms = result.items.map((term) => {
560
- return {
561
- ...term,
562
- content: term.content.replace(/\n/g, '<br>'),
563
- };
564
- });
565
- this.loaded.set(true);
566
- setTimeout(() => this.checkScroll(), 50);
567
- }
568
- getPageTitle() {
569
- return RootConfig.entities.appTerm.pageTitle;
446
+ this.safeData = this.sanitize.bypassSecurityTrustHtml(this.data.changeLog);
570
447
  }
571
- getPageDescription() {
572
- return RootConfig.entities.appTerm.pageDescription;
448
+ send() {
449
+ this.close({ data: this.data, isShowAgain: !this.isShowAgain });
573
450
  }
574
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMListTermsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
575
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AXMListTermsComponent, isStandalone: true, selector: "ng-component", host: { listeners: { "window:resize": "onResize()" } }, providers: [
576
- {
577
- provide: AXPPageLayoutBase,
578
- useExisting: AXMListTermsComponent,
579
- },
580
- ], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i2.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i2.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i3.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "showHashItem", "activationOffset", "copyUrlOnClick", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i5$1.AXFormatPipe, name: "format" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
451
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
452
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: AXMNotifyAppComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.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: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }] }); }
581
453
  }
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMListTermsComponent, decorators: [{
454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppComponent, decorators: [{
583
455
  type: Component,
584
- args: [{ imports: [
585
- CommonModule,
586
- AXDecoratorModule,
587
- AXFormatModule,
588
- AXPThemeLayoutBlockComponent,
589
- AXTranslationModule,
590
- AXSideMenuModule,
591
- AXOutlineModule,
592
- AXPPageLayoutComponent,
593
- AXSafePipe,
594
- ], providers: [
595
- {
596
- provide: AXPPageLayoutBase,
597
- useExisting: AXMListTermsComponent,
598
- },
599
- ], template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content | safe:'html'\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>" }]
600
- }], propDecorators: { onResize: [{
601
- type: HostListener,
602
- args: ['window:resize']
603
- }] } });
456
+ args: [{ selector: 'axm-notify-app', imports: [CommonModule, AXLabelModule, AXCheckBoxModule, AXDecoratorModule, AXButtonModule, AXTranslationModule], template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n" }]
457
+ }] });
604
458
 
605
- var listTerms_component = /*#__PURE__*/Object.freeze({
459
+ var notifyApp_component = /*#__PURE__*/Object.freeze({
606
460
  __proto__: null,
607
- AXMListTermsComponent: AXMListTermsComponent
461
+ AXMNotifyAppComponent: AXMNotifyAppComponent
608
462
  });
609
463
 
610
- class AXMNotifyAppTermComponent extends AXBasePageComponent {
464
+ class AXMAppVersionSlotComponent {
611
465
  constructor() {
612
- super(...arguments);
613
- this.isConfirm = false;
614
- this.i18n = RootConfig.config.i18n;
466
+ this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
467
+ this.workflowService = inject(AXPWorkflowService);
468
+ this.versionNumber = '';
615
469
  }
616
- transformContent(content) {
617
- return content.replace(/\n/g, '<br>');
470
+ async ngOnInit() {
471
+ this.versionNumber = (await this.versionProvider.provider()).version;
618
472
  }
619
- send() {
620
- this.close({ data: this.data });
473
+ openPopup() {
474
+ this.workflowService.execute('show-release-notes');
621
475
  }
622
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyAppTermComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
623
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: AXMNotifyAppTermComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "@for (item of data; track $index) {\n<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-font-bold\">{{ item.title }}</ax-content>\n<ax-content class=\"ax-block ax-px-4 ax-pb-4 ax-text-base/6\" [innerHTML]=\"transformContent(item.content) | safe : 'html'\"></ax-content>\n}\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isConfirm\">\n <ax-label>{{ 'agreeTerm' | translate : { scope: i18n } | async }}</ax-label>\n </ax-check-box>\n <ax-button (click)=\"send()\" [text]=\"'okay' | translate | async\" [disabled]=\"!isConfirm\" color=\"primary\"></ax-button>\n</ax-footer>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i2$1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
476
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
477
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: AXMAppVersionSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `, isInline: true }); }
624
478
  }
625
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyAppTermComponent, decorators: [{
479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionSlotComponent, decorators: [{
626
480
  type: Component,
627
- args: [{ selector: 'axm-notify-app', imports: [
628
- CommonModule,
629
- AXLabelModule,
630
- AXCheckBoxModule,
631
- AXDecoratorModule,
632
- AXButtonModule,
633
- AXTranslationModule,
634
- AXSafePipe,
635
- ], template: "@for (item of data; track $index) {\n<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-font-bold\">{{ item.title }}</ax-content>\n<ax-content class=\"ax-block ax-px-4 ax-pb-4 ax-text-base/6\" [innerHTML]=\"transformContent(item.content) | safe : 'html'\"></ax-content>\n}\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isConfirm\">\n <ax-label>{{ 'agreeTerm' | translate : { scope: i18n } | async }}</ax-label>\n </ax-check-box>\n <ax-button (click)=\"send()\" [text]=\"'okay' | translate | async\" [disabled]=\"!isConfirm\" color=\"primary\"></ax-button>\n</ax-footer>" }]
636
- }] });
481
+ args: [{
482
+ template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `,
483
+ standalone: true,
484
+ }]
485
+ }], propDecorators: { text: [{
486
+ type: Input
487
+ }] } });
637
488
 
638
- class AXMNotifyNewTermPopupAction extends AXPWorkflowAction {
489
+ class AppVersionCheckService {
639
490
  constructor() {
640
- super(...arguments);
641
- this.popupService = inject(AXPopupService);
491
+ this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
492
+ this.settingsService = inject(AXPSettingService);
493
+ this.workflowService = inject(AXPWorkflowService);
494
+ this.appVersionService = inject(AXMAppVersionService);
642
495
  }
643
- async execute(context) {
644
- const data = context.getVariable();
645
- await this.popupService.open(AXMNotifyAppTermComponent, {
646
- title: 'New Terms And Conditions',
647
- data: { data },
648
- closeButton: false,
649
- });
496
+ async checkVersion() {
497
+ const current = (await this.versionProvider.provider()).version;
498
+ const initVersion = await this.settingsService.scope(AXPPlatformScope.User).get(`init-application-version`);
499
+ if (initVersion == null) {
500
+ await this.settingsService.scope(AXPPlatformScope.User).set(`init-application-version`, current);
501
+ }
502
+ else {
503
+ const versions = await this.appVersionService.query();
504
+ for (const v of versions.items) {
505
+ if (v.versionNumber == current && v.versionNumber != initVersion) {
506
+ const isSee = await this.settingsService
507
+ .scope(AXPPlatformScope.User)
508
+ .get(`is-see-check-version-${v.versionNumber}`);
509
+ if (!isSee) {
510
+ setTimeout(() => {
511
+ this.workflowService.execute('show-what-is-new', v);
512
+ }, 300);
513
+ }
514
+ }
515
+ }
516
+ }
650
517
  }
651
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyNewTermPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
652
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyNewTermPopupAction }); }
518
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
519
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService }); }
653
520
  }
654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyNewTermPopupAction, decorators: [{
521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService, decorators: [{
655
522
  type: Injectable
656
523
  }] });
657
- class AXMTermUpdateSettingAction extends AXPWorkflowAction {
524
+
525
+ class AXMChangeLogPopupAction extends AXPWorkflowAction {
658
526
  constructor() {
659
527
  super(...arguments);
660
- this.settingService = inject(AXPSettingService);
528
+ this.popupService = inject(AXPopupService);
661
529
  }
662
530
  async execute(context) {
663
- const dataList = context.getVariable();
664
- for (const data of dataList) {
665
- await this.settingService.scope(AXPPlatformScope.User).set(`is-confirm-term-${data.id}`, true);
531
+ const data = context.getVariable();
532
+ const comp = (await Promise.resolve().then(function () { return notifyApp_component; })).AXMNotifyAppComponent;
533
+ const result = await this.popupService.open(comp, {
534
+ title: `New Features in Version ${data.versionNumber}`,
535
+ data: { data },
536
+ });
537
+ if (result.data?.isShowAgain) {
538
+ context.setOutput('result', false);
539
+ }
540
+ else {
541
+ context.setOutput('result', true);
666
542
  }
667
543
  }
668
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMTermUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
669
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMTermUpdateSettingAction }); }
544
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
545
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction }); }
670
546
  }
671
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMTermUpdateSettingAction, decorators: [{
547
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction, decorators: [{
672
548
  type: Injectable
673
549
  }] });
674
- const AXMNewTermWorkflow = {
550
+ class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
551
+ constructor() {
552
+ super(...arguments);
553
+ this.settingService = inject(AXPSettingService);
554
+ }
555
+ async execute(context) {
556
+ const data = context.getVariable();
557
+ if (context.getOutput('result')) {
558
+ await this.settingService.scope(AXPPlatformScope.User).set(`is-see-check-version-${data.versionNumber}`, true);
559
+ }
560
+ }
561
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
562
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction }); }
563
+ }
564
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, decorators: [{
565
+ type: Injectable
566
+ }] });
567
+ const AXMWhatsNewWorkflow = {
675
568
  startStepId: 'show-popup',
676
569
  steps: {
677
570
  'show-popup': {
678
- action: 'AXMNotifyNewTermPopupAction',
571
+ action: 'AXMChangeLogPopupAction',
679
572
  nextSteps: [
680
573
  {
681
- conditions: [],
574
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
682
575
  nextStepId: 'first-time-add-to-setting',
683
576
  },
684
577
  ],
685
578
  },
686
579
  'first-time-add-to-setting': {
687
- action: 'AXMTermUpdateSettingAction',
580
+ action: 'AXMChangeLogUpdateSettingAction',
581
+ },
582
+ },
583
+ };
584
+ class AXMCheckNewVersionAction extends AXPWorkflowAction {
585
+ constructor() {
586
+ super(...arguments);
587
+ this.appVersionCheckService = inject(AppVersionCheckService);
588
+ this.settingService = inject(AXPSettingService);
589
+ }
590
+ async execute(context) {
591
+ const shouldShow = await this.settingService.scope(AXPPlatformScope.User).get(`general:startup:release-notes`);
592
+ if (shouldShow == false) {
593
+ return;
594
+ }
595
+ await this.appVersionCheckService.checkVersion();
596
+ }
597
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
598
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction }); }
599
+ }
600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction, decorators: [{
601
+ type: Injectable
602
+ }] });
603
+ const AXMCheckNewVersionWorkflow = {
604
+ startStepId: 'check-new-version',
605
+ steps: {
606
+ 'check-new-version': {
607
+ action: 'AXMCheckNewVersionAction',
688
608
  },
689
609
  },
690
610
  };
691
611
 
692
- class AXMAppVersionService extends AXMEntityCrudServiceImpl {
612
+ class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl {
693
613
  }
694
- class AXMAppVersionServiceImpl extends AXMEntityCrudServiceImpl {
614
+ class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl {
695
615
  constructor() {
696
- super(`${RootConfig.module.name}.${RootConfig.entities.appVersion.name}`);
616
+ super(`${RootConfig.module.name}.${RootConfig.entities.globalVariable.name}`);
697
617
  }
698
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppVersionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
699
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppVersionServiceImpl }); }
618
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
619
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl }); }
700
620
  }
701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppVersionServiceImpl, decorators: [{
621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, decorators: [{
702
622
  type: Injectable
703
623
  }], ctorParameters: () => [] });
704
624
 
705
- async function appVersionEntityEntityFactory(injector) {
706
- const dataService = injector.get(AXMAppVersionService);
625
+ async function globalVariableEntityFactory(injector) {
626
+ const dataService = injector.get(AXMGlobalVariablesService);
707
627
  const i18n = RootConfig.config.i18n;
708
628
  const entityDef = {
709
629
  module: RootConfig.module.name,
710
- name: RootConfig.entities.appVersion.name,
630
+ name: RootConfig.entities.globalVariable.name,
711
631
  source: '',
712
- title: RootConfig.entities.appVersion.title,
632
+ title: RootConfig.entities.globalVariable.title,
713
633
  formats: {
714
- individual: RootConfig.entities.appVersion.title,
715
- plural: RootConfig.entities.appVersion.title,
716
- searchResult: {
717
- title: '{{ versionNumber }}',
718
- description: RootConfig.module.title,
719
- },
634
+ individual: 'Global Variable',
635
+ plural: 'Global Variables',
720
636
  },
721
637
  relatedEntities: [],
722
638
  groups: [
723
639
  {
724
640
  id: 'section',
725
- title: RootConfig.entities.appVersion.title,
641
+ title: 'Global Variable',
726
642
  },
727
643
  ],
728
644
  properties: [
729
645
  {
730
- name: 'versionNumber',
731
- title: `t("versionNumber", { scope: "${i18n}" })`,
646
+ name: 'name',
647
+ title: `t("name", { scope: "common" })`,
732
648
  groupId: 'section',
733
649
  schema: {
734
650
  dataType: 'string',
@@ -736,11 +652,13 @@ async function appVersionEntityEntityFactory(injector) {
736
652
  type: AXPWidgetsCatalog.text,
737
653
  },
738
654
  },
655
+ validations: [
656
+ {
657
+ rule: 'required',
658
+ },
659
+ ],
739
660
  options: {
740
661
  filter: {
741
- advance: {
742
- enabled: true,
743
- },
744
662
  inline: {
745
663
  enabled: true,
746
664
  },
@@ -749,25 +667,15 @@ async function appVersionEntityEntityFactory(injector) {
749
667
  enabled: true,
750
668
  },
751
669
  },
752
- validations: [
753
- {
754
- rule: 'required',
755
- },
756
- ],
757
670
  },
758
671
  {
759
- name: 'changeLog',
760
- title: `t("changeLogs", { scope: "${i18n}" })`,
672
+ name: 'title',
673
+ title: `t("title", { scope: "common" })`,
761
674
  groupId: 'section',
762
675
  schema: {
763
676
  dataType: 'string',
764
677
  interface: {
765
- type: AXPWidgetsCatalog.richText,
766
- options: {
767
- minLineCount: 5,
768
- maxLineCount: 17,
769
- isFitLine: true,
770
- },
678
+ type: AXPWidgetsCatalog.text,
771
679
  },
772
680
  },
773
681
  validations: [
@@ -775,20 +683,9 @@ async function appVersionEntityEntityFactory(injector) {
775
683
  rule: 'required',
776
684
  },
777
685
  ],
778
- },
779
- {
780
- name: 'publishDate',
781
- title: `t("publishDate", { scope: "${i18n}" })`,
782
- groupId: 'section',
783
- schema: {
784
- dataType: 'dateTime',
785
- interface: {
786
- type: AXPWidgetsCatalog.dateTime,
787
- },
788
- },
789
686
  options: {
790
687
  filter: {
791
- advance: {
688
+ inline: {
792
689
  enabled: true,
793
690
  },
794
691
  },
@@ -796,6 +693,17 @@ async function appVersionEntityEntityFactory(injector) {
796
693
  enabled: true,
797
694
  },
798
695
  },
696
+ },
697
+ {
698
+ name: 'value',
699
+ title: `t("value", { scope: "${i18n}" })`,
700
+ groupId: 'section',
701
+ schema: {
702
+ dataType: 'string',
703
+ interface: {
704
+ type: AXPWidgetsCatalog.text,
705
+ },
706
+ },
799
707
  validations: [
800
708
  {
801
709
  rule: 'required',
@@ -803,1599 +711,26 @@ async function appVersionEntityEntityFactory(injector) {
803
711
  ],
804
712
  },
805
713
  {
806
- name: 'showFirstTimePopup',
807
- title: `t("notifyUser", { scope: "${i18n}" })`,
714
+ name: 'dataType',
715
+ title: `t("dataType", { scope: "${i18n}" })`,
808
716
  groupId: 'section',
809
717
  schema: {
810
- dataType: 'boolean',
718
+ dataType: 'string',
811
719
  interface: {
812
- type: AXPWidgetsCatalog.checkbox,
813
- },
814
- },
815
- },
816
- ],
817
- columns: [
818
- { name: 'versionNumber' },
819
- { name: 'changeLog' },
820
- { name: 'publishDate' },
821
- { name: 'showFirstTimePopup' },
822
- ],
823
- commands: {
824
- create: {
825
- execute: async (data) => {
826
- return Promise.resolve({ id: await dataService.insertOne(data) });
827
- },
828
- },
829
- delete: {
830
- execute: async (id) => {
831
- await await dataService.deleteOne(id);
832
- return Promise.resolve();
833
- },
834
- },
835
- update: {
836
- execute: async (data) => {
837
- return new Promise((resolve) => {
838
- setTimeout(async () => {
839
- await dataService.updateOne(data.id, data);
840
- resolve(data);
841
- }, 1000);
842
- });
843
- },
844
- },
845
- },
846
- queries: {
847
- byKey: {
848
- execute: async (id) => {
849
- return new Promise((resolve) => {
850
- setTimeout(async () => {
851
- const entity = await dataService.getOne(id);
852
- resolve(entity);
853
- }, 500);
854
- });
855
- },
856
- type: AXPEntityQueryType.Single,
857
- },
858
- list: {
859
- execute: async (e) => {
860
- console.log(e);
861
- const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });
862
- return x;
863
- },
864
- type: AXPEntityQueryType.List,
865
- },
866
- },
867
- interfaces: {
868
- master: {
869
- create: {
870
- sections: [
871
- {
872
- id: 'section',
873
- },
874
- ],
875
- properties: [
876
- {
877
- name: 'versionNumber',
878
- layout: {
879
- positions: {
880
- lg: {
881
- order: 1,
882
- colSpan: 4,
883
- },
884
- },
885
- },
886
- },
887
- {
888
- name: 'publishDate',
889
- layout: {
890
- positions: {
891
- lg: {
892
- order: 2,
893
- colSpan: 4,
894
- },
895
- },
896
- },
897
- },
898
- {
899
- name: 'showFirstTimePopup',
900
- layout: {
901
- positions: {
902
- lg: {
903
- colSpan: 4,
904
- order: 3,
905
- },
906
- },
907
- },
908
- },
909
- {
910
- name: 'changeLog',
911
- layout: {
912
- positions: {
913
- lg: {
914
- order: 10,
915
- colSpan: 12,
916
- },
917
- },
918
- },
919
- },
920
- ],
921
- },
922
- update: {
923
- sections: [
924
- {
925
- id: 'section',
926
- },
927
- ],
928
- properties: [
929
- {
930
- name: 'versionNumber',
931
- layout: {
932
- positions: {
933
- lg: {
934
- colSpan: 4,
935
- order: 1,
936
- },
937
- },
938
- },
939
- },
940
- {
941
- name: 'publishDate',
942
- layout: {
943
- positions: {
944
- lg: {
945
- colSpan: 4,
946
- order: 2,
947
- },
948
- },
949
- },
950
- },
951
- {
952
- name: 'showFirstTimePopup',
953
- layout: {
954
- positions: {
955
- lg: {
956
- colSpan: 4,
957
- order: 3,
958
- },
959
- },
960
- },
961
- },
962
- {
963
- name: 'changeLog',
964
- layout: {
965
- positions: {
966
- lg: {
967
- colSpan: 12,
968
- order: 4,
969
- },
970
- },
971
- },
972
- },
973
- ],
974
- },
975
- single: {
976
- title: '{{versionNumber}}',
977
- sections: [
978
- {
979
- id: 'section',
980
- },
981
- ],
982
- properties: [
983
- {
984
- name: 'versionNumber',
985
- layout: {
986
- positions: {
987
- lg: {
988
- colSpan: 4,
989
- },
990
- },
991
- },
992
- },
993
- {
994
- name: 'publishDate',
995
- layout: {
996
- positions: {
997
- lg: {
998
- colSpan: 4,
999
- },
1000
- },
1001
- },
1002
- },
1003
- {
1004
- name: 'showFirstTimePopup',
1005
- layout: {
1006
- positions: {
1007
- lg: {
1008
- colSpan: 4,
1009
- },
1010
- },
1011
- },
1012
- },
1013
- {
1014
- name: 'changeLog',
1015
- layout: {
1016
- positions: {
1017
- lg: {
1018
- colSpan: 8,
1019
- },
1020
- },
1021
- },
1022
- },
1023
- ],
1024
- actions: [],
1025
- },
1026
- list: {
1027
- actions: [
1028
- {
1029
- title: 'Create New',
1030
- command: 'create-entity',
1031
- priority: 'primary',
1032
- type: 'create',
1033
- scope: AXPEntityCommandScope.TypeLevel,
1034
- },
1035
- {
1036
- title: 'Delete Items',
1037
- command: 'delete-entity',
1038
- priority: 'primary',
1039
- type: 'delete',
1040
- scope: AXPEntityCommandScope.Selected,
1041
- },
1042
- {
1043
- title: 'Details',
1044
- command: 'open-entity',
1045
- priority: 'secondary',
1046
- type: 'view',
1047
- scope: AXPEntityCommandScope.Individual,
1048
- },
1049
- {
1050
- title: 'Delete',
1051
- command: 'delete-entity',
1052
- priority: 'secondary',
1053
- type: 'delete',
1054
- scope: AXPEntityCommandScope.Individual,
1055
- },
1056
- ],
1057
- views: [createAllQueryView({ sorts: [{ name: 'versionNumber', dir: 'desc' }] })],
1058
- },
1059
- },
1060
- },
1061
- };
1062
- return entityDef;
1063
- }
1064
-
1065
- class AXMNotifyAppComponent extends AXBasePageComponent {
1066
- constructor() {
1067
- super(...arguments);
1068
- this.isShowAgain = true;
1069
- this.sanitize = inject(DomSanitizer);
1070
- }
1071
- ngOnInit() {
1072
- super.ngOnInit();
1073
- this.safeData = this.sanitize.bypassSecurityTrustHtml(this.data.changeLog);
1074
- }
1075
- send() {
1076
- this.close({ data: this.data, isShowAgain: !this.isShowAgain });
1077
- }
1078
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyAppComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1079
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXMNotifyAppComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i2$1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }] }); }
1080
- }
1081
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMNotifyAppComponent, decorators: [{
1082
- type: Component,
1083
- args: [{ selector: 'axm-notify-app', imports: [CommonModule, AXLabelModule, AXCheckBoxModule, AXDecoratorModule, AXButtonModule, AXTranslationModule], template: "<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-text-base/6\" [innerHTML]=\"safeData\"></ax-content>\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isShowAgain\">\n <ax-label>Don't Show Again</ax-label>\n </ax-check-box>\n <ax-button color=\"primary\" (click)=\"send()\" [text]=\"'okay' | translate | async\"></ax-button>\n</ax-footer>\n" }]
1084
- }] });
1085
-
1086
- var notifyApp_component = /*#__PURE__*/Object.freeze({
1087
- __proto__: null,
1088
- AXMNotifyAppComponent: AXMNotifyAppComponent
1089
- });
1090
-
1091
- class AXMAppVersionSlotComponent {
1092
- constructor() {
1093
- this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
1094
- this.workflowService = inject(AXPWorkflowService);
1095
- this.versionNumber = '';
1096
- }
1097
- async ngOnInit() {
1098
- this.versionNumber = (await this.versionProvider.provider()).version;
1099
- }
1100
- openPopup() {
1101
- this.workflowService.execute('show-release-notes');
1102
- }
1103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppVersionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1104
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AXMAppVersionSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `, isInline: true }); }
1105
- }
1106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMAppVersionSlotComponent, decorators: [{
1107
- type: Component,
1108
- args: [{
1109
- template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `,
1110
- standalone: true,
1111
- }]
1112
- }], propDecorators: { text: [{
1113
- type: Input
1114
- }] } });
1115
-
1116
- class AppVersionCheckService {
1117
- constructor() {
1118
- this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
1119
- this.settingsService = inject(AXPSettingService);
1120
- this.workflowService = inject(AXPWorkflowService);
1121
- this.appVersionService = inject(AXMAppVersionService);
1122
- }
1123
- async checkVersion() {
1124
- const current = (await this.versionProvider.provider()).version;
1125
- const initVersion = await this.settingsService.scope(AXPPlatformScope.User).get(`init-application-version`);
1126
- if (initVersion == null) {
1127
- await this.settingsService.scope(AXPPlatformScope.User).set(`init-application-version`, current);
1128
- }
1129
- else {
1130
- const versions = await this.appVersionService.query();
1131
- for (const v of versions.items) {
1132
- if (v.versionNumber == current && v.versionNumber != initVersion) {
1133
- const isSee = await this.settingsService
1134
- .scope(AXPPlatformScope.User)
1135
- .get(`is-see-check-version-${v.versionNumber}`);
1136
- if (!isSee) {
1137
- setTimeout(() => {
1138
- this.workflowService.execute('show-what-is-new', v);
1139
- }, 300);
1140
- }
1141
- }
1142
- }
1143
- }
1144
- }
1145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AppVersionCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1146
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AppVersionCheckService }); }
1147
- }
1148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AppVersionCheckService, decorators: [{
1149
- type: Injectable
1150
- }] });
1151
-
1152
- class AXMChangeLogPopupAction extends AXPWorkflowAction {
1153
- constructor() {
1154
- super(...arguments);
1155
- this.popupService = inject(AXPopupService);
1156
- }
1157
- async execute(context) {
1158
- const data = context.getVariable();
1159
- const comp = (await Promise.resolve().then(function () { return notifyApp_component; })).AXMNotifyAppComponent;
1160
- const result = await this.popupService.open(comp, {
1161
- title: `New Features in Version ${data.versionNumber}`,
1162
- data: { data },
1163
- });
1164
- if (result.data?.isShowAgain) {
1165
- context.setOutput('result', false);
1166
- }
1167
- else {
1168
- context.setOutput('result', true);
1169
- }
1170
- }
1171
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMChangeLogPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1172
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMChangeLogPopupAction }); }
1173
- }
1174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMChangeLogPopupAction, decorators: [{
1175
- type: Injectable
1176
- }] });
1177
- class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
1178
- constructor() {
1179
- super(...arguments);
1180
- this.settingService = inject(AXPSettingService);
1181
- }
1182
- async execute(context) {
1183
- const data = context.getVariable();
1184
- if (context.getOutput('result')) {
1185
- await this.settingService.scope(AXPPlatformScope.User).set(`is-see-check-version-${data.versionNumber}`, true);
1186
- }
1187
- }
1188
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMChangeLogUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1189
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMChangeLogUpdateSettingAction }); }
1190
- }
1191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMChangeLogUpdateSettingAction, decorators: [{
1192
- type: Injectable
1193
- }] });
1194
- const AXMWhatsNewWorkflow = {
1195
- startStepId: 'show-popup',
1196
- steps: {
1197
- 'show-popup': {
1198
- action: 'AXMChangeLogPopupAction',
1199
- nextSteps: [
1200
- {
1201
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
1202
- nextStepId: 'first-time-add-to-setting',
1203
- },
1204
- ],
1205
- },
1206
- 'first-time-add-to-setting': {
1207
- action: 'AXMChangeLogUpdateSettingAction',
1208
- },
1209
- },
1210
- };
1211
- class AXMCheckNewVersionAction extends AXPWorkflowAction {
1212
- constructor() {
1213
- super(...arguments);
1214
- this.appVersionCheckService = inject(AppVersionCheckService);
1215
- this.settingService = inject(AXPSettingService);
1216
- }
1217
- async execute(context) {
1218
- const shouldShow = await this.settingService.scope(AXPPlatformScope.User).get(`general:startup:release-notes`);
1219
- if (shouldShow == false) {
1220
- return;
1221
- }
1222
- await this.appVersionCheckService.checkVersion();
1223
- }
1224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMCheckNewVersionAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1225
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMCheckNewVersionAction }); }
1226
- }
1227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMCheckNewVersionAction, decorators: [{
1228
- type: Injectable
1229
- }] });
1230
- const AXMCheckNewVersionWorkflow = {
1231
- startStepId: 'check-new-version',
1232
- steps: {
1233
- 'check-new-version': {
1234
- action: 'AXMCheckNewVersionAction',
1235
- },
1236
- },
1237
- };
1238
-
1239
- class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl {
1240
- }
1241
- class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl {
1242
- constructor() {
1243
- super(`${RootConfig.module.name}.${RootConfig.entities.globalVariable.name}`);
1244
- }
1245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMGlobalVariablesServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1246
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMGlobalVariablesServiceImpl }); }
1247
- }
1248
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMGlobalVariablesServiceImpl, decorators: [{
1249
- type: Injectable
1250
- }], ctorParameters: () => [] });
1251
-
1252
- async function globalVariableEntityFactory(injector) {
1253
- const dataService = injector.get(AXMGlobalVariablesService);
1254
- const i18n = RootConfig.config.i18n;
1255
- const entityDef = {
1256
- module: RootConfig.module.name,
1257
- name: RootConfig.entities.globalVariable.name,
1258
- source: '',
1259
- title: RootConfig.entities.globalVariable.title,
1260
- formats: {
1261
- individual: 'Global Variable',
1262
- plural: 'Global Variables',
1263
- },
1264
- relatedEntities: [],
1265
- groups: [
1266
- {
1267
- id: 'section',
1268
- title: 'Global Variable',
1269
- },
1270
- ],
1271
- properties: [
1272
- {
1273
- name: 'name',
1274
- title: `t("name", { scope: "common" })`,
1275
- groupId: 'section',
1276
- schema: {
1277
- dataType: 'string',
1278
- interface: {
1279
- type: AXPWidgetsCatalog.text,
1280
- },
1281
- },
1282
- validations: [
1283
- {
1284
- rule: 'required',
1285
- },
1286
- ],
1287
- options: {
1288
- filter: {
1289
- inline: {
1290
- enabled: true,
1291
- },
1292
- },
1293
- sort: {
1294
- enabled: true,
1295
- },
1296
- },
1297
- },
1298
- {
1299
- name: 'title',
1300
- title: `t("title", { scope: "common" })`,
1301
- groupId: 'section',
1302
- schema: {
1303
- dataType: 'string',
1304
- interface: {
1305
- type: AXPWidgetsCatalog.text,
1306
- },
1307
- },
1308
- validations: [
1309
- {
1310
- rule: 'required',
1311
- },
1312
- ],
1313
- options: {
1314
- filter: {
1315
- inline: {
1316
- enabled: true,
1317
- },
1318
- },
1319
- sort: {
1320
- enabled: true,
1321
- },
1322
- },
1323
- },
1324
- {
1325
- name: 'value',
1326
- title: `t("value", { scope: "${i18n}" })`,
1327
- groupId: 'section',
1328
- schema: {
1329
- dataType: 'string',
1330
- interface: {
1331
- type: AXPWidgetsCatalog.text,
1332
- },
1333
- },
1334
- validations: [
1335
- {
1336
- rule: 'required',
1337
- },
1338
- ],
1339
- },
1340
- {
1341
- name: 'dataType',
1342
- title: `t("dataType", { scope: "${i18n}" })`,
1343
- groupId: 'section',
1344
- schema: {
1345
- dataType: 'string',
1346
- interface: {
1347
- type: AXPWidgetsCatalog.select,
1348
- options: {
1349
- valueField: 'name',
1350
- textField: 'title',
1351
- dataSource: [
1352
- { title: 'String', name: 'String' },
1353
- { title: 'Integer', name: 'integer' },
1354
- { title: 'Date Time', name: 'dateTime' },
1355
- { title: 'Boolean', name: 'boolean' },
1356
- { title: 'Function', name: 'function' },
1357
- { title: 'Custom', name: 'custom' },
1358
- ],
1359
- direction: 'horizontal',
1360
- multiple: false,
1361
- },
1362
- },
1363
- },
1364
- validations: [
1365
- {
1366
- rule: 'required',
1367
- },
1368
- ],
1369
- options: {
1370
- filter: {
1371
- advance: {
1372
- enabled: true,
1373
- },
1374
- },
1375
- sort: {
1376
- enabled: true,
1377
- },
1378
- },
1379
- },
1380
- ],
1381
- columns: [{ name: 'title' }, { name: 'dataType' }, { name: 'value' }],
1382
- commands: {
1383
- create: {
1384
- execute: async (data) => {
1385
- return Promise.resolve({ id: await dataService.insertOne(data) });
1386
- },
1387
- },
1388
- delete: {
1389
- execute: async (id) => {
1390
- await await dataService.deleteOne(id);
1391
- return Promise.resolve();
1392
- },
1393
- },
1394
- update: {
1395
- execute: async (data) => {
1396
- return new Promise((resolve) => {
1397
- setTimeout(async () => {
1398
- await dataService.updateOne(data.id, data);
1399
- resolve(data);
1400
- }, 1000);
1401
- });
1402
- },
1403
- },
1404
- },
1405
- queries: {
1406
- byKey: {
1407
- execute: async (id) => {
1408
- return new Promise((resolve) => {
1409
- setTimeout(async () => {
1410
- const entity = await dataService.getOne(id);
1411
- resolve(entity);
1412
- }, 500);
1413
- });
1414
- },
1415
- type: AXPEntityQueryType.Single,
1416
- },
1417
- list: {
1418
- execute: async (e) => {
1419
- const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1420
- console.log(x);
1421
- return x;
1422
- },
1423
- type: AXPEntityQueryType.List,
1424
- },
1425
- },
1426
- interfaces: {
1427
- master: {
1428
- create: {
1429
- sections: [
1430
- {
1431
- id: 'section',
1432
- },
1433
- ],
1434
- properties: [
1435
- {
1436
- name: 'title',
1437
- layout: {
1438
- positions: {
1439
- lg: {
1440
- colSpan: 6,
1441
- },
1442
- },
1443
- },
1444
- },
1445
- {
1446
- name: 'name',
1447
- layout: {
1448
- positions: {
1449
- lg: {
1450
- colSpan: 6,
1451
- },
1452
- },
1453
- },
1454
- },
1455
- {
1456
- name: 'value',
1457
- layout: {
1458
- positions: {
1459
- lg: {
1460
- colSpan: 6,
1461
- },
1462
- },
1463
- },
1464
- },
1465
- {
1466
- name: 'dataType',
1467
- layout: {
1468
- positions: {
1469
- lg: {
1470
- colSpan: 6,
1471
- },
1472
- },
1473
- },
1474
- },
1475
- ],
1476
- },
1477
- update: {
1478
- sections: [
1479
- {
1480
- id: 'section',
1481
- },
1482
- ],
1483
- properties: [
1484
- {
1485
- name: 'title',
1486
- layout: {
1487
- positions: {
1488
- lg: {
1489
- colSpan: 6,
1490
- },
1491
- },
1492
- },
1493
- },
1494
- {
1495
- name: 'name',
1496
- layout: {
1497
- positions: {
1498
- lg: {
1499
- colSpan: 6,
1500
- },
1501
- },
1502
- },
1503
- },
1504
- {
1505
- name: 'value',
1506
- layout: {
1507
- positions: {
1508
- lg: {
1509
- colSpan: 6,
1510
- },
1511
- },
1512
- },
1513
- },
1514
- {
1515
- name: 'dataType',
1516
- layout: {
1517
- positions: {
1518
- lg: {
1519
- colSpan: 6,
1520
- },
1521
- },
1522
- },
1523
- },
1524
- ],
1525
- },
1526
- single: {
1527
- title: '{{title}}',
1528
- sections: [
1529
- {
1530
- id: 'section',
1531
- },
1532
- ],
1533
- properties: [
1534
- {
1535
- name: 'title',
1536
- layout: {
1537
- positions: {
1538
- lg: {
1539
- colSpan: 6,
1540
- },
1541
- },
1542
- },
1543
- },
1544
- {
1545
- name: 'name',
1546
- layout: {
1547
- positions: {
1548
- lg: {
1549
- colSpan: 6,
1550
- },
1551
- },
1552
- },
1553
- },
1554
- {
1555
- name: 'value',
1556
- layout: {
1557
- positions: {
1558
- lg: {
1559
- colSpan: 6,
1560
- },
1561
- },
1562
- },
1563
- },
1564
- {
1565
- name: 'dataType',
1566
- layout: {
1567
- positions: {
1568
- lg: {
1569
- colSpan: 6,
1570
- },
1571
- },
1572
- },
1573
- },
1574
- ],
1575
- actions: [],
1576
- },
1577
- list: {
1578
- actions: [
1579
- {
1580
- title: `t("create", { scope: "common" })`,
1581
- command: 'create-entity',
1582
- priority: 'primary',
1583
- type: 'create',
1584
- scope: AXPEntityCommandScope.TypeLevel,
1585
- },
1586
- {
1587
- title: 't("deleteItems", { scope: "common" })',
1588
- command: 'delete-entity',
1589
- priority: 'primary',
1590
- type: 'delete',
1591
- scope: AXPEntityCommandScope.Selected,
1592
- },
1593
- {
1594
- title: 't("deleteItems", { scope: "common" })',
1595
- command: 'open-entity',
1596
- priority: 'secondary',
1597
- type: 'view',
1598
- scope: AXPEntityCommandScope.Individual,
1599
- },
1600
- {
1601
- title: 't("delete", { scope: "common" })',
1602
- command: 'delete-entity',
1603
- priority: 'secondary',
1604
- type: 'delete',
1605
- scope: AXPEntityCommandScope.Individual,
1606
- },
1607
- ],
1608
- views: [
1609
- {
1610
- name: 'all',
1611
- title: 't("allItem", { scope: "common" })',
1612
- fixed: true,
1613
- columns: [],
1614
- conditions: [],
1615
- sorts: [],
1616
- },
1617
- ],
1618
- },
1619
- },
1620
- },
1621
- };
1622
- return entityDef;
1623
- }
1624
-
1625
- class AXMGlossaryService extends AXMEntityCrudServiceImpl {
1626
- }
1627
- class AXMGlossaryServiceImpl extends AXMGlossaryService {
1628
- constructor() {
1629
- super(`${RootConfig.module.name}.${RootConfig.entities.glossary.name}`);
1630
- }
1631
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMGlossaryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1632
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMGlossaryServiceImpl }); }
1633
- }
1634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMGlossaryServiceImpl, decorators: [{
1635
- type: Injectable
1636
- }], ctorParameters: () => [] });
1637
-
1638
- async function glossaryEntityFactory(injector) {
1639
- const dataService = injector.get(AXMGlossaryService);
1640
- const i18n = RootConfig.config.i18n + '.glossary';
1641
- const entityDef = {
1642
- module: RootConfig.module.name,
1643
- name: RootConfig.entities.glossary.name,
1644
- source: '',
1645
- title: RootConfig.entities.glossary.title,
1646
- formats: {
1647
- individual: RootConfig.entities.glossary.title,
1648
- plural: RootConfig.entities.glossary.titlePlural,
1649
- searchResult: {
1650
- title: '{{ title }}',
1651
- description: RootConfig.module.title,
1652
- },
1653
- },
1654
- relatedEntities: [],
1655
- groups: [
1656
- {
1657
- id: 'section',
1658
- title: RootConfig.entities.glossary.title,
1659
- },
1660
- ],
1661
- properties: [
1662
- {
1663
- name: 'title',
1664
- title: `t("title", { scope: "${i18n}" })`,
1665
- groupId: 'section',
1666
- options: {
1667
- sort: {
1668
- enabled: true,
1669
- },
1670
- filter: {
1671
- advance: {
1672
- enabled: true,
1673
- },
1674
- inline: {
1675
- enabled: false,
1676
- },
1677
- },
1678
- },
1679
- schema: {
1680
- dataType: 'string',
1681
- interface: {
1682
- type: AXPWidgetsList.Editors.TextBox,
1683
- },
1684
- },
1685
- validations: [
1686
- {
1687
- rule: 'required',
1688
- },
1689
- ],
1690
- },
1691
- {
1692
- name: 'parentId',
1693
- title: `t("parentId",{ scope: "${i18n}" })`,
1694
- groupId: 'section',
1695
- schema: {
1696
- dataType: 'string',
1697
- interface: {
1698
- type: AXPWidgetsList.Editors.LookupBox,
1699
- options: {
1700
- entity: `${RootConfig.module.name}.${RootConfig.entities.glossary.name}`,
1701
- },
1702
- },
1703
- },
1704
- },
1705
- {
1706
- name: 'translation',
1707
- title: `t("translation",{ scope: "${i18n}" })`,
1708
- groupId: 'section',
1709
- schema: {
1710
- dataType: 'string',
1711
- interface: {
1712
- type: AXPWidgetsList.Editors.TextBox,
1713
- options: {
1714
- entity: `${RootConfig.module.name}.${RootConfig.entities.glossary.name}`,
1715
- multiLanguage: true,
1716
- },
1717
- },
1718
- },
1719
- },
1720
- ],
1721
- columns: [{ name: 'title' }],
1722
- commands: {
1723
- create: {
1724
- execute: async (data) => {
1725
- const res = await dataService.insertOne(data);
1726
- return { id: res };
1727
- },
1728
- },
1729
- delete: {
1730
- execute: async (id) => {
1731
- return await dataService.deleteOne(id);
1732
- },
1733
- },
1734
- update: {
1735
- execute: async (data) => {
1736
- return await dataService.updateOne(data.id, data);
1737
- },
1738
- },
1739
- },
1740
- queries: {
1741
- byKey: {
1742
- execute: async (id) => {
1743
- return await dataService.getOne(id);
1744
- },
1745
- type: AXPEntityQueryType.Single,
1746
- },
1747
- list: {
1748
- execute: async (e) => {
1749
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1750
- },
1751
- type: AXPEntityQueryType.List,
1752
- },
1753
- },
1754
- interfaces: {
1755
- master: {
1756
- create: {
1757
- sections: [
1758
- {
1759
- id: 'section',
1760
- },
1761
- ],
1762
- properties: [
1763
- {
1764
- name: 'title',
1765
- layout: {
1766
- positions: {
1767
- lg: {
1768
- colSpan: 12,
1769
- order: 1,
1770
- },
1771
- },
1772
- },
1773
- },
1774
- {
1775
- name: 'parentId',
1776
- layout: {
1777
- positions: {
1778
- lg: {
1779
- colSpan: 12,
1780
- order: 2,
1781
- },
1782
- },
1783
- },
1784
- },
1785
- {
1786
- name: 'translation',
1787
- layout: {
1788
- positions: {
1789
- lg: {
1790
- colSpan: 12,
1791
- order: 3,
1792
- },
1793
- },
1794
- },
1795
- },
1796
- ],
1797
- },
1798
- update: {
1799
- sections: [
1800
- {
1801
- id: 'section',
1802
- },
1803
- ],
1804
- properties: [
1805
- {
1806
- name: 'title',
1807
- layout: {
1808
- positions: {
1809
- lg: {
1810
- colSpan: 12,
1811
- order: 1,
1812
- },
1813
- },
1814
- },
1815
- },
1816
- {
1817
- name: 'parentId',
1818
- layout: {
1819
- positions: {
1820
- lg: {
1821
- colSpan: 12,
1822
- order: 2,
1823
- },
1824
- },
1825
- },
1826
- },
1827
- {
1828
- name: 'translation',
1829
- layout: {
1830
- positions: {
1831
- lg: {
1832
- colSpan: 12,
1833
- order: 3,
1834
- },
1835
- },
1836
- },
1837
- },
1838
- ],
1839
- },
1840
- single: {
1841
- title: '{{title}}',
1842
- sections: [
1843
- {
1844
- id: 'section',
1845
- layout: {
1846
- positions: {
1847
- lg: {
1848
- colSpan: 12,
1849
- },
1850
- },
1851
- },
1852
- },
1853
- ],
1854
- properties: [
1855
- {
1856
- name: 'title',
1857
- layout: {
1858
- positions: {
1859
- lg: {
1860
- colSpan: 12,
1861
- order: 1,
1862
- },
1863
- },
1864
- },
1865
- },
1866
- {
1867
- name: 'parentId',
1868
- layout: {
1869
- positions: {
1870
- lg: {
1871
- colSpan: 12,
1872
- order: 2,
1873
- },
1874
- },
1875
- },
1876
- },
1877
- {
1878
- name: 'translation',
1879
- layout: {
1880
- positions: {
1881
- lg: {
1882
- colSpan: 12,
1883
- order: 3,
1884
- },
1885
- },
1886
- },
1887
- },
1888
- ],
1889
- actions: [],
1890
- },
1891
- list: {
1892
- actions: [
1893
- {
1894
- title: `t("create", { scope: "common" })`,
1895
- command: 'create-entity',
1896
- priority: 'primary',
1897
- type: 'create',
1898
- scope: AXPEntityCommandScope.TypeLevel,
1899
- },
1900
- {
1901
- title: 't("deleteItems", { scope: "common" })',
1902
- command: 'delete-entity',
1903
- priority: 'primary',
1904
- type: 'delete',
1905
- scope: AXPEntityCommandScope.Selected,
1906
- },
1907
- {
1908
- title: 't("detail", { scope: "common" })',
1909
- command: 'open-entity',
1910
- priority: 'secondary',
1911
- type: 'view',
1912
- scope: AXPEntityCommandScope.Individual,
1913
- },
1914
- {
1915
- title: 't("delete", { scope: "common" })',
1916
- command: 'delete-entity',
1917
- priority: 'secondary',
1918
- type: 'delete',
1919
- scope: AXPEntityCommandScope.Individual,
1920
- },
1921
- ],
1922
- views: [
1923
- createAllQueryView({
1924
- sorts: [{ name: 'title', dir: 'asc' }],
1925
- }),
1926
- ],
1927
- },
1928
- },
1929
- },
1930
- };
1931
- return entityDef;
1932
- }
1933
-
1934
- class AXMMetaDataDefinitionService extends AXMEntityCrudServiceImpl {
1935
- }
1936
- class AXMPMetaDataDefinitionServiceImpl extends AXMMetaDataDefinitionService {
1937
- constructor() {
1938
- super(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinition.name}`);
1939
- }
1940
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1941
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl }); }
1942
- }
1943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPMetaDataDefinitionServiceImpl, decorators: [{
1944
- type: Injectable
1945
- }], ctorParameters: () => [] });
1946
-
1947
- async function metaDataDefinitionFactory(injector) {
1948
- const dataService = injector.get(AXMMetaDataDefinitionService);
1949
- const entityDef = {
1950
- module: RootConfig.module.name,
1951
- name: RootConfig.entities.metaDataDefinition.name,
1952
- source: '',
1953
- title: RootConfig.entities.metaDataDefinition.title,
1954
- formats: {
1955
- individual: RootConfig.entities.metaDataDefinition.title,
1956
- plural: RootConfig.entities.metaDataDefinition.titlePlural,
1957
- searchResult: {
1958
- title: '{{ title }}',
1959
- description: RootConfig.module.title,
1960
- },
1961
- },
1962
- relatedEntities: [],
1963
- versionHistory: {
1964
- enabled: true,
1965
- showInList: true,
1966
- showInDetail: true,
1967
- },
1968
- category: {
1969
- entity: `${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`,
1970
- title: 'Categories',
1971
- textField: 'title',
1972
- valueField: 'id',
1973
- applyConditions: [
1974
- {
1975
- name: 'categoryIds',
1976
- operator: {
1977
- type: 'contains',
1978
- },
1979
- value: 'id',
1980
- },
1981
- ],
1982
- },
1983
- groups: [
1984
- {
1985
- id: 'section',
1986
- title: RootConfig.entities.metaDataDefinition.title,
1987
- },
1988
- ],
1989
- properties: [
1990
- {
1991
- name: 'name',
1992
- title: 't("name", { scope: "common" })',
1993
- groupId: 'section',
1994
- options: {
1995
- sort: {
1996
- enabled: true,
1997
- },
1998
- },
1999
- schema: {
2000
- dataType: 'string',
2001
- interface: {
2002
- type: AXPWidgetsCatalog.text,
2003
- },
2004
- },
2005
- validations: [
2006
- {
2007
- rule: 'required',
2008
- },
2009
- ],
2010
- },
2011
- {
2012
- name: 'title',
2013
- title: 't("title", { scope: "common" })',
2014
- groupId: 'section',
2015
- schema: {
2016
- dataType: 'string',
2017
- interface: {
2018
- type: AXPWidgetsCatalog.text,
2019
- },
2020
- },
2021
- validations: [
2022
- {
2023
- rule: 'required',
2024
- },
2025
- ],
2026
- },
2027
- {
2028
- name: 'description',
2029
- title: 't("description", { scope: "common" })',
2030
- groupId: 'section',
2031
- schema: {
2032
- dataType: 'string',
2033
- interface: {
2034
- type: AXPWidgetsCatalog.text,
2035
- },
2036
- },
2037
- },
2038
- {
2039
- name: 'categoryIds',
2040
- title: 't("category", { scope: "common" })',
2041
- groupId: 'section',
2042
- schema: {
2043
- dataType: 'string',
2044
- interface: {
2045
- type: AXPWidgetsCatalog.lookup,
2046
- options: {
2047
- entity: `${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`,
2048
- multiple: true,
2049
- expose: [
2050
- { source: 'id', target: 'categories.{id}' },
2051
- { source: 'title', target: 'categories.{title}' },
2052
- ],
2053
- },
2054
- },
2055
- },
2056
- validations: [
2057
- {
2058
- rule: 'required',
2059
- },
2060
- ],
2061
- },
2062
- {
2063
- name: 'interface',
2064
- title: `t("interface", { scope: "${RootConfig.config.i18n}" })`,
2065
- groupId: 'section',
2066
- schema: {
2067
- dataType: 'string',
2068
- interface: {
2069
- type: AXPWidgetsCatalog.templateDesigner,
2070
- options: {
2071
- embedded: true,
2072
- },
2073
- },
2074
- },
2075
- validations: [
2076
- {
2077
- rule: 'required',
2078
- },
2079
- ],
2080
- },
2081
- ],
2082
- columns: [
2083
- { name: 'name' },
2084
- { name: 'title' },
2085
- { name: 'description' },
2086
- { name: 'categoryIds', options: { dataPath: 'categories' } },
2087
- ],
2088
- commands: {
2089
- create: {
2090
- execute: async (data) => {
2091
- const res = await dataService.insertOne(data);
2092
- return { id: res };
2093
- },
2094
- },
2095
- delete: {
2096
- execute: async (id) => {
2097
- return await dataService.deleteOne(id);
2098
- },
2099
- },
2100
- update: {
2101
- execute: async (data) => {
2102
- return await dataService.updateOne(data.id, data);
2103
- },
2104
- },
2105
- },
2106
- queries: {
2107
- byKey: {
2108
- execute: async (id) => {
2109
- return await dataService.getOne(id);
2110
- },
2111
- type: AXPEntityQueryType.Single,
2112
- },
2113
- list: {
2114
- execute: async (e) => {
2115
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
2116
- },
2117
- type: AXPEntityQueryType.List,
2118
- },
2119
- },
2120
- interfaces: {
2121
- master: {
2122
- create: {
2123
- sections: [
2124
- {
2125
- id: 'section',
2126
- },
2127
- ],
2128
- properties: [
2129
- {
2130
- name: 'name',
2131
- layout: {
2132
- positions: {
2133
- lg: {
2134
- colSpan: 6,
2135
- },
2136
- },
2137
- },
2138
- },
2139
- {
2140
- name: 'title',
2141
- layout: {
2142
- positions: {
2143
- lg: {
2144
- colSpan: 6,
2145
- },
2146
- },
2147
- },
2148
- },
2149
- {
2150
- name: 'description',
2151
- layout: {
2152
- positions: {
2153
- lg: {
2154
- colSpan: 12,
2155
- },
2156
- },
2157
- },
2158
- },
2159
- {
2160
- name: 'categoryIds',
2161
- layout: {
2162
- positions: {
2163
- lg: {
2164
- colSpan: 6,
2165
- },
2166
- },
2167
- },
2168
- },
2169
- {
2170
- name: 'interface',
2171
- layout: {
2172
- positions: {
2173
- lg: {
2174
- colSpan: 6,
2175
- },
2176
- },
2177
- },
2178
- },
2179
- ],
2180
- },
2181
- update: {
2182
- sections: [
2183
- {
2184
- id: 'section',
2185
- },
2186
- ],
2187
- properties: [
2188
- {
2189
- name: 'name',
2190
- layout: {
2191
- positions: {
2192
- lg: {
2193
- colSpan: 6,
2194
- },
2195
- },
2196
- },
2197
- },
2198
- {
2199
- name: 'title',
2200
- layout: {
2201
- positions: {
2202
- lg: {
2203
- colSpan: 6,
2204
- },
2205
- },
2206
- },
2207
- },
2208
- {
2209
- name: 'description',
2210
- layout: {
2211
- positions: {
2212
- lg: {
2213
- colSpan: 12,
2214
- },
2215
- },
2216
- },
2217
- },
2218
- {
2219
- name: 'categoryIds',
2220
- layout: {
2221
- positions: {
2222
- lg: {
2223
- colSpan: 6,
2224
- },
2225
- },
2226
- },
2227
- },
2228
- {
2229
- name: 'interface',
2230
- layout: {
2231
- positions: {
2232
- lg: {
2233
- colSpan: 6,
2234
- },
2235
- },
2236
- },
2237
- },
2238
- ],
2239
- },
2240
- single: {
2241
- title: '{{title}}',
2242
- sections: [
2243
- {
2244
- id: 'section',
2245
- layout: {
2246
- positions: {
2247
- lg: {
2248
- colSpan: 12,
2249
- },
2250
- },
2251
- },
2252
- },
2253
- ],
2254
- properties: [
2255
- {
2256
- name: 'name',
2257
- layout: {
2258
- positions: {
2259
- lg: {
2260
- colSpan: 6,
2261
- },
2262
- },
2263
- },
2264
- },
2265
- {
2266
- name: 'title',
2267
- layout: {
2268
- positions: {
2269
- lg: {
2270
- colSpan: 6,
2271
- },
2272
- },
2273
- },
2274
- },
2275
- {
2276
- name: 'description',
2277
- layout: {
2278
- positions: {
2279
- lg: {
2280
- colSpan: 12,
2281
- },
2282
- },
2283
- },
2284
- },
2285
- {
2286
- name: 'categoryIds',
2287
- dataPath: 'categories',
2288
- layout: {
2289
- positions: {
2290
- lg: {
2291
- colSpan: 6,
2292
- },
2293
- },
2294
- },
2295
- },
2296
- {
2297
- name: 'interface',
2298
- layout: {
2299
- positions: {
2300
- lg: {
2301
- colSpan: 6,
2302
- },
2303
- },
2304
- },
2305
- },
2306
- ],
2307
- actions: [],
2308
- },
2309
- list: {
2310
- actions: [
2311
- {
2312
- title: `t("create", { scope: "common" })`,
2313
- command: 'create-entity',
2314
- priority: 'primary',
2315
- type: 'create',
2316
- scope: AXPEntityCommandScope.TypeLevel,
2317
- },
2318
- {
2319
- title: 't("deleteItems", { scope: "common" })',
2320
- command: 'delete-entity',
2321
- priority: 'primary',
2322
- type: 'delete',
2323
- scope: AXPEntityCommandScope.Selected,
2324
- },
2325
- {
2326
- title: 't("detail", { scope: "common" })',
2327
- command: 'open-entity',
2328
- priority: 'secondary',
2329
- type: 'view',
2330
- scope: AXPEntityCommandScope.Individual,
2331
- },
2332
- {
2333
- title: 't("delete", { scope: "common" })',
2334
- command: 'delete-entity',
2335
- priority: 'secondary',
2336
- type: 'delete',
2337
- scope: AXPEntityCommandScope.Individual,
2338
- },
2339
- ],
2340
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
2341
- },
2342
- },
2343
- },
2344
- };
2345
- return entityDef;
2346
- }
2347
-
2348
- class AXMMetaDataDefinitionCategoryService extends AXMEntityCrudServiceImpl {
2349
- }
2350
- class AXMMetaDataDefinitionCategoryServiceImpl extends AXMMetaDataDefinitionCategoryService {
2351
- constructor() {
2352
- super(`${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`);
2353
- }
2354
- getAllWithItems() {
2355
- throw new Error('Not implemented');
2356
- }
2357
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2358
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl }); }
2359
- }
2360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMMetaDataDefinitionCategoryServiceImpl, decorators: [{
2361
- type: Injectable
2362
- }], ctorParameters: () => [] });
2363
-
2364
- async function metaDataDefinitionCategoryEntityFactory(injector) {
2365
- const dataService = injector.get(AXMMetaDataDefinitionCategoryService);
2366
- const i18n = RootConfig.config.i18n;
2367
- const entityDef = {
2368
- module: RootConfig.module.name,
2369
- name: RootConfig.entities.metaDataDefinitionCategory.name,
2370
- parentKey: 'parentId',
2371
- source: '',
2372
- title: RootConfig.entities.metaDataDefinitionCategory.title,
2373
- formats: {
2374
- individual: `t("metaDataDefinitionCategory", { scope: "${i18n}" })`,
2375
- plural: `t("metaDataDefinitionCategories", { scope: "${i18n}" })`,
2376
- searchResult: {
2377
- title: '{{ title }}',
2378
- description: RootConfig.module.title,
2379
- },
2380
- },
2381
- relatedEntities: [],
2382
- groups: [
2383
- {
2384
- id: 'section',
2385
- title: `t("metaDataDefinitionCategory", { scope: "common" })`,
2386
- },
2387
- ],
2388
- properties: [
2389
- {
2390
- name: 'title',
2391
- title: `t("title",{ scope: "common" })`,
2392
- groupId: 'section',
2393
- schema: {
2394
- dataType: 'string',
2395
- interface: {
2396
- type: AXPWidgetsCatalog.text,
720
+ type: AXPWidgetsCatalog.select,
2397
721
  options: {
2398
- width: '400px',
722
+ valueField: 'name',
723
+ textField: 'title',
724
+ dataSource: [
725
+ { title: 'String', name: 'String' },
726
+ { title: 'Integer', name: 'integer' },
727
+ { title: 'Date Time', name: 'dateTime' },
728
+ { title: 'Boolean', name: 'boolean' },
729
+ { title: 'Function', name: 'function' },
730
+ { title: 'Custom', name: 'custom' },
731
+ ],
732
+ direction: 'horizontal',
733
+ multiple: false,
2399
734
  },
2400
735
  },
2401
736
  },
@@ -2404,51 +739,59 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2404
739
  rule: 'required',
2405
740
  },
2406
741
  ],
2407
- },
2408
- {
2409
- name: 'parentId',
2410
- title: `t("parent",{ scope: "${i18n}" })`,
2411
- groupId: 'section',
2412
- schema: {
2413
- dataType: 'string',
2414
- interface: {
2415
- type: AXPWidgetsCatalog.lookup,
2416
- options: {
2417
- entity: `${RootConfig.module.name}.${RootConfig.entities.metaDataDefinitionCategory.name}`,
742
+ options: {
743
+ filter: {
744
+ advance: {
745
+ enabled: true,
2418
746
  },
2419
747
  },
748
+ sort: {
749
+ enabled: true,
750
+ },
2420
751
  },
2421
752
  },
2422
753
  ],
2423
- columns: [{ name: 'title' }],
754
+ columns: [{ name: 'title' }, { name: 'dataType' }, { name: 'value' }],
2424
755
  commands: {
2425
756
  create: {
2426
757
  execute: async (data) => {
2427
- const res = await dataService.insertOne(data);
2428
- return { id: res };
758
+ return Promise.resolve({ id: await dataService.insertOne(data) });
2429
759
  },
2430
760
  },
2431
761
  delete: {
2432
762
  execute: async (id) => {
2433
- return await dataService.deleteOne(id);
763
+ await await dataService.deleteOne(id);
764
+ return Promise.resolve();
2434
765
  },
2435
766
  },
2436
767
  update: {
2437
768
  execute: async (data) => {
2438
- return await dataService.updateOne(data.id, data);
769
+ return new Promise((resolve) => {
770
+ setTimeout(async () => {
771
+ await dataService.updateOne(data.id, data);
772
+ resolve(data);
773
+ }, 1000);
774
+ });
2439
775
  },
2440
776
  },
2441
777
  },
2442
778
  queries: {
2443
779
  byKey: {
2444
780
  execute: async (id) => {
2445
- return await dataService.getOne(id);
781
+ return new Promise((resolve) => {
782
+ setTimeout(async () => {
783
+ const entity = await dataService.getOne(id);
784
+ resolve(entity);
785
+ }, 500);
786
+ });
2446
787
  },
2447
788
  type: AXPEntityQueryType.Single,
2448
789
  },
2449
790
  list: {
2450
791
  execute: async (e) => {
2451
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
792
+ const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
793
+ console.log(x);
794
+ return x;
2452
795
  },
2453
796
  type: AXPEntityQueryType.List,
2454
797
  },
@@ -2467,17 +810,37 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2467
810
  layout: {
2468
811
  positions: {
2469
812
  lg: {
2470
- colSpan: 12,
813
+ colSpan: 6,
2471
814
  },
2472
815
  },
2473
816
  },
2474
817
  },
2475
818
  {
2476
- name: 'parentId',
819
+ name: 'name',
2477
820
  layout: {
2478
821
  positions: {
2479
822
  lg: {
2480
- colSpan: 12,
823
+ colSpan: 6,
824
+ },
825
+ },
826
+ },
827
+ },
828
+ {
829
+ name: 'value',
830
+ layout: {
831
+ positions: {
832
+ lg: {
833
+ colSpan: 6,
834
+ },
835
+ },
836
+ },
837
+ },
838
+ {
839
+ name: 'dataType',
840
+ layout: {
841
+ positions: {
842
+ lg: {
843
+ colSpan: 6,
2481
844
  },
2482
845
  },
2483
846
  },
@@ -2496,17 +859,37 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2496
859
  layout: {
2497
860
  positions: {
2498
861
  lg: {
2499
- colSpan: 12,
862
+ colSpan: 6,
2500
863
  },
2501
864
  },
2502
865
  },
2503
866
  },
2504
867
  {
2505
- name: 'parentId',
868
+ name: 'name',
2506
869
  layout: {
2507
870
  positions: {
2508
871
  lg: {
2509
- colSpan: 12,
872
+ colSpan: 6,
873
+ },
874
+ },
875
+ },
876
+ },
877
+ {
878
+ name: 'value',
879
+ layout: {
880
+ positions: {
881
+ lg: {
882
+ colSpan: 6,
883
+ },
884
+ },
885
+ },
886
+ },
887
+ {
888
+ name: 'dataType',
889
+ layout: {
890
+ positions: {
891
+ lg: {
892
+ colSpan: 6,
2510
893
  },
2511
894
  },
2512
895
  },
@@ -2518,18 +901,41 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2518
901
  sections: [
2519
902
  {
2520
903
  id: 'section',
904
+ },
905
+ ],
906
+ properties: [
907
+ {
908
+ name: 'title',
2521
909
  layout: {
2522
910
  positions: {
2523
911
  lg: {
2524
- colSpan: 12,
912
+ colSpan: 6,
2525
913
  },
2526
914
  },
2527
915
  },
2528
916
  },
2529
- ],
2530
- properties: [
2531
917
  {
2532
- name: 'title',
918
+ name: 'name',
919
+ layout: {
920
+ positions: {
921
+ lg: {
922
+ colSpan: 6,
923
+ },
924
+ },
925
+ },
926
+ },
927
+ {
928
+ name: 'value',
929
+ layout: {
930
+ positions: {
931
+ lg: {
932
+ colSpan: 6,
933
+ },
934
+ },
935
+ },
936
+ },
937
+ {
938
+ name: 'dataType',
2533
939
  layout: {
2534
940
  positions: {
2535
941
  lg: {
@@ -2558,7 +964,7 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2558
964
  scope: AXPEntityCommandScope.Selected,
2559
965
  },
2560
966
  {
2561
- title: 't("detail", { scope: "common" })',
967
+ title: 't("deleteItems", { scope: "common" })',
2562
968
  command: 'open-entity',
2563
969
  priority: 'secondary',
2564
970
  type: 'view',
@@ -2572,7 +978,16 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2572
978
  scope: AXPEntityCommandScope.Individual,
2573
979
  },
2574
980
  ],
2575
- views: [createAllQueryView()],
981
+ views: [
982
+ {
983
+ name: 'all',
984
+ title: 't("allItem", { scope: "common" })',
985
+ fixed: true,
986
+ columns: [],
987
+ conditions: [],
988
+ sorts: [],
989
+ },
990
+ ],
2576
991
  },
2577
992
  },
2578
993
  },
@@ -2580,45 +995,8 @@ async function metaDataDefinitionCategoryEntityFactory(injector) {
2580
995
  return entityDef;
2581
996
  }
2582
997
 
2583
- // Option 1: Class implementation
2584
- // export class MetaDataDefinitionCategory implements AXMMetaDataDefinitionCategoryEntityModel {
2585
- // id?: string;
2586
- // title: string;
2587
- // parentId?: string;
2588
- // createdAt?: Date;
2589
- // updatedAt?: Date;
2590
- // createdBy?: string;
2591
- // updatedBy?: string;
2592
- // constructor(data: Omit<AXMMetaDataDefinitionCategoryEntityModel, 'x'>) {
2593
- // this.id = data.id;
2594
- // this.title = data.title;
2595
- // this.parentId = data.parentId;
2596
- // this.createdAt = data.createdAt;
2597
- // this.updatedAt = data.updatedAt;
2598
- // this.createdBy = data.createdBy;
2599
- // this.updatedBy = data.updatedBy;
2600
- // }
2601
- // // Getter for x property
2602
- // get x(): string {
2603
- // return this.parentId ? `${this.title}_${this.parentId}` : this.title;
2604
- // }
2605
- // }
2606
- // // Option 2: Factory function
2607
- // export function createMetaDataDefinitionCategory(
2608
- // data: Omit<AXMMetaDataDefinitionCategoryEntityModel, 'x'>
2609
- // ): AXMMetaDataDefinitionCategoryEntityModel {
2610
- // return {
2611
- // ...data,
2612
- // get x() {
2613
- // return this.parentId ? `${this.title}_${this.parentId}` : this.title;
2614
- // },
2615
- // };
2616
- // }
2617
-
2618
998
  var index = /*#__PURE__*/Object.freeze({
2619
999
  __proto__: null,
2620
- AXMAppTermService: AXMAppTermService,
2621
- AXMAppTermServiceImpl: AXMAppTermServiceImpl,
2622
1000
  AXMAppVersionService: AXMAppVersionService,
2623
1001
  AXMAppVersionServiceImpl: AXMAppVersionServiceImpl,
2624
1002
  AXMAppVersionSlotComponent: AXMAppVersionSlotComponent,
@@ -2628,26 +1006,94 @@ var index = /*#__PURE__*/Object.freeze({
2628
1006
  AXMCheckNewVersionWorkflow: AXMCheckNewVersionWorkflow,
2629
1007
  AXMGlobalVariablesService: AXMGlobalVariablesService,
2630
1008
  AXMGlobalVariablesServiceImpl: AXMGlobalVariablesServiceImpl,
2631
- AXMGlossaryService: AXMGlossaryService,
2632
- AXMGlossaryServiceImpl: AXMGlossaryServiceImpl,
2633
- AXMListTermsComponent: AXMListTermsComponent,
2634
- AXMMetaDataDefinitionCategoryService: AXMMetaDataDefinitionCategoryService,
2635
- AXMMetaDataDefinitionCategoryServiceImpl: AXMMetaDataDefinitionCategoryServiceImpl,
2636
- AXMMetaDataDefinitionService: AXMMetaDataDefinitionService,
2637
- AXMNewTermWorkflow: AXMNewTermWorkflow,
2638
1009
  AXMNotifyAppComponent: AXMNotifyAppComponent,
2639
- AXMNotifyNewTermPopupAction: AXMNotifyNewTermPopupAction,
2640
- AXMPMetaDataDefinitionServiceImpl: AXMPMetaDataDefinitionServiceImpl,
2641
- AXMTermUpdateSettingAction: AXMTermUpdateSettingAction,
2642
1010
  AXMWhatsNewWorkflow: AXMWhatsNewWorkflow,
2643
- appTermEntityEntityFactory: appTermEntityEntityFactory,
2644
1011
  appVersionEntityEntityFactory: appVersionEntityEntityFactory,
2645
- globalVariableEntityFactory: globalVariableEntityFactory,
2646
- glossaryEntityFactory: glossaryEntityFactory,
2647
- metaDataDefinitionCategoryEntityFactory: metaDataDefinitionCategoryEntityFactory,
2648
- metaDataDefinitionFactory: metaDataDefinitionFactory
1012
+ globalVariableEntityFactory: globalVariableEntityFactory
2649
1013
  });
2650
1014
 
1015
+ class AXMNotifyAppTermComponent extends AXBasePageComponent {
1016
+ constructor() {
1017
+ super(...arguments);
1018
+ this.isConfirm = false;
1019
+ this.i18n = RootConfig.config.i18n;
1020
+ }
1021
+ transformContent(content) {
1022
+ return content.replace(/\n/g, '<br>');
1023
+ }
1024
+ send() {
1025
+ this.close({ data: this.data });
1026
+ }
1027
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1028
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMNotifyAppTermComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "@for (item of data; track $index) {\n<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-font-bold\">{{ item.title }}</ax-content>\n<ax-content class=\"ax-block ax-px-4 ax-pb-4 ax-text-base/6\" [innerHTML]=\"transformContent(item.content) | safe : 'html'\"></ax-content>\n}\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isConfirm\">\n <ax-label>{{ 'agreeTerm' | translate : { scope: i18n } | async }}</ax-label>\n </ax-check-box>\n <ax-button (click)=\"send()\" [text]=\"'okay' | translate | async\" [disabled]=\"!isConfirm\" color=\"primary\"></ax-button>\n</ax-footer>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.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: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
1029
+ }
1030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, decorators: [{
1031
+ type: Component,
1032
+ args: [{ selector: 'axm-notify-app', imports: [
1033
+ CommonModule,
1034
+ AXLabelModule,
1035
+ AXCheckBoxModule,
1036
+ AXDecoratorModule,
1037
+ AXButtonModule,
1038
+ AXTranslationModule,
1039
+ AXSafePipe,
1040
+ ], template: "@for (item of data; track $index) {\n<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-font-bold\">{{ item.title }}</ax-content>\n<ax-content class=\"ax-block ax-px-4 ax-pb-4 ax-text-base/6\" [innerHTML]=\"transformContent(item.content) | safe : 'html'\"></ax-content>\n}\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isConfirm\">\n <ax-label>{{ 'agreeTerm' | translate : { scope: i18n } | async }}</ax-label>\n </ax-check-box>\n <ax-button (click)=\"send()\" [text]=\"'okay' | translate | async\" [disabled]=\"!isConfirm\" color=\"primary\"></ax-button>\n</ax-footer>" }]
1041
+ }] });
1042
+
1043
+ class AXMNotifyNewTermPopupAction extends AXPWorkflowAction {
1044
+ constructor() {
1045
+ super(...arguments);
1046
+ this.popupService = inject(AXPopupService);
1047
+ }
1048
+ async execute(context) {
1049
+ const data = context.getVariable();
1050
+ await this.popupService.open(AXMNotifyAppTermComponent, {
1051
+ title: 'New Terms And Conditions',
1052
+ data: { data },
1053
+ closeButton: false,
1054
+ });
1055
+ }
1056
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1057
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction }); }
1058
+ }
1059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, decorators: [{
1060
+ type: Injectable
1061
+ }] });
1062
+ class AXMTermUpdateSettingAction extends AXPWorkflowAction {
1063
+ constructor() {
1064
+ super(...arguments);
1065
+ this.settingService = inject(AXPSettingService);
1066
+ }
1067
+ async execute(context) {
1068
+ const dataList = context.getVariable();
1069
+ for (const data of dataList) {
1070
+ await this.settingService.scope(AXPPlatformScope.User).set(`is-confirm-term-${data.id}`, true);
1071
+ }
1072
+ }
1073
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1074
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction }); }
1075
+ }
1076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction, decorators: [{
1077
+ type: Injectable
1078
+ }] });
1079
+ const AXMNewTermWorkflow = {
1080
+ startStepId: 'show-popup',
1081
+ steps: {
1082
+ 'show-popup': {
1083
+ action: 'AXMNotifyNewTermPopupAction',
1084
+ nextSteps: [
1085
+ {
1086
+ conditions: [],
1087
+ nextStepId: 'first-time-add-to-setting',
1088
+ },
1089
+ ],
1090
+ },
1091
+ 'first-time-add-to-setting': {
1092
+ action: 'AXMTermUpdateSettingAction',
1093
+ },
1094
+ },
1095
+ };
1096
+
2651
1097
  class AXMEntityLoader {
2652
1098
  constructor() {
2653
1099
  this.injector = inject(Injector);
@@ -2663,11 +1109,6 @@ class AXMEntityLoader {
2663
1109
  if (moduleName == RootConfig.module.name) {
2664
1110
  return new Promise(async (resolve) => {
2665
1111
  switch (entityName) {
2666
- case RootConfig.entities.glossary.name: {
2667
- const entity = (await Promise.resolve().then(function () { return index; })).glossaryEntityFactory;
2668
- resolve(entity(this.injector));
2669
- break;
2670
- }
2671
1112
  case RootConfig.entities.globalVariable.name: {
2672
1113
  const entity = (await Promise.resolve().then(function () { return index; })).globalVariableEntityFactory;
2673
1114
  resolve(entity(this.injector));
@@ -2678,21 +1119,6 @@ class AXMEntityLoader {
2678
1119
  resolve(entity(this.injector));
2679
1120
  break;
2680
1121
  }
2681
- case RootConfig.entities.appTerm.name: {
2682
- const entity = (await Promise.resolve().then(function () { return index; })).appTermEntityEntityFactory;
2683
- resolve(entity(this.injector));
2684
- break;
2685
- }
2686
- case RootConfig.entities.metaDataDefinitionCategory.name: {
2687
- const entity = (await Promise.resolve().then(function () { return index; })).metaDataDefinitionCategoryEntityFactory;
2688
- resolve(entity(this.injector));
2689
- break;
2690
- }
2691
- case RootConfig.entities.metaDataDefinition.name: {
2692
- const entity = (await Promise.resolve().then(function () { return index; })).metaDataDefinitionFactory;
2693
- resolve(entity(this.injector));
2694
- break;
2695
- }
2696
1122
  default:
2697
1123
  resolve(null);
2698
1124
  }
@@ -2700,10 +1126,10 @@ class AXMEntityLoader {
2700
1126
  }
2701
1127
  return null;
2702
1128
  }
2703
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMEntityLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2704
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMEntityLoader }); }
1129
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMEntityLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1130
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMEntityLoader }); }
2705
1131
  }
2706
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMEntityLoader, decorators: [{
1132
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMEntityLoader, decorators: [{
2707
1133
  type: Injectable
2708
1134
  }] });
2709
1135
 
@@ -2749,10 +1175,10 @@ class AppTermsCheckService {
2749
1175
  },
2750
1176
  });
2751
1177
  }
2752
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AppTermsCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2753
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AppTermsCheckService }); }
1178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1179
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService }); }
2754
1180
  }
2755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AppTermsCheckService, decorators: [{
1181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService, decorators: [{
2756
1182
  type: Injectable
2757
1183
  }], ctorParameters: () => [] });
2758
1184
 
@@ -2763,15 +1189,15 @@ class AXMShowReleaseNotesPopupAction extends AXPWorkflowAction {
2763
1189
  }
2764
1190
  async execute(context) {
2765
1191
  const scope = RootConfig.config.i18n;
2766
- const comp = (await import('./acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs')).AXMListVersionComponent;
1192
+ const comp = (await import('./acorex-modules-platform-management-list-version.component-DTfLeVbH.mjs')).AXMListVersionComponent;
2767
1193
  this.popupService.open(comp, {
2768
1194
  title: `t('release-notes',{scope: "${scope}"})`,
2769
1195
  });
2770
1196
  }
2771
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMShowReleaseNotesPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2772
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMShowReleaseNotesPopupAction }); }
1197
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMShowReleaseNotesPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1198
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMShowReleaseNotesPopupAction }); }
2773
1199
  }
2774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMShowReleaseNotesPopupAction, decorators: [{
1200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMShowReleaseNotesPopupAction, decorators: [{
2775
1201
  type: Injectable
2776
1202
  }] });
2777
1203
  const AXMShowReleaseNotesWorkflow = {
@@ -2836,10 +1262,10 @@ class AXPReleaseNotesSettingProvider {
2836
1262
  description: await trans('general.startup.release-notes.description'),
2837
1263
  });
2838
1264
  }
2839
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReleaseNotesSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2840
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReleaseNotesSettingProvider }); }
1265
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPReleaseNotesSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1266
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPReleaseNotesSettingProvider }); }
2841
1267
  }
2842
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPReleaseNotesSettingProvider, decorators: [{
1268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPReleaseNotesSettingProvider, decorators: [{
2843
1269
  type: Injectable
2844
1270
  }], ctorParameters: () => [{ type: i0.Injector }] });
2845
1271
 
@@ -2888,10 +1314,10 @@ class AXPUpdaterService {
2888
1314
  });
2889
1315
  }
2890
1316
  }
2891
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPUpdaterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2892
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPUpdaterService, providedIn: 'root' }); }
1317
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPUpdaterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1318
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPUpdaterService, providedIn: 'root' }); }
2893
1319
  }
2894
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXPUpdaterService, decorators: [{
1320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPUpdaterService, decorators: [{
2895
1321
  type: Injectable,
2896
1322
  args: [{ providedIn: 'root' }]
2897
1323
  }], ctorParameters: () => [] });
@@ -2900,11 +1326,11 @@ class AXMUpdaterModule {
2900
1326
  constructor(updaterService) {
2901
1327
  this.updaterService = updaterService;
2902
1328
  }
2903
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMUpdaterModule, deps: [{ token: AXPUpdaterService }], target: i0.ɵɵFactoryTarget.NgModule }); }
2904
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMUpdaterModule }); }
2905
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMUpdaterModule, providers: [AXPUpdaterService] }); }
1329
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMUpdaterModule, deps: [{ token: AXPUpdaterService }], target: i0.ɵɵFactoryTarget.NgModule }); }
1330
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMUpdaterModule }); }
1331
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMUpdaterModule, providers: [AXPUpdaterService] }); }
2906
1332
  }
2907
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMUpdaterModule, decorators: [{
1333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMUpdaterModule, decorators: [{
2908
1334
  type: NgModule,
2909
1335
  args: [{
2910
1336
  imports: [],
@@ -2922,14 +1348,13 @@ class AXMMenuProvider {
2922
1348
  async provide(context) {
2923
1349
  const scope = RootConfig.config.i18n;
2924
1350
  const appName = this.sessionService.application?.name;
2925
- const module = RootConfig.module;
2926
- //
1351
+ //#region ---- Help Menu (Always Available) ----
2927
1352
  context.addItems([
2928
1353
  {
2929
1354
  name: 'app-help',
2930
1355
  text: `t('help',{scope: "${scope}"})`,
2931
1356
  icon: 'fa-light fa-circle-question',
2932
- priority: 100000,
1357
+ priority: 900000,
2933
1358
  data: {
2934
1359
  requiredPermission: 'platform',
2935
1360
  },
@@ -2938,13 +1363,13 @@ class AXMMenuProvider {
2938
1363
  name: 'app-help-center',
2939
1364
  text: `t('help-center',{scope: "${scope}"})`,
2940
1365
  icon: 'fa-light fa-book-open',
2941
- priority: 100001,
1366
+ priority: 900001,
2942
1367
  },
2943
1368
  {
2944
1369
  name: 'app-help-tutorials',
2945
1370
  text: `t('tutorials',{scope: "${scope}"})`,
2946
1371
  icon: 'fa-light fa-clapperboard-play',
2947
- priority: 100002,
1372
+ priority: 900002,
2948
1373
  },
2949
1374
  {
2950
1375
  name: 'app-release-notes',
@@ -2953,40 +1378,28 @@ class AXMMenuProvider {
2953
1378
  command: {
2954
1379
  name: 'show-release-notes',
2955
1380
  },
2956
- priority: 100003,
1381
+ priority: 900003,
2957
1382
  },
2958
1383
  {
2959
1384
  text: 'break',
2960
1385
  type: 'break',
2961
- priority: 100004,
2962
- },
2963
- {
2964
- name: 'app-terms',
2965
- text: `t('terms-conditions',{scope: "${scope}"})`,
2966
- icon: 'fa-light fa-circle-info',
2967
- path: `${appName}/terms`,
2968
- priority: 100031,
1386
+ priority: 900004,
2969
1387
  },
2970
1388
  {
2971
1389
  name: 'app-about',
2972
1390
  text: `t('about',{scope: "${scope}"})`,
2973
1391
  icon: 'fa-light fa-circle-info',
2974
- priority: 100032,
2975
- },
2976
- {
2977
- text: 'break',
2978
- type: 'break',
2979
- priority: 100030,
1392
+ priority: 900011,
2980
1393
  },
2981
1394
  ],
2982
1395
  },
2983
1396
  ]);
2984
- //
1397
+ //#endregion
2985
1398
  const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
2986
1399
  if (!isAuthorized) {
2987
1400
  return;
2988
1401
  }
2989
- //
1402
+ //#region ---- Administration Menu (Authorized Users) ----
2990
1403
  context.addItems([
2991
1404
  {
2992
1405
  name: 'administration-group',
@@ -2994,7 +1407,7 @@ class AXMMenuProvider {
2994
1407
  text: `t('administration',{scope: "${scope}"})`,
2995
1408
  type: 'group',
2996
1409
  data: {
2997
- // requiredPermission: 'admin',
1410
+ requiredPermission: 'platform',
2998
1411
  },
2999
1412
  },
3000
1413
  {
@@ -3002,13 +1415,14 @@ class AXMMenuProvider {
3002
1415
  icon: 'fa-light fa-square-terminal',
3003
1416
  type: 'menu',
3004
1417
  name: 'platform-management',
3005
- priority: 9100,
1418
+ priority: 200001,
3006
1419
  data: {
3007
1420
  requiredPermission: 'platform',
3008
1421
  },
3009
1422
  children: [
1423
+ // Most frequently used - Global Variables (daily configuration)
3010
1424
  {
3011
- priority: 9001,
1425
+ priority: 20000101,
3012
1426
  text: RootConfig.entities.globalVariable.title,
3013
1427
  path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.globalVariable.name),
3014
1428
  icon: RootConfig.entities.globalVariable.icon,
@@ -3016,12 +1430,7 @@ class AXMMenuProvider {
3016
1430
  // requiredPermission: '',
3017
1431
  },
3018
1432
  },
3019
- {
3020
- priority: 9002,
3021
- text: RootConfig.entities.glossary.title,
3022
- path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.glossary.name),
3023
- icon: RootConfig.entities.glossary.icon,
3024
- },
1433
+ // moved glossary to content-management
3025
1434
  {
3026
1435
  priority: 9003,
3027
1436
  text: RootConfig.entities.appVersion.title,
@@ -3031,33 +1440,10 @@ class AXMMenuProvider {
3031
1440
  // requiredPermission: '',
3032
1441
  },
3033
1442
  },
3034
- {
3035
- priority: 9004,
3036
- text: RootConfig.entities.appTerm.title,
3037
- path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.appTerm.name),
3038
- icon: RootConfig.entities.appTerm.icon,
3039
- data: {
3040
- // requiredPermission: '',
3041
- },
3042
- },
3043
- {
3044
- priority: 9008,
3045
- text: RootConfig.entities.metaDataDefinition.title,
3046
- path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.metaDataDefinition.name),
3047
- icon: RootConfig.entities.metaDataDefinition.icon,
3048
- data: {
3049
- // requiredPermission: '',
3050
- },
3051
- },
3052
- {
3053
- priority: 9007,
3054
- text: RootConfig.entities.metaDataDefinitionCategory.title,
3055
- path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.metaDataDefinitionCategory.name),
3056
- icon: RootConfig.entities.metaDataDefinitionCategory.icon,
3057
- },
3058
1443
  ],
3059
1444
  },
3060
1445
  ]);
1446
+ //#endregion
3061
1447
  }
3062
1448
  }
3063
1449
 
@@ -3072,7 +1458,7 @@ function routesFactory() {
3072
1458
  children: [
3073
1459
  {
3074
1460
  path: '',
3075
- loadComponent: () => Promise.resolve().then(function () { return listTerms_component; }).then((c) => c.AXMListTermsComponent),
1461
+ loadComponent: () => import('./acorex-modules-platform-management-list-terms.component-B1gl5xfT.mjs').then((c) => c.AXMListTermsComponent),
3076
1462
  },
3077
1463
  ],
3078
1464
  },
@@ -3084,13 +1470,9 @@ class AXMPlatformManagementModule {
3084
1470
  * @ignore
3085
1471
  */
3086
1472
  constructor(appVersionCheck, appTermsCheck) { }
3087
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPlatformManagementModule, deps: [{ token: AppVersionCheckService }, { token: AppTermsCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
3088
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMUpdaterModule, i3$2.AXPWorkflowModule, i4$1.AXPComponentSlotModule] }); }
3089
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPlatformManagementModule, providers: [
3090
- {
3091
- provide: AXMGlossaryService,
3092
- useClass: AXMGlossaryServiceImpl,
3093
- },
1473
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, deps: [{ token: AppVersionCheckService }, { token: AppTermsCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
1474
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMUpdaterModule, i3$1.AXPWorkflowModule, i4$1.AXPComponentSlotModule] }); }
1475
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, providers: [
3094
1476
  {
3095
1477
  provide: ROUTES,
3096
1478
  multi: true,
@@ -3104,18 +1486,6 @@ class AXMPlatformManagementModule {
3104
1486
  provide: AXMAppVersionService,
3105
1487
  useClass: AXMAppVersionServiceImpl,
3106
1488
  },
3107
- {
3108
- provide: AXMAppTermService,
3109
- useClass: AXMAppTermServiceImpl,
3110
- },
3111
- {
3112
- provide: AXMMetaDataDefinitionService,
3113
- useClass: AXMPMetaDataDefinitionServiceImpl,
3114
- },
3115
- {
3116
- provide: AXMMetaDataDefinitionCategoryService,
3117
- useClass: AXMMetaDataDefinitionCategoryServiceImpl,
3118
- },
3119
1489
  {
3120
1490
  provide: AXP_ENTITY_DEFINITION_LOADER,
3121
1491
  useClass: AXMEntityLoader,
@@ -3179,7 +1549,7 @@ class AXMPlatformManagementModule {
3179
1549
  ],
3180
1550
  })] }); }
3181
1551
  }
3182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AXMPlatformManagementModule, decorators: [{
1552
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, decorators: [{
3183
1553
  type: NgModule,
3184
1554
  args: [{
3185
1555
  imports: [
@@ -3227,10 +1597,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
3227
1597
  exports: [],
3228
1598
  declarations: [],
3229
1599
  providers: [
3230
- {
3231
- provide: AXMGlossaryService,
3232
- useClass: AXMGlossaryServiceImpl,
3233
- },
3234
1600
  {
3235
1601
  provide: ROUTES,
3236
1602
  multi: true,
@@ -3244,18 +1610,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
3244
1610
  provide: AXMAppVersionService,
3245
1611
  useClass: AXMAppVersionServiceImpl,
3246
1612
  },
3247
- {
3248
- provide: AXMAppTermService,
3249
- useClass: AXMAppTermServiceImpl,
3250
- },
3251
- {
3252
- provide: AXMMetaDataDefinitionService,
3253
- useClass: AXMPMetaDataDefinitionServiceImpl,
3254
- },
3255
- {
3256
- provide: AXMMetaDataDefinitionCategoryService,
3257
- useClass: AXMMetaDataDefinitionCategoryServiceImpl,
3258
- },
3259
1613
  {
3260
1614
  provide: AXP_ENTITY_DEFINITION_LOADER,
3261
1615
  useClass: AXMEntityLoader,
@@ -3288,5 +1642,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImpor
3288
1642
  * Generated bundle index. Do not edit.
3289
1643
  */
3290
1644
 
3291
- export { AXMAppTermService, AXMAppTermServiceImpl, AXMAppVersionService, AXMAppVersionServiceImpl, AXMAppVersionSlotComponent, AXMChangeLogPopupAction, AXMChangeLogUpdateSettingAction, AXMCheckNewVersionAction, AXMCheckNewVersionWorkflow, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMGlossaryService, AXMGlossaryServiceImpl, AXMListTermsComponent, AXMMetaDataDefinitionCategoryService, AXMMetaDataDefinitionCategoryServiceImpl, AXMMetaDataDefinitionService, AXMNewTermWorkflow, AXMNotifyAppComponent, AXMNotifyNewTermPopupAction, AXMPMetaDataDefinitionServiceImpl, AXMPlatformManagementModule, AXMTermUpdateSettingAction, AXMWhatsNewWorkflow, RootConfig, appTermEntityEntityFactory, appVersionEntityEntityFactory, globalVariableEntityFactory, glossaryEntityFactory, metaDataDefinitionCategoryEntityFactory, metaDataDefinitionFactory };
1645
+ export { AXMAppVersionService, AXMAppVersionServiceImpl, AXMAppVersionSlotComponent, AXMChangeLogPopupAction, AXMChangeLogUpdateSettingAction, AXMCheckNewVersionAction, AXMCheckNewVersionWorkflow, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMNotifyAppComponent, AXMPlatformManagementModule, AXMWhatsNewWorkflow, RootConfig, appVersionEntityEntityFactory, globalVariableEntityFactory };
3292
1646
  //# sourceMappingURL=acorex-modules-platform-management.mjs.map