@acorex/modules 19.2.12 → 19.2.15

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 (246) hide show
  1. package/application-management/lib/application-management.service.d.ts +1 -1
  2. package/application-management/lib/application-management.types.d.ts +1 -1
  3. package/application-management/lib/services/application-management.service.d.ts +1 -1
  4. package/application-management/lib/services/application-module-management.service.d.ts +1 -1
  5. package/application-management/lib/services/edition-management.service.d.ts +1 -1
  6. package/application-management/lib/services/entity-management.service.d.ts +1 -1
  7. package/application-management/lib/services/feature-management.service.d.ts +1 -1
  8. package/application-management/lib/services/module-management.service.d.ts +1 -1
  9. package/application-management/lib/services/permission-management.service.d.ts +1 -1
  10. package/application-management/lib/services/property-management.service.d.ts +1 -1
  11. package/auth/lib/auth.module.d.ts +2 -3
  12. package/auth/lib/pages/login/password/password.component.d.ts +1 -0
  13. package/conversation/lib/entities/chat/chat.service.d.ts +1 -1
  14. package/conversation/lib/entities/chat/chat.type.d.ts +1 -1
  15. package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +1 -1
  16. package/conversation/lib/entities/comments/comments.service.d.ts +1 -1
  17. package/conversation/lib/entities/comments/comments.type.d.ts +1 -1
  18. package/document-management/index.d.ts +1 -0
  19. package/document-management/lib/const.d.ts +6 -5
  20. package/document-management/lib/document-management.module.d.ts +3 -1
  21. package/document-management/lib/entities/document/document.service.d.ts +8 -5
  22. package/document-management/lib/entities/document/document.types.d.ts +2 -1
  23. package/document-management/lib/entities/document-type/document-type.service.d.ts +1 -1
  24. package/document-management/lib/entities/document-type/document-type.types.d.ts +16 -1
  25. package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.service.d.ts +1 -1
  26. package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.types.d.ts +1 -1
  27. package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.service.d.ts +1 -1
  28. package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.types.d.ts +1 -1
  29. package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.service.d.ts +1 -1
  30. package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.types.d.ts +1 -1
  31. package/document-management/lib/entities/folder/folder.entity.d.ts +3 -0
  32. package/document-management/lib/entities/folder/folder.service.d.ts +12 -0
  33. package/document-management/lib/entities/folder/folder.types.d.ts +37 -0
  34. package/document-management/lib/entities/folder/index.d.ts +3 -0
  35. package/document-management/lib/entities/index.d.ts +6 -0
  36. package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +14 -0
  37. package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +74 -0
  38. package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +57 -0
  39. package/document-management/lib/features/document-explorer/index.d.ts +3 -0
  40. package/document-management/lib/features/document-explorer/settings.keys.d.ts +5 -0
  41. package/document-management/lib/features/drive/drive.component.d.ts +200 -0
  42. package/document-management/lib/features/drive/index.d.ts +3 -0
  43. package/document-management/lib/features/file-type/file-type.module.d.ts +6 -0
  44. package/document-management/lib/features/file-type/index.d.ts +2 -0
  45. package/document-management/lib/features/file-type/providers/archive.file.d.ts +4 -0
  46. package/document-management/lib/features/file-type/providers/audio.file.d.ts +4 -0
  47. package/document-management/lib/features/file-type/providers/code.file.d.ts +4 -0
  48. package/document-management/lib/features/file-type/providers/document.file.d.ts +4 -0
  49. package/document-management/lib/features/file-type/providers/image.file.d.ts +4 -0
  50. package/document-management/lib/features/file-type/providers/index.d.ts +6 -0
  51. package/document-management/lib/features/file-type/providers/video.file.d.ts +4 -0
  52. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +6 -0
  53. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +6 -0
  54. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +18 -0
  55. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +6 -0
  56. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-widget.config.d.ts +7 -0
  57. package/document-management/lib/features/file-type/widgets/file-type-extension/index.d.ts +5 -0
  58. package/document-management/lib/features/file-type/widgets/index.d.ts +1 -0
  59. package/document-management/lib/features/shared/document-manager.service.d.ts +130 -0
  60. package/document-management/lib/features/shared/document-manager.types.d.ts +21 -0
  61. package/document-management/lib/features/shared/index.d.ts +1 -0
  62. package/document-management/lib/menu.provider.d.ts +1 -0
  63. package/fesm2022/acorex-modules-application-management.mjs +3 -3
  64. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  65. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs → acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs} +53 -133
  66. package/fesm2022/acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs.map +1 -0
  67. package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs → acorex-modules-auth-app-chooser.component-CGSygSjS.mjs} +2 -2
  68. package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs.map → acorex-modules-auth-app-chooser.component-CGSygSjS.mjs.map} +1 -1
  69. package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs → acorex-modules-auth-login.module-B1sF3B_O.mjs} +4 -4
  70. package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs.map → acorex-modules-auth-login.module-B1sF3B_O.mjs.map} +1 -1
  71. package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs → acorex-modules-auth-master.layout-CK4nyS8D.mjs} +2 -2
  72. package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs.map → acorex-modules-auth-master.layout-CK4nyS8D.mjs.map} +1 -1
  73. package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs → acorex-modules-auth-password.component-DC_zi8bV.mjs} +6 -6
  74. package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs.map → acorex-modules-auth-password.component-DC_zi8bV.mjs.map} +1 -1
  75. package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs +127 -0
  76. package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs.map +1 -0
  77. package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs → acorex-modules-auth-routes-DwHgPrDP.mjs} +2 -2
  78. package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs.map → acorex-modules-auth-routes-DwHgPrDP.mjs.map} +1 -1
  79. package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs} +5 -5
  80. package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs.map → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map} +1 -1
  81. package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs → acorex-modules-auth-two-factor.module-BatKQRdJ.mjs} +3 -3
  82. package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs.map → acorex-modules-auth-two-factor.module-BatKQRdJ.mjs.map} +1 -1
  83. package/fesm2022/acorex-modules-auth.mjs +1 -1
  84. package/fesm2022/acorex-modules-conversation.mjs +2 -2
  85. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  86. package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs +951 -0
  87. package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs.map +1 -0
  88. package/fesm2022/acorex-modules-document-management.mjs +1450 -114
  89. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  90. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-BTQ4VpFG.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs} +174 -64
  91. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map +1 -0
  92. package/fesm2022/{acorex-modules-form-template-management-category.entity-ChxSjvOF.mjs → acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs} +4 -17
  93. package/fesm2022/acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map +1 -0
  94. package/fesm2022/{acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs → acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs} +4 -3
  95. package/fesm2022/acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs.map +1 -0
  96. package/fesm2022/{acorex-modules-form-template-management-setting.provider-CByIOZMr.mjs → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs} +2 -2
  97. package/fesm2022/{acorex-modules-form-template-management-setting.provider-CByIOZMr.mjs.map → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs.map} +1 -1
  98. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs +191 -0
  99. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map +1 -0
  100. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-Chle-W7b.mjs → acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs} +32 -49
  101. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map +1 -0
  102. package/fesm2022/{acorex-modules-form-template-management-template.entity-BIBMNXD5.mjs → acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs} +3 -3
  103. package/fesm2022/acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map +1 -0
  104. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DPxTaC2A.mjs → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs} +2 -2
  105. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DPxTaC2A.mjs.map → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs.map} +1 -1
  106. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  107. package/fesm2022/acorex-modules-notification-management.mjs +10 -3
  108. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  109. package/fesm2022/{acorex-modules-organization-management-add-item.component-BXRyhcjE.mjs → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs} +2 -2
  110. package/fesm2022/{acorex-modules-organization-management-add-item.component-BXRyhcjE.mjs.map → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs.map} +1 -1
  111. package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs +344 -0
  112. package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map +1 -0
  113. package/fesm2022/{acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs → acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs} +4 -4
  114. package/fesm2022/acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map +1 -0
  115. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs} +2 -2
  116. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs.map} +1 -1
  117. package/fesm2022/{acorex-modules-organization-management-org-chart.page-DMxaL-70.mjs → acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs} +16 -10
  118. package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +1 -0
  119. package/fesm2022/{acorex-modules-organization-management-position.entity-B7ceEEbu.mjs → acorex-modules-organization-management-position.entity-D17Yembh.mjs} +2 -2
  120. package/fesm2022/acorex-modules-organization-management-position.entity-D17Yembh.mjs.map +1 -0
  121. package/fesm2022/{acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs → acorex-modules-organization-management-role.entity-Cmbyle8P.mjs} +36 -54
  122. package/fesm2022/acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map +1 -0
  123. package/fesm2022/{acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs → acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs} +7 -7
  124. package/fesm2022/acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs.map +1 -0
  125. package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs +238 -0
  126. package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map +1 -0
  127. package/fesm2022/acorex-modules-organization-management.mjs +200 -105
  128. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  129. package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs +59 -0
  130. package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map +1 -0
  131. package/fesm2022/acorex-modules-platform-management.mjs +867 -610
  132. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  133. package/fesm2022/acorex-modules-scheduler-job-management.mjs +2 -2
  134. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  135. package/fesm2022/acorex-modules-security-management.mjs +61 -29
  136. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  137. package/fesm2022/acorex-modules-text-template-management.mjs +324 -6
  138. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  139. package/form-template-management/lib/entities/category/category.service.d.ts +1 -1
  140. package/form-template-management/lib/entities/category/category.types.d.ts +2 -1
  141. package/form-template-management/lib/entities/template/template.service.d.ts +1 -1
  142. package/form-template-management/lib/entities/template/template.types.d.ts +1 -1
  143. package/form-template-management/lib/features/designer/designer.page.d.ts +1 -0
  144. package/form-template-management/lib/features/designer/template.provider.d.ts +1 -1
  145. package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +0 -4
  146. package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +1 -0
  147. package/form-template-management/lib/features/designer/widgets/template-picker/template-picker.component.d.ts +14 -4
  148. package/form-template-management/lib/features/designer/widgets/template-picker/template.provider.d.ts +2 -1
  149. package/form-template-management/lib/features/designer/workflows/design-template.workflow.d.ts +1 -8
  150. package/form-template-management/lib/features/designer/workflows/workflow.actions.d.ts +17 -0
  151. package/form-template-management/lib/menu.provider.d.ts +1 -0
  152. package/notification-management/lib/entities/channel/channel.service.d.ts +1 -1
  153. package/notification-management/lib/entities/channel/channel.types.d.ts +2 -1
  154. package/notification-management/lib/entities/notification/notification.service.d.ts +1 -1
  155. package/notification-management/lib/entities/notification/notification.types.d.ts +1 -1
  156. package/notification-management/lib/entities/template/template.service.d.ts +1 -1
  157. package/notification-management/lib/entities/template/template.types.d.ts +1 -1
  158. package/notification-management/lib/menu.provider.d.ts +1 -0
  159. package/organization-management/lib/const.d.ts +3 -0
  160. package/organization-management/lib/entities/branch/branch.service.d.ts +1 -1
  161. package/organization-management/lib/entities/branch/branch.types.d.ts +1 -1
  162. package/organization-management/lib/entities/chart/chart.service.d.ts +1 -1
  163. package/organization-management/lib/entities/chart/chart.types.d.ts +1 -1
  164. package/organization-management/lib/entities/company/company.service.d.ts +1 -1
  165. package/organization-management/lib/entities/company/company.types.d.ts +1 -1
  166. package/organization-management/lib/entities/department/department.service.d.ts +1 -1
  167. package/organization-management/lib/entities/department/department.types.d.ts +1 -1
  168. package/organization-management/lib/entities/division/division.service.d.ts +1 -1
  169. package/organization-management/lib/entities/division/division.types.d.ts +1 -1
  170. package/organization-management/lib/entities/employee/employee.service.d.ts +1 -1
  171. package/organization-management/lib/entities/employee/employee.types.d.ts +1 -1
  172. package/organization-management/lib/entities/employment-type/employment-type.service.d.ts +1 -1
  173. package/organization-management/lib/entities/employment-type/employment-type.types.d.ts +1 -1
  174. package/organization-management/lib/entities/index.d.ts +6 -4
  175. package/organization-management/lib/entities/position/position.service.d.ts +1 -1
  176. package/organization-management/lib/entities/position/position.types.d.ts +1 -1
  177. package/organization-management/lib/entities/role/index.d.ts +3 -0
  178. package/organization-management/lib/entities/role/role.entity.d.ts +3 -0
  179. package/organization-management/lib/entities/role/role.module.d.ts +6 -0
  180. package/organization-management/lib/entities/role/role.service.d.ts +10 -0
  181. package/organization-management/lib/entities/role/role.types.d.ts +5 -0
  182. package/organization-management/lib/entities/team/index.d.ts +3 -0
  183. package/organization-management/lib/entities/team/team.entity.d.ts +3 -0
  184. package/organization-management/lib/entities/team/team.module.d.ts +6 -0
  185. package/organization-management/lib/entities/team/team.service.d.ts +10 -0
  186. package/organization-management/lib/entities/team/team.types.d.ts +5 -0
  187. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +3 -0
  188. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +3 -0
  189. package/organization-management/lib/organization-management.module.d.ts +11 -9
  190. package/package.json +1 -1
  191. package/platform-management/lib/common/regional/data-source.provider.d.ts +10 -0
  192. package/platform-management/lib/const.d.ts +6 -0
  193. package/platform-management/lib/entities/app-term/app-term.service.d.ts +1 -1
  194. package/platform-management/lib/entities/app-term/app-term.types.d.ts +1 -1
  195. package/platform-management/lib/entities/app-version/app-version.service.d.ts +1 -1
  196. package/platform-management/lib/entities/app-version/app-version.types.d.ts +1 -1
  197. package/platform-management/lib/entities/app-version/components/slots/app-version-slot.component.d.ts +1 -1
  198. package/platform-management/lib/entities/app-version/workflows/change-log.workflow.d.ts +1 -1
  199. package/platform-management/lib/entities/app-version/workflows/show-release-notes.workflow.d.ts +9 -0
  200. package/platform-management/lib/entities/data-source/data-source.service.d.ts +1 -1
  201. package/platform-management/lib/entities/data-source/data-source.types.d.ts +1 -1
  202. package/platform-management/lib/entities/global-variable/global-variables.service.d.ts +1 -1
  203. package/platform-management/lib/entities/global-variable/global-variables.types.d.ts +1 -1
  204. package/platform-management/lib/entities/index.d.ts +1 -1
  205. package/platform-management/lib/entities/meta-data-definition/index.d.ts +0 -1
  206. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.service.d.ts +5 -5
  207. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -4
  208. package/platform-management/lib/entities/promotion/promotion.service.d.ts +1 -1
  209. package/platform-management/lib/entities/promotion/promotion.types.d.ts +2 -1
  210. package/platform-management/lib/platform-management.module.d.ts +4 -5
  211. package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.d.ts +1 -1
  212. package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.d.ts +1 -1
  213. package/security-management/lib/entities/index.d.ts +2 -0
  214. package/security-management/lib/entities/profile/profile.types.d.ts +1 -1
  215. package/security-management/lib/entities/roles/roles.service.d.ts +1 -1
  216. package/security-management/lib/entities/roles/roles.types.d.ts +3 -1
  217. package/security-management/lib/entities/users/users.service.d.ts +1 -1
  218. package/security-management/lib/entities/users/users.types.d.ts +12 -3
  219. package/text-template-management/lib/const.d.ts +6 -0
  220. package/text-template-management/lib/entities/category/category.service.d.ts +1 -1
  221. package/text-template-management/lib/entities/category/category.types.d.ts +1 -1
  222. package/text-template-management/lib/entities/index.d.ts +1 -0
  223. package/text-template-management/lib/entities/tag-template/index.d.ts +3 -0
  224. package/text-template-management/lib/entities/tag-template/tag-template.entity.d.ts +3 -0
  225. package/text-template-management/lib/entities/tag-template/tag-template.service.d.ts +10 -0
  226. package/text-template-management/lib/entities/tag-template/tag-template.types.d.ts +5 -0
  227. package/text-template-management/lib/entities/template/template.service.d.ts +1 -1
  228. package/text-template-management/lib/entities/template/template.types.d.ts +1 -1
  229. package/auth/lib/store/auth.effects.d.ts +0 -18
  230. package/auth/lib/store/index.d.ts +0 -1
  231. package/fesm2022/acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs.map +0 -1
  232. package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs +0 -121
  233. package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs.map +0 -1
  234. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-BTQ4VpFG.mjs.map +0 -1
  235. package/fesm2022/acorex-modules-form-template-management-category.entity-ChxSjvOF.mjs.map +0 -1
  236. package/fesm2022/acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs.map +0 -1
  237. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BGSucRLY.mjs +0 -126
  238. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BGSucRLY.mjs.map +0 -1
  239. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-Chle-W7b.mjs.map +0 -1
  240. package/fesm2022/acorex-modules-form-template-management-template.entity-BIBMNXD5.mjs.map +0 -1
  241. package/fesm2022/acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs.map +0 -1
  242. package/fesm2022/acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs.map +0 -1
  243. package/fesm2022/acorex-modules-organization-management-org-chart.page-DMxaL-70.mjs.map +0 -1
  244. package/fesm2022/acorex-modules-organization-management-position.entity-B7ceEEbu.mjs.map +0 -1
  245. package/fesm2022/acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs.map +0 -1
  246. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.module.d.ts +0 -6
