@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,10 +1,10 @@
1
- import { RootConfig as RootConfig$1 } from '@acorex/modules/text-template-management';
2
1
  import { AXPEntityCommandScope, AXPEntityQueryType, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
3
2
  import * as i2$4 from '@acorex/platform/layout/builder';
4
3
  import { AXPWidgetsCatalog, AXPValueWidgetComponent, cloneProperty, AXPWidgetGroupEnum, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
5
4
  import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER, AXPEntityStorageService, AXPEntityDataProviderImpl } from '@acorex/platform/layout/entity';
6
5
  import * as i0 from '@angular/core';
7
6
  import { Injectable, NgModule, inject, signal, computed, effect, Injector, InjectionToken, viewChild, ViewContainerRef, input, output, afterNextRender, inputBinding, outputBinding, ChangeDetectionStrategy, Component, ChangeDetectorRef } from '@angular/core';
7
+ import { RootConfig as RootConfig$1 } from '@acorex/modules/text-template-management';
8
8
  import { AXPSessionService, AXPAuthGuard } from '@acorex/platform/auth';
9
9
  import { firstValueFrom } from 'rxjs';
10
10
  import * as i1 from '@acorex/platform/layout/components';
@@ -66,47 +66,60 @@ const RootConfig = {
66
66
  },
67
67
  };
68
68
 
69
- class AXMNotificationManagementChannelEntityService extends AXMEntityCrudServiceImpl {
69
+ class AXMNotificationEntityService extends AXMEntityCrudServiceImpl {
70
70
  }
71
- class AXMNotificationManagementChannelEntityServiceImpl extends AXMNotificationManagementChannelEntityService {
71
+ class AXMNotificationEntityServiceImpl extends AXMNotificationEntityService {
72
+ getList() {
73
+ throw new Error('Method not implemented.');
74
+ }
75
+ markAsRead(payload) {
76
+ throw new Error('Method not implemented.');
77
+ }
78
+ markAllAsRead() {
79
+ throw new Error('Method not implemented.');
80
+ }
81
+ create(payload) {
82
+ throw new Error('Method not implemented.');
83
+ }
72
84
  constructor() {
73
- super(`${RootConfig.module.name}.${RootConfig.entities.channel.name}`);
85
+ super(`${RootConfig.module.name}.${RootConfig.entities.notification.name}`);
74
86
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementChannelEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
76
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementChannelEntityServiceImpl }); }
87
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
88
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityServiceImpl }); }
77
89
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementChannelEntityServiceImpl, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityServiceImpl, decorators: [{
79
91
  type: Injectable
80
92
  }], ctorParameters: () => [] });
81
93
 
