@acorex/modules 20.2.3 → 20.2.4-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/auth/index.d.ts +1 -0
  2. package/common/index.d.ts +30 -19
  3. package/contact-management/index.d.ts +0 -6
  4. package/conversation/index.d.ts +8 -0
  5. package/dashboard-management/index.d.ts +3 -79
  6. package/data-management/index.d.ts +2 -69
  7. package/document-management/index.d.ts +47 -29
  8. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BBGqLgJC.mjs → acorex-modules-auth-acorex-modules-auth-C3KbvhSU.mjs} +18 -14
  9. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BBGqLgJC.mjs.map → acorex-modules-auth-acorex-modules-auth-C3KbvhSU.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-auth-app-chooser.component-B7Nv62Jj.mjs → acorex-modules-auth-app-chooser.component-1rAktuKq.mjs} +2 -2
  11. package/fesm2022/{acorex-modules-auth-app-chooser.component-B7Nv62Jj.mjs.map → acorex-modules-auth-app-chooser.component-1rAktuKq.mjs.map} +1 -1
  12. package/fesm2022/{acorex-modules-auth-login.module-DmEDBKqL.mjs → acorex-modules-auth-login.module-Bq2itSg_.mjs} +4 -4
  13. package/fesm2022/{acorex-modules-auth-login.module-DmEDBKqL.mjs.map → acorex-modules-auth-login.module-Bq2itSg_.mjs.map} +1 -1
  14. package/fesm2022/{acorex-modules-auth-master.layout-B8L2FPDN.mjs → acorex-modules-auth-master.layout-DONbu77t.mjs} +2 -2
  15. package/fesm2022/{acorex-modules-auth-master.layout-B8L2FPDN.mjs.map → acorex-modules-auth-master.layout-DONbu77t.mjs.map} +1 -1
  16. package/fesm2022/{acorex-modules-auth-oauth-callback.component-BRJu8jom.mjs → acorex-modules-auth-oauth-callback.component-BgzmfTlY.mjs} +2 -2
  17. package/fesm2022/{acorex-modules-auth-oauth-callback.component-BRJu8jom.mjs.map → acorex-modules-auth-oauth-callback.component-BgzmfTlY.mjs.map} +1 -1
  18. package/fesm2022/{acorex-modules-auth-password.component-Bh0uhx6-.mjs → acorex-modules-auth-password.component-B9LqFrEG.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-auth-password.component-Bh0uhx6-.mjs.map → acorex-modules-auth-password.component-B9LqFrEG.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-auth-password.component-FNLwhWMe.mjs → acorex-modules-auth-password.component-BuGTsfLH.mjs} +3 -3
  21. package/fesm2022/acorex-modules-auth-password.component-BuGTsfLH.mjs.map +1 -0
  22. package/fesm2022/{acorex-modules-auth-routes-xqc264U-.mjs → acorex-modules-auth-routes-833kPM6o.mjs} +2 -2
  23. package/fesm2022/{acorex-modules-auth-routes-xqc264U-.mjs.map → acorex-modules-auth-routes-833kPM6o.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-two-factor.module-C8jrenEW.mjs → acorex-modules-auth-two-factor.module-BS1Pcbxp.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-auth-two-factor.module-C8jrenEW.mjs.map → acorex-modules-auth-two-factor.module-BS1Pcbxp.mjs.map} +1 -1
  26. package/fesm2022/acorex-modules-auth-user-sessions.component-BXHfWAbP.mjs +137 -0
  27. package/fesm2022/acorex-modules-auth-user-sessions.component-BXHfWAbP.mjs.map +1 -0
  28. package/fesm2022/acorex-modules-auth.mjs +1 -1
  29. package/fesm2022/acorex-modules-calendar-management.mjs +12 -40
  30. package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
  31. package/fesm2022/acorex-modules-common-manage-extra-properties-popup.component-BgXwb8Su.mjs +71 -0
  32. package/fesm2022/acorex-modules-common-manage-extra-properties-popup.component-BgXwb8Su.mjs.map +1 -0
  33. package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs +47 -0
  34. package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs.map +1 -0
  35. package/fesm2022/{acorex-modules-common-search-popup.component-39U0-TIj.mjs → acorex-modules-common-search-popup.component-BSQyjDKA.mjs} +8 -8
  36. package/fesm2022/{acorex-modules-common-search-popup.component-39U0-TIj.mjs.map → acorex-modules-common-search-popup.component-BSQyjDKA.mjs.map} +1 -1
  37. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs → acorex-modules-common-timeline-version-history-popup.component-ByAc4Yp9.mjs} +5 -5
  38. package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs.map → acorex-modules-common-timeline-version-history-popup.component-ByAc4Yp9.mjs.map} +1 -1
  39. package/fesm2022/acorex-modules-common.mjs +1037 -328
  40. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  41. package/fesm2022/{acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs → acorex-modules-contact-management-contact-method.entity-DR6V9Nox.mjs} +15 -41
  42. package/fesm2022/acorex-modules-contact-management-contact-method.entity-DR6V9Nox.mjs.map +1 -0
  43. package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs → acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs} +13 -90
  44. package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-D75qsDor.mjs.map +1 -0
  45. package/fesm2022/acorex-modules-contact-management.mjs +793 -1
  46. package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
  47. package/fesm2022/acorex-modules-content-management.mjs +59 -447
  48. package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
  49. package/fesm2022/acorex-modules-conversation.mjs +199 -24
  50. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  51. package/fesm2022/acorex-modules-dashboard-management.mjs +35 -331
  52. package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
  53. package/fesm2022/acorex-modules-data-management.mjs +157 -1006
  54. package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
  55. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BvIGh15O.mjs → acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs} +871 -266
  56. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs.map +1 -0
  57. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-ClgS3Q8D.mjs → acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-ClgS3Q8D.mjs.map → acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs.map} +1 -1
  59. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BWMANjYL.mjs → acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs} +2 -2
  60. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BWMANjYL.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs.map} +1 -1
  61. package/fesm2022/{acorex-modules-document-management-details-view.component-BmJB8bb8.mjs → acorex-modules-document-management-details-view.component-7OR6bXr-.mjs} +2 -2
  62. package/fesm2022/{acorex-modules-document-management-details-view.component-BmJB8bb8.mjs.map → acorex-modules-document-management-details-view.component-7OR6bXr-.mjs.map} +1 -1
  63. package/fesm2022/acorex-modules-document-management-document-send-to-review-popup.component-CtpLvPIr.mjs +116 -0
  64. package/fesm2022/acorex-modules-document-management-document-send-to-review-popup.component-CtpLvPIr.mjs.map +1 -0
  65. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs → acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs} +42 -2
  66. package/fesm2022/acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs.map +1 -0
  67. package/fesm2022/{acorex-modules-document-management-drive-choose.component-DoUkm43Y.mjs → acorex-modules-document-management-drive-choose.component-B66hegSh.mjs} +2 -2
  68. package/fesm2022/{acorex-modules-document-management-drive-choose.component-DoUkm43Y.mjs.map → acorex-modules-document-management-drive-choose.component-B66hegSh.mjs.map} +1 -1
  69. package/fesm2022/{acorex-modules-document-management-drive.component-R1V4W9u3.mjs → acorex-modules-document-management-drive.component-DZhd1DUn.mjs} +2 -2
  70. package/fesm2022/{acorex-modules-document-management-drive.component-R1V4W9u3.mjs.map → acorex-modules-document-management-drive.component-DZhd1DUn.mjs.map} +1 -1
  71. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-C-9UNa_X.mjs → acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs} +2 -2
  72. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-C-9UNa_X.mjs.map → acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs.map} +1 -1
  73. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DL3PEFfv.mjs → acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs} +2 -2
  74. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DL3PEFfv.mjs.map → acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs.map} +1 -1
  75. package/fesm2022/{acorex-modules-document-management-list-view.component-BGUDmglV.mjs → acorex-modules-document-management-list-view.component-oDeeGScM.mjs} +2 -2
  76. package/fesm2022/{acorex-modules-document-management-list-view.component-BGUDmglV.mjs.map → acorex-modules-document-management-list-view.component-oDeeGScM.mjs.map} +1 -1
  77. package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-BZu8EbTh.mjs → acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs} +7 -7
  78. package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs.map +1 -0
  79. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-Cbwf5Ved.mjs → acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs} +2 -2
  80. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-Cbwf5Ved.mjs.map → acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DXiQj-Hb.mjs → acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs} +2 -2
  82. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DXiQj-Hb.mjs.map → acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs.map} +1 -1
  83. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-C8RZC3TM.mjs → acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs} +2 -2
  84. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-C8RZC3TM.mjs.map → acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs.map} +1 -1
  85. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-B70rSvao.mjs → acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs} +2 -2
  86. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-B70rSvao.mjs.map → acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs.map} +1 -1
  87. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  88. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-CeQnu6WW.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-COVNekIY.mjs} +36 -86
  89. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-COVNekIY.mjs.map +1 -0
  90. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CfOa446m.mjs → acorex-modules-form-template-management-permission-definition.provider-BEkbbQH2.mjs} +2 -2
  91. package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CfOa446m.mjs.map → acorex-modules-form-template-management-permission-definition.provider-BEkbbQH2.mjs.map} +1 -1
  92. package/fesm2022/{acorex-modules-form-template-management-settings.provider-hLlHnm-I.mjs → acorex-modules-form-template-management-settings.provider-DSI7cmrW.mjs} +2 -2
  93. package/fesm2022/{acorex-modules-form-template-management-settings.provider-hLlHnm-I.mjs.map → acorex-modules-form-template-management-settings.provider-DSI7cmrW.mjs.map} +1 -1
  94. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-bxYZqmYR.mjs → acorex-modules-form-template-management-template-picker.component-5n_kQMuQ.mjs} +6 -5
  95. package/fesm2022/acorex-modules-form-template-management-template-picker.component-5n_kQMuQ.mjs.map +1 -0
  96. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-D_Ys5kRT.mjs → acorex-modules-form-template-management-template-widget-edit.component-BtCYeGB-.mjs} +2 -2
  97. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-D_Ys5kRT.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BtCYeGB-.mjs.map} +1 -1
  98. package/fesm2022/{acorex-modules-form-template-management-template.entity-CvlwS8TY.mjs → acorex-modules-form-template-management-template.entity-Cm-AVAF_.mjs} +23 -97
  99. package/fesm2022/acorex-modules-form-template-management-template.entity-Cm-AVAF_.mjs.map +1 -0
  100. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CE13nuke.mjs → acorex-modules-form-template-management-viewer-popup.component-C8TC42DL.mjs} +2 -2
  101. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CE13nuke.mjs.map → acorex-modules-form-template-management-viewer-popup.component-C8TC42DL.mjs.map} +1 -1
  102. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  103. package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-8iEAzfh5.mjs → acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs} +5 -11
  104. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs.map +1 -0
  105. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BiJX9lxr.mjs → acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs} +2 -2
  106. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-BiJX9lxr.mjs.map → acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs.map} +1 -1
  107. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  108. package/fesm2022/acorex-modules-identifier-management.mjs +81 -39
  109. package/fesm2022/acorex-modules-identifier-management.mjs.map +1 -1
  110. package/fesm2022/acorex-modules-location-management.mjs +20 -32
  111. package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
  112. package/fesm2022/acorex-modules-log-management.mjs +1 -2
  113. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  114. package/fesm2022/acorex-modules-meeting-management-meeting-publish-popup.component-PcBFprq3.mjs +121 -0
  115. package/fesm2022/acorex-modules-meeting-management-meeting-publish-popup.component-PcBFprq3.mjs.map +1 -0
  116. package/fesm2022/acorex-modules-meeting-management.mjs +2897 -0
  117. package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -0
  118. package/fesm2022/acorex-modules-notification-management-notification-page.component-BUslAF8w.mjs +855 -0
  119. package/fesm2022/acorex-modules-notification-management-notification-page.component-BUslAF8w.mjs.map +1 -0
  120. package/fesm2022/acorex-modules-notification-management.mjs +151 -132
  121. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  122. package/fesm2022/{acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs → acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs} +14 -42
  123. package/fesm2022/acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs.map +1 -0
  124. package/fesm2022/{acorex-modules-organization-management-chart.entity-UAn44WCP.mjs → acorex-modules-organization-management-chart.entity-8J9I9lgq.mjs} +14 -42
  125. package/fesm2022/acorex-modules-organization-management-chart.entity-8J9I9lgq.mjs.map +1 -0
  126. package/fesm2022/{acorex-modules-organization-management-company.entity-D1A1HSkC.mjs → acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs} +14 -42
  127. package/fesm2022/acorex-modules-organization-management-company.entity-BBNM-Ihr.mjs.map +1 -0
  128. package/fesm2022/{acorex-modules-organization-management-department.entity-BxCyXNtv.mjs → acorex-modules-organization-management-department.entity-BbBrK4BN.mjs} +14 -42
  129. package/fesm2022/acorex-modules-organization-management-department.entity-BbBrK4BN.mjs.map +1 -0
  130. package/fesm2022/{acorex-modules-organization-management-division.entity-DzQT2jpz.mjs → acorex-modules-organization-management-division.entity-DdX7LcCU.mjs} +14 -42
  131. package/fesm2022/acorex-modules-organization-management-division.entity-DdX7LcCU.mjs.map +1 -0
  132. package/fesm2022/{acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs → acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs} +166 -99
  133. package/fesm2022/acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs.map +1 -0
  134. package/fesm2022/{acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs → acorex-modules-organization-management-employment-type.entity-Dw3TLMtD.mjs} +14 -42
  135. package/fesm2022/acorex-modules-organization-management-employment-type.entity-Dw3TLMtD.mjs.map +1 -0
  136. package/fesm2022/{acorex-modules-organization-management-role.entity-CruQeObl.mjs → acorex-modules-organization-management-position.entity-DT7EyvrR.mjs} +96 -79
  137. package/fesm2022/acorex-modules-organization-management-position.entity-DT7EyvrR.mjs.map +1 -0
  138. package/fesm2022/{acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs → acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs} +19 -91
  139. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DpUTLjdp.mjs.map +1 -0
  140. package/fesm2022/{acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs → acorex-modules-organization-management-role.entity-BdjgFsgo.mjs} +68 -51
  141. package/fesm2022/acorex-modules-organization-management-role.entity-BdjgFsgo.mjs.map +1 -0
  142. package/fesm2022/{acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs → acorex-modules-organization-management-skill.entity-O1453j6I.mjs} +14 -105
  143. package/fesm2022/acorex-modules-organization-management-skill.entity-O1453j6I.mjs.map +1 -0
  144. package/fesm2022/{acorex-modules-organization-management-team.entity-DMCfAZsr.mjs → acorex-modules-organization-management-team.entity-DkRLWl0u.mjs} +13 -32
  145. package/fesm2022/acorex-modules-organization-management-team.entity-DkRLWl0u.mjs.map +1 -0
  146. package/fesm2022/acorex-modules-organization-management.mjs +34 -254
  147. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  148. package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-B8X8tXFw.mjs → acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs} +11 -21
  149. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs.map +1 -0
  150. package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-b8aNBCpT.mjs → acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs} +20 -19
  151. package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs.map +1 -0
  152. package/fesm2022/{acorex-modules-party-management-party-identifier.entity-B_5MSDF1.mjs → acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs} +16 -17
  153. package/fesm2022/acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs.map +1 -0
  154. package/fesm2022/{acorex-modules-party-management-party-relationship.entity-CLAAuCde.mjs → acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs} +9 -14
  155. package/fesm2022/acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs.map +1 -0
  156. package/fesm2022/{acorex-modules-party-management-party-role.entity-C5BeakjX.mjs → acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs} +14 -17
  157. package/fesm2022/acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs.map +1 -0
  158. package/fesm2022/{acorex-modules-party-management-party.entity-Blwg8o3o.mjs → acorex-modules-party-management-party.entity-BwAAZRJc.mjs} +45 -45
  159. package/fesm2022/acorex-modules-party-management-party.entity-BwAAZRJc.mjs.map +1 -0
  160. package/fesm2022/acorex-modules-party-management.mjs +1 -1
  161. package/fesm2022/acorex-modules-platform-management.mjs +3 -3
  162. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  163. package/fesm2022/acorex-modules-project-management.mjs +157 -144
  164. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  165. package/fesm2022/{acorex-modules-report-management-report-create-root.component-CPR6H1R1.mjs → acorex-modules-report-management-report-create-root.component-L-7aG8op.mjs} +2 -2
  166. package/fesm2022/acorex-modules-report-management-report-create-root.component-L-7aG8op.mjs.map +1 -0
  167. package/fesm2022/acorex-modules-report-management.mjs +57 -58
  168. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  169. package/fesm2022/acorex-modules-scheduler-job-management.mjs +6 -7
  170. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  171. package/fesm2022/acorex-modules-security-management.mjs +12 -10
  172. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  173. package/fesm2022/{acorex-modules-settings-management-setting-page.component-BWXHxXwS.mjs → acorex-modules-settings-management-setting-page.component-D-NKWNvS.mjs} +11 -1
  174. package/fesm2022/acorex-modules-settings-management-setting-page.component-D-NKWNvS.mjs.map +1 -0
  175. package/fesm2022/acorex-modules-settings-management.mjs +1 -1
  176. package/fesm2022/{acorex-modules-workflow-management-task-board.page-2UTqXn3s.mjs → acorex-modules-task-management-task-board.page-BBbHu2jz.mjs} +314 -69
  177. package/fesm2022/acorex-modules-task-management-task-board.page-BBbHu2jz.mjs.map +1 -0
  178. package/fesm2022/acorex-modules-task-management.mjs +3471 -2888
  179. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  180. package/fesm2022/acorex-modules-text-template-management.mjs +4 -6
  181. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  182. package/fesm2022/acorex-modules-training-management.mjs +35 -35
  183. package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
  184. package/fesm2022/acorex-modules-workflow-management.mjs +39 -1
  185. package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
  186. package/form-template-management/index.d.ts +8 -31
  187. package/identifier-management/index.d.ts +15 -16
  188. package/meeting-management/README.md +29 -0
  189. package/meeting-management/index.d.ts +248 -0
  190. package/notification-management/index.d.ts +6 -4
  191. package/organization-management/index.d.ts +3 -111
  192. package/package.json +5 -1
  193. package/task-management/README.md +1 -1
  194. package/task-management/index.d.ts +109 -3
  195. package/workflow-management/index.d.ts +4 -33
  196. package/fesm2022/acorex-modules-auth-password.component-FNLwhWMe.mjs.map +0 -1
  197. package/fesm2022/acorex-modules-auth-user-sessions.component-Cu1SCNnF.mjs +0 -135
  198. package/fesm2022/acorex-modules-auth-user-sessions.component-Cu1SCNnF.mjs.map +0 -1
  199. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs +0 -863
  200. package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs.map +0 -1
  201. package/fesm2022/acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs.map +0 -1
  202. package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs +0 -680
  203. package/fesm2022/acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs.map +0 -1
  204. package/fesm2022/acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs.map +0 -1
  205. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BvIGh15O.mjs.map +0 -1
  206. package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs.map +0 -1
  207. package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BZu8EbTh.mjs.map +0 -1
  208. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-CeQnu6WW.mjs.map +0 -1
  209. package/fesm2022/acorex-modules-form-template-management-category.entity-DmrE2Pfz.mjs +0 -245
  210. package/fesm2022/acorex-modules-form-template-management-category.entity-DmrE2Pfz.mjs.map +0 -1
  211. package/fesm2022/acorex-modules-form-template-management-template-picker.component-bxYZqmYR.mjs.map +0 -1
  212. package/fesm2022/acorex-modules-form-template-management-template.entity-CvlwS8TY.mjs.map +0 -1
  213. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-8iEAzfh5.mjs.map +0 -1
  214. package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +0 -1
  215. package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +0 -1
  216. package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +0 -1
  217. package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +0 -1
  218. package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +0 -1
  219. package/fesm2022/acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs.map +0 -1
  220. package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +0 -1
  221. package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs +0 -305
  222. package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +0 -1
  223. package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs +0 -526
  224. package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +0 -1
  225. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +0 -1
  226. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs +0 -338
  227. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +0 -1
  228. package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +0 -1
  229. package/fesm2022/acorex-modules-organization-management-role.entity-CruQeObl.mjs.map +0 -1
  230. package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs +0 -305
  231. package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +0 -1
  232. package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +0 -1
  233. package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +0 -1
  234. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-B8X8tXFw.mjs.map +0 -1
  235. package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-b8aNBCpT.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-party-management-party-identifier.entity-B_5MSDF1.mjs.map +0 -1
  237. package/fesm2022/acorex-modules-party-management-party-relationship.entity-CLAAuCde.mjs.map +0 -1
  238. package/fesm2022/acorex-modules-party-management-party-role.entity-C5BeakjX.mjs.map +0 -1
  239. package/fesm2022/acorex-modules-party-management-party.entity-Blwg8o3o.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-report-management-report-create-root.component-CPR6H1R1.mjs.map +0 -1
  241. package/fesm2022/acorex-modules-settings-management-setting-page.component-BWXHxXwS.mjs.map +0 -1
  242. package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-BfE17ZXY.mjs +0 -244
  243. package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-BfE17ZXY.mjs.map +0 -1
  244. package/fesm2022/acorex-modules-workflow-management-task-board.page-2UTqXn3s.mjs.map +0 -1
