@acorex/modules 19.2.17-next.0 → 19.2.19

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 (178) hide show
  1. package/application-management/lib/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +4 -0
  2. package/auth/lib/pages/login/password/password.component.d.ts +1 -0
  3. package/common/lib/entities/dashboard/dashboard.types.d.ts +2 -2
  4. package/common/lib/entities/index.d.ts +0 -1
  5. package/common/lib/features/dashboard-home/dashboard-home.d.ts +113 -0
  6. package/common/lib/features/dashboard-home/dashboard-home.store.d.ts +19 -0
  7. package/common/lib/features/dashboard-home/dashboard.type.d.ts +12 -0
  8. package/common/lib/features/dashboard-popups/add-dashboard-popup.d.ts +11 -0
  9. package/common/lib/features/dashboard-popups/dashboard-popup.service.d.ts +9 -0
  10. package/common/lib/features/widget-wrapper/dashboard-widget-wrapper.d.ts +10 -0
  11. package/document-management/lib/document-management.module.d.ts +3 -1
  12. package/document-management/lib/entities/document/document.service.d.ts +0 -5
  13. package/document-management/lib/entities/document/document.types.d.ts +6 -0
  14. package/document-management/lib/entities/document-type/document-type.service.d.ts +2 -2
  15. package/document-management/lib/entities/document-type/document-type.types.d.ts +1 -0
  16. package/document-management/lib/entities/folder/folder.types.d.ts +5 -4
  17. package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +141 -10
  18. package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +65 -6
  19. package/document-management/lib/features/document-explorer/views/detail-panel/detail-panel.component.d.ts +118 -0
  20. package/document-management/lib/features/document-explorer/views/details/details-view.component.d.ts +118 -0
  21. package/document-management/lib/features/document-explorer/views/large-icons/large-icons-view.component.d.ts +118 -0
  22. package/document-management/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.d.ts +118 -0
  23. package/document-management/lib/features/document-explorer/views/list/list-view.component.d.ts +118 -0
  24. package/document-management/lib/features/document-explorer/views/small-icons/small-icons-view.component.d.ts +118 -0
  25. package/document-management/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.d.ts +118 -0
  26. package/document-management/lib/features/drive/drive.component.d.ts +111 -86
  27. package/document-management/lib/features/drive-choose/drive-choose.component.d.ts +264 -0
  28. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +1 -0
  29. package/document-management/lib/features/shared/components/choose-document-type/choose-document-type.component.d.ts +21 -0
  30. package/document-management/lib/features/shared/components/file-viewer-popup/file-viewer-popup.component.d.ts +9 -0
  31. package/document-management/lib/features/shared/components/folder-path-breadcrumbs/folder-path-breadcrumbs.component.d.ts +179 -0
  32. package/document-management/lib/features/shared/components/index.d.ts +3 -0
  33. package/document-management/lib/features/shared/document-manager.service.d.ts +67 -55
  34. package/document-management/lib/features/shared/document-manager.types.d.ts +9 -3
  35. package/document-management/lib/features/shared/index.d.ts +1 -0
  36. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +171 -1
  37. package/document-management/lib/features/workflow/upload/upload.workflow.d.ts +17 -0
  38. package/fesm2022/{acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs → acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs} +3 -3
  39. package/fesm2022/{acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs.map → acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs.map} +1 -1
  40. package/fesm2022/acorex-modules-application-management.mjs +4 -4
  41. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  42. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs → acorex-modules-auth-acorex-modules-auth-DrcL7GCj.mjs} +16 -16
  43. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DrcL7GCj.mjs.map +1 -0
  44. package/fesm2022/{acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs → acorex-modules-auth-app-chooser.component-CbJb1P_k.mjs} +3 -3
  45. package/fesm2022/{acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs.map → acorex-modules-auth-app-chooser.component-CbJb1P_k.mjs.map} +1 -1
  46. package/fesm2022/{acorex-modules-auth-login.module-B9P2XpfQ.mjs → acorex-modules-auth-login.module-DFCB1l7W.mjs} +4 -4
  47. package/fesm2022/{acorex-modules-auth-login.module-B9P2XpfQ.mjs.map → acorex-modules-auth-login.module-DFCB1l7W.mjs.map} +1 -1
  48. package/fesm2022/acorex-modules-auth-master.layout-CuKXvY0o.mjs +23 -0
  49. package/fesm2022/acorex-modules-auth-master.layout-CuKXvY0o.mjs.map +1 -0
  50. package/fesm2022/{acorex-modules-auth-password.component-C7Yp-ioT.mjs → acorex-modules-auth-password.component-5gwz30CZ.mjs} +3 -3
  51. package/fesm2022/{acorex-modules-auth-password.component-C7Yp-ioT.mjs.map → acorex-modules-auth-password.component-5gwz30CZ.mjs.map} +1 -1
  52. package/fesm2022/acorex-modules-auth-password.component-DacOjakT.mjs +132 -0
  53. package/fesm2022/acorex-modules-auth-password.component-DacOjakT.mjs.map +1 -0
  54. package/fesm2022/{acorex-modules-auth-routes-Bu-xB4O6.mjs → acorex-modules-auth-routes-D018Lg-b.mjs} +2 -2
  55. package/fesm2022/{acorex-modules-auth-routes-Bu-xB4O6.mjs.map → acorex-modules-auth-routes-D018Lg-b.mjs.map} +1 -1
  56. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs → acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs} +3 -3
  57. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs.map → acorex-modules-auth-tenant-chooser.component-YZBKyJFH.mjs.map} +1 -1
  58. package/fesm2022/{acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs → acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs} +3 -3
  59. package/fesm2022/{acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map → acorex-modules-auth-two-factor-code.component-B2ZYJOrN.mjs.map} +1 -1
  60. package/fesm2022/{acorex-modules-auth-two-factor.module-YRh6_YcG.mjs → acorex-modules-auth-two-factor.module-DiEB7VWl.mjs} +3 -3
  61. package/fesm2022/{acorex-modules-auth-two-factor.module-YRh6_YcG.mjs.map → acorex-modules-auth-two-factor.module-DiEB7VWl.mjs.map} +1 -1
  62. package/fesm2022/acorex-modules-auth.mjs +1 -1
  63. package/fesm2022/acorex-modules-common-index-B3u5feXf.mjs +507 -0
  64. package/fesm2022/acorex-modules-common-index-B3u5feXf.mjs.map +1 -0
  65. package/fesm2022/acorex-modules-common.mjs +5 -505
  66. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  67. package/fesm2022/acorex-modules-conversation.mjs +5 -5
  68. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  69. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-C9ZCejjs.mjs → acorex-modules-document-management-acorex-modules-document-management-CpoLrul7.mjs} +1061 -322
  70. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CpoLrul7.mjs.map +1 -0
  71. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BnRaCq_Q.mjs → acorex-modules-document-management-create-folder-dialog.component-Cp26sAs9.mjs} +7 -7
  72. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-Cp26sAs9.mjs.map +1 -0
  73. package/fesm2022/acorex-modules-document-management-details-view.component-CZyOdjEl.mjs +24 -0
  74. package/fesm2022/acorex-modules-document-management-details-view.component-CZyOdjEl.mjs.map +1 -0
  75. package/fesm2022/acorex-modules-document-management-drive-choose.component-HSZ-b7-z.mjs +163 -0
  76. package/fesm2022/acorex-modules-document-management-drive-choose.component-HSZ-b7-z.mjs.map +1 -0
  77. package/fesm2022/acorex-modules-document-management-drive.component-CZR-optD.mjs +246 -0
  78. package/fesm2022/acorex-modules-document-management-drive.component-CZR-optD.mjs.map +1 -0
  79. package/fesm2022/acorex-modules-document-management-large-icons-view.component-C5pB5bc2.mjs +20 -0
  80. package/fesm2022/acorex-modules-document-management-large-icons-view.component-C5pB5bc2.mjs.map +1 -0
  81. package/fesm2022/acorex-modules-document-management-large-tiles-view.component-D9PFgzMQ.mjs +24 -0
  82. package/fesm2022/acorex-modules-document-management-large-tiles-view.component-D9PFgzMQ.mjs.map +1 -0
  83. package/fesm2022/acorex-modules-document-management-list-view.component-DjULM8Me.mjs +20 -0
  84. package/fesm2022/acorex-modules-document-management-list-view.component-DjULM8Me.mjs.map +1 -0
  85. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-EBf1XqU8.mjs → acorex-modules-document-management-rename-node-dialog.component-D3Cg9_5d.mjs} +6 -6
  86. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-D3Cg9_5d.mjs.map +1 -0
  87. package/fesm2022/acorex-modules-document-management-small-icons-view.component-4M8c_1Dt.mjs +20 -0
  88. package/fesm2022/acorex-modules-document-management-small-icons-view.component-4M8c_1Dt.mjs.map +1 -0
  89. package/fesm2022/acorex-modules-document-management-small-tiles-view.component-CXPXrH4g.mjs +24 -0
  90. package/fesm2022/acorex-modules-document-management-small-tiles-view.component-CXPXrH4g.mjs.map +1 -0
  91. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  92. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-CJYrDtq6.mjs} +10 -10
  93. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-CJYrDtq6.mjs.map} +1 -1
  94. package/fesm2022/{acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs → acorex-modules-form-template-management-category.entity-BdiYytzK.mjs} +3 -3
  95. package/fesm2022/{acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map → acorex-modules-form-template-management-category.entity-BdiYytzK.mjs.map} +1 -1
  96. package/fesm2022/{acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs → acorex-modules-form-template-management-setting.provider-CoETMkEC.mjs} +2 -2
  97. package/fesm2022/{acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs.map → acorex-modules-form-template-management-setting.provider-CoETMkEC.mjs.map} +1 -1
  98. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs → acorex-modules-form-template-management-template-picker.component-0JfGxdMv.mjs} +3 -3
  99. package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map → acorex-modules-form-template-management-template-picker.component-0JfGxdMv.mjs.map} +1 -1
  100. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs → acorex-modules-form-template-management-template-widget-edit.component-BkJ3ieIg.mjs} +3 -3
  101. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BkJ3ieIg.mjs.map} +1 -1
  102. package/fesm2022/{acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs → acorex-modules-form-template-management-template.entity-ByE2p0Mu.mjs} +3 -3
  103. package/fesm2022/{acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map → acorex-modules-form-template-management-template.entity-ByE2p0Mu.mjs.map} +1 -1
  104. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs → acorex-modules-form-template-management-viewer-popup.component-CThcXWpt.mjs} +4 -4
  105. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CThcXWpt.mjs.map} +1 -1
  106. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  107. package/fesm2022/acorex-modules-notification-management.mjs +4 -4
  108. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  109. package/fesm2022/{acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs → acorex-modules-organization-management-add-item.component-DW0TneoX.mjs} +3 -3
  110. package/fesm2022/{acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs.map → acorex-modules-organization-management-add-item.component-DW0TneoX.mjs.map} +1 -1
  111. package/fesm2022/{acorex-modules-organization-management-branch.entity-DhObzxhh.mjs → acorex-modules-organization-management-branch.entity-e5pFx82N.mjs} +2 -2
  112. package/fesm2022/{acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map → acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map} +1 -1
  113. package/fesm2022/{acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs → acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs} +2 -2
  114. package/fesm2022/{acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs.map → acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map} +1 -1
  115. package/fesm2022/{acorex-modules-organization-management-company.entity-d7GaCVei.mjs → acorex-modules-organization-management-company.entity-BRkEcDNt.mjs} +2 -2
  116. package/fesm2022/{acorex-modules-organization-management-company.entity-d7GaCVei.mjs.map → acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map} +1 -1
  117. package/fesm2022/{acorex-modules-organization-management-department.entity-BxyeK3lU.mjs → acorex-modules-organization-management-department.entity-ChJXNpXn.mjs} +2 -2
  118. package/fesm2022/{acorex-modules-organization-management-department.entity-BxyeK3lU.mjs.map → acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map} +1 -1
  119. package/fesm2022/{acorex-modules-organization-management-division.entity-Dh54R4es.mjs → acorex-modules-organization-management-division.entity-qyDyhl-q.mjs} +2 -2
  120. package/fesm2022/{acorex-modules-organization-management-division.entity-Dh54R4es.mjs.map → acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map} +1 -1
  121. package/fesm2022/{acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs → acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs} +2 -2
  122. package/fesm2022/{acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map → acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map} +1 -1
  123. package/fesm2022/{acorex-modules-organization-management-employment-type.entity-aNkt-l_e.mjs → acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs} +2 -2
  124. package/fesm2022/{acorex-modules-organization-management-employment-type.entity-aNkt-l_e.mjs.map → acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map} +1 -1
  125. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-D1tWlJqL.mjs +92 -0
  126. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-D1tWlJqL.mjs.map +1 -0
  127. package/fesm2022/{acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs → acorex-modules-organization-management-org-chart.page-bzbCuF-w.mjs} +16 -16
  128. package/fesm2022/acorex-modules-organization-management-org-chart.page-bzbCuF-w.mjs.map +1 -0
  129. package/fesm2022/{acorex-modules-organization-management-position.entity-D17Yembh.mjs → acorex-modules-organization-management-position.entity-BpQbwW-x.mjs} +2 -2
  130. package/fesm2022/{acorex-modules-organization-management-position.entity-D17Yembh.mjs.map → acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map} +1 -1
  131. package/fesm2022/{acorex-modules-organization-management-role.entity-Cmbyle8P.mjs → acorex-modules-organization-management-role.entity-B9N4qA_E.mjs} +2 -2
  132. package/fesm2022/{acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map → acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map} +1 -1
  133. package/fesm2022/{acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs → acorex-modules-organization-management-setting.provider-CMDpwkG2.mjs} +2 -2
  134. package/fesm2022/{acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs.map → acorex-modules-organization-management-setting.provider-CMDpwkG2.mjs.map} +1 -1
  135. package/fesm2022/{acorex-modules-organization-management-team.entity-DcurAtLd.mjs → acorex-modules-organization-management-team.entity-7q6Eg74A.mjs} +2 -2
  136. package/fesm2022/{acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map → acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map} +1 -1
  137. package/fesm2022/acorex-modules-organization-management.mjs +17 -15
  138. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  139. package/fesm2022/{acorex-modules-platform-management-list-version.component-CoZBz85x.mjs → acorex-modules-platform-management-list-version.component-C9764yzu.mjs} +3 -3
  140. package/fesm2022/{acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map → acorex-modules-platform-management-list-version.component-C9764yzu.mjs.map} +1 -1
  141. package/fesm2022/acorex-modules-platform-management.mjs +376 -21
  142. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  143. package/fesm2022/acorex-modules-scheduler-job-management.mjs +1 -1
  144. package/fesm2022/acorex-modules-security-management.mjs +1 -1
  145. package/fesm2022/acorex-modules-text-template-management.mjs +1 -1
  146. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +4 -0
  147. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +4 -0
  148. package/package.json +1 -1
  149. package/platform-management/lib/const.d.ts +6 -0
  150. package/platform-management/lib/entities/index.d.ts +1 -0
  151. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +1 -0
  152. package/platform-management/lib/entities/meta-data-definition-category/category.entity.d.ts +3 -0
  153. package/platform-management/lib/entities/meta-data-definition-category/category.service.d.ts +10 -0
  154. package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +5 -0
  155. package/platform-management/lib/entities/meta-data-definition-category/index.d.ts +3 -0
  156. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.entity.d.ts +0 -3
  157. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.service.d.ts +0 -10
  158. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.types.d.ts +0 -9
  159. package/common/lib/entities/dashboard-widget-data/index.d.ts +0 -3
  160. package/common/lib/features/home/dashboard-home.d.ts +0 -5
  161. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map +0 -1
  162. package/fesm2022/acorex-modules-auth-master.layout-BYC0FYq1.mjs +0 -23
  163. package/fesm2022/acorex-modules-auth-master.layout-BYC0FYq1.mjs.map +0 -1
  164. package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs +0 -127
  165. package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs.map +0 -1
  166. package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs +0 -14
  167. package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs.map +0 -1
  168. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C9ZCejjs.mjs.map +0 -1
  169. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BnRaCq_Q.mjs.map +0 -1
  170. package/fesm2022/acorex-modules-document-management-drive.component-Sz198sA6.mjs +0 -165
  171. package/fesm2022/acorex-modules-document-management-drive.component-Sz198sA6.mjs.map +0 -1
  172. package/fesm2022/acorex-modules-document-management-index--I8MGeDs.mjs +0 -2
  173. package/fesm2022/acorex-modules-document-management-index--I8MGeDs.mjs.map +0 -1
  174. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-EBf1XqU8.mjs.map +0 -1
  175. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs +0 -92
  176. package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs.map +0 -1
  177. package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +0 -1
  178. /package/common/lib/features/{home → dashboard-home}/index.d.ts +0 -0