82
- async function notificationChannelEntityFactory(injector) {
83
- const dataService = injector.get(AXMNotificationManagementChannelEntityService);
94
+ async function notificationEntityFactory(injector) {
95
+ const dataService = injector.get(AXMNotificationEntityService);
84
96
  const i18n = RootConfig.config.i18n;
85
97
  const entityDef = {
86
98
  module: RootConfig.module.name,
87
- name: RootConfig.entities.channel.name,
99
+ name: RootConfig.entities.notification.name,
88
100
  source: '',
89
- title: RootConfig.entities.channel.title,
101
+ title: RootConfig.entities.notification.title,
90
102
  formats: {
91
- individual: `t("channel", { scope: "${i18n}" })`,
92
- plural: `t("channels", { scope: "${i18n}" })`,
103
+ individual: `t("notifications",{scope: "${i18n}"})`,
104
+ plural: `t("notifications",{scope: "notification-management"})`,
93
105
  },
94
- relatedEntities: [],
95
- groups: [
106
+ relatedEntities: [
96
107
  {
97
- id: 'notificationChannel',
98
- title: 'Notification Channel',
108
+ entity: 'notification-management.notificationLog',
109
+ columns: ['title', 'status'],
99
110
  },
111
+ ],
112
+ groups: [
100
113
  {
101
- id: 'in-app',
102
- title: 'In App',
114
+ id: 'notification',
115
+ title: 'Notification',
103
116
  },
104
117
  ],
105
118
  properties: [
106
119
  {
107
- name: 'title',
108
- title: `t("title", { scope: "common" })`,
109
- groupId: 'notificationChannel',
120
+ name: 'name',
121
+ title: `t("name", { scope: "${i18n}" })`,
122
+ groupId: 'notification',
110
123
  schema: {
111
124
  dataType: 'string',
112
125
  interface: {
@@ -120,28 +133,13 @@ async function notificationChannelEntityFactory(injector) {
120
133
  ],
121
134
  },
122
135
  {
123
- name: 'template',
124
- title: `t("template", { scope: "${i18n}" })`,
125
- groupId: 'notificationChannel',
126
- schema: {
127
- dataType: 'string',
128
- interface: {
129
- type: AXPWidgetsCatalog.lookup,
130
- options: {
131
- entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.template.name}`,
132
- expose: { source: 'content', target: 'body' },
133
- },
134
- },
135
- },
136
- },
137
- {
138
- name: 'body',
139
- title: `t("body", { scope: "${i18n}" })`,
140
- groupId: 'notificationChannel',
136
+ name: 'title',
137
+ title: `t("title", { scope: "${i18n}" })`,
138
+ groupId: 'notification',
141
139
  schema: {
142
140
  dataType: 'string',
143
141
  interface: {
144
- type: AXPWidgetsCatalog.richText,
142
+ type: AXPWidgetsCatalog.text,
145
143
  },
146
144
  },
147
145
  validations: [
@@ -151,86 +149,13 @@ async function notificationChannelEntityFactory(injector) {
151
149
  ],
152
150
  },
153
151
  {
154
- name: 'imageId',
152
+ name: 'body',
155
153
  title: `t("body", { scope: "${i18n}" })`,
156
- groupId: 'notificationChannel',
157
- schema: {
158
- dataType: 'string',
159
- interface: {
160
- type: AXPWidgetsCatalog.fileUploader,
161
- options: {
162
- multiple: false,
163
- },
164
- },
165
- },
166
- },
167
- {
168
- name: 'channel',
169
- title: `t("channel", { scope: "${i18n}" })`,
170
- groupId: 'notificationChannel',
171
- schema: {
172
- dataType: 'string',
173
- interface: {
174
- type: AXPWidgetsCatalog.select,
175
- options: {
176
- valueField: 'name',
177
- textField: 'title',
178
- dataSource: [
179
- { title: 'SMS', name: 'sms' },
180
- { title: 'Email', name: 'email' },
181
- { title: 'In App', name: 'inApp' },
182
- ],
183
- direction: 'horizontal',
184
- multiple: false,
185
- },
186
- },
187
- },
188
- validations: [
189
- {
190
- rule: 'required',
191
- },
192
- ],
193
- },
194
- {
195
- name: 'type',
196
- title: `t("type", { scope: "${i18n}" })`,
197
- groupId: 'in-app',
198
- schema: {
199
- dataType: 'string',
200
- interface: {
201
- type: AXPWidgetsCatalog.select,
202
- options: {
203
- valueField: 'name',
204
- textField: 'title',
205
- dataSource: [
206
- { title: 'Notification', name: 'notification' },
207
- { title: 'Promotion', name: 'promotion' },
208
- { title: 'PopUp', name: 'popup' },
209
- ],
210
- direction: 'horizontal',
211
- multiple: false,
212
- },
213
- },
214
- },
215
- },
216
- {
217
- name: 'contentType',
218
- title: `t("contentType", { scope: "${i18n}" })`,
219
- groupId: 'in-app',
154
+ groupId: 'notification',
220
155
  schema: {
221
156
  dataType: 'string',
222
157
  interface: {
223
- type: AXPWidgetsCatalog.select,
224
- options: {
225
- valueField: 'name',
226
- textField: 'title',
227
- dataSource: [
228
- { title: 'Media', name: 'media' },
229
- { title: 'Text', name: 'text' },
230
- ],
231
- direction: 'horizontal',
232
- multiple: false,
233
- },
158
+ type: AXPWidgetsCatalog.richText,
234
159
  },
235
160
  },
236
161
  validations: [
@@ -240,96 +165,251 @@ async function notificationChannelEntityFactory(injector) {
240
165
  ],
241
166
  },
242
167
  {
243
- name: 'shape',
244
- title: `t("shape", { scope: "${i18n}" })`,
245
- groupId: 'in-app',
168
+ name: 'channel',
169
+ title: `t("channel", { scope: "${i18n}" })`,
170
+ groupId: 'notification',
246
171
  schema: {
247
172
  dataType: 'string',
248
173
  interface: {
249
- type: AXPWidgetsCatalog.select,
250
- options: {
251
- valueField: 'name',
252
- textField: 'title',
253
- dataSource: [
254
- { title: 'Circle', name: 'circle' },
255
- { title: 'Square', name: 'square' },
256
- ],
257
- direction: 'horizontal',
258
- multiple: false,
259
- },
174
+ type: AXPWidgetsCatalog.text,
260
175
  },
261
176
  },
262
- validations: [
263
- {
264
- rule: 'required',
265
- },
266
- ],
267
177
  },
268
178
  {
269
- name: 'placement',
270
- title: `t("placement", { scope: "${i18n}" })`,
271
- groupId: 'in-app',
179
+ name: 'user.name',
180
+ title: `t("user.name", { scope: "${i18n}" })`,
181
+ groupId: 'notification',
272
182
  schema: {
273
183
  dataType: 'string',
274
184
  interface: {
275
- type: AXPWidgetsCatalog.select,
276
- options: {
277
- valueField: 'name',
278
- textField: 'title',
279
- dataSource: [
280
- { title: 'Side Menu Footer', name: 'side-menu-footer' },
281
- { title: 'Side Menu Header', name: 'side-menu-header' },
282
- ],
283
- direction: 'horizontal',
284
- multiple: false,
285
- },
185
+ type: AXPWidgetsCatalog.text,
286
186
  },
287
187
  },
288
- validations: [
289
- {
290
- rule: 'required',
291
- },
292
- ],
293
188
  },
294
- {
295
- name: 'pin',
296
- title: `t("pin", { scope: "${i18n}" })`,
297
- groupId: 'in-app',
298
- schema: {
299
- dataType: 'string',
300
- interface: {
301
- type: AXPWidgetsCatalog.checkbox,
302
- },
189
+ ],
190
+ columns: [{ name: 'title' }, { name: 'body' }, { name: 'user.name' }, { name: 'channel' }],
191
+ queries: {
192
+ byKey: {
193
+ execute: async (id) => {
194
+ return new Promise((resolve) => {
195
+ setTimeout(async () => {
196
+ const entity = await dataService.getOne(id);
197
+ resolve(entity);
198
+ }, 500);
199
+ });
303
200
  },
304
- validations: [
305
- {
306
- rule: 'required',
307
- },
308
- ],
201
+ type: AXPEntityQueryType.Single,
309
202
  },
310
- {
311
- name: 'trigger',
312
- title: `t("trigger", { scope: "${i18n}" })`,
313
- groupId: 'notificationChannel',
314
- schema: {
315
- dataType: 'string',
316
- interface: {
317
- type: AXPWidgetsCatalog.cronJob,
318
- },
203
+ list: {
204
+ execute: async (e) => {
205
+ return await dataService.query(e);
319
206
  },
320
- validations: [
321
- {
322
- rule: 'required',
323
- },
324
- ],
207
+ type: AXPEntityQueryType.List,
325
208
  },
326
- ],
327
- columns: [{ name: 'title' }, { name: 'body' }, { name: 'channel' }],
328
- commands: {
329
- create: {
330
- execute: async (data) => {
331
- console.log(data);
332
- const res = await dataService.insertOne(data);
209
+ },
210
+ interfaces: {
211
+ master: {
212
+ single: {
213
+ title: '{{title}}',
214
+ sections: [
215
+ {
216
+ id: 'notification',
217
+ layout: {
218
+ positions: {
219
+ lg: {
220
+ colSpan: 12,
221
+ },
222
+ },
223
+ },
224
+ },
225
+ ],
226
+ properties: [
227
+ {
228
+ name: 'name',
229
+ layout: {
230
+ positions: {
231
+ lg: {
232
+ colSpan: 6,
233
+ },
234
+ },
235
+ },
236
+ },
237
+ {
238
+ name: 'user.name',
239
+ layout: {
240
+ positions: {
241
+ lg: {
242
+ colSpan: 6,
243
+ },
244
+ },
245
+ },
246
+ },
247
+ {
248
+ name: 'title',
249
+ layout: {
250
+ positions: {
251
+ lg: {
252
+ colSpan: 12,
253
+ },
254
+ },
255
+ },
256
+ },
257
+ {
258
+ name: 'body',
259
+ layout: {
260
+ positions: {
261
+ lg: {
262
+ colSpan: 12,
263
+ },
264
+ },
265
+ },
266
+ },
267
+ {
268
+ name: 'channel',
269
+ layout: {
270
+ positions: {
271
+ lg: {
272
+ colSpan: 6,
273
+ },
274
+ },
275
+ },
276
+ },
277
+ ],
278
+ actions: [],
279
+ },
280
+ list: {
281
+ actions: [
282
+ {
283
+ title: 't("detail", { scope: "common" })',
284
+ command: 'open-entity',
285
+ priority: 'primary',
286
+ type: 'view',
287
+ scope: AXPEntityCommandScope.Individual,
288
+ },
289
+ ],
290
+ views: [
291
+ {
292
+ name: 'all',
293
+ title: 't("all", { scope: "common" })',
294
+ fixed: true,
295
+ columns: [],
296
+ conditions: [],
297
+ sorts: [],
298
+ },
299
+ ],
300
+ },
301
+ },
302
+ },
303
+ };
304
+ return entityDef;
305
+ }
306
+
307
+ var notification_entity = /*#__PURE__*/Object.freeze({
308
+ __proto__: null,
309
+ notificationEntityFactory: notificationEntityFactory
310
+ });
311
+
312
+ class AXMNotificationManagementTemplateEntityService extends AXMEntityCrudServiceImpl {
313
+ }
314
+ class AXMNotificationManagementTemplateEntityServiceImpl extends AXMNotificationManagementTemplateEntityService {
315
+ constructor() {
316
+ super(`${RootConfig.module.name}.${RootConfig.entities.template.name}`);
317
+ }
318
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
319
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityServiceImpl }); }
320
+ }
321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityServiceImpl, decorators: [{
322
+ type: Injectable
323
+ }], ctorParameters: () => [] });
324
+
325
+ async function notificationTemplateEntityFactory(injector) {
326
+ const dataService = injector.get(AXMNotificationManagementTemplateEntityService);
327
+ const i18n = RootConfig.config.i18n;
328
+ const entityDef = {
329
+ module: RootConfig.module.name,
330
+ name: RootConfig.entities.template.name,
331
+ source: '',
332
+ title: RootConfig.entities.template.title,
333
+ formats: {
334
+ individual: 't("template",{scope: "notification-management"})',
335
+ plural: 't("template",{scope: "notification-management"})',
336
+ },
337
+ relatedEntities: [
338
+ {
339
+ entity: `${RootConfig.module.name}.${RootConfig.entities.channel.name}`,
340
+ columns: ['title', 'body', 'channel'],
341
+ conditions: [
342
+ {
343
+ name: 'notificationId',
344
+ operator: {
345
+ type: 'equal',
346
+ },
347
+ value: 'id',
348
+ },
349
+ ],
350
+ },
351
+ ],
352
+ groups: [
353
+ {
354
+ id: 'notification',
355
+ title: `t("title", { scope: "common" })`,
356
+ },
357
+ ],
358
+ properties: [
359
+ {
360
+ name: 'name',
361
+ title: `t("name", { scope: "common" })`,
362
+ groupId: 'notification',
363
+ schema: {
364
+ dataType: 'string',
365
+ interface: {
366
+ type: AXPWidgetsCatalog.text,
367
+ },
368
+ },
369
+ validations: [
370
+ {
371
+ rule: 'required',
372
+ },
373
+ ],
374
+ },
375
+ {
376
+ name: 'title',
377
+ title: `t("title", { scope: "common" })`,
378
+ groupId: 'notification',
379
+ schema: {
380
+ dataType: 'string',
381
+ interface: {
382
+ type: AXPWidgetsCatalog.text,
383
+ },
384
+ },
385
+ validations: [
386
+ {
387
+ rule: 'required',
388
+ },
389
+ ],
390
+ },
391
+ {
392
+ name: 'description',
393
+ title: `t("description", { scope: "common" })`,
394
+ groupId: 'notification',
395
+ schema: {
396
+ dataType: 'string',
397
+ interface: {
398
+ type: AXPWidgetsCatalog.text,
399
+ },
400
+ },
401
+ validations: [
402
+ {
403
+ rule: 'required',
404
+ },
405
+ ],
406
+ },
407
+ ],
408
+ columns: [{ name: 'name' }, { name: 'title' }],
409
+ commands: {
410
+ create: {
411
+ execute: async (data) => {
412
+ const res = await dataService.insertOne(data);
333
413
  return { id: res };
334
414
  },
335
415
  },
@@ -363,69 +443,71 @@ async function notificationChannelEntityFactory(injector) {
363
443
  create: {
364
444
  sections: [
365
445
  {
366
- id: 'notificationChannel',
367
- },
368
- {
369
- id: 'in-app',
446
+ id: 'notification',
370
447
  },
371
448
  ],
372
449
  properties: [
373
450
  {
374
- name: 'title',
451
+ name: 'name',
375
452
  layout: {
376
453
  positions: {
377
454
  lg: {
378
- colSpan: 12,
379
- order: 1,
455
+ colSpan: 6,
380
456
  },
381
457
  },
382
458
  },
383
459
  },
384
460
  {
385
- name: 'body',
461
+ name: 'title',
386
462
  layout: {
387
463
  positions: {
388
464
  lg: {
389
- colSpan: 12,
390
- order: 2,
465
+ colSpan: 6,
391
466
  },
392
467
  },
393
468
  },
394
469
  },
395
470
  {
396
- name: 'imageId',
471
+ name: 'description',
397
472
  layout: {
398
473
  positions: {
399
474
  lg: {
400
475
  colSpan: 12,
401
- order: 2,
402
476
  },
403
477
  },
404
478
  },
405
479
  },
480
+ ],
481
+ },
482
+ update: {
483
+ sections: [
484
+ {
485
+ id: 'notification',
486
+ },
487
+ ],
488
+ properties: [
406
489
  {
407
- name: 'template',
490
+ name: 'name',
408
491
  layout: {
409
492
  positions: {
410
493
  lg: {
411
- colSpan: 12,
494
+ colSpan: 6,
412
495
  },
413
496
  },
414
497
  },
415
498
  },
416
499
  {
417
- name: 'trigger',
500
+ name: 'title',
418
501
  layout: {
419
502
  positions: {
420
503
  lg: {
421
- colSpan: 12,
422
- order: 10,
504
+ colSpan: 6,
423
505
  },
424
506
  },
425
507
  },
426
508
  },
427
509
  {
428
- name: 'channel',
510
+ name: 'description',
429
511
  layout: {
430
512
  positions: {
431
513
  lg: {
@@ -434,205 +516,25 @@ async function notificationChannelEntityFactory(injector) {
434
516
  },
435
517
  },
436
518
  },
519
+ ],
520
+ },
521
+ single: {
522
+ title: '{{title}}',
523
+ sections: [
437
524
  {
438
- name: 'type',
525
+ id: 'notification',
439
526
  layout: {
440
527
  positions: {
441
528
  lg: {
442
529
  colSpan: 12,
443
- order: 3,
444
530
  },
445
531
  },
446
532
  },
447
533
  },
534
+ ],
535
+ properties: [
448
536
  {
449
- name: 'contentType',
450
- layout: {
451
- positions: {
452
- lg: {
453
- colSpan: 4,
454
- order: 4,
455
- },
456
- },
457
- },
458
- },
459
- {
460
- name: 'shape',
461
- layout: {
462
- positions: {
463
- lg: {
464
- colSpan: 4,
465
- order: 5,
466
- },
467
- },
468
- },
469
- },
470
- {
471
- name: 'placement',
472
- layout: {
473
- positions: {
474
- lg: {
475
- colSpan: 4,
476
- order: 6,
477
- },
478
- },
479
- },
480
- },
481
- {
482
- name: 'pin',
483
- layout: {
484
- positions: {
485
- lg: {
486
- colSpan: 4,
487
- },
488
- },
489
- },
490
- },
491
- ],
492
- },
493
- update: {
494
- sections: [
495
- {
496
- id: 'notificationChannel',
497
- },
498
- {
499
- id: 'in-app',
500
- },
501
- ],
502
- properties: [
503
- {
504
- name: 'title',
505
- layout: {
506
- positions: {
507
- lg: {
508
- colSpan: 12,
509
- order: 1,
510
- },
511
- },
512
- },
513
- },
514
- {
515
- name: 'body',
516
- layout: {
517
- positions: {
518
- lg: {
519
- colSpan: 12,
520
- order: 2,
521
- },
522
- },
523
- },
524
- },
525
- {
526
- name: 'imageId',
527
- layout: {
528
- positions: {
529
- lg: {
530
- colSpan: 12,
531
- order: 2,
532
- },
533
- },
534
- },
535
- },
536
- {
537
- name: 'template',
538
- layout: {
539
- positions: {
540
- lg: {
541
- colSpan: 12,
542
- },
543
- },
544
- },
545
- },
546
- {
547
- name: 'trigger',
548
- layout: {
549
- positions: {
550
- lg: {
551
- colSpan: 12,
552
- order: 10,
553
- },
554
- },
555
- },
556
- },
557
- {
558
- name: 'channel',
559
- layout: {
560
- positions: {
561
- lg: {
562
- colSpan: 12,
563
- },
564
- },
565
- },
566
- },
567
- {
568
- name: 'type',
569
- layout: {
570
- positions: {
571
- lg: {
572
- colSpan: 12,
573
- order: 3,
574
- },
575
- },
576
- },
577
- },
578
- {
579
- name: 'contentType',
580
- layout: {
581
- positions: {
582
- lg: {
583
- colSpan: 4,
584
- order: 4,
585
- },
586
- },
587
- },
588
- },
589
- {
590
- name: 'shape',
591
- layout: {
592
- positions: {
593
- lg: {
594
- colSpan: 4,
595
- order: 5,
596
- },
597
- },
598
- },
599
- },
600
- {
601
- name: 'placement',
602
- layout: {
603
- positions: {
604
- lg: {
605
- colSpan: 4,
606
- order: 6,
607
- },
608
- },
609
- },
610
- },
611
- {
612
- name: 'pin',
613
- layout: {
614
- positions: {
615
- lg: {
616
- colSpan: 4,
617
- },
618
- },
619
- },
620
- },
621
- ],
622
- },
623
- single: {
624
- title: '{{title}}',
625
- sections: [
626
- {
627
- id: 'notificationChannel',
628
- },
629
- {
630
- id: 'in-app',
631
- },
632
- ],
633
- properties: [
634
- {
635
- name: 'title',
537
+ name: 'name',
636
538
  layout: {
637
539
  positions: {
638
540
  lg: {
@@ -642,7 +544,7 @@ async function notificationChannelEntityFactory(injector) {
642
544
  },
643
545
  },
644
546
  {
645
- name: 'body',
547
+ name: 'title',
646
548
  layout: {
647
549
  positions: {
648
550
  lg: {
@@ -652,107 +554,11 @@ async function notificationChannelEntityFactory(injector) {
652
554
  },
653
555
  },
654
556
  {
655
- name: 'imageId',
656
- layout: {
657
- positions: {
658
- lg: {
659
- colSpan: 12,
660
- order: 2,
661
- },
662
- },
663
- },
664
- },
665
- {
666
- name: 'channel',
667
- layout: {
668
- positions: {
669
- lg: {
670
- colSpan: 12,
671
- },
672
- },
673
- },
674
- },
675
- {
676
- name: 'template',
677
- layout: {
678
- positions: {
679
- lg: {
680
- colSpan: 12,
681
- },
682
- },
683
- },
684
- },
685
- {
686
- name: 'trigger',
687
- layout: {
688
- positions: {
689
- lg: {
690
- colSpan: 12,
691
- order: 10,
692
- },
693
- },
694
- },
695
- },
696
- {
697
- name: 'channel',
698
- layout: {
699
- positions: {
700
- lg: {
701
- colSpan: 12,
702
- },
703
- },
704
- },
705
- },
706
- {
707
- name: 'type',
557
+ name: 'description',
708
558
  layout: {
709
559
  positions: {
710
560
  lg: {
711
561
  colSpan: 12,
712
- order: 3,
713
- },
714
- },
715
- },
716
- },
717
- {
718
- name: 'contentType',
719
- layout: {
720
- positions: {
721
- lg: {
722
- colSpan: 4,
723
- order: 4,
724
- },
725
- },
726
- },
727
- },
728
- {
729
- name: 'shape',
730
- layout: {
731
- positions: {
732
- lg: {
733
- colSpan: 4,
734
- order: 5,
735
- },
736
- },
737
- },
738
- },
739
- {
740
- name: 'placement',
741
- layout: {
742
- positions: {
743
- lg: {
744
- colSpan: 4,
745
- order: 6,
746
- },
747
- },
748
- },
749
- },
750
- {
751
- name: 'pin',
752
- layout: {
753
- positions: {
754
- lg: {
755
- colSpan: 4,
756
562
  },
757
563
  },
758
564
  },
@@ -770,7 +576,7 @@ async function notificationChannelEntityFactory(injector) {
770
576
  scope: AXPEntityCommandScope.TypeLevel,
771
577
  },
772
578
  {
773
- title: 't("deleteItems", { scope: "common" })',
579
+ title: `t("create", { scope: "common" })`,
774
580
  command: 'delete-entity',
775
581
  priority: 'primary',
776
582
  type: 'delete',
@@ -801,72 +607,84 @@ async function notificationChannelEntityFactory(injector) {
801
607
  sorts: [],
802
608
  },
803
609
  ],
804
- },
805
- },
806
- },
807
- };
808
- return entityDef;
809
- }
810
-
811
- var channel_entity = /*#__PURE__*/Object.freeze({
812
- __proto__: null,
813
- notificationChannelEntityFactory: notificationChannelEntityFactory
814
- });
610
+ },
611
+ },
612
+ },
613
+ };
614
+ return entityDef;
615
+ }
616
+
617
+ var template_entity = /*#__PURE__*/Object.freeze({
618
+ __proto__: null,
619
+ notificationTemplateEntityFactory: notificationTemplateEntityFactory
620
+ });
621
+
622
+ class AXMNotificationTemplateEntityModule {
623
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationTemplateEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
624
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationTemplateEntityModule }); }
625
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationTemplateEntityModule, providers: [
626
+ {
627
+ provide: AXMNotificationManagementTemplateEntityService,
628
+ useClass: AXMNotificationManagementTemplateEntityServiceImpl,
629
+ },
630
+ ] }); }
631
+ }
632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationTemplateEntityModule, decorators: [{
633
+ type: NgModule,
634
+ args: [{
635
+ imports: [],
636
+ exports: [],
637
+ declarations: [],
638
+ providers: [
639
+ {
640
+ provide: AXMNotificationManagementTemplateEntityService,
641
+ useClass: AXMNotificationManagementTemplateEntityServiceImpl,
642
+ },
643
+ ],
644
+ }]
645
+ }] });
815
646
 
816
- class AXMNotificationEntityService extends AXMEntityCrudServiceImpl {
647
+ class AXMNotificationManagementChannelEntityService extends AXMEntityCrudServiceImpl {
817
648
  }
818
- class AXMNotificationEntityServiceImpl extends AXMNotificationEntityService {
819
- getList() {
820
- throw new Error('Method not implemented.');
821
- }
822
- markAsRead(payload) {
823
- throw new Error('Method not implemented.');
824
- }
825
- markAllAsRead() {
826
- throw new Error('Method not implemented.');
827
- }
828
- create(payload) {
829
- throw new Error('Method not implemented.');
830
- }
649
+ class AXMNotificationManagementChannelEntityServiceImpl extends AXMNotificationManagementChannelEntityService {
831
650
  constructor() {
832
- super(`${RootConfig.module.name}.${RootConfig.entities.notification.name}`);
651
+ super(`${RootConfig.module.name}.${RootConfig.entities.channel.name}`);
833
652
  }
834
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
835
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityServiceImpl }); }
653
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementChannelEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
654
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementChannelEntityServiceImpl }); }
836
655
  }
837
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityServiceImpl, decorators: [{
656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementChannelEntityServiceImpl, decorators: [{
838
657
  type: Injectable
839
658
  }], ctorParameters: () => [] });
840
659
 
841
- async function notificationEntityFactory(injector) {
842
- const dataService = injector.get(AXMNotificationEntityService);
660
+ async function notificationChannelEntityFactory(injector) {
661
+ const dataService = injector.get(AXMNotificationManagementChannelEntityService);
843
662
  const i18n = RootConfig.config.i18n;
844
663
  const entityDef = {
845
664
  module: RootConfig.module.name,
846
- name: RootConfig.entities.notification.name,
665
+ name: RootConfig.entities.channel.name,
847
666
  source: '',
848
- title: RootConfig.entities.notification.title,
667
+ title: RootConfig.entities.channel.title,
849
668
  formats: {
850
- individual: `t("notifications",{scope: "${i18n}"})`,
851
- plural: `t("notifications",{scope: "notification-management"})`,
669
+ individual: `t("channel", { scope: "${i18n}" })`,
670
+ plural: `t("channels", { scope: "${i18n}" })`,
852
671
  },
853
- relatedEntities: [
672
+ relatedEntities: [],
673
+ groups: [
854
674
  {
855
- entity: 'notification-management.notificationLog',
856
- columns: ['title', 'status'],
675
+ id: 'notificationChannel',
676
+ title: 'Notification Channel',
857
677
  },
858
- ],
859
- groups: [
860
678
  {
861
- id: 'notification',
862
- title: 'Notification',
679
+ id: 'in-app',
680
+ title: 'In App',
863
681
  },
864
682
  ],
865
683
  properties: [
866
684
  {
867
- name: 'name',
868
- title: `t("name", { scope: "${i18n}" })`,
869
- groupId: 'notification',
685
+ name: 'title',
686
+ title: `t("title", { scope: "common" })`,
687
+ groupId: 'notificationChannel',
870
688
  schema: {
871
689
  dataType: 'string',
872
690
  interface: {
@@ -880,25 +698,24 @@ async function notificationEntityFactory(injector) {
880
698
  ],
881
699
  },
882
700
  {
883
- name: 'title',
884
- title: `t("title", { scope: "${i18n}" })`,
885
- groupId: 'notification',
701
+ name: 'template',
702
+ title: `t("template", { scope: "${i18n}" })`,
703
+ groupId: 'notificationChannel',
886
704
  schema: {
887
705
  dataType: 'string',
888
706
  interface: {
889
- type: AXPWidgetsCatalog.text,
707
+ type: AXPWidgetsCatalog.lookup,
708
+ options: {
709
+ entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.template.name}`,
710
+ expose: { source: 'content', target: 'body' },
711
+ },
890
712
  },
891
713
  },
892
- validations: [
893
- {
894
- rule: 'required',
895
- },
896
- ],
897
714
  },
898
715
  {
899
716
  name: 'body',
900
717
  title: `t("body", { scope: "${i18n}" })`,
901
- groupId: 'notification',
718
+ groupId: 'notificationChannel',
902
719
  schema: {
903
720
  dataType: 'string',
904
721
  interface: {
@@ -912,205 +729,138 @@ async function notificationEntityFactory(injector) {
912
729
  ],
913
730
  },
914
731
  {
915
- name: 'channel',
916
- title: `t("channel", { scope: "${i18n}" })`,
917
- groupId: 'notification',
732
+ name: 'imageId',
733
+ title: `t("body", { scope: "${i18n}" })`,
734
+ groupId: 'notificationChannel',
918
735
  schema: {
919
736
  dataType: 'string',
920
737
  interface: {
921
- type: AXPWidgetsCatalog.text,
738
+ type: AXPWidgetsCatalog.fileUploader,
739
+ options: {
740
+ multiple: false,
741
+ },
922
742
  },
923
743
  },
924
744
  },
925
745
  {
926
- name: 'user.name',
927
- title: `t("user.name", { scope: "${i18n}" })`,
928
- groupId: 'notification',
746
+ name: 'channel',
747
+ title: `t("channel", { scope: "${i18n}" })`,
748
+ groupId: 'notificationChannel',
929
749
  schema: {
930
750
  dataType: 'string',
931
751
  interface: {
932
- type: AXPWidgetsCatalog.text,
752
+ type: AXPWidgetsCatalog.select,
753
+ options: {
754
+ valueField: 'name',
755
+ textField: 'title',
756
+ dataSource: [
757
+ { title: 'SMS', name: 'sms' },
758
+ { title: 'Email', name: 'email' },
759
+ { title: 'In App', name: 'inApp' },
760
+ ],
761
+ direction: 'horizontal',
762
+ multiple: false,
763
+ },
933
764
  },
934
765
  },
766
+ validations: [
767
+ {
768
+ rule: 'required',
769
+ },
770
+ ],
935
771
  },
936
- ],
937
- columns: [{ name: 'title' }, { name: 'body' }, { name: 'user.name' }, { name: 'channel' }],
938
- queries: {
939
- byKey: {
940
- execute: async (id) => {
941
- return new Promise((resolve) => {
942
- setTimeout(async () => {
943
- const entity = await dataService.getOne(id);
944
- resolve(entity);
945
- }, 500);
946
- });
947
- },
948
- type: AXPEntityQueryType.Single,
949
- },
950
- list: {
951
- execute: async (e) => {
952
- return await dataService.query(e);
953
- },
954
- type: AXPEntityQueryType.List,
955
- },
956
- },
957
- interfaces: {
958
- master: {
959
- single: {
960
- title: '{{title}}',
961
- sections: [
962
- {
963
- id: 'notification',
964
- layout: {
965
- positions: {
966
- lg: {
967
- colSpan: 12,
968
- },
969
- },
970
- },
971
- },
972
- ],
973
- properties: [
974
- {
975
- name: 'name',
976
- layout: {
977
- positions: {
978
- lg: {
979
- colSpan: 6,
980
- },
981
- },
982
- },
983
- },
984
- {
985
- name: 'user.name',
986
- layout: {
987
- positions: {
988
- lg: {
989
- colSpan: 6,
990
- },
991
- },
992
- },
993
- },
994
- {
995
- name: 'title',
996
- layout: {
997
- positions: {
998
- lg: {
999
- colSpan: 12,
1000
- },
1001
- },
1002
- },
1003
- },
1004
- {
1005
- name: 'body',
1006
- layout: {
1007
- positions: {
1008
- lg: {
1009
- colSpan: 12,
1010
- },
1011
- },
1012
- },
1013
- },
1014
- {
1015
- name: 'channel',
1016
- layout: {
1017
- positions: {
1018
- lg: {
1019
- colSpan: 6,
1020
- },
1021
- },
1022
- },
772
+ {
773
+ name: 'type',
774
+ title: `t("type", { scope: "${i18n}" })`,
775
+ groupId: 'in-app',
776
+ schema: {
777
+ dataType: 'string',
778
+ interface: {
779
+ type: AXPWidgetsCatalog.select,
780
+ options: {
781
+ valueField: 'name',
782
+ textField: 'title',
783
+ dataSource: [
784
+ { title: 'Notification', name: 'notification' },
785
+ { title: 'Promotion', name: 'promotion' },
786
+ { title: 'PopUp', name: 'popup' },
787
+ ],
788
+ direction: 'horizontal',
789
+ multiple: false,
1023
790
  },
1024
- ],
1025
- actions: [],
791
+ },
1026
792
  },
1027
- list: {
1028
- actions: [
1029
- {
1030
- title: 't("detail", { scope: "common" })',
1031
- command: 'open-entity',
1032
- priority: 'primary',
1033
- type: 'view',
1034
- scope: AXPEntityCommandScope.Individual,
1035
- },
1036
- ],
1037
- views: [
1038
- {
1039
- name: 'all',
1040
- title: 't("all", { scope: "common" })',
1041
- fixed: true,
1042
- columns: [],
1043
- conditions: [],
1044
- sorts: [],
793
+ },
794
+ {
795
+ name: 'contentType',
796
+ title: `t("contentType", { scope: "${i18n}" })`,
797
+ groupId: 'in-app',
798
+ schema: {
799
+ dataType: 'string',
800
+ interface: {
801
+ type: AXPWidgetsCatalog.select,
802
+ options: {
803
+ valueField: 'name',
804
+ textField: 'title',
805
+ dataSource: [
806
+ { title: 'Media', name: 'media' },
807
+ { title: 'Text', name: 'text' },
808
+ ],
809
+ direction: 'horizontal',
810
+ multiple: false,
1045
811
  },
1046
- ],
812
+ },
1047
813
  },
1048
- },
1049
- },
1050
- };
1051
- return entityDef;
1052
- }
1053
-
1054
- var notification_entity = /*#__PURE__*/Object.freeze({
1055
- __proto__: null,
1056
- notificationEntityFactory: notificationEntityFactory
1057
- });
1058
-
1059
- class AXMNotificationManagementTemplateEntityService extends AXMEntityCrudServiceImpl {
1060
- }
1061
- class AXMNotificationManagementTemplateEntityServiceImpl extends AXMNotificationManagementTemplateEntityService {
1062
- constructor() {
1063
- super(`${RootConfig.module.name}.${RootConfig.entities.template.name}`);
1064
- }
1065
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1066
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityServiceImpl }); }
1067
- }
1068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityServiceImpl, decorators: [{
1069
- type: Injectable
1070
- }], ctorParameters: () => [] });
1071
-
1072
- async function notificationTemplateEntityFactory(injector) {
1073
- const dataService = injector.get(AXMNotificationManagementTemplateEntityService);
1074
- const i18n = RootConfig.config.i18n;
1075
- const entityDef = {
1076
- module: RootConfig.module.name,
1077
- name: RootConfig.entities.template.name,
1078
- source: '',
1079
- title: RootConfig.entities.template.title,
1080
- formats: {
1081
- individual: 't("template",{scope: "notification-management"})',
1082
- plural: 't("template",{scope: "notification-management"})',
1083
- },
1084
- relatedEntities: [
1085
- {
1086
- entity: `${RootConfig.module.name}.${RootConfig.entities.channel.name}`,
1087
- columns: ['title', 'body', 'channel'],
1088
- conditions: [
814
+ validations: [
1089
815
  {
1090
- name: 'notificationId',
1091
- operator: {
1092
- type: 'equal',
1093
- },
1094
- value: 'id',
816
+ rule: 'required',
1095
817
  },
1096
818
  ],
1097
819
  },
1098
- ],
1099
- groups: [
1100
820
  {
1101
- id: 'notification',
1102
- title: `t("title", { scope: "common" })`,
821
+ name: 'shape',
822
+ title: `t("shape", { scope: "${i18n}" })`,
823
+ groupId: 'in-app',
824
+ schema: {
825
+ dataType: 'string',
826
+ interface: {
827
+ type: AXPWidgetsCatalog.select,
828
+ options: {
829
+ valueField: 'name',
830
+ textField: 'title',
831
+ dataSource: [
832
+ { title: 'Circle', name: 'circle' },
833
+ { title: 'Square', name: 'square' },
834
+ ],
835
+ direction: 'horizontal',
836
+ multiple: false,
837
+ },
838
+ },
839
+ },
840
+ validations: [
841
+ {
842
+ rule: 'required',
843
+ },
844
+ ],
1103
845
  },
1104
- ],
1105
- properties: [
1106
846
  {
1107
- name: 'name',
1108
- title: `t("name", { scope: "common" })`,
1109
- groupId: 'notification',
847
+ name: 'placement',
848
+ title: `t("placement", { scope: "${i18n}" })`,
849
+ groupId: 'in-app',
1110
850
  schema: {
1111
851
  dataType: 'string',
1112
852
  interface: {
1113
- type: AXPWidgetsCatalog.text,
853
+ type: AXPWidgetsCatalog.select,
854
+ options: {
855
+ valueField: 'name',
856
+ textField: 'title',
857
+ dataSource: [
858
+ { title: 'Side Menu Footer', name: 'side-menu-footer' },
859
+ { title: 'Side Menu Header', name: 'side-menu-header' },
860
+ ],
861
+ direction: 'horizontal',
862
+ multiple: false,
863
+ },
1114
864
  },
1115
865
  },
1116
866
  validations: [
@@ -1120,13 +870,13 @@ async function notificationTemplateEntityFactory(injector) {
1120
870
  ],
1121
871
  },
1122
872
  {
1123
- name: 'title',
1124
- title: `t("title", { scope: "common" })`,
1125
- groupId: 'notification',
873
+ name: 'pin',
874
+ title: `t("pin", { scope: "${i18n}" })`,
875
+ groupId: 'in-app',
1126
876
  schema: {
1127
877
  dataType: 'string',
1128
878
  interface: {
1129
- type: AXPWidgetsCatalog.text,
879
+ type: AXPWidgetsCatalog.checkbox,
1130
880
  },
1131
881
  },
1132
882
  validations: [
@@ -1136,13 +886,13 @@ async function notificationTemplateEntityFactory(injector) {
1136
886
  ],
1137
887
  },
1138
888
  {
1139
- name: 'description',
1140
- title: `t("description", { scope: "common" })`,
1141
- groupId: 'notification',
889
+ name: 'trigger',
890
+ title: `t("trigger", { scope: "${i18n}" })`,
891
+ groupId: 'notificationChannel',
1142
892
  schema: {
1143
893
  dataType: 'string',
1144
894
  interface: {
1145
- type: AXPWidgetsCatalog.text,
895
+ type: AXPWidgetsCatalog.cronJob,
1146
896
  },
1147
897
  },
1148
898
  validations: [
@@ -1152,10 +902,11 @@ async function notificationTemplateEntityFactory(injector) {
1152
902
  ],
1153
903
  },
1154
904
  ],
1155
- columns: [{ name: 'name' }, { name: 'title' }],
905
+ columns: [{ name: 'title' }, { name: 'body' }, { name: 'channel' }],
1156
906
  commands: {
1157
907
  create: {
1158
908
  execute: async (data) => {
909
+ console.log(data);
1159
910
  const res = await dataService.insertOne(data);
1160
911
  return { id: res };
1161
912
  },
@@ -1190,32 +941,178 @@ async function notificationTemplateEntityFactory(injector) {
1190
941
  create: {
1191
942
  sections: [
1192
943
  {
1193
- id: 'notification',
944
+ id: 'notificationChannel',
945
+ },
946
+ {
947
+ id: 'in-app',
948
+ },
949
+ ],
950
+ properties: [
951
+ {
952
+ name: 'title',
953
+ layout: {
954
+ positions: {
955
+ lg: {
956
+ colSpan: 12,
957
+ order: 1,
958
+ },
959
+ },
960
+ },
961
+ },
962
+ {
963
+ name: 'body',
964
+ layout: {
965
+ positions: {
966
+ lg: {
967
+ colSpan: 12,
968
+ order: 2,
969
+ },
970
+ },
971
+ },
972
+ },
973
+ {
974
+ name: 'imageId',
975
+ layout: {
976
+ positions: {
977
+ lg: {
978
+ colSpan: 12,
979
+ order: 2,
980
+ },
981
+ },
982
+ },
983
+ },
984
+ {
985
+ name: 'template',
986
+ layout: {
987
+ positions: {
988
+ lg: {
989
+ colSpan: 12,
990
+ },
991
+ },
992
+ },
993
+ },
994
+ {
995
+ name: 'trigger',
996
+ layout: {
997
+ positions: {
998
+ lg: {
999
+ colSpan: 12,
1000
+ order: 10,
1001
+ },
1002
+ },
1003
+ },
1004
+ },
1005
+ {
1006
+ name: 'channel',
1007
+ layout: {
1008
+ positions: {
1009
+ lg: {
1010
+ colSpan: 12,
1011
+ },
1012
+ },
1013
+ },
1014
+ },
1015
+ {
1016
+ name: 'type',
1017
+ layout: {
1018
+ positions: {
1019
+ lg: {
1020
+ colSpan: 12,
1021
+ order: 3,
1022
+ },
1023
+ },
1024
+ },
1025
+ },
1026
+ {
1027
+ name: 'contentType',
1028
+ layout: {
1029
+ positions: {
1030
+ lg: {
1031
+ colSpan: 4,
1032
+ order: 4,
1033
+ },
1034
+ },
1035
+ },
1036
+ },
1037
+ {
1038
+ name: 'shape',
1039
+ layout: {
1040
+ positions: {
1041
+ lg: {
1042
+ colSpan: 4,
1043
+ order: 5,
1044
+ },
1045
+ },
1046
+ },
1047
+ },
1048
+ {
1049
+ name: 'placement',
1050
+ layout: {
1051
+ positions: {
1052
+ lg: {
1053
+ colSpan: 4,
1054
+ order: 6,
1055
+ },
1056
+ },
1057
+ },
1058
+ },
1059
+ {
1060
+ name: 'pin',
1061
+ layout: {
1062
+ positions: {
1063
+ lg: {
1064
+ colSpan: 4,
1065
+ },
1066
+ },
1067
+ },
1068
+ },
1069
+ ],
1070
+ },
1071
+ update: {
1072
+ sections: [
1073
+ {
1074
+ id: 'notificationChannel',
1075
+ },
1076
+ {
1077
+ id: 'in-app',
1194
1078
  },
1195
1079
  ],
1196
1080
  properties: [
1197
1081
  {
1198
- name: 'name',
1082
+ name: 'title',
1199
1083
  layout: {
1200
1084
  positions: {
1201
1085
  lg: {
1202
- colSpan: 6,
1086
+ colSpan: 12,
1087
+ order: 1,
1203
1088
  },
1204
1089
  },
1205
1090
  },
1206
1091
  },
1207
1092
  {
1208
- name: 'title',
1093
+ name: 'body',
1209
1094
  layout: {
1210
1095
  positions: {
1211
1096
  lg: {
1212
- colSpan: 6,
1097
+ colSpan: 12,
1098
+ order: 2,
1213
1099
  },
1214
1100
  },
1215
1101
  },
1216
1102
  },
1217
1103
  {
1218
- name: 'description',
1104
+ name: 'imageId',
1105
+ layout: {
1106
+ positions: {
1107
+ lg: {
1108
+ colSpan: 12,
1109
+ order: 2,
1110
+ },
1111
+ },
1112
+ },
1113
+ },
1114
+ {
1115
+ name: 'template',
1219
1116
  layout: {
1220
1117
  positions: {
1221
1118
  lg: {
@@ -1224,17 +1121,96 @@ async function notificationTemplateEntityFactory(injector) {
1224
1121
  },
1225
1122
  },
1226
1123
  },
1124
+ {
1125
+ name: 'trigger',
1126
+ layout: {
1127
+ positions: {
1128
+ lg: {
1129
+ colSpan: 12,
1130
+ order: 10,
1131
+ },
1132
+ },
1133
+ },
1134
+ },
1135
+ {
1136
+ name: 'channel',
1137
+ layout: {
1138
+ positions: {
1139
+ lg: {
1140
+ colSpan: 12,
1141
+ },
1142
+ },
1143
+ },
1144
+ },
1145
+ {
1146
+ name: 'type',
1147
+ layout: {
1148
+ positions: {
1149
+ lg: {
1150
+ colSpan: 12,
1151
+ order: 3,
1152
+ },
1153
+ },
1154
+ },
1155
+ },
1156
+ {
1157
+ name: 'contentType',
1158
+ layout: {
1159
+ positions: {
1160
+ lg: {
1161
+ colSpan: 4,
1162
+ order: 4,
1163
+ },
1164
+ },
1165
+ },
1166
+ },
1167
+ {
1168
+ name: 'shape',
1169
+ layout: {
1170
+ positions: {
1171
+ lg: {
1172
+ colSpan: 4,
1173
+ order: 5,
1174
+ },
1175
+ },
1176
+ },
1177
+ },
1178
+ {
1179
+ name: 'placement',
1180
+ layout: {
1181
+ positions: {
1182
+ lg: {
1183
+ colSpan: 4,
1184
+ order: 6,
1185
+ },
1186
+ },
1187
+ },
1188
+ },
1189
+ {
1190
+ name: 'pin',
1191
+ layout: {
1192
+ positions: {
1193
+ lg: {
1194
+ colSpan: 4,
1195
+ },
1196
+ },
1197
+ },
1198
+ },
1227
1199
  ],
1228
1200
  },
1229
- update: {
1201
+ single: {
1202
+ title: '{{title}}',
1230
1203
  sections: [
1231
1204
  {
1232
- id: 'notification',
1205
+ id: 'notificationChannel',
1206
+ },
1207
+ {
1208
+ id: 'in-app',
1233
1209
  },
1234
1210
  ],
1235
1211
  properties: [
1236
1212
  {
1237
- name: 'name',
1213
+ name: 'title',
1238
1214
  layout: {
1239
1215
  positions: {
1240
1216
  lg: {
@@ -1244,7 +1220,7 @@ async function notificationTemplateEntityFactory(injector) {
1244
1220
  },
1245
1221
  },
1246
1222
  {
1247
- name: 'title',
1223
+ name: 'body',
1248
1224
  layout: {
1249
1225
  positions: {
1250
1226
  lg: {
@@ -1254,22 +1230,18 @@ async function notificationTemplateEntityFactory(injector) {
1254
1230
  },
1255
1231
  },
1256
1232
  {
1257
- name: 'description',
1233
+ name: 'imageId',
1258
1234
  layout: {
1259
1235
  positions: {
1260
1236
  lg: {
1261
1237
  colSpan: 12,
1238
+ order: 2,
1262
1239
  },
1263
1240
  },
1264
1241
  },
1265
1242
  },
1266
- ],
1267
- },
1268
- single: {
1269
- title: '{{title}}',
1270
- sections: [
1271
1243
  {
1272
- id: 'notification',
1244
+ name: 'channel',
1273
1245
  layout: {
1274
1246
  positions: {
1275
1247
  lg: {
@@ -1278,34 +1250,87 @@ async function notificationTemplateEntityFactory(injector) {
1278
1250
  },
1279
1251
  },
1280
1252
  },
1281
- ],
1282
- properties: [
1283
1253
  {
1284
- name: 'name',
1254
+ name: 'template',
1285
1255
  layout: {
1286
1256
  positions: {
1287
1257
  lg: {
1288
- colSpan: 6,
1258
+ colSpan: 12,
1289
1259
  },
1290
1260
  },
1291
1261
  },
1292
1262
  },
1293
1263
  {
1294
- name: 'title',
1264
+ name: 'trigger',
1295
1265
  layout: {
1296
1266
  positions: {
1297
1267
  lg: {
1298
- colSpan: 6,
1268
+ colSpan: 12,
1269
+ order: 10,
1299
1270
  },
1300
1271
  },
1301
1272
  },
1302
1273
  },
1303
1274
  {
1304
- name: 'description',
1275
+ name: 'channel',
1276
+ layout: {
1277
+ positions: {
1278
+ lg: {
1279
+ colSpan: 12,
1280
+ },
1281
+ },
1282
+ },
1283
+ },
1284
+ {
1285
+ name: 'type',
1305
1286
  layout: {
1306
1287
  positions: {
1307
1288
  lg: {
1308
1289
  colSpan: 12,
1290
+ order: 3,
1291
+ },
1292
+ },
1293
+ },
1294
+ },
1295
+ {
1296
+ name: 'contentType',
1297
+ layout: {
1298
+ positions: {
1299
+ lg: {
1300
+ colSpan: 4,
1301
+ order: 4,
1302
+ },
1303
+ },
1304
+ },
1305
+ },
1306
+ {
1307
+ name: 'shape',
1308
+ layout: {
1309
+ positions: {
1310
+ lg: {
1311
+ colSpan: 4,
1312
+ order: 5,
1313
+ },
1314
+ },
1315
+ },
1316
+ },
1317
+ {
1318
+ name: 'placement',
1319
+ layout: {
1320
+ positions: {
1321
+ lg: {
1322
+ colSpan: 4,
1323
+ order: 6,
1324
+ },
1325
+ },
1326
+ },
1327
+ },
1328
+ {
1329
+ name: 'pin',
1330
+ layout: {
1331
+ positions: {
1332
+ lg: {
1333
+ colSpan: 4,
1309
1334
  },
1310
1335
  },
1311
1336
  },
@@ -1323,7 +1348,7 @@ async function notificationTemplateEntityFactory(injector) {
1323
1348
  scope: AXPEntityCommandScope.TypeLevel,
1324
1349
  },
1325
1350
  {
1326
- title: `t("create", { scope: "common" })`,
1351
+ title: 't("deleteItems", { scope: "common" })',
1327
1352
  command: 'delete-entity',
1328
1353
  priority: 'primary',
1329
1354
  type: 'delete',
@@ -1361,22 +1386,22 @@ async function notificationTemplateEntityFactory(injector) {
1361
1386
  return entityDef;
1362
1387
  }
1363
1388
 
1364
- var template_entity = /*#__PURE__*/Object.freeze({
1389
+ var channel_entity = /*#__PURE__*/Object.freeze({
1365
1390
  __proto__: null,
1366
- notificationTemplateEntityFactory: notificationTemplateEntityFactory
1391
+ notificationChannelEntityFactory: notificationChannelEntityFactory
1367
1392
  });
1368
1393
 
1369
- class AXMNotificationManagementTemplateEntityModule {
1370
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1371
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityModule }); }
1372
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityModule, providers: [
1394
+ class AXMNotificationEntityModule {
1395
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1396
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityModule }); }
1397
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityModule, providers: [
1373
1398
  {
1374
- provide: AXMNotificationManagementTemplateEntityService,
1375
- useClass: AXMNotificationManagementTemplateEntityServiceImpl,
1399
+ provide: AXMNotificationEntityService,
1400
+ useClass: AXMNotificationEntityServiceImpl,
1376
1401
  },
1377
1402
  ] }); }
1378
1403
  }
1379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementTemplateEntityModule, decorators: [{
1404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationEntityModule, decorators: [{
1380
1405
  type: NgModule,
1381
1406
  args: [{
1382
1407
  imports: [],
@@ -1384,13 +1409,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
1384
1409
  declarations: [],
1385
1410
  providers: [
1386
1411
  {
1387
- provide: AXMNotificationManagementTemplateEntityService,
1388
- useClass: AXMNotificationManagementTemplateEntityServiceImpl,
1412
+ provide: AXMNotificationEntityService,
1413
+ useClass: AXMNotificationEntityServiceImpl,
1414
+ },
1415
+ ],
1416
+ }]
1417
+ }] });
1418
+
1419
+ class AXMNotificationChannelEntityModule {
1420
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationChannelEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1421
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationChannelEntityModule }); }
1422
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationChannelEntityModule, providers: [
1423
+ {
1424
+ provide: AXMNotificationManagementChannelEntityService,
1425
+ useClass: AXMNotificationManagementChannelEntityServiceImpl,
1426
+ },
1427
+ ] }); }
1428
+ }
1429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationChannelEntityModule, decorators: [{
1430
+ type: NgModule,
1431
+ args: [{
1432
+ imports: [],
1433
+ exports: [],
1434
+ declarations: [],
1435
+ providers: [
1436
+ {
1437
+ provide: AXMNotificationManagementChannelEntityService,
1438
+ useClass: AXMNotificationManagementChannelEntityServiceImpl,
1389
1439
  },
1390
1440
  ],
1391
1441
  }]
1392
1442
  }] });
1393
1443
 
1444
+ // Entity Services
1445
+
1394
1446
  class AXMMenuProvider {
1395
1447
  constructor() {
1396
1448
  this.entityService = inject(AXPEntityService);
@@ -2511,25 +2563,17 @@ function routesFactory() {
2511
2563
  }
2512
2564
  class AXMNotificationManagementModule {
2513
2565
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2514
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementModule, imports: [i1.AXPComponentSlotModule, i2$4.AXPLayoutBuilderModule] }); }
2566
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementModule, imports: [i1.AXPComponentSlotModule, i2$4.AXPLayoutBuilderModule,
2567
+ // Entity Modules
2568
+ AXMNotificationEntityModule,
2569
+ AXMNotificationTemplateEntityModule,
2570
+ AXMNotificationChannelEntityModule] }); }
2515
2571
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementModule, providers: [
2516
2572
  {
2517
2573
  provide: ROUTES,
2518
2574
  multi: true,
2519
2575
  useFactory: routesFactory,
2520
2576
  },
2521
- {
2522
- provide: AXMNotificationManagementTemplateEntityService,
2523
- useClass: AXMNotificationManagementTemplateEntityServiceImpl,
2524
- },
2525
- {
2526
- provide: AXMNotificationManagementChannelEntityService,
2527
- useClass: AXMNotificationManagementChannelEntityServiceImpl,
2528
- },
2529
- {
2530
- provide: AXMNotificationEntityService,
2531
- useClass: AXMNotificationEntityServiceImpl,
2532
- },
2533
2577
  {
2534
2578
  provide: AXP_ENTITY_DEFINITION_LOADER,
2535
2579
  useClass: AXMEntityLoader,
@@ -2564,7 +2608,11 @@ class AXMNotificationManagementModule {
2564
2608
  }),
2565
2609
  AXPLayoutBuilderModule.forChild({
2566
2610
  widgets: [AXPMyNotificationDashboardWidget],
2567
- })] }); }
2611
+ }),
2612
+ // Entity Modules
2613
+ AXMNotificationEntityModule,
2614
+ AXMNotificationTemplateEntityModule,
2615
+ AXMNotificationChannelEntityModule] }); }
2568
2616
  }
2569
2617
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotificationManagementModule, decorators: [{
2570
2618
  type: NgModule,
@@ -2581,6 +2629,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
2581
2629
  AXPLayoutBuilderModule.forChild({
2582
2630
  widgets: [AXPMyNotificationDashboardWidget],
2583
2631
  }),
2632
+ // Entity Modules
2633
+ AXMNotificationEntityModule,
2634
+ AXMNotificationTemplateEntityModule,
2635
+ AXMNotificationChannelEntityModule,
2584
2636
  ],
2585
2637
  exports: [],
2586
2638
  declarations: [],
@@ -2590,18 +2642,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
2590
2642
  multi: true,
2591
2643
  useFactory: routesFactory,
2592
2644
  },
2593
- {
2594
- provide: AXMNotificationManagementTemplateEntityService,
2595
- useClass: AXMNotificationManagementTemplateEntityServiceImpl,
2596
- },
2597
- {
2598
- provide: AXMNotificationManagementChannelEntityService,
2599
- useClass: AXMNotificationManagementChannelEntityServiceImpl,
2600
- },
2601
- {
2602
- provide: AXMNotificationEntityService,
2603
- useClass: AXMNotificationEntityServiceImpl,
2604
- },
2605
2645
  {
2606
2646
  provide: AXP_ENTITY_DEFINITION_LOADER,
2607
2647
  useClass: AXMEntityLoader,
@@ -3255,5 +3295,5 @@ async function notificationLogEntityFactory(injector) {
3255
3295
  * Generated bundle index. Do not edit.
3256
3296
  */
3257
3297
 
3258
- export { AXMMenuProvider, AXMNotificationConnectorService, AXMNotificationEntityService, AXMNotificationEntityServiceImpl, AXMNotificationManagementChannelEntityService, AXMNotificationManagementChannelEntityServiceImpl, AXMNotificationManagementModule, AXMNotificationManagementTemplateEntityModule, AXMNotificationManagementTemplateEntityService, AXMNotificationManagementTemplateEntityServiceImpl, AXMOsNotificationService, AXMSettingProvider, AXPMyNotificationDashboardWidget, AXPNotificationDefinitionProvider, AXPNotificationDefinitionProviderDefault, AXPNotificationDefinitionService, AXPNotificationWidgetViewComponent, AXP_NOTIFICATION_DEFINITION_PROVIDER, RootConfig, myNotificationEntityFactory, notificationChannelEntityFactory, notificationEntityFactory, notificationLogEntityFactory, notificationTemplateEntityFactory };
3298
+ export { AXMMenuProvider, AXMNotificationChannelEntityModule, AXMNotificationConnectorService, AXMNotificationEntityModule, AXMNotificationEntityService, AXMNotificationEntityServiceImpl, AXMNotificationManagementChannelEntityService, AXMNotificationManagementChannelEntityServiceImpl, AXMNotificationManagementModule, AXMNotificationManagementTemplateEntityService, AXMNotificationManagementTemplateEntityServiceImpl, AXMNotificationTemplateEntityModule, AXMOsNotificationService, AXMSettingProvider, AXPMyNotificationDashboardWidget, AXPNotificationDefinitionProvider, AXPNotificationDefinitionProviderDefault, AXPNotificationDefinitionService, AXPNotificationWidgetViewComponent, AXP_NOTIFICATION_DEFINITION_PROVIDER, RootConfig, myNotificationEntityFactory, notificationChannelEntityFactory, notificationEntityFactory, notificationLogEntityFactory, notificationTemplateEntityFactory };
3259
3299
  //# sourceMappingURL=acorex-modules-notification-management.mjs.map