@@ -85,6 +85,11 @@ class AXMMenuProvider {
85
85
  text: `t('module-name', {scope:"${scope}"})`,
86
86
  icon: module.icon,
87
87
  name: 'content-management-menu',
88
+ data: {
89
+ requiredPermission: [
90
+ 'platform'
91
+ ],
92
+ },
88
93
  children: [
89
94
  {
90
95
  text: RootConfig.entities.promotion.title,
@@ -93,13 +98,13 @@ class AXMMenuProvider {
93
98
  priority: 1,
94
99
  name: 'content-management-promotion-menu-item'
95
100
  },
96
- {
97
- text: RootConfig.entities.glossary?.title,
98
- path: this.entityService.createPath(module.name, RootConfig.entities.glossary?.name),
99
- icon: RootConfig.entities.glossary?.icon,
100
- priority: 2,
101
- name: 'content-management-glossary-menu-item'
102
- },
101
+ // {
102
+ // text: RootConfig.entities.glossary?.title,
103
+ // path: this.entityService.createPath(module.name, RootConfig.entities.glossary?.name),
104
+ // icon: RootConfig.entities.glossary?.icon,
105
+ // priority: 2,
106
+ // name: 'content-management-glossary-menu-item'
107
+ // },
103
108
  {
104
109
  text: RootConfig.entities.appTerm?.title,
105
110
  path: this.entityService.createPath(module.name, RootConfig.entities.appTerm?.name),
@@ -254,7 +259,6 @@ class AXMPromotionDataSourceDefinition {
254
259
  };
255
260
  }
256
261
  catch (e) {
257
- console.log(e);
258
262
  throw e;
259
263
  }
260
264
  },
@@ -389,7 +393,7 @@ class AXMNotifyAppTermComponent extends AXBasePageComponent {
389
393
  this.close({ data: this.data });
390
394
  }
391
395
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
392
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMNotifyAppTermComponent, isStandalone: true, selector: "axm-notify-app", usesInheritance: true, ngImport: i0, template: "@for (item of data; track $index) {\n<ax-content class=\"ax-block ax-px-4 ax-py-4 ax-font-bold\">{{ item.title }}</ax-content>\n<ax-content class=\"ax-block ax-px-4 ax-pb-4 ax-text-base/6\" [innerHTML]=\"transformContent(item.content) | safe : 'html'\"></ax-content>\n}\n<ax-footer class=\"ax-flex ax-items-center ax-justify-between ax-p-2\">\n <ax-check-box [(value)]=\"isConfirm\">\n <ax-label>{{ 'agreeTerm' | translate : { scope: i18n } | async }}</ax-label>\n </ax-check-box>\n <ax-button (click)=\"send()\" [text]=\"'okay' | translate | async\" [disabled]=\"!isConfirm\" color=\"primary\"></ax-button>\n</ax-footer>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i4.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AXSafePipe, name: "safe" }] }); }
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" }] }); }
393
397
  }
394
398
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMNotifyAppTermComponent, decorators: [{
395
399
  type: Component,
@@ -718,86 +722,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
718
722
  }]
719
723
  }], ctorParameters: () => [{ type: AppTermsCheckService }] });