@@ -1,8 +1,11 @@
1
1
  import { AXDialogService } from '@acorex/components/dialog';
2
2
  import { AXPopupService } from '@acorex/components/popup';
3
3
  import { AXPSessionService } from '@acorex/platform/auth';
4
+ import { AXPFileStorageService } from '@acorex/platform/common';
5
+ import { AXPWorkflowService } from '@acorex/platform/workflow';
6
+ import { AXFileService } from '@acorex/core/file';
4
7
  import { AXMDocumentManagementFolderCreateDto, AXMDocumentService, AXMFolderService } from '../../entities';
5
- import { AXMDocumentExplorerNode, AXMDriveScope, CreateFileDto, UpdateFileDto, UpdateFolderDto } from './document-manager.types';
8
+ import { AXMDocumentExplorerBrowseMode, AXMDocumentExplorerNode, AXMDriveScope, CreateFileDto, UpdateFileDto, UpdateFolderDto } from './document-manager.types';
6
9
  import * as i0 from "@angular/core";
7
10
  /**
8
11
  * Interface defining the contract for document drive service
@@ -30,39 +33,40 @@ export interface AXMDocumentManagerServiceInterface {
30
33
  createFile(data: CreateFileDto): Promise<AXMDocumentExplorerNode>;
31
34
  updateFile(fileId: string, data: UpdateFileDto): Promise<AXMDocumentExplorerNode>;
32
35
  deleteFile(fileId: string): Promise<void>;
33
- deleteNodes(nodeIds: string[]): Promise<void>;
36
+ deleteNodes(nodeIds: AXMDocumentExplorerNode[]): Promise<void>;
34
37
  showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
35
- showDeleteNodesDialog(nodeIds: string[]): Promise<void>;
36
- /**
37
- * جستجوی فولدرها با نام مشخص شده در اسکوپ
38
- * @param searchTerm عبارت جستجو
39
- * @param scope اسکوپ جستجو
40
- * @param options گزینه‌های اضافی مانند tenantId و userId
41
- */
38
+ showDeleteNodesDialog(nodeIds: AXMDocumentExplorerNode[]): Promise<boolean>;
39
+ copy(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode>;
42
40
  searchFolders(searchTerm: string, scope: AXMDriveScope, options?: {
43
41
  tenantId?: string;
44
42
  userId?: string;
45
43
  }): Promise<AXMDocumentExplorerNode[]>;
46
- /**
47
- * جستجوی فایل‌ها با نام مشخص شده در اسکوپ
48
- * @param searchTerm عبارت جستجو
49
- * @param scope اسکوپ جستجو
50
- * @param options گزینه‌های اضافی مانند tenantId و userId
51
- */
52
44
  searchFiles(searchTerm: string, scope: AXMDriveScope, options?: {
53
45
  tenantId?: string;
54
46
  userId?: string;
55
47
  }): Promise<AXMDocumentExplorerNode[]>;
56
- /**
57
- * جستجوی تمام نودها (فولدرها و فایل‌ها) با نام مشخص شده در اسکوپ
58
- * @param searchTerm عبارت جستجو
59
- * @param scope اسکوپ جستجو
60
- * @param options گزینه‌های اضافی مانند tenantId و userId
61
- */
62
48
  searchNodes(searchTerm: string, scope: AXMDriveScope, options?: {
63
49
  tenantId?: string;
64
50
  userId?: string;
65
51
  }): Promise<AXMDocumentExplorerNode[]>;
52
+ showChooseFileDialog(): Promise<void>;
53
+ moveTo(options: {
54
+ node: AXMDocumentExplorerNode;
55
+ browseMode?: AXMDocumentExplorerBrowseMode;
56
+ multiple?: boolean;
57
+ }): Promise<boolean>;
58
+ copyTo(options: {
59
+ node: AXMDocumentExplorerNode;
60
+ browseMode?: AXMDocumentExplorerBrowseMode;
61
+ multiple?: boolean;
62
+ }): Promise<boolean>;
63
+ showFileViewerPopup(node: AXMDocumentExplorerNode): Promise<void>;
64
+ openFile(node: AXMDocumentExplorerNode): Promise<void>;
65
+ getAllFolders(): Promise<AXMDocumentExplorerNode[]>;
66
+ getAllFiles(): Promise<AXMDocumentExplorerNode[]>;
67
+ getAllNodes(): Promise<AXMDocumentExplorerNode[]>;
68
+ downloadFile(node: AXMDocumentExplorerNode): Promise<void>;
69
+ uploadFile(folderId: string): Promise<boolean>;
66
70
  }
