@acorex/modules 20.2.4-next.9 → 20.3.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/application-management/index.d.ts +49 -1
  2. package/calendar-management/index.d.ts +19 -1
  3. package/common/index.d.ts +50 -0
  4. package/contact-management/index.d.ts +40 -4
  5. package/content-management/index.d.ts +20 -2
  6. package/conversation/index.d.ts +34 -16
  7. package/dashboard-management/index.d.ts +11 -4
  8. package/data-management/index.d.ts +20 -2
  9. package/document-management/index.d.ts +36 -6
  10. package/fesm2022/acorex-modules-application-management.mjs +483 -286
  11. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  12. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BbO_ea5W.mjs → acorex-modules-auth-acorex-modules-auth-BTi7qTvr.mjs} +29 -12
  13. package/fesm2022/acorex-modules-auth-acorex-modules-auth-BTi7qTvr.mjs.map +1 -0
  14. package/fesm2022/{acorex-modules-auth-app-chooser.component-y0HLrwJM.mjs → acorex-modules-auth-app-chooser.component-s4LYKAc7.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-auth-app-chooser.component-y0HLrwJM.mjs.map → acorex-modules-auth-app-chooser.component-s4LYKAc7.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-auth-login.module-1U_5UgDs.mjs → acorex-modules-auth-login.module-DetWdAgo.mjs} +4 -4
  17. package/fesm2022/{acorex-modules-auth-login.module-1U_5UgDs.mjs.map → acorex-modules-auth-login.module-DetWdAgo.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-auth-master.layout-DGsAGhOH.mjs → acorex-modules-auth-master.layout-BJRB1Vns.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-auth-master.layout-DGsAGhOH.mjs.map → acorex-modules-auth-master.layout-BJRB1Vns.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-auth-oauth-callback.component-CPHBV5bA.mjs → acorex-modules-auth-oauth-callback.component-DKHJoF3X.mjs} +2 -2
  21. package/fesm2022/{acorex-modules-auth-oauth-callback.component-CPHBV5bA.mjs.map → acorex-modules-auth-oauth-callback.component-DKHJoF3X.mjs.map} +1 -1
  22. package/fesm2022/{acorex-modules-auth-password.component-CF3ReHyw.mjs → acorex-modules-auth-password.component-B_vA7-vu.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-auth-password.component-CF3ReHyw.mjs.map → acorex-modules-auth-password.component-B_vA7-vu.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-password.component-C85NgQxA.mjs → acorex-modules-auth-password.component-WUrm5Y6i.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-auth-password.component-C85NgQxA.mjs.map → acorex-modules-auth-password.component-WUrm5Y6i.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-auth-routes-BJh0Fwpy.mjs → acorex-modules-auth-routes-CYf17elA.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-auth-routes-BJh0Fwpy.mjs.map → acorex-modules-auth-routes-CYf17elA.mjs.map} +1 -1
  28. package/fesm2022/acorex-modules-auth-show-profile-command-DjvX7n9K.mjs +53 -0
  29. package/fesm2022/acorex-modules-auth-show-profile-command-DjvX7n9K.mjs.map +1 -0
  30. package/fesm2022/{acorex-modules-auth-two-factor.module-Bsh2_A5L.mjs → acorex-modules-auth-two-factor.module-CeJGeuid.mjs} +2 -2
  31. package/fesm2022/{acorex-modules-auth-two-factor.module-Bsh2_A5L.mjs.map → acorex-modules-auth-two-factor.module-CeJGeuid.mjs.map} +1 -1
  32. package/fesm2022/{acorex-modules-auth-user-sessions.component-ChMkstLg.mjs → acorex-modules-auth-user-sessions.component-D0jQEJcC.mjs} +2 -2
  33. package/fesm2022/{acorex-modules-auth-user-sessions.component-ChMkstLg.mjs.map → acorex-modules-auth-user-sessions.component-D0jQEJcC.mjs.map} +1 -1
  34. package/fesm2022/acorex-modules-auth.mjs +1 -1
  35. package/fesm2022/acorex-modules-calendar-management.mjs +92 -29
  36. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  37. package/fesm2022/{acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs → acorex-modules-common-manage-extra-properties.command-7prqQhV5.mjs} +15 -12
  38. package/fesm2022/acorex-modules-common-manage-extra-properties.command-7prqQhV5.mjs.map +1 -0
  39. package/fesm2022/acorex-modules-common.mjs +106 -8
  40. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  41. package/fesm2022/acorex-modules-contact-management.mjs +280 -122
  42. package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
  43. package/fesm2022/acorex-modules-content-management.mjs +555 -490
  44. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  45. package/fesm2022/acorex-modules-conversation.mjs +315 -252
  46. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  47. package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-DZBixdOT.mjs → acorex-modules-customer-management-acorex-modules-customer-management-BHs4rrB8.mjs} +12 -12
  48. package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-DZBixdOT.mjs.map → acorex-modules-customer-management-acorex-modules-customer-management-BHs4rrB8.mjs.map} +1 -1
  49. package/fesm2022/{acorex-modules-customer-management-activity.entity-By32mnXN.mjs → acorex-modules-customer-management-activity.entity-D_9Nut_6.mjs} +2 -2
  50. package/fesm2022/{acorex-modules-customer-management-activity.entity-By32mnXN.mjs.map → acorex-modules-customer-management-activity.entity-D_9Nut_6.mjs.map} +1 -1
  51. package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-CjFYqTMc.mjs → acorex-modules-customer-management-customer-segment.entity-swBR8-dJ.mjs} +2 -2
  52. package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-CjFYqTMc.mjs.map → acorex-modules-customer-management-customer-segment.entity-swBR8-dJ.mjs.map} +1 -1
  53. package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Bk_Ng_DS.mjs → acorex-modules-customer-management-customer-type.entity-GmfdE2Ex.mjs} +2 -2
  54. package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Bk_Ng_DS.mjs.map → acorex-modules-customer-management-customer-type.entity-GmfdE2Ex.mjs.map} +1 -1
  55. package/fesm2022/{acorex-modules-customer-management-customer.entity-rUNC9glL.mjs → acorex-modules-customer-management-customer.entity-Bld5nRai.mjs} +23 -23
  56. package/fesm2022/acorex-modules-customer-management-customer.entity-Bld5nRai.mjs.map +1 -0
  57. package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BWX44lzi.mjs → acorex-modules-customer-management-deal-contact-role.entity-Ci_ymO_w.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BWX44lzi.mjs.map → acorex-modules-customer-management-deal-contact-role.entity-Ci_ymO_w.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-customer-management-lead.entity-B3gv0YnT.mjs → acorex-modules-customer-management-lead.entity-BcQvYHnL.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-customer-management-lead.entity-B3gv0YnT.mjs.map → acorex-modules-customer-management-lead.entity-BcQvYHnL.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-cs1hb_Ro.mjs → acorex-modules-customer-management-lifecycle-stage.entity-DSZyAv5_.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-cs1hb_Ro.mjs.map → acorex-modules-customer-management-lifecycle-stage.entity-DSZyAv5_.mjs.map} +1 -1
  63. package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-C-opdmDW.mjs → acorex-modules-customer-management-opportunity-stage.entity-BpwLN_fw.mjs} +2 -2
  64. package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-C-opdmDW.mjs.map → acorex-modules-customer-management-opportunity-stage.entity-BpwLN_fw.mjs.map} +1 -1
  65. package/fesm2022/{acorex-modules-customer-management-opportunity.entity-D5n_4xgK.mjs → acorex-modules-customer-management-opportunity.entity-DaiL4951.mjs} +2 -2
  66. package/fesm2022/{acorex-modules-customer-management-opportunity.entity-D5n_4xgK.mjs.map → acorex-modules-customer-management-opportunity.entity-DaiL4951.mjs.map} +1 -1
  67. package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-AeLhcil2.mjs → acorex-modules-customer-management-sales-pipeline.entity-DP_w8V9E.mjs} +2 -2
  68. package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-AeLhcil2.mjs.map → acorex-modules-customer-management-sales-pipeline.entity-DP_w8V9E.mjs.map} +1 -1
  69. package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-uK9N7p_k.mjs → acorex-modules-customer-management-sales-territory.entity-BJNrmMO3.mjs} +2 -2
  70. package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-uK9N7p_k.mjs.map → acorex-modules-customer-management-sales-territory.entity-BJNrmMO3.mjs.map} +1 -1
  71. package/fesm2022/acorex-modules-customer-management.mjs +1 -1
  72. package/fesm2022/acorex-modules-dashboard-management.mjs +182 -54
  73. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  74. package/fesm2022/acorex-modules-data-management.mjs +93 -28
  75. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  76. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs → acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs} +1037 -926
  77. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs.map +1 -0
  78. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs → acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs} +2 -2
  79. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs.map → acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs.map} +1 -1
  80. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs → acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs} +2 -2
  81. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs.map → acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs.map} +1 -1
  82. package/fesm2022/{acorex-modules-document-management-details-view.component-D0JuVG8v.mjs → acorex-modules-document-management-details-view.component-BXUpaDZO.mjs} +2 -2
  83. package/fesm2022/{acorex-modules-document-management-details-view.component-D0JuVG8v.mjs.map → acorex-modules-document-management-details-view.component-BXUpaDZO.mjs.map} +1 -1
  84. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs → acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs} +2 -2
  85. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs.map → acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs.map} +1 -1
  86. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs → acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs} +2 -2
  87. package/fesm2022/{acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs.map → acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs.map} +1 -1
  88. package/fesm2022/{acorex-modules-document-management-drive.component-DGQD1adR.mjs → acorex-modules-document-management-drive.component-DfHDC5o7.mjs} +2 -2
  89. package/fesm2022/{acorex-modules-document-management-drive.component-DGQD1adR.mjs.map → acorex-modules-document-management-drive.component-DfHDC5o7.mjs.map} +1 -1
  90. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs → acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs} +2 -2
  91. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs.map → acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs.map} +1 -1
  92. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs → acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs} +2 -2
  93. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs.map → acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs.map} +1 -1
  94. package/fesm2022/{acorex-modules-document-management-list-view.component-DK6IZdC0.mjs → acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs} +2 -2
  95. package/fesm2022/{acorex-modules-document-management-list-view.component-DK6IZdC0.mjs.map → acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs.map} +1 -1
  96. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs → acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs} +2 -2
  97. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs.map → acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs.map} +1 -1
  98. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs → acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs} +2 -2
  99. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs.map → acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs.map} +1 -1
  100. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs → acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs} +2 -2
  101. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs.map → acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs.map} +1 -1
  102. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs → acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs} +2 -2
  103. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs.map → acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs.map} +1 -1
  104. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  105. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-BvDYd3fI.mjs → acorex-modules-help-desk-acorex-modules-help-desk-C4s1EVQy.mjs} +123 -49
  106. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-C4s1EVQy.mjs.map +1 -0
  107. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DH_FG8iE.mjs → acorex-modules-help-desk-capture-screen.component-BLZbJmw1.mjs} +2 -2
  108. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DH_FG8iE.mjs.map → acorex-modules-help-desk-capture-screen.component-BLZbJmw1.mjs.map} +1 -1
  109. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  110. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs +1519 -0
  111. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs.map +1 -0
  112. package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs → acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs} +17 -17
  113. package/fesm2022/acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs.map +1 -0
  114. package/fesm2022/{acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs → acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs} +37 -15
  115. package/fesm2022/acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs.map +1 -0
  116. package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs → acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs} +11 -10
  117. package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs.map +1 -0
  118. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs +267 -0
  119. package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs.map +1 -0
  120. package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs +95 -0
  121. package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs.map +1 -0
  122. package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs → acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs} +14 -14
  123. package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs.map +1 -0
  124. package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs → acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs} +10 -10
  125. package/fesm2022/acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs.map +1 -0
  126. package/fesm2022/{acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs → acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs} +8 -8
  127. package/fesm2022/acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs.map +1 -0
  128. package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
  129. package/fesm2022/acorex-modules-locale-management.mjs +120 -13
  130. package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
  131. package/fesm2022/acorex-modules-location-management.mjs +125 -57
  132. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  133. package/fesm2022/acorex-modules-log-management.mjs +440 -164
  134. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  135. package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-D-RQ-D3d.mjs +155 -0
  136. package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-D-RQ-D3d.mjs.map +1 -0
  137. package/fesm2022/acorex-modules-meeting-management.mjs +654 -620
  138. package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
  139. package/fesm2022/acorex-modules-notification-management.mjs +835 -795
  140. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  141. package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs → acorex-modules-party-management-acorex-modules-party-management-DzhGLAZb.mjs} +373 -230
  142. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-DzhGLAZb.mjs.map +1 -0
  143. package/fesm2022/{acorex-modules-party-management-industry.entity-CoMI4imz.mjs → acorex-modules-party-management-industry.entity-sLrAmADa.mjs} +2 -2
  144. package/fesm2022/{acorex-modules-party-management-industry.entity-CoMI4imz.mjs.map → acorex-modules-party-management-industry.entity-sLrAmADa.mjs.map} +1 -1
  145. package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs → acorex-modules-party-management-party-identifier-type.entity-WL-tJlK7.mjs} +2 -2
  146. package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs.map → acorex-modules-party-management-party-identifier-type.entity-WL-tJlK7.mjs.map} +1 -1
  147. package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs → acorex-modules-party-management-party-identifier.entity-BGJdllN8.mjs} +2 -2
  148. package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs.map → acorex-modules-party-management-party-identifier.entity-BGJdllN8.mjs.map} +1 -1
  149. package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs → acorex-modules-party-management-party-relationship.entity-Bhqgy4-Y.mjs} +2 -2
  150. package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs.map → acorex-modules-party-management-party-relationship.entity-Bhqgy4-Y.mjs.map} +1 -1
  151. package/fesm2022/{acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs → acorex-modules-party-management-party-role.entity-BpPCL3GG.mjs} +2 -2
  152. package/fesm2022/{acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs.map → acorex-modules-party-management-party-role.entity-BpPCL3GG.mjs.map} +1 -1
  153. package/fesm2022/{acorex-modules-party-management-party.entity-Cwd9EqB4.mjs → acorex-modules-party-management-party.entity-v-YrPNOP.mjs} +2 -2
  154. package/fesm2022/{acorex-modules-party-management-party.entity-Cwd9EqB4.mjs.map → acorex-modules-party-management-party.entity-v-YrPNOP.mjs.map} +1 -1
  155. package/fesm2022/acorex-modules-party-management.mjs +1 -1
  156. package/fesm2022/acorex-modules-platform-management.mjs +444 -397
  157. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  158. package/fesm2022/acorex-modules-project-management-email-jsa.command-DC3Zbfdn.mjs +115 -0
  159. package/fesm2022/acorex-modules-project-management-email-jsa.command-DC3Zbfdn.mjs.map +1 -0
  160. package/fesm2022/acorex-modules-project-management-reassign-jsa.command-CJKR5FZw.mjs +113 -0
  161. package/fesm2022/acorex-modules-project-management-reassign-jsa.command-CJKR5FZw.mjs.map +1 -0
  162. package/fesm2022/acorex-modules-project-management-setup-jsa.command-Cztc8TDy.mjs +94 -0
  163. package/fesm2022/acorex-modules-project-management-setup-jsa.command-Cztc8TDy.mjs.map +1 -0
  164. package/fesm2022/acorex-modules-project-management-sign-jsa.command-b28tr2kE.mjs +77 -0
  165. package/fesm2022/acorex-modules-project-management-sign-jsa.command-b28tr2kE.mjs.map +1 -0
  166. package/fesm2022/acorex-modules-project-management.mjs +1416 -279
  167. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  168. package/fesm2022/acorex-modules-report-management.mjs +83 -15
  169. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  170. package/fesm2022/acorex-modules-security-management.mjs +4 -1
  171. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  172. package/fesm2022/{acorex-modules-task-management-task-board.page-Je2Y8X62.mjs → acorex-modules-task-management-task-board.page-CaypEYjP.mjs} +3 -1
  173. package/fesm2022/{acorex-modules-task-management-task-board.page-Je2Y8X62.mjs.map → acorex-modules-task-management-task-board.page-CaypEYjP.mjs.map} +1 -1
  174. package/fesm2022/acorex-modules-task-management.mjs +3254 -3069
  175. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  176. package/fesm2022/acorex-modules-training-management.mjs +1 -1
  177. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  178. package/help-desk/index.d.ts +32 -14
  179. package/human-capital-management/index.d.ts +150 -2
  180. package/locale-management/index.d.ts +27 -3
  181. package/location-management/index.d.ts +20 -2
  182. package/log-management/index.d.ts +8 -1
  183. package/meeting-management/index.d.ts +47 -20
  184. package/notification-management/index.d.ts +48 -36
  185. package/package.json +5 -5
  186. package/party-management/index.d.ts +43 -1
  187. package/platform-management/index.d.ts +33 -21
  188. package/project-management/index.d.ts +156 -3
  189. package/report-management/index.d.ts +14 -2
  190. package/task-management/index.d.ts +56 -2
  191. package/fesm2022/acorex-modules-auth-acorex-modules-auth-BbO_ea5W.mjs.map +0 -1
  192. package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs.map +0 -1
  193. package/fesm2022/acorex-modules-customer-management-customer.entity-rUNC9glL.mjs.map +0 -1
  194. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs.map +0 -1
  195. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-BvDYd3fI.mjs.map +0 -1
  196. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs +0 -723
  197. package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs.map +0 -1
  198. package/fesm2022/acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs.map +0 -1
  199. package/fesm2022/acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs.map +0 -1
  200. package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs.map +0 -1
  201. package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs.map +0 -1
  202. package/fesm2022/acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs.map +0 -1
  203. package/fesm2022/acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs.map +0 -1
  204. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs.map +0 -1