720
724
 
721
- /**
722
- * Deeply sanitizes an object for storage in IndexedDB by removing non-serializable content
723
- */
724
- function sanitizeForStorage(obj) {
725
- if (!obj) {
726
- return obj;
727
- }
728
- // Handle primitive values
729
- if (typeof obj !== 'object') {
730
- return obj;
731
- }
732
- // Handle arrays
733
- if (Array.isArray(obj)) {
734
- return obj.map((item) => sanitizeForStorage(item));
735
- }
736
- // Handle Date objects
737
- if (obj instanceof Date) {
738
- return obj;
739
- }
740
- // Handle File objects specially
741
- if (obj instanceof File) {
742
- // File objects are handled separately, return as is
743
- return obj;
744
- }
745
- // Handle Blob objects
746
- if (obj instanceof Blob) {
747
- // Blob objects are handled separately
748
- return obj;
749
- }
750
- // Handle regular objects
751
- const cleanedObj = {};
752
- for (const [key, value] of Object.entries(obj)) {
753
- // Skip functions, symbols and other non-serializable types
754
- if (typeof value === 'function' || typeof value === 'symbol') {
755
- continue;
756
- }
757
- // Handle null values
758
- if (value === null) {
759
- cleanedObj[key] = null;
760
- continue;
761
- }
762
- // Recursively sanitize objects
763
- if (typeof value === 'object') {
764
- cleanedObj[key] = sanitizeForStorage(value);
765
- }
766
- else {
767
- cleanedObj[key] = value;
768
- }
769
- }
770
- return cleanedObj;
771
- }
772
- /**
773
- * Sanitizes a filename by:
774
- * 1. Removing special characters
775
- * 2. Replacing spaces with hyphens
776
- * 3. Ensuring unique timestamp
777
- */
778
- function sanitizeFileName(fileName) {
779
- if (!fileName)
780
- return '';
781
- // Get file extension
782
- const ext = fileName.split('.').pop() || '';
783
- // Get base name without extension
784
- let baseName = fileName.slice(0, -(ext.length + 1));
785
- // Remove special characters and replace spaces with hyphens
786
- baseName = baseName
787
- .replace(/[^\w\s-]/g, '') // Remove special chars except spaces and hyphens
788
- .replace(/\s+/g, '-') // Replace spaces with hyphens
789
- .replace(/-+/g, '-') // Replace multiple hyphens with single hyphen
790
- .trim();
791
- // Add timestamp to ensure uniqueness
792
- const timestamp = new Date().getTime();
793
- // Combine everything
794
- return `${baseName}-${timestamp}.${ext}`;
795
- }
796
725
  async function promotionEntityFactory(injector) {
797
726
  const dataService = injector.get(AXMAppPromotionService);
798
- const fileStorageService = injector.get(AXPFileStorageService);
799
727
  const i18n = RootConfig.config.i18n;
800
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,
741
+ },
742
+ },
743
+ ],
801
744
  module: RootConfig.module.name,
