@acorex/modules 19.3.0-next.1 → 19.3.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/auth/lib/pages/account/profile/profile-slot.component.d.ts +4 -0
  2. package/auth/lib/pages/account/user-sessions/user-sessions.component.d.ts +71 -0
  3. package/auth/lib/pages/account/user-sessions/user-sessions.service.d.ts +22 -0
  4. package/common/lib/entities/dashboard/dashboard.types.d.ts +1 -1
  5. package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +4 -0
  6. package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +2 -0
  7. package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +1 -1
  8. package/common/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +6 -1
  9. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +2 -2
  10. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +2 -2
  11. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +2 -2
  12. package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +2 -2
  13. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +2 -2
  14. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +2 -2
  15. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +2 -2
  16. package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +2 -2
  17. package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs} +9 -9
  18. package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs.map → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs.map} +1 -1
  19. package/fesm2022/acorex-modules-application-management.mjs +14 -15
  20. package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
  21. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs → acorex-modules-auth-acorex-modules-auth-DoIq3IkC.mjs} +87 -16
  22. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DoIq3IkC.mjs.map +1 -0
  23. package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs → acorex-modules-auth-app-chooser.component-D5z_sxdb.mjs} +2 -2
  24. package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs.map → acorex-modules-auth-app-chooser.component-D5z_sxdb.mjs.map} +1 -1
  25. package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs → acorex-modules-auth-login.module-D1lvqgpY.mjs} +4 -4
  26. package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs.map → acorex-modules-auth-login.module-D1lvqgpY.mjs.map} +1 -1
  27. package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs → acorex-modules-auth-master.layout-D0wN1nJg.mjs} +2 -2
  28. package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs.map → acorex-modules-auth-master.layout-D0wN1nJg.mjs.map} +1 -1
  29. package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs → acorex-modules-auth-password.component-BxgUw_hF.mjs} +2 -2
  30. package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs.map → acorex-modules-auth-password.component-BxgUw_hF.mjs.map} +1 -1
  31. package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs → acorex-modules-auth-password.component-DwcP8s1c.mjs} +7 -7
  32. package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs.map → acorex-modules-auth-password.component-DwcP8s1c.mjs.map} +1 -1
  33. package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs → acorex-modules-auth-routes-BfuRe12M.mjs} +2 -2
  34. package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs.map → acorex-modules-auth-routes-BfuRe12M.mjs.map} +1 -1
  35. package/fesm2022/acorex-modules-auth-setting.provider-CM-T8nbI.mjs +128 -0
  36. package/fesm2022/acorex-modules-auth-setting.provider-CM-T8nbI.mjs.map +1 -0
  37. package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs → acorex-modules-auth-two-factor.module-BV_amlHF.mjs} +2 -2
  38. package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs.map → acorex-modules-auth-two-factor.module-BV_amlHF.mjs.map} +1 -1
  39. package/fesm2022/acorex-modules-auth-user-sessions.component-CjXRKjtX.mjs +135 -0
  40. package/fesm2022/acorex-modules-auth-user-sessions.component-CjXRKjtX.mjs.map +1 -0
  41. package/fesm2022/acorex-modules-auth.mjs +1 -1
  42. package/fesm2022/{acorex-modules-common-index-rvP9ISgL.mjs → acorex-modules-common-index-BhPbl6D7.mjs} +130 -23
  43. package/fesm2022/acorex-modules-common-index-BhPbl6D7.mjs.map +1 -0
  44. package/fesm2022/acorex-modules-common.mjs +1 -1
  45. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  46. package/fesm2022/acorex-modules-conversation.mjs +1 -1
  47. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  48. package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs → acorex-modules-document-management-acorex-modules-document-management-By3KxyQi.mjs} +29 -28
  49. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-By3KxyQi.mjs.map +1 -0
  50. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs → acorex-modules-document-management-create-folder-dialog.component-BY-8zP2Y.mjs} +2 -2
  51. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BY-8zP2Y.mjs.map} +1 -1
  52. package/fesm2022/{acorex-modules-document-management-details-view.component-BFMgAxeK.mjs → acorex-modules-document-management-details-view.component-T2Wfo1An.mjs} +2 -2
  53. package/fesm2022/{acorex-modules-document-management-details-view.component-BFMgAxeK.mjs.map → acorex-modules-document-management-details-view.component-T2Wfo1An.mjs.map} +1 -1
  54. package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs → acorex-modules-document-management-drive-choose.component-B9OGXyP2.mjs} +2 -2
  55. package/fesm2022/{acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs.map → acorex-modules-document-management-drive-choose.component-B9OGXyP2.mjs.map} +1 -1
  56. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs → acorex-modules-document-management-large-icons-view.component-CbS823XB.mjs} +2 -2
  57. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs.map → acorex-modules-document-management-large-icons-view.component-CbS823XB.mjs.map} +1 -1
  58. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs → acorex-modules-document-management-large-tiles-view.component-_u1vSWi5.mjs} +2 -2
  59. package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs.map → acorex-modules-document-management-large-tiles-view.component-_u1vSWi5.mjs.map} +1 -1
  60. package/fesm2022/{acorex-modules-document-management-list-view.component-BPkaAGjR.mjs → acorex-modules-document-management-list-view.component-jXR4GQlh.mjs} +2 -2
  61. package/fesm2022/{acorex-modules-document-management-list-view.component-BPkaAGjR.mjs.map → acorex-modules-document-management-list-view.component-jXR4GQlh.mjs.map} +1 -1
  62. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs → acorex-modules-document-management-rename-node-dialog.component-Cp_X2KqY.mjs} +2 -2
  63. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs.map → acorex-modules-document-management-rename-node-dialog.component-Cp_X2KqY.mjs.map} +1 -1
  64. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs → acorex-modules-document-management-small-icons-view.component-CkoUBGKu.mjs} +2 -2
  65. package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs.map → acorex-modules-document-management-small-icons-view.component-CkoUBGKu.mjs.map} +1 -1
  66. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs → acorex-modules-document-management-small-tiles-view.component-BFyR4x39.mjs} +2 -2
  67. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs.map → acorex-modules-document-management-small-tiles-view.component-BFyR4x39.mjs.map} +1 -1
  68. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  69. package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-B89YXZyp.mjs} +19 -18
  70. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-B89YXZyp.mjs.map +1 -0
  71. package/fesm2022/{acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs → acorex-modules-form-template-management-category.entity-Dijep_aT.mjs} +9 -2
  72. package/fesm2022/acorex-modules-form-template-management-category.entity-Dijep_aT.mjs.map +1 -0
  73. package/fesm2022/{acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs → acorex-modules-form-template-management-setting.provider-CT_uJT9V.mjs} +2 -2
  74. package/fesm2022/{acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs.map → acorex-modules-form-template-management-setting.provider-CT_uJT9V.mjs.map} +1 -1
  75. package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs → acorex-modules-form-template-management-template-widget-edit.component-C5gnjRm4.mjs} +5 -5
  76. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-C5gnjRm4.mjs.map +1 -0
  77. package/fesm2022/{acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs → acorex-modules-form-template-management-template.entity-dw1iFvcm.mjs} +2 -2
  78. package/fesm2022/{acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs.map → acorex-modules-form-template-management-template.entity-dw1iFvcm.mjs.map} +1 -1
  79. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs → acorex-modules-form-template-management-viewer-popup.component-oYKbLQpE.mjs} +3 -3
  80. package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs.map → acorex-modules-form-template-management-viewer-popup.component-oYKbLQpE.mjs.map} +1 -1
  81. package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
  82. package/fesm2022/acorex-modules-log-management.mjs +1096 -0
  83. package/fesm2022/acorex-modules-log-management.mjs.map +1 -0
  84. package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs +489 -0
  85. package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs.map +1 -0
  86. package/fesm2022/{acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs → acorex-modules-organization-management-chart.entity-UAn44WCP.mjs} +14 -13
  87. package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +1 -0
  88. package/fesm2022/{acorex-modules-organization-management-company.entity-BRkEcDNt.mjs → acorex-modules-organization-management-company.entity-D1A1HSkC.mjs} +12 -11
  89. package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +1 -0
  90. package/fesm2022/{acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs → acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs} +192 -85
  91. package/fesm2022/acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs.map +1 -0
  92. package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs +442 -0
  93. package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs.map +1 -0
  94. package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs +601 -0
  95. package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs.map +1 -0
  96. package/fesm2022/{acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs → acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs} +21 -25
  97. package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map +1 -0
  98. package/fesm2022/{acorex-modules-organization-management-position.entity-BpQbwW-x.mjs → acorex-modules-organization-management-position.entity-DhPT9kzv.mjs} +12 -11
  99. package/fesm2022/acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map +1 -0
  100. package/fesm2022/{acorex-modules-organization-management-division.entity-qyDyhl-q.mjs → acorex-modules-organization-management-role.entity-C-AIIaDo.mjs} +31 -39
  101. package/fesm2022/acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map +1 -0
  102. package/fesm2022/{acorex-modules-organization-management-branch.entity-e5pFx82N.mjs → acorex-modules-organization-management-team.entity-DZqK-yLT.mjs} +71 -60
  103. package/fesm2022/acorex-modules-organization-management-team.entity-DZqK-yLT.mjs.map +1 -0
  104. package/fesm2022/acorex-modules-organization-management.mjs +35 -35
  105. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  106. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs → acorex-modules-platform-management-acorex-modules-platform-management-Ckc1_cpl.mjs} +3715 -1442
  107. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-Ckc1_cpl.mjs.map +1 -0
  108. package/fesm2022/acorex-modules-platform-management-capture-screen.component-B9hhUIbH.mjs +28 -0
  109. package/fesm2022/acorex-modules-platform-management-capture-screen.component-B9hhUIbH.mjs.map +1 -0
  110. package/fesm2022/{acorex-modules-platform-management-list-version.component-EHtlPye1.mjs → acorex-modules-platform-management-list-version.component-kbqAusu_.mjs} +6 -6
  111. package/fesm2022/{acorex-modules-platform-management-list-version.component-EHtlPye1.mjs.map → acorex-modules-platform-management-list-version.component-kbqAusu_.mjs.map} +1 -1
  112. package/fesm2022/{acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs → acorex-modules-platform-management-setting.provider-DEzI0jUt.mjs} +21 -5
  113. package/fesm2022/acorex-modules-platform-management-setting.provider-DEzI0jUt.mjs.map +1 -0
  114. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  115. package/fesm2022/acorex-modules-security-management.mjs +1147 -461
  116. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  117. package/form-template-management/lib/features/designer/widgets/template/template-widget-designer.component.d.ts +2 -2
  118. package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +2 -2
  119. package/form-template-management/lib/features/designer/widgets/template/template-widget-view.component.d.ts +2 -2
  120. package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +2 -2
  121. package/log-management/README.md +3 -0
  122. package/log-management/index.d.ts +7 -0
  123. package/log-management/lib/const.d.ts +20 -0
  124. package/log-management/lib/entities/axp-log/axp-log.entity.d.ts +3 -0
  125. package/log-management/lib/entities/axp-log/axp-log.service.d.ts +10 -0
  126. package/log-management/lib/entities/axp-log/axp-log.types.d.ts +23 -0
  127. package/log-management/lib/entities/axp-log/index.d.ts +3 -0
  128. package/log-management/lib/entity.provider.d.ts +10 -0
  129. package/log-management/lib/log-management.module.d.ts +6 -0
  130. package/log-management/lib/menu.provider.d.ts +5 -0
  131. package/log-management/lib/permission.provider.d.ts +4 -0
  132. package/log-management/lib/search-command.provider.d.ts +4 -0
  133. package/log-management/lib/setting.provider.d.ts +4 -0
  134. package/organization-management/lib/entities/branch/branch.types.d.ts +6 -0
  135. package/organization-management/lib/entities/department/department.types.d.ts +5 -0
  136. package/organization-management/lib/entities/division/division.types.d.ts +5 -0
  137. package/organization-management/lib/entities/employee/employee.types.d.ts +9 -1
  138. package/organization-management/lib/entities/role/role.types.d.ts +1 -1
  139. package/organization-management/lib/entities/team/team.types.d.ts +4 -1
  140. package/package.json +5 -1
  141. package/platform-management/index.d.ts +1 -0
  142. package/platform-management/lib/const.d.ts +24 -0
  143. package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +3 -2
  144. package/platform-management/lib/entities/index.d.ts +3 -0
  145. package/platform-management/lib/entities/issue-type/index.d.ts +3 -0
  146. package/platform-management/lib/entities/issue-type/issue-type.entity.d.ts +3 -0
  147. package/platform-management/lib/entities/issue-type/issue-type.service.d.ts +10 -0
  148. package/platform-management/lib/entities/issue-type/issue-type.types.d.ts +6 -0
  149. package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -1
  150. package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +2 -0
  151. package/platform-management/lib/entities/my-reported-issues/index.d.ts +3 -0
  152. package/platform-management/lib/entities/my-reported-issues/my-reported-issues.entity.d.ts +3 -0
  153. package/platform-management/lib/entities/my-reported-issues/my-reported-issues.service.d.ts +10 -0
  154. package/platform-management/lib/entities/my-reported-issues/my-reported-issues.types.d.ts +5 -0
  155. package/platform-management/lib/entities/reported-issues/index.d.ts +3 -0
  156. package/platform-management/lib/entities/reported-issues/reported-issues.entity.d.ts +3 -0
  157. package/platform-management/lib/entities/reported-issues/reported-issues.service.d.ts +10 -0
  158. package/platform-management/lib/entities/reported-issues/reported-issues.types.d.ts +21 -0
  159. package/platform-management/lib/features/index.d.ts +1 -0
  160. package/platform-management/lib/features/support/capture-screen/capture-screen.types.d.ts +19 -0
  161. package/platform-management/lib/features/support/capture-screen/components/capture-screen-component/capture-screen.component.d.ts +37 -0
  162. package/platform-management/lib/features/support/capture-screen/index.d.ts +2 -0
  163. package/platform-management/lib/features/support/capture-screen/services/capture-screen.service.d.ts +33 -0
  164. package/platform-management/lib/features/support/index.d.ts +2 -0
  165. package/platform-management/lib/features/support/report-issue/components/index.d.ts +1 -0
  166. package/platform-management/lib/features/support/report-issue/components/report-new-issue/report-new-issue.component.d.ts +40 -0
  167. package/platform-management/lib/features/support/report-issue/index.d.ts +2 -0
  168. package/platform-management/lib/features/support/report-issue/report-issue.types.d.ts +19 -0
  169. package/platform-management/lib/features/support/report-issue/services/report-new-issue.viewmodel.d.ts +15 -0
  170. package/platform-management/lib/features/support/report-issue/workflows/index.d.ts +1 -0
  171. package/platform-management/lib/features/support/report-issue/workflows/show-report-issue.workflow.d.ts +10 -0
  172. package/security-management/lib/const.d.ts +6 -0
  173. package/security-management/lib/entities/device-sessions/device-sessions.entity.d.ts +3 -0
  174. package/security-management/lib/entities/device-sessions/device-sessions.module.d.ts +6 -0
  175. package/security-management/lib/entities/device-sessions/device-sessions.service.d.ts +12 -0
  176. package/security-management/lib/entities/device-sessions/device-sessions.types.d.ts +34 -0
  177. package/security-management/lib/entities/device-sessions/index.d.ts +4 -0
  178. package/security-management/lib/entities/index.d.ts +1 -0
  179. package/security-management/lib/menu.keys.d.ts +2 -1
  180. package/security-management/lib/security-management.module.d.ts +6 -4
  181. package/security-management/lib/workflows/terminate-entity.workflow.d.ts +27 -0
  182. package/fesm2022/acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs.map +0 -1
  183. package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs +0 -271
  184. package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs.map +0 -1
  185. package/fesm2022/acorex-modules-common-index-rvP9ISgL.mjs.map +0 -1
  186. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs.map +0 -1
  187. package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs.map +0 -1
  188. package/fesm2022/acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs.map +0 -1
  189. package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs.map +0 -1
  190. package/fesm2022/acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map +0 -1
  191. package/fesm2022/acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map +0 -1
  192. package/fesm2022/acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map +0 -1
  193. package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs +0 -256
  194. package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map +0 -1
  195. package/fesm2022/acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map +0 -1
  196. package/fesm2022/acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map +0 -1
  197. package/fesm2022/acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map +0 -1
  198. package/fesm2022/acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map +0 -1
  199. package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs +0 -238
  200. package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map +0 -1
  201. package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs +0 -238
  202. package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map +0 -1
  203. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs.map +0 -1
  204. package/fesm2022/acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs.map +0 -1