@@ -1,19 +1,33 @@
1
+ import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_PROVIDER } from '@acorex/platform/auth';
2
+ import { AXPSearchCommandProvider, AXPEntityQueryType, AXPEntityCommandScope, createAllQueryView, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
3
+ import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
1
4
  import * as i0 from '@angular/core';
2
- import { inject, Injector, Injectable, NgModule } from '@angular/core';
3
- import { AXP_PERMISSION_PROVIDER } from '@acorex/platform/auth';
4
- import { AXPSearchCommandProvider, AXMEntityCrudServiceImpl, AXPEntityQueryType, AXPEntityCommandScope, createAllQueryView, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
5
- import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
6
- import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
5
+ import { inject, Injector, Injectable, NgModule, Component, ChangeDetectionStrategy, signal } from '@angular/core';
6
+ import { firstValueFrom } from 'rxjs';
7
+ import * as i6 from '@acorex/platform/layout/builder';
8
+ import { AXPWidgetsCatalog, AXPWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_ADVANCE_GROUP } from '@acorex/platform/layout/builder';
9
+ import { ROUTES } from '@angular/router';
7
10
  import { AXDataSource } from '@acorex/components/common';
8
- import { AXMPlatformManagementMetaDataDefinitionEntityService } from '@acorex/modules/platform-management';
11
+ import { AXMMetaDataDefinitionService } from '@acorex/modules/platform-management';
12
+ import { CommonModule } from '@angular/common';
13
+ import * as i7$1 from '@acorex/components/collapse';
14
+ import { AXCollapseModule } from '@acorex/components/collapse';
15
+ import * as i5 from '@acorex/components/decorators';
16
+ import { AXDecoratorModule } from '@acorex/components/decorators';
17
+ import * as i7 from '@acorex/components/form';
18
+ import { AXFormModule } from '@acorex/components/form';
19
+ import * as i4 from '@acorex/components/label';
20
+ import { AXLabelModule } from '@acorex/components/label';
21
+ import * as i1 from '@acorex/components/select-box';
22
+ import { AXSelectBoxModule } from '@acorex/components/select-box';
23
+ import * as i2 from '@angular/forms';
24
+ import { FormsModule } from '@angular/forms';
25
+ import get from 'lodash-es/get';
26
+ import set from 'lodash-es/set';
27
+ import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY } from '@acorex/platform/widgets';
9
28
 
10
29
  const config = {
11
30
  i18n: 'document-management',
12
- documentEntity: 'Document',
13
- documentTypeEntity: 'DocumentType',
14
- documentTypeMetaDefinitionEntity: 'DocumentTypeMetaDefinition',
15
- documentTypeMetaValueEntity: 'DocumentTypeMetaValue',
16
- documentTypeStatusDefinitionEntity: 'DocumentTypeStatusDefinition',
17
31
  };
18
32
  const RootConfig = {
19
33
  config,
@@ -24,17 +38,23 @@ const RootConfig = {
24
38
  icon: 'fa-light fa-file-invoice',
25
39
  },
26
40
  entities: {
41
+ folder: {
42
+ name: 'Folder',
43
+ title: `t("folder", { scope: "${config.i18n}" })`,
44
+ titlePlural: `t("folderPlural", { scope: "${config.i18n}" })`,
45
+ icon: 'fa-light fa-folder',
46
+ },
27
47
  document: {
28
48
  name: 'Document',
29
49
  title: `t("document", { scope: "${config.i18n}" })`,
30
50
  titlePlural: `t("documentPlural", { scope: "${config.i18n}" })`,
31
- icon: 'fa-light fa-document',
51
+ icon: 'fa-light fa-file',
32
52
  },
33
53
  documentType: {
34
54
  name: 'DocumentType',
35
55
  title: `t("documentType", { scope: "${config.i18n}" })`,
36
56
  titlePlural: `t("documentTypePlural", { scope: "${config.i18n}" })`,
37
- icon: 'fa-light fa-document',
57
+ icon: 'fa-light fa-books',
38
58
  },
39
59
  documentTypeMetaDefinition: {
40
60
  name: 'documentTypeMeta',
@@ -57,29 +77,6 @@ const RootConfig = {
57
77
  },
58
78
  };
59
79
 
60
- class AXMMenuProvider {
61
- constructor() {
62
- this.entityService = inject(AXPEntityService);
63
- }
64
- async provide(context) {
65
- context.addItems([
66
- {
67
- priority: 9001,
68
- text: RootConfig.module.title,
69
- icon: RootConfig.module.icon,
70
- children: [
71
- {
72
- text: RootConfig.entities.documentType.title,
73
- path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.documentType.name),
74
- icon: RootConfig.entities.documentType.icon,
75
- priority: 1,
76
- },
77
- ],
78
- },
79
- ]);
80
- }
81
- }
82
-
83
80
  class AXMEntityProvider {
84
81
  constructor() {
85
82
  this.injector = inject(Injector);
@@ -95,9 +92,11 @@ class AXMEntityProvider {
95
92
  if (moduleName == RootConfig.module.name) {
96
93
  switch (entityName) {
97
94
  case RootConfig.entities.document.name:
98
- return (await Promise.resolve().then(function () { return index$1; })).documentFactory(this.injector);
95
+ return (await Promise.resolve().then(function () { return index; })).documentFactory(this.injector);
99
96
  case RootConfig.entities.documentType.name:
100
97
  return (await Promise.resolve().then(function () { return index; })).documentTypeFactory(this.injector);
98
+ case RootConfig.entities.folder.name:
99
+ return (await Promise.resolve().then(function () { return index; })).folderFactory(this.injector);
101
100
  }
102
101
  }
103
102
  return null;
@@ -109,6 +108,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
109
108
  type: Injectable
110
109
  }] });
111
110
 
111
+ class AXMMenuProvider {
112
+ constructor() {
113
+ this.entityService = inject(AXPEntityService);
114
+ this.sessionService = inject(AXPSessionService);
115
+ }
116
+ async provide(context) {
117
+ const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
118
+ if (!isAuthorized) {
119
+ return;
120
+ }
121
+ //
122
+ context.addItems([
123
+ {
124
+ priority: 9001,
125
+ text: RootConfig.module.title,
126
+ icon: RootConfig.module.icon,
127
+ children: [
128
+ {
129
+ text: RootConfig.entities.documentType.title,
130
+ path: this.entityService.createPath(RootConfig.module.name, RootConfig.entities.documentType.name),
131
+ icon: RootConfig.entities.documentType.icon,
132
+ priority: 2
133
+ },
134
+ {
135
+ text: RootConfig.entities.document.titlePlural,
136
+ path: `${this.sessionService.application?.name}/drive/company`,
137
+ icon: RootConfig.entities.document.icon,
138
+ priority: 1
139
+ }
140
+ ]
141
+ }
142
+ ]);
143
+ //
144
+ context.find('edit-profile').insert([
145
+ {
146
+ name: 'my-notifications',
147
+ text: `t('my-drive.title', {scope: "${RootConfig.config.i18n}"})`,
148
+ icon: 'fa-light fa-folder-open',
149
+ path: `${this.sessionService.application?.name}/drive/my`,
150
+ data: {
151
+ scope: 'user'
152
+ },
153
+ },
154
+ ], 'after');
155
+ }
156
+ }
157
+
112
158
  class AXMPermissionProvider {
113
159
  async provide(context) {
114
160
  // context.addPermissions([
@@ -121,6 +167,25 @@ class AXMPermissionProvider {
121
167
  }
122
168
  }
123
169
 
170
+ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
171
+ constructor() {
172
+ super(...arguments);
173
+ this.commands = [
174
+ // {
175
+ // group: 'command',
176
+ // title: 'New Form Template',
177
+ // icon: RootConfig.entities.template.icon,
178
+ // description: 'Create a new form template for designing reusable forms.', // Added description
179
+ // commands: {
180
+ // 'create-entity': {
181
+ // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
182
+ // },
183
+ // },
184
+ // }
185
+ ];
186
+ }
187
+ }
188
+
124
189
  class AXMSettingProvider {
125
190
  async provide(context) {
126
191
  // context
@@ -149,40 +214,25 @@ class AXMSettingProvider {
149
214
  }
150
215
  }
151
216
 
152
- class AXMSearchCommandProvider extends AXPSearchCommandProvider {
153
- constructor() {
154
- super(...arguments);
155
- this.commands = [
156
- // {
157
- // group: 'command',
158
- // title: 'New Form Template',
159
- // icon: RootConfig.entities.template.icon,
160
- // description: 'Create a new form template for designing reusable forms.', // Added description
161
- // commands: {
162
- // 'create-entity': {
163
- // entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
164
- // },
165
- // },
166
- // }
167
- ];
168
- }
169
- }
170
-
171
- class AXMDocumentManagementDocumentEntityService extends AXMEntityCrudServiceImpl {
217
+ class AXMDocumentService extends AXMEntityCrudServiceImpl {
172
218
  }
173
- class AXMDocumentManagementDocumentEntityServiceImpl extends AXMDocumentManagementDocumentEntityService {
219
+ class AXMDocumentServiceImpl extends AXMDocumentService {
174
220
  constructor() {
175
- super(`${RootConfig.module.name}.${RootConfig.entities.document}`);
221
+ super(`${RootConfig.module.name}.${RootConfig.entities.document.name}`);
222
+ }
223
+ async getPath(_) {
224
+ throw new Error('Not implemented');
176
225
  }
177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
178
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityServiceImpl }); }
226
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
227
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentServiceImpl }); }
179
228
  }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityServiceImpl, decorators: [{
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentServiceImpl, decorators: [{
181
230
  type: Injectable
182
231
  }], ctorParameters: () => [] });