802
745
  name: RootConfig.entities.promotion.name,
803
746
  source: '',
@@ -816,10 +759,6 @@ async function promotionEntityFactory(injector) {
816
759
  id: 'promotion',
817
760
  title: 'Promotion',
818
761
  },
819
- {
820
- id: 'comments',
821
- title: 'Comments',
822
- },
823
762
  ],
824
763
  properties: [
825
764
  {
@@ -885,20 +824,7 @@ async function promotionEntityFactory(injector) {
885
824
  },
886
825
  ],
887
826
  },
888
- {
889
- name: 'imageId',
890
- title: `t("Gallery", { scope: "${i18n}" })`,
891
- groupId: 'promotion',
892
- schema: {
893
- dataType: 'string',
894
- interface: {
895
- type: AXPWidgetsCatalog.fileUploader,
896
- options: {
897
- multiple: true,
898
- },
899
- },
900
- },
901
- },
827
+ // attachments property comes from plugin when configured to create property
902
828
  {
903
829
  name: 'contentType',
904
830
  title: `t("contentType", { scope: "${i18n}" })`,
@@ -1028,137 +954,13 @@ async function promotionEntityFactory(injector) {
1028
954
  // },
1029
955
  // }
1030
956
  //},
1031
- {
1032
- name: 'comments',
1033
- title: `Comments`,
1034
- groupId: 'comments',
1035
- schema: {
1036
- dataType: 'object',
1037
- interface: {
1038
- type: 'comment',
1039
- options: {
1040
- refrenceType: RootConfig.module.name + '.' + RootConfig.entities.promotion.name,
1041
- refrenceId: '{{ context.eval("id") }}',
1042
- subject: '{{ context.eval("title") }}',
1043
- },
1044
- },
1045
- },
1046
- },
1047
957
  ],
1048
- columns: [{ name: 'title' }, { name: 'placement' }, { name: 'imageId' }],
958
+ columns: [{ name: 'title' }, { name: 'placement' }],
1049
959
  commands: {
1050
960
  create: {
1051
961
  execute: async (data) => {
1052
- data = sanitizeForStorage(data);
1053
- const entityPayload = { ...data };
1054
- entityPayload.imageId = entityPayload.imageId || [];
1055
- const filesToUploadAfterSave = [];
1056
- if (Array.isArray(entityPayload.imageId)) {
1057
- const processedImageIdForEntitySave = [];
1058
- for (const fileItem of entityPayload.imageId) {
1059
- if (fileItem.source?.kind === 'blob' && fileItem.source.value instanceof Blob) {
1060
- // Sanitize the filename
1061
- const sanitizedName = sanitizeFileName(fileItem.name);
1062
- filesToUploadAfterSave.push({
1063
- fileItem: { ...fileItem, name: sanitizedName },
1064
- blob: fileItem.source.value,
1065
- });
1066
- processedImageIdForEntitySave.push({
1067
- tempId: fileItem.id,
1068
- name: sanitizedName,
1069
- size: fileItem.size,
1070
- type: fileItem.source.value.type,
1071
- status: 'pending_upload',
1072
- });
1073
- }
1074
- else if (fileItem.source?.kind === 'fileId' &&
1075
- fileItem.id &&
1076
- typeof fileItem.source.value === 'string') {
1077
- // If it's a fileId, we assume it's already processed. We don't have type directly on AXPFileListItem.
1078
- // We'll reconstruct it from fileStorageService or it should be part of what's saved if needed.
1079
- processedImageIdForEntitySave.push({
1080
- id: fileItem.id,
1081
- name: fileItem.name,
1082
- size: fileItem.size,
1083
- // type: fileItem.type, // Removed: AXPFileListItem does not have .type
1084
- status: 'uploaded',
1085
- source: { kind: 'fileId', value: fileItem.source.value },
1086
- });
1087
- }
1088
- else if (fileItem.id && fileItem.name) {
1089
- // Fallback for items that might be from a previous save
1090
- processedImageIdForEntitySave.push({
1091
- id: fileItem.id,
1092
- name: fileItem.name,
1093
- size: fileItem.size,
1094
- // type: fileItem.type, // Removed: AXPFileListItem does not have .type
1095
- status: fileItem.status, // Preserve existing status
1096
- source: fileItem.source ? { kind: fileItem.source.kind, value: fileItem.source.value } : undefined,
1097
- });
1098
- }
1099
- }
1100
- entityPayload.imageId = processedImageIdForEntitySave;
1101
- }
1102
- const savedEntityId = await dataService.insertOne(entityPayload);
1103
- // const entityId = savedEntity.id; // Corrected based on typical service return
1104
- const finalImageIdReferences = (entityPayload.imageId || []).filter((f) => f.status !== 'pending_upload');
1105
- for (const { fileItem, blob } of filesToUploadAfterSave) {
1106
- try {
1107
- if (!fileStorageService) {
1108
- throw new Error('fileStorageService is not available.');
1109
- }
1110
- const fileStorageInfo = await fileStorageService.save({
1111
- file: blob,
1112
- refId: savedEntityId,
1113
- refType: `${RootConfig.module.name}.${RootConfig.entities.promotion.name}`,
1114
- category: '',
1115
- name: blob.name,
1116
- });
1117
- await fileStorageService.commit(fileStorageInfo.fileId);
1118
- finalImageIdReferences.push({
1119
- id: fileStorageInfo.fileId,
1120
- name: fileStorageInfo.name || blob.name,
1121
- size: fileStorageInfo.size || blob.size,
1122
- type: fileStorageInfo.mimeType || blob.type,
1123
- status: 'uploaded',
1124
- source: { kind: 'fileId', value: fileStorageInfo.fileId },
1125
- });
1126
- }
1127
- catch (err) {
1128
- // Typed error
1129
- console.error('Error uploading file to FileStorage for entityId:', savedEntityId, 'file:', fileItem.name, err);
1130
- finalImageIdReferences.push({
1131
- tempId: fileItem.id,
1132
- name: fileItem.name,
1133
- size: fileItem.size,
1134
- type: blob.type, // Correctly access type from Blob/File
1135
- status: 'upload_failed',
1136
- error: err.message,
1137
- });
1138
- }
1139
- }
1140
- if (filesToUploadAfterSave.length > 0) {
1141
- let needsUpdate = true;
1142
- if (entityPayload.imageId && entityPayload.imageId.length === finalImageIdReferences.length) {
1143
- const oldIds = entityPayload.imageId
1144
- .map((f) => f.id || f.tempId)
1145
- .sort()
1146
- .join(',');
1147
- const newIds = finalImageIdReferences
1148
- .map((f) => f.id || f.tempId)
1149
- .sort()
1150
- .join(',');
1151
- if (oldIds === newIds && !finalImageIdReferences.some((f) => f.status === 'upload_failed')) {
1152
- needsUpdate = false;
1153
- }
1154
- }
1155
- if (needsUpdate) {
1156
- // Assuming updateOne takes the ID and an object of fields to update
1157
- console.log(finalImageIdReferences);
1158
- await dataService.updateOne(savedEntityId, { imageId: finalImageIdReferences });
1159
- }
1160
- }
1161
- return { id: savedEntityId };
962
+ const res = await dataService.insertOne(data);
963
+ return { id: res };
1162
964
  },
1163
965
  },
1164
966
  delete: {
@@ -1168,86 +970,7 @@ async function promotionEntityFactory(injector) {
1168
970
  },
1169
971
  update: {
1170
972
  execute: async (data) => {
1171
- await new Promise((resolve) => setTimeout(resolve, 1000));
1172
- const entityId = data.id;
1173
- const filesToUpload = [];
1174
- const processedImageReferences = [];
1175
- if (data.imageId && Array.isArray(data.imageId)) {
1176
- for (const fileItem of data.imageId) {
1177
- if (fileItem.status === 'deleted') {
1178
- continue;
1179
- }
1180
- if (fileItem.source?.kind === 'blob' && fileItem.source.value instanceof Blob) {
1181
- // Sanitize the filename for new uploads
1182
- const sanitizedName = sanitizeFileName(fileItem.name);
1183
- filesToUpload.push({
1184
- fileItem: { ...fileItem, name: sanitizedName },
1185
- blob: fileItem.source.value,
1186
- });
1187
- }
1188
- else if (fileItem.source?.kind === 'fileId' &&
1189
- fileItem.id &&
1190
- typeof fileItem.source.value === 'string') {
1191
- // This is an existing file, keep its reference.
1192
- processedImageReferences.push({
1193
- id: fileItem.id,
1194
- name: fileItem.name,
1195
- size: fileItem.size,
1196
- status: fileItem.status || 'uploaded',
1197
- source: { kind: 'fileId', value: fileItem.source.value },
1198
- });
1199
- }
1200
- else if (fileItem.id && fileItem.name) {
1201
- processedImageReferences.push({
1202
- id: fileItem.id,
1203
- name: fileItem.name,
1204
- size: fileItem.size,
1205
- status: fileItem.status || 'uploaded',
1206
- source: fileItem.source ? { kind: fileItem.source.kind, value: fileItem.source.value } : undefined,
1207
- });
1208
- }
1209
- }
1210
- }
1211
- // Upload new files and add their successful/failed info to processedImageReferences
1212
- for (const { fileItem, blob } of filesToUpload) {
1213
- try {
1214
- if (!fileStorageService) {
1215
- throw new Error('fileStorageService is not available.');
1216
- }
1217
- const fileStorageInfo = await fileStorageService.save({
1218
- file: blob,
1219
- refId: entityId,
1220
- refType: `${RootConfig.module.name}.${RootConfig.entities.promotion.name}`,
1221
- category: '',
1222
- name: fileItem.name, // Use the sanitized name from fileItem
1223
- });
1224
- await fileStorageService.commit(fileStorageInfo.fileId);
1225
- processedImageReferences.push({
1226
- id: fileStorageInfo.fileId,
1227
- name: fileStorageInfo.name || fileItem.name,
1228
- size: fileStorageInfo.size || blob.size,
1229
- type: fileStorageInfo.mimeType || blob.type,
1230
- status: 'uploaded',
1231
- source: { kind: 'fileId', value: fileStorageInfo.fileId },
1232
- });
1233
- }
1234
- catch (err) {
1235
- console.error('Error uploading file to FileStorage during update for entityId:', entityId, 'file:', fileItem.name, err);
1236
- processedImageReferences.push({
1237
- tempId: fileItem.id,
1238
- name: fileItem.name,
1239
- size: fileItem.size,
1240
- type: blob.type,
1241
- status: 'upload_failed',
1242
- error: err.message,
1243
- });
1244
- }
1245
- }
1246
- // Construct the final data payload for the update.
1247
- const finalUpdatePayload = { ...data };
1248
- finalUpdatePayload.imageId = processedImageReferences;
1249
- const fullySanitizedPayload = sanitizeForStorage(finalUpdatePayload);
1250
- return await dataService.updateOne(entityId, fullySanitizedPayload);
973
+ return await dataService.updateOne(data.id, data);
1251
974
  },
1252
975
  },
1253
976
  },
@@ -1299,7 +1022,9 @@ async function promotionEntityFactory(injector) {
1299
1022
  },
1300
1023
  list: {
1301
1024
  execute: async (e) => {
1302
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1025
+ const x = await dataService.query(e);
1026
+ console.log(x);
1027
+ return x;
1303
1028
  },
1304
1029
  type: AXPEntityQueryType.List,
1305
1030
  },
@@ -1335,17 +1060,7 @@ async function promotionEntityFactory(injector) {
1335
1060
  },
1336
1061
  },
1337
1062
  },