67
71
  /**
68
72
  * Service for handling document drive operations
@@ -73,6 +77,9 @@ export declare class AXMDocumentManagerService implements AXMDocumentManagerServ
73
77
  protected documentService: AXMDocumentService;
74
78
  protected popupService: AXPopupService;
75
79
  protected dialogService: AXDialogService;
80
+ protected fileService: AXPFileStorageService;
81
+ protected fileMangerService: AXFileService;
82
+ protected workflow: AXPWorkflowService;
76
83
  private scopedDriveCache;
77
84
  scope(scope: AXMDriveScope, options?: {
78
85
  tenantId?: string;
@@ -132,44 +139,56 @@ export declare class AXMDocumentManagerService implements AXMDocumentManagerServ
132
139
  createFile(data: CreateFileDto): Promise<AXMDocumentExplorerNode>;
133
140
  updateFile(fileId: string, data: UpdateFileDto): Promise<AXMDocumentExplorerNode>;
134
141
  deleteFile(fileId: string): Promise<void>;
135
- deleteNodes(nodeIds: string[]): Promise<void>;
142
+ deleteNodes(nodes: AXMDocumentExplorerNode[]): Promise<void>;
136
143
  showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
137
- rename(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode>;
138
- showDeleteNodesDialog(nodeIds: string[]): Promise<void>;
139
- /**
140
- * جستجوی فولدرها با نام مشخص شده در اسکوپ
141
- * @param searchTerm عبارت جستجو
142
- * @param scope اسکوپ جستجو
143
- * @param options گزینه‌های اضافی مانند tenantId و userId
144
- */
144
+ moveTo(options: {
145
+ node: AXMDocumentExplorerNode;
146
+ browseMode?: AXMDocumentExplorerBrowseMode;
147
+ multiple?: boolean;
148
+ }): Promise<boolean>;
149
+ copyTo(options: {
150
+ node: AXMDocumentExplorerNode;
151
+ browseMode?: AXMDocumentExplorerBrowseMode;
152
+ multiple?: boolean;
153
+ }): Promise<boolean>;
154
+ showFileViewerPopup(node: AXMDocumentExplorerNode): Promise<void>;
155
+ openFile(node: AXMDocumentExplorerNode): Promise<void>;
156
+ rename(node: AXMDocumentExplorerNode): Promise<any>;
157
+ showDeleteNodesDialog(nodeIds: AXMDocumentExplorerNode[]): Promise<boolean>;
145
158
  searchFolders(searchTerm: string, scope: AXMDriveScope, options?: {
146
159
  tenantId?: string;
147
160
  userId?: string;
148
161
  }): Promise<AXMDocumentExplorerNode[]>;
