@acorex/modules 19.2.12 → 19.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/application-management/lib/application-management.service.d.ts +1 -1
- package/application-management/lib/application-management.types.d.ts +1 -1
- package/application-management/lib/services/application-management.service.d.ts +1 -1
- package/application-management/lib/services/application-module-management.service.d.ts +1 -1
- package/application-management/lib/services/edition-management.service.d.ts +1 -1
- package/application-management/lib/services/entity-management.service.d.ts +1 -1
- package/application-management/lib/services/feature-management.service.d.ts +1 -1
- package/application-management/lib/services/module-management.service.d.ts +1 -1
- package/application-management/lib/services/permission-management.service.d.ts +1 -1
- package/application-management/lib/services/property-management.service.d.ts +1 -1
- package/auth/lib/auth.module.d.ts +2 -3
- package/auth/lib/pages/login/password/password.component.d.ts +1 -0
- package/conversation/lib/entities/chat/chat.service.d.ts +1 -1
- package/conversation/lib/entities/chat/chat.type.d.ts +1 -1
- package/conversation/lib/entities/chat/pages/chat/chat.component.d.ts +1 -1
- package/conversation/lib/entities/comments/comments.service.d.ts +1 -1
- package/conversation/lib/entities/comments/comments.type.d.ts +1 -1
- package/document-management/index.d.ts +1 -0
- package/document-management/lib/const.d.ts +6 -5
- package/document-management/lib/document-management.module.d.ts +3 -1
- package/document-management/lib/entities/document/document.service.d.ts +8 -5
- package/document-management/lib/entities/document/document.types.d.ts +2 -1
- package/document-management/lib/entities/document-type/document-type.service.d.ts +1 -1
- package/document-management/lib/entities/document-type/document-type.types.d.ts +16 -1
- package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.service.d.ts +1 -1
- package/document-management/lib/entities/document-type-meta-definition/document-type-meta-definition.types.d.ts +1 -1
- package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.service.d.ts +1 -1
- package/document-management/lib/entities/document-type-meta-value/document-type-meta-value.types.d.ts +1 -1
- package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.service.d.ts +1 -1
- package/document-management/lib/entities/document-type-status-definition/document-type-status-definition.types.d.ts +1 -1
- package/document-management/lib/entities/folder/folder.entity.d.ts +3 -0
- package/document-management/lib/entities/folder/folder.service.d.ts +12 -0
- package/document-management/lib/entities/folder/folder.types.d.ts +37 -0
- package/document-management/lib/entities/folder/index.d.ts +3 -0
- package/document-management/lib/entities/index.d.ts +6 -0
- package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +14 -0
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +74 -0
- package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +57 -0
- package/document-management/lib/features/document-explorer/index.d.ts +3 -0
- package/document-management/lib/features/document-explorer/settings.keys.d.ts +5 -0
- package/document-management/lib/features/drive/drive.component.d.ts +200 -0
- package/document-management/lib/features/drive/index.d.ts +3 -0
- package/document-management/lib/features/file-type/file-type.module.d.ts +6 -0
- package/document-management/lib/features/file-type/index.d.ts +2 -0
- package/document-management/lib/features/file-type/providers/archive.file.d.ts +4 -0
- package/document-management/lib/features/file-type/providers/audio.file.d.ts +4 -0
- package/document-management/lib/features/file-type/providers/code.file.d.ts +4 -0
- package/document-management/lib/features/file-type/providers/document.file.d.ts +4 -0
- package/document-management/lib/features/file-type/providers/image.file.d.ts +4 -0
- package/document-management/lib/features/file-type/providers/index.d.ts +6 -0
- package/document-management/lib/features/file-type/providers/video.file.d.ts +4 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-column.component.d.ts +6 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-designer.component.d.ts +6 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-edit.component.d.ts +18 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-view.component.d.ts +6 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/file-type-extension-widget.config.d.ts +7 -0
- package/document-management/lib/features/file-type/widgets/file-type-extension/index.d.ts +5 -0
- package/document-management/lib/features/file-type/widgets/index.d.ts +1 -0
- package/document-management/lib/features/shared/document-manager.service.d.ts +130 -0
- package/document-management/lib/features/shared/document-manager.types.d.ts +21 -0
- package/document-management/lib/features/shared/index.d.ts +1 -0
- package/document-management/lib/menu.provider.d.ts +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs → acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs} +53 -133
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-CZ_nTBkL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs → acorex-modules-auth-app-chooser.component-CGSygSjS.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-8GCTwtb2.mjs.map → acorex-modules-auth-app-chooser.component-CGSygSjS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs → acorex-modules-auth-login.module-B1sF3B_O.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DR3QLEM-.mjs.map → acorex-modules-auth-login.module-B1sF3B_O.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs → acorex-modules-auth-master.layout-CK4nyS8D.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-BMJ5mW63.mjs.map → acorex-modules-auth-master.layout-CK4nyS8D.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs → acorex-modules-auth-password.component-DC_zi8bV.mjs} +6 -6
- package/fesm2022/{acorex-modules-auth-password.component-avrMwyr8.mjs.map → acorex-modules-auth-password.component-DC_zi8bV.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs +127 -0
- package/fesm2022/acorex-modules-auth-password.component-DqvmIMDR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs → acorex-modules-auth-routes-DwHgPrDP.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-BPYBFOxg.mjs.map → acorex-modules-auth-routes-DwHgPrDP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs.map → acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs → acorex-modules-auth-two-factor.module-BatKQRdJ.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-B_V_nQN_.mjs.map → acorex-modules-auth-two-factor.module-BatKQRdJ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +2 -2
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs +951 -0
- package/fesm2022/acorex-modules-document-management-drive.component-bjnFFaLS.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +1450 -114
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-BTQ4VpFG.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs} +174 -64
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-ChxSjvOF.mjs → acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs} +4 -17
- package/fesm2022/acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs → acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs} +4 -3
- package/fesm2022/acorex-modules-form-template-management-designer.page-Bd_bZ_7p.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-CByIOZMr.mjs → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-CByIOZMr.mjs.map → acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs +191 -0
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-Chle-W7b.mjs → acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs} +32 -49
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-BIBMNXD5.mjs → acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs} +3 -3
- package/fesm2022/acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DPxTaC2A.mjs → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DPxTaC2A.mjs.map → acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +10 -3
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-BXRyhcjE.mjs → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-item.component-BXRyhcjE.mjs.map → acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs +344 -0
- package/fesm2022/acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs → acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs} +4 -4
- package/fesm2022/acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjzqBdaS.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DMxaL-70.mjs → acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs} +16 -10
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-B7ceEEbu.mjs → acorex-modules-organization-management-position.entity-D17Yembh.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-position.entity-D17Yembh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs → acorex-modules-organization-management-role.entity-Cmbyle8P.mjs} +36 -54
- package/fesm2022/acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs → acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs} +7 -7
- package/fesm2022/acorex-modules-organization-management-setting.provider-CAU8Bve9.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs +238 -0
- package/fesm2022/acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +200 -105
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs +59 -0
- package/fesm2022/acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +867 -610
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +2 -2
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +61 -29
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +324 -6
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/form-template-management/lib/entities/category/category.service.d.ts +1 -1
- package/form-template-management/lib/entities/category/category.types.d.ts +2 -1
- package/form-template-management/lib/entities/template/template.service.d.ts +1 -1
- package/form-template-management/lib/entities/template/template.types.d.ts +1 -1
- package/form-template-management/lib/features/designer/designer.page.d.ts +1 -0
- package/form-template-management/lib/features/designer/template.provider.d.ts +1 -1
- package/form-template-management/lib/features/designer/widgets/template/template-widget-edit.component.d.ts +0 -4
- package/form-template-management/lib/features/designer/widgets/template-designer/template-designer-widget-view.component.d.ts +1 -0
- package/form-template-management/lib/features/designer/widgets/template-picker/template-picker.component.d.ts +14 -4
- package/form-template-management/lib/features/designer/widgets/template-picker/template.provider.d.ts +2 -1
- package/form-template-management/lib/features/designer/workflows/design-template.workflow.d.ts +1 -8
- package/form-template-management/lib/features/designer/workflows/workflow.actions.d.ts +17 -0
- package/form-template-management/lib/menu.provider.d.ts +1 -0
- package/notification-management/lib/entities/channel/channel.service.d.ts +1 -1
- package/notification-management/lib/entities/channel/channel.types.d.ts +2 -1
- package/notification-management/lib/entities/notification/notification.service.d.ts +1 -1
- package/notification-management/lib/entities/notification/notification.types.d.ts +1 -1
- package/notification-management/lib/entities/template/template.service.d.ts +1 -1
- package/notification-management/lib/entities/template/template.types.d.ts +1 -1
- package/notification-management/lib/menu.provider.d.ts +1 -0
- package/organization-management/lib/const.d.ts +3 -0
- package/organization-management/lib/entities/branch/branch.service.d.ts +1 -1
- package/organization-management/lib/entities/branch/branch.types.d.ts +1 -1
- package/organization-management/lib/entities/chart/chart.service.d.ts +1 -1
- package/organization-management/lib/entities/chart/chart.types.d.ts +1 -1
- package/organization-management/lib/entities/company/company.service.d.ts +1 -1
- package/organization-management/lib/entities/company/company.types.d.ts +1 -1
- package/organization-management/lib/entities/department/department.service.d.ts +1 -1
- package/organization-management/lib/entities/department/department.types.d.ts +1 -1
- package/organization-management/lib/entities/division/division.service.d.ts +1 -1
- package/organization-management/lib/entities/division/division.types.d.ts +1 -1
- package/organization-management/lib/entities/employee/employee.service.d.ts +1 -1
- package/organization-management/lib/entities/employee/employee.types.d.ts +1 -1
- package/organization-management/lib/entities/employment-type/employment-type.service.d.ts +1 -1
- package/organization-management/lib/entities/employment-type/employment-type.types.d.ts +1 -1
- package/organization-management/lib/entities/index.d.ts +6 -4
- package/organization-management/lib/entities/position/position.service.d.ts +1 -1
- package/organization-management/lib/entities/position/position.types.d.ts +1 -1
- package/organization-management/lib/entities/role/index.d.ts +3 -0
- package/organization-management/lib/entities/role/role.entity.d.ts +3 -0
- package/organization-management/lib/entities/role/role.module.d.ts +6 -0
- package/organization-management/lib/entities/role/role.service.d.ts +10 -0
- package/organization-management/lib/entities/role/role.types.d.ts +5 -0
- package/organization-management/lib/entities/team/index.d.ts +3 -0
- package/organization-management/lib/entities/team/team.entity.d.ts +3 -0
- package/organization-management/lib/entities/team/team.module.d.ts +6 -0
- package/organization-management/lib/entities/team/team.service.d.ts +10 -0
- package/organization-management/lib/entities/team/team.types.d.ts +5 -0
- package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +3 -0
- package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +3 -0
- package/organization-management/lib/organization-management.module.d.ts +11 -9
- package/package.json +1 -1
- package/platform-management/lib/common/regional/data-source.provider.d.ts +10 -0
- package/platform-management/lib/const.d.ts +6 -0
- package/platform-management/lib/entities/app-term/app-term.service.d.ts +1 -1
- package/platform-management/lib/entities/app-term/app-term.types.d.ts +1 -1
- package/platform-management/lib/entities/app-version/app-version.service.d.ts +1 -1
- package/platform-management/lib/entities/app-version/app-version.types.d.ts +1 -1
- package/platform-management/lib/entities/app-version/components/slots/app-version-slot.component.d.ts +1 -1
- package/platform-management/lib/entities/app-version/workflows/change-log.workflow.d.ts +1 -1
- package/platform-management/lib/entities/app-version/workflows/show-release-notes.workflow.d.ts +9 -0
- package/platform-management/lib/entities/data-source/data-source.service.d.ts +1 -1
- package/platform-management/lib/entities/data-source/data-source.types.d.ts +1 -1
- package/platform-management/lib/entities/global-variable/global-variables.service.d.ts +1 -1
- package/platform-management/lib/entities/global-variable/global-variables.types.d.ts +1 -1
- package/platform-management/lib/entities/index.d.ts +1 -1
- package/platform-management/lib/entities/meta-data-definition/index.d.ts +0 -1
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.service.d.ts +5 -5
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.types.d.ts +3 -4
- package/platform-management/lib/entities/promotion/promotion.service.d.ts +1 -1
- package/platform-management/lib/entities/promotion/promotion.types.d.ts +2 -1
- package/platform-management/lib/platform-management.module.d.ts +4 -5
- package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.service.d.ts +1 -1
- package/scheduler-job-management/lib/entities/scheduler-job/scheduler-job.types.d.ts +1 -1
- package/security-management/lib/entities/index.d.ts +2 -0
- package/security-management/lib/entities/profile/profile.types.d.ts +1 -1
- package/security-management/lib/entities/roles/roles.service.d.ts +1 -1
- package/security-management/lib/entities/roles/roles.types.d.ts +3 -1
- package/security-management/lib/entities/users/users.service.d.ts +1 -1
- package/security-management/lib/entities/users/users.types.d.ts +12 -3
- package/text-template-management/lib/const.d.ts +6 -0
- package/text-template-management/lib/entities/category/category.service.d.ts +1 -1
- package/text-template-management/lib/entities/category/category.types.d.ts +1 -1
- package/text-template-management/lib/entities/index.d.ts +1 -0
- package/text-template-management/lib/entities/tag-template/index.d.ts +3 -0
- package/text-template-management/lib/entities/tag-template/tag-template.entity.d.ts +3 -0
- package/text-template-management/lib/entities/tag-template/tag-template.service.d.ts +10 -0
- package/text-template-management/lib/entities/tag-template/tag-template.types.d.ts +5 -0
- package/text-template-management/lib/entities/template/template.service.d.ts +1 -1
- package/text-template-management/lib/entities/template/template.types.d.ts +1 -1
- package/auth/lib/store/auth.effects.d.ts +0 -18
- package/auth/lib/store/index.d.ts +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-D1qxdECo.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs +0 -121
- package/fesm2022/acorex-modules-auth-password.component-EXWlXGez.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-BTQ4VpFG.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-ChxSjvOF.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-designer.page-BLbPLLdP.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-BGSucRLY.mjs +0 -126
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-BGSucRLY.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-Chle-W7b.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-BIBMNXD5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-CxxFiBPd.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-PwlBjkYo.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DMxaL-70.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-B7ceEEbu.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-setting.provider-eLv_qnmE.mjs.map +0 -1
- package/platform-management/lib/entities/meta-data-definition/meta-data-definition.module.d.ts +0 -6
@@ -0,0 +1,200 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
3
|
+
import { AXMDocumentExplorerComponent } from '../document-explorer';
|
4
|
+
import { AXMDriveScope } from '../shared/document-manager.types';
|
5
|
+
import { AXPSessionService } from '@acorex/platform/auth';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class AXMDocumentDriveComponent implements OnInit {
|
8
|
+
#private;
|
9
|
+
protected readonly layout: {
|
10
|
+
currentMode: import("@angular/core").Signal<import("@acorex/platform/themes/shared").AXPThemeMode>;
|
11
|
+
currentPallete: import("@angular/core").Signal<string>;
|
12
|
+
systemThemeMode: import("@angular/core").Signal<import("@acorex/platform/themes/shared").AXPThemeMode>;
|
13
|
+
font: import("@ngrx/signals").DeepSignal<{
|
14
|
+
family: string;
|
15
|
+
size: string;
|
16
|
+
}>;
|
17
|
+
screenSize: import("@angular/core").Signal<import("@acorex/platform/themes/shared").AXPScreenSize>;
|
18
|
+
deviceType: import("@angular/core").Signal<import("@acorex/platform/themes/shared").AXPDeviceType>;
|
19
|
+
isTouchDevice: import("@angular/core").Signal<boolean>;
|
20
|
+
overlayLoading: import("@angular/core").Signal<boolean>;
|
21
|
+
navigationLoading: import("@angular/core").Signal<boolean>;
|
22
|
+
overlayLoadingTaskCount: import("@angular/core").Signal<number>;
|
23
|
+
navigationLoadingTaskCount: import("@angular/core").Signal<number>;
|
24
|
+
sideMenuState: import("@angular/core").Signal<import("@acorex/platform/themes/shared").AXPSideMenuState>;
|
25
|
+
sideMenuWidth: import("@angular/core").Signal<number>;
|
26
|
+
isDarkMode: import("@angular/core").Signal<boolean>;
|
27
|
+
isLightMode: import("@angular/core").Signal<boolean>;
|
28
|
+
isSystemMode: import("@angular/core").Signal<boolean>;
|
29
|
+
isSideMenuOpen: import("@angular/core").Signal<boolean>;
|
30
|
+
isSmall: import("@angular/core").Signal<boolean>;
|
31
|
+
isMedium: import("@angular/core").Signal<boolean>;
|
32
|
+
isLarge: import("@angular/core").Signal<boolean>;
|
33
|
+
isMobileDevice: import("@angular/core").Signal<boolean>;
|
34
|
+
isTabletDevice: import("@angular/core").Signal<boolean>;
|
35
|
+
isDesktopDevice: import("@angular/core").Signal<boolean>;
|
36
|
+
isTouchScreen: import("@angular/core").Signal<boolean>;
|
37
|
+
isOverlayLoading: import("@angular/core").Signal<boolean>;
|
38
|
+
isNavigationLoading: import("@angular/core").Signal<boolean>;
|
39
|
+
changeThemeMode: (theme: import("@acorex/platform/themes/shared").AXPThemeMode) => void;
|
40
|
+
openSideMenu: () => void;
|
41
|
+
closeSideMenu: () => void;
|
42
|
+
setSideMenuWidth: (width: number) => void;
|
43
|
+
toggleSideMenu: () => void;
|
44
|
+
setNavigationLoading: (value: boolean, delay?: number) => void;
|
45
|
+
setOverlayLoading: (value: boolean, delay?: number) => void;
|
46
|
+
loadSettings: () => Promise<void>;
|
47
|
+
} & import("@ngrx/signals").StateSource<{
|
48
|
+
currentMode: import("@acorex/platform/themes/shared").AXPThemeMode;
|
49
|
+
currentPallete: string;
|
50
|
+
systemThemeMode: import("@acorex/platform/themes/shared").AXPThemeMode;
|
51
|
+
font: {
|
52
|
+
family: string;
|
53
|
+
size: string;
|
54
|
+
};
|
55
|
+
screenSize: import("@acorex/platform/themes/shared").AXPScreenSize;
|
56
|
+
deviceType: import("@acorex/platform/themes/shared").AXPDeviceType;
|
57
|
+
isTouchDevice: boolean;
|
58
|
+
overlayLoading: boolean;
|
59
|
+
navigationLoading: boolean;
|
60
|
+
overlayLoadingTaskCount: number;
|
61
|
+
navigationLoadingTaskCount: number;
|
62
|
+
sideMenuState: import("@acorex/platform/themes/shared").AXPSideMenuState;
|
63
|
+
sideMenuWidth: number;
|
64
|
+
}>;
|
65
|
+
protected readonly rootConfig: {
|
66
|
+
config: {
|
67
|
+
i18n: string;
|
68
|
+
};
|
69
|
+
module: {
|
70
|
+
module: string;
|
71
|
+
name: string;
|
72
|
+
title: string;
|
73
|
+
icon: string;
|
74
|
+
};
|
75
|
+
entities: {
|
76
|
+
folder: {
|
77
|
+
name: string;
|
78
|
+
title: string;
|
79
|
+
titlePlural: string;
|
80
|
+
icon: string;
|
81
|
+
};
|
82
|
+
document: {
|
83
|
+
name: string;
|
84
|
+
title: string;
|
85
|
+
titlePlural: string;
|
86
|
+
icon: string;
|
87
|
+
};
|
88
|
+
documentType: {
|
89
|
+
name: string;
|
90
|
+
title: string;
|
91
|
+
titlePlural: string;
|
92
|
+
icon: string;
|
93
|
+
};
|
94
|
+
documentTypeMetaDefinition: {
|
95
|
+
name: string;
|
96
|
+
title: string;
|
97
|
+
titlePlural: string;
|
98
|
+
icon: string;
|
99
|
+
};
|
100
|
+
documentTypeMetaValue: {
|
101
|
+
name: string;
|
102
|
+
title: string;
|
103
|
+
titlePlural: string;
|
104
|
+
icon: string;
|
105
|
+
};
|
106
|
+
documentTypeStatus: {
|
107
|
+
name: string;
|
108
|
+
title: string;
|
109
|
+
titlePlural: string;
|
110
|
+
icon: string;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
};
|
114
|
+
private readonly fileTypeService;
|
115
|
+
private readonly driveService;
|
116
|
+
protected readonly vm: {
|
117
|
+
viewMode: import("@angular/core").Signal<import("../shared/document-manager.types").AXPDocumentExplorerViewMode>;
|
118
|
+
isLoading: import("@angular/core").Signal<boolean>;
|
119
|
+
currentPath: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode[]>;
|
120
|
+
currentNode: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode | null>;
|
121
|
+
loadingFolderId: import("@angular/core").Signal<string | null>;
|
122
|
+
navigatingFolderId: import("@angular/core").Signal<string | null>;
|
123
|
+
sortField: import("@angular/core").Signal<string>;
|
124
|
+
sortDirection: import("@angular/core").Signal<string>;
|
125
|
+
folders: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode[]>;
|
126
|
+
files: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode[]>;
|
127
|
+
itemsCount: import("@angular/core").Signal<number>;
|
128
|
+
availableSpace: import("@angular/core").Signal<number>;
|
129
|
+
currentDrive: import("@angular/core").Signal<AXMDriveScope | null>;
|
130
|
+
fileTypes: import("@angular/core").Signal<import("@acorex/platform/common").AXPFileType[]>;
|
131
|
+
isRoot: import("@angular/core").Signal<boolean>;
|
132
|
+
breadcrumb: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode[]>;
|
133
|
+
currentFolder: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode | null>;
|
134
|
+
currentFolderContents: import("@angular/core").Signal<{
|
135
|
+
folders: import("../shared/document-manager.types").AXMDocumentExplorerNode[];
|
136
|
+
files: import("../shared/document-manager.types").AXMDocumentExplorerNode[];
|
137
|
+
}>;
|
138
|
+
parentFolder: import("@angular/core").Signal<import("../shared/document-manager.types").AXMDocumentExplorerNode | null | undefined>;
|
139
|
+
isGridView: import("@angular/core").Signal<boolean>;
|
140
|
+
isListView: import("@angular/core").Signal<boolean>;
|
141
|
+
initialize: (path?: string) => Promise<void>;
|
142
|
+
navigateToFolder: (folderId: string) => void;
|
143
|
+
loadFolderContents: (folderId: string) => Promise<void>;
|
144
|
+
setViewMode: (mode: import("../shared/document-manager.types").AXPDocumentExplorerViewMode) => void;
|
145
|
+
setSortField: (field: string) => void;
|
146
|
+
setSortDirection: (direction: string) => void;
|
147
|
+
setDrive: (scope: AXMDriveScope) => void;
|
148
|
+
isLoadingFolder: (folderId: string) => boolean;
|
149
|
+
getFileInfo: (fileName: string) => {
|
150
|
+
icon: string;
|
151
|
+
type: string;
|
152
|
+
};
|
153
|
+
sortItems: (items: import("../shared/document-manager.types").AXMDocumentExplorerNode[]) => import("../shared/document-manager.types").AXMDocumentExplorerNode[];
|
154
|
+
refresh: () => Promise<void>;
|
155
|
+
} & import("@ngrx/signals").StateSource<{
|
156
|
+
viewMode: import("../shared/document-manager.types").AXPDocumentExplorerViewMode;
|
157
|
+
isLoading: boolean;
|
158
|
+
currentPath: import("../shared/document-manager.types").AXMDocumentExplorerNode[];
|
159
|
+
currentNode: import("../shared/document-manager.types").AXMDocumentExplorerNode | null;
|
160
|
+
loadingFolderId: string | null;
|
161
|
+
navigatingFolderId: string | null;
|
162
|
+
sortField: string;
|
163
|
+
sortDirection: string;
|
164
|
+
folders: import("../shared/document-manager.types").AXMDocumentExplorerNode[];
|
165
|
+
files: import("../shared/document-manager.types").AXMDocumentExplorerNode[];
|
166
|
+
itemsCount: number;
|
167
|
+
availableSpace: number;
|
168
|
+
currentDrive: AXMDriveScope | null;
|
169
|
+
fileTypes: import("@acorex/platform/common").AXPFileType[];
|
170
|
+
}>;
|
171
|
+
protected readonly router: Router;
|
172
|
+
protected readonly activatedRoute: ActivatedRoute;
|
173
|
+
protected readonly sessionService: AXPSessionService;
|
174
|
+
protected readonly filterItems: import("@angular/core").WritableSignal<{
|
175
|
+
key: string;
|
176
|
+
textKey: string;
|
177
|
+
icon: string;
|
178
|
+
}[]>;
|
179
|
+
selectedFilter: import("@angular/core").WritableSignal<string>;
|
180
|
+
protected readonly sortItems: import("@angular/core").WritableSignal<{
|
181
|
+
key: string;
|
182
|
+
textKey: string;
|
183
|
+
icon: string;
|
184
|
+
}[]>;
|
185
|
+
protected documentExplorer: import("@angular/core").Signal<AXMDocumentExplorerComponent | undefined>;
|
186
|
+
protected readonly selectedSort: import("@angular/core").Signal<{
|
187
|
+
key: string;
|
188
|
+
textKey: string;
|
189
|
+
icon: string;
|
190
|
+
}>;
|
191
|
+
ngOnInit(): Promise<void>;
|
192
|
+
private loadDrive;
|
193
|
+
loadFilterItems(): Promise<void>;
|
194
|
+
protected setFilter(key: string): void;
|
195
|
+
protected getFilterIcon(): string;
|
196
|
+
protected getFilterText(): string;
|
197
|
+
protected handleNavigateToFolder(folderId: string): void;
|
198
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentDriveComponent, never>;
|
199
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMDocumentDriveComponent, "axp-document-drive", never, {}, {}, never, never, true, never>;
|
200
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXMFileTypeModule {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFileTypeModule, never>;
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMFileTypeModule, never, never, never>;
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXMFileTypeModule>;
|
6
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMFileTypeExtensionWidgetColumnComponent extends AXPWidgetComponent<any> {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFileTypeExtensionWidgetColumnComponent, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMFileTypeExtensionWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
6
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMFileTypeExtensionWidgetDesignerComponent extends AXPWidgetComponent<any> {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFileTypeExtensionWidgetDesignerComponent, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMFileTypeExtensionWidgetDesignerComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
6
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { AXDataSource, AXValueChangedEvent } from '@acorex/components/common';
|
2
|
+
import { AXPFileType, AXPFileTypeProviderService } from '@acorex/platform/common';
|
3
|
+
import { AXPLayoutContextChangeEvent, AXPWidgetComponent, AXPWidgetNode } from '@acorex/platform/layout/builder';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXMFileTypeExtensionWidgetEditComponent extends AXPWidgetComponent<any> {
|
6
|
+
protected fileTypeService: AXPFileTypeProviderService;
|
7
|
+
protected dataSource: AXDataSource<unknown>;
|
8
|
+
selectedItems: import("@angular/core").WritableSignal<AXPFileType[]>;
|
9
|
+
context: import("@angular/core").WritableSignal<any>;
|
10
|
+
ngOnInit(): void;
|
11
|
+
protected outputs(): string[];
|
12
|
+
protected handleOnContextChange(e: AXPLayoutContextChangeEvent): void;
|
13
|
+
protected handleValueChange(e: AXValueChangedEvent): Promise<void>;
|
14
|
+
protected getNode(meta: any): AXPWidgetNode;
|
15
|
+
protected filedIsRequired(meta: any): boolean;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFileTypeExtensionWidgetEditComponent, never>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMFileTypeExtensionWidgetEditComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
18
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { AXPWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXMFileTypeExtensionWidgetViewComponent extends AXPWidgetComponent<any> {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFileTypeExtensionWidgetViewComponent, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMFileTypeExtensionWidgetViewComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; }, {}, never, never, true, never>;
|
6
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
|
2
|
+
export declare const AXmFileTypeExtensionWidget: AXPWidgetConfig;
|
3
|
+
declare module '@acorex/platform/layout/builder' {
|
4
|
+
interface AXPWidgetTypesMap {
|
5
|
+
fileTypeExtension: 'file-type-extension';
|
6
|
+
}
|
7
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from './file-type-extension-column.component';
|
2
|
+
export * from './file-type-extension-designer.component';
|
3
|
+
export * from './file-type-extension-edit.component';
|
4
|
+
export * from './file-type-extension-view.component';
|
5
|
+
export * from './file-type-extension-widget.config';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './file-type-extension';
|
@@ -0,0 +1,130 @@
|
|
1
|
+
import { AXPopupService } from '@acorex/components/popup';
|
2
|
+
import { AXPSessionService } from '@acorex/platform/auth';
|
3
|
+
import { AXMDocumentManagementFolderCreateDto, AXMDocumentService, AXMFolderService } from '../../entities';
|
4
|
+
import { AXMDocumentExplorerNode, AXMDriveScope, CreateFileDto, UpdateFileDto, UpdateFolderDto } from './document-manager.types';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* Interface defining the contract for document drive service
|
8
|
+
*/
|
9
|
+
export interface AXMDocumentManagerServiceInterface {
|
10
|
+
scope(scope: AXMDriveScope, options?: {
|
11
|
+
tenantId?: string;
|
12
|
+
userId?: string;
|
13
|
+
}): ScopedDriveService;
|
14
|
+
getRoot(scope: AXMDriveScope, options?: {
|
15
|
+
tenantId?: string;
|
16
|
+
userId?: string;
|
17
|
+
}): Promise<{
|
18
|
+
path: AXMDocumentExplorerNode[];
|
19
|
+
result: AXMDocumentExplorerNode;
|
20
|
+
}>;
|
21
|
+
getFolder(folderId: string): Promise<{
|
22
|
+
path: AXMDocumentExplorerNode[];
|
23
|
+
result: AXMDocumentExplorerNode;
|
24
|
+
}>;
|
25
|
+
createFolder(data: AXMDocumentManagementFolderCreateDto): Promise<AXMDocumentExplorerNode>;
|
26
|
+
updateFolder(folderId: string, data: UpdateFolderDto): Promise<AXMDocumentExplorerNode>;
|
27
|
+
deleteFolder(folderId: string): Promise<void>;
|
28
|
+
getAvailableSpace(): Promise<number>;
|
29
|
+
createFile(data: CreateFileDto): Promise<AXMDocumentExplorerNode>;
|
30
|
+
updateFile(fileId: string, data: UpdateFileDto): Promise<AXMDocumentExplorerNode>;
|
31
|
+
deleteFile(fileId: string): Promise<void>;
|
32
|
+
deleteNodes(nodeIds: string[]): Promise<void>;
|
33
|
+
showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* Service for handling document drive operations
|
37
|
+
*/
|
38
|
+
export declare class AXMDocumentManagerService implements AXMDocumentManagerServiceInterface {
|
39
|
+
protected folderService: AXMFolderService;
|
40
|
+
protected sessionService: AXPSessionService;
|
41
|
+
protected documentService: AXMDocumentService;
|
42
|
+
protected popupService: AXPopupService;
|
43
|
+
private scopedDriveCache;
|
44
|
+
scope(scope: AXMDriveScope, options?: {
|
45
|
+
tenantId?: string;
|
46
|
+
userId?: string;
|
47
|
+
}): ScopedDriveService;
|
48
|
+
private getScopeCacheKey;
|
49
|
+
/**
|
50
|
+
* Gets the platform root folder (top-level folder)
|
51
|
+
* @returns Root folder for the platform
|
52
|
+
*/
|
53
|
+
private getPlatformRootFolder;
|
54
|
+
/**
|
55
|
+
* Gets the tenant root folder
|
56
|
+
* @param rootFolderId The platform root folder ID
|
57
|
+
* @param tenantId The tenant ID
|
58
|
+
* @returns Tenant root folder
|
59
|
+
*/
|
60
|
+
private getTenantRootFolder;
|
61
|
+
/**
|
62
|
+
* Gets the user root folder
|
63
|
+
* @param tenantFolderId The tenant folder ID
|
64
|
+
* @param tenantId The tenant ID
|
65
|
+
* @param userId The user ID
|
66
|
+
* @returns User root folder
|
67
|
+
*/
|
68
|
+
private getUserRootFolder;
|
69
|
+
private mapFolderDtoToFolderNode;
|
70
|
+
private buildPath;
|
71
|
+
private findNodeById;
|
72
|
+
/**
|
73
|
+
* Gets the root folder based on the specified scope
|
74
|
+
* @param scope The drive scope (Platform, Tenant, User)
|
75
|
+
* @param options Optional parameters for tenant and user IDs
|
76
|
+
* @returns Root folder for the specified scope
|
77
|
+
*/
|
78
|
+
getRoot(scope: AXMDriveScope, options?: {
|
79
|
+
tenantId?: string;
|
80
|
+
userId?: string;
|
81
|
+
}): Promise<{
|
82
|
+
path: AXMDocumentExplorerNode[];
|
83
|
+
result: AXMDocumentExplorerNode;
|
84
|
+
}>;
|
85
|
+
/**
|
86
|
+
* Gets a specific folder by ID
|
87
|
+
* @param folderId The folder ID to retrieve
|
88
|
+
* @returns The requested folder
|
89
|
+
*/
|
90
|
+
getFolder(folderId: string): Promise<{
|
91
|
+
path: AXMDocumentExplorerNode[];
|
92
|
+
result: AXMDocumentExplorerNode;
|
93
|
+
}>;
|
94
|
+
createFolder(data: AXMDocumentManagementFolderCreateDto): Promise<AXMDocumentExplorerNode>;
|
95
|
+
updateFolder(folderId: string, data: UpdateFolderDto): Promise<AXMDocumentExplorerNode>;
|
96
|
+
deleteFolder(folderId: string): Promise<void>;
|
97
|
+
getAvailableSpace(): Promise<number>;
|
98
|
+
private mapFileToNode;
|
99
|
+
createFile(data: CreateFileDto): Promise<AXMDocumentExplorerNode>;
|
100
|
+
updateFile(fileId: string, data: UpdateFileDto): Promise<AXMDocumentExplorerNode>;
|
101
|
+
deleteFile(fileId: string): Promise<void>;
|
102
|
+
deleteNodes(nodeIds: string[]): Promise<void>;
|
103
|
+
showCreateFolderDialog(parentId?: string): Promise<AXMDocumentExplorerNode | null>;
|
104
|
+
rename(node: AXMDocumentExplorerNode): Promise<void>;
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDocumentManagerService, never>;
|
106
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMDocumentManagerService>;
|
107
|
+
}
|
108
|
+
declare class ScopedDriveService {
|
109
|
+
private parent;
|
110
|
+
private scope;
|
111
|
+
private options?;
|
112
|
+
constructor(parent: AXMDocumentManagerService, scope: AXMDriveScope, options?: {
|
113
|
+
tenantId?: string;
|
114
|
+
userId?: string;
|
115
|
+
} | undefined);
|
116
|
+
private validateScopeOptions;
|
117
|
+
getRoot(): Promise<{
|
118
|
+
path: AXMDocumentExplorerNode[];
|
119
|
+
result: AXMDocumentExplorerNode;
|
120
|
+
}>;
|
121
|
+
getFolder(folderId: string): Promise<{
|
122
|
+
path: AXMDocumentExplorerNode[];
|
123
|
+
result: AXMDocumentExplorerNode;
|
124
|
+
}>;
|
125
|
+
createFolder(data: Omit<AXMDocumentManagementFolderCreateDto, 'tenantId' | 'userId'>): Promise<AXMDocumentExplorerNode>;
|
126
|
+
updateFolder(folderId: string, data: UpdateFolderDto): Promise<AXMDocumentExplorerNode>;
|
127
|
+
deleteFolder(folderId: string): Promise<void>;
|
128
|
+
getAvailableSpace(): Promise<number>;
|
129
|
+
}
|
130
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { AXMDocumentManagementDocumentEntityModel, AXMDocumentManagementFolderEntityModel } from "../../entities";
|
2
|
+
export type AXMDriveScopeKey = 'P' | 'T' | 'U';
|
3
|
+
export declare enum AXMDriveScope {
|
4
|
+
Platform = "P",
|
5
|
+
Tenant = "T",
|
6
|
+
User = "U"
|
7
|
+
}
|
8
|
+
export interface AXMDocumentExplorerNode {
|
9
|
+
id: string;
|
10
|
+
name: string;
|
11
|
+
type: 'file' | 'folder';
|
12
|
+
parentId: string | null;
|
13
|
+
children?: AXMDocumentExplorerNode[];
|
14
|
+
size?: number;
|
15
|
+
lastModified?: Date;
|
16
|
+
}
|
17
|
+
export type AXPDocumentExplorerViewMode = 'grid' | 'list';
|
18
|
+
export type CreateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
|
19
|
+
export type UpdateFolderDto = Partial<Omit<AXMDocumentManagementFolderEntityModel, 'id'>>;
|
20
|
+
export type CreateFileDto = Omit<AXMDocumentManagementDocumentEntityModel, 'id'>;
|
21
|
+
export type UpdateFileDto = Partial<Omit<AXMDocumentManagementDocumentEntityModel, 'id'>>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './document-manager.service';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AXPStickyDirective, AXPGridLayoutDirective, AXPDataGenerator,
|
2
|
-
import { AXPEntityDetailViewModelResolver, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
1
|
+
import { AXPStickyDirective, AXPGridLayoutDirective, AXPDataGenerator, AXPWorkflowNavigateAction, AXP_MENU_PROVIDER, AXPEntityQueryType, AXPEntityCommandScope } from '@acorex/platform/common';
|
2
|
+
import { AXPEntityDetailViewModelResolver, AXPEntityStorageService, AXPEntityDataProviderImpl, AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
3
3
|
import * as i1$1 from '@acorex/platform/workflow';
|
4
4
|
import { AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
5
5
|
import * as i0 from '@angular/core';
|
@@ -54,7 +54,7 @@ class AXPModuleEntityDetailViewComponent {
|
|
54
54
|
this.vm.destroy();
|
55
55
|
}
|
56
56
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPModuleEntityDetailViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPModuleEntityDetailViewComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-lightest ax-border-b md:ax-border-0 md:ax-bg-default\"\n>\n <div\n class=\"ax-flex ax-flex-col ax-pt-4 ax-sticky ax-top-0 ax-z-10 ax-transition-all\"\n #sticky=\"axpSticky\"\n [axpSticky]=\"'ax-bg-lightest ax-px-6 ax-py-3 -ax-mx-6 ax-shadow-xl'\"\n [stickyOffset]=\"30\"\n >\n <!-------- Begin Toolbar -------->\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <!-------- Begin Title -------->\n <div class=\"ax-flex ax-gap-1 ax-items-center\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-transition\">\n <div class=\"ax-text-xl md:ax-text-2xl ax-font-bold\">{{ vm.title() | translate | async }}</div>\n @if(vm.description()) {\n <div class=\"ax-text-sm ax-text-neutral-600\" [class.ax-hidden]=\"sticky.isSticky\">\n {{ vm.description() }}\n </div>\n }\n <ax-breadcrumbs class=\"child:ax-font-normal child:ax-text-neutral-400\" [class.ax-hidden]=\"store.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-solid fa-chevron-right ax-text-xs ax-mx-2\"></i>\n </ng-template>\n @for(b of vm.beardcrumbs();track $index;let last=$last) {\n <ax-breadcrumbs-item\n [active]=\"last\"\n [class.!ax-font-semibold]=\"last\"\n [class.!ax-text-neutral-600]=\"last\"\n [routerLink]=\"b.url\"\n >\n @if(b.icon) {\n <i [class]=\"b.icon\"></i>\n }\n {{ b.title | translate | async }}\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </div>\n </div>\n <!-------- Finish Title -------->\n <!--------------------------------------------------------------->\n <!-- Begin Action Menu -->\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n @for(tr of vm.primaryActions();track $index) {\n <ax-button [text]=\"tr.title | translate | async\" [color]=\"tr.color\" (onClick)=\"vm.executeCommand(tr.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button>\n } @if(vm.secondaryActions().length) {\n <ax-button [text]=\"store.isSmall() ? null : 'Actions'\" [color]=\"'default'\">\n <ax-prefix>\n <i class=\"fa-solid fa-ellipsis-vertical\"></i>\n </ax-prefix>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(tr of vm.secondaryActions();track $index) {\n <ng-container>\n @if(tr.separated) {\n <ax-divider></ax-divider>\n }\n <ax-button-item\n [text]=\"tr.title\"\n class=\"ax-font-semibold ax-text-{{ tr.color }}\"\n (onClick)=\"vm.executeCommand(tr.name)\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ng-container>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n }\n </div>\n <!-- Finish Action Menu -->\n </div>\n <!-- Start Sections -->\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-card ax-mt-4\" [gridLayout]=\"section.layout()\">\n <ax-form #form>\n <axp-widgets-container [context]=\"vm.context()\">\n <div class=\"ax-card-header !ax-py-2 !ax-px-4\">\n <p>\n <span class=\"!ax-text-lg ax-font-semibold\">{{ section.title() }}</span>\n <br />\n @if(section.description()) {\n <span class=\"ax-text-sm ax-font-normal ax-text-gray-500\">{{ section.description() }}</span>\n }\n </p>\n @if(section.editable()) {\n <ax-button\n class=\"ax-xs\"\n [color]=\"'default'\"\n [look]=\"'blank'\"\n (onClick)=\"vm.executeCommand('modify-entity-section', section)\"\n >\n <ax-icon class=\"fa-solid fa-pen ax-text-gray-600\"> </ax-icon>\n </ax-button>\n }\n </div>\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.props(); track $index) {\n <div class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\">\n <div>\n <div>\n <span class=\"ax-font-semibold\">{{ attr.title() | translate | async }}</span>\n </div>\n </div>\n <div class=\"ax-text-neutral-500\">\n <ng-coniatiner axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'view'\"> </ng-coniatiner>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n </ax-form>\n </div>\n }\n </div>\n <!-- Finish Sections -->\n @if((vm.relatedEntities()|async)?.length) {\n <ax-tabs\n [look]=\"'with-line'\"\n class=\"ax-mt-2 ax-font-semibold\"\n #tab\n (onActiveTabChanged)=\"handleActiveRelatedEntityChanged($event)\"\n >\n @for(e of (vm.relatedEntities()|async);track $index;let index= $index){\n <ax-tab-item [text]=\"(e.title() | translate | async)!\" [key]=\"index.toString()\"> </ax-tab-item>\n }\n </ax-tabs>\n @for(e of (vm.relatedEntities()|async);track $index;let index= $index){\n <div [class.ax-hidden]=\"$index !== selectedRelatedIEntityTabIndex()\">\n <axp-entity-detail-list-view [viewModel]=\"e\"></axp-entity-detail-list-view>\n </div>\n } }\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i5.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "ngmodule", type: AXActionSheetModule }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "ngmodule", type: AXDialogModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i6.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i6.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i7.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i7.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i7.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "component", type: i8.AXBreadCrumbsComponent, selector: "ax-breadcrumbs" }, { kind: "component", type: i8.AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: ["disabled", "active"] }, { kind: "ngmodule", type:
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPModuleEntityDetailViewComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div\n class=\"ax-flex ax-flex-col ax-gap-4 ax-min-h-full ax-px-4 ax-pb-4 md:ax-px-6 ax-bg-lightest ax-border-b md:ax-border-0 md:ax-bg-default\"\n>\n <div\n class=\"ax-flex ax-flex-col ax-pt-4 ax-sticky ax-top-0 ax-z-10 ax-transition-all\"\n #sticky=\"axpSticky\"\n [axpSticky]=\"'ax-bg-lightest ax-px-6 ax-py-3 -ax-mx-6 ax-shadow-xl'\"\n [stickyOffset]=\"30\"\n >\n <!-------- Begin Toolbar -------->\n <div class=\"ax-flex ax-justify-between ax-items-center\">\n <!-------- Begin Title -------->\n <div class=\"ax-flex ax-gap-1 ax-items-center\">\n <div class=\"ax-flex ax-flex-col ax-gap-2 ax-transition\">\n <div class=\"ax-text-xl md:ax-text-2xl ax-font-bold\">{{ vm.title() | translate | async }}</div>\n @if(vm.description()) {\n <div class=\"ax-text-sm ax-text-neutral-600\" [class.ax-hidden]=\"sticky.isSticky\">\n {{ vm.description() }}\n </div>\n }\n <ax-breadcrumbs class=\"child:ax-font-normal child:ax-text-neutral-400\" [class.ax-hidden]=\"store.isSmall()\">\n <ng-template #divider>\n <i class=\"fa-solid fa-chevron-right ax-text-xs ax-mx-2\"></i>\n </ng-template>\n @for(b of vm.beardcrumbs();track $index;let last=$last) {\n <ax-breadcrumbs-item\n [active]=\"last\"\n [class.!ax-font-semibold]=\"last\"\n [class.!ax-text-neutral-600]=\"last\"\n [routerLink]=\"b.url\"\n >\n @if(b.icon) {\n <i [class]=\"b.icon\"></i>\n }\n {{ b.title | translate | async }}\n </ax-breadcrumbs-item>\n }\n </ax-breadcrumbs>\n </div>\n </div>\n <!-------- Finish Title -------->\n <!--------------------------------------------------------------->\n <!-- Begin Action Menu -->\n <div class=\"ax-flex ax-items-center ax-gap-3\">\n @for(tr of vm.primaryActions();track $index) {\n <ax-button [text]=\"tr.title | translate | async\" [color]=\"tr.color\" (onClick)=\"vm.executeCommand(tr.name)\">\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button>\n } @if(vm.secondaryActions().length) {\n <ax-button [text]=\"store.isSmall() ? null : 'Actions'\" [color]=\"'default'\">\n <ax-prefix>\n <i class=\"fa-solid fa-ellipsis-vertical\"></i>\n </ax-prefix>\n <ax-dropdown-panel>\n <ax-button-item-list>\n @for(tr of vm.secondaryActions();track $index) {\n <ng-container>\n @if(tr.separated) {\n <ax-divider></ax-divider>\n }\n <ax-button-item\n [text]=\"tr.title\"\n class=\"ax-font-semibold ax-text-{{ tr.color }}\"\n (onClick)=\"vm.executeCommand(tr.name)\"\n >\n <ax-prefix>\n <ax-icon [icon]=\"tr.icon\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </ng-container>\n }\n </ax-button-item-list>\n </ax-dropdown-panel>\n </ax-button>\n }\n </div>\n <!-- Finish Action Menu -->\n </div>\n <!-- Start Sections -->\n <div class=\"ax-grid ax-grid-cols-12 ax-gap-4\">\n @for(section of vm.sections(); track section.name()) {\n <div class=\"ax-card ax-mt-4\" [gridLayout]=\"section.layout()\">\n <ax-form #form>\n <axp-widgets-container [context]=\"vm.context()\">\n <div class=\"ax-card-header !ax-py-2 !ax-px-4\">\n <p>\n <span class=\"!ax-text-lg ax-font-semibold\">{{ section.title() }}</span>\n <br />\n @if(section.description()) {\n <span class=\"ax-text-sm ax-font-normal ax-text-gray-500\">{{ section.description() }}</span>\n }\n </p>\n @if(section.editable()) {\n <ax-button\n class=\"ax-xs\"\n [color]=\"'default'\"\n [look]=\"'blank'\"\n (onClick)=\"vm.executeCommand('modify-entity-section', section)\"\n >\n <ax-icon class=\"fa-solid fa-pen ax-text-gray-600\"> </ax-icon>\n </ax-button>\n }\n </div>\n <div class=\"ax-card-body !ax-grid !ax-grid-cols-12 !ax-gap-4\">\n @for(attr of section.props(); track $index) {\n <div class=\"ax-flex ax-flex-col ax-gap-1\" [gridLayout]=\"attr.layout()\">\n <div>\n <div>\n <span class=\"ax-font-semibold\">{{ attr.title() | translate | async }}</span>\n </div>\n </div>\n <div class=\"ax-text-neutral-500\">\n <ng-coniatiner axp-widget-renderer [node]=\"attr.node()\" [mode]=\"'view'\"> </ng-coniatiner>\n </div>\n </div>\n }\n </div>\n </axp-widgets-container>\n </ax-form>\n </div>\n }\n </div>\n <!-- Finish Sections -->\n @if((vm.relatedEntities()|async)?.length) {\n <ax-tabs\n [look]=\"'with-line'\"\n class=\"ax-mt-2 ax-font-semibold\"\n #tab\n (onActiveTabChanged)=\"handleActiveRelatedEntityChanged($event)\"\n >\n @for(e of (vm.relatedEntities()|async);track $index;let index= $index){\n <ax-tab-item [text]=\"(e.title() | translate | async)!\" [key]=\"index.toString()\"> </ax-tab-item>\n }\n </ax-tabs>\n @for(e of (vm.relatedEntities()|async);track $index;let index= $index){\n <div [class.ax-hidden]=\"$index !== selectedRelatedIEntityTabIndex()\">\n <axp-entity-detail-list-view [viewModel]=\"e\"></axp-entity-detail-list-view>\n </div>\n } }\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXPopoverModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i5.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "ngmodule", type: AXActionSheetModule }, { kind: "ngmodule", type: AXDrawerModule }, { kind: "ngmodule", type: AXDialogModule }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i6.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i6.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i7.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i7.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i7.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "component", type: i8.AXBreadCrumbsComponent, selector: "ax-breadcrumbs" }, { kind: "component", type: i8.AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: ["disabled", "active"] }, { kind: "ngmodule", type:
|
58
58
|
//
|
59
59
|
AXPLayoutBuilderModule }, { kind: "component", type: i9.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i9.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXPWidgetsModule }, { kind: "directive", type: AXPStickyDirective, selector: "[axpSticky]", inputs: ["axpSticky", "stickyOffset", "stickyParent", "stickyTarget"], outputs: ["isStickyChange"], exportAs: ["axpSticky"] }, { kind: "directive", type: AXPGridLayoutDirective, selector: "[gridLayout]", inputs: ["gridLayout"] }, { kind: "ngmodule", type:
|
60
60
|
//
|