183
232
 
184
233
  async function documentFactory(injector) {
185
- const dataService = injector.get(AXMDocumentManagementDocumentEntityService);
234
+ const dataService = injector.get(AXMDocumentService);
235
+ const i18n = RootConfig.config.i18n;
186
236
  const entityDef = {
187
237
  module: RootConfig.module.name,
188
238
  name: RootConfig.entities.document.name,
@@ -241,6 +291,72 @@ async function documentFactory(injector) {
241
291
  },
242
292
  ],
243
293
  },
294
+ {
295
+ name: 'type',
296
+ title: 't("type", { scope: "common" })',
297
+ groupId: 'section',
298
+ schema: {
299
+ dataType: 'string',
300
+ interface: {
301
+ type: AXPWidgetsCatalog.lookup,
302
+ options: {
303
+ entity: `${RootConfig.module.name}.${RootConfig.entities.documentType.name}`,
304
+ expose: 'type',
305
+ },
306
+ },
307
+ },
308
+ validations: [
309
+ {
310
+ rule: 'required',
311
+ },
312
+ ],
313
+ },
314
+ {
315
+ name: 'metaData',
316
+ title: 't("metaData", { scope: "common" })',
317
+ groupId: 'section',
318
+ schema: {
319
+ dataType: 'string',
320
+ interface: {
321
+ type: AXPWidgetsCatalog.metaData,
322
+ options: {
323
+ listMeta: ` {{context.eval("type.meta")}} `,
324
+ },
325
+ triggers: [
326
+ {
327
+ event: `{{ events.context("type") }}`,
328
+ action: `{{ console.log(context.eval("type")); }}`,
329
+ },
330
+ ],
331
+ },
332
+ },
333
+ validations: [
334
+ {
335
+ rule: 'required',
336
+ },
337
+ ],
338
+ },
339
+ {
340
+ name: 'file',
341
+ title: `t("file", { scope: "${i18n}" })`,
342
+ groupId: 'section',
343
+ schema: {
344
+ dataType: 'string',
345
+ interface: {
346
+ type: AXPWidgetsCatalog.file,
347
+ options: {
348
+ maxFileSize: ` {{context.eval("type.maxSize")}} `,
349
+ multiple: ` {{context.eval("type.multiple")}} `,
350
+ accept: ` {{context.eval("type.multiple")}} `,
351
+ },
352
+ },
353
+ },
354
+ validations: [
355
+ {
356
+ rule: 'required',
357
+ },
358
+ ],
359
+ },
244
360
  ],
245
361
  columns: [{ name: 'name' }, { name: 'title' }],
246
362
  commands: {
@@ -304,6 +420,36 @@ async function documentFactory(injector) {
304
420
  },
305
421
  },
306
422
  },
423
+ {
424
+ name: 'type',
425
+ layout: {
426
+ positions: {
427
+ lg: {
428
+ colSpan: 12,
429
+ },
430
+ },
431
+ },
432
+ },
433
+ {
434
+ name: 'metaData',
435
+ layout: {
436
+ positions: {
437
+ lg: {
438
+ colSpan: 12,
439
+ },
440
+ },
441
+ },
442
+ },
443
+ {
444
+ name: 'file',
445
+ layout: {
446
+ positions: {
447
+ lg: {
448
+ colSpan: 12,
449
+ },
450
+ },
451
+ },
452
+ },
307
453
  ],
308
454
  },
309
455
  update: {
@@ -333,6 +479,36 @@ async function documentFactory(injector) {
333
479
  },
334
480
  },
335
481
  },