149
- /**
150
- * جستجوی فایل‌ها با نام مشخص شده در اسکوپ
151
- * @param searchTerm عبارت جستجو
152
- * @param scope اسکوپ جستجو
153
- * @param options گزینه‌های اضافی مانند tenantId و userId
154
- */
155
162
  searchFiles(searchTerm: string, scope: AXMDriveScope, options?: {
156
163
  tenantId?: string;
157
164
  userId?: string;
158
165
  }): Promise<AXMDocumentExplorerNode[]>;
159
- /**
160
- * جستجوی تمام نودها (فولدرها و فایل‌ها) با نام مشخص شده در اسکوپ
161
- * @param searchTerm عبارت جستجو
162
- * @param scope اسکوپ جستجو
163
- * @param options گزینه‌های اضافی مانند tenantId و userId
164
- */
165
166
  searchNodes(searchTerm: string, scope: AXMDriveScope, options?: {
166
167
  tenantId?: string;
167
168
  userId?: string;
168
169
  }): Promise<AXMDocumentExplorerNode[]>;
170
+ getAllFolders(): Promise<AXMDocumentExplorerNode[]>;
171
+ getAllFiles(): Promise<AXMDocumentExplorerNode[]>;
172
+ getAllNodes(): Promise<AXMDocumentExplorerNode[]>;
173
+ showChooseFileDialog(): Promise<void>;
174
+ downloadFile(node: AXMDocumentExplorerNode): Promise<void>;
175
+ /**
176
+ * Creates a copy of a node (file or folder)
177
+ * @param node The node to copy
178
+ * @returns The newly created copied node
179
+ */
180
+ copy(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode>;
181
+ /**
182
+ * Creates a copy name by adding " copy" before the extension
183
+ * @param originalName The original filename
184
+ * @returns The new filename with " copy" added before the extension
185
+ */
186
+ private createCopyName;
187
+ uploadFile(folderId: string): Promise<boolean>;
169
188
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentManagerService, never>;
170
189
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMDocumentManagerService>;
171
190
  }
