@acorex/modules 19.2.12 → 19.2.16

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 (283) 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/common/README.md +3 -0
  14. package/common/index.d.ts +6 -0
  15. package/common/lib/common.module.d.ts +6 -0
  16. package/common/lib/const.d.ts +25 -0
  17. package/common/lib/entities/dashboard/dashboard.entity.d.ts +3 -0
  18. package/common/lib/entities/dashboard/dashboard.service.d.ts +10 -0
  19. package/common/lib/entities/dashboard/dashboard.types.d.ts +8 -0
  20. package/common/lib/entities/dashboard/index.d.ts +3 -0
  21. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.entity.d.ts +3 -0
  22. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.service.d.ts +10 -0
  23. package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.types.d.ts +9 -0
  24. package/common/lib/entities/dashboard-widget-data/index.d.ts +3 -0
  25. package/common/lib/entities/index.d.ts +2 -0
  26. package/common/lib/entity.provider.d.ts +10 -0
  27. package/common/lib/features/home/dashboard-home.d.ts +5 -0
  28. package/common/lib/features/home/index.d.ts +1 -0
  29. package/common/lib/menu.provider.d.ts +5 -0
  30. package/common/lib/permission.provider.d.ts +4 -0
  31. package/common/lib/search-command.provider.d.ts +4 -0
  32. package/common/lib/setting.provider.d.ts +4 -0
  33. package/conversation/lib/entities/chat/chat.service.d.ts +1 -1
  34. package/conversation/lib/entities/chat/chat.type.d.ts +1 -1
  35. package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +1 -1
  36. package/conversation/lib/entities/comments/comments.service.d.ts +1 -1
  37. package/conversation/lib/entities/comments/comments.type.d.ts +1 -1
  38. package/document-management/index.d.ts +1 -0
  39. package/document-management/lib/const.d.ts +6 -5
  40. package/document-management/lib/document-management.module.d.ts +3 -1
  41. package/document-management/lib/entities/document/document.service.d.ts +15 -5
  42. package/document-management/lib/entities/document/document.types.d.ts +2 -1
  43. package/document-management/lib/entities/document-type/document-type.service.d.ts +1 -1
  44. package/document-management/lib/entities/document-type/document-type.types.d.ts +16 -1
  45. package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.service.d.ts +1 -1
  46. package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.types.d.ts +1 -1
  47. package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.service.d.ts +1 -1
  48. package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.types.d.ts +1 -1
  49. package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.service.d.ts +1 -1
  50. package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.types.d.ts +1 -1
  51. package/document-management/lib/entities/folder/folder.entity.d.ts +3 -0
  52. package/document-management/lib/entities/folder/folder.service.d.ts +19 -0
  53. package/document-management/lib/entities/folder/folder.types.d.ts +37 -0
  54. package/document-management/lib/entities/folder/index.d.ts +3 -0
  55. package/document-management/lib/entities/index.d.ts +6 -0
  56. package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +14 -0
  57. package/document-management/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.d.ts +14 -0
  58. package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +76 -0
  59. package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +57 -0
  60. package/document-management/lib/features/document-explorer/index.d.ts +3 -0
  61. package/document-management/lib/features/document-explorer/settings.keys.d.ts +5 -0
  62. package/document-management/lib/features/drive/drive.component.d.ts +201 -0
  63. package/document-management/lib/features/drive/index.d.ts +3 -0
  64. package/document-management/lib/features/file-type/file-type.module.d.ts +6 -0
  65. package/document-management/lib/features/file-type/index.d.ts +2 -0
  66. package/document-management/lib/features/file-type/providers/archive.file.d.ts +4 -0
  67. package/document-management/lib/features/file-type/providers/audio.file.d.ts +4 -0
  68. package/document-management/lib/features/file-type/providers/code.file.d.ts +4 -0
  69. package/document-management/lib/features/file-type/providers/document.file.d.ts +4 -0
  70. package/document-management/lib/features/file-type/providers/image.file.d.ts +4 -0
  71. package/document-management/lib/features/file-type/providers/index.d.ts +6 -0
  72. package/document-management/lib/features/file-type/providers/video.file.d.ts +4 -0
  73. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +6 -0
  74. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +6 -0
  75. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +18 -0
  76. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +6 -0
  77. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-widget.config.d.ts +7 -0
  78. package/document-management/lib/features/file-type/widgets/file-type-extension/index.d.ts +5 -0
  79. package/document-management/lib/features/file-type/widgets/index.d.ts +1 -0
  80. package/document-management/lib/features/shared/document-manager.service.d.ts +209 -0
  81. package/document-management/lib/features/shared/document-manager.types.d.ts +21 -0
  82. package/document-management/lib/features/shared/index.d.ts +1 -0
  83. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +6 -0
  84. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +6 -0
  85. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-filter.component.d.ts +6 -0
  86. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +6 -0
  87. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +6 -0
  88. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget.config.d.ts +7 -0
  89. package/document-management/lib/features/widgets/document-attachment/index.d.ts +6 -0
  90. package/document-management/lib/features/widgets/index.d.ts +1 -0
  91. package/document-management/lib/menu.provider.d.ts +1 -0
  92. package/fesm2022/acorex-modules-application-management.mjs +3 -3
  93. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  94. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs → acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs} +53 -133
  95. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map +1 -0
  96. package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs → acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs} +2 -2
  97. package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs.map → acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs.map} +1 -1
  98. package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs → acorex-modules-auth-login.module-B9P2XpfQ.mjs} +4 -4
  99. package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs.map → acorex-modules-auth-login.module-B9P2XpfQ.mjs.map} +1 -1
  100. package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs → acorex-modules-auth-master.layout-BYC0FYq1.mjs} +2 -2
  101. package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs.map → acorex-modules-auth-master.layout-BYC0FYq1.mjs.map} +1 -1
  102. package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs → acorex-modules-auth-password.component-C7Yp-ioT.mjs} +6 -6
  103. package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs.map → acorex-modules-auth-password.component-C7Yp-ioT.mjs.map} +1 -1
  104. package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs +127 -0
  105. package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs.map +1 -0
  106. package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs → acorex-modules-auth-routes-Bu-xB4O6.mjs} +2 -2
  107. package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs.map → acorex-modules-auth-routes-Bu-xB4O6.mjs.map} +1 -1
  108. package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs} +5 -5
  109. package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs.map → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map} +1 -1
  110. package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs → acorex-modules-auth-two-factor.module-YRh6_YcG.mjs} +3 -3
  111. package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs.map → acorex-modules-auth-two-factor.module-YRh6_YcG.mjs.map} +1 -1
  112. package/fesm2022/acorex-modules-auth.mjs +1 -1
  113. package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs +14 -0
  114. package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs.map +1 -0
  115. package/fesm2022/acorex-modules-common.mjs +1095 -0
  116. package/fesm2022/acorex-modules-common.mjs.map +1 -0
  117. package/fesm2022/acorex-modules-conversation.mjs +2 -2
  118. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  119. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs +4242 -0
  120. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs.map +1 -0
  121. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs +91 -0
  122. package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs.map +1 -0
  123. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs +101 -0
  124. package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs.map +1 -0
  125. package/fesm2022/acorex-modules-document-management.mjs +1 -1757
  126. package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
  127. 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
  128. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map +1 -0
  129. package/fesm2022/{acorex-modules-form-template-management-category.entity-ChxSjvOF.mjs → acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs} +4 -17
  130. package/fesm2022/acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map +1 -0
  131. package/fesm2022/{acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs → acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs} +4 -3
  132. package/fesm2022/acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs.map +1 -0
  133. package/fesm2022/{acorex-modules-form-template-management-setting.provider-CByIOZMr.mjs → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs} +2 -2
  134. 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
  135. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs +191 -0
  136. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map +1 -0
  137. 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
  138. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map +1 -0
  139. package/fesm2022/{acorex-modules-form-template-management-template.entity-BIBMNXD5.mjs → acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs} +3 -3
  140. package/fesm2022/acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map +1 -0
  141. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DPxTaC2A.mjs → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs} +2 -2
  142. 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
  143. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  144. package/fesm2022/acorex-modules-notification-management.mjs +10 -3
  145. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  146. package/fesm2022/{acorex-modules-organization-management-add-item.component-BXRyhcjE.mjs → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs} +2 -2
  147. 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
  148. package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs +344 -0
  149. package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map +1 -0
  150. package/fesm2022/{acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs → acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs} +4 -4
  151. package/fesm2022/acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map +1 -0
  152. package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs} +2 -2
  153. 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
  154. package/fesm2022/{acorex-modules-organization-management-org-chart.page-DMxaL-70.mjs → acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs} +16 -10
  155. package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +1 -0
  156. package/fesm2022/{acorex-modules-organization-management-position.entity-B7ceEEbu.mjs → acorex-modules-organization-management-position.entity-D17Yembh.mjs} +2 -2
  157. package/fesm2022/acorex-modules-organization-management-position.entity-D17Yembh.mjs.map +1 -0
  158. package/fesm2022/{acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs → acorex-modules-organization-management-role.entity-Cmbyle8P.mjs} +36 -54
  159. package/fesm2022/acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map +1 -0
  160. package/fesm2022/{acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs → acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs} +7 -7
  161. package/fesm2022/acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs.map +1 -0
  162. package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs +238 -0
  163. package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map +1 -0
  164. package/fesm2022/acorex-modules-organization-management.mjs +200 -105
  165. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  166. package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs +59 -0
  167. package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map +1 -0
  168. package/fesm2022/acorex-modules-platform-management.mjs +867 -610
  169. package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
  170. package/fesm2022/acorex-modules-scheduler-job-management.mjs +2 -2
  171. package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
  172. package/fesm2022/acorex-modules-security-management.mjs +61 -29
  173. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  174. package/fesm2022/acorex-modules-text-template-management.mjs +324 -6
  175. package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
  176. package/form-template-management/lib/entities/category/category.service.d.ts +1 -1
  177. package/form-template-management/lib/entities/category/category.types.d.ts +2 -1
  178. package/form-template-management/lib/entities/template/template.service.d.ts +1 -1
  179. package/form-template-management/lib/entities/template/template.types.d.ts +1 -1
  180. package/form-template-management/lib/features/designer/designer.page.d.ts +1 -0
  181. package/form-template-management/lib/features/designer/template.provider.d.ts +1 -1
  182. package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +0 -4
  183. package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +1 -0
  184. package/form-template-management/lib/features/designer/widgets/template-picker/template-picker.component.d.ts +14 -4
  185. package/form-template-management/lib/features/designer/widgets/template-picker/template.provider.d.ts +2 -1
  186. package/form-template-management/lib/features/designer/workflows/design-template.workflow.d.ts +1 -8
  187. package/form-template-management/lib/features/designer/workflows/workflow.actions.d.ts +17 -0
  188. package/form-template-management/lib/menu.provider.d.ts +1 -0
  189. package/notification-management/lib/entities/channel/channel.service.d.ts +1 -1
  190. package/notification-management/lib/entities/channel/channel.types.d.ts +2 -1
  191. package/notification-management/lib/entities/notification/notification.service.d.ts +1 -1
  192. package/notification-management/lib/entities/notification/notification.types.d.ts +1 -1
  193. package/notification-management/lib/entities/template/template.service.d.ts +1 -1
  194. package/notification-management/lib/entities/template/template.types.d.ts +1 -1
  195. package/notification-management/lib/menu.provider.d.ts +1 -0
  196. package/organization-management/lib/const.d.ts +3 -0
  197. package/organization-management/lib/entities/branch/branch.service.d.ts +1 -1
  198. package/organization-management/lib/entities/branch/branch.types.d.ts +1 -1
  199. package/organization-management/lib/entities/chart/chart.service.d.ts +1 -1
  200. package/organization-management/lib/entities/chart/chart.types.d.ts +1 -1
  201. package/organization-management/lib/entities/company/company.service.d.ts +1 -1
  202. package/organization-management/lib/entities/company/company.types.d.ts +1 -1
  203. package/organization-management/lib/entities/department/department.service.d.ts +1 -1
  204. package/organization-management/lib/entities/department/department.types.d.ts +1 -1
  205. package/organization-management/lib/entities/division/division.service.d.ts +1 -1
  206. package/organization-management/lib/entities/division/division.types.d.ts +1 -1
  207. package/organization-management/lib/entities/employee/employee.service.d.ts +1 -1
  208. package/organization-management/lib/entities/employee/employee.types.d.ts +1 -1
  209. package/organization-management/lib/entities/employment-type/employment-type.service.d.ts +1 -1
  210. package/organization-management/lib/entities/employment-type/employment-type.types.d.ts +1 -1
  211. package/organization-management/lib/entities/index.d.ts +6 -4
  212. package/organization-management/lib/entities/position/position.service.d.ts +1 -1
  213. package/organization-management/lib/entities/position/position.types.d.ts +1 -1
  214. package/organization-management/lib/entities/role/index.d.ts +3 -0
  215. package/organization-management/lib/entities/role/role.entity.d.ts +3 -0
  216. package/organization-management/lib/entities/role/role.module.d.ts +6 -0
  217. package/organization-management/lib/entities/role/role.service.d.ts +10 -0
  218. package/organization-management/lib/entities/role/role.types.d.ts +5 -0
  219. package/organization-management/lib/entities/team/index.d.ts +3 -0
  220. package/organization-management/lib/entities/team/team.entity.d.ts +3 -0
  221. package/organization-management/lib/entities/team/team.module.d.ts +6 -0
  222. package/organization-management/lib/entities/team/team.service.d.ts +10 -0
  223. package/organization-management/lib/entities/team/team.types.d.ts +5 -0
  224. package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +3 -0
  225. package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +3 -0
  226. package/organization-management/lib/organization-management.module.d.ts +11 -9
  227. package/package.json +5 -1
  228. package/platform-management/lib/common/regional/data-source.provider.d.ts +10 -0
  229. package/platform-management/lib/const.d.ts +6 -0
  230. package/platform-management/lib/entities/app-term/app-term.service.d.ts +1 -1
  231. package/platform-management/lib/entities/app-term/app-term.types.d.ts +1 -1
  232. package/platform-management/lib/entities/app-version/app-version.service.d.ts +1 -1
  233. package/platform-management/lib/entities/app-version/app-version.types.d.ts +1 -1
  234. package/platform-management/lib/entities/app-version/components/slots/app-version-slot.component.d.ts +1 -1
  235. package/platform-management/lib/entities/app-version/workflows/change-log.workflow.d.ts +1 -1
  236. package/platform-management/lib/entities/app-version/workflows/show-release-notes.workflow.d.ts +9 -0
  237. package/platform-management/lib/entities/data-source/data-source.service.d.ts +1 -1
  238. package/platform-management/lib/entities/data-source/data-source.types.d.ts +1 -1
  239. package/platform-management/lib/entities/global-variable/global-variables.service.d.ts +1 -1
  240. package/platform-management/lib/entities/global-variable/global-variables.types.d.ts +1 -1
  241. package/platform-management/lib/entities/index.d.ts +1 -1
  242. package/platform-management/lib/entities/meta-data-definition/index.d.ts +0 -1
  243. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.service.d.ts +5 -5
  244. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -4
  245. package/platform-management/lib/entities/promotion/promotion.service.d.ts +1 -1
  246. package/platform-management/lib/entities/promotion/promotion.types.d.ts +2 -1
  247. package/platform-management/lib/platform-management.module.d.ts +4 -5
  248. package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.d.ts +1 -1
  249. package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.d.ts +1 -1
  250. package/security-management/lib/entities/index.d.ts +2 -0
  251. package/security-management/lib/entities/profile/profile.types.d.ts +1 -1
  252. package/security-management/lib/entities/roles/roles.service.d.ts +1 -1
  253. package/security-management/lib/entities/roles/roles.types.d.ts +3 -1
  254. package/security-management/lib/entities/users/users.service.d.ts +1 -1
  255. package/security-management/lib/entities/users/users.types.d.ts +12 -3
  256. package/text-template-management/lib/const.d.ts +6 -0
  257. package/text-template-management/lib/entities/category/category.service.d.ts +1 -1
  258. package/text-template-management/lib/entities/category/category.types.d.ts +1 -1
  259. package/text-template-management/lib/entities/index.d.ts +1 -0
  260. package/text-template-management/lib/entities/tag-template/index.d.ts +3 -0
  261. package/text-template-management/lib/entities/tag-template/tag-template.entity.d.ts +3 -0
  262. package/text-template-management/lib/entities/tag-template/tag-template.service.d.ts +10 -0
  263. package/text-template-management/lib/entities/tag-template/tag-template.types.d.ts +5 -0
  264. package/text-template-management/lib/entities/template/template.service.d.ts +1 -1
  265. package/text-template-management/lib/entities/template/template.types.d.ts +1 -1
  266. package/auth/lib/store/auth.effects.d.ts +0 -18
  267. package/auth/lib/store/index.d.ts +0 -1
  268. package/fesm2022/acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs.map +0 -1
  269. package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs +0 -121
  270. package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs.map +0 -1
  271. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-BTQ4VpFG.mjs.map +0 -1
  272. package/fesm2022/acorex-modules-form-template-management-category.entity-ChxSjvOF.mjs.map +0 -1
  273. package/fesm2022/acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs.map +0 -1
  274. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BGSucRLY.mjs +0 -126
  275. package/fesm2022/acorex-modules-form-template-management-template-picker.component-BGSucRLY.mjs.map +0 -1
  276. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-Chle-W7b.mjs.map +0 -1
  277. package/fesm2022/acorex-modules-form-template-management-template.entity-BIBMNXD5.mjs.map +0 -1
  278. package/fesm2022/acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs.map +0 -1
  279. package/fesm2022/acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs.map +0 -1
  280. package/fesm2022/acorex-modules-organization-management-org-chart.page-DMxaL-70.mjs.map +0 -1
  281. package/fesm2022/acorex-modules-organization-management-position.entity-B7ceEEbu.mjs.map +0 -1
  282. package/fesm2022/acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs.map +0 -1
  283. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.module.d.ts +0 -6