482
+ {
483
+ name: 'type',
484
+ layout: {
485
+ positions: {
486
+ lg: {
487
+ colSpan: 12,
488
+ },
489
+ },
490
+ },
491
+ },
492
+ {
493
+ name: 'metaData',
494
+ layout: {
495
+ positions: {
496
+ lg: {
497
+ colSpan: 12,
498
+ },
499
+ },
500
+ },
501
+ },
502
+ {
503
+ name: 'file',
504
+ layout: {
505
+ positions: {
506
+ lg: {
507
+ colSpan: 12,
508
+ },
509
+ },
510
+ },
511
+ },
336
512
  ],
337
513
  },
338
514
  single: {
@@ -370,6 +546,36 @@ async function documentFactory(injector) {
370
546
  },
371
547
  },
372
548
  },
549
+ {
550
+ name: 'type',
551
+ layout: {
552
+ positions: {
553
+ lg: {
554
+ colSpan: 12,
555
+ },
556
+ },
557
+ },
558
+ },
559
+ {
560
+ name: 'metaData',
561
+ layout: {
562
+ positions: {
563
+ lg: {
564
+ colSpan: 12,
565
+ },
566
+ },
567
+ },
568
+ },
569
+ {
570
+ name: 'file',
571
+ layout: {
572
+ positions: {
573
+ lg: {
574
+ colSpan: 12,
575
+ },
576
+ },
577
+ },
578
+ },
373
579
  ],
374
580
  actions: [],
375
581
  },
@@ -404,16 +610,7 @@ async function documentFactory(injector) {
404
610
  scope: AXPEntityCommandScope.Individual,
405
611
  },
406
612
  ],
407
- views: [
408
- {
409
- name: 'all',
410
- title: 't("allItem", { scope: "common" })',
411
- fixed: true,
412
- columns: [],
413
- conditions: [],
414
- sorts: [],
415
- },
416
- ],
613
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
417
614
  },
418
615
  },
419
616
  },
@@ -426,8 +623,8 @@ class AXMDocumentManagementDocumentEntityModule {
426
623
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityModule }); }
427
624
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityModule, providers: [
428
625
  {
429
- provide: AXMDocumentManagementDocumentEntityService,
430
- useClass: AXMDocumentManagementDocumentEntityServiceImpl,
626
+ provide: AXMDocumentService,
627
+ useClass: AXMDocumentServiceImpl,
431
628
  },
432
629
  ] }); }
433
630
  }
@@ -439,26 +636,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
439
636
  declarations: [],
440
637
  providers: [
441
638
  {
442
- provide: AXMDocumentManagementDocumentEntityService,
443
- useClass: AXMDocumentManagementDocumentEntityServiceImpl,
639
+ provide: AXMDocumentService,
640
+ useClass: AXMDocumentServiceImpl,
444
641
  },
445
642
  ],
446
643
  }]
447
644
  }] });
448
645
 
449
- var index$1 = /*#__PURE__*/Object.freeze({
450
- __proto__: null,
451
- AXMDocumentManagementDocumentEntityModule: AXMDocumentManagementDocumentEntityModule,
452
- AXMDocumentManagementDocumentEntityService: AXMDocumentManagementDocumentEntityService,
453
- AXMDocumentManagementDocumentEntityServiceImpl: AXMDocumentManagementDocumentEntityServiceImpl,
454
- documentFactory: documentFactory
455
- });
456
-
457
646
  class AXMDocumentManagementDocumentTypeEntityService extends AXMEntityCrudServiceImpl {
458
647
  }
459
648
  class AXMDocumentManagementDocumentTypeEntityServiceImpl extends AXMDocumentManagementDocumentTypeEntityService {
460
649
  constructor() {
461
- super(`${RootConfig.module.name}.${RootConfig.entities.documentType}`);
650
+ super(`${RootConfig.module.name}.${RootConfig.entities.documentType.name}`);
462
651
  }
463
652
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
464
653
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityServiceImpl }); }
@@ -469,16 +658,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
469
658
 
470
659
  async function documentTypeFactory(injector) {
471
660
  const dataService = injector.get(AXMDocumentManagementDocumentTypeEntityService);
472
- const metaDefinitionService = injector.get(AXMPlatformManagementMetaDataDefinitionEntityService);
661
+ const metaDefinitionService = injector.get(AXMMetaDataDefinitionService);
473
662
  const i18n = RootConfig.config.i18n;
474
663
  const entityDef = {
475
664
  module: RootConfig.module.name,
476
- name: RootConfig.entities.document.name,
665
+ name: RootConfig.entities.documentType.name,
477
666
  source: '',
478
- title: RootConfig.entities.document.title,
667
+ title: RootConfig.entities.documentType.title,
479
668
  formats: {
480
- individual: RootConfig.entities.document.title,
481
- plural: RootConfig.entities.document.titlePlural,
669
+ individual: RootConfig.entities.documentType.title,
670
+ plural: RootConfig.entities.documentType.titlePlural,
482
671
  searchResult: {
483
672
  title: '{{ title }}',
484
673
  description: RootConfig.module.title,
@@ -488,7 +677,7 @@ async function documentTypeFactory(injector) {
488
677
  groups: [
489
678
  {
490
679
  id: 'section',
491
- title: RootConfig.entities.document.title,
680
+ title: RootConfig.entities.documentType.title,
492
681
  },
493
682
  ],
494
683
  properties: [
@@ -536,7 +725,29 @@ async function documentTypeFactory(injector) {
536
725
  schema: {
537
726
  dataType: 'number',
538
727
  interface: {
539
- type: AXPWidgetsCatalog.number,
728
+ type: AXPWidgetsCatalog.numberUnit,
729
+ options: {
730
+ textField: 'name',
731
+ valueField: 'value',
732
+ dataSource: [
733
+ {
734
+ name: 'kb',
735
+ value: 'KB',
736
+ calUnit: 1,
737
+ },
738
+ {
739
+ name: 'mb',
740
+ value: 'MB',
741
+ calUnit: 1024,
742
+ },
743
+ {
744
+ name: 'gb',
745
+ value: 'GB',
746
+ calUnit: 1024 * 1024,
747
+ },
748
+ ],
749
+ mainUnit: 'kb',
750
+ },
540
751
  },
541
752
  },
542
753
  validations: [
@@ -580,6 +791,18 @@ async function documentTypeFactory(injector) {
580
791
  },
581
792
  },
582
793
  },
794
+ {
795
+ name: 'type',
796
+ title: `t("type", { scope: "${i18n}" })`,
797
+ groupId: 'section',
798
+ schema: {
799
+ dataType: 'object',
800
+ interface: {
801
+ type: AXPWidgetsCatalog.fileTypeExtension,
802
+ options: {},
803
+ },
804
+ },
805
+ },
583
806
  ],
584
807
  columns: [{ name: 'name' }, { name: 'title' }],
585
808
  commands: {
@@ -603,7 +826,9 @@ async function documentTypeFactory(injector) {
603
826
  queries: {
604
827
  byKey: {
605
828
  execute: async (id) => {
606
- return await dataService.getOne(id);
829
+ const x = await dataService.getOne(id);
830
+ console.log(x);
831
+ return x;
607
832
  },
608
833
  type: AXPEntityQueryType.Single,
609
834
  },
@@ -673,6 +898,16 @@ async function documentTypeFactory(injector) {
673
898
  },
674
899
  },
675
900
  },
901
+ {
902
+ name: 'type',
903
+ layout: {
904
+ positions: {
905
+ lg: {
906
+ colSpan: 12,
907
+ },
908
+ },
909
+ },
910
+ },
676
911
  ],
677
912
  },
678
913
  update: {
@@ -732,10 +967,20 @@ async function documentTypeFactory(injector) {
732
967
  },
733
968
  },
734
969
  },
735
- ],
736
- },
737
- single: {
738
- title: '{{title}}',
970
+ {
971
+ name: 'type',
972
+ layout: {
973
+ positions: {
974
+ lg: {
975
+ colSpan: 12,
976
+ },
977
+ },
978
+ },
979
+ },
980
+ ],
981
+ },
982
+ single: {
983
+ title: '{{title}}',
739
984
  sections: [
740
985
  {
741
986
  id: 'section',
@@ -799,6 +1044,16 @@ async function documentTypeFactory(injector) {
799
1044
  },
800
1045
  },
801
1046
  },
1047
+ {
1048
+ name: 'type',
1049
+ layout: {
1050
+ positions: {
1051
+ lg: {
1052
+ colSpan: 12,
1053
+ },
1054
+ },
1055
+ },
1056
+ },
802
1057
  ],
803
1058
  actions: [],
804
1059
  },
@@ -866,14 +1121,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
866
1121
  }]
867
1122
  }] });
868
1123
 
869
- var index = /*#__PURE__*/Object.freeze({
870
- __proto__: null,
871
- AXMDocumentManagementDocumentTypeEntityModule: AXMDocumentManagementDocumentTypeEntityModule,
872
- AXMDocumentManagementDocumentTypeEntityService: AXMDocumentManagementDocumentTypeEntityService,
873
- AXMDocumentManagementDocumentTypeEntityServiceImpl: AXMDocumentManagementDocumentTypeEntityServiceImpl,
874
- documentTypeFactory: documentTypeFactory
875
- });
876
-
877
1124
  class AXMDocumentManagementDocumentTypeMetaDefinitionEntityService extends AXMEntityCrudServiceImpl {
878
1125
  }
879
1126
  class AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaDefinitionEntityService {
@@ -1681,10 +1928,1070 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
1681
1928
  }]
1682
1929
  }] });
1683
1930
 