172
- declare class ScopedDriveService {
191
+ export declare class ScopedDriveService {
173
192
  private parent;
174
193
  private scope;
175
194
  private options?;
@@ -190,20 +209,13 @@ declare class ScopedDriveService {
190
209
  updateFolder(folderId: string, data: UpdateFolderDto): Promise<AXMDocumentExplorerNode>;
191
210
  deleteFolder(folderId: string): Promise<void>;
192
211
  getAvailableSpace(): Promise<number>;
193
- /**
194
- * جستجوی فولدرها با نام مشخص شده در اسکوپ فعلی
195
- * @param searchTerm عبارت جستجو
196
- */
197
212
  searchFolders(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
198
- /**
199
- * جستجوی فایل‌ها با نام مشخص شده در اسکوپ فعلی
200
- * @param searchTerm عبارت جستجو
201
- */
202
213
  searchFiles(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
214
+ searchNodes(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
203
215
  /**
204
- * جستجوی تمام نودها (فولدرها و فایل‌ها) با نام مشخص شده در اسکوپ فعلی
205
- * @param searchTerm عبارت جستجو
216
+ * Creates a copy of a node (file or folder)
217
+ * @param node The node to copy
218
+ * @returns The newly created copied node
206
219
  */
207
- searchNodes(searchTerm: string): Promise<AXMDocumentExplorerNode[]>;
220
+ copy(node: AXMDocumentExplorerNode): Promise<AXMDocumentExplorerNode>;
208
221
  }
209
- export {};
@@ -8,13 +8,19 @@ export declare enum AXMDriveScope {
8
8
  export interface AXMDocumentExplorerNode {
9
9
  id: string;
10
10
  name: string;
11
+ description?: string;
11
12
  type: 'file' | 'folder';
12
13
  parentId: string | null;
13
14
  children?: AXMDocumentExplorerNode[];
14
- size?: number;
15
- lastModified?: Date;
15
+ childrenCount?: number;
16
+ size: number;
17
+ modifiedAt?: Date;
18
+ createdAt?: Date;
19
+ fileId?: string;
16
20
  }
17
- export type AXPDocumentExplorerViewMode = 'grid' | 'list';
21
+ export type AXPDocumentExplorerViewMode = 'large-tiles' | 'small-tiles' | 'list' | 'details' | 'large-icons' | 'small-icons';
22
+ export type AXMDocumentExplorerBrowseMode = 'file' | 'folder';
23
+ export type AXMDocumentSelectionMode = 'single' | 'multiple' | 'none';
18
24
  export type CreateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
19
25
  export type UpdateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
20
26
  export type CreateFileDto = Omit<AXMDocumentManagementDocumentEntityModel, 'id'>;
@@ -1 +1,2 @@
1
1
  export * from './document-manager.service';
2
+ export * from './components';
@@ -1,6 +1,176 @@
1
1
  import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import { AXMDocumentExplorerComponent } from '../../document-explorer/document-explorer.component';
3
+ import { AXMDriveScope } from '../../shared/document-manager.types';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class AXMDocumentAttachmentWidgetEditComponent extends AXPWidgetComponent<any> {
6
+ #private;
7
+ private readonly driveService;
8
+ protected readonly vm: {
9
+ viewMode: import("@angular/core").Signal<import("../../shared/document-manager.types").AXPDocumentExplorerViewMode>;
10
+ isLoading: import("@angular/core").Signal<boolean>;
11
+ currentPath: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode[]>;
12
+ currentNode: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode | null>;
13
+ loadingFolderId: import("@angular/core").Signal<string | null>;
14
+ navigatingFolderId: import("@angular/core").Signal<string | null>;
15
+ backHistory: import("@angular/core").Signal<{
16
+ folderId: string;
17
+ path: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
18
+ }[]>;
19
+ selectionMode: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentSelectionMode>;
20
+ selectedNodes: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode[]>;
21
+ browseMode: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerBrowseMode>;
22
+ sortField: import("@angular/core").Signal<string>;
23
+ sortDirection: import("@angular/core").Signal<string>;
24
+ folders: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode[]>;
25
+ files: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode[]>;
26
+ itemsCount: import("@angular/core").Signal<number>;
27
+ availableSpace: import("@angular/core").Signal<number>;
28
+ currentDrive: import("@angular/core").Signal<AXMDriveScope | null>;
29
+ fileTypes: import("@angular/core").Signal<import("@acorex/platform/common").AXPFileType[]>;
30
+ detailPanel: import("@angular/core").Signal<boolean>;
31
+ isRoot: import("@angular/core").Signal<boolean>;
32
+ currentFolder: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode | null>;
33
+ currentFolderContents: import("@angular/core").Signal<{
34
+ folders: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
35
+ files: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
36
+ }>;
37
+ isLargeTilesView: import("@angular/core").Signal<boolean>;
38
+ isSmallTilesView: import("@angular/core").Signal<boolean>;
39
+ isListView: import("@angular/core").Signal<boolean>;
40
+ isDetailsView: import("@angular/core").Signal<boolean>;
41
+ isLargeIconsView: import("@angular/core").Signal<boolean>;
42
+ isSmallIconsView: import("@angular/core").Signal<boolean>;
43
+ isBackAvailable: import("@angular/core").Signal<boolean>;
44
+ isUpAvailable: import("@angular/core").Signal<boolean>;
45
+ selectedCount: import("@angular/core").Signal<number>;
46
+ hasSelectedItems: import("@angular/core").Signal<boolean>;
47
+ hasMultipleSelectedItems: import("@angular/core").Signal<boolean>;
48
+ isMultiSelect: import("@angular/core").Signal<boolean>;
49
+ selectedNode: import("@angular/core").Signal<import("../../shared/document-manager.types").AXMDocumentExplorerNode | null>;
50
+ isDetailPanelOpen: import("@angular/core").Signal<boolean>;
51
+ initialize: (options?: {
52
+ rootPath?: string;
53
+ browseMode?: import("../../shared/document-manager.types").AXMDocumentExplorerBrowseMode;
54
+ }) => Promise<void>;
55
+ navigateToFolder: (folderId: string) => void;
56
+ loadFolderContents: (folderId: string) => Promise<void>;
57
+ setViewMode: (mode: import("../../shared/document-manager.types").AXPDocumentExplorerViewMode | string) => void;
58
+ isViewMode: (mode: import("../../shared/document-manager.types").AXPDocumentExplorerViewMode | string) => boolean;
59
+ setSortField: (field: string) => void;
60
+ setSortDirection: (direction: string) => void;
61
+ setSelectionMode: (mode: import("../../shared/document-manager.types").AXMDocumentSelectionMode | string) => void;
62
+ setDrive: (scope: AXMDriveScope) => void;
63
+ isLoadingFolder: (folderId: string) => boolean;
64
+ getFileInfo: (fileName: string) => {
65
+ icon: string;
66
+ type: string;
67
+ };
68
+ getNodeInfo: (node: import("../../shared/document-manager.types").AXMDocumentExplorerNode) => {
69
+ name: string;
70
+ icon: string;
71
+ type: string;
72
+ sections: [{
73
+ title: string;
74
+ details: {
75
+ title: string;
76
+ content?: any;
77
+ icon?: string;
78
+ format?: "datetime" | "filesize" | "number" | "string";
79
+ }[];
80
+ }];
81
+ };
82
+ sortItems: (items: import("../../shared/document-manager.types").AXMDocumentExplorerNode[]) => import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
83
+ refresh: () => Promise<void>;
84
+ navigateToUp: () => void;
85
+ navigateBack: () => Promise<void>;
86
+ openFile: (file: import("../../shared/document-manager.types").AXMDocumentExplorerNode) => Promise<void>;
87
+ deleteNodes: (nodes?: import("../../shared/document-manager.types").AXMDocumentExplorerNode[]) => Promise<void>;
88
+ toggleSelect: (node: import("../../shared/document-manager.types").AXMDocumentExplorerNode) => void;
89
+ isItemSelected: (node: import("../../shared/document-manager.types").AXMDocumentExplorerNode) => boolean;
90
+ selectAll: () => void;
91
+ deselectAll: () => void;
92
+ openDetailPanel: () => void;
93
+ closeDetailPanel: () => void;
94
+ toggleDetailPanel: () => void;
95
+ getFolderAddMenuItems: () => import("@acorex/platform/core").AXPCommandActionMenu[];
96
+ getFolderActionMenuItems: () => import("@acorex/platform/core").AXPCommandActionMenu[];
97
+ } & import("@ngrx/signals").StateSource<{
98
+ viewMode: import("../../shared/document-manager.types").AXPDocumentExplorerViewMode;
99
+ isLoading: boolean;
100
+ currentPath: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
101
+ currentNode: import("../../shared/document-manager.types").AXMDocumentExplorerNode | null;
102
+ loadingFolderId: string | null;
103
+ navigatingFolderId: string | null;
104
+ backHistory: {
105
+ folderId: string;
106
+ path: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
107
+ }[];
108
+ selectionMode: import("../../shared/document-manager.types").AXMDocumentSelectionMode;
109
+ selectedNodes: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
110
+ browseMode: import("../../shared/document-manager.types").AXMDocumentExplorerBrowseMode;
111
+ sortField: string;
112
+ sortDirection: string;
113
+ folders: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
114
+ files: import("../../shared/document-manager.types").AXMDocumentExplorerNode[];
115
+ itemsCount: number;
116
+ availableSpace: number;
117
+ currentDrive: AXMDriveScope | null;
118
+ fileTypes: import("@acorex/platform/common").AXPFileType[];
119
+ detailPanel: boolean;
120
+ }>;
121
+ protected readonly rootConfig: {
122
+ config: {
123
+ i18n: string;
124
+ };
125
+ module: {
126
+ module: string;
127
+ name: string;
128
+ title: string;
129
+ icon: string;
130
+ };
131
+ entities: {
132
+ folder: {
133
+ name: string;
134
+ title: string;
135
+ titlePlural: string;
136
+ icon: string;
137
+ };
138
+ document: {
139
+ name: string;
140
+ title: string;
141
+ titlePlural: string;
142
+ icon: string;
143
+ };
144
+ documentType: {
145
+ name: string;
146
+ title: string;
147
+ titlePlural: string;
148
+ icon: string;
149
+ };
150
+ documentTypeMetaDefinition: {
151
+ name: string;
152
+ title: string;
153
+ titlePlural: string;
154
+ icon: string;
155
+ };
156
+ documentTypeMetaValue: {
157
+ name: string;
158
+ title: string;
159
+ titlePlural: string;
160
+ icon: string;
161
+ };
162
+ documentTypeStatus: {
163
+ name: string;
164
+ title: string;
165
+ titlePlural: string;
166
+ icon: string;
167
+ };
168
+ };
169
+ };
170
+ protected documentExplorer: import("@angular/core").Signal<AXMDocumentExplorerComponent | undefined>;
171
+ ngOnInit(): void;
172
+ private loadDrive;
173
+ protected handleNavigateToFolder(folderId: string): void;
4
174
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentAttachmentWidgetEditComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetEditComponent, "axm-document-attachment-widget", never, {}, {}, never, never, true, never>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentAttachmentWidgetEditComponent, "axm-document-attachment-edit-widget", never, {}, {}, never, never, true, never>;
6
176
  }
@@ -0,0 +1,17 @@
1
+ import { AXPopupService } from '@acorex/components/popup';
2
+ import { AXUploaderService } from '@acorex/components/uploader';
3
+ import { AXPWorkflow, AXPWorkflowAction, AXPWorkflowContext } from '@acorex/platform/workflow';
4
+ import { AXMDocumentTypeService } from '../../../entities';
5
+ export declare class AXMCheckDocumentTypeWorkflowAction extends AXPWorkflowAction {
6
+ execute(context: AXPWorkflowContext): Promise<void>;
7
+ }
8
+ export declare class AXMChooseDocumentTypeWorkflowAction extends AXPWorkflowAction {
9
+ popupService: AXPopupService;
10
+ execute(context: AXPWorkflowContext): Promise<void>;
11
+ }
12
+ export declare class AXMChooseFileWorkflowAction extends AXPWorkflowAction {
13
+ documentTypeService: AXMDocumentTypeService;
14
+ uploadService: AXUploaderService;
15
+ execute(context: AXPWorkflowContext): Promise<void>;
16
+ }
17
+ export declare const AXMUploadWorkflow: AXPWorkflow;
@@ -20,7 +20,7 @@ import { AXPWorkflowService, ofType } from '@acorex/platform/workflow';
20
20
  import * as i1 from '@angular/common';
21
21
  import { CommonModule } from '@angular/common';
22
22
  import * as i0 from '@angular/core';
23
- import { inject, signal, Injectable, ChangeDetectorRef, viewChild, Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
23
+ import { inject, signal, Injectable, ChangeDetectorRef, viewChild, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
24
24
  import * as i2$1 from '@angular/router';
25
25
  import { RouterModule } from '@angular/router';
26
26
  import { set } from 'lodash-es';
@@ -291,7 +291,7 @@ class AXMModuleDesignerComponent {
291
291
  set(target, 'data', data);
292
292
  }
293
293
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
294
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMModuleDesignerComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["contextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n", styles: [".ax-collapse-header{padding:.25rem .5rem!important}.ax-collapse-header:hover{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.ax-collapse-header:hover:is(.ax-dark *){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity, 1))}.ax-collapse-body-content{padding:.25rem!important;padding-inline-start:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "component", type: i2.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "closeOthers", "collapsed"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: i2.AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i7.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { 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: AXTranslationModule }, { kind: "pipe", type: i10.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i6.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i6.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i8.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
294
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMModuleDesignerComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["contextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<ax-drawer-container class=\"ax-overflow-hidden\">\n <ax-drawer #drawer location=\"start\" [collapsed]=\"false\" [mode]=\"'push'\">\n <ax-content class=\"ax-w-80 ax-relative ax-border-e ax-px-4 ax-py-2\">\n <div class=\"ax-overflow-auto ax-h-[calc(100vh-180px)]\">\n <span class=\"ax-font-bold ax-text-xl\">{{ 'designer.modules' | translate | async }}</span>\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-mt-4\">\n @if(modules().length){\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n @for(m of modules();track $index){\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-folder ax-text-warning\"\n [isCollapsed]=\"true\"\n [caption]=\"m.title\"\n look=\"none\"\n data-elementType=\"module\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"module\"\n >\n <div class=\"ax-mx-3\">\n <ax-collapse-group [accordion]=\"false\" look=\"blank\">\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-box ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'entity')\"\n [caption]=\"('designer.entities' | translate | async) ?? 'Entities'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"entity\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'entity', items: getEntities(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-star ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'feature')\"\n [caption]=\"('designer.features' | translate | async) ?? 'Features'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"feature\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'feature', items: getFeatures(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n\n <ax-collapse\n class=\"ctx\"\n icon=\"fas fa-key ax-text-neutral-400\"\n [isCollapsed]=\"true\"\n (onClick)=\"handleCollapseItemClick(m.id, $event, 'permission')\"\n [caption]=\"('designer.permissions' | translate | async) ?? 'Permissions'\"\n look=\"none\"\n data-elementType=\"subModule\"\n [attr.data-moduleId]=\"m.id\"\n data-entityType=\"permission\"\n >\n <ng-container\n [ngTemplateOutlet]=\"childTemplate\"\n [ngTemplateOutletContext]=\"{\n $implicit: { type: 'permission', items: getPermissions(m.id), moduleId: m.id }\n }\"\n ></ng-container>\n </ax-collapse>\n </ax-collapse-group>\n </div>\n </ax-collapse>\n }\n </ax-collapse-group>\n } @else {\n <div class=\"ax-h-full ax-flex ax-items-center ax-justify-center\">\n <span class=\"ax-text-neutral-500 ax-text-sm\">{{ 'designer.emptyModulesText' | translate | async }}</span>\n </div>\n }\n </div>\n <ax-button\n class=\"ax-absolute ax-bottom-4 ax-w-72\"\n [text]=\"('designer.createModule' | translate | async) ?? 'Create New Module'\"\n (onClick)=\"createModule()\"\n look=\"solid\"\n color=\"primary\"\n >\n <ax-icon class=\"fas fa-plus\"> </ax-icon>\n </ax-button>\n </div>\n </ax-content>\n\n <ng-template #childTemplate let-child>\n <div class=\"ax-flex ax-flex-col ax-cursor-pointer ax-select-none ax-border-s ax-ms-[14px] ax-ps-2\">\n @for (item of child.items; track $index) {\n\n <div\n #d\n (click)=\"contextMenuService.showDetails(child.type, item.id)\"\n class=\"ctx ax-px-2 ax-py-1 ax-flex ax-items-center ax-justify-between hover:ax-bg-neutral-100 dark:hover:ax-bg-neutral-700 hover:ax-rounded-md\"\n data-elementType=\"subModuleItem\"\n >\n {{ assignData(d, { record: item, entityType: child.type, moduleId: child.moduleId }) }}\n <span>{{ item.title }}</span>\n <ax-badge\n [look]=\"'twotone'\"\n [color]=\"item.isArchived ? 'danger' : 'success'\"\n [text]=\"item.isArchived ? 'Off' : 'On'\"\n >\n </ax-badge>\n </div>\n }\n </div>\n </ng-template>\n </ax-drawer>\n <ax-content>\n <router-outlet></router-outlet>\n </ax-content>\n</ax-drawer-container>\n\n<ax-context-menu\n #contextMenu\n (onItemClick)=\"handleActionClick($event)\"\n [items]=\"[]\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"openingContextMenu($event)\"\n>\n</ax-context-menu>\n", styles: [".ax-collapse-header{padding:.25rem .5rem!important}.ax-collapse-header:hover{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity, 1))}.ax-collapse-header:hover:is(.ax-dark *){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity, 1))}.ax-collapse-body-content{padding:.25rem!important;padding-inline-start:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "component", type: i2.AXDrawerComponent, selector: "ax-drawer", inputs: ["location", "showBackdrop", "mode", "closeOthers", "collapsed"], outputs: ["locationChange", "modeChange", "collapsedChange"] }, { kind: "component", type: i2.AXDrawerContainerComponent, selector: "ax-drawer-container" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i7.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: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { 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: AXTranslationModule }, { kind: "pipe", type: i10.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i6.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i6.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i8.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
295
295
  }
296
296
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMModuleDesignerComponent, decorators: [{
297
297
  type: Component,
@@ -312,4 +312,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
312
312
  }], ctorParameters: () => [] });
313
313
 
314
314
  export { AXMModuleDesignerComponent };
315
- //# sourceMappingURL=acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs.map
315
+ //# sourceMappingURL=acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs.map