@@ -1,1758 +1,2 @@
1
- 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';
7
- import { AXDataSource } from '@acorex/components/common';
8
- import { AXMPlatformManagementMetaDataDefinitionEntityService } from '@acorex/modules/platform-management';
9
-
10
- const config = {
11
- i18n: 'document-management',
12
- documentEntity: 'Document',
13
- documentTypeEntity: 'DocumentType',
14
- documentTypeMetaDefinitionEntity: 'DocumentTypeMetaDefinition',
15
- documentTypeMetaValueEntity: 'DocumentTypeMetaValue',
16
- documentTypeStatusDefinitionEntity: 'DocumentTypeStatusDefinition',
17
- };
18
- const RootConfig = {
19
- config,
20
- module: {
21
- module: 'DocumentManagement',
22
- name: 'DocumentManagement',
23
- title: `t('documentManagement', {scope:"${config.i18n}"})`,
24
- icon: 'fa-light fa-file-invoice',
25
- },
26
- entities: {
27
- document: {
28
- name: 'Document',
29
- title: `t("document", { scope: "${config.i18n}" })`,
30
- titlePlural: `t("documentPlural", { scope: "${config.i18n}" })`,
31
- icon: 'fa-light fa-document',
32
- },
33
- documentType: {
34
- name: 'DocumentType',
35
- title: `t("documentType", { scope: "${config.i18n}" })`,
36
- titlePlural: `t("documentTypePlural", { scope: "${config.i18n}" })`,
37
- icon: 'fa-light fa-document',
38
- },
39
- documentTypeMetaDefinition: {
40
- name: 'documentTypeMeta',
41
- title: `t("documentTypeMeta", { scope: "${config.i18n}" })`,
42
- titlePlural: `t("documentTypeMetaPlural", { scope: "${config.i18n}" })`,
43
- icon: 'fa-light fa-meta',
44
- },
45
- documentTypeMetaValue: {
46
- name: 'documentTypeMetaValue',
47
- title: `t("documentTypeMetaValue", { scope: "${config.i18n}" })`,
48
- titlePlural: `t("documentTypeMetaValuePlural", { scope: "${config.i18n}" })`,
49
- icon: 'fa-light fa-meta',
50
- },
51
- documentTypeStatus: {
52
- name: 'documentTypeStatus',
53
- title: `t("documentTypeStatus", { scope: "${config.i18n}" })`,
54
- titlePlural: `t("documentTypeStatusPlural", { scope: "${config.i18n}" })`,
55
- icon: 'fa-light fa-status',
56
- },
57
- },
58
- };
59
-
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
- class AXMEntityProvider {
84
- constructor() {
85
- this.injector = inject(Injector);
86
- }
87
- preload() {
88
- const module = RootConfig.module.name;
89
- return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
90
- module: module,
91
- entity: entity.name,
92
- }));
93
- }
94
- async get(moduleName, entityName) {
95
- if (moduleName == RootConfig.module.name) {
96
- switch (entityName) {
97
- case RootConfig.entities.document.name:
98
- return (await Promise.resolve().then(function () { return index$1; })).documentFactory(this.injector);
99
- case RootConfig.entities.documentType.name:
100
- return (await Promise.resolve().then(function () { return index; })).documentTypeFactory(this.injector);
101
- }
102
- }
103
- return null;
104
- }
105
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
106
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityProvider }); }
107
- }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMEntityProvider, decorators: [{
109
- type: Injectable
110
- }] });
111
-
112
- class AXMPermissionProvider {
113
- async provide(context) {
114
- // context.addPermissions([
115
- // {
116
- // name: 'view_templates',
117
- // title: 'Permission to view templates',
118
- // isArchived: false,
119
- // },
120
- // ]);
121
- }
122
- }
123
-
124
- class AXMSettingProvider {
125
- async provide(context) {
126
- // context
127
- // // Add Form Template Group
128
- // .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)
129
- // // Start Interface Section
130
- // .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')
131
- // .addSetting({
132
- // key: 'history-panel',
133
- // title: 'Show History Panel',
134
- // scope: 'U',
135
- // isInherited: true,
136
- // defaultValue: false,
137
- // widget: {
138
- // type: AXPWidgetsCatalog.toggle,
139
- // },
140
- // description: 'Enable or disable the history panel for forms.',
141
- // validationRules: [
142
- // {
143
- // rule: 'required',
144
- // },
145
- // ],
146
- // })
147
- // .endSection()
148
- // .endGroup();
149
- }
150
- }
151
-
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 {
172
- }
173
- class AXMDocumentManagementDocumentEntityServiceImpl extends AXMDocumentManagementDocumentEntityService {
174
- constructor() {
175
- super(`${RootConfig.module.name}.${RootConfig.entities.document}`);
176
- }
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 }); }
179
- }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityServiceImpl, decorators: [{
181
- type: Injectable
182
- }], ctorParameters: () => [] });
183
-
184
- async function documentFactory(injector) {
185
- const dataService = injector.get(AXMDocumentManagementDocumentEntityService);
186
- const entityDef = {
187
- module: RootConfig.module.name,
188
- name: RootConfig.entities.document.name,
189
- source: '',
190
- title: RootConfig.entities.document.title,
191
- formats: {
192
- individual: RootConfig.entities.document.title,
193
- plural: RootConfig.entities.document.titlePlural,
194
- searchResult: {
195
- title: '{{ title }}',
196
- description: RootConfig.module.title,
197
- },
198
- },
199
- relatedEntities: [],
200
- groups: [
201
- {
202
- id: 'section',
203
- title: RootConfig.entities.document.title,
204
- },
205
- ],
206
- properties: [
207
- {
208
- name: 'name',
209
- title: 't("name", { scope: "common" })',
210
- groupId: 'section',
211
- options: {
212
- sort: {
213
- enabled: true,
214
- },
215
- },
216
- schema: {
217
- dataType: 'string',
218
- interface: {
219
- type: AXPWidgetsCatalog.text,
220
- },
221
- },
222
- validations: [
223
- {
224
- rule: 'required',
225
- },
226
- ],
227
- },
228
- {
229
- name: 'title',
230
- title: 't("title", { scope: "common" })',
231
- groupId: 'section',
232
- schema: {
233
- dataType: 'string',
234
- interface: {
235
- type: AXPWidgetsCatalog.text,
236
- },
237
- },
238
- validations: [
239
- {
240
- rule: 'required',
241
- },
242
- ],
243
- },
244
- ],
245
- columns: [{ name: 'name' }, { name: 'title' }],
246
- commands: {
247
- create: {
248
- execute: async (data) => {
249
- const res = await dataService.insertOne(data);
250
- return { id: res };
251
- },
252
- },
253
- delete: {
254
- execute: async (id) => {
255
- return await dataService.deleteOne(id);
256
- },
257
- },
258
- update: {
259
- execute: async (data) => {
260
- return await dataService.updateOne(data.id, data);
261
- },
262
- },
263
- },
264
- queries: {
265
- byKey: {
266
- execute: async (id) => {
267
- return await dataService.getOne(id);
268
- },
269
- type: AXPEntityQueryType.Single,
270
- },
271
- list: {
272
- execute: async (e) => {
273
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
274
- },
275
- type: AXPEntityQueryType.List,
276
- },
277
- },
278
- interfaces: {
279
- master: {
280
- create: {
281
- sections: [
282
- {
283
- id: 'section',
284
- },
285
- ],
286
- properties: [
287
- {
288
- name: 'name',
289
- layout: {
290
- positions: {
291
- lg: {
292
- colSpan: 6,
293
- },
294
- },
295
- },
296
- },
297
- {
298
- name: 'title',
299
- layout: {
300
- positions: {
301
- lg: {
302
- colSpan: 6,
303
- },
304
- },
305
- },
306
- },
307
- ],
308
- },
309
- update: {
310
- sections: [
311
- {
312
- id: 'section',
313
- },
314
- ],
315
- properties: [
316
- {
317
- name: 'name',
318
- layout: {
319
- positions: {
320
- lg: {
321
- colSpan: 6,
322
- },
323
- },
324
- },
325
- },
326
- {
327
- name: 'title',
328
- layout: {
329
- positions: {
330
- lg: {
331
- colSpan: 6,
332
- },
333
- },
334
- },
335
- },
336
- ],
337
- },
338
- single: {
339
- title: '{{title}}',
340
- sections: [
341
- {
342
- id: 'section',
343
- layout: {
344
- positions: {
345
- lg: {
346
- colSpan: 12,
347
- },
348
- },
349
- },
350
- },
351
- ],
352
- properties: [
353
- {
354
- name: 'name',
355
- layout: {
356
- positions: {
357
- lg: {
358
- colSpan: 6,
359
- },
360
- },
361
- },
362
- },
363
- {
364
- name: 'title',
365
- layout: {
366
- positions: {
367
- lg: {
368
- colSpan: 6,
369
- },
370
- },
371
- },
372
- },
373
- ],
374
- actions: [],
375
- },
376
- list: {
377
- actions: [
378
- {
379
- title: `t("create", { scope: "common" })`,
380
- command: 'create-entity',
381
- priority: 'primary',
382
- type: 'create',
383
- scope: AXPEntityCommandScope.TypeLevel,
384
- },
385
- {
386
- title: 't("deleteItems", { scope: "common" })',
387
- command: 'delete-entity',
388
- priority: 'primary',
389
- type: 'delete',
390
- scope: AXPEntityCommandScope.Selected,
391
- },
392
- {
393
- title: 't("detail", { scope: "common" })',
394
- command: 'open-entity',
395
- priority: 'secondary',
396
- type: 'view',
397
- scope: AXPEntityCommandScope.Individual,
398
- },
399
- {
400
- title: 't("delete", { scope: "common" })',
401
- command: 'delete-entity',
402
- priority: 'secondary',
403
- type: 'delete',
404
- scope: AXPEntityCommandScope.Individual,
405
- },
406
- ],
407
- views: [
408
- {
409
- name: 'all',
410
- title: 't("allItem", { scope: "common" })',
411
- fixed: true,
412
- columns: [],
413
- conditions: [],
414
- sorts: [],
415
- },
416
- ],
417
- },
418
- },
419
- },
420
- };
421
- return entityDef;
422
- }
423
-
424
- class AXMDocumentManagementDocumentEntityModule {
425
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
426
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityModule }); }
427
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityModule, providers: [
428
- {
429
- provide: AXMDocumentManagementDocumentEntityService,
430
- useClass: AXMDocumentManagementDocumentEntityServiceImpl,
431
- },
432
- ] }); }
433
- }
434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentEntityModule, decorators: [{
435
- type: NgModule,
436
- args: [{
437
- imports: [],
438
- exports: [],
439
- declarations: [],
440
- providers: [
441
- {
442
- provide: AXMDocumentManagementDocumentEntityService,
443
- useClass: AXMDocumentManagementDocumentEntityServiceImpl,
444
- },
445
- ],
446
- }]
447
- }] });
448
-
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
- class AXMDocumentManagementDocumentTypeEntityService extends AXMEntityCrudServiceImpl {
458
- }
459
- class AXMDocumentManagementDocumentTypeEntityServiceImpl extends AXMDocumentManagementDocumentTypeEntityService {
460
- constructor() {
461
- super(`${RootConfig.module.name}.${RootConfig.entities.documentType}`);
462
- }
463
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
464
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityServiceImpl }); }
465
- }
466
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityServiceImpl, decorators: [{
467
- type: Injectable
468
- }], ctorParameters: () => [] });
469
-
470
- async function documentTypeFactory(injector) {
471
- const dataService = injector.get(AXMDocumentManagementDocumentTypeEntityService);
472
- const metaDefinitionService = injector.get(AXMPlatformManagementMetaDataDefinitionEntityService);
473
- const i18n = RootConfig.config.i18n;
474
- const entityDef = {
475
- module: RootConfig.module.name,
476
- name: RootConfig.entities.document.name,
477
- source: '',
478
- title: RootConfig.entities.document.title,
479
- formats: {
480
- individual: RootConfig.entities.document.title,
481
- plural: RootConfig.entities.document.titlePlural,
482
- searchResult: {
483
- title: '{{ title }}',
484
- description: RootConfig.module.title,
485
- },
486
- },
487
- relatedEntities: [],
488
- groups: [
489
- {
490
- id: 'section',
491
- title: RootConfig.entities.document.title,
492
- },
493
- ],
494
- properties: [
495
- {
496
- name: 'name',
497
- title: 't("name", { scope: "common" })',
498
- groupId: 'section',
499
- options: {
500
- sort: {
501
- enabled: true,
502
- },
503
- },
504
- schema: {
505
- dataType: 'string',
506
- interface: {
507
- type: AXPWidgetsCatalog.text,
508
- },
509
- },
510
- validations: [
511
- {
512
- rule: 'required',
513
- },
514
- ],
515
- },
516
- {
517
- name: 'title',
518
- title: 't("title", { scope: "common" })',
519
- groupId: 'section',
520
- schema: {
521
- dataType: 'string',
522
- interface: {
523
- type: AXPWidgetsCatalog.text,
524
- },
525
- },
526
- validations: [
527
- {
528
- rule: 'required',
529
- },
530
- ],
531
- },
532
- {
533
- name: 'maxSize',
534
- title: `t("maxSize", { scope: "${i18n}" })`,
535
- groupId: 'section',
536
- schema: {
537
- dataType: 'number',
538
- interface: {
539
- type: AXPWidgetsCatalog.number,
540
- },
541
- },
542
- validations: [
543
- {
544
- rule: 'required',
545
- },
546
- ],
547
- },
548
- {
549
- name: 'isEncrypted',
550
- title: `t("isEncrypted", { scope: "${i18n}" })`,
551
- groupId: 'section',
552
- schema: {
553
- dataType: 'boolean',
554
- interface: {
555
- type: AXPWidgetsCatalog.checkbox,
556
- },
557
- },
558
- },
559
- {
560
- name: 'meta',
561
- title: `t("meta", { scope: "${i18n}" })`,
562
- groupId: 'section',
563
- schema: {
564
- dataType: 'object',
565
- interface: {
566
- type: AXPWidgetsCatalog.select,
567
- options: {
568
- valueField: 'id',
569
- textField: 'title',
570
- //defaultValue: AXMFormTemplateTypes.Form,
571
- dataSource: new AXDataSource({
572
- load: async (_) => {
573
- const metaData = await metaDefinitionService.query();
574
- return metaData;
575
- },
576
- pageSize: 100,
577
- }),
578
- multiple: true,
579
- },
580
- },
581
- },
582
- },
583
- ],
584
- columns: [{ name: 'name' }, { name: 'title' }],
585
- commands: {
586
- create: {
587
- execute: async (data) => {
588
- const res = await dataService.insertOne(data);
589
- return { id: res };
590
- },
591
- },
592
- delete: {
593
- execute: async (id) => {
594
- return await dataService.deleteOne(id);
595
- },
596
- },
597
- update: {
598
- execute: async (data) => {
599
- return await dataService.updateOne(data.id, data);
600
- },
601
- },
602
- },
603
- queries: {
604
- byKey: {
605
- execute: async (id) => {
606
- return await dataService.getOne(id);
607
- },
608
- type: AXPEntityQueryType.Single,
609
- },
610
- list: {
611
- execute: async (e) => {
612
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
613
- },
614
- type: AXPEntityQueryType.List,
615
- },
616
- },
617
- interfaces: {
618
- master: {
619
- create: {
620
- sections: [
621
- {
622
- id: 'section',
623
- },
624
- ],
625
- properties: [
626
- {
627
- name: 'name',
628
- layout: {
629
- positions: {
630
- lg: {
631
- colSpan: 6,
632
- },
633
- },
634
- },
635
- },
636
- {
637
- name: 'title',
638
- layout: {
639
- positions: {
640
- lg: {
641
- colSpan: 6,
642
- },
643
- },
644
- },
645
- },
646
- {
647
- name: 'maxSize',
648
- layout: {
649
- positions: {
650
- lg: {
651
- colSpan: 6,
652
- },
653
- },
654
- },
655
- },
656
- {
657
- name: 'isEncrypted',
658
- layout: {
659
- positions: {
660
- lg: {
661
- colSpan: 6,
662
- },
663
- },
664
- },
665
- },
666
- {
667
- name: 'meta',
668
- layout: {
669
- positions: {
670
- lg: {
671
- colSpan: 12,
672
- },
673
- },
674
- },
675
- },
676
- ],
677
- },
678
- update: {
679
- sections: [
680
- {
681
- id: 'section',
682
- },
683
- ],
684
- properties: [
685
- {
686
- name: 'name',
687
- layout: {
688
- positions: {
689
- lg: {
690
- colSpan: 6,
691
- },
692
- },
693
- },
694
- },
695
- {
696
- name: 'title',
697
- layout: {
698
- positions: {
699
- lg: {
700
- colSpan: 6,
701
- },
702
- },
703
- },
704
- },
705
- {
706
- name: 'maxSize',
707
- layout: {
708
- positions: {
709
- lg: {
710
- colSpan: 6,
711
- },
712
- },
713
- },
714
- },
715
- {
716
- name: 'isEncrypted',
717
- layout: {
718
- positions: {
719
- lg: {
720
- colSpan: 6,
721
- },
722
- },
723
- },
724
- },
725
- {
726
- name: 'meta',
727
- layout: {
728
- positions: {
729
- lg: {
730
- colSpan: 12,
731
- },
732
- },
733
- },
734
- },
735
- ],
736
- },
737
- single: {
738
- title: '{{title}}',
739
- sections: [
740
- {
741
- id: 'section',
742
- layout: {
743
- positions: {
744
- lg: {
745
- colSpan: 12,
746
- },
747
- },
748
- },
749
- },
750
- ],
751
- properties: [
752
- {
753
- name: 'name',
754
- layout: {
755
- positions: {
756
- lg: {
757
- colSpan: 6,
758
- },
759
- },
760
- },
761
- },
762
- {
763
- name: 'title',
764
- layout: {
765
- positions: {
766
- lg: {
767
- colSpan: 6,
768
- },
769
- },
770
- },
771
- },
772
- {
773
- name: 'maxSize',
774
- layout: {
775
- positions: {
776
- lg: {
777
- colSpan: 6,
778
- },
779
- },
780
- },
781
- },
782
- {
783
- name: 'isEncrypted',
784
- layout: {
785
- positions: {
786
- lg: {
787
- colSpan: 6,
788
- },
789
- },
790
- },
791
- },
792
- {
793
- name: 'meta',
794
- layout: {
795
- positions: {
796
- lg: {
797
- colSpan: 12,
798
- },
799
- },
800
- },
801
- },
802
- ],
803
- actions: [],
804
- },
805
- list: {
806
- actions: [
807
- {
808
- title: `t("create", { scope: "common" })`,
809
- command: 'create-entity',
810
- priority: 'primary',
811
- type: 'create',
812
- scope: AXPEntityCommandScope.TypeLevel,
813
- },
814
- {
815
- title: 't("deleteItems", { scope: "common" })',
816
- command: 'delete-entity',
817
- priority: 'primary',
818
- type: 'delete',
819
- scope: AXPEntityCommandScope.Selected,
820
- },
821
- {
822
- title: 't("detail", { scope: "common" })',
823
- command: 'open-entity',
824
- priority: 'secondary',
825
- type: 'view',
826
- scope: AXPEntityCommandScope.Individual,
827
- },
828
- {
829
- title: 't("delete", { scope: "common" })',
830
- command: 'delete-entity',
831
- priority: 'secondary',
832
- type: 'delete',
833
- scope: AXPEntityCommandScope.Individual,
834
- },
835
- ],
836
- views: [createAllQueryView()],
837
- },
838
- },
839
- },
840
- };
841
- return entityDef;
842
- }
843
-
844
- class AXMDocumentManagementDocumentTypeEntityModule {
845
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
846
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityModule }); }
847
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityModule, providers: [
848
- {
849
- provide: AXMDocumentManagementDocumentTypeEntityService,
850
- useClass: AXMDocumentManagementDocumentTypeEntityServiceImpl,
851
- },
852
- ] }); }
853
- }
854
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeEntityModule, decorators: [{
855
- type: NgModule,
856
- args: [{
857
- imports: [],
858
- exports: [],
859
- declarations: [],
860
- providers: [
861
- {
862
- provide: AXMDocumentManagementDocumentTypeEntityService,
863
- useClass: AXMDocumentManagementDocumentTypeEntityServiceImpl,
864
- },
865
- ],
866
- }]
867
- }] });
868
-
869
- var index = /*#__PURE__*/Object.freeze({
870
- __proto__: null,
871
- AXMDocumentManagementDocumentTypeEntityModule: AXMDocumentManagementDocumentTypeEntityModule,
872
- AXMDocumentManagementDocumentTypeEntityService: AXMDocumentManagementDocumentTypeEntityService,
873
- AXMDocumentManagementDocumentTypeEntityServiceImpl: AXMDocumentManagementDocumentTypeEntityServiceImpl,
874
- documentTypeFactory: documentTypeFactory
875
- });
876
-
877
- class AXMDocumentManagementDocumentTypeMetaDefinitionEntityService extends AXMEntityCrudServiceImpl {
878
- }
879
- class AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaDefinitionEntityService {
880
- constructor() {
881
- super(`${RootConfig.module.name}.${RootConfig.entities.documentTypeMetaDefinition}`);
882
- }
883
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
884
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl }); }
885
- }
886
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, decorators: [{
887
- type: Injectable
888
- }], ctorParameters: () => [] });
889
-
890
- async function documentTypeMetaDefinitionfactory(injector) {
891
- const dataService = injector.get(AXMDocumentManagementDocumentTypeMetaDefinitionEntityService);
892
- const entityDef = {
893
- module: RootConfig.module.name,
894
- name: RootConfig.entities.document.name,
895
- source: '',
896
- title: RootConfig.entities.document.title,
897
- formats: {
898
- individual: RootConfig.entities.document.title,
899
- plural: RootConfig.entities.document.titlePlural,
900
- searchResult: {
901
- title: '{{ title }}',
902
- description: RootConfig.module.title,
903
- },
904
- },
905
- relatedEntities: [],
906
- groups: [
907
- {
908
- id: 'section',
909
- title: RootConfig.entities.document.title,
910
- },
911
- ],
912
- properties: [
913
- {
914
- name: 'name',
915
- title: 't("name", { scope: "common" })',
916
- groupId: 'section',
917
- options: {
918
- sort: {
919
- enabled: true,
920
- },
921
- },
922
- schema: {
923
- dataType: 'string',
924
- interface: {
925
- type: AXPWidgetsCatalog.text,
926
- },
927
- },
928
- validations: [
929
- {
930
- rule: 'required',
931
- },
932
- ],
933
- },
934
- {
935
- name: 'title',
936
- title: 't("title", { scope: "common" })',
937
- groupId: 'section',
938
- schema: {
939
- dataType: 'string',
940
- interface: {
941
- type: AXPWidgetsCatalog.text,
942
- },
943
- },
944
- validations: [
945
- {
946
- rule: 'required',
947
- },
948
- ],
949
- },
950
- ],
951
- columns: [{ name: 'name' }, { name: 'title' }],
952
- commands: {
953
- create: {
954
- execute: async (data) => {
955
- const res = await dataService.insertOne(data);
956
- return { id: res };
957
- },
958
- },
959
- delete: {
960
- execute: async (id) => {
961
- return await dataService.deleteOne(id);
962
- },
963
- },
964
- update: {
965
- execute: async (data) => {
966
- return await dataService.updateOne(data.id, data);
967
- },
968
- },
969
- },
970
- queries: {
971
- byKey: {
972
- execute: async (id) => {
973
- return await dataService.getOne(id);
974
- },
975
- type: AXPEntityQueryType.Single,
976
- },
977
- list: {
978
- execute: async (e) => {
979
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
980
- },
981
- type: AXPEntityQueryType.List,
982
- },
983
- },
984
- interfaces: {
985
- master: {
986
- create: {
987
- sections: [
988
- {
989
- id: 'section',
990
- },
991
- ],
992
- properties: [
993
- {
994
- name: 'name',
995
- layout: {
996
- positions: {
997
- lg: {
998
- colSpan: 6,
999
- },
1000
- },
1001
- },
1002
- },
1003
- {
1004
- name: 'title',
1005
- layout: {
1006
- positions: {
1007
- lg: {
1008
- colSpan: 6,
1009
- },
1010
- },
1011
- },
1012
- },
1013
- ],
1014
- },
1015
- update: {
1016
- sections: [
1017
- {
1018
- id: 'section',
1019
- },
1020
- ],
1021
- properties: [
1022
- {
1023
- name: 'name',
1024
- layout: {
1025
- positions: {
1026
- lg: {
1027
- colSpan: 6,
1028
- },
1029
- },
1030
- },
1031
- },
1032
- {
1033
- name: 'title',
1034
- layout: {
1035
- positions: {
1036
- lg: {
1037
- colSpan: 6,
1038
- },
1039
- },
1040
- },
1041
- },
1042
- ],
1043
- },
1044
- single: {
1045
- title: '{{title}}',
1046
- sections: [
1047
- {
1048
- id: 'section',
1049
- layout: {
1050
- positions: {
1051
- lg: {
1052
- colSpan: 12,
1053
- },
1054
- },
1055
- },
1056
- },
1057
- ],
1058
- properties: [
1059
- {
1060
- name: 'name',
1061
- layout: {
1062
- positions: {
1063
- lg: {
1064
- colSpan: 6,
1065
- },
1066
- },
1067
- },
1068
- },
1069
- {
1070
- name: 'title',
1071
- layout: {
1072
- positions: {
1073
- lg: {
1074
- colSpan: 6,
1075
- },
1076
- },
1077
- },
1078
- },
1079
- ],
1080
- actions: [],
1081
- },
1082
- list: {
1083
- actions: [
1084
- {
1085
- title: `t("create", { scope: "common" })`,
1086
- command: 'create-entity',
1087
- priority: 'primary',
1088
- type: 'create',
1089
- scope: AXPEntityCommandScope.TypeLevel,
1090
- },
1091
- {
1092
- title: 't("deleteItems", { scope: "common" })',
1093
- command: 'delete-entity',
1094
- priority: 'primary',
1095
- type: 'delete',
1096
- scope: AXPEntityCommandScope.Selected,
1097
- },
1098
- {
1099
- title: 't("detail", { scope: "common" })',
1100
- command: 'open-entity',
1101
- priority: 'secondary',
1102
- type: 'view',
1103
- scope: AXPEntityCommandScope.Individual,
1104
- },
1105
- {
1106
- title: 't("delete", { scope: "common" })',
1107
- command: 'delete-entity',
1108
- priority: 'secondary',
1109
- type: 'delete',
1110
- scope: AXPEntityCommandScope.Individual,
1111
- },
1112
- ],
1113
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
1114
- },
1115
- },
1116
- },
1117
- };
1118
- return entityDef;
1119
- }
1120
-
1121
- class AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule {
1122
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1123
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule }); }
1124
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, providers: [
1125
- {
1126
- provide: AXMDocumentManagementDocumentTypeMetaDefinitionEntityService,
1127
- useClass: AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl,
1128
- },
1129
- ] }); }
1130
- }
1131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, decorators: [{
1132
- type: NgModule,
1133
- args: [{
1134
- imports: [],
1135
- exports: [],
1136
- declarations: [],
1137
- providers: [
1138
- {
1139
- provide: AXMDocumentManagementDocumentTypeMetaDefinitionEntityService,
1140
- useClass: AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl,
1141
- },
1142
- ],
1143
- }]
1144
- }] });
1145
-
1146
- class AXMDocumentManagementDocumentTypeMetaValueEntityService extends AXMEntityCrudServiceImpl {
1147
- }
1148
- class AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl extends AXMDocumentManagementDocumentTypeMetaValueEntityService {
1149
- constructor() {
1150
- super(`${RootConfig.module.name}.${RootConfig.entities.documentTypeMetaValue}`);
1151
- }
1152
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1153
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl }); }
1154
- }
1155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, decorators: [{
1156
- type: Injectable
1157
- }], ctorParameters: () => [] });
1158
-
1159
- async function documentTypeMetaValueFactory(injector) {
1160
- const dataService = injector.get(AXMDocumentManagementDocumentTypeMetaValueEntityService);
1161
- const entityDef = {
1162
- module: RootConfig.module.name,
1163
- name: RootConfig.entities.document.name,
1164
- source: '',
1165
- title: RootConfig.entities.document.title,
1166
- formats: {
1167
- individual: RootConfig.entities.document.title,
1168
- plural: RootConfig.entities.document.titlePlural,
1169
- searchResult: {
1170
- title: '{{ title }}',
1171
- description: RootConfig.module.title,
1172
- },
1173
- },
1174
- relatedEntities: [],
1175
- groups: [
1176
- {
1177
- id: 'section',
1178
- title: RootConfig.entities.document.title,
1179
- },
1180
- ],
1181
- properties: [
1182
- {
1183
- name: 'name',
1184
- title: 't("name", { scope: "common" })',
1185
- groupId: 'section',
1186
- options: {
1187
- sort: {
1188
- enabled: true,
1189
- },
1190
- },
1191
- schema: {
1192
- dataType: 'string',
1193
- interface: {
1194
- type: AXPWidgetsCatalog.text,
1195
- },
1196
- },
1197
- validations: [
1198
- {
1199
- rule: 'required',
1200
- },
1201
- ],
1202
- },
1203
- {
1204
- name: 'title',
1205
- title: 't("title", { scope: "common" })',
1206
- groupId: 'section',
1207
- schema: {
1208
- dataType: 'string',
1209
- interface: {
1210
- type: AXPWidgetsCatalog.text,
1211
- },
1212
- },
1213
- validations: [
1214
- {
1215
- rule: 'required',
1216
- },
1217
- ],
1218
- },
1219
- ],
1220
- columns: [{ name: 'name' }, { name: 'title' }],
1221
- commands: {
1222
- create: {
1223
- execute: async (data) => {
1224
- const res = await dataService.insertOne(data);
1225
- return { id: res };
1226
- },
1227
- },
1228
- delete: {
1229
- execute: async (id) => {
1230
- return await dataService.deleteOne(id);
1231
- },
1232
- },
1233
- update: {
1234
- execute: async (data) => {
1235
- return await dataService.updateOne(data.id, data);
1236
- },
1237
- },
1238
- },
1239
- queries: {
1240
- byKey: {
1241
- execute: async (id) => {
1242
- return await dataService.getOne(id);
1243
- },
1244
- type: AXPEntityQueryType.Single,
1245
- },
1246
- list: {
1247
- execute: async (e) => {
1248
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1249
- },
1250
- type: AXPEntityQueryType.List,
1251
- },
1252
- },
1253
- interfaces: {
1254
- master: {
1255
- create: {
1256
- sections: [
1257
- {
1258
- id: 'section',
1259
- },
1260
- ],
1261
- properties: [
1262
- {
1263
- name: 'name',
1264
- layout: {
1265
- positions: {
1266
- lg: {
1267
- colSpan: 6,
1268
- },
1269
- },
1270
- },
1271
- },
1272
- {
1273
- name: 'title',
1274
- layout: {
1275
- positions: {
1276
- lg: {
1277
- colSpan: 6,
1278
- },
1279
- },
1280
- },
1281
- },
1282
- ],
1283
- },
1284
- update: {
1285
- sections: [
1286
- {
1287
- id: 'section',
1288
- },
1289
- ],
1290
- properties: [
1291
- {
1292
- name: 'name',
1293
- layout: {
1294
- positions: {
1295
- lg: {
1296
- colSpan: 6,
1297
- },
1298
- },
1299
- },
1300
- },
1301
- {
1302
- name: 'title',
1303
- layout: {
1304
- positions: {
1305
- lg: {
1306
- colSpan: 6,
1307
- },
1308
- },
1309
- },
1310
- },
1311
- ],
1312
- },
1313
- single: {
1314
- title: '{{title}}',
1315
- sections: [
1316
- {
1317
- id: 'section',
1318
- layout: {
1319
- positions: {
1320
- lg: {
1321
- colSpan: 12,
1322
- },
1323
- },
1324
- },
1325
- },
1326
- ],
1327
- properties: [
1328
- {
1329
- name: 'name',
1330
- layout: {
1331
- positions: {
1332
- lg: {
1333
- colSpan: 6,
1334
- },
1335
- },
1336
- },
1337
- },
1338
- {
1339
- name: 'title',
1340
- layout: {
1341
- positions: {
1342
- lg: {
1343
- colSpan: 6,
1344
- },
1345
- },
1346
- },
1347
- },
1348
- ],
1349
- actions: [],
1350
- },
1351
- list: {
1352
- actions: [
1353
- {
1354
- title: `t("create", { scope: "common" })`,
1355
- command: 'create-entity',
1356
- priority: 'primary',
1357
- type: 'create',
1358
- scope: AXPEntityCommandScope.TypeLevel,
1359
- },
1360
- {
1361
- title: 't("deleteItems", { scope: "common" })',
1362
- command: 'delete-entity',
1363
- priority: 'primary',
1364
- type: 'delete',
1365
- scope: AXPEntityCommandScope.Selected,
1366
- },
1367
- {
1368
- title: 't("detail", { scope: "common" })',
1369
- command: 'open-entity',
1370
- priority: 'secondary',
1371
- type: 'view',
1372
- scope: AXPEntityCommandScope.Individual,
1373
- },
1374
- {
1375
- title: 't("delete", { scope: "common" })',
1376
- command: 'delete-entity',
1377
- priority: 'secondary',
1378
- type: 'delete',
1379
- scope: AXPEntityCommandScope.Individual,
1380
- },
1381
- ],
1382
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
1383
- },
1384
- },
1385
- },
1386
- };
1387
- return entityDef;
1388
- }
1389
-
1390
- class AXMDocumentManagementDocumentTypeMetaValueEntityModule {
1391
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1392
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityModule }); }
1393
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityModule, providers: [
1394
- {
1395
- provide: AXMDocumentManagementDocumentTypeMetaValueEntityService,
1396
- useClass: AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl,
1397
- },
1398
- ] }); }
1399
- }
1400
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeMetaValueEntityModule, decorators: [{
1401
- type: NgModule,
1402
- args: [{
1403
- imports: [],
1404
- exports: [],
1405
- declarations: [],
1406
- providers: [
1407
- {
1408
- provide: AXMDocumentManagementDocumentTypeMetaValueEntityService,
1409
- useClass: AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl,
1410
- },
1411
- ],
1412
- }]
1413
- }] });
1414
-
1415
- class AXMDocumentManagementDocumentTypeStatusDefinitionEntityService extends AXMEntityCrudServiceImpl {
1416
- }
1417
- class AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl extends AXMDocumentManagementDocumentTypeStatusDefinitionEntityService {
1418
- constructor() {
1419
- super(`${RootConfig.module.name}.${RootConfig.entities.documentTypeStatus}`);
1420
- }
1421
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1422
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl }); }
1423
- }
1424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, decorators: [{
1425
- type: Injectable
1426
- }], ctorParameters: () => [] });
1427
-
1428
- async function documentTypeStatusDefinitionFactory(injector) {
1429
- const dataService = injector.get(AXMDocumentManagementDocumentTypeStatusDefinitionEntityService);
1430
- const entityDef = {
1431
- module: RootConfig.module.name,
1432
- name: RootConfig.entities.document.name,
1433
- source: '',
1434
- title: RootConfig.entities.document.title,
1435
- formats: {
1436
- individual: RootConfig.entities.document.title,
1437
- plural: RootConfig.entities.document.titlePlural,
1438
- searchResult: {
1439
- title: '{{ title }}',
1440
- description: RootConfig.module.title,
1441
- },
1442
- },
1443
- relatedEntities: [],
1444
- groups: [
1445
- {
1446
- id: 'section',
1447
- title: RootConfig.entities.document.title,
1448
- },
1449
- ],
1450
- properties: [
1451
- {
1452
- name: 'name',
1453
- title: 't("name", { scope: "common" })',
1454
- groupId: 'section',
1455
- options: {
1456
- sort: {
1457
- enabled: true,
1458
- },
1459
- },
1460
- schema: {
1461
- dataType: 'string',
1462
- interface: {
1463
- type: AXPWidgetsCatalog.text,
1464
- },
1465
- },
1466
- validations: [
1467
- {
1468
- rule: 'required',
1469
- },
1470
- ],
1471
- },
1472
- {
1473
- name: 'title',
1474
- title: 't("title", { scope: "common" })',
1475
- groupId: 'section',
1476
- schema: {
1477
- dataType: 'string',
1478
- interface: {
1479
- type: AXPWidgetsCatalog.text,
1480
- },
1481
- },
1482
- validations: [
1483
- {
1484
- rule: 'required',
1485
- },
1486
- ],
1487
- },
1488
- ],
1489
- columns: [{ name: 'name' }, { name: 'title' }],
1490
- commands: {
1491
- create: {
1492
- execute: async (data) => {
1493
- const res = await dataService.insertOne(data);
1494
- return { id: res };
1495
- },
1496
- },
1497
- delete: {
1498
- execute: async (id) => {
1499
- return await dataService.deleteOne(id);
1500
- },
1501
- },
1502
- update: {
1503
- execute: async (data) => {
1504
- return await dataService.updateOne(data.id, data);
1505
- },
1506
- },
1507
- },
1508
- queries: {
1509
- byKey: {
1510
- execute: async (id) => {
1511
- return await dataService.getOne(id);
1512
- },
1513
- type: AXPEntityQueryType.Single,
1514
- },
1515
- list: {
1516
- execute: async (e) => {
1517
- return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
1518
- },
1519
- type: AXPEntityQueryType.List,
1520
- },
1521
- },
1522
- interfaces: {
1523
- master: {
1524
- create: {
1525
- sections: [
1526
- {
1527
- id: 'section',
1528
- },
1529
- ],
1530
- properties: [
1531
- {
1532
- name: 'name',
1533
- layout: {
1534
- positions: {
1535
- lg: {
1536
- colSpan: 6,
1537
- },
1538
- },
1539
- },
1540
- },
1541
- {
1542
- name: 'title',
1543
- layout: {
1544
- positions: {
1545
- lg: {
1546
- colSpan: 6,
1547
- },
1548
- },
1549
- },
1550
- },
1551
- ],
1552
- },
1553
- update: {
1554
- sections: [
1555
- {
1556
- id: 'section',
1557
- },
1558
- ],
1559
- properties: [
1560
- {
1561
- name: 'name',
1562
- layout: {
1563
- positions: {
1564
- lg: {
1565
- colSpan: 6,
1566
- },
1567
- },
1568
- },
1569
- },
1570
- {
1571
- name: 'title',
1572
- layout: {
1573
- positions: {
1574
- lg: {
1575
- colSpan: 6,
1576
- },
1577
- },
1578
- },
1579
- },
1580
- ],
1581
- },
1582
- single: {
1583
- title: '{{title}}',
1584
- sections: [
1585
- {
1586
- id: 'section',
1587
- layout: {
1588
- positions: {
1589
- lg: {
1590
- colSpan: 12,
1591
- },
1592
- },
1593
- },
1594
- },
1595
- ],
1596
- properties: [
1597
- {
1598
- name: 'name',
1599
- layout: {
1600
- positions: {
1601
- lg: {
1602
- colSpan: 6,
1603
- },
1604
- },
1605
- },
1606
- },
1607
- {
1608
- name: 'title',
1609
- layout: {
1610
- positions: {
1611
- lg: {
1612
- colSpan: 6,
1613
- },
1614
- },
1615
- },
1616
- },
1617
- ],
1618
- actions: [],
1619
- },
1620
- list: {
1621
- actions: [
1622
- {
1623
- title: `t("create", { scope: "common" })`,
1624
- command: 'create-entity',
1625
- priority: 'primary',
1626
- type: 'create',
1627
- scope: AXPEntityCommandScope.TypeLevel,
1628
- },
1629
- {
1630
- title: 't("deleteItems", { scope: "common" })',
1631
- command: 'delete-entity',
1632
- priority: 'primary',
1633
- type: 'delete',
1634
- scope: AXPEntityCommandScope.Selected,
1635
- },
1636
- {
1637
- title: 't("detail", { scope: "common" })',
1638
- command: 'open-entity',
1639
- priority: 'secondary',
1640
- type: 'view',
1641
- scope: AXPEntityCommandScope.Individual,
1642
- },
1643
- {
1644
- title: 't("delete", { scope: "common" })',
1645
- command: 'delete-entity',
1646
- priority: 'secondary',
1647
- type: 'delete',
1648
- scope: AXPEntityCommandScope.Individual,
1649
- },
1650
- ],
1651
- views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
1652
- },
1653
- },
1654
- },
1655
- };
1656
- return entityDef;
1657
- }
1658
-
1659
- class AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule {
1660
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1661
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule }); }
1662
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, providers: [
1663
- {
1664
- provide: AXMDocumentManagementDocumentTypeStatusDefinitionEntityService,
1665
- useClass: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl,
1666
- },
1667
- ] }); }
1668
- }
1669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, decorators: [{
1670
- type: NgModule,
1671
- args: [{
1672
- imports: [],
1673
- exports: [],
1674
- declarations: [],
1675
- providers: [
1676
- {
1677
- provide: AXMDocumentManagementDocumentTypeStatusDefinitionEntityService,
1678
- useClass: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl,
1679
- },
1680
- ],
1681
- }]
1682
- }] });
1683
-
1684
- class AXMDocumentManagementModule {
1685
- 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] }); }
1687
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, providers: [
1688
- {
1689
- provide: AXP_MENU_PROVIDER,
1690
- useClass: AXMMenuProvider,
1691
- multi: true,
1692
- },
1693
- {
1694
- provide: AXP_ENTITY_DEFINITION_LOADER,
1695
- useClass: AXMEntityProvider,
1696
- multi: true,
1697
- },
1698
- {
1699
- provide: AXP_SETTING_DEFINITION_PROVIDER,
1700
- useClass: AXMSettingProvider,
1701
- multi: true,
1702
- },
1703
- {
1704
- provide: AXP_SEARCH_PROVIDER,
1705
- useClass: AXMSearchCommandProvider,
1706
- multi: true,
1707
- },
1708
- {
1709
- provide: AXP_PERMISSION_PROVIDER,
1710
- useClass: AXMPermissionProvider,
1711
- multi: true,
1712
- },
1713
- ], imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentEntityModule] }); }
1714
- }
1715
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentManagementModule, decorators: [{
1716
- type: NgModule,
1717
- args: [{
1718
- imports: [AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, AXMDocumentManagementDocumentTypeMetaValueEntityModule, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, AXMDocumentManagementDocumentTypeEntityModule, AXMDocumentManagementDocumentEntityModule,],
1719
- exports: [],
1720
- declarations: [],
1721
- providers: [
1722
- {
1723
- provide: AXP_MENU_PROVIDER,
1724
- useClass: AXMMenuProvider,
1725
- multi: true,
1726
- },
1727
- {
1728
- provide: AXP_ENTITY_DEFINITION_LOADER,
1729
- useClass: AXMEntityProvider,
1730
- multi: true,
1731
- },
1732
- {
1733
- provide: AXP_SETTING_DEFINITION_PROVIDER,
1734
- useClass: AXMSettingProvider,
1735
- multi: true,
1736
- },
1737
- {
1738
- provide: AXP_SEARCH_PROVIDER,
1739
- useClass: AXMSearchCommandProvider,
1740
- multi: true,
1741
- },
1742
- {
1743
- provide: AXP_PERMISSION_PROVIDER,
1744
- useClass: AXMPermissionProvider,
1745
- multi: true,
1746
- },
1747
- ]
1748
- }]
1749
- }] });
1750
-
1751
- //export * from './lib/pages';
1752
-
1753
- /**
1754
- * Generated bundle index. Do not edit.
1755
- */
1756
-
1757
- export { AXMDocumentManagementModule, AXMEntityProvider, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, RootConfig };
1
+ export { b as AXMDocumentManagementDocumentEntityModule, g as AXMDocumentManagementDocumentTypeEntityModule, h as AXMDocumentManagementDocumentTypeEntityService, i as AXMDocumentManagementDocumentTypeEntityServiceImpl, k as AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, l as AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, m as AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, o as AXMDocumentManagementDocumentTypeMetaValueEntityModule, p as AXMDocumentManagementDocumentTypeMetaValueEntityService, q as AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, s as AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, t as AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, u as AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, a as AXMDocumentManagementModule, c as AXMDocumentService, e as AXMDocumentServiceImpl, y as AXMEntityProvider, w as AXMFolderService, x as AXMFolderServiceImpl, z as AXMMenuProvider, B as AXMSearchCommandProvider, C as AXMSettingProvider, R as RootConfig, d as documentFactory, f as documentTypeFactory, j as documentTypeMetaDefinitionfactory, n as documentTypeMetaValueFactory, r as documentTypeStatusDefinitionFactory, v as folderFactory } from './acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs';
1758
2
  //# sourceMappingURL=acorex-modules-document-management.mjs.map