1931
+ class AXMFolderService extends AXMEntityCrudServiceImpl {
1932
+ }
1933
+ class AXMFolderServiceImpl extends AXMFolderService {
1934
+ constructor() {
1935
+ super(`${RootConfig.module.name}.${RootConfig.entities.folder.name}`);
1936
+ }
1937
+ async getPath(_) {
1938
+ throw new Error('Not implemented');
1939
+ }
1940
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFolderServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1941
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFolderServiceImpl }); }
1942
+ }
1943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFolderServiceImpl, decorators: [{
1944
+ type: Injectable
1945
+ }], ctorParameters: () => [] });
1946
+
1947
+ async function folderFactory(injector) {
1948
+ const dataService = injector.get(AXMFolderService);
1949
+ const entityDef = {
1950
+ module: RootConfig.module.name,
1951
+ name: RootConfig.entities.folder.name,
1952
+ source: '',
1953
+ title: RootConfig.entities.folder.title,
1954
+ formats: {
1955
+ individual: RootConfig.entities.folder.title,
1956
+ plural: RootConfig.entities.folder.titlePlural,
1957
+ searchResult: {
1958
+ title: '{{ title }}',
1959
+ description: RootConfig.module.title,
1960
+ },
1961
+ },
1962
+ relatedEntities: [],
1963
+ groups: [
1964
+ {
1965
+ id: 'section',
1966
+ title: RootConfig.entities.folder.title,
1967
+ },
1968
+ ],
1969
+ properties: [
1970
+ {
1971
+ name: 'name',
1972
+ title: 't("name", { scope: "common" })',
1973
+ groupId: 'section',
1974
+ options: {
1975
+ sort: {
1976
+ enabled: true,
1977
+ },
1978
+ },
1979
+ schema: {
1980
+ dataType: 'string',
1981
+ interface: {
1982
+ type: AXPWidgetsCatalog.text,
1983
+ },
1984
+ },
1985
+ validations: [
1986
+ {
1987
+ rule: 'required',
1988
+ },
1989
+ ],
1990
+ },
1991
+ {
1992
+ name: 'title',
1993
+ title: 't("title", { scope: "common" })',
1994
+ groupId: 'section',
1995
+ schema: {
1996
+ dataType: 'string',
1997
+ interface: {
1998
+ type: AXPWidgetsCatalog.text,
1999
+ },
2000
+ },
2001
+ validations: [
2002
+ {
2003
+ rule: 'required',
2004
+ },
2005
+ ],
2006
+ },
2007
+ ],
2008
+ columns: [{ name: 'name' }, { name: 'title' }],
2009
+ commands: {
2010
+ create: {
2011
+ execute: async (data) => {
2012
+ const res = await dataService.insertOne(data);
2013
+ return { id: res };
2014
+ },
2015
+ },
2016
+ delete: {
2017
+ execute: async (id) => {
2018
+ return await dataService.deleteOne(id);
2019
+ },
2020
+ },
2021
+ update: {
2022
+ execute: async (data) => {
2023
+ return await dataService.updateOne(data.id, data);
2024
+ },
2025
+ },
2026
+ },
2027
+ queries: {
2028
+ byKey: {
2029
+ execute: async (id) => {
2030
+ return await dataService.getOne(id);
2031
+ },
2032
+ type: AXPEntityQueryType.Single,
2033
+ },
2034
+ list: {
2035
+ execute: async (e) => {
2036
+ return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
2037
+ },
2038
+ type: AXPEntityQueryType.List,
2039
+ },
2040
+ },
2041
+ interfaces: {
2042
+ master: {
2043
+ create: {
2044
+ sections: [
2045
+ {
2046
+ id: 'section',
2047
+ },
2048
+ ],
2049
+ properties: [
2050
+ {
2051
+ name: 'name',
2052
+ layout: {
2053
+ positions: {
2054
+ lg: {
2055
+ colSpan: 6,
2056
+ },
2057
+ },
2058
+ },
2059
+ },
2060
+ {
2061
+ name: 'title',
2062
+ layout: {
2063
+ positions: {
2064
+ lg: {
2065
+ colSpan: 6,
2066
+ },
2067
+ },
2068
+ },
2069
+ },
2070
+ ],
2071
+ },
2072
+ update: {
2073
+ sections: [
2074
+ {
2075
+ id: 'section',
2076
+ },
2077
+ ],
2078
+ properties: [
2079
+ {
2080
+ name: 'name',
2081
+ layout: {
2082
+ positions: {
2083
+ lg: {
2084
+ colSpan: 6,
2085
+ },
2086
+ },
2087
+ },
2088
+ },
2089
+ {
2090
+ name: 'title',
2091
+ layout: {
2092
+ positions: {
2093
+ lg: {
2094
+ colSpan: 6,
2095
+ },
2096
+ },
2097
+ },
2098
+ },
2099
+ ],
2100
+ },
2101
+ single: {
2102
+ title: '{{title}}',
2103
+ sections: [
2104
+ {
2105
+ id: 'section',
2106
+ layout: {
2107
+ positions: {
2108
+ lg: {
2109
+ colSpan: 12,
2110
+ },
2111
+ },
2112
+ },
2113
+ },
2114
+ ],
2115
+ properties: [
2116
+ {
2117
+ name: 'name',
2118
+ layout: {
2119
+ positions: {
2120
+ lg: {
2121
+ colSpan: 6,
2122
+ },
2123
+ },
2124
+ },
2125
+ },
2126
+ {
2127
+ name: 'title',
2128
+ layout: {
2129
+ positions: {
2130
+ lg: {
2131
+ colSpan: 6,
2132
+ },
2133
+ },
2134
+ },
2135
+ },
2136
+ ],
2137
+ actions: [],
2138
+ },
2139
+ list: {
2140
+ actions: [
2141
+ {
2142
+ title: `t("create", { scope: "common" })`,
2143
+ command: 'create-entity',
2144
+ priority: 'primary',
2145
+ type: 'create',
2146
+ scope: AXPEntityCommandScope.TypeLevel,
2147
+ },
2148
+ {
2149
+ title: 't("deleteItems", { scope: "common" })',
2150
+ command: 'delete-entity',
2151
+ priority: 'primary',
2152
+ type: 'delete',
2153
+ scope: AXPEntityCommandScope.Selected,
2154
+ },
2155
+ {
2156
+ title: 't("detail", { scope: "common" })',
2157
+ command: 'open-entity',
2158
+ priority: 'secondary',
2159
+ type: 'view',
2160
+ scope: AXPEntityCommandScope.Individual,
2161
+ },
2162
+ {
2163
+ title: 't("delete", { scope: "common" })',
2164
+ command: 'delete-entity',
2165
+ priority: 'secondary',
2166
+ type: 'delete',
2167
+ scope: AXPEntityCommandScope.Individual,
2168
+ },
2169
+ ],
2170
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
2171
+ },
2172
+ },
2173
+ },
2174
+ };
2175
+ return entityDef;
2176
+ }
2177
+
2178
+ var index = /*#__PURE__*/Object.freeze({
2179
+ __proto__: null,
2180
+ AXMDocumentManagementDocumentEntityModule: AXMDocumentManagementDocumentEntityModule,
2181
+ AXMDocumentManagementDocumentTypeEntityModule: AXMDocumentManagementDocumentTypeEntityModule,
2182
+ AXMDocumentManagementDocumentTypeEntityService: AXMDocumentManagementDocumentTypeEntityService,
2183
+ AXMDocumentManagementDocumentTypeEntityServiceImpl: AXMDocumentManagementDocumentTypeEntityServiceImpl,
2184
+ AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule: AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
2185
+ AXMDocumentManagementDocumentTypeMetaDefinitionEntityService: AXMDocumentManagementDocumentTypeMetaDefinitionEntityService,
2186
+ AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl: AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl,
2187
+ AXMDocumentManagementDocumentTypeMetaValueEntityModule: AXMDocumentManagementDocumentTypeMetaValueEntityModule,
2188
+ AXMDocumentManagementDocumentTypeMetaValueEntityService: AXMDocumentManagementDocumentTypeMetaValueEntityService,
2189
+ AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl: AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl,
2190
+ AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule: AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
2191
+ AXMDocumentManagementDocumentTypeStatusDefinitionEntityService: AXMDocumentManagementDocumentTypeStatusDefinitionEntityService,
2192
+ AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl,
2193
+ AXMDocumentService: AXMDocumentService,
2194
+ AXMDocumentServiceImpl: AXMDocumentServiceImpl,
2195
+ AXMFolderService: AXMFolderService,
2196
+ AXMFolderServiceImpl: AXMFolderServiceImpl,
2197
+ documentFactory: documentFactory,
2198
+ documentTypeFactory: documentTypeFactory,
2199
+ documentTypeMetaDefinitionfactory: documentTypeMetaDefinitionfactory,
2200
+ documentTypeMetaValueFactory: documentTypeMetaValueFactory,
2201
+ documentTypeStatusDefinitionFactory: documentTypeStatusDefinitionFactory,
2202
+ folderFactory: folderFactory
2203
+ });
2204
+
2205
+ class AXMImageFileTypeProvider {
2206
+ async items() {
2207
+ return [
2208
+ {
2209
+ name: 'image',
2210
+ title: 'Image',
2211
+ icon: 'fa-light fa-image ax-text-purple-500',
2212
+ extensions: [
2213
+ {
2214
+ name: 'jpg',
2215
+ title: 'JPEG',
2216
+ icon: 'fa-light fa-image ax-text-purple-500',
2217
+ meta: [],
2218
+ },
2219
+ {
2220
+ name: 'png',
2221
+ title: 'PNG',
2222
+ icon: 'fa-light fa-image ax-text-purple-500',
2223
+ meta: [],
2224
+ },
2225
+ {
2226
+ name: 'gif',
2227
+ title: 'GIF',
2228
+ icon: 'fa-light fa-image ax-text-purple-500',
2229
+ meta: [
2230
+ {
2231
+ name: 'duration',
2232
+ title: 'Duration',
2233
+ interface: async () => {
2234
+ return {
2235
+ type: AXPWidgetsCatalog.text,
2236
+ options: {
2237
+ validations: [
2238
+ {
2239
+ rule: "required"
2240
+ }
2241
+ ]
2242
+ },
2243
+ path: 'gift.duration',
2244
+ };
2245
+ },
2246
+ },
2247
+ ],
2248
+ },
2249
+ ],
2250
+ meta: [
2251
+ {
2252
+ name: 'width',
2253
+ title: 'Width',
2254
+ interface: async () => {
2255
+ return {
2256
+ type: AXPWidgetsCatalog.text,
2257
+ options: {
2258
+ validations: [
2259
+ {
2260
+ rule: "required"
2261
+ }
2262
+ ]
2263
+ },
2264
+ path: 'image.width',
2265
+ };
2266
+ },
2267
+ },
2268
+ {
2269
+ name: 'height',
2270
+ title: 'Height',
2271
+ interface: async () => {
2272
+ return {
2273
+ type: AXPWidgetsCatalog.text,
2274
+ options: {},
2275
+ path: 'image.height',
2276
+ };
2277
+ },
2278
+ },
2279
+ ],
2280
+ },
2281
+ ];
2282
+ }
2283
+ }
2284
+
2285
+ class AXMVideoFileTypeProvider {
2286
+ async items() {
2287
+ return [
2288
+ {
2289
+ name: 'video',
2290
+ title: 'Video',
2291
+ icon: 'fa-light fa-video ax-text-red-500',
2292
+ extensions: [
2293
+ {
2294
+ name: 'mp4',
2295
+ title: 'MP4',
2296
+ icon: 'fa-light fa-video ax-text-red-500',
2297
+ meta: [],
2298
+ },
2299
+ {
2300
+ name: 'avi',
2301
+ title: 'AVI',
2302
+ icon: 'fa-light fa-video ax-text-red-500',
2303
+ meta: [],
2304
+ },
2305
+ {
2306
+ name: 'mkv',
2307
+ title: 'MKV',
2308
+ icon: 'fa-light fa-video ax-text-red-500',
2309
+ meta: [],
2310
+ },
2311
+ ],
2312
+ },
2313
+ ];
2314
+ }
2315
+ }
2316
+
2317
+ class AXMDocumentFileTypeProvider {
2318
+ async items() {
2319
+ return [
2320
+ {
2321
+ name: 'document',
2322
+ title: 'Document',
2323
+ icon: 'fa-light fa-file-lines ax-text-blue-600',
2324
+ extensions: [
2325
+ {
2326
+ name: 'pdf',
2327
+ title: 'PDF',
2328
+ icon: 'fa-light fa-file-pdf ax-text-red-600',
2329
+ meta: [],
2330
+ },
2331
+ {
2332
+ name: 'doc',
2333
+ title: 'Word',
2334
+ icon: 'fa-light fa-file-word ax-text-blue-700',
2335
+ meta: [],
2336
+ },
2337
+ {
2338
+ name: 'docx',
2339
+ title: 'Word',
2340
+ icon: 'fa-light fa-file-word ax-text-blue-700',
2341
+ meta: [],
2342
+ },
2343
+ {
2344
+ name: 'xls',
2345
+ title: 'Excel',
2346
+ icon: 'fa-light fa-file-excel ax-text-green-700',
2347
+ meta: [],
2348
+ },
2349
+ {
2350
+ name: 'xlsx',
2351
+ title: 'Excel',
2352
+ icon: 'fa-light fa-file-excel ax-text-green-700',
2353
+ meta: [],
2354
+ },
2355
+ {
2356
+ name: 'ppt',
2357
+ title: 'PowerPoint',
2358
+ icon: 'fa-light fa-file-powerpoint ax-text-orange-700',
2359
+ meta: [],
2360
+ },
2361
+ {
2362
+ name: 'pptx',
2363
+ title: 'PowerPoint',
2364
+ icon: 'fa-light fa-file-powerpoint ax-text-orange-700',
2365
+ meta: [],
2366
+ },
2367
+ {
2368
+ name: 'txt',
2369
+ title: 'Text',
2370
+ icon: 'fa-light fa-file-lines ax-text-blue-600',
2371
+ meta: [],
2372
+ },
2373
+ {
2374
+ name: 'rtf',
2375
+ title: 'Rich Text',
2376
+ icon: 'fa-light fa-file-lines ax-text-blue-600',
2377
+ meta: [],
2378
+ },
2379
+ ],
2380
+ },
2381
+ ];
2382
+ }
2383
+ }
2384
+
2385
+ class AXMAudioFileTypeProvider {
2386
+ async items() {
2387
+ return [
2388
+ {
2389
+ name: 'audio',
2390
+ title: 'Audio',
2391
+ icon: 'fa-light fa-file-audio ax-text-green-500',
2392
+ extensions: [
2393
+ {
2394
+ name: 'mp3',
2395
+ title: 'MP3',
2396
+ icon: 'fa-light fa-file-audio ax-text-green-500',
2397
+ meta: [],
2398
+ },
2399
+ {
2400
+ name: 'wav',
2401
+ title: 'WAV',
2402
+ icon: 'fa-light fa-file-audio ax-text-green-500',
2403
+ meta: [],
2404
+ },
2405
+ {
2406
+ name: 'ogg',
2407
+ title: 'OGG',
2408
+ icon: 'fa-light fa-file-audio ax-text-green-500',
2409
+ meta: [],
2410
+ },
2411
+ {
2412
+ name: 'm4a',
2413
+ title: 'M4A',
2414
+ icon: 'fa-light fa-file-audio ax-text-green-500',
2415
+ meta: [],
2416
+ },
2417
+ {
2418
+ name: 'flac',
2419
+ title: 'FLAC',
2420
+ icon: 'fa-light fa-file-audio ax-text-green-500',
2421
+ meta: [],
2422
+ },
2423
+ ],
2424
+ },
2425
+ ];
2426
+ }
2427
+ }
2428
+
2429
+ class AXMArchiveFileTypeProvider {
2430
+ async items() {
2431
+ return [
2432
+ {
2433
+ name: 'archive',
2434
+ title: 'Archive',
2435
+ icon: 'fa-light fa-file-zipper ax-text-orange-500',
2436
+ extensions: [
2437
+ {
2438
+ name: 'zip',
2439
+ title: 'ZIP',
2440
+ icon: 'fa-light fa-file-zipper ax-text-orange-500',
2441
+ meta: [],
2442
+ },
2443
+ {
2444
+ name: 'rar',
2445
+ title: 'RAR',
2446
+ icon: 'fa-light fa-file-zipper ax-text-orange-500',
2447
+ meta: [],
2448
+ },
2449
+ {
2450
+ name: '7z',
2451
+ title: '7-Zip',
2452
+ icon: 'fa-light fa-file-zipper ax-text-orange-500',
2453
+ meta: [],
2454
+ },
2455
+ {
2456
+ name: 'tar',
2457
+ title: 'TAR',
2458
+ icon: 'fa-light fa-file-zipper ax-text-orange-500',
2459
+ meta: [],
2460
+ },
2461
+ {
2462
+ name: 'gz',
2463
+ title: 'GZIP',
2464
+ icon: 'fa-light fa-file-zipper ax-text-orange-500',
2465
+ meta: [],
2466
+ },
2467
+ ],
2468
+ },
2469
+ ];
2470
+ }
2471
+ }
2472
+
2473
+ class AXMCodeFileTypeProvider {
2474
+ async items() {
2475
+ return [
2476
+ {
2477
+ name: 'code',
2478
+ title: 'Code',
2479
+ icon: 'fa-light fa-file-code ax-text-blue-500',
2480
+ extensions: [
2481
+ {
2482
+ name: 'js',
2483
+ title: 'JavaScript',
2484
+ icon: 'fa-light fa-file-code ax-text-yellow-500',
2485
+ meta: [],
2486
+ },
2487
+ {
2488
+ name: 'ts',
2489
+ title: 'TypeScript',
2490
+ icon: 'fa-light fa-file-code ax-text-blue-600',
2491
+ meta: [],
2492
+ },
2493
+ {
2494
+ name: 'html',
2495
+ title: 'HTML',
2496
+ icon: 'fa-light fa-file-code ax-text-orange-600',
2497
+ meta: [],
2498
+ },
2499
+ {
2500
+ name: 'css',
2501
+ title: 'CSS',
2502
+ icon: 'fa-light fa-file-code ax-text-pink-500',
2503
+ meta: [],
2504
+ },
2505
+ {
2506
+ name: 'json',
2507
+ title: 'JSON',
2508
+ icon: 'fa-light fa-file-code ax-text-green-500',
2509
+ meta: [],
2510
+ },
2511
+ {
2512
+ name: 'xml',
2513
+ title: 'XML',
2514
+ icon: 'fa-light fa-file-code ax-text-green-500',
2515
+ meta: [],
2516
+ },
2517
+ {
2518
+ name: 'py',
2519
+ title: 'Python',
2520
+ icon: 'fa-light fa-file-code ax-text-yellow-500',
2521
+ meta: [],
2522
+ },
2523
+ {
2524
+ name: 'java',
2525
+ title: 'Java',
2526
+ icon: 'fa-light fa-file-code ax-text-red-500',
2527
+ meta: [],
2528
+ },
2529
+ {
2530
+ name: 'cpp',
2531
+ title: 'C++',
2532
+ icon: 'fa-light fa-file-code ax-text-blue-500',
2533
+ meta: [],
2534
+ },
2535
+ {
2536
+ name: 'cs',
2537
+ title: 'C#',
2538
+ icon: 'fa-light fa-file-code ax-text-blue-500',
2539
+ meta: [],
2540
+ },
2541
+ ],
2542
+ },
2543
+ ];
2544
+ }
2545
+ }
2546
+
2547
+ class AXMFileTypeExtensionWidgetColumnComponent extends AXPWidgetComponent {
2548
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2549
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMFileTypeExtensionWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2550
+ }
2551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetColumnComponent, decorators: [{
2552
+ type: Component,
2553
+ args: [{
2554
+ template: ``,
2555
+ changeDetection: ChangeDetectionStrategy.OnPush,
2556
+ imports: [CommonModule],
2557
+ inputs: ['rawValue'],
2558
+ }]
2559
+ }] });
2560
+
2561
+ var fileTypeExtensionColumn_component = /*#__PURE__*/Object.freeze({
2562
+ __proto__: null,
2563
+ AXMFileTypeExtensionWidgetColumnComponent: AXMFileTypeExtensionWidgetColumnComponent
2564
+ });
2565
+
2566
+ class AXMFileTypeExtensionWidgetDesignerComponent extends AXPWidgetComponent {
2567
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2568
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMFileTypeExtensionWidgetDesignerComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2569
+ }
2570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetDesignerComponent, decorators: [{
2571
+ type: Component,
2572
+ args: [{
2573
+ template: ``,
2574
+ changeDetection: ChangeDetectionStrategy.OnPush,
2575
+ imports: [CommonModule],
2576
+ inputs: ['rawValue'],
2577
+ }]
2578
+ }] });
2579
+
2580
+ // @if(allowSearch()) {
2581
+ // <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
2582
+ // } @if(hasClearButton()) {
2583
+ // <ax-clear-button></ax-clear-button>
2584
+ // } @for (validation of validationRules(); track $index) {
2585
+ // <ax-validation-rule
2586
+ // [rule]="validation.rule"
2587
+ // [message]="validation.options?.message"
2588
+ // [options]="validation.options"
2589
+ // ></ax-validation-rule>
2590
+ // } @for (validation of validationRules(); track $index) {
2591
+ // <ax-validation-rule
2592
+ // [rule]="validation.rule"
2593
+ // [message]="validation.options?.message"
2594
+ // [options]="validation.options"
2595
+ // ></ax-validation-rule>
2596
+ class AXMFileTypeExtensionWidgetEditComponent extends AXPWidgetComponent {
2597
+ constructor() {
2598
+ super(...arguments);
2599
+ this.fileTypeService = inject(AXPFileTypeProviderService);
2600
+ this.dataSource = new AXDataSource({
2601
+ load: async (_) => {
2602
+ try {
2603
+ const res = await this.fileTypeService.items();
2604
+ const types = res
2605
+ .map((item) => {
2606
+ const { meta, extensions, ...rest } = item;
2607
+ return extensions.map((ext) => {
2608
+ const { meta, ...extRest } = ext;
2609
+ return {
2610
+ ...rest,
2611
+ ...extRest,
2612
+ name: `${item.name}.${ext.name}`,
2613
+ title: `${item.title}/${ext.title}`,
2614
+ };
2615
+ });
2616
+ })
2617
+ .flat();
2618
+ return {
2619
+ items: types,
2620
+ total: types.length,
2621
+ };
2622
+ }
2623
+ catch (e) {
2624
+ console.log(e);
2625
+ }
2626
+ return {
2627
+ items: [],
2628
+ total: 0,
2629
+ };
2630
+ },
2631
+ pageSize: 100,
2632
+ });
2633
+ this.selectedItems = signal(this.getValue()?.selectedItems ?? []);
2634
+ this.context = signal(this.getValue()?.context ?? {});
2635
+ }
2636
+ ngOnInit() {
2637
+ super.ngOnInit();
2638
+ this.selectedItems.set(this.getValue()?.selectedItems ?? []);
2639
+ this.context.set(this.getValue()?.context ?? {});
2640
+ }
2641
+ outputs() {
2642
+ return ['selectedItems', 'context'];
2643
+ }
2644
+ handleOnContextChange(e) {
2645
+ this.context.set(e.data);
2646
+ this.setValue({ ...this.getValue(), context: e.data });
2647
+ }
2648
+ async handleValueChange(e) {
2649
+ const selectItems = e.component.selectedItems;
2650
+ this.setValue({ ...this.getValue(), selectedItems: selectItems });
2651
+ const result = {};
2652
+ for (const item of selectItems) {
2653
+ const type = item.name.split('.')[0];
2654
+ const ext = item.name.split('.')[1];
2655
+ var fileType = await this.fileTypeService.get(type);
2656
+ if (fileType != undefined) {
2657
+ const extension = fileType.extensions.find((extension) => extension.name == ext) || { name: ext, title: '' };
2658
+ if (extension.meta) {
2659
+ for (const meta of extension.meta) {
2660
+ if (!get(meta, '__node__')) {
2661
+ set(meta, '__node__', typeof meta.interface == 'function' ? await meta.interface() : meta.interface);
2662
+ }
2663
+ }
2664
+ }
2665
+ if (fileType.meta) {
2666
+ for (const meta of fileType.meta) {
2667
+ if (!get(meta, '__node__')) {
2668
+ set(meta, '__node__', typeof meta.interface == 'function' ? await meta.interface() : meta.interface);
2669
+ }
2670
+ }
2671
+ }
2672
+ if (result[type]) {
2673
+ result[type] = {
2674
+ ...fileType,
2675
+ extensions: [...result[type].extensions, extension],
2676
+ };
2677
+ }
2678
+ else {
2679
+ result[type] = {
2680
+ ...fileType,
2681
+ extensions: [extension],
2682
+ };
2683
+ }
2684
+ }
2685
+ }
2686
+ this.selectedItems.set(Object.values(result));
2687
+ }
2688
+ getNode(meta) {
2689
+ return get(meta, '__node__');
2690
+ }
2691
+ filedIsRequired(meta) {
2692
+ const node = get(meta, '__node__');
2693
+ if (node && node.options && node.options.validations) {
2694
+ return node.options.validations.some((validation) => validation.rule === 'required');
2695
+ }
2696
+ return false;
2697
+ }
2698
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2699
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMFileTypeExtensionWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2700
+ <div>
2701
+ <ax-select-box
2702
+ #dd
2703
+ [dataSource]="dataSource"
2704
+ valueField="name"
2705
+ textField="title"
2706
+ [multiple]="true"
2707
+ [ngModel]="getValue()?.selectedItems"
2708
+ (onValueChanged)="handleValueChange($event)"
2709
+ >
2710
+ </ax-select-box>
2711
+ <div class="ax-py-3"></div>
2712
+ <axp-widgets-container (onContextChanged)="handleOnContextChange($event)" [context]="context()">
2713
+ @if (selectedItems().length > 0) {
2714
+ <ax-collapse-group look="fill">
2715
+ @for (item of selectedItems(); track item.name) {
2716
+ <!-- File Types -->
2717
+ <ax-collapse [caption]="item.title">
2718
+ <div class="ax-flex ax-flex-col ax-gap-5">
2719
+ @if (item.meta && item.meta.length > 0) {
2720
+ <div class="ax-flex ax-flex-col ax-gap-2">
2721
+ <ax-text [textContent]="'Global Meta Data'" class="ax-font-bold ax-text-sm"></ax-text>
2722
+ @for (metaFile of item.meta; track metaFile.name) {
2723
+ <!-- File Meta Data -->
2724
+ <ax-form-field>
2725
+ <ax-label [required]="filedIsRequired(metaFile)">{{ metaFile.title }}</ax-label>
2726
+ <ng-container axp-widget-renderer [node]="getNode(metaFile)" [mode]="'edit'"></ng-container>
2727
+ </ax-form-field>
2728
+ }
2729
+ </div>
2730
+ }
2731
+ @if (item.extensions && item.extensions.length > 0) {
2732
+ <div class="ax-flex ax-flex-col ax-gap-3">
2733
+ @for (ext of item.extensions; track ext.name) {
2734
+ <!-- Extensions -->
2735
+ @if (ext.meta && ext.meta.length > 0) {
2736
+ <ax-text [textContent]="ext.title" class="ax-font-bold ax-text-sm"></ax-text>
2737
+ <div class="ax-flex ax-flex-col ax-gap-2">
2738
+ @for (extMeta of ext.meta; track $index) {
2739
+ <!-- Extension Meta Data -->
2740
+ <ax-form-field>
2741
+ <ax-label [required]="filedIsRequired(extMeta)">{{ extMeta.title }}</ax-label>
2742
+ <ng-container axp-widget-renderer [node]="getNode(extMeta)"
2743
+ [mode]="'edit'"></ng-container>
2744
+ </ax-form-field>
2745
+ }
2746
+ </div>
2747
+ }
2748
+ <!-- End Extension Meta Data -->
2749
+ }
2750
+ </div>
2751
+ <!-- End Extensions -->
2752
+ }
2753
+ </div>
2754
+ </ax-collapse>
2755
+ }
2756
+ <!-- End File Types -->
2757
+ </ax-collapse-group>
2758
+ }
2759
+ </axp-widgets-container>
2760
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i7.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.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: AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i6.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i7$1.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i7$1.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2761
+ }
2762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetEditComponent, decorators: [{
2763
+ type: Component,
2764
+ args: [{
2765
+ template: `
2766
+ <div>
2767
+ <ax-select-box
2768
+ #dd
2769
+ [dataSource]="dataSource"
2770
+ valueField="name"
2771
+ textField="title"
2772
+ [multiple]="true"
2773
+ [ngModel]="getValue()?.selectedItems"
2774
+ (onValueChanged)="handleValueChange($event)"
2775
+ >
2776
+ </ax-select-box>
2777
+ <div class="ax-py-3"></div>
2778
+ <axp-widgets-container (onContextChanged)="handleOnContextChange($event)" [context]="context()">
2779
+ @if (selectedItems().length > 0) {
2780
+ <ax-collapse-group look="fill">
2781
+ @for (item of selectedItems(); track item.name) {
2782
+ <!-- File Types -->
2783
+ <ax-collapse [caption]="item.title">
2784
+ <div class="ax-flex ax-flex-col ax-gap-5">
2785
+ @if (item.meta && item.meta.length > 0) {
2786
+ <div class="ax-flex ax-flex-col ax-gap-2">
2787
+ <ax-text [textContent]="'Global Meta Data'" class="ax-font-bold ax-text-sm"></ax-text>
2788
+ @for (metaFile of item.meta; track metaFile.name) {
2789
+ <!-- File Meta Data -->
2790
+ <ax-form-field>
2791
+ <ax-label [required]="filedIsRequired(metaFile)">{{ metaFile.title }}</ax-label>
2792
+ <ng-container axp-widget-renderer [node]="getNode(metaFile)" [mode]="'edit'"></ng-container>
2793
+ </ax-form-field>
2794
+ }
2795
+ </div>
2796
+ }
2797
+ @if (item.extensions && item.extensions.length > 0) {
2798
+ <div class="ax-flex ax-flex-col ax-gap-3">
2799
+ @for (ext of item.extensions; track ext.name) {
2800
+ <!-- Extensions -->
2801
+ @if (ext.meta && ext.meta.length > 0) {
2802
+ <ax-text [textContent]="ext.title" class="ax-font-bold ax-text-sm"></ax-text>
2803
+ <div class="ax-flex ax-flex-col ax-gap-2">
2804
+ @for (extMeta of ext.meta; track $index) {
2805
+ <!-- Extension Meta Data -->
2806
+ <ax-form-field>
2807
+ <ax-label [required]="filedIsRequired(extMeta)">{{ extMeta.title }}</ax-label>
2808
+ <ng-container axp-widget-renderer [node]="getNode(extMeta)"
2809
+ [mode]="'edit'"></ng-container>
2810
+ </ax-form-field>
2811
+ }
2812
+ </div>
2813
+ }
2814
+ <!-- End Extension Meta Data -->
2815
+ }
2816
+ </div>
2817
+ <!-- End Extensions -->
2818
+ }
2819
+ </div>
2820
+ </ax-collapse>
2821
+ }
2822
+ <!-- End File Types -->
2823
+ </ax-collapse-group>
2824
+ }
2825
+ </axp-widgets-container>
2826
+ </div>`,
2827
+ changeDetection: ChangeDetectionStrategy.OnPush,
2828
+ imports: [CommonModule, AXSelectBoxModule, FormsModule, AXFormModule, AXLabelModule, AXDecoratorModule, AXPLayoutBuilderModule, AXCollapseModule],
2829
+ inputs: [],
2830
+ }]
2831
+ }] });
2832
+
2833
+ var fileTypeExtensionEdit_component = /*#__PURE__*/Object.freeze({
2834
+ __proto__: null,
2835
+ AXMFileTypeExtensionWidgetEditComponent: AXMFileTypeExtensionWidgetEditComponent
2836
+ });
2837
+
2838
+ class AXMFileTypeExtensionWidgetViewComponent extends AXPWidgetComponent {
2839
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2840
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMFileTypeExtensionWidgetViewComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2841
+ }
2842
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeExtensionWidgetViewComponent, decorators: [{
2843
+ type: Component,
2844
+ args: [{
2845
+ template: ``,
2846
+ changeDetection: ChangeDetectionStrategy.OnPush,
2847
+ imports: [CommonModule],
2848
+ inputs: ['rawValue'],
2849
+ }]
2850
+ }] });
2851
+
2852
+ var fileTypeExtensionView_component = /*#__PURE__*/Object.freeze({
2853
+ __proto__: null,
2854
+ AXMFileTypeExtensionWidgetViewComponent: AXMFileTypeExtensionWidgetViewComponent
2855
+ });
2856
+
2857
+ const AXmFileTypeExtensionWidget = {
2858
+ name: 'file-type-extension',
2859
+ title: 'File Type Extension',
2860
+ description: 'Uploads and manages files',
2861
+ icon: 'fa-solid fa-files',
2862
+ group: AXP_WIDGETS_ADVANCE_GROUP,
2863
+ type: 'editor',
2864
+ properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY],
2865
+ components: {
2866
+ view: {
2867
+ component: () => Promise.resolve().then(function () { return fileTypeExtensionView_component; }).then((c) => c.AXMFileTypeExtensionWidgetViewComponent),
2868
+ },
2869
+ edit: {
2870
+ component: () => Promise.resolve().then(function () { return fileTypeExtensionEdit_component; }).then((c) => c.AXMFileTypeExtensionWidgetEditComponent),
2871
+ },
2872
+ // filter: {
2873
+ // component: () => import('./file-type-extension-filter.component').then((c) => c.AXPFileBoxWidgetFilterComponent),
2874
+ // },
2875
+ column: {
2876
+ component: () => Promise.resolve().then(function () { return fileTypeExtensionColumn_component; }).then((c) => c.AXMFileTypeExtensionWidgetColumnComponent),
2877
+ },
2878
+ // print: {
2879
+ // component: () => import('./file-type-extension-print.component').then((c) => c.AXPFileBoxWidgetPrintComponent),
2880
+ // },
2881
+ designer: {
2882
+ component: () => Promise.resolve().then(function () { return fileTypeExtensionEdit_component; }).then((c) => c.AXMFileTypeExtensionWidgetEditComponent),
2883
+ },
2884
+ },
2885
+ };
2886
+
2887
+ class AXMFileTypeModule {
2888
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2889
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeModule }); }
2890
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeModule, providers: [
2891
+ {
2892
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2893
+ useClass: AXMImageFileTypeProvider,
2894
+ multi: true,
2895
+ },
2896
+ {
2897
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2898
+ useClass: AXMVideoFileTypeProvider,
2899
+ multi: true,
2900
+ },
2901
+ {
2902
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2903
+ useClass: AXMDocumentFileTypeProvider,
2904
+ multi: true,
2905
+ },
2906
+ {
2907
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2908
+ useClass: AXMAudioFileTypeProvider,
2909
+ multi: true,
2910
+ },
2911
+ {
2912
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2913
+ useClass: AXMCodeFileTypeProvider,
2914
+ multi: true,
2915
+ },
2916
+ {
2917
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2918
+ useClass: AXMArchiveFileTypeProvider,
2919
+ multi: true,
2920
+ },
2921
+ ] }); }
2922
+ }
2923
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileTypeModule, decorators: [{
2924
+ type: NgModule,
2925
+ args: [{
2926
+ providers: [
2927
+ {
2928
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2929
+ useClass: AXMImageFileTypeProvider,
2930
+ multi: true,
2931
+ },
2932
+ {
2933
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2934
+ useClass: AXMVideoFileTypeProvider,
2935
+ multi: true,
2936
+ },
2937
+ {
2938
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2939
+ useClass: AXMDocumentFileTypeProvider,
2940
+ multi: true,
2941
+ },
2942
+ {
2943
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2944
+ useClass: AXMAudioFileTypeProvider,
2945
+ multi: true,
2946
+ },
2947
+ {
2948
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2949
+ useClass: AXMCodeFileTypeProvider,
2950
+ multi: true,
2951
+ },
2952
+ {
2953
+ provide: AXP_FILE_TYPE_INFO_PROVIDER,
2954
+ useClass: AXMArchiveFileTypeProvider,
2955
+ multi: true,
2956
+ },
2957
+ ],
2958
+ }]
2959
+ }] });
2960
+
2961
+ function routesFacory() {
2962
+ const config = inject(AXP_ENTITY_CONFIG_TOKEN);
2963
+ const routes = [
2964
+ {
2965
+ path: ':app/drive/:scope',
2966
+ component: config.viewers.root(),
2967
+ canActivate: [AXPAuthGuard],
2968
+ data: { reuse: true },
2969
+ children: [
2970
+ {
2971
+ path: '',
2972
+ loadComponent: () => import('./acorex-modules-document-management-drive.component-bjnFFaLS.mjs').then((c) => c.AXMDocumentDriveComponent),
2973
+ },
2974
+ {
2975
+ path: ':id',
2976
+ loadComponent: () => import('./acorex-modules-document-management-drive.component-bjnFFaLS.mjs').then((c) => c.AXMDocumentDriveComponent),
2977
+ },
2978
+ ],
2979
+ },
2980
+ ];
2981
+ return routes;
2982
+ }
1684
2983
  class AXMDocumentManagementModule {
1685
2984
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1686
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentEntityModule] }); }
2985
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
2986
+ AXMDocumentManagementDocumentTypeMetaValueEntityModule,
2987
+ AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
2988
+ AXMDocumentManagementDocumentTypeEntityModule,
2989
+ AXMDocumentManagementDocumentEntityModule, i6.AXPLayoutBuilderModule, AXMFileTypeModule] }); }
1687
2990
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, providers: [
2991
+ {
2992
+ provide: AXMFolderService,
2993
+ useClass: AXMFolderServiceImpl,
2994
+ },
1688
2995
  {
1689
2996
  provide: AXP_MENU_PROVIDER,
1690
2997
  useClass: AXMMenuProvider,
@@ -1710,15 +3017,41 @@ class AXMDocumentManagementModule {
1710
3017
  useClass: AXMPermissionProvider,
1711
3018
  multi: true,
1712
3019
  },
1713
- ], imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentEntityModule] }); }
3020
+ {
3021
+ provide: ROUTES,
3022
+ multi: true,
3023
+ useFactory: routesFacory,
3024
+ },
3025
+ ], imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
3026
+ AXMDocumentManagementDocumentTypeMetaValueEntityModule,
3027
+ AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
3028
+ AXMDocumentManagementDocumentTypeEntityModule,
3029
+ AXMDocumentManagementDocumentEntityModule,
3030
+ AXPLayoutBuilderModule.forChild({
3031
+ widgets: [AXmFileTypeExtensionWidget],
3032
+ }),
3033
+ AXMFileTypeModule] }); }
1714
3034
  }
