@acorex/modules 20.2.4-next.8 → 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 +13 -13
  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,14 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, Injector, Injectable, signal, Component, NgModule, HostListener } from '@angular/core';
3
3
  import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
4
- import { AXPSearchCommandProvider, AXPFileStorageService, AXPSettingService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, createAllQueryView, createQueryView, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';
4
+ import { AXPSearchCommandProvider, AXPFileStorageService, createAllQueryView, createQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSettingService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
5
5
  import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_CONFIG_TOKEN } from '@acorex/platform/layout/entity';
6
6
  import * as i3$1 from '@acorex/platform/layout/components';
7
7
  import { AXPComponentSlotModule, AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
8
8
  import { AXPPlatformScope, AXPAppStartUpService, AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
9
- import { AXDataSource } from '@acorex/cdk/common';
10
- import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
11
9
  import { AXSafePipe } from '@acorex/core/pipes';
10
+ import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
11
+ import { AXDataSource } from '@acorex/cdk/common';
12
+ import { AXPWidgetsList } from '@acorex/modules/common';
12
13
  import { ROUTES } from '@angular/router';
13
14
  import * as i2$1 from '@acorex/platform/workflow';
14
15
  import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowModule } from '@acorex/platform/workflow';
@@ -26,7 +27,6 @@ import * as i6 from '@acorex/core/translation';
26
27
  import { AXTranslationModule } from '@acorex/core/translation';
27
28
  import * as i5 from '@angular/common';
28
29
  import { CommonModule } from '@angular/common';
29
- import { AXPWidgetsList } from '@acorex/modules/common';
30
30
  import * as i3$2 from '@acorex/cdk/outline';
31
31
  import { AXOutlineModule } from '@acorex/cdk/outline';
32
32
  import * as i2$2 from '@acorex/components/side-menu';
@@ -238,83 +238,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
238
238
  type: Injectable
239
239
  }], ctorParameters: () => [] });
240
240
 
241
- class AXMPromotionDataSourceDefinition {
242
- constructor() {
243
- this.promotionService = inject(AXMAppPromotionService);
244
- this.i18n = RootConfig.config.i18n;
245
- }
246
- items() {
247
- return Promise.resolve([
248
- {
249
- name: 'promotion',
250
- title: 'Promotion',
251
- source: () => {
252
- return new AXDataSource({
253
- load: async (_) => {
254
- try {
255
- const res = await this.promotionService.query();
256
- return {
257
- items: res.items,
258
- total: res.total,
259
- };
260
- }
261
- catch (e) {
262
- throw e;
263
- }
264
- },
265
- pageSize: 100,
266
- });
267
- },
268
- columns: [
269
- {
270
- name: 'id',
271
- title: 'ID',
272
- datatype: 'uuid',
273
- type: AXPWidgetsCatalog.text,
274
- },
275
- {
276
- name: 'title',
277
- //TODO translate
278
- title: `Title`,
279
- datatype: 'string',
280
- type: AXPWidgetsCatalog.text,
281
- },
282
- {
283
- name: 'body',
284
- title: `Body`,
285
- datatype: 'string',
286
- type: AXPWidgetsCatalog.number,
287
- },
288
- ],
289
- filters: [
290
- {
291
- field: 'title',
292
- title: 'Title',
293
- operator: {
294
- type: 'equal',
295
- },
296
- widget: {
297
- type: AXPWidgetsCatalog.text,
298
- },
299
- filterType: {
300
- advance: true,
301
- inline: true,
302
- },
303
- },
304
- ],
305
- textField: {
306
- name: 'title',
307
- title: 'Title',
308
- },
309
- valueField: {
310
- name: 'id',
311
- title: 'ID',
312
- },
313
- },
314
- ]);
315
- }
316
- }
317
-
318
241
  class AXMPromotionSlotComponent {
319
242
  constructor() {
320
243
  this.notificationChannelService = inject(AXMAppPromotionService);
@@ -354,390 +277,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
354
277
  args: [{ selector: 'acorex-platform-promotion-slot', imports: [AXSafePipe], template: "@for (item of listData(); track item.id) { @if (item.contentType?.name == 'media') {\n<img [src]=\"item.image?.url ?? ''\" class=\"ax-w-full ax-p-3 ax-border {{\n item.shape?.name == 'circle' ? 'ax-rounded-full' : 'ax-rounded-none'\n }}\" />\n} @if(item.contentType?.name == 'text'){\n<div class=\"ax-m-1 ax-px-6 ax-p-4 ax-border ax-bg-primary ax-rounded-lg\">\n <h1 class=\"ax-text-base/6\" [innerHTML]=\"item.body | safe : 'html'\"></h1>\n</div>\n\n} } " }]
355
278
  }] });
356
279
 