1338
- {
1339
- name: 'imageId',
1340
- layout: {
1341
- positions: {
1342
- lg: {
1343
- colSpan: 12,
1344
- order: 6,
1345
- },
1346
- },
1347
- },
1348
- },
1063
+ // attachments property layout injected via plugin
1349
1064
  {
1350
1065
  name: 'contentType',
1351
1066
  layout: {
@@ -1421,17 +1136,7 @@ async function promotionEntityFactory(injector) {
1421
1136
  },
1422
1137
  },
1423
1138
  },
1424
- {
1425
- name: 'imageId',
1426
- layout: {
1427
- positions: {
1428
- lg: {
1429
- colSpan: 12,
1430
- order: 6,
1431
- },
1432
- },
1433
- },
1434
- },
1139
+ // attachments property layout injected via plugin
1435
1140
  {
1436
1141
  name: 'contentType',
1437
1142
  layout: {
@@ -1484,9 +1189,9 @@ async function promotionEntityFactory(injector) {
1484
1189
  {
1485
1190
  id: 'promotion',
1486
1191
  },
1487
- {
1488
- id: 'comments',
1489
- },
1192
+ // {
1193
+ // id: 'comments',
1194
+ // },
1490
1195
  ],
1491
1196
  properties: [
1492
1197
  {
@@ -1509,17 +1214,7 @@ async function promotionEntityFactory(injector) {
1509
1214
  },
1510
1215
  },
1511
1216
  },
1512
- {
1513
- name: 'imageId',
1514
- layout: {
1515
- positions: {
1516
- lg: {
1517
- colSpan: 12,
1518
- order: 2,
1519
- },
1520
- },
1521
- },
1522
- },
1217
+ // attachments property layout injected via plugin
1523
1218
  {
1524
1219
  name: 'contentType',
1525
1220
  layout: {
@@ -1553,20 +1248,20 @@ async function promotionEntityFactory(injector) {
1553
1248
  },
1554
1249
  },
1555
1250
  },
1556
- {
1557
- name: 'comments',
1558
- layout: {
1559
- label: {
1560
- visible: false,
1561
- },
1562
- positions: {
1563
- lg: {
1564
- colSpan: 12,
1565
- order: 7,
1566
- },
1567
- },
1568
- },
1569
- },
1251
+ // {
1252
+ // name: 'comments',
1253
+ // layout: {
1254
+ // label: {
1255
+ // visible: false,
1256
+ // },
1257
+ // positions: {
1258
+ // lg: {
1259
+ // colSpan: 12,
1260
+ // order: 7,
1261
+ // },
1262
+ // },
1263
+ // },
1264
+ // },
1570
1265
  ],
1571
1266
  actions: [],
1572
1267
  },