@@ -5,14 +5,15 @@ import { AXMOrganizationManagementEmploymentTypeEntityService, RootConfig } from
5
5
  async function factory(injector) {
6
6
  const dataService = injector.get(AXMOrganizationManagementEmploymentTypeEntityService);
7
7
  const i18n = RootConfig.config.i18n;
8
+ const entityName = 'employment-type';
8
9
  const entityDef = {
9
10
  module: RootConfig.module.name,
10
11
  name: RootConfig.entities.employmentType.name,
11
12
  source: '',
12
- title: `t("employment-type", { scope: "${i18n}" })`,
13
+ title: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
13
14
  formats: {
14
- individual: `t("employment-type", { scope: "${i18n}" })`,
15
- plural: `t("employment-types", { scope: "${i18n}" })`,
15
+ individual: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
16
+ plural: `t("${entityName}.plural-title", { scope: "${i18n}" })`,
16
17
  searchResult: {
17
18
  title: '{{ title }}',
18
19
  description: RootConfig.module.title,
@@ -21,14 +22,15 @@ async function factory(injector) {
21
22
  relatedEntities: [],
22
23
  groups: [
23
24
  {
24
- id: 'section',
25
- title: `t("employment-type", { scope: "${i18n}" })`,
25
+ id: 'basicInfo',
26
+ title: `t("${entityName}.basic-info", { scope: "${i18n}" })`,
26
27
  },
27
28
  ],
28
29
  properties: [
29
30
  {
30
31
  name: 'id',
31
32
  title: 'ID',
33
+ groupId: 'basicInfo',
32
34
  schema: {
33
35
  dataType: 'uuid',
34
36
  hidden: true,
@@ -41,15 +43,12 @@ async function factory(injector) {
41
43
  },
42
44
  {
43
45
  name: 'title',
44
- title: `t("title", { scope: "common" })`,
45
- groupId: 'section',
46
+ title: `t("${entityName}.title", { scope: "${i18n}" })`,
47
+ groupId: 'basicInfo',
46
48
  schema: {
47
49
  dataType: 'string',
48
50
  interface: {
49
51
  type: AXPWidgetsCatalog.text,
50
- options: {
51
- width: '300px',
52
- },
53
52
  },
54
53
  },
55
54
  validations: [
@@ -60,15 +59,12 @@ async function factory(injector) {
60
59
  },
61
60
  {
62
61
  name: 'description',
63
- title: `t("description", { scope: "common" })`,
64
- groupId: 'section',
62
+ title: `t("${entityName}.description", { scope: "${i18n}" })`,
63
+ groupId: 'basicInfo',
65
64
  schema: {
66
65
  dataType: 'string',
67
66
  interface: {
68
- type: AXPWidgetsCatalog.text,
69
- options: {
70
- width: '500px',
71
- },
67
+ type: AXPWidgetsCatalog.largeText,
72
68
  },
73
69
  },
74
70
  },
@@ -111,7 +107,7 @@ async function factory(injector) {
111
107
  create: {
112
108
  sections: [
113
109
  {
114
- id: 'section',
110
+ id: 'basicInfo',
115
111
  },
116
112
  ],
117
113
  properties: [
@@ -140,7 +136,7 @@ async function factory(injector) {
140
136
  update: {
141
137
  sections: [
142
138
  {
143
- id: 'section',
139
+ id: 'basicInfo',
144
140
  },
145
141
  ],
146
142
  properties: [
@@ -170,7 +166,7 @@ async function factory(injector) {
170
166
  title: '{{title}}',
171
167
  sections: [
172
168
  {
173
- id: 'section',
169
+ id: 'basicInfo',
174
170
  layout: {
175
171
  positions: {
176
172
  lg: {
@@ -207,28 +203,28 @@ async function factory(injector) {
207
203
  list: {
208
204
  actions: [
209
205
  {
210
- title: `t("create", { scope: "common" })`,
206
+ title: `t("${entityName}.create", { scope: "${i18n}" })`,
211
207
  command: 'create-entity',
212
208
  priority: 'primary',
213
209
  type: 'create',
214
210
  scope: AXPEntityCommandScope.TypeLevel,
215
211
  },
216
212
  {
217
- title: 't("deleteItems", { scope: "common" })',
213
+ title: `t("${entityName}.delete-items", { scope: "${i18n}" })`,
218
214
  command: 'delete-entity',
219
215
  priority: 'primary',
220
216
  type: 'delete',
221
217
  scope: AXPEntityCommandScope.Selected,
222
218
  },
223
219
  {
224
- title: 't("detail", { scope: "common" })',
220
+ title: `t("${entityName}.detail", { scope: "${i18n}" })`,
225
221
  command: 'open-entity',
226
222
  priority: 'secondary',
227
223
  type: 'view',
228
224
  scope: AXPEntityCommandScope.Individual,
229
225
  },
230
226
  {
231
- title: 't("delete", { scope: "common" })',
227
+ title: `t("${entityName}.delete", { scope: "${i18n}" })`,
232
228
  command: 'delete-entity',
233
229
  priority: 'secondary',
234
230
  type: 'delete',
@@ -238,7 +234,7 @@ async function factory(injector) {
238
234
  views: [
239
235
  {
240
236
  name: 'all',
241
- title: 't("allItem", { scope: "common" })',
237
+ title: `t("${entityName}.all-item", { scope: "${i18n}" })`,
242
238
  fixed: true,
243
239
  columns: [],
244
240
  conditions: [],
@@ -253,4 +249,4 @@ async function factory(injector) {
253
249
  }
254
250
 
255
251
  export { factory };
256
- //# sourceMappingURL=acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map
252
+ //# sourceMappingURL=acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs","sources":["../../../../libs/modules/organization-management/src/lib/entities/employment-type/employment-type.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementEmploymentTypeEntityService } from './employment-type.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementEmploymentTypeEntityService);\n const i18n = RootConfig.config.i18n;\n const entityName = 'employment-type';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.employmentType.name,\n source: '',\n title: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n formats: {\n individual: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n plural: `t(\"${entityName}.plural-title\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'basicInfo',\n title: `t(\"${entityName}.basic-info\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basicInfo',\n schema: {\n dataType: 'uuid',\n hidden: true,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'title',\n title: `t(\"${entityName}.title\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'description',\n title: `t(\"${entityName}.description\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basicInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basicInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'basicInfo',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"${entityName}.create\", { scope: \"${i18n}\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: `t(\"${entityName}.delete-items\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: `t(\"${entityName}.detail\", { scope: \"${i18n}\" })`,\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: `t(\"${entityName}.delete\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: `t(\"${entityName}.all-item\", { scope: \"${i18n}\" })`,\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,oDAAoD,CAAC;AACtF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IACnC,MAAM,UAAU,GAAG,iBAAiB;AAEpC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,KAAK,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,8BAAA,EAAiC,IAAI,CAAM,IAAA,CAAA;AAClE,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,8BAAA,EAAiC,IAAI,CAAM,IAAA,CAAA;AACvE,YAAA,MAAM,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,0BAAA,EAA6B,IAAI,CAAM,IAAA,CAAA;AAC/D,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AACrC,aAAA;AACF,SAAA;AACD,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,WAAW;AACf,gBAAA,KAAK,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,wBAAA,EAA2B,IAAI,CAAM,IAAA,CAAA;AAC7D,aAAA;AACF,SAAA;AACD,QAAA,UAAU,EAAE;AACV,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AA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,oBAAA,EAAuB,IAAI,CAAM,IAAA,CAAA;AACxD,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,sBAAA,EAAyB,IAAI,CAAM,IAAA,CAAA;AAC1D,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACD,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -5,14 +5,15 @@ import { AXMOrganizationManagementPositionEntityService, RootConfig } from './ac
5
5
  async function factory(injector) {
6
6
  const dataService = injector.get(AXMOrganizationManagementPositionEntityService);
7
7
  const i18n = RootConfig.config.i18n;
8
+ const entityName = 'position';
8
9
  const entityDef = {
9
10
  module: RootConfig.module.name,
10
11
  name: RootConfig.entities.position.name,
11
12
  source: '',
12
13
  title: RootConfig.entities.position.title,
13
14
  formats: {
14
- individual: `t("position", { scope: "${i18n}" })`,
15
- plural: `t("positions", { scope: "${i18n}" })`,
15
+ individual: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
16
+ plural: `t("${entityName}.plural-title", { scope: "${i18n}" })`,
16
17
  searchResult: {
17
18
  title: '{{ title }}',
18
19
  description: RootConfig.module.title,
@@ -22,7 +23,7 @@ async function factory(injector) {
22
23
  groups: [
23
24
  {
24
25
  id: 'section',
25
- title: `t("position", { scope: "${i18n}" })`,
26
+ title: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
26
27
  },
27
28
  ],
28
29
  properties: [
@@ -41,7 +42,7 @@ async function factory(injector) {
41
42
  },
42
43
  {
43
44
  name: 'title',
44
- title: `t("title", { scope: "common" })`,
45
+ title: `t("${entityName}.title", { scope: "${i18n}" })`,
45
46
  groupId: 'section',
46
47
  schema: {
47
48
  dataType: 'string',
@@ -60,7 +61,7 @@ async function factory(injector) {
60
61
  },
61
62
  {
62
63
  name: 'description',
63
- title: `t("description", { scope: "common" })`,
64
+ title: `t("${entityName}.description", { scope: "${i18n}" })`,
64
65
  groupId: 'section',
65
66
  schema: {
66
67
  dataType: 'string',
@@ -207,28 +208,28 @@ async function factory(injector) {
207
208
  list: {
208
209
  actions: [
209
210
  {
210
- title: `t("create", { scope: "common" })`,
211
+ title: `t("${entityName}.create", { scope: "${i18n}" })`,
211
212
  command: 'create-entity',
212
213
  priority: 'primary',
213
214
  type: 'create',
214
215
  scope: AXPEntityCommandScope.TypeLevel,
215
216
  },
216
217
  {
217
- title: 't("deleteItems", { scope: "common" })',
218
+ title: `t("${entityName}.delete-items", { scope: "${i18n}" })`,
218
219
  command: 'delete-entity',
219
220
  priority: 'primary',
220
221
  type: 'delete',
221
222
  scope: AXPEntityCommandScope.Selected,
222
223
  },
223
224
  {
224
- title: 't("detail", { scope: "common" })',
225
+ title: `t("${entityName}.detail", { scope: "${i18n}" })`,
225
226
  command: 'open-entity',
226
227
  priority: 'secondary',
227
228
  type: 'view',
228
229
  scope: AXPEntityCommandScope.Individual,
229
230
  },
230
231
  {
231
- title: 't("delete", { scope: "common" })',
232
+ title: `t("${entityName}.delete", { scope: "${i18n}" })`,
232
233
  command: 'delete-entity',
233
234
  priority: 'secondary',
234
235
  type: 'delete',
@@ -238,7 +239,7 @@ async function factory(injector) {
238
239
  views: [
239
240
  {
240
241
  name: 'all',
241
- title: 't("allItem", { scope: "common" })',
242
+ title: `t("${entityName}.all-item", { scope: "${i18n}" })`,
242
243
  fixed: true,
243
244
  columns: [],
244
245
  conditions: [],
@@ -253,4 +254,4 @@ async function factory(injector) {
253
254
  }
254
255
 
255
256
  export { factory };
256
- //# sourceMappingURL=acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map
257
+ //# sourceMappingURL=acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-modules-organization-management-position.entity-DhPT9kzv.mjs","sources":["../../../../libs/modules/organization-management/src/lib/entities/position/position.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementPositionEntityService } from './position.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementPositionEntityService);\n const i18n = RootConfig.config.i18n;\n const entityName = 'position';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.position.name,\n source: '',\n title: RootConfig.entities.position.title,\n formats: {\n individual: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n plural: `t(\"${entityName}.plural-title\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'section',\n title: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: {\n dataType: 'uuid',\n hidden: true,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'title',\n title: `t(\"${entityName}.title\", { scope: \"${i18n}\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n width: '300px',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'description',\n title: `t(\"${entityName}.description\", { scope: \"${i18n}\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n width: '500px',\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'section',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"${entityName}.create\", { scope: \"${i18n}\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: `t(\"${entityName}.delete-items\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: `t(\"${entityName}.detail\", { scope: \"${i18n}\" })`,\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: `t(\"${entityName}.delete\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: `t(\"${entityName}.all-item\", { scope: \"${i18n}\" })`,\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,8CAA8C,CAAC;AAChF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IACnC,MAAM,UAAU,GAAG,UAAU;AAE7B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;AACvC,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK;AACzC,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,8BAAA,EAAiC,IAAI,CAAM,IAAA,CAAA;AACvE,YAAA,MAAM,EAAE,CAAA,GAAA,EAAM,UAAU,CAAA,0BAAA,EAA6B,IAAI,CAAM,IAAA,CA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ope, AXPEntityQueryType } from '@acorex/platform/common';
1
+ import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';
2
2
  import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
3
- import { AXMOrganizationManagementDivisionEntityService, RootConfig } from './acorex-modules-organization-management.mjs';
3
+ import { AXMOrganizationManagementRoleEntityService, RootConfig } from './acorex-modules-organization-management.mjs';
4
4
 
5
5
  async function factory(injector) {
6
- const dataService = injector.get(AXMOrganizationManagementDivisionEntityService);
6
+ const dataService = injector.get(AXMOrganizationManagementRoleEntityService);
7
7
  const i18n = RootConfig.config.i18n;
8
+ const entityName = 'role';
8
9
  const entityDef = {
9
10
  module: RootConfig.module.name,
10
- name: RootConfig.entities.division.name,
11
- source: '',
12
- title: `t("division", { scope: "${i18n}" })`,
11
+ name: RootConfig.entities.role.name,
12
+ source: RootConfig.entities.role.source,
13
+ title: RootConfig.entities.role.title,
13
14
  formats: {
14
- individual: `t("division", { scope: "${i18n}" })`,
15
- plural: `t("divisions", { scope: "${i18n}" })`,
15
+ individual: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
16
+ plural: `t("${entityName}.plural-title", { scope: "${i18n}" })`,
16
17
  searchResult: {
17
18
  title: '{{ title }}',
18
19
  description: RootConfig.module.title,
@@ -21,14 +22,15 @@ async function factory(injector) {
21
22
  relatedEntities: [],
22
23
  groups: [
23
24
  {
24
- id: 'section',
25
- title: `t("division", { scope: "${i18n}" })`,
25
+ id: 'basicInfo',
26
+ title: `t("${entityName}.basic-info", { scope: "${i18n}" })`,
26
27
  },
27
28
  ],
28
29
  properties: [
29
30
  {
30
31
  name: 'id',
31
32
  title: 'ID',
33
+ groupId: 'basicInfo',
32
34
  schema: {
33
35
  dataType: 'uuid',
34
36
  hidden: true,
@@ -41,15 +43,12 @@ async function factory(injector) {
41
43
  },
42
44
  {
43
45
  name: 'title',
44
- title: `t("title", { scope: "common" })`,
45
- groupId: 'section',
46
+ title: `t("${entityName}.title", { scope: "${i18n}" })`,
47
+ groupId: 'basicInfo',
46
48
  schema: {
47
49
  dataType: 'string',
48
50
  interface: {
49
51
  type: AXPWidgetsCatalog.text,
50
- options: {
51
- width: '300px',
52
- },
53
52
  },
54
53
  },
55
54
  validations: [
@@ -60,17 +59,19 @@ async function factory(injector) {
60
59
  },
61
60
  {
62
61
  name: 'description',
63
- title: `t("description", { scope: "common" })`,
64
- groupId: 'section',
62
+ title: `t("${entityName}.description", { scope: "${i18n}" })`,
63
+ groupId: 'basicInfo',
65
64
  schema: {
66
65
  dataType: 'string',
67
66
  interface: {
68
- type: AXPWidgetsCatalog.text,
69
- options: {
70
- width: '500px',
71
- },
67
+ type: AXPWidgetsCatalog.largeText,
72
68
  },
73
69
  },
70
+ validations: [
71
+ {
72
+ rule: 'required',
73
+ },
74
+ ],
74
75
  },
75
76
  ],
76
77
  columns: [{ name: 'title' }, { name: 'description' }],
@@ -111,7 +112,7 @@ async function factory(injector) {
111
112
  create: {
112
113
  sections: [
113
114
  {
114
- id: 'section',
115
+ id: 'basicInfo',
115
116
  },
116
117
  ],
117
118
  properties: [
@@ -140,7 +141,7 @@ async function factory(injector) {
140
141
  update: {
141
142
  sections: [
142
143
  {
143
- id: 'section',
144
+ id: 'basicInfo',
144
145
  },
145
146
  ],
146
147
  properties: [
@@ -170,7 +171,7 @@ async function factory(injector) {
170
171
  title: '{{title}}',
171
172
  sections: [
172
173
  {
173
- id: 'section',
174
+ id: 'basicInfo',
174
175
  layout: {
175
176
  positions: {
176
177
  lg: {
@@ -207,44 +208,35 @@ async function factory(injector) {
207
208
  list: {
208
209
  actions: [
209
210
  {
210
- title: `t("create", { scope: "common" })`,
211
+ title: `t("${entityName}.create", { scope: "${i18n}" })`,
211
212
  command: 'create-entity',
212
213
  priority: 'primary',
213
214
  type: 'create',
214
215
  scope: AXPEntityCommandScope.TypeLevel,
215
216
  },
216
217
  {
217
- title: 't("deleteItems", { scope: "common" })',
218
+ title: `t("${entityName}.delete-items", { scope: "${i18n}" })`,
218
219
  command: 'delete-entity',
219
220
  priority: 'primary',
220
221
  type: 'delete',
221
222
  scope: AXPEntityCommandScope.Selected,
222
223
  },
223
224
  {
224
- title: 't("detail", { scope: "common" })',
225
+ title: `t("${entityName}.detail", { scope: "${i18n}" })`,
225
226
  command: 'open-entity',
226
227
  priority: 'secondary',
227
228
  type: 'view',
228
229
  scope: AXPEntityCommandScope.Individual,
229
230
  },
230
231
  {
231
- title: 't("delete", { scope: "common" })',
232
+ title: `t("${entityName}.delete", { scope: "${i18n}" })`,
232
233
  command: 'delete-entity',
233
234
  priority: 'secondary',
234
235
  type: 'delete',
235
236
  scope: AXPEntityCommandScope.Individual,
236
237
  },
237
238
  ],
238
- views: [
239
- {
240
- name: 'all',
241
- title: 't("allItem", { scope: "common" })',
242
- fixed: true,
243
- columns: [],
244
- conditions: [],
245
- sorts: [],
246
- },
247
- ],
239
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
248
240
  },
249
241
  },
250
242
  },
@@ -253,4 +245,4 @@ async function factory(injector) {
253
245
  }
254
246
 
255
247
  export { factory };
256
- //# sourceMappingURL=acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map
248
+ //# sourceMappingURL=acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-modules-organization-management-role.entity-C-AIIaDo.mjs","sources":["../../../../libs/modules/organization-management/src/lib/entities/role/role.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementRoleEntityService } from './role.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementRoleEntityService);\n const i18n = RootConfig.config.i18n;\n const entityName = 'role';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.role.name,\n source: RootConfig.entities.role.source,\n title: RootConfig.entities.role.title,\n formats: {\n individual: `t(\"${entityName}.individual-title\", { scope: \"${i18n}\" })`,\n plural: `t(\"${entityName}.plural-title\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'basicInfo',\n title: `t(\"${entityName}.basic-info\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basicInfo',\n schema: {\n dataType: 'uuid',\n hidden: true,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'title',\n title: `t(\"${entityName}.title\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'description',\n title: `t(\"${entityName}.description\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basicInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basicInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'basicInfo',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"${entityName}.create\", { scope: \"${i18n}\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: `t(\"${entityName}.delete-items\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: `t(\"${entityName}.detail\", { scope: \"${i18n}\" })`,\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: `t(\"${entityName}.delete\", { scope: \"${i18n}\" })`,\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,0CAA0C,CAAC;AAC5E,IAAA,MAAM,IAAI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