357
- class AXMAppTermService extends AXMEntityCrudServiceImpl {
358
- }
359
- class AXMAppTermServiceImpl extends AXMEntityCrudServiceImpl {
360
- constructor() {
361
- super(`${RootConfig.module.name}.${RootConfig.entities.appTerm.name}`);
362
- }
363
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
364
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermServiceImpl }); }
365
- }
366
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermServiceImpl, decorators: [{
367
- type: Injectable
368
- }], ctorParameters: () => [] });
369
-
370
- class AXMGlossaryService extends AXMEntityCrudServiceImpl {
371
- }
372
- class AXMGlossaryServiceImpl extends AXMGlossaryService {
373
- constructor() {
374
- super(`${RootConfig.module.name}.${RootConfig.entities.glossary.name}`);
375
- }
376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
377
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryServiceImpl }); }
378
- }
379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryServiceImpl, decorators: [{
380
- type: Injectable
381
- }], ctorParameters: () => [] });
382
-
383
- class AXMNotifyAppTermComponent extends AXBasePageComponent {
384
- constructor() {
385
- super(...arguments);
386
- this.isConfirm = false;
387
- this.i18n = RootConfig.config.i18n;
388
- }
389
- transformContent(content) {
390
- return content.replace(/\n/g, '<br>');
391
- }
392
- send() {
393
- this.close({ data: this.data });
394
- }
395
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
396
- 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", "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" }] }); }
397
- }
398
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, decorators: [{
399
- type: Component,
400
- args: [{ selector: 'axm-notify-app', imports: [
401
- CommonModule,
402
- AXLabelModule,
403
- AXCheckBoxModule,
404
- AXDecoratorModule,
405
- AXButtonModule,
406
- AXTranslationModule,
407
- AXSafePipe,
408
- ], 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>" }]
409
- }] });
410
-
411
- class AXMNotifyNewTermPopupAction extends AXPWorkflowAction {
412
- constructor() {
413
- super(...arguments);
414
- this.popupService = inject(AXPopupService);
415
- }
416
- async execute(context) {
417
- const data = context.getVariable();
418
- await this.popupService.open(AXMNotifyAppTermComponent, {
419
- title: 'New Terms And Conditions',
420
- data: { data },
421
- closeButton: false,
422
- });
423
- }
424
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
425
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction }); }
426
- }
427
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, decorators: [{
428
- type: Injectable
429
- }] });
430
- class AXMTermUpdateSettingAction extends AXPWorkflowAction {
431
- constructor() {
432
- super(...arguments);
433
- this.settingService = inject(AXPSettingService);
434
- }
435
- async execute(context) {
436
- const dataList = context.getVariable();
437
- for (const data of dataList) {
438
- await this.settingService.scope(AXPPlatformScope.User).set(`is-confirm-term-${data.id}`, true);
439
- }
440
- }
441
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
442
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction }); }
443
- }
444
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction, decorators: [{
445
- type: Injectable
446
- }] });
447
- const AXMNewTermWorkflow = {
448
- startStepId: 'show-popup',
449
- steps: {
450
- 'show-popup': {
451
- action: 'AXMNotifyNewTermPopupAction',
452
- nextSteps: [
453
- {
454
- conditions: [],
455
- nextStepId: 'first-time-add-to-setting',
456
- },
457
- ],
458
- },
459
- 'first-time-add-to-setting': {
460
- action: 'AXMTermUpdateSettingAction',
461
- },
462
- },
463
- };
464
-
465
- var AXPApplicationTermsSettings;
466
- (function (AXPApplicationTermsSettings) {
467
- AXPApplicationTermsSettings["ApplicationTerms"] = "general:startup:application-terms";
468
- })(AXPApplicationTermsSettings || (AXPApplicationTermsSettings = {}));
469
-
470
- class AppTermsCheckService {
471
- constructor() {
472
- this.settingsService = inject(AXPSettingService);
473
- this.workflowService = inject(AXPWorkflowService);
474
- this.appTermService = inject(AXMAppTermService);
475
- this.appInitService = inject(AXPAppStartUpService);
476
- this.sessionService = inject(AXPSessionService);
477
- this.appInitService.registerTask({
478
- name: 'Terms',
479
- statusText: 'Check New Terms And Conditions...',
480
- priority: 6,
481
- run: async () => {
482
- this.sessionService.application$.subscribe(async (app) => {
483
- if (app != null) {
484
- const filterTerms = [];
485
- const terms = await this.appTermService.query();
486
- for (const term of terms.items) {
487
- const isConfirm = await this.settingsService
488
- .scope(AXPPlatformScope.User)
489
- .get(`is-confirm-term-${term.id}`);
490
- const isEnableToShow = await this.settingsService
491
- .scope(AXPPlatformScope.User)
492
- .get(AXPApplicationTermsSettings.ApplicationTerms);
493
- if (!isConfirm && isEnableToShow) {
494
- filterTerms.push(term);
495
- }
496
- }
497
- if (filterTerms.length > 0) {
498
- setTimeout(() => {
499
- this.workflowService.execute('new-term', filterTerms);
500
- }, 500);
501
- }
502
- }
503
- });
504
- },
505
- });
506
- }
507
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
508
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService }); }
509
- }
510
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService, decorators: [{
511
- type: Injectable
512
- }], ctorParameters: () => [] });
513
-
514
- class AXMContentManagementModule {
515
- /**
516
- * @ignore
517
- */
518
- constructor(appTermsCheck) { }
519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, deps: [{ token: AppTermsCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
520
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, imports: [i2$1.AXPWorkflowModule, i3$1.AXPComponentSlotModule] }); }
521
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, providers: [
522
- {
523
- provide: ROUTES,
524
- multi: true,
525
- useFactory: () => {
526
- const config = inject(AXP_ENTITY_CONFIG_TOKEN);
527
- const routes = [
528
- {
529
- path: ':app/terms',
530
- loadComponent: () => {
531
- return config.viewers.root();
532
- },
533
- children: [
534
- {
535
- path: '',
536
- loadComponent: () => Promise.resolve().then(function () { return listTerms_component; }).then((c) => c.AXMListTermsComponent),
537
- },
538
- ],
539
- },
540
- ];
541
- return routes;
542
- },
543
- },
544
- {
545
- provide: AXP_MENU_PROVIDER,
546
- useClass: AXMMenuProvider,
547
- multi: true,
548
- },
549
- {
550
- provide: AXP_ENTITY_DEFINITION_LOADER,
551
- useClass: AXMEntityProvider,
552
- multi: true,
553
- },
554
- {
555
- provide: AXP_SETTING_DEFINITION_PROVIDER,
556
- useClass: AXMSettingProvider,
557
- multi: true,
558
- },
559
- {
560
- provide: AXP_SEARCH_PROVIDER,
561
- useClass: AXMSearchCommandProvider,
562
- multi: true,
563
- },
564
- {
565
- provide: AXP_PERMISSION_DEFINITION_PROVIDER,
566
- useClass: AXMPermissionDefinitionProvider,
567
- multi: true,
568
- },
569
- {
570
- provide: AXMAppTermService,
571
- useClass: AXMAppTermServiceImpl,
572
- },
573
- {
574
- provide: AXMGlossaryService,
575
- useClass: AXMGlossaryServiceImpl,
576
- },
577
- {
578
- provide: AXMAppPromotionService,
579
- useClass: AXMPromotionServiceImpl,
580
- },
581
- {
582
- provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
583
- useClass: AXMPromotionDataSourceDefinition,
584
- multi: true,
585
- },
586
- AppTermsCheckService
587
- ], imports: [AXPWorkflowModule.forChild({
588
- actions: {
589
- AXMNotifyNewTermPopupAction,
590
- AXMTermUpdateSettingAction,
591
- },
592
- workflows: {
593
- 'new-term': AXMNewTermWorkflow,
594
- },
595
- }),
596
- AXPComponentSlotModule.forChild({
597
- 'side-menu-footer': [
598
- {
599
- name: 'side-menu-footer-promotion',
600
- component: AXMPromotionSlotComponent,
601
- options: {
602
- location: 'side-menu-footer',
603
- },
604
- },
605
- ],
606
- 'side-menu-header': [
607
- {
608
- name: 'side-menu-header-promotion',
609
- component: AXMPromotionSlotComponent,
610
- priority: 2,
611
- options: {
612
- location: 'side-menu-header',
613
- },
614
- },
615
- ],
616
- })] }); }
617
- }
618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, decorators: [{
619
- type: NgModule,
620
- args: [{
621
- imports: [
622
- AXPWorkflowModule.forChild({
623
- actions: {
624
- AXMNotifyNewTermPopupAction,
625
- AXMTermUpdateSettingAction,
626
- },
627
- workflows: {
628
- 'new-term': AXMNewTermWorkflow,
629
- },
630
- }),
631
- AXPComponentSlotModule.forChild({
632
- 'side-menu-footer': [
633
- {
634
- name: 'side-menu-footer-promotion',
635
- component: AXMPromotionSlotComponent,
636
- options: {
637
- location: 'side-menu-footer',
638
- },
639
- },
640
- ],
641
- 'side-menu-header': [
642
- {
643
- name: 'side-menu-header-promotion',
644
- component: AXMPromotionSlotComponent,
645
- priority: 2,
646
- options: {
647
- location: 'side-menu-header',
648
- },
649
- },
650
- ],
651
- }),
652
- ],
653
- exports: [],
654
- declarations: [],
655
- providers: [
656
- {
657
- provide: ROUTES,
658
- multi: true,
659
- useFactory: () => {
660
- const config = inject(AXP_ENTITY_CONFIG_TOKEN);
661
- const routes = [
662
- {
663
- path: ':app/terms',
664
- loadComponent: () => {
665
- return config.viewers.root();
666
- },
667
- children: [
668
- {
669
- path: '',
670
- loadComponent: () => Promise.resolve().then(function () { return listTerms_component; }).then((c) => c.AXMListTermsComponent),
671
- },
672
- ],
673
- },
674
- ];
675
- return routes;
676
- },
677
- },
678
- {
679
- provide: AXP_MENU_PROVIDER,
680
- useClass: AXMMenuProvider,
681
- multi: true,
682
- },
683
- {
684
- provide: AXP_ENTITY_DEFINITION_LOADER,
685
- useClass: AXMEntityProvider,
686
- multi: true,
687
- },
688
- {
689
- provide: AXP_SETTING_DEFINITION_PROVIDER,
690
- useClass: AXMSettingProvider,
691
- multi: true,
692
- },
693
- {
694
- provide: AXP_SEARCH_PROVIDER,
695
- useClass: AXMSearchCommandProvider,
696
- multi: true,
697
- },
698
- {
699
- provide: AXP_PERMISSION_DEFINITION_PROVIDER,
700
- useClass: AXMPermissionDefinitionProvider,
701
- multi: true,
702
- },
703
- {
704
- provide: AXMAppTermService,
705
- useClass: AXMAppTermServiceImpl,
706
- },
707
- {
708
- provide: AXMGlossaryService,
709
- useClass: AXMGlossaryServiceImpl,
710
- },
711
- {
712
- provide: AXMAppPromotionService,
713
- useClass: AXMPromotionServiceImpl,
714
- },
715
- {
716
- provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
717
- useClass: AXMPromotionDataSourceDefinition,
718
- multi: true,
719
- },
720
- AppTermsCheckService
721
- ]
722
- }]
723
- }], ctorParameters: () => [{ type: AppTermsCheckService }] });
724
-
725
- async function promotionEntityFactory(injector) {
726
- const dataService = injector.get(AXMAppPromotionService);
727
- const i18n = RootConfig.config.i18n;
728
- const entityDef = {
729
- plugins: [
730
- { name: 'history' },
731
- { name: 'lock' },
732
- { name: 'compare' },
733
- { name: 'comments' },
734
- {
735
- name: 'attachments',
736
- options: {
737
- field: 'imageId',
738
- accept: '.jpg,.jpeg,.png,.gif,.webp',
739
- multiple: true,
740
- fileEditable: true,
280
+ async function promotionEntityFactory(injector) {
281
+ const dataService = injector.get(AXMAppPromotionService);
282
+ const i18n = RootConfig.config.i18n;
283
+ const entityDef = {
284
+ plugins: [
285
+ { name: 'history' },
286
+ { name: 'lock' },
287
+ { name: 'compare' },
288
+ { name: 'comments' },
289
+ {
290
+ name: 'attachments',
291
+ options: {
292
+ field: 'imageId',
293
+ accept: '.jpg,.jpeg,.png,.gif,.webp',
294
+ multiple: true,
295
+ fileEditable: true,
741
296
  },
742
297
  },
743
298
  ],
@@ -1343,30 +898,120 @@ var promotion_entity = /*#__PURE__*/Object.freeze({
1343
898
  promotionEntityFactory: promotionEntityFactory
1344
899
  });
1345
900
 
1346
- async function appTermEntityEntityFactory(injector) {
1347
- const dataService = injector.get(AXMAppTermService);
1348
- const i18n = RootConfig.config.i18n;
1349
- const entityDef = {
1350
- module: RootConfig.module.name,
1351
- name: RootConfig.entities.appTerm.name,
1352
- source: '',
1353
- title: RootConfig.entities.appTerm.title,
1354
- formats: {
1355
- individual: RootConfig.entities.appTerm.title,
1356
- plural: RootConfig.entities.appTerm.titlePlural,
1357
- searchResult: {
1358
- title: '{{ title }}',
1359
- description: RootConfig.module.title,
1360
- },
1361
- },
1362
- relatedEntities: [],
1363
- groups: [
1364
- {
1365
- id: 'section',
1366
- title: RootConfig.entities.appTerm.title,
1367
- },
1368
- ],
1369
- properties: [
901
+ class AXMPromotionDataSourceDefinition {
902
+ constructor() {
903
+ this.promotionService = inject(AXMAppPromotionService);
904
+ this.i18n = RootConfig.config.i18n;
905
+ }
906
+ items() {
907
+ return Promise.resolve([
908
+ {
909
+ name: 'promotion',
910
+ title: 'Promotion',
911
+ source: () => {
912
+ return new AXDataSource({
913
+ load: async (_) => {
914
+ try {
915
+ const res = await this.promotionService.query();
916
+ return {
917
+ items: res.items,
918
+ total: res.total,
919
+ };
920
+ }
921
+ catch (e) {
922
+ throw e;
923
+ }
924
+ },
925
+ pageSize: 100,
926
+ });
927
+ },
928
+ columns: [
929
+ {
930
+ name: 'id',
931
+ title: 'ID',
932
+ datatype: 'uuid',
933
+ type: AXPWidgetsCatalog.text,
934
+ },
935
+ {
936
+ name: 'title',
937
+ //TODO translate
938
+ title: `Title`,
939
+ datatype: 'string',
940
+ type: AXPWidgetsCatalog.text,
941
+ },
942
+ {
943
+ name: 'body',
944
+ title: `Body`,
945
+ datatype: 'string',
946
+ type: AXPWidgetsCatalog.number,
947
+ },
948
+ ],
949
+ filters: [
950
+ {
951
+ field: 'title',
952
+ title: 'Title',
953
+ operator: {
954
+ type: 'equal',
955
+ },
956
+ widget: {
957
+ type: AXPWidgetsCatalog.text,
958
+ },
959
+ filterType: {
960
+ advance: true,
961
+ inline: true,
962
+ },
963
+ },
964
+ ],
965
+ textField: {
966
+ name: 'title',
967
+ title: 'Title',
968
+ },
969
+ valueField: {
970
+ name: 'id',
971
+ title: 'ID',
972
+ },
973
+ },
974
+ ]);
975
+ }
976
+ }
977
+
978
+ class AXMAppTermService extends AXMEntityCrudServiceImpl {
979
+ }
980
+ class AXMAppTermServiceImpl extends AXMEntityCrudServiceImpl {
981
+ constructor() {
982
+ super(`${RootConfig.module.name}.${RootConfig.entities.appTerm.name}`);
983
+ }
984
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
985
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermServiceImpl }); }
986
+ }
987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermServiceImpl, decorators: [{
988
+ type: Injectable
989
+ }], ctorParameters: () => [] });
990
+
991
+ async function appTermEntityEntityFactory(injector) {
992
+ const dataService = injector.get(AXMAppTermService);
993
+ const i18n = RootConfig.config.i18n;
994
+ const entityDef = {
995
+ module: RootConfig.module.name,
996
+ name: RootConfig.entities.appTerm.name,
997
+ source: '',
998
+ title: RootConfig.entities.appTerm.title,
999
+ formats: {
1000
+ individual: RootConfig.entities.appTerm.title,
1001
+ plural: RootConfig.entities.appTerm.titlePlural,
1002
+ searchResult: {
1003
+ title: '{{ title }}',
1004
+ description: RootConfig.module.title,
1005
+ },
1006
+ },
1007
+ relatedEntities: [],
1008
+ groups: [
1009
+ {
1010
+ id: 'section',
1011
+ title: RootConfig.entities.appTerm.title,
1012
+ },
1013
+ ],
1014
+ properties: [
1370
1015
  {
1371
1016
  name: 'type',
1372
1017
  title: `t("type", { scope: "common" })`,
@@ -1770,6 +1415,19 @@ var appTerm_entity = /*#__PURE__*/Object.freeze({
1770
1415
  appTermEntityEntityFactory: appTermEntityEntityFactory
1771
1416
  });
1772
1417
 
1418
+ class AXMGlossaryService extends AXMEntityCrudServiceImpl {
1419
+ }
1420
+ class AXMGlossaryServiceImpl extends AXMGlossaryService {
1421
+ constructor() {
1422
+ super(`${RootConfig.module.name}.${RootConfig.entities.glossary.name}`);
1423
+ }
1424
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1425
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryServiceImpl }); }
1426
+ }
1427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryServiceImpl, decorators: [{
1428
+ type: Injectable
1429
+ }], ctorParameters: () => [] });
1430
+
1773
1431
  async function glossaryEntityFactory(injector) {
1774
1432
  const dataService = injector.get(AXMGlossaryService);
1775
1433
  const i18n = RootConfig.config.i18n + '.glossary';
@@ -2071,6 +1729,413 @@ var glossary_entity = /*#__PURE__*/Object.freeze({
2071
1729
  glossaryEntityFactory: glossaryEntityFactory
2072
1730
  });
2073
1731
 
1732
+ class AXMPromotionEntityModule {
1733
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPromotionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1734
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMPromotionEntityModule }); }
1735
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPromotionEntityModule, providers: [
1736
+ {
1737
+ provide: AXMAppPromotionService,
1738
+ useClass: AXMPromotionServiceImpl,
1739
+ },
1740
+ ] }); }
1741
+ }
1742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMPromotionEntityModule, decorators: [{
1743
+ type: NgModule,
1744
+ args: [{
1745
+ imports: [],
1746
+ exports: [],
1747
+ declarations: [],
1748
+ providers: [
1749
+ {
1750
+ provide: AXMAppPromotionService,
1751
+ useClass: AXMPromotionServiceImpl,
1752
+ },
1753
+ ],
1754
+ }]
1755
+ }] });
1756
+
1757
+ class AXMAppTermEntityModule {
1758
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1759
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermEntityModule }); }
1760
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermEntityModule, providers: [
1761
+ {
1762
+ provide: AXMAppTermService,
1763
+ useClass: AXMAppTermServiceImpl,
1764
+ },
1765
+ ] }); }
1766
+ }
1767
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMAppTermEntityModule, decorators: [{
1768
+ type: NgModule,
1769
+ args: [{
1770
+ imports: [],
1771
+ exports: [],
1772
+ declarations: [],
1773
+ providers: [
1774
+ {
1775
+ provide: AXMAppTermService,
1776
+ useClass: AXMAppTermServiceImpl,
1777
+ },
1778
+ ],
1779
+ }]
1780
+ }] });
1781
+
1782
+ class AXMGlossaryEntityModule {
1783
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1784
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryEntityModule }); }
1785
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryEntityModule, providers: [
1786
+ {
1787
+ provide: AXMGlossaryService,
1788
+ useClass: AXMGlossaryServiceImpl,
1789
+ },
1790
+ ] }); }
1791
+ }
1792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMGlossaryEntityModule, decorators: [{
1793
+ type: NgModule,
1794
+ args: [{
1795
+ imports: [],
1796
+ exports: [],
1797
+ declarations: [],
1798
+ providers: [
1799
+ {
1800
+ provide: AXMGlossaryService,
1801
+ useClass: AXMGlossaryServiceImpl,
1802
+ },
1803
+ ],
1804
+ }]
1805
+ }] });
1806
+
1807
+ // Entity Services
1808
+
1809
+ class AXMNotifyAppTermComponent extends AXBasePageComponent {
1810
+ constructor() {
1811
+ super(...arguments);
1812
+ this.isConfirm = false;
1813
+ this.i18n = RootConfig.config.i18n;
1814
+ }
1815
+ transformContent(content) {
1816
+ return content.replace(/\n/g, '<br>');
1817
+ }
1818
+ send() {
1819
+ this.close({ data: this.data });
1820
+ }
1821
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1822
+ 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", "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" }] }); }
1823
+ }
1824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, decorators: [{
1825
+ type: Component,
1826
+ args: [{ selector: 'axm-notify-app', imports: [
1827
+ CommonModule,
1828
+ AXLabelModule,
1829
+ AXCheckBoxModule,
1830
+ AXDecoratorModule,
1831
+ AXButtonModule,
1832
+ AXTranslationModule,
1833
+ AXSafePipe,
1834
+ ], 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>" }]
1835
+ }] });
1836
+
1837
+ class AXMNotifyNewTermPopupAction extends AXPWorkflowAction {
1838
+ constructor() {
1839
+ super(...arguments);
1840
+ this.popupService = inject(AXPopupService);
1841
+ }
1842
+ async execute(context) {
1843
+ const data = context.getVariable();
1844
+ await this.popupService.open(AXMNotifyAppTermComponent, {
1845
+ title: 'New Terms And Conditions',
1846
+ data: { data },
1847
+ closeButton: false,
1848
+ });
1849
+ }
1850
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1851
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction }); }
1852
+ }
1853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyNewTermPopupAction, decorators: [{
1854
+ type: Injectable
1855
+ }] });
1856
+ class AXMTermUpdateSettingAction extends AXPWorkflowAction {
1857
+ constructor() {
1858
+ super(...arguments);
1859
+ this.settingService = inject(AXPSettingService);
1860
+ }
1861
+ async execute(context) {
1862
+ const dataList = context.getVariable();
1863
+ for (const data of dataList) {
1864
+ await this.settingService.scope(AXPPlatformScope.User).set(`is-confirm-term-${data.id}`, true);
1865
+ }
1866
+ }
1867
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1868
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction }); }
1869
+ }
1870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMTermUpdateSettingAction, decorators: [{
1871
+ type: Injectable
1872
+ }] });
1873
+ const AXMNewTermWorkflow = {
1874
+ startStepId: 'show-popup',
1875
+ steps: {
1876
+ 'show-popup': {
1877
+ action: 'AXMNotifyNewTermPopupAction',
1878
+ nextSteps: [
1879
+ {
1880
+ conditions: [],
1881
+ nextStepId: 'first-time-add-to-setting',
1882
+ },
1883
+ ],
1884
+ },
1885
+ 'first-time-add-to-setting': {
1886
+ action: 'AXMTermUpdateSettingAction',
1887
+ },
1888
+ },
1889
+ };
1890
+
1891
+ var AXPApplicationTermsSettings;
1892
+ (function (AXPApplicationTermsSettings) {
1893
+ AXPApplicationTermsSettings["ApplicationTerms"] = "general:startup:application-terms";
1894
+ })(AXPApplicationTermsSettings || (AXPApplicationTermsSettings = {}));
1895
+
1896
+ class AppTermsCheckService {
1897
+ constructor() {
1898
+ this.settingsService = inject(AXPSettingService);
1899
+ this.workflowService = inject(AXPWorkflowService);
1900
+ this.appTermService = inject(AXMAppTermService);
1901
+ this.appInitService = inject(AXPAppStartUpService);
1902
+ this.sessionService = inject(AXPSessionService);
1903
+ this.appInitService.registerTask({
1904
+ name: 'Terms',
1905
+ statusText: 'Check New Terms And Conditions...',
1906
+ priority: 6,
1907
+ run: async () => {
1908
+ this.sessionService.application$.subscribe(async (app) => {
1909
+ if (app != null) {
1910
+ const filterTerms = [];
1911
+ const terms = await this.appTermService.query();
1912
+ for (const term of terms.items) {
1913
+ const isConfirm = await this.settingsService
1914
+ .scope(AXPPlatformScope.User)
1915
+ .get(`is-confirm-term-${term.id}`);
1916
+ const isEnableToShow = await this.settingsService
1917
+ .scope(AXPPlatformScope.User)
1918
+ .get(AXPApplicationTermsSettings.ApplicationTerms);
1919
+ if (!isConfirm && isEnableToShow) {
1920
+ filterTerms.push(term);
1921
+ }
1922
+ }
1923
+ if (filterTerms.length > 0) {
1924
+ setTimeout(() => {
1925
+ this.workflowService.execute('new-term', filterTerms);
1926
+ }, 500);
1927
+ }
1928
+ }
1929
+ });
1930
+ },
1931
+ });
1932
+ }
1933
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1934
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService }); }
1935
+ }
1936
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppTermsCheckService, decorators: [{
1937
+ type: Injectable
1938
+ }], ctorParameters: () => [] });
1939
+
1940
+ class AXMContentManagementModule {
1941
+ /**
1942
+ * @ignore
1943
+ */
1944
+ constructor(appTermsCheck) { }
1945
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, deps: [{ token: AppTermsCheckService }], target: i0.ɵɵFactoryTarget.NgModule }); }
1946
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, imports: [i2$1.AXPWorkflowModule, i3$1.AXPComponentSlotModule,
1947
+ // Entity Modules
1948
+ AXMPromotionEntityModule,
1949
+ AXMAppTermEntityModule,
1950
+ AXMGlossaryEntityModule] }); }
1951
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, providers: [
1952
+ {
1953
+ provide: ROUTES,
1954
+ multi: true,
1955
+ useFactory: () => {
1956
+ const config = inject(AXP_ENTITY_CONFIG_TOKEN);
1957
+ const routes = [
1958
+ {
1959
+ path: ':app/terms',
1960
+ loadComponent: () => {
1961
+ return config.viewers.root();
1962
+ },
1963
+ children: [
1964
+ {
1965
+ path: '',
1966
+ loadComponent: () => Promise.resolve().then(function () { return listTerms_component; }).then((c) => c.AXMListTermsComponent),
1967
+ },
1968
+ ],
1969
+ },
1970
+ ];
1971
+ return routes;
1972
+ },
1973
+ },
1974
+ {
1975
+ provide: AXP_MENU_PROVIDER,
1976
+ useClass: AXMMenuProvider,
1977
+ multi: true,
1978
+ },
1979
+ {
1980
+ provide: AXP_ENTITY_DEFINITION_LOADER,
1981
+ useClass: AXMEntityProvider,
1982
+ multi: true,
1983
+ },
1984
+ {
1985
+ provide: AXP_SETTING_DEFINITION_PROVIDER,
1986
+ useClass: AXMSettingProvider,
1987
+ multi: true,
1988
+ },
1989
+ {
1990
+ provide: AXP_SEARCH_PROVIDER,
1991
+ useClass: AXMSearchCommandProvider,
1992
+ multi: true,
1993
+ },
1994
+ {
1995
+ provide: AXP_PERMISSION_DEFINITION_PROVIDER,
1996
+ useClass: AXMPermissionDefinitionProvider,
1997
+ multi: true,
1998
+ },
1999
+ {
2000
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
2001
+ useClass: AXMPromotionDataSourceDefinition,
2002
+ multi: true,
2003
+ },
2004
+ AppTermsCheckService
2005
+ ], imports: [AXPWorkflowModule.forChild({
2006
+ actions: {
2007
+ AXMNotifyNewTermPopupAction,
2008
+ AXMTermUpdateSettingAction,
2009
+ },
2010
+ workflows: {
2011
+ 'new-term': AXMNewTermWorkflow,
2012
+ },
2013
+ }),
2014
+ AXPComponentSlotModule.forChild({
2015
+ 'side-menu-footer': [
2016
+ {
2017
+ name: 'side-menu-footer-promotion',
2018
+ component: AXMPromotionSlotComponent,
2019
+ options: {
2020
+ location: 'side-menu-footer',
2021
+ },
2022
+ },
2023
+ ],
2024
+ 'side-menu-header': [
2025
+ {
2026
+ name: 'side-menu-header-promotion',
2027
+ component: AXMPromotionSlotComponent,
2028
+ priority: 2,
2029
+ options: {
2030
+ location: 'side-menu-header',
2031
+ },
2032
+ },
2033
+ ],
2034
+ }),
2035
+ // Entity Modules
2036
+ AXMPromotionEntityModule,
2037
+ AXMAppTermEntityModule,
2038
+ AXMGlossaryEntityModule] }); }
2039
+ }
2040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMContentManagementModule, decorators: [{
2041
+ type: NgModule,
2042
+ args: [{
2043
+ imports: [
2044
+ AXPWorkflowModule.forChild({
2045
+ actions: {
2046
+ AXMNotifyNewTermPopupAction,
2047
+ AXMTermUpdateSettingAction,
2048
+ },
2049
+ workflows: {
2050
+ 'new-term': AXMNewTermWorkflow,
2051
+ },
2052
+ }),
2053
+ AXPComponentSlotModule.forChild({
2054
+ 'side-menu-footer': [
2055
+ {
2056
+ name: 'side-menu-footer-promotion',
2057
+ component: AXMPromotionSlotComponent,
2058
+ options: {
2059
+ location: 'side-menu-footer',
2060
+ },
2061
+ },
2062
+ ],
2063
+ 'side-menu-header': [
2064
+ {
2065
+ name: 'side-menu-header-promotion',
2066
+ component: AXMPromotionSlotComponent,
2067
+ priority: 2,
2068
+ options: {
2069
+ location: 'side-menu-header',
2070
+ },
2071
+ },
2072
+ ],
2073
+ }),
2074
+ // Entity Modules
2075
+ AXMPromotionEntityModule,
2076
+ AXMAppTermEntityModule,
2077
+ AXMGlossaryEntityModule,
2078
+ ],
2079
+ exports: [],
2080
+ declarations: [],
2081
+ providers: [
2082
+ {
2083
+ provide: ROUTES,
2084
+ multi: true,
2085
+ useFactory: () => {
2086
+ const config = inject(AXP_ENTITY_CONFIG_TOKEN);
2087
+ const routes = [
2088
+ {
2089
+ path: ':app/terms',
2090
+ loadComponent: () => {
2091
+ return config.viewers.root();
2092
+ },
2093
+ children: [
2094
+ {
2095
+ path: '',
2096
+ loadComponent: () => Promise.resolve().then(function () { return listTerms_component; }).then((c) => c.AXMListTermsComponent),
2097
+ },
2098
+ ],
2099
+ },
2100
+ ];
2101
+ return routes;
2102
+ },
2103
+ },
2104
+ {
2105
+ provide: AXP_MENU_PROVIDER,
2106
+ useClass: AXMMenuProvider,
2107
+ multi: true,
2108
+ },
2109
+ {
2110
+ provide: AXP_ENTITY_DEFINITION_LOADER,
2111
+ useClass: AXMEntityProvider,
2112
+ multi: true,
2113
+ },
2114
+ {
2115
+ provide: AXP_SETTING_DEFINITION_PROVIDER,
2116
+ useClass: AXMSettingProvider,
2117
+ multi: true,
2118
+ },
2119
+ {
2120
+ provide: AXP_SEARCH_PROVIDER,
2121
+ useClass: AXMSearchCommandProvider,
2122
+ multi: true,
2123
+ },
2124
+ {
2125
+ provide: AXP_PERMISSION_DEFINITION_PROVIDER,
2126
+ useClass: AXMPermissionDefinitionProvider,
2127
+ multi: true,
2128
+ },
2129
+ {
2130
+ provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
2131
+ useClass: AXMPromotionDataSourceDefinition,
2132
+ multi: true,
2133
+ },
2134
+ AppTermsCheckService
2135
+ ]
2136
+ }]
2137
+ }], ctorParameters: () => [{ type: AppTermsCheckService }] });
2138
+
2074
2139
  class AXMListTermsComponent extends AXPPageLayoutBaseComponent {
2075
2140
  constructor() {
2076
2141
  super(...arguments);
@@ -2152,5 +2217,5 @@ var listTerms_component = /*#__PURE__*/Object.freeze({
2152
2217
  * Generated bundle index. Do not edit.
2153
2218
  */
2154
2219
 
2155
- export { AXMAppPromotionService, AXMAppTermService, AXMAppTermServiceImpl, AXMContentManagementModule, AXMEntityProvider, AXMGlossaryService, AXMGlossaryServiceImpl, AXMListTermsComponent, AXMMenuProvider, AXMNotifyAppTermComponent, AXMPromotionDataSourceDefinition, AXMPromotionServiceImpl, AXMPromotionSlotComponent, AXMSearchCommandProvider, AXMSettingProvider, RootConfig, appTermEntityEntityFactory, glossaryEntityFactory, promotionEntityFactory };
2220
+ export { AXMAppPromotionService, AXMAppTermEntityModule, AXMAppTermService, AXMAppTermServiceImpl, AXMContentManagementModule, AXMEntityProvider, AXMGlossaryEntityModule, AXMGlossaryService, AXMGlossaryServiceImpl, AXMListTermsComponent, AXMMenuProvider, AXMNotifyAppTermComponent, AXMPromotionDataSourceDefinition, AXMPromotionEntityModule, AXMPromotionServiceImpl, AXMPromotionSlotComponent, AXMSearchCommandProvider, AXMSettingProvider, RootConfig, appTermEntityEntityFactory, glossaryEntityFactory, promotionEntityFactory };
2156
2221
  //# sourceMappingURL=acorex-modules-content-management.mjs.map