@@ -1,11 +1,11 @@
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';
1
+ import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView, 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 i3 from '@acorex/platform/layout/components';
3
3
  import { AXPComponentSlotModule } from '@acorex/platform/layout/components';
4
4
  import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
5
5
  import * as i2$2 from '@acorex/platform/workflow';
6
6
  import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
7
7
  import * as i0 from '@angular/core';
8
- import { Injectable, inject, Component, Input, Injector, NgModule } from '@angular/core';
8
+ import { Injectable, inject, Component, Input, NgModule, Injector } from '@angular/core';
9
9
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
10
10
  import * as i4 from '@acorex/components/button';
11
11
  import { AXButtonModule } from '@acorex/components/button';
@@ -59,46 +59,42 @@ const RootConfig = {
59
59
  },
60
60
  };
61
61
 
62
- class AXMAppVersionService extends AXMEntityCrudServiceImpl {
62
+ class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl {
63
63
  }
64
- class AXMAppVersionServiceImpl extends AXMEntityCrudServiceImpl {
64
+ class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl {
65
65
  constructor() {
66
- super(`${RootConfig.module.name}.${RootConfig.entities.appVersion.name}`);
66
+ super(`${RootConfig.module.name}.${RootConfig.entities.globalVariable.name}`);
67
67
  }
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
69
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl }); }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
69
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl }); }
70
70
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl, decorators: [{
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, decorators: [{
72
72
  type: Injectable
73
73
  }], ctorParameters: () => [] });