1715
3035
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, decorators: [{
1716
3036
  type: NgModule,
1717
3037
  args: [{
1718
- imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentEntityModule,],
3038
+ imports: [
3039
+ AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
3040
+ AXMDocumentManagementDocumentTypeMetaValueEntityModule,
3041
+ AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
3042
+ AXMDocumentManagementDocumentTypeEntityModule,
3043
+ AXMDocumentManagementDocumentEntityModule,
3044
+ AXPLayoutBuilderModule.forChild({
3045
+ widgets: [AXmFileTypeExtensionWidget],
3046
+ }),
3047
+ AXMFileTypeModule,
3048
+ ],
1719
3049
  exports: [],
1720
- declarations: [],
1721
3050
  providers: [
3051
+ {
3052
+ provide: AXMFolderService,
3053
+ useClass: AXMFolderServiceImpl,
3054
+ },
1722
3055
  {
1723
3056
  provide: AXP_MENU_PROVIDER,
1724
3057
  useClass: AXMMenuProvider,
@@ -1744,15 +3077,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
1744
3077
  useClass: AXMPermissionProvider,
1745
3078
  multi: true,
1746
3079
  },
1747
- ]
3080
+ {
3081
+ provide: ROUTES,
3082
+ multi: true,
3083
+ useFactory: routesFacory,
3084
+ },
3085
+ ],
1748
3086
  }]
1749
3087
  }] });
1750
3088
 
1751
- //export * from './lib/pages';
1752
-
1753
3089
  /**
1754
3090
  * Generated bundle index. Do not edit.
1755
3091
  */
1756
3092
 
1757
- export { AXMDocumentManagementModule, AXMEntityProvider, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, RootConfig };
3093
+ export { AXMDocumentManagementDocumentEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentTypeEntityService, AXMDocumentManagementDocumentTypeEntityServiceImpl, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityService, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, AXMDocumentManagementModule, AXMDocumentService, AXMDocumentServiceImpl, AXMEntityProvider, AXMFolderService, AXMFolderServiceImpl, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, RootConfig, documentFactory, documentTypeFactory, documentTypeMetaDefinitionfactory, documentTypeMetaValueFactory, documentTypeStatusDefinitionFactory, folderFactory };
1758
3094
  //# sourceMappingURL=acorex-modules-document-management.mjs.map