@acorex/modules 19.3.0-next.0 → 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.
- package/auth/lib/pages/account/profile/profile-slot.component.d.ts +4 -0
- package/auth/lib/pages/account/user-sessions/user-sessions.component.d.ts +71 -0
- package/auth/lib/pages/account/user-sessions/user-sessions.service.d.ts +22 -0
- package/common/lib/entities/dashboard/dashboard.types.d.ts +1 -1
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +4 -0
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +2 -0
- package/common/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +1 -1
- package/common/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +6 -1
- package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +4 -1
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +2 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +2 -2
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +2 -2
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +2 -2
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +2 -2
- package/document-management/lib/features/shared/document-manager.service.d.ts +2 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +2 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +2 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +2 -2
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-Dd_lmV6C.mjs → acorex-modules-application-management-module-designer.component-ClxaJcjD.mjs} +9 -9
- 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
- package/fesm2022/acorex-modules-application-management.mjs +14 -15
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs → acorex-modules-auth-acorex-modules-auth-DoIq3IkC.mjs} +87 -16
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DoIq3IkC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs → acorex-modules-auth-app-chooser.component-D5z_sxdb.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs.map → acorex-modules-auth-app-chooser.component-D5z_sxdb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs → acorex-modules-auth-login.module-D1lvqgpY.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B_WrZQJx.mjs.map → acorex-modules-auth-login.module-D1lvqgpY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs → acorex-modules-auth-master.layout-D0wN1nJg.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-hDbrFbwO.mjs.map → acorex-modules-auth-master.layout-D0wN1nJg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs → acorex-modules-auth-password.component-BxgUw_hF.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DDE0M5GE.mjs.map → acorex-modules-auth-password.component-BxgUw_hF.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs → acorex-modules-auth-password.component-DwcP8s1c.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-password.component-BnT_IaqN.mjs.map → acorex-modules-auth-password.component-DwcP8s1c.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs → acorex-modules-auth-routes-BfuRe12M.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Da02kID6.mjs.map → acorex-modules-auth-routes-BfuRe12M.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-setting.provider-CM-T8nbI.mjs +128 -0
- package/fesm2022/acorex-modules-auth-setting.provider-CM-T8nbI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs → acorex-modules-auth-two-factor.module-BV_amlHF.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BrDpX4X1.mjs.map → acorex-modules-auth-two-factor.module-BV_amlHF.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-CjXRKjtX.mjs +135 -0
- package/fesm2022/acorex-modules-auth-user-sessions.component-CjXRKjtX.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/{acorex-modules-common-index-rvP9ISgL.mjs → acorex-modules-common-index-BhPbl6D7.mjs} +130 -23
- package/fesm2022/acorex-modules-common-index-BhPbl6D7.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-CI0m4lpX.mjs → acorex-modules-document-management-acorex-modules-document-management-By3KxyQi.mjs} +95 -61
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-By3KxyQi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-D8anTs3Q.mjs → acorex-modules-document-management-create-folder-dialog.component-BY-8zP2Y.mjs} +33 -15
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BY-8zP2Y.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-details-view.component-z05RykKt.mjs → acorex-modules-document-management-details-view.component-T2Wfo1An.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-z05RykKt.mjs.map → acorex-modules-document-management-details-view.component-T2Wfo1An.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BeiXQNAw.mjs → acorex-modules-document-management-drive-choose.component-B9OGXyP2.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BeiXQNAw.mjs.map → acorex-modules-document-management-drive-choose.component-B9OGXyP2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DctO0SZ7.mjs → acorex-modules-document-management-large-icons-view.component-CbS823XB.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DctO0SZ7.mjs.map → acorex-modules-document-management-large-icons-view.component-CbS823XB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CtCdVI_p.mjs → acorex-modules-document-management-large-tiles-view.component-_u1vSWi5.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CtCdVI_p.mjs.map → acorex-modules-document-management-large-tiles-view.component-_u1vSWi5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-Cz2wNqhM.mjs → acorex-modules-document-management-list-view.component-jXR4GQlh.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-Cz2wNqhM.mjs.map → acorex-modules-document-management-list-view.component-jXR4GQlh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DB868l1X.mjs → acorex-modules-document-management-rename-node-dialog.component-Cp_X2KqY.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DB868l1X.mjs.map → acorex-modules-document-management-rename-node-dialog.component-Cp_X2KqY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-B_O5Qpmi.mjs → acorex-modules-document-management-small-icons-view.component-CkoUBGKu.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-B_O5Qpmi.mjs.map → acorex-modules-document-management-small-icons-view.component-CkoUBGKu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-b2lauUIY.mjs → acorex-modules-document-management-small-tiles-view.component-BFyR4x39.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-b2lauUIY.mjs.map → acorex-modules-document-management-small-tiles-view.component-BFyR4x39.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-HYqIufS1.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-B89YXZyp.mjs} +19 -18
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-B89YXZyp.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-CLFAo0Cn.mjs → acorex-modules-form-template-management-category.entity-Dijep_aT.mjs} +9 -2
- package/fesm2022/acorex-modules-form-template-management-category.entity-Dijep_aT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-DgHwqlhz.mjs → acorex-modules-form-template-management-setting.provider-CT_uJT9V.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-DgHwqlhz.mjs.map → acorex-modules-form-template-management-setting.provider-CT_uJT9V.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CYAyug_g.mjs → acorex-modules-form-template-management-template-widget-edit.component-C5gnjRm4.mjs} +5 -5
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-C5gnjRm4.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-DGU1QNSN.mjs → acorex-modules-form-template-management-template.entity-dw1iFvcm.mjs} +4 -4
- package/fesm2022/acorex-modules-form-template-management-template.entity-dw1iFvcm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DXJxzTfM.mjs → acorex-modules-form-template-management-viewer-popup.component-oYKbLQpE.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DXJxzTfM.mjs.map → acorex-modules-form-template-management-viewer-popup.component-oYKbLQpE.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +1096 -0
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs +489 -0
- package/fesm2022/acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs → acorex-modules-organization-management-chart.entity-UAn44WCP.mjs} +14 -13
- package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-company.entity-BRkEcDNt.mjs → acorex-modules-organization-management-company.entity-D1A1HSkC.mjs} +12 -11
- package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs → acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs} +192 -85
- package/fesm2022/acorex-modules-organization-management-department.entity-DI9QpZ1d.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs +442 -0
- package/fesm2022/acorex-modules-organization-management-division.entity-4Gxc1dGd.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs +601 -0
- package/fesm2022/acorex-modules-organization-management-employee.entity-DSvtxcC3.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs → acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs} +21 -25
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-BpQbwW-x.mjs → acorex-modules-organization-management-position.entity-DhPT9kzv.mjs} +12 -11
- package/fesm2022/acorex-modules-organization-management-position.entity-DhPT9kzv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-division.entity-qyDyhl-q.mjs → acorex-modules-organization-management-role.entity-C-AIIaDo.mjs} +31 -39
- package/fesm2022/acorex-modules-organization-management-role.entity-C-AIIaDo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-branch.entity-e5pFx82N.mjs → acorex-modules-organization-management-team.entity-DZqK-yLT.mjs} +71 -60
- package/fesm2022/acorex-modules-organization-management-team.entity-DZqK-yLT.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +35 -35
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DNUdH0N9.mjs → acorex-modules-platform-management-acorex-modules-platform-management-Ckc1_cpl.mjs} +3917 -1601
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-Ckc1_cpl.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-capture-screen.component-B9hhUIbH.mjs +28 -0
- package/fesm2022/acorex-modules-platform-management-capture-screen.component-B9hhUIbH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D3yLcmjw.mjs → acorex-modules-platform-management-list-version.component-kbqAusu_.mjs} +6 -6
- package/fesm2022/acorex-modules-platform-management-list-version.component-kbqAusu_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-setting.provider-CQCoLwHW.mjs → acorex-modules-platform-management-setting.provider-DEzI0jUt.mjs} +21 -5
- package/fesm2022/acorex-modules-platform-management-setting.provider-DEzI0jUt.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1147 -461
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/form-template-management/lib/features/designer/widgets/template/template-widget-designer.component.d.ts +2 -2
- package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +2 -2
- package/form-template-management/lib/features/designer/widgets/template/template-widget-view.component.d.ts +2 -2
- package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +2 -2
- package/log-management/README.md +3 -0
- package/log-management/index.d.ts +7 -0
- package/log-management/lib/const.d.ts +20 -0
- package/log-management/lib/entities/axp-log/axp-log.entity.d.ts +3 -0
- package/log-management/lib/entities/axp-log/axp-log.service.d.ts +10 -0
- package/log-management/lib/entities/axp-log/axp-log.types.d.ts +23 -0
- package/log-management/lib/entities/axp-log/index.d.ts +3 -0
- package/log-management/lib/entity.provider.d.ts +10 -0
- package/log-management/lib/log-management.module.d.ts +6 -0
- package/log-management/lib/menu.provider.d.ts +5 -0
- package/log-management/lib/permission.provider.d.ts +4 -0
- package/log-management/lib/search-command.provider.d.ts +4 -0
- package/log-management/lib/setting.provider.d.ts +4 -0
- package/notification-management/lib/{components → features/components}/admin-notification-item/admin-notification-item.component.d.ts +1 -1
- package/notification-management/lib/{components → features/components}/admin-notification-panel/admin-notification-panel.component.d.ts +1 -1
- package/organization-management/lib/entities/branch/branch.types.d.ts +6 -0
- package/organization-management/lib/entities/department/department.types.d.ts +5 -0
- package/organization-management/lib/entities/division/division.types.d.ts +5 -0
- package/organization-management/lib/entities/employee/employee.types.d.ts +9 -1
- package/organization-management/lib/entities/role/role.types.d.ts +1 -1
- package/organization-management/lib/entities/team/team.types.d.ts +4 -1
- package/package.json +5 -1
- package/platform-management/index.d.ts +2 -1
- package/platform-management/lib/const.d.ts +24 -0
- package/platform-management/lib/entities/app-term/index.d.ts +2 -2
- package/platform-management/lib/entities/app-version/index.d.ts +2 -2
- package/platform-management/lib/entities/data-source/coulmn-def.widget.d.ts +3 -2
- package/platform-management/lib/entities/index.d.ts +3 -1
- package/platform-management/lib/entities/issue-type/index.d.ts +3 -0
- package/platform-management/lib/entities/issue-type/issue-type.entity.d.ts +3 -0
- package/platform-management/lib/entities/issue-type/issue-type.service.d.ts +10 -0
- package/platform-management/lib/entities/issue-type/issue-type.types.d.ts +6 -0
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -1
- package/platform-management/lib/entities/meta-data-definition-category/category.types.d.ts +2 -0
- package/platform-management/lib/entities/my-reported-issues/index.d.ts +3 -0
- package/platform-management/lib/entities/my-reported-issues/my-reported-issues.entity.d.ts +3 -0
- package/platform-management/lib/entities/my-reported-issues/my-reported-issues.service.d.ts +10 -0
- package/platform-management/lib/entities/my-reported-issues/my-reported-issues.types.d.ts +5 -0
- package/platform-management/lib/entities/promotion/index.d.ts +1 -1
- package/platform-management/lib/entities/reported-issues/index.d.ts +3 -0
- package/platform-management/lib/entities/reported-issues/reported-issues.entity.d.ts +3 -0
- package/platform-management/lib/entities/reported-issues/reported-issues.service.d.ts +10 -0
- package/platform-management/lib/entities/reported-issues/reported-issues.types.d.ts +21 -0
- package/platform-management/lib/features/app-terms/check-terms.service.d.ts +11 -0
- package/platform-management/lib/{entities/app-term → features/app-terms}/components/notify-app/notify-app.component.d.ts +1 -1
- package/platform-management/lib/{entities/app-term → features/app-terms}/pages/list/list-terms.component.d.ts +2 -2
- package/platform-management/lib/{entities/check-version.d.ts → features/app-version/check-version.service.d.ts} +3 -4
- package/platform-management/lib/{entities → features}/app-version/components/list-versions/list-version.component.d.ts +1 -1
- package/platform-management/lib/{entities → features}/app-version/components/notify-app/notify-app.component.d.ts +1 -1
- package/platform-management/lib/{common → features/common}/index.d.ts +1 -1
- package/platform-management/lib/features/index.d.ts +1 -0
- package/platform-management/lib/{entities → features}/promotion/components/promotion-slot/promotion-slot.component.d.ts +2 -2
- package/platform-management/lib/features/support/capture-screen/capture-screen.types.d.ts +19 -0
- package/platform-management/lib/features/support/capture-screen/components/capture-screen-component/capture-screen.component.d.ts +37 -0
- package/platform-management/lib/features/support/capture-screen/index.d.ts +2 -0
- package/platform-management/lib/features/support/capture-screen/services/capture-screen.service.d.ts +33 -0
- package/platform-management/lib/features/support/index.d.ts +2 -0
- package/platform-management/lib/features/support/report-issue/components/index.d.ts +1 -0
- package/platform-management/lib/features/support/report-issue/components/report-new-issue/report-new-issue.component.d.ts +40 -0
- package/platform-management/lib/features/support/report-issue/index.d.ts +2 -0
- package/platform-management/lib/features/support/report-issue/report-issue.types.d.ts +19 -0
- package/platform-management/lib/features/support/report-issue/services/report-new-issue.viewmodel.d.ts +15 -0
- package/platform-management/lib/features/support/report-issue/workflows/index.d.ts +1 -0
- package/platform-management/lib/features/support/report-issue/workflows/show-report-issue.workflow.d.ts +10 -0
- package/platform-management/lib/platform-management.module.d.ts +4 -3
- package/security-management/lib/const.d.ts +6 -0
- package/security-management/lib/entities/device-sessions/device-sessions.entity.d.ts +3 -0
- package/security-management/lib/entities/device-sessions/device-sessions.module.d.ts +6 -0
- package/security-management/lib/entities/device-sessions/device-sessions.service.d.ts +12 -0
- package/security-management/lib/entities/device-sessions/device-sessions.types.d.ts +34 -0
- package/security-management/lib/entities/device-sessions/index.d.ts +4 -0
- package/security-management/lib/entities/index.d.ts +1 -0
- package/security-management/lib/menu.keys.d.ts +2 -1
- package/security-management/lib/security-management.module.d.ts +6 -4
- package/security-management/lib/workflows/terminate-entity.workflow.d.ts +27 -0
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs +0 -271
- package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-index-rvP9ISgL.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CI0m4lpX.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-D8anTs3Q.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-HYqIufS1.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-CLFAo0Cn.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CYAyug_g.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-DGU1QNSN.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs +0 -256
- package/fesm2022/acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs +0 -238
- package/fesm2022/acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs +0 -238
- package/fesm2022/acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DNUdH0N9.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-list-version.component-D3yLcmjw.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-setting.provider-CQCoLwHW.mjs.map +0 -1
- /package/notification-management/lib/{components → features/components}/admin-notification-slot/admin-notification-slot.component.d.ts +0 -0
- /package/platform-management/lib/{entities/app-term → features/app-terms}/pages/index.d.ts +0 -0
- /package/platform-management/lib/{entities/app-term → features/app-terms}/workflows/index.d.ts +0 -0
- /package/platform-management/lib/{entities/app-term → features/app-terms}/workflows/notify-new-term.workflow.d.ts +0 -0
- /package/platform-management/lib/{entities → features}/app-version/components/index.d.ts +0 -0
- /package/platform-management/lib/{entities → features}/app-version/components/slots/app-version-slot.component.d.ts +0 -0
- /package/platform-management/lib/{entities → features}/app-version/workflows/change-log.workflow.d.ts +0 -0
- /package/platform-management/lib/{entities → features}/app-version/workflows/index.d.ts +0 -0
- /package/platform-management/lib/{entities → features}/app-version/workflows/show-release-notes.workflow.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/common.module.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/entity.provider.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/regional/data-source.provider.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/regional/index.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/regional/language-slot/language-slot.component.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/regional/regional-store.service.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/regional/setting.keys.d.ts +0 -0
- /package/platform-management/lib/{common → features/common}/regional/setting.provider.d.ts +0 -0
- /package/platform-management/lib/{entities → features}/promotion/components/index.d.ts +0 -0
@@ -0,0 +1,489 @@
|
|
1
|
+
import { AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';
|
2
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
3
|
+
import { AXMOrganizationManagementBranchEntityService, RootConfig } from './acorex-modules-organization-management.mjs';
|
4
|
+
|
5
|
+
async function factory(injector) {
|
6
|
+
const dataService = injector.get(AXMOrganizationManagementBranchEntityService);
|
7
|
+
const i18n = RootConfig.config.i18n;
|
8
|
+
const entityName = 'branch';
|
9
|
+
const entityDef = {
|
10
|
+
module: RootConfig.module.name,
|
11
|
+
name: RootConfig.entities.branch.name,
|
12
|
+
source: '',
|
13
|
+
title: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
|
14
|
+
formats: {
|
15
|
+
individual: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
|
16
|
+
plural: `t("${entityName}.plural-title", { scope: "${i18n}" })`,
|
17
|
+
searchResult: {
|
18
|
+
title: '{{ title }}',
|
19
|
+
description: RootConfig.module.title,
|
20
|
+
},
|
21
|
+
},
|
22
|
+
relatedEntities: [],
|
23
|
+
groups: [
|
24
|
+
{
|
25
|
+
id: 'basicInfo',
|
26
|
+
title: `t("${entityName}.basic-info", { scope: "${i18n}" })`,
|
27
|
+
},
|
28
|
+
{
|
29
|
+
id: 'addressInfo',
|
30
|
+
title: `t("${entityName}.address-info", { scope: "${i18n}" })`,
|
31
|
+
},
|
32
|
+
],
|
33
|
+
properties: [
|
34
|
+
{
|
35
|
+
name: 'id',
|
36
|
+
title: 'ID',
|
37
|
+
groupId: 'basicInfo',
|
38
|
+
schema: {
|
39
|
+
dataType: 'uuid',
|
40
|
+
hidden: true,
|
41
|
+
nullable: false,
|
42
|
+
readonly: true,
|
43
|
+
unique: {
|
44
|
+
enabled: true,
|
45
|
+
},
|
46
|
+
},
|
47
|
+
},
|
48
|
+
{
|
49
|
+
name: 'title',
|
50
|
+
title: `t("${entityName}.title", { scope: "${i18n}" })`,
|
51
|
+
groupId: 'basicInfo',
|
52
|
+
schema: {
|
53
|
+
dataType: 'string',
|
54
|
+
interface: {
|
55
|
+
type: AXPWidgetsCatalog.text,
|
56
|
+
},
|
57
|
+
},
|
58
|
+
validations: [
|
59
|
+
{
|
60
|
+
rule: 'required',
|
61
|
+
},
|
62
|
+
],
|
63
|
+
},
|
64
|
+
{
|
65
|
+
name: 'code',
|
66
|
+
title: `t("${entityName}.code", { scope: "${i18n}" })`,
|
67
|
+
groupId: 'basicInfo',
|
68
|
+
schema: {
|
69
|
+
dataType: 'string',
|
70
|
+
interface: {
|
71
|
+
type: AXPWidgetsCatalog.text,
|
72
|
+
},
|
73
|
+
},
|
74
|
+
validations: [{ rule: 'required' }],
|
75
|
+
},
|
76
|
+
{
|
77
|
+
name: 'manager',
|
78
|
+
title: `t("${entityName}.manager", { scope: "${i18n}" })`,
|
79
|
+
groupId: 'basicInfo',
|
80
|
+
schema: {
|
81
|
+
dataType: 'string',
|
82
|
+
interface: {
|
83
|
+
type: AXPWidgetsCatalog.lookup,
|
84
|
+
options: {
|
85
|
+
entity: 'OrganizationManagement.Employee',
|
86
|
+
},
|
87
|
+
},
|
88
|
+
},
|
89
|
+
},
|
90
|
+
{
|
91
|
+
name: 'description',
|
92
|
+
title: `t("${entityName}.description", { scope: "${i18n}" })`,
|
93
|
+
groupId: 'basicInfo',
|
94
|
+
schema: {
|
95
|
+
dataType: 'string',
|
96
|
+
interface: {
|
97
|
+
type: AXPWidgetsCatalog.largeText,
|
98
|
+
},
|
99
|
+
},
|
100
|
+
},
|
101
|
+
{
|
102
|
+
name: 'country',
|
103
|
+
title: `t("${entityName}.country", { scope: "${i18n}" })`,
|
104
|
+
groupId: 'addressInfo',
|
105
|
+
schema: {
|
106
|
+
dataType: 'string',
|
107
|
+
interface: {
|
108
|
+
type: AXPWidgetsCatalog.select,
|
109
|
+
},
|
110
|
+
},
|
111
|
+
},
|
112
|
+
{
|
113
|
+
name: 'province',
|
114
|
+
title: `t("${entityName}.province", { scope: "${i18n}" })`,
|
115
|
+
groupId: 'addressInfo',
|
116
|
+
schema: {
|
117
|
+
dataType: 'string',
|
118
|
+
interface: {
|
119
|
+
type: AXPWidgetsCatalog.select,
|
120
|
+
},
|
121
|
+
},
|
122
|
+
},
|
123
|
+
{
|
124
|
+
name: 'city',
|
125
|
+
title: `t("${entityName}.city", { scope: "${i18n}" })`,
|
126
|
+
groupId: 'addressInfo',
|
127
|
+
schema: {
|
128
|
+
dataType: 'string',
|
129
|
+
interface: {
|
130
|
+
type: AXPWidgetsCatalog.select,
|
131
|
+
},
|
132
|
+
},
|
133
|
+
},
|
134
|
+
],
|
135
|
+
columns: [
|
136
|
+
{ name: 'title' },
|
137
|
+
{ name: 'code' },
|
138
|
+
{ name: 'manager' },
|
139
|
+
{ name: 'description' },
|
140
|
+
{ name: 'country' },
|
141
|
+
{ name: 'province' },
|
142
|
+
{ name: 'city' },
|
143
|
+
],
|
144
|
+
commands: {
|
145
|
+
create: {
|
146
|
+
execute: async (data) => {
|
147
|
+
const res = await dataService.insertOne(data);
|
148
|
+
return { id: res };
|
149
|
+
},
|
150
|
+
},
|
151
|
+
delete: {
|
152
|
+
execute: async (id) => {
|
153
|
+
return await dataService.deleteOne(id);
|
154
|
+
},
|
155
|
+
},
|
156
|
+
update: {
|
157
|
+
execute: async (data) => {
|
158
|
+
return await dataService.updateOne(data.id, data);
|
159
|
+
},
|
160
|
+
},
|
161
|
+
},
|
162
|
+
queries: {
|
163
|
+
byKey: {
|
164
|
+
execute: async (id) => {
|
165
|
+
return await dataService.getOne(id);
|
166
|
+
},
|
167
|
+
type: AXPEntityQueryType.Single,
|
168
|
+
},
|
169
|
+
list: {
|
170
|
+
execute: async (e) => {
|
171
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });
|
172
|
+
},
|
173
|
+
type: AXPEntityQueryType.List,
|
174
|
+
},
|
175
|
+
},
|
176
|
+
interfaces: {
|
177
|
+
master: {
|
178
|
+
create: {
|
179
|
+
sections: [
|
180
|
+
{
|
181
|
+
id: 'basicInfo',
|
182
|
+
},
|
183
|
+
{
|
184
|
+
id: 'addressInfo',
|
185
|
+
},
|
186
|
+
],
|
187
|
+
properties: [
|
188
|
+
{
|
189
|
+
name: 'title',
|
190
|
+
layout: {
|
191
|
+
positions: {
|
192
|
+
lg: {
|
193
|
+
colSpan: 12,
|
194
|
+
},
|
195
|
+
},
|
196
|
+
},
|
197
|
+
},
|
198
|
+
{
|
199
|
+
name: 'code',
|
200
|
+
layout: {
|
201
|
+
positions: {
|
202
|
+
lg: {
|
203
|
+
colSpan: 6,
|
204
|
+
},
|
205
|
+
},
|
206
|
+
},
|
207
|
+
},
|
208
|
+
{
|
209
|
+
name: 'manager',
|
210
|
+
layout: {
|
211
|
+
positions: {
|
212
|
+
lg: {
|
213
|
+
colSpan: 6,
|
214
|
+
},
|
215
|
+
},
|
216
|
+
},
|
217
|
+
},
|
218
|
+
{
|
219
|
+
name: 'description',
|
220
|
+
layout: {
|
221
|
+
positions: {
|
222
|
+
lg: {
|
223
|
+
colSpan: 12,
|
224
|
+
},
|
225
|
+
},
|
226
|
+
},
|
227
|
+
},
|
228
|
+
{
|
229
|
+
name: 'country',
|
230
|
+
layout: {
|
231
|
+
positions: {
|
232
|
+
lg: {
|
233
|
+
colSpan: 12,
|
234
|
+
},
|
235
|
+
},
|
236
|
+
},
|
237
|
+
},
|
238
|
+
{
|
239
|
+
name: 'province',
|
240
|
+
layout: {
|
241
|
+
positions: {
|
242
|
+
lg: {
|
243
|
+
colSpan: 12,
|
244
|
+
},
|
245
|
+
},
|
246
|
+
},
|
247
|
+
},
|
248
|
+
{
|
249
|
+
name: 'city',
|
250
|
+
layout: {
|
251
|
+
positions: {
|
252
|
+
lg: {
|
253
|
+
colSpan: 12,
|
254
|
+
},
|
255
|
+
},
|
256
|
+
},
|
257
|
+
},
|
258
|
+
],
|
259
|
+
},
|
260
|
+
update: {
|
261
|
+
sections: [
|
262
|
+
{
|
263
|
+
id: 'basicInfo',
|
264
|
+
},
|
265
|
+
{
|
266
|
+
id: 'addressInfo',
|
267
|
+
},
|
268
|
+
],
|
269
|
+
properties: [
|
270
|
+
{
|
271
|
+
name: 'title',
|
272
|
+
layout: {
|
273
|
+
positions: {
|
274
|
+
lg: {
|
275
|
+
colSpan: 12,
|
276
|
+
},
|
277
|
+
},
|
278
|
+
},
|
279
|
+
},
|
280
|
+
{
|
281
|
+
name: 'code',
|
282
|
+
layout: {
|
283
|
+
positions: {
|
284
|
+
lg: {
|
285
|
+
colSpan: 6,
|
286
|
+
},
|
287
|
+
},
|
288
|
+
},
|
289
|
+
},
|
290
|
+
{
|
291
|
+
name: 'manager',
|
292
|
+
layout: {
|
293
|
+
positions: {
|
294
|
+
lg: {
|
295
|
+
colSpan: 6,
|
296
|
+
},
|
297
|
+
},
|
298
|
+
},
|
299
|
+
},
|
300
|
+
{
|
301
|
+
name: 'description',
|
302
|
+
layout: {
|
303
|
+
positions: {
|
304
|
+
lg: {
|
305
|
+
colSpan: 12,
|
306
|
+
},
|
307
|
+
},
|
308
|
+
},
|
309
|
+
},
|
310
|
+
{
|
311
|
+
name: 'country',
|
312
|
+
layout: {
|
313
|
+
positions: {
|
314
|
+
lg: {
|
315
|
+
colSpan: 12,
|
316
|
+
},
|
317
|
+
},
|
318
|
+
},
|
319
|
+
},
|
320
|
+
{
|
321
|
+
name: 'province',
|
322
|
+
layout: {
|
323
|
+
positions: {
|
324
|
+
lg: {
|
325
|
+
colSpan: 12,
|
326
|
+
},
|
327
|
+
},
|
328
|
+
},
|
329
|
+
},
|
330
|
+
{
|
331
|
+
name: 'city',
|
332
|
+
layout: {
|
333
|
+
positions: {
|
334
|
+
lg: {
|
335
|
+
colSpan: 12,
|
336
|
+
},
|
337
|
+
},
|
338
|
+
},
|
339
|
+
},
|
340
|
+
],
|
341
|
+
},
|
342
|
+
single: {
|
343
|
+
title: '{{title}}',
|
344
|
+
sections: [
|
345
|
+
{
|
346
|
+
id: 'basicInfo',
|
347
|
+
layout: {
|
348
|
+
positions: {
|
349
|
+
lg: {
|
350
|
+
colSpan: 12,
|
351
|
+
},
|
352
|
+
},
|
353
|
+
},
|
354
|
+
},
|
355
|
+
{
|
356
|
+
id: 'addressInfo',
|
357
|
+
layout: {
|
358
|
+
positions: {
|
359
|
+
lg: {
|
360
|
+
colSpan: 12,
|
361
|
+
},
|
362
|
+
},
|
363
|
+
},
|
364
|
+
},
|
365
|
+
],
|
366
|
+
properties: [
|
367
|
+
{
|
368
|
+
name: 'title',
|
369
|
+
layout: {
|
370
|
+
positions: {
|
371
|
+
lg: {
|
372
|
+
colSpan: 12,
|
373
|
+
},
|
374
|
+
},
|
375
|
+
},
|
376
|
+
},
|
377
|
+
{
|
378
|
+
name: 'code',
|
379
|
+
layout: {
|
380
|
+
positions: {
|
381
|
+
lg: {
|
382
|
+
colSpan: 6,
|
383
|
+
},
|
384
|
+
},
|
385
|
+
},
|
386
|
+
},
|
387
|
+
{
|
388
|
+
name: 'manager',
|
389
|
+
layout: {
|
390
|
+
positions: {
|
391
|
+
lg: {
|
392
|
+
colSpan: 6,
|
393
|
+
},
|
394
|
+
},
|
395
|
+
},
|
396
|
+
},
|
397
|
+
{
|
398
|
+
name: 'description',
|
399
|
+
layout: {
|
400
|
+
positions: {
|
401
|
+
lg: {
|
402
|
+
colSpan: 12,
|
403
|
+
},
|
404
|
+
},
|
405
|
+
},
|
406
|
+
},
|
407
|
+
{
|
408
|
+
name: 'country',
|
409
|
+
layout: {
|
410
|
+
positions: {
|
411
|
+
lg: {
|
412
|
+
colSpan: 12,
|
413
|
+
},
|
414
|
+
},
|
415
|
+
},
|
416
|
+
},
|
417
|
+
{
|
418
|
+
name: 'province',
|
419
|
+
layout: {
|
420
|
+
positions: {
|
421
|
+
lg: {
|
422
|
+
colSpan: 12,
|
423
|
+
},
|
424
|
+
},
|
425
|
+
},
|
426
|
+
},
|
427
|
+
{
|
428
|
+
name: 'city',
|
429
|
+
layout: {
|
430
|
+
positions: {
|
431
|
+
lg: {
|
432
|
+
colSpan: 12,
|
433
|
+
},
|
434
|
+
},
|
435
|
+
},
|
436
|
+
},
|
437
|
+
],
|
438
|
+
actions: [],
|
439
|
+
},
|
440
|
+
list: {
|
441
|
+
actions: [
|
442
|
+
{
|
443
|
+
title: `t("${entityName}.create", { scope: "${i18n}" })`,
|
444
|
+
command: 'create-entity',
|
445
|
+
priority: 'primary',
|
446
|
+
type: 'create',
|
447
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
448
|
+
},
|
449
|
+
{
|
450
|
+
title: `t("${entityName}.delete-items", { scope: "${i18n}" })`,
|
451
|
+
command: 'delete-entity',
|
452
|
+
priority: 'primary',
|
453
|
+
type: 'delete',
|
454
|
+
scope: AXPEntityCommandScope.Selected,
|
455
|
+
},
|
456
|
+
{
|
457
|
+
title: `t("${entityName}.detail", { scope: "${i18n}" })`,
|
458
|
+
command: 'open-entity',
|
459
|
+
priority: 'secondary',
|
460
|
+
type: 'view',
|
461
|
+
scope: AXPEntityCommandScope.Individual,
|
462
|
+
},
|
463
|
+
{
|
464
|
+
title: `t("${entityName}.delete", { scope: "${i18n}" })`,
|
465
|
+
command: 'delete-entity',
|
466
|
+
priority: 'secondary',
|
467
|
+
type: 'delete',
|
468
|
+
scope: AXPEntityCommandScope.Individual,
|
469
|
+
},
|
470
|
+
],
|
471
|
+
views: [
|
472
|
+
{
|
473
|
+
name: 'all',
|
474
|
+
title: `t("${entityName}.all-item", { scope: "${i18n}" })`,
|
475
|
+
fixed: true,
|
476
|
+
columns: [],
|
477
|
+
conditions: [],
|
478
|
+
sorts: [],
|
479
|
+
},
|
480
|
+
],
|
481
|
+
},
|
482
|
+
},
|
483
|
+
},
|
484
|
+
};
|
485
|
+
return entityDef;
|
486
|
+
}
|
487
|
+
|
488
|
+
export { factory };
|
489
|
+
//# sourceMappingURL=acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-management-branch.entity-fs_iKM4S.mjs","sources":["../../../../libs/modules/organization-management/src/lib/entities/branch/branch.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 { AXMOrganizationManagementBranchEntityService } from './branch.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementBranchEntityService);\n const i18n = RootConfig.config.i18n;\n const entityName = 'branch';\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.branch.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 id: 'addressInfo',\n title: `t(\"${entityName}.address-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: 'code',\n title: `t(\"${entityName}.code\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'manager',\n title: `t(\"${entityName}.manager\", { scope: \"${i18n}\" })`,\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'OrganizationManagement.Employee',\n },\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 name: 'country',\n title: `t(\"${entityName}.country\", { scope: \"${i18n}\" })`,\n groupId: 'addressInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n },\n },\n },\n {\n name: 'province',\n title: `t(\"${entityName}.province\", { scope: \"${i18n}\" })`,\n groupId: 'addressInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n },\n },\n },\n {\n name: 'city',\n title: `t(\"${entityName}.city\", { scope: \"${i18n}\" })`,\n groupId: 'addressInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n },\n },\n },\n ],\n columns: [\n { name: 'title' },\n { name: 'code' },\n { name: 'manager' },\n { name: 'description' },\n { name: 'country' },\n { name: 'province' },\n { name: 'city' },\n ],\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 id: 'addressInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'code',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'manager',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'country',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'province',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'city',\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 id: 'addressInfo',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'code',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'manager',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'country',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'province',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'city',\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 id: 'addressInfo',\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: 'code',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'manager',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n {\n name: 'description',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'country',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'province',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'city',\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,4CAA4C,CAAC;AAC9E,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;IACnC,MAAM,UAAU,GAAG,QAAQ;AAE3B,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI;AACrC,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,e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yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
@@ -5,14 +5,15 @@ import { AXMOrganizationManagementChartEntityService, RootConfig } from './acore
|
|
5
5
|
async function factory(injector) {
|
6
6
|
const dataService = injector.get(AXMOrganizationManagementChartEntityService);
|
7
7
|
const i18n = RootConfig.config.i18n;
|
8
|
+
const entityName = 'chart';
|
8
9
|
const entityDef = {
|
9
10
|
module: RootConfig.module.name,
|
10
11
|
name: RootConfig.entities.chart.name,
|
11
12
|
source: '',
|
12
13
|
title: RootConfig.entities.chart.title,
|
13
14
|
formats: {
|
14
|
-
individual: `t("
|
15
|
-
plural: `t("
|
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,13 +23,13 @@ async function factory(injector) {
|
|
22
23
|
groups: [
|
23
24
|
{
|
24
25
|
id: 'section',
|
25
|
-
title: `t("
|
26
|
+
title: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
|
26
27
|
},
|
27
28
|
],
|
28
29
|
properties: [
|
29
30
|
{
|
30
31
|
name: 'name',
|
31
|
-
title: `t("name", { scope: "
|
32
|
+
title: `t("${entityName}.name", { scope: "${i18n}" })`,
|
32
33
|
groupId: 'section',
|
33
34
|
schema: {
|
34
35
|
dataType: 'string',
|
@@ -44,7 +45,7 @@ async function factory(injector) {
|
|
44
45
|
},
|
45
46
|
{
|
46
47
|
name: 'version',
|
47
|
-
title: `t("version", { scope: "${i18n}" })`,
|
48
|
+
title: `t("${entityName}.version", { scope: "${i18n}" })`,
|
48
49
|
groupId: 'section',
|
49
50
|
schema: {
|
50
51
|
dataType: 'string',
|
@@ -55,7 +56,7 @@ async function factory(injector) {
|
|
55
56
|
},
|
56
57
|
{
|
57
58
|
name: 'structure',
|
58
|
-
title: `t("structure", { scope: "${i18n}" })`,
|
59
|
+
title: `t("${entityName}.structure", { scope: "${i18n}" })`,
|
59
60
|
groupId: 'section',
|
60
61
|
schema: {
|
61
62
|
dataType: 'string',
|
@@ -201,35 +202,35 @@ async function factory(injector) {
|
|
201
202
|
list: {
|
202
203
|
actions: [
|
203
204
|
{
|
204
|
-
title: `t("create", { scope: "
|
205
|
+
title: `t("${entityName}.create", { scope: "${i18n}" })`,
|
205
206
|
command: 'create-entity',
|
206
207
|
priority: 'primary',
|
207
208
|
type: 'create',
|
208
209
|
scope: AXPEntityCommandScope.TypeLevel,
|
209
210
|
},
|
210
211
|
{
|
211
|
-
title:
|
212
|
+
title: `t("${entityName}.delete-items", { scope: "${i18n}" })`,
|
212
213
|
command: 'delete-entity',
|
213
214
|
priority: 'primary',
|
214
215
|
type: 'delete',
|
215
216
|
scope: AXPEntityCommandScope.Selected,
|
216
217
|
},
|
217
218
|
{
|
218
|
-
title:
|
219
|
+
title: `t("${entityName}.detail", { scope: "${i18n}" })`,
|
219
220
|
command: 'open-entity',
|
220
221
|
priority: 'secondary',
|
221
222
|
type: 'view',
|
222
223
|
scope: AXPEntityCommandScope.Individual,
|
223
224
|
},
|
224
225
|
{
|
225
|
-
title:
|
226
|
+
title: `t("${entityName}.view-chart", { scope: "${i18n}" })`,
|
226
227
|
command: 'view-chart',
|
227
228
|
priority: 'secondary',
|
228
229
|
type: 'view',
|
229
230
|
scope: AXPEntityCommandScope.Individual,
|
230
231
|
},
|
231
232
|
{
|
232
|
-
title:
|
233
|
+
title: `t("${entityName}.delete", { scope: "${i18n}" })`,
|
233
234
|
command: 'delete-entity',
|
234
235
|
priority: 'secondary',
|
235
236
|
type: 'delete',
|
@@ -239,7 +240,7 @@ async function factory(injector) {
|
|
239
240
|
views: [
|
240
241
|
{
|
241
242
|
name: 'all',
|
242
|
-
title:
|
243
|
+
title: `t("${entityName}.all-item", { scope: "${i18n}" })`,
|
243
244
|
fixed: true,
|
244
245
|
columns: [],
|
245
246
|
conditions: [],
|
@@ -254,4 +255,4 @@ async function factory(injector) {
|
|
254
255
|
}
|
255
256
|
|
256
257
|
export { factory };
|
257
|
-
//# sourceMappingURL=acorex-modules-organization-management-chart.entity-
|
258
|
+
//# sourceMappingURL=acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map
|