74
74
 
75
- async function appVersionEntityEntityFactory(injector) {
76
- const dataService = injector.get(AXMAppVersionService);
75
+ async function globalVariableEntityFactory(injector) {
76
+ const dataService = injector.get(AXMGlobalVariablesService);
77
77
  const i18n = RootConfig.config.i18n;
78
78
  const entityDef = {
79
79
  module: RootConfig.module.name,
80
- name: RootConfig.entities.appVersion.name,
80
+ name: RootConfig.entities.globalVariable.name,
81
81
  source: '',
82
- title: RootConfig.entities.appVersion.title,
82
+ title: RootConfig.entities.globalVariable.title,
83
83
  formats: {
84
- individual: RootConfig.entities.appVersion.title,
85
- plural: RootConfig.entities.appVersion.title,
86
- searchResult: {
87
- title: '{{ versionNumber }}',
88
- description: RootConfig.module.title,
89
- },
84
+ individual: 'Global Variable',
85
+ plural: 'Global Variables',
90
86
  },
91
87
  relatedEntities: [],
92
88
  groups: [
93
89
  {
94
90
  id: 'section',
95
- title: RootConfig.entities.appVersion.title,
91
+ title: 'Global Variable',
96
92
  },
97
93
  ],
98
94
  properties: [
99
95
  {
100
- name: 'versionNumber',
101
- title: `t("versionNumber", { scope: "${i18n}" })`,
96
+ name: 'name',
97
+ title: `t("name", { scope: "common" })`,
102
98
  groupId: 'section',
103
99
  schema: {
104
100
  dataType: 'string',
@@ -106,11 +102,13 @@ async function appVersionEntityEntityFactory(injector) {
106
102
  type: AXPWidgetsCatalog.text,
107
103
  },
108
104
  },
105
+ validations: [
106
+ {
107
+ rule: 'required',
108
+ },
109
+ ],
109
110
  options: {
110
111
  filter: {
111
- advance: {
112
- enabled: true,
113
- },
114
112
  inline: {
115
113
  enabled: true,
116
114
  },
@@ -119,25 +117,41 @@ async function appVersionEntityEntityFactory(injector) {
119
117
  enabled: true,
120
118
  },
121
119
  },
120
+ },
121
+ {
122
+ name: 'title',
123
+ title: `t("title", { scope: "common" })`,
124
+ groupId: 'section',
125
+ schema: {
126
+ dataType: 'string',
127
+ interface: {
128
+ type: AXPWidgetsCatalog.text,
129
+ },
130
+ },
122
131
  validations: [
123
132
  {
124
133
  rule: 'required',
125
134
  },
126
135
  ],
136
+ options: {
137
+ filter: {
138
+ inline: {
139
+ enabled: true,
140
+ },
141
+ },
142
+ sort: {
143
+ enabled: true,
144
+ },
145
+ },
127
146
  },
128
147
  {
129
- name: 'changeLog',
130
- title: `t("changeLogs", { scope: "${i18n}" })`,
148
+ name: 'value',
149
+ title: `t("value", { scope: "${i18n}" })`,
131
150
  groupId: 'section',
132
151
  schema: {
133
152
  dataType: 'string',
134
153
  interface: {
135
- type: AXPWidgetsCatalog.richText,
136
- options: {
137
- minLineCount: 5,
138
- maxLineCount: 17,
139
- isFitLine: true,
140
- },
154
+ type: AXPWidgetsCatalog.text,
141
155
  },
142
156
  },
143
157
  validations: [
@@ -147,15 +161,34 @@ async function appVersionEntityEntityFactory(injector) {
147
161
  ],
148
162
  },
149
163
  {
150
- name: 'publishDate',
151
- title: `t("publishDate", { scope: "${i18n}" })`,
164
+ name: 'dataType',
165
+ title: `t("dataType", { scope: "${i18n}" })`,
152
166
  groupId: 'section',
153
167
  schema: {
154
- dataType: 'dateTime',
168
+ dataType: 'string',
155
169
  interface: {
156
- type: AXPWidgetsCatalog.dateTime,
170
+ type: AXPWidgetsCatalog.select,
171
+ options: {
172
+ valueField: 'name',
173
+ textField: 'title',
174
+ dataSource: [
175
+ { title: 'String', name: 'String' },
176
+ { title: 'Integer', name: 'integer' },
177
+ { title: 'Date Time', name: 'dateTime' },
178
+ { title: 'Boolean', name: 'boolean' },
179
+ { title: 'Function', name: 'function' },
180
+ { title: 'Custom', name: 'custom' },
181
+ ],
182
+ direction: 'horizontal',
183
+ multiple: false,
184
+ },
157
185
  },
158
186
  },
187
+ validations: [
188
+ {
189
+ rule: 'required',
190
+ },
191
+ ],
159
192
  options: {
160
193
  filter: {
161
194
  advance: {
@@ -166,30 +199,9 @@ async function appVersionEntityEntityFactory(injector) {
166
199
  enabled: true,
167
200
  },
168
201
  },
169
- validations: [
170
- {
171
- rule: 'required',
172
- },
173
- ],
174
- },
175
- {
176
- name: 'showFirstTimePopup',
177
- title: `t("notifyUser", { scope: "${i18n}" })`,
178
- groupId: 'section',
179
- schema: {
180
- dataType: 'boolean',
181
- interface: {
182
- type: AXPWidgetsCatalog.checkbox,
183
- },
184
- },
185
202
  },
186
203
  ],
187
- columns: [
188
- { name: 'versionNumber' },
189
- { name: 'changeLog' },
190
- { name: 'publishDate' },
191
- { name: 'showFirstTimePopup' },
192
- ],
204
+ columns: [{ name: 'title' }, { name: 'dataType' }, { name: 'value' }],
193
205
  commands: {
194
206
  create: {
195
207
  execute: async (data) => {
@@ -227,8 +239,8 @@ async function appVersionEntityEntityFactory(injector) {
227
239
  },
228
240
  list: {
229
241
  execute: async (e) => {
230
- console.log(e);
231
242
  const x = await dataService.query(e);
243
+ console.log(x);
232
244
  return x;
233
245
  },
234
246
  type: AXPEntityQueryType.List,
@@ -244,45 +256,41 @@ async function appVersionEntityEntityFactory(injector) {
244
256
  ],
245
257
  properties: [
246
258
  {
247
- name: 'versionNumber',
259
+ name: 'title',
248
260
  layout: {
249
261
  positions: {
250
262
  lg: {
251
- order: 1,
252
- colSpan: 4,
263
+ colSpan: 6,
253
264
  },
254
265
  },
255
266
  },
256
267
  },
257
268
  {
258
- name: 'publishDate',
269
+ name: 'name',
259
270
  layout: {
260
271
  positions: {
261
272
  lg: {
262
- order: 2,
263
- colSpan: 4,
273
+ colSpan: 6,
264
274
  },
265
275
  },
266
276
  },
267
277
  },
268
278
  {
269
- name: 'showFirstTimePopup',
279
+ name: 'value',
270
280
  layout: {
271
281
  positions: {
272
282
  lg: {
273
- colSpan: 4,
274
- order: 3,
283
+ colSpan: 6,
275
284
  },
276
285
  },
277
286
  },
278
287
  },
279
288
  {
280
- name: 'changeLog',
289
+ name: 'dataType',
281
290
  layout: {
282
291
  positions: {
283
292
  lg: {
284
- order: 10,
285
- colSpan: 12,
293
+ colSpan: 6,
286
294
  },
287
295
  },
288
296
  },
@@ -297,45 +305,41 @@ async function appVersionEntityEntityFactory(injector) {
297
305
  ],
298
306
  properties: [
299
307
  {
300
- name: 'versionNumber',
308
+ name: 'title',
301
309
  layout: {
302
310
  positions: {
303
311
  lg: {
304
- colSpan: 4,
305
- order: 1,
312
+ colSpan: 6,
306
313
  },
307
314
  },
308
315
  },
309
316
  },
310
317
  {
311
- name: 'publishDate',
318
+ name: 'name',
312
319
  layout: {
313
320
  positions: {
314
321
  lg: {
315
- colSpan: 4,
316
- order: 2,
322
+ colSpan: 6,
317
323
  },
318
324
  },
319
325
  },
320
326
  },
321
327
  {
322
- name: 'showFirstTimePopup',
328
+ name: 'value',
323
329
  layout: {
324
330
  positions: {
325
331
  lg: {
326
- colSpan: 4,
327
- order: 3,
332
+ colSpan: 6,
328
333
  },
329
334
  },
330
335
  },
331
336
  },
332
337
  {
333
- name: 'changeLog',
338
+ name: 'dataType',
334
339
  layout: {
335
340
  positions: {
336
341
  lg: {
337
- colSpan: 12,
338
- order: 4,
342
+ colSpan: 6,
339
343
  },
340
344
  },
341
345
  },
@@ -343,7 +347,7 @@ async function appVersionEntityEntityFactory(injector) {
343
347
  ],
344
348
  },
345
349
  single: {
346
- title: '{{versionNumber}}',
350
+ title: '{{title}}',
347
351
  sections: [
348
352
  {
349
353
  id: 'section',
@@ -351,41 +355,41 @@ async function appVersionEntityEntityFactory(injector) {
351
355
  ],
352
356
  properties: [
353
357
  {
354
- name: 'versionNumber',
358
+ name: 'title',
355
359
  layout: {
356
360
  positions: {
357
361
  lg: {
358
- colSpan: 4,
362
+ colSpan: 6,
359
363
  },
360
364
  },
361
365
  },
362
366
  },
363
367
  {
364
- name: 'publishDate',
368
+ name: 'name',
365
369
  layout: {
366
370
  positions: {
367
371
  lg: {
368
- colSpan: 4,
372
+ colSpan: 6,
369
373
  },
370
374
  },
371
375
  },
372
376
  },
373
377
  {
374
- name: 'showFirstTimePopup',
378
+ name: 'value',
375
379
  layout: {
376
380
  positions: {
377
381
  lg: {
378
- colSpan: 4,
382
+ colSpan: 6,
379
383
  },
380
384
  },
381
385
  },
382
386
  },
383
387
  {
384
- name: 'changeLog',
388
+ name: 'dataType',
385
389
  layout: {
386
390
  positions: {
387
391
  lg: {
388
- colSpan: 8,
392
+ colSpan: 6,
389
393
  },
390
394
  },
391
395
  },
@@ -396,35 +400,44 @@ async function appVersionEntityEntityFactory(injector) {
396
400
  list: {
397
401
  actions: [
398
402
  {
399
- title: 'Create New',
403
+ title: `t("create", { scope: "common" })`,
400
404
  command: 'create-entity',
401
405
  priority: 'primary',
402
406
  type: 'create',
403
407
  scope: AXPEntityCommandScope.TypeLevel,
404
408
  },
405
409
  {
406
- title: 'Delete Items',
410
+ title: 't("deleteItems", { scope: "common" })',
407
411
  command: 'delete-entity',
408
412
  priority: 'primary',
409
413
  type: 'delete',
410
414
  scope: AXPEntityCommandScope.Selected,
411
415
  },
412
416
  {
413
- title: 'Details',
417
+ title: 't("deleteItems", { scope: "common" })',
414
418
  command: 'open-entity',
415
419
  priority: 'secondary',
416
420
  type: 'view',
417
421
  scope: AXPEntityCommandScope.Individual,
418
422
  },
419
423
  {
420
- title: 'Delete',
424
+ title: 't("delete", { scope: "common" })',
421
425
  command: 'delete-entity',
422
426
  priority: 'secondary',
423
427
  type: 'delete',
424
428
  scope: AXPEntityCommandScope.Individual,
425
429
  },
426
430
  ],
427
- views: [createAllQueryView({ sorts: [{ name: 'versionNumber', dir: 'desc' }] })],
431
+ views: [
432
+ {
433
+ name: 'all',
434
+ title: 't("allItem", { scope: "common" })',
435
+ fixed: true,
436
+ columns: [],
437
+ conditions: [],
438
+ sorts: [],
439
+ },
440
+ ],
428
441
  },
429
442
  },
430
443
  },
@@ -432,216 +445,46 @@ async function appVersionEntityEntityFactory(injector) {
432
445
  return entityDef;
433
446
  }
434
447
 
435
- class AXMNotifyAppComponent extends AXBasePageComponent {
436
- constructor() {
437
- super(...arguments);
438
- this.isShowAgain = true;
439
- this.sanitize = inject(DomSanitizer);
440
- }
441
- ngOnInit() {
442
- super.ngOnInit();
443
- this.safeData = this.sanitize.bypassSecurityTrustHtml(this.data.changeLog);
444
- }
445
- send() {
446
- this.close({ data: this.data, isShowAgain: !this.isShowAgain });
447
- }
448
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
449
- 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", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: 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" }] }); }
448
+ class AXMAppVersionService extends AXMEntityCrudServiceImpl {
450
449
  }
451
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppComponent, decorators: [{
452
- type: Component,
453
- 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" }]
454
- }] });
455
-
456
- var notifyApp_component = /*#__PURE__*/Object.freeze({
457
- __proto__: null,
458
- AXMNotifyAppComponent: AXMNotifyAppComponent
459
- });
460
-
461
- class AXMAppVersionSlotComponent {
450
+ class AXMAppVersionServiceImpl extends AXMEntityCrudServiceImpl {
462
451
  constructor() {
463
- this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
464
- this.workflowService = inject(AXPWorkflowService);
465
- this.versionNumber = '';
466
- }
467
- async ngOnInit() {
468
- this.versionNumber = (await this.versionProvider.provider()).version;
469
- }
470
- openPopup() {
471
- this.workflowService.execute('show-release-notes');
452
+ super(`${RootConfig.module.name}.${RootConfig.entities.appVersion.name}`);
472
453
  }
473
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
474
- 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 }); }
454
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
455
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl }); }
475
456
  }
476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionSlotComponent, decorators: [{
477
- type: Component,
478
- args: [{
479
- template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `,
480
- standalone: true,
481
- }]
482
- }], propDecorators: { text: [{
483
- type: Input
484
- }] } });
485
-
486
- class AppVersionCheckService {
487
- constructor() {
488
- this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
489
- this.settingsService = inject(AXPSettingService);
490
- this.workflowService = inject(AXPWorkflowService);
491
- this.appVersionService = inject(AXMAppVersionService);
492
- }
493
- async checkVersion() {
494
- const current = (await this.versionProvider.provider()).version;
495
- const initVersion = await this.settingsService.scope(AXPPlatformScope.User).get(`init-application-version`);
496
- if (initVersion == null) {
497
- await this.settingsService.scope(AXPPlatformScope.User).set(`init-application-version`, current);
498
- }
499
- else {
500
- const versions = await this.appVersionService.query();
501
- for (const v of versions.items) {
502
- if (v.versionNumber == current && v.versionNumber != initVersion) {
503
- const isSee = await this.settingsService
504
- .scope(AXPPlatformScope.User)
505
- .get(`is-see-check-version-${v.versionNumber}`);
506
- if (!isSee) {
507
- setTimeout(() => {
508
- this.workflowService.execute('show-what-is-new', v);
509
- }, 300);
510
- }
511
- }
512
- }
513
- }
514
- }
515
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
516
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService }); }
517
- }
518
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService, decorators: [{
519
- type: Injectable
520
- }] });
521
-
522
- class AXMChangeLogPopupAction extends AXPWorkflowAction {
523
- constructor() {
524
- super(...arguments);
525
- this.popupService = inject(AXPopupService);
526
- }
527
- async execute(context) {
528
- const data = context.getVariable();
529
- const comp = (await Promise.resolve().then(function () { return notifyApp_component; })).AXMNotifyAppComponent;
530
- const result = await this.popupService.open(comp, {
531
- title: `New Features in Version ${data.versionNumber}`,
532
- data: { data },
533
- });
534
- if (result.data?.isShowAgain) {
535
- context.setOutput('result', false);
536
- }
537
- else {
538
- context.setOutput('result', true);
539
- }
540
- }
541
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
542
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction }); }
543
- }
544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction, decorators: [{
545
- type: Injectable
546
- }] });
547
- class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
548
- constructor() {
549
- super(...arguments);
550
- this.settingService = inject(AXPSettingService);
551
- }
552
- async execute(context) {
553
- const data = context.getVariable();
554
- if (context.getOutput('result')) {
555
- await this.settingService.scope(AXPPlatformScope.User).set(`is-see-check-version-${data.versionNumber}`, true);
556
- }
557
- }
558
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
559
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction }); }
560
- }
561
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, decorators: [{
562
- type: Injectable
563
- }] });
564
- const AXMWhatsNewWorkflow = {
565
- startStepId: 'show-popup',
566
- steps: {
567
- 'show-popup': {
568
- action: 'AXMChangeLogPopupAction',
569
- nextSteps: [
570
- {
571
- conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
572
- nextStepId: 'first-time-add-to-setting',
573
- },
574
- ],
575
- },
576
- 'first-time-add-to-setting': {
577
- action: 'AXMChangeLogUpdateSettingAction',
578
- },
579
- },
580
- };
581
- class AXMCheckNewVersionAction extends AXPWorkflowAction {
582
- constructor() {
583
- super(...arguments);
584
- this.appVersionCheckService = inject(AppVersionCheckService);
585
- this.settingService = inject(AXPSettingService);
586
- }
587
- async execute(context) {
588
- const shouldShow = await this.settingService.scope(AXPPlatformScope.User).get(`general:startup:release-notes`);
589
- if (shouldShow == false) {
590
- return;
591
- }
592
- await this.appVersionCheckService.checkVersion();
593
- }
594
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
595
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction }); }
596
- }
597
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction, decorators: [{
598
- type: Injectable
599
- }] });
600
- const AXMCheckNewVersionWorkflow = {
601
- startStepId: 'check-new-version',
602
- steps: {
603
- 'check-new-version': {
604
- action: 'AXMCheckNewVersionAction',
605
- },
606
- },
607
- };
608
-
609
- class AXMGlobalVariablesService extends AXMEntityCrudServiceImpl {
610
- }
611
- class AXMGlobalVariablesServiceImpl extends AXMEntityCrudServiceImpl {
612
- constructor() {
613
- super(`${RootConfig.module.name}.${RootConfig.entities.globalVariable.name}`);
614
- }
615
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
616
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl }); }
617
- }
618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariablesServiceImpl, decorators: [{
457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionServiceImpl, decorators: [{
619
458
  type: Injectable
620
459
  }], ctorParameters: () => [] });
621
460
 
622
- async function globalVariableEntityFactory(injector) {
623
- const dataService = injector.get(AXMGlobalVariablesService);
461
+ async function appVersionEntityEntityFactory(injector) {
462
+ const dataService = injector.get(AXMAppVersionService);
624
463
  const i18n = RootConfig.config.i18n;
625
464
  const entityDef = {
626
465
  module: RootConfig.module.name,
627
- name: RootConfig.entities.globalVariable.name,
466
+ name: RootConfig.entities.appVersion.name,
628
467
  source: '',
629
- title: RootConfig.entities.globalVariable.title,
468
+ title: RootConfig.entities.appVersion.title,
630
469
  formats: {
631
- individual: 'Global Variable',
632
- plural: 'Global Variables',
470
+ individual: RootConfig.entities.appVersion.title,
471
+ plural: RootConfig.entities.appVersion.title,
472
+ searchResult: {
473
+ title: '{{ versionNumber }}',
474
+ description: RootConfig.module.title,
475
+ },
633
476
  },
634
477
  relatedEntities: [],
635
478
  groups: [
636
479
  {
637
480
  id: 'section',
638
- title: 'Global Variable',
481
+ title: RootConfig.entities.appVersion.title,
639
482
  },
640
483
  ],
641
484
  properties: [
642
485
  {
643
- name: 'name',
644
- title: `t("name", { scope: "common" })`,
486
+ name: 'versionNumber',
487
+ title: `t("versionNumber", { scope: "${i18n}" })`,
645
488
  groupId: 'section',
646
489
  schema: {
647
490
  dataType: 'string',
@@ -649,13 +492,11 @@ async function globalVariableEntityFactory(injector) {
649
492
  type: AXPWidgetsCatalog.text,
650
493
  },
651
494
  },
652
- validations: [
653
- {
654
- rule: 'required',
655
- },
656
- ],
657
495
  options: {
658
496
  filter: {
497
+ advance: {
498
+ enabled: true,
499
+ },
659
500
  inline: {
660
501
  enabled: true,
661
502
  },
@@ -664,41 +505,25 @@ async function globalVariableEntityFactory(injector) {
664
505
  enabled: true,
665
506
  },
666
507
  },
667
- },
668
- {
669
- name: 'title',
670
- title: `t("title", { scope: "common" })`,
671
- groupId: 'section',
672
- schema: {
673
- dataType: 'string',
674
- interface: {
675
- type: AXPWidgetsCatalog.text,
676
- },
677
- },
678
508
  validations: [
679
509
  {
680
510
  rule: 'required',
681
511
  },
682
512
  ],
683
- options: {
684
- filter: {
685
- inline: {
686
- enabled: true,
687
- },
688
- },
689
- sort: {
690
- enabled: true,
691
- },
692
- },
693
513
  },
694
514
  {
695
- name: 'value',
696
- title: `t("value", { scope: "${i18n}" })`,
515
+ name: 'changeLog',
516
+ title: `t("changeLogs", { scope: "${i18n}" })`,
697
517
  groupId: 'section',
698
518
  schema: {
699
519
  dataType: 'string',
700
520
  interface: {
701
- type: AXPWidgetsCatalog.text,
521
+ type: AXPWidgetsCatalog.richText,
522
+ options: {
523
+ minLineCount: 5,
524
+ maxLineCount: 17,
525
+ isFitLine: true,
526
+ },
702
527
  },
703
528
  },
704
529
  validations: [
@@ -708,34 +533,15 @@ async function globalVariableEntityFactory(injector) {
708
533
  ],
709
534
  },
710
535
  {
711
- name: 'dataType',
712
- title: `t("dataType", { scope: "${i18n}" })`,
536
+ name: 'publishDate',
537
+ title: `t("publishDate", { scope: "${i18n}" })`,
713
538
  groupId: 'section',
714
539
  schema: {
715
- dataType: 'string',
540
+ dataType: 'dateTime',
716
541
  interface: {
717
- type: AXPWidgetsCatalog.select,
718
- options: {
719
- valueField: 'name',
720
- textField: 'title',
721
- dataSource: [
722
- { title: 'String', name: 'String' },
723
- { title: 'Integer', name: 'integer' },
724
- { title: 'Date Time', name: 'dateTime' },
725
- { title: 'Boolean', name: 'boolean' },
726
- { title: 'Function', name: 'function' },
727
- { title: 'Custom', name: 'custom' },
728
- ],
729
- direction: 'horizontal',
730
- multiple: false,
731
- },
542
+ type: AXPWidgetsCatalog.dateTime,
732
543
  },
733
544
  },
734
- validations: [
735
- {
736
- rule: 'required',
737
- },
738
- ],
739
545
  options: {
740
546
  filter: {
741
547
  advance: {
@@ -746,9 +552,30 @@ async function globalVariableEntityFactory(injector) {
746
552
  enabled: true,
747
553
  },
748
554
  },
555
+ validations: [
556
+ {
557
+ rule: 'required',
558
+ },
559
+ ],
560
+ },
561
+ {
562
+ name: 'showFirstTimePopup',
563
+ title: `t("notifyUser", { scope: "${i18n}" })`,
564
+ groupId: 'section',
565
+ schema: {
566
+ dataType: 'boolean',
567
+ interface: {
568
+ type: AXPWidgetsCatalog.checkbox,
569
+ },
570
+ },
749
571
  },
750
572
  ],
751
- columns: [{ name: 'title' }, { name: 'dataType' }, { name: 'value' }],
573
+ columns: [
574
+ { name: 'versionNumber' },
575
+ { name: 'changeLog' },
576
+ { name: 'publishDate' },
577
+ { name: 'showFirstTimePopup' },
578
+ ],
752
579
  commands: {
753
580
  create: {
754
581
  execute: async (data) => {
@@ -786,8 +613,8 @@ async function globalVariableEntityFactory(injector) {
786
613
  },
787
614
  list: {
788
615
  execute: async (e) => {
616
+ console.log(e);
789
617
  const x = await dataService.query(e);
790
- console.log(x);
791
618
  return x;
792
619
  },
793
620
  type: AXPEntityQueryType.List,
@@ -803,41 +630,45 @@ async function globalVariableEntityFactory(injector) {
803
630
  ],
804
631
  properties: [
805
632
  {
806
- name: 'title',
633
+ name: 'versionNumber',
807
634
  layout: {
808
635
  positions: {
809
636
  lg: {
810
- colSpan: 6,
637
+ order: 1,
638
+ colSpan: 4,
811
639
  },
812
640
  },
813
641
  },
814
642
  },
815
643
  {
816
- name: 'name',
644
+ name: 'publishDate',
817
645
  layout: {
818
646
  positions: {
819
647
  lg: {
820
- colSpan: 6,
648
+ order: 2,
649
+ colSpan: 4,
821
650
  },
822
651
  },
823
652
  },
824
653
  },
825
654
  {
826
- name: 'value',
655
+ name: 'showFirstTimePopup',
827
656
  layout: {
828
657
  positions: {
829
658
  lg: {
830
- colSpan: 6,
659
+ colSpan: 4,
660
+ order: 3,
831
661
  },
832
662
  },
833
663
  },
834
664
  },
835
665
  {
836
- name: 'dataType',
666
+ name: 'changeLog',
837
667
  layout: {
838
668
  positions: {
839
669
  lg: {
840
- colSpan: 6,
670
+ order: 10,
671
+ colSpan: 12,
841
672
  },
842
673
  },
843
674
  },
@@ -852,41 +683,45 @@ async function globalVariableEntityFactory(injector) {
852
683
  ],
853
684
  properties: [
854
685
  {
855
- name: 'title',
686
+ name: 'versionNumber',
856
687
  layout: {
857
688
  positions: {
858
689
  lg: {
859
- colSpan: 6,
690
+ colSpan: 4,
691
+ order: 1,
860
692
  },
861
693
  },
862
694
  },
863
695
  },
864
696
  {
865
- name: 'name',
697
+ name: 'publishDate',
866
698
  layout: {
867
699
  positions: {
868
700
  lg: {
869
- colSpan: 6,
701
+ colSpan: 4,
702
+ order: 2,
870
703
  },
871
704
  },
872
705
  },
873
706
  },
874
707
  {
875
- name: 'value',
708
+ name: 'showFirstTimePopup',
876
709
  layout: {
877
710
  positions: {
878
711
  lg: {
879
- colSpan: 6,
712
+ colSpan: 4,
713
+ order: 3,
880
714
  },
881
715
  },
882
716
  },
883
717
  },
884
718
  {
885
- name: 'dataType',
719
+ name: 'changeLog',
886
720
  layout: {
887
721
  positions: {
888
722
  lg: {
889
- colSpan: 6,
723
+ colSpan: 12,
724
+ order: 4,
890
725
  },
891
726
  },
892
727
  },
@@ -894,7 +729,7 @@ async function globalVariableEntityFactory(injector) {
894
729
  ],
895
730
  },
896
731
  single: {
897
- title: '{{title}}',
732
+ title: '{{versionNumber}}',
898
733
  sections: [
899
734
  {
900
735
  id: 'section',
@@ -902,41 +737,41 @@ async function globalVariableEntityFactory(injector) {
902
737
  ],
903
738
  properties: [
904
739
  {
905
- name: 'title',
740
+ name: 'versionNumber',
906
741
  layout: {
907
742
  positions: {
908
743
  lg: {
909
- colSpan: 6,
744
+ colSpan: 4,
910
745
  },
911
746
  },
912
747
  },
913
748
  },
914
749
  {
915
- name: 'name',
750
+ name: 'publishDate',
916
751
  layout: {
917
752
  positions: {
918
753
  lg: {
919
- colSpan: 6,
754
+ colSpan: 4,
920
755
  },
921
756
  },
922
757
  },
923
758
  },
924
759
  {
925
- name: 'value',
760
+ name: 'showFirstTimePopup',
926
761
  layout: {
927
762
  positions: {
928
763
  lg: {
929
- colSpan: 6,
764
+ colSpan: 4,
930
765
  },
931
766
  },
932
767
  },
933
768
  },
934
769
  {
935
- name: 'dataType',
770
+ name: 'changeLog',
936
771
  layout: {
937
772
  positions: {
938
773
  lg: {
939
- colSpan: 6,
774
+ colSpan: 8,
940
775
  },
941
776
  },
942
777
  },
@@ -947,44 +782,35 @@ async function globalVariableEntityFactory(injector) {
947
782
  list: {
948
783
  actions: [
949
784
  {
950
- title: `t("create", { scope: "common" })`,
785
+ title: 'Create New',
951
786
  command: 'create-entity',
952
787
  priority: 'primary',
953
788
  type: 'create',
954
789
  scope: AXPEntityCommandScope.TypeLevel,
955
790
  },
956
791
  {
957
- title: 't("deleteItems", { scope: "common" })',
792
+ title: 'Delete Items',
958
793
  command: 'delete-entity',
959
794
  priority: 'primary',
960
795
  type: 'delete',
961
796
  scope: AXPEntityCommandScope.Selected,
962
797
  },
963
798
  {
964
- title: 't("deleteItems", { scope: "common" })',
799
+ title: 'Details',
965
800
  command: 'open-entity',
966
801
  priority: 'secondary',
967
802
  type: 'view',
968
803
  scope: AXPEntityCommandScope.Individual,
969
804
  },
970
805
  {
971
- title: 't("delete", { scope: "common" })',
806
+ title: 'Delete',
972
807
  command: 'delete-entity',
973
808
  priority: 'secondary',
974
809
  type: 'delete',
975
810
  scope: AXPEntityCommandScope.Individual,
976
811
  },
977
812
  ],
978
- views: [
979
- {
980
- name: 'all',
981
- title: 't("allItem", { scope: "common" })',
982
- fixed: true,
983
- columns: [],
984
- conditions: [],
985
- sorts: [],
986
- },
987
- ],
813
+ views: [createAllQueryView({ sorts: [{ name: 'versionNumber', dir: 'desc' }] })],
988
814
  },
989
815
  },
990
816
  },
@@ -992,8 +818,235 @@ async function globalVariableEntityFactory(injector) {
992
818
  return entityDef;
993
819
  }
994
820
 
821
+ class AXMNotifyAppComponent extends AXBasePageComponent {
822
+ constructor() {
823
+ super(...arguments);
824
+ this.isShowAgain = true;
825
+ this.sanitize = inject(DomSanitizer);
826
+ }
827
+ ngOnInit() {
828
+ super.ngOnInit();
829
+ this.safeData = this.sanitize.bypassSecurityTrustHtml(this.data.changeLog);
830
+ }
831
+ send() {
832
+ this.close({ data: this.data, isShowAgain: !this.isShowAgain });
833
+ }
834
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
835
+ 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", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: 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" }] }); }
836
+ }
837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppComponent, decorators: [{
838
+ type: Component,
839
+ 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" }]
840
+ }] });
841
+
842
+ var notifyApp_component = /*#__PURE__*/Object.freeze({
843
+ __proto__: null,
844
+ AXMNotifyAppComponent: AXMNotifyAppComponent
845
+ });
846
+
847
+ class AXMAppVersionSlotComponent {
848
+ constructor() {
849
+ this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
850
+ this.workflowService = inject(AXPWorkflowService);
851
+ this.versionNumber = '';
852
+ }
853
+ async ngOnInit() {
854
+ this.versionNumber = (await this.versionProvider.provider()).version;
855
+ }
856
+ openPopup() {
857
+ this.workflowService.execute('show-release-notes');
858
+ }
859
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
860
+ 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 }); }
861
+ }
862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionSlotComponent, decorators: [{
863
+ type: Component,
864
+ args: [{
865
+ template: ` <small class="ax-text-sm ax-cursor-pointer" (click)="openPopup()">{{ versionNumber }}</small> `,
866
+ standalone: true,
867
+ }]
868
+ }], propDecorators: { text: [{
869
+ type: Input
870
+ }] } });
871
+
872
+ class AppVersionCheckService {
873
+ constructor() {
874
+ this.versionProvider = inject(AXP_APP_VERSION_PROVIDER);
875
+ this.settingsService = inject(AXPSettingService);
876
+ this.workflowService = inject(AXPWorkflowService);
877
+ this.appVersionService = inject(AXMAppVersionService);
878
+ }
879
+ async checkVersion() {
880
+ const current = (await this.versionProvider.provider()).version;
881
+ const initVersion = await this.settingsService.scope(AXPPlatformScope.User).get(`init-application-version`);
882
+ if (initVersion == null) {
883
+ await this.settingsService.scope(AXPPlatformScope.User).set(`init-application-version`, current);
884
+ }
885
+ else {
886
+ const versions = await this.appVersionService.query();
887
+ for (const v of versions.items) {
888
+ if (v.versionNumber == current && v.versionNumber != initVersion) {
889
+ const isSee = await this.settingsService
890
+ .scope(AXPPlatformScope.User)
891
+ .get(`is-see-check-version-${v.versionNumber}`);
892
+ if (!isSee) {
893
+ setTimeout(() => {
894
+ this.workflowService.execute('show-what-is-new', v);
895
+ }, 300);
896
+ }
897
+ }
898
+ }
899
+ }
900
+ }
901
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
902
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService }); }
903
+ }
904
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppVersionCheckService, decorators: [{
905
+ type: Injectable
906
+ }] });
907
+
908
+ class AXMChangeLogPopupAction extends AXPWorkflowAction {
909
+ constructor() {
910
+ super(...arguments);
911
+ this.popupService = inject(AXPopupService);
912
+ }
913
+ async execute(context) {
914
+ const data = context.getVariable();
915
+ const comp = (await Promise.resolve().then(function () { return notifyApp_component; })).AXMNotifyAppComponent;
916
+ const result = await this.popupService.open(comp, {
917
+ title: `New Features in Version ${data.versionNumber}`,
918
+ data: { data },
919
+ });
920
+ if (result.data?.isShowAgain) {
921
+ context.setOutput('result', false);
922
+ }
923
+ else {
924
+ context.setOutput('result', true);
925
+ }
926
+ }
927
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
928
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction }); }
929
+ }
930
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogPopupAction, decorators: [{
931
+ type: Injectable
932
+ }] });
933
+ class AXMChangeLogUpdateSettingAction extends AXPWorkflowAction {
934
+ constructor() {
935
+ super(...arguments);
936
+ this.settingService = inject(AXPSettingService);
937
+ }
938
+ async execute(context) {
939
+ const data = context.getVariable();
940
+ if (context.getOutput('result')) {
941
+ await this.settingService.scope(AXPPlatformScope.User).set(`is-see-check-version-${data.versionNumber}`, true);
942
+ }
943
+ }
944
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
945
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction }); }
946
+ }
947
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMChangeLogUpdateSettingAction, decorators: [{
948
+ type: Injectable
949
+ }] });
950
+ const AXMWhatsNewWorkflow = {
951
+ startStepId: 'show-popup',
952
+ steps: {
953
+ 'show-popup': {
954
+ action: 'AXMChangeLogPopupAction',
955
+ nextSteps: [
956
+ {
957
+ conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
958
+ nextStepId: 'first-time-add-to-setting',
959
+ },
960
+ ],
961
+ },
962
+ 'first-time-add-to-setting': {
963
+ action: 'AXMChangeLogUpdateSettingAction',
964
+ },
965
+ },
966
+ };
967
+ class AXMCheckNewVersionAction extends AXPWorkflowAction {
968
+ constructor() {
969
+ super(...arguments);
970
+ this.appVersionCheckService = inject(AppVersionCheckService);
971
+ this.settingService = inject(AXPSettingService);
972
+ }
973
+ async execute(context) {
974
+ const shouldShow = await this.settingService.scope(AXPPlatformScope.User).get(`general:startup:release-notes`);
975
+ if (shouldShow == false) {
976
+ return;
977
+ }
978
+ await this.appVersionCheckService.checkVersion();
979
+ }
980
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
981
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction }); }
982
+ }
983
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMCheckNewVersionAction, decorators: [{
984
+ type: Injectable
985
+ }] });
986
+ const AXMCheckNewVersionWorkflow = {
987
+ startStepId: 'check-new-version',
988
+ steps: {
989
+ 'check-new-version': {
990
+ action: 'AXMCheckNewVersionAction',
991
+ },
992
+ },
993
+ };
994
+
995
+ class AXMGlobalVariableEntityModule {
996
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariableEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
997
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariableEntityModule }); }
998
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariableEntityModule, providers: [
999
+ {
1000
+ provide: AXMGlobalVariablesService,
1001
+ useClass: AXMGlobalVariablesServiceImpl,
1002
+ },
1003
+ ] }); }
1004
+ }
1005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlobalVariableEntityModule, decorators: [{
1006
+ type: NgModule,
1007
+ args: [{
1008
+ imports: [],
1009
+ exports: [],
1010
+ declarations: [],
1011
+ providers: [
1012
+ {
1013
+ provide: AXMGlobalVariablesService,
1014
+ useClass: AXMGlobalVariablesServiceImpl,
1015
+ },
1016
+ ],
1017
+ }]
1018
+ }] });
1019
+
1020
+ class AXMAppVersionEntityModule {
1021
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1022
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionEntityModule }); }
1023
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionEntityModule, providers: [
1024
+ {
1025
+ provide: AXMAppVersionService,
1026
+ useClass: AXMAppVersionServiceImpl,
1027
+ },
1028
+ ] }); }
1029
+ }
1030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppVersionEntityModule, decorators: [{
1031
+ type: NgModule,
1032
+ args: [{
1033
+ imports: [],
1034
+ exports: [],
1035
+ declarations: [],
1036
+ providers: [
1037
+ {
1038
+ provide: AXMAppVersionService,
1039
+ useClass: AXMAppVersionServiceImpl,
1040
+ },
1041
+ ],
1042
+ }]
1043
+ }] });
1044
+
1045
+ // Entity Services
1046
+
995
1047
  var index = /*#__PURE__*/Object.freeze({
996
1048
  __proto__: null,
1049
+ AXMAppVersionEntityModule: AXMAppVersionEntityModule,
997
1050
  AXMAppVersionService: AXMAppVersionService,
998
1051
  AXMAppVersionServiceImpl: AXMAppVersionServiceImpl,
999
1052
  AXMAppVersionSlotComponent: AXMAppVersionSlotComponent,
@@ -1001,6 +1054,7 @@ var index = /*#__PURE__*/Object.freeze({
1001
1054
  AXMChangeLogUpdateSettingAction: AXMChangeLogUpdateSettingAction,
1002
1055
  AXMCheckNewVersionAction: AXMCheckNewVersionAction,
1003
1056
  AXMCheckNewVersionWorkflow: AXMCheckNewVersionWorkflow,
1057
+ AXMGlobalVariableEntityModule: AXMGlobalVariableEntityModule,
1004
1058
  AXMGlobalVariablesService: AXMGlobalVariablesService,
1005
1059
  AXMGlobalVariablesServiceImpl: AXMGlobalVariablesServiceImpl,
1006
1060
  AXMNotifyAppComponent: AXMNotifyAppComponent,
@@ -1271,16 +1325,11 @@ class AXMPlatformManagementModule {
1271
1325
  */
1272
1326
  constructor(appVersionCheck) { }
1273
1327
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, deps: [{ token: AppVersionCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
1274
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMUpdaterModule, i2$2.AXPWorkflowModule, i3.AXPComponentSlotModule] }); }
1328
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, imports: [AXMUpdaterModule,
1329
+ // Entity Modules
1330
+ AXMGlobalVariableEntityModule,
1331
+ AXMAppVersionEntityModule, i2$2.AXPWorkflowModule, i3.AXPComponentSlotModule] }); }
1275
1332
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPlatformManagementModule, providers: [
1276
- {
1277
- provide: AXMGlobalVariablesService,
1278
- useClass: AXMGlobalVariablesServiceImpl,
1279
- },
1280
- {
1281
- provide: AXMAppVersionService,
1282
- useClass: AXMAppVersionServiceImpl,
1283
- },
1284
1333
  {
1285
1334
  provide: AXP_ENTITY_DEFINITION_LOADER,
1286
1335
  useClass: AXMEntityLoader,
@@ -1303,6 +1352,9 @@ class AXMPlatformManagementModule {
1303
1352
  },
1304
1353
  AppVersionCheckService,
1305
1354
  ], imports: [AXMUpdaterModule,
1355
+ // Entity Modules
1356
+ AXMGlobalVariableEntityModule,
1357
+ AXMAppVersionEntityModule,
1306
1358
  AXPWorkflowModule.forChild({
1307
1359
  actions: {
1308
1360
  AXMChangeLogPopupAction,
@@ -1344,6 +1396,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
1344
1396
  args: [{
1345
1397
  imports: [
1346
1398
  AXMUpdaterModule,
1399
+ // Entity Modules
1400
+ AXMGlobalVariableEntityModule,
1401
+ AXMAppVersionEntityModule,
1347
1402
  AXPWorkflowModule.forChild({
1348
1403
  actions: {
1349
1404
  AXMChangeLogPopupAction,
@@ -1383,14 +1438,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
1383
1438
  exports: [],
1384
1439
  declarations: [],
1385
1440
  providers: [
1386
- {
1387
- provide: AXMGlobalVariablesService,
1388
- useClass: AXMGlobalVariablesServiceImpl,
1389
- },
1390
- {
1391
- provide: AXMAppVersionService,
1392
- useClass: AXMAppVersionServiceImpl,
1393
- },
1394
1441
  {
1395
1442
  provide: AXP_ENTITY_DEFINITION_LOADER,
1396
1443
  useClass: AXMEntityLoader,
@@ -1422,5 +1469,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
1422
1469
  * Generated bundle index. Do not edit.
1423
1470
  */
1424
1471
 
1425
- export { AXMAppVersionService, AXMAppVersionServiceImpl, AXMAppVersionSlotComponent, AXMChangeLogPopupAction, AXMChangeLogUpdateSettingAction, AXMCheckNewVersionAction, AXMCheckNewVersionWorkflow, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMNotifyAppComponent, AXMPlatformManagementModule, AXMWhatsNewWorkflow, RootConfig, appVersionEntityEntityFactory, globalVariableEntityFactory };
1472
+ export { AXMAppVersionEntityModule, AXMAppVersionService, AXMAppVersionServiceImpl, AXMAppVersionSlotComponent, AXMChangeLogPopupAction, AXMChangeLogUpdateSettingAction, AXMCheckNewVersionAction, AXMCheckNewVersionWorkflow, AXMGlobalVariableEntityModule, AXMGlobalVariablesService, AXMGlobalVariablesServiceImpl, AXMNotifyAppComponent, AXMPlatformManagementModule, AXMWhatsNewWorkflow, RootConfig, appVersionEntityEntityFactory, globalVariableEntityFactory };
1426
1473
  //# sourceMappingURL=acorex-modules-platform-management.mjs.map