@@ -1609,90 +1304,7 @@ async function promotionEntityFactory(injector) {
1609
1304
  scope: AXPEntityCommandScope.Individual,
1610
1305
  disabled: `{{ lock.check(context.eval("id"), "${RootConfig.module.name}.${RootConfig.entities.promotion.name}") }}`,
1611
1306
  },
1612
- //TODO: add this to the entity
1613
- {
1614
- title: '@document-management:actions.upload-files',
1615
- command: {
1616
- name: 'show-file-uploader-popup',
1617
- options: {
1618
- id: '{{ context.eval("id") }}',
1619
- files: '{{ context.eval("imageId") }}',
1620
- multiple: true,
1621
- accept: '.jpg,.jpeg,.png,.gif,.webp',
1622
- key: 'imageId',
1623
- fileEditable: true,
1624
- },
1625
- },
1626
- priority: 'secondary',
1627
- type: 'upload',
1628
- scope: AXPEntityCommandScope.Individual,
1629
- },
1630
- {
1631
- title: '@activity-log:actions.view-history',
1632
- command: {
1633
- name: 'show-version-history-popup',
1634
- options: {
1635
- refId: '{{ context.eval("id") }}',
1636
- refType: RootConfig.module.name + '.' + RootConfig.entities.promotion.name,
1637
- },
1638
- },
1639
- priority: 'secondary',
1640
- type: 'version-history',
1641
- scope: AXPEntityCommandScope.Individual,
1642
- },
1643
- {
1644
- title: '@conversation:actions.show-comment-popup',
1645
- command: {
1646
- name: 'show-comment-popup',
1647
- options: {
1648
- refId: '{{ context.eval("id") }}',
1649
- refType: RootConfig.module.name + '.' + RootConfig.entities.promotion.name,
1650
- subject: '{{ context.eval("title") }}',
1651
- },
1652
- },
1653
- priority: 'secondary',
1654
- type: 'version-history',
1655
- scope: AXPEntityCommandScope.Individual,
1656
- },
1657
- {
1658
- title: 'Compare',
1659
- command: {
1660
- name: 'show-entity-records-compare',
1661
- },
1662
- priority: 'secondary',
1663
- type: 'version-history',
1664
- scope: AXPEntityCommandScope.Selected,
1665
- },
1666
- {
1667
- title: '@common:actions.lock',
1668
- name: 'lock-entity',
1669
- command: {
1670
- name: 'lock-popup',
1671
- options: {
1672
- refId: '{{ context.eval("id") }}',
1673
- refType: RootConfig.module.name + '.' + RootConfig.entities.promotion.name,
1674
- },
1675
- },
1676
- priority: 'secondary',
1677
- type: 'update',
1678
- scope: AXPEntityCommandScope.Individual,
1679
- hidden: `{{ lock.check(context.eval("id"), "${RootConfig.module.name}.${RootConfig.entities.promotion.name}") }}`,
1680
- },
1681
- {
1682
- title: '@common:actions.unlock',
1683
- name: 'unlock-entity',
1684
- command: {
1685
- name: 'unlock-confirm',
1686
- options: {
1687
- refId: '{{ context.eval("id") }}',
1688
- refType: RootConfig.module.name + '.' + RootConfig.entities.promotion.name,
1689
- },
1690
- },
1691
- priority: 'secondary',
1692
- type: 'update',
1693
- scope: AXPEntityCommandScope.Individual,
1694
- hidden: `{{ (await lock.check(context.eval("id"), "${RootConfig.module.name}.${RootConfig.entities.promotion.name}")) == false }}`,
1695
- },
1307
+ // upload files action is injected via attachments plugin
1696
1308
  ],
1697
1309
  views: [
1698
1310
  createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] }),
@@ -1912,7 +1524,7 @@ async function appTermEntityEntityFactory(injector) {
1912
1524
  },
1913
1525
  list: {
1914
1526
  execute: async (e) => {
1915
- const x = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1527
+ const x = await dataService.query(e);
1916
1528
  return x;
1917
1529
  },
1918
1530
  type: AXPEntityQueryType.List,
@@ -2269,7 +1881,7 @@ async function glossaryEntityFactory(injector) {
2269
1881
  },
2270
1882
  list: {
2271
1883
  execute: async (e) => {
2272
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1884
+ return await dataService.query(e);
2273
1885
  },
2274
1886
  type: AXPEntityQueryType.List,
2275
1887
  },