@acorex/modules 19.2.20 → 19.3.0-next.1
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/layouts/module-entity-detail-view/module-entity-detail-view.component.d.ts +2 -2
- package/auth/lib/setting.provider.d.ts +4 -0
- package/common/index.d.ts +1 -0
- package/common/lib/entities/dashboard/dashboard.types.d.ts +1 -1
- package/common/lib/features/{dashboard-home/dashboard-home.d.ts → home-dashboard/dashboard-home/home-dashboard.d.ts} +72 -52
- package/common/lib/features/{dashboard-home/dashboard-home.store.d.ts → home-dashboard/dashboard-home/home-dashboard.store.d.ts} +9 -4
- package/common/lib/features/home-dashboard/dashboard-home/index.d.ts +3 -0
- package/common/lib/features/{dashboard-popups → home-dashboard/dashboard-popups}/add-dashboard-popup.d.ts +7 -5
- package/common/lib/features/home-dashboard/dashboard-popups/configuration-popup.d.ts +14 -0
- package/common/lib/features/{dashboard-popups → home-dashboard/dashboard-popups}/dashboard-popup.service.d.ts +5 -4
- package/common/lib/features/home-dashboard/setrting.keys.d.ts +3 -0
- package/common/lib/features/{widget-wrapper → home-dashboard/widget-wrapper}/dashboard-widget-wrapper.d.ts +2 -1
- package/common/lib/menu.provider.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 +4 -4
- package/conversation/lib/entities/comments/comments.type.d.ts +1 -1
- package/document-management/lib/badge.provider.d.ts +11 -0
- package/document-management/lib/entities/document/document.service.d.ts +1 -1
- package/document-management/lib/entities/document/document.types.d.ts +2 -0
- package/document-management/lib/entities/document-type/document-type.service.d.ts +3 -3
- package/document-management/lib/entities/folder/folder.service.d.ts +2 -7
- package/document-management/lib/entities/folder/folder.types.d.ts +2 -1
- package/document-management/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.d.ts +9 -0
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +20 -8
- package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +10 -6
- package/document-management/lib/features/document-explorer/views/detail-panel/detail-panel.component.d.ts +40 -36
- package/document-management/lib/features/document-explorer/views/details/details-view.component.d.ts +40 -36
- package/document-management/lib/features/document-explorer/views/large-icons/large-icons-view.component.d.ts +40 -36
- package/document-management/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.d.ts +40 -36
- package/document-management/lib/features/document-explorer/views/list/list-view.component.d.ts +40 -36
- package/document-management/lib/features/document-explorer/views/small-icons/small-icons-view.component.d.ts +40 -36
- package/document-management/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.d.ts +40 -36
- package/document-management/lib/features/drive/drive.component.d.ts +15 -9
- package/document-management/lib/features/drive/index.d.ts +3 -0
- package/document-management/lib/features/drive-choose/drive-choose.component.d.ts +16 -8
- package/document-management/lib/features/shared/components/document-type-choose-file/document-type-choose-file.component.d.ts +16 -0
- package/document-management/lib/features/shared/components/file-viewer-popup/file-viewer-popup.component.d.ts +5 -1
- package/document-management/lib/features/shared/components/folder-path-breadcrumbs/folder-path-breadcrumbs.component.d.ts +10 -6
- package/document-management/lib/features/shared/components/index.d.ts +1 -0
- package/document-management/lib/features/shared/components/link-dialog/link-dialog.component.d.ts +24 -0
- package/document-management/lib/features/shared/components/lock-dialog/lock-dialog.component.d.ts +16 -0
- package/document-management/lib/features/shared/components/share-dialog/share-dialog.component.d.ts +22 -0
- package/document-management/lib/features/shared/components/share-email-dialog/share-email-dialog.component.d.ts +17 -0
- package/document-management/lib/features/shared/components/unlock-dialog/unlock-dialog.component.d.ts +10 -0
- package/document-management/lib/features/shared/document-manager.service.d.ts +45 -22
- package/document-management/lib/features/shared/document-manager.types.d.ts +5 -7
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-column.component.d.ts +1 -1
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +66 -44
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-print.component.d.ts +1 -1
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-view.component.d.ts +1 -1
- package/document-management/lib/features/widgets/document-attachment/index.d.ts +0 -1
- package/fesm2022/acorex-modules-application-management.mjs +0 -1
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DrcL7GCj.mjs → acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs} +15 -19
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-5o4GqqVA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CbJb1P_k.mjs → acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CbJb1P_k.mjs.map → acorex-modules-auth-app-chooser.component-NuQzP5DC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-DFCB1l7W.mjs → acorex-modules-auth-login.module-B_WrZQJx.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DFCB1l7W.mjs.map → acorex-modules-auth-login.module-B_WrZQJx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CuKXvY0o.mjs → acorex-modules-auth-master.layout-hDbrFbwO.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CuKXvY0o.mjs.map → acorex-modules-auth-master.layout-hDbrFbwO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DacOjakT.mjs → acorex-modules-auth-password.component-BnT_IaqN.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DacOjakT.mjs.map → acorex-modules-auth-password.component-BnT_IaqN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-5gwz30CZ.mjs → acorex-modules-auth-password.component-DDE0M5GE.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-5gwz30CZ.mjs.map → acorex-modules-auth-password.component-DDE0M5GE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-D018Lg-b.mjs → acorex-modules-auth-routes-Da02kID6.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-D018Lg-b.mjs.map → acorex-modules-auth-routes-Da02kID6.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs +271 -0
- package/fesm2022/acorex-modules-auth-setting.provider-D3A0WUgJ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-DiEB7VWl.mjs → acorex-modules-auth-two-factor.module-BrDpX4X1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DiEB7VWl.mjs.map → acorex-modules-auth-two-factor.module-BrDpX4X1.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common-index-rvP9ISgL.mjs +717 -0
- package/fesm2022/acorex-modules-common-index-rvP9ISgL.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +34 -24
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +4 -2
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-_BOVaDOq.mjs → acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs} +1054 -266
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs +135 -0
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-details-view.component-BHcu_gYH.mjs → acorex-modules-document-management-details-view.component-BFMgAxeK.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-BHcu_gYH.mjs.map → acorex-modules-document-management-details-view.component-BFMgAxeK.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-WoZfDyLK.mjs → acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs} +22 -16
- package/fesm2022/acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DvriE0YR.mjs → acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DvriE0YR.mjs.map → acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-ByWrKvZe.mjs → acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-ByWrKvZe.mjs.map → acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs +70 -0
- package/fesm2022/acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-list-view.component-B6J6Tokv.mjs → acorex-modules-document-management-list-view.component-BPkaAGjR.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-B6J6Tokv.mjs.map → acorex-modules-document-management-list-view.component-BPkaAGjR.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs +52 -0
- package/fesm2022/acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-Dae6RWb8.mjs → acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs} +10 -10
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs +143 -0
- package/fesm2022/acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs +55 -0
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-TrYeB22e.mjs → acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-TrYeB22e.mjs.map → acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DDKdWg8I.mjs → acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DDKdWg8I.mjs.map → acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs +37 -0
- package/fesm2022/acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-CJYrDtq6.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs} +30 -24
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-C3bCqH0S.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BdiYytzK.mjs → acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs} +7 -3
- package/fesm2022/acorex-modules-form-template-management-category.entity-B8FoSfDd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-CoETMkEC.mjs → acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs} +20 -17
- package/fesm2022/acorex-modules-form-template-management-setting.provider-2gDLkJ82.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-0JfGxdMv.mjs → acorex-modules-form-template-management-template-picker.component-M-R2U9CH.mjs} +5 -4
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-M-R2U9CH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-BkJ3ieIg.mjs → acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-BkJ3ieIg.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-CGLJ_4tB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-ByE2p0Mu.mjs → acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs} +53 -33
- package/fesm2022/acorex-modules-form-template-management-template.entity-Cm57FCm7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CThcXWpt.mjs → acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-CThcXWpt.mjs.map → acorex-modules-form-template-management-viewer-popup.component-C8QVMY0f.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +43 -35
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-JKQwYEPq.mjs → acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-JKQwYEPq.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-BFu7TUGC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-QLdDEdqL.mjs → acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs} +5 -4
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-B4ohp4o5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-C2ZtUVKI.mjs → acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs} +3 -4
- package/fesm2022/acorex-modules-organization-management-org-chart.page-BIytyLYP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-setting.provider-CMDpwkG2.mjs → acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs} +44 -23
- package/fesm2022/acorex-modules-organization-management-setting.provider-BPjFNA5E.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +6 -6
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs +4746 -0
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-C-vMSeD0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-C9764yzu.mjs → acorex-modules-platform-management-list-version.component-EHtlPye1.mjs} +2 -2
- package/fesm2022/acorex-modules-platform-management-list-version.component-EHtlPye1.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs +335 -0
- package/fesm2022/acorex-modules-platform-management-setting.provider-Bbd_enhk.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +1 -4866
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +18 -12
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/form-template-management/lib/entities/category/category.service.d.ts +2 -2
- package/form-template-management/lib/entities/category/category.types.d.ts +2 -1
- package/form-template-management/lib/entities/template/template.service.d.ts +2 -2
- package/form-template-management/lib/entities/template/template.types.d.ts +38 -5
- package/form-template-management/lib/features/designer/template.provider.d.ts +1 -1
- package/form-template-management/lib/features/designer/widgets/template-picker/template.provider.d.ts +3 -3
- package/form-template-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/notification-management/lib/setting.provider.d.ts +4 -0
- package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +2 -2
- package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +2 -2
- package/organization-management/lib/setting.provider.d.ts +5 -3
- package/package.json +1 -1
- package/platform-management/index.d.ts +1 -1
- 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/index.d.ts +0 -1
- package/platform-management/lib/entities/promotion/index.d.ts +1 -1
- 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/{common → features/common}/regional/setting.keys.d.ts +3 -1
- package/platform-management/lib/{common → features/common}/regional/setting.provider.d.ts +4 -1
- package/platform-management/lib/{entities → features}/promotion/components/promotion-slot/promotion-slot.component.d.ts +2 -2
- package/platform-management/lib/platform-management.module.d.ts +4 -3
- package/security-management/lib/entities/users/users.service.d.ts +4 -4
- package/security-management/lib/entities/users/users.types.d.ts +0 -4
- package/common/lib/features/dashboard-home/index.d.ts +0 -1
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-filter.component.d.ts +0 -6
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DrcL7GCj.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-setting.provider-DDl3OHw6.mjs +0 -59
- package/fesm2022/acorex-modules-auth-setting.provider-DDl3OHw6.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-index-D90SN6SH.mjs +0 -507
- package/fesm2022/acorex-modules-common-index-D90SN6SH.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-_BOVaDOq.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-D66KoQNb.mjs +0 -92
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-D66KoQNb.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-WoZfDyLK.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-B3BCzdVv.mjs +0 -305
- package/fesm2022/acorex-modules-document-management-drive.component-B3BCzdVv.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-Dae6RWb8.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-CJYrDtq6.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-category.entity-BdiYytzK.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-setting.provider-CoETMkEC.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-0JfGxdMv.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-ByE2p0Mu.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-QLdDEdqL.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-C2ZtUVKI.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-setting.provider-CMDpwkG2.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-list-version.component-C9764yzu.mjs.map +0 -1
- /package/common/lib/features/{dashboard-home/dashboard.type.d.ts → home-dashboard/dashboard-home/home-dashboard.type.d.ts} +0 -0
- /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/{entities → features}/promotion/components/index.d.ts +0 -0
package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
import * as i2$2 from '@acorex/components/button';
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
3
|
+
import * as i8 from '@acorex/components/color-box';
|
4
|
+
import { AXColorBoxModule } from '@acorex/components/color-box';
|
5
|
+
import { AXDataSource, AXAutoFocusDirective } from '@acorex/components/common';
|
6
|
+
import * as i2$1 from '@acorex/components/decorators';
|
7
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
8
|
+
import * as i3 from '@acorex/components/form';
|
9
|
+
import { AXFormModule } from '@acorex/components/form';
|
10
|
+
import * as i4$1 from '@acorex/components/label';
|
11
|
+
import { AXLabelModule } from '@acorex/components/label';
|
12
|
+
import * as i10 from '@acorex/components/loading';
|
13
|
+
import { AXLoadingModule } from '@acorex/components/loading';
|
14
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
15
|
+
import * as i1$1 from '@acorex/components/select-box';
|
16
|
+
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
17
|
+
import * as i4 from '@acorex/components/text-box';
|
18
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
19
|
+
import * as i4$2 from '@acorex/core/translation';
|
20
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
21
|
+
import * as i1 from '@angular/common';
|
22
|
+
import { CommonModule } from '@angular/common';
|
23
|
+
import * as i0 from '@angular/core';
|
24
|
+
import { inject, model, signal, Component } from '@angular/core';
|
25
|
+
import * as i2 from '@angular/forms';
|
26
|
+
import { FormsModule } from '@angular/forms';
|
27
|
+
import { A as AXMDocumentManagerService, a as AXMDocumentTypeService } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
28
|
+
|
29
|
+
class AXMCreateFolderDialog extends AXBasePageComponent {
|
30
|
+
constructor() {
|
31
|
+
super(...arguments);
|
32
|
+
this.driveService = inject(AXMDocumentManagerService);
|
33
|
+
this.documentTypeService = inject(AXMDocumentTypeService);
|
34
|
+
this.name = model('');
|
35
|
+
this.color = model('#FFFFFF');
|
36
|
+
this.description = model('');
|
37
|
+
this.selectedDocumentTypes = signal([]);
|
38
|
+
this.dataSource = new AXDataSource({
|
39
|
+
load: async (_) => {
|
40
|
+
try {
|
41
|
+
const res = (await this.documentTypeService.query());
|
42
|
+
return res;
|
43
|
+
}
|
44
|
+
catch (e) {
|
45
|
+
console.log(e);
|
46
|
+
}
|
47
|
+
return {
|
48
|
+
items: [],
|
49
|
+
total: 0,
|
50
|
+
};
|
51
|
+
},
|
52
|
+
pageSize: 100,
|
53
|
+
});
|
54
|
+
}
|
55
|
+
ngOnInit() {
|
56
|
+
if (this.defaultValue != null) {
|
57
|
+
this.selectedDocumentTypes.set(this.defaultValue.documentTypes ?? []);
|
58
|
+
this.name.set(this.defaultValue.name);
|
59
|
+
this.description.set(this.defaultValue.description ?? '');
|
60
|
+
}
|
61
|
+
}
|
62
|
+
handleValueChange(event) {
|
63
|
+
this.selectedDocumentTypes.set(event.component.selectedItems);
|
64
|
+
}
|
65
|
+
async handleSubmitButton(form) {
|
66
|
+
this.isLoading = true;
|
67
|
+
const validated = await form.validate();
|
68
|
+
if (validated.result) {
|
69
|
+
try {
|
70
|
+
let folder;
|
71
|
+
if (this.defaultValue != null) {
|
72
|
+
folder = await this.driveService.updateFolder(this.defaultValue.id, {
|
73
|
+
name: this.name(),
|
74
|
+
color: this.color(),
|
75
|
+
description: this.description(),
|
76
|
+
documentTypes: this.selectedDocumentTypes(),
|
77
|
+
});
|
78
|
+
}
|
79
|
+
else {
|
80
|
+
folder = await this.driveService.createFolder({
|
81
|
+
name: this.name(),
|
82
|
+
color: this.color(),
|
83
|
+
parentId: this.parentId,
|
84
|
+
description: this.description(),
|
85
|
+
documentTypes: this.selectedDocumentTypes(),
|
86
|
+
size: 0,
|
87
|
+
});
|
88
|
+
}
|
89
|
+
this.close({
|
90
|
+
result: true,
|
91
|
+
folder,
|
92
|
+
});
|
93
|
+
}
|
94
|
+
catch (error) {
|
95
|
+
console.error('Error creating folder:', error);
|
96
|
+
}
|
97
|
+
finally {
|
98
|
+
this.isLoading = false;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
else {
|
102
|
+
this.isLoading = false;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
onCancel() {
|
106
|
+
this.close({
|
107
|
+
result: false,
|
108
|
+
});
|
109
|
+
}
|
110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCreateFolderDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
111
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMCreateFolderDialog, isStandalone: true, selector: "ax-create-folder-dialog", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { name: "nameChange", color: "colorChange", description: "descriptionChange" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'description' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"description\" class=\"ax-input ax-w-full\"> </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'documentTypes' | translate | async }}\n </ax-label>\n <ax-select-box\n [dataSource]=\"dataSource\"\n valueField=\"name\"\n textField=\"title\"\n [multiple]=\"true\"\n (onValueChanged)=\"handleValueChange($event)\"\n [ngModel]=\"selectedDocumentTypes()\"\n />\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'color' | translate | async }}\n </ax-label>\n <ax-color-box [(ngModel)]=\"color\" class=\"ax-w-full\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-color-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
|
112
|
+
//
|
113
|
+
AXDecoratorModule }, { kind: "component", type: i2$1.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: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i3.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i8.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "showBadge", "showValue", "showClearButton", "showIcon"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4$2.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i10.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "directive", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }] }); }
|
114
|
+
}
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMCreateFolderDialog, decorators: [{
|
116
|
+
type: Component,
|
117
|
+
args: [{ selector: 'ax-create-folder-dialog', standalone: true, imports: [
|
118
|
+
CommonModule,
|
119
|
+
FormsModule,
|
120
|
+
//
|
121
|
+
AXDecoratorModule,
|
122
|
+
AXTextBoxModule,
|
123
|
+
AXLabelModule,
|
124
|
+
AXButtonModule,
|
125
|
+
AXFormModule,
|
126
|
+
AXColorBoxModule,
|
127
|
+
AXTranslationModule,
|
128
|
+
AXLoadingModule,
|
129
|
+
AXAutoFocusDirective,
|
130
|
+
AXSelectBoxModule,
|
131
|
+
], template: "<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'description' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"description\" class=\"ax-input ax-w-full\"> </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'documentTypes' | translate | async }}\n </ax-label>\n <ax-select-box\n [dataSource]=\"dataSource\"\n valueField=\"name\"\n textField=\"title\"\n [multiple]=\"true\"\n (onValueChanged)=\"handleValueChange($event)\"\n [ngModel]=\"selectedDocumentTypes()\"\n />\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'color' | translate | async }}\n </ax-label>\n <ax-color-box [(ngModel)]=\"color\" class=\"ax-w-full\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-color-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n" }]
|
132
|
+
}] });
|
133
|
+
|
134
|
+
export { AXMCreateFolderDialog };
|
135
|
+
//# sourceMappingURL=acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs.map
|
package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-create-folder-dialog.component-C9YP1aFi.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/components/create-folder-dialog/create-folder-dialog.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXColorBoxModule } from '@acorex/components/color-box';\nimport { AXAutoFocusDirective, AXDataSource, AXValueChangedEvent } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXFormComponent, AXFormModule } from '@acorex/components/form';\nimport { AXLabelModule } from '@acorex/components/label';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, model, signal } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXMDocumentTypeService } from '../../../../entities/document-type/document-type.service';\nimport { AXMDocumentManagementDocumentTypeEntityModel } from '../../../../entities/document-type/document-type.types';\nimport { AXMDocumentExplorerNode, AXMNodeType } from '../../../drive';\nimport { AXMDocumentManagerService } from '../../../shared';\n\ninterface QueryResult {\n items: AXMDocumentManagementDocumentTypeEntityModel[];\n total: number;\n}\n\n@Component({\n selector: 'ax-create-folder-dialog',\n standalone: true,\n imports: [\n CommonModule,\n FormsModule,\n //\n AXDecoratorModule,\n AXTextBoxModule,\n AXLabelModule,\n AXButtonModule,\n AXFormModule,\n AXColorBoxModule,\n AXTranslationModule,\n AXLoadingModule,\n AXAutoFocusDirective,\n AXSelectBoxModule,\n ],\n templateUrl: './create-folder-dialog.component.html',\n})\nexport class AXMCreateFolderDialog extends AXBasePageComponent {\n private driveService = inject(AXMDocumentManagerService);\n private documentTypeService = inject(AXMDocumentTypeService);\n\n defaultValue?: AXMDocumentExplorerNode;\n\n parentId?: string;\n\n protected name = model<string>('');\n protected color = model<string>('#FFFFFF');\n protected description = model<string>('');\n protected selectedDocumentTypes = signal<AXMNodeType[]>([]);\n\n protected dataSource = new AXDataSource({\n load: async (_) => {\n try {\n const res = (await this.documentTypeService.query()) as QueryResult;\n return res;\n } catch (e) {\n console.log(e);\n }\n return {\n items: [],\n total: 0,\n };\n },\n pageSize: 100,\n });\n\n protected override ngOnInit(): void {\n if (this.defaultValue != null) {\n this.selectedDocumentTypes.set(this.defaultValue.documentTypes ?? []);\n this.name.set(this.defaultValue.name);\n this.description.set(this.defaultValue.description ?? '');\n }\n }\n\n protected handleValueChange(event: AXValueChangedEvent) {\n this.selectedDocumentTypes.set(event.component.selectedItems);\n }\n\n async handleSubmitButton(form: AXFormComponent) {\n this.isLoading = true;\n const validated = await form.validate();\n if (validated.result) {\n try {\n let folder;\n if (this.defaultValue != null) {\n folder = await this.driveService.updateFolder(this.defaultValue.id, {\n name: this.name(),\n color: this.color(),\n description: this.description(),\n documentTypes: this.selectedDocumentTypes(),\n });\n } else {\n folder = await this.driveService.createFolder({\n name: this.name(),\n color: this.color(),\n parentId: this.parentId,\n description: this.description(),\n documentTypes: this.selectedDocumentTypes(),\n size: 0,\n });\n }\n\n this.close({\n result: true,\n folder,\n });\n } catch (error) {\n console.error('Error creating folder:', error);\n } finally {\n this.isLoading = false;\n }\n } else {\n this.isLoading = false;\n }\n }\n\n onCancel() {\n this.close({\n result: false,\n });\n }\n}\n","<div class=\"ax-p-4\">\n <ax-form #form>\n <div class=\"ax-flex ax-flex-col ax-gap-4\">\n <ax-form-field>\n <ax-label>\n {{ 'name' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"name\" class=\"ax-input ax-w-full\" [axAutoFocus]=\"true\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'description' | translate | async }}\n </ax-label>\n <ax-text-box [(ngModel)]=\"description\" class=\"ax-input ax-w-full\"> </ax-text-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'documentTypes' | translate | async }}\n </ax-label>\n <ax-select-box\n [dataSource]=\"dataSource\"\n valueField=\"name\"\n textField=\"title\"\n [multiple]=\"true\"\n (onValueChanged)=\"handleValueChange($event)\"\n [ngModel]=\"selectedDocumentTypes()\"\n />\n </ax-form-field>\n <ax-form-field>\n <ax-label>\n {{ 'color' | translate | async }}\n </ax-label>\n <ax-color-box [(ngModel)]=\"color\" class=\"ax-w-full\">\n <ax-validation-rule rule=\"required\"></ax-validation-rule>\n </ax-color-box>\n </ax-form-field>\n <div class=\"ax-flex ax-justify-end ax-gap-2\"></div>\n </div>\n </ax-form>\n</div>\n<ax-footer>\n <ax-suffix>\n <ax-button (onClick)=\"onCancel()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"secondary\" (onClick)=\"handleSubmitButton(form)\" [text]=\"'save' | translate | async\">\n @if(isLoading) {\n <ax-loading> </ax-loading>\n }\n </ax-button>\n </ax-suffix>\n</ax-footer>\n"],"names":["i5","i6","i7","i9","i11"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CM,MAAO,qBAAsB,SAAQ,mBAAmB,CAAA;AApB9D,IAAA,WAAA,GAAA;;AAqBU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAChD,QAAA,IAAA,CAAA,mBAAmB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAMlD,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,SAAS,CAAC;AAChC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,EAAE,CAAC;AAC/B,QAAA,IAAA,CAAA,qBAAqB,GAAG,MAAM,CAAgB,EAAE,CAAC;QAEjD,IAAU,CAAA,UAAA,GAAG,IAAI,YAAY,CAAC;AACtC,YAAA,IAAI,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A,EAAA,eAAA,EAAA,cAAA,EAAA,eAAA,EAAA,YAAA,EAAA,qBAAA,EAAA,SAAA,EAAA,cAAA,EAAA,kBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,oBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIR,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBApBjC,SAAS;+BACE,yBAAyB,EAAA,UAAA,EACvB,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;;wBAEX,iBAAiB;wBACjB,eAAe;wBACf,aAAa;wBACb,cAAc;wBACd,YAAY;wBACZ,gBAAgB;wBAChB,mBAAmB;wBACnB,eAAe;wBACf,oBAAoB;wBACpB,iBAAiB;AAClB,qBAAA,EAAA,QAAA,EAAA,gyDAAA,EAAA;;;;;"}
|
@@ -3,7 +3,7 @@ import { inject, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import { AXPElementDataDirective } from '@acorex/platform/core';
|
6
|
-
import {
|
6
|
+
import { b as AXPDocumentExplorerViewModel } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
7
7
|
import * as i2 from '@acorex/core/format';
|
8
8
|
import { AXFormatModule } from '@acorex/core/format';
|
9
9
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
@@ -21,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
21
21
|
}] });
|
22
22
|
|
23
23
|
export { AXMDocumentExplorerDetailsViewComponent };
|
24
|
-
//# sourceMappingURL=acorex-modules-document-management-details-view.component-
|
24
|
+
//# sourceMappingURL=acorex-modules-document-management-details-view.component-BFMgAxeK.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-details-view.component-
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-details-view.component-BFMgAxeK.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/details/details-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/details/details-view.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPElementDataDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\n\n@Component({\n templateUrl: './details-view.component.html',\n styleUrls: ['./details-view.component.scss'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXFormatModule, AXDateTimeModule],\n})\nexport class AXMDocumentExplorerDetailsViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Details View -->\n<div class=\"details-view\">\n <table class=\"items-table\">\n <thead>\n <tr>\n <th class=\"name-column\">Name</th>\n <th class=\"type-column\">Type</th>\n <th class=\"size-column\">Size</th>\n <th class=\"date-column\">Last Modified</th>\n </tr>\n </thead>\n <tbody>\n @for (folder of vm.folders(); track folder.id) {\n <tr\n class=\"folder-row\"\n (dblclick)=\"vm.navigateToFolder(folder.id)\"\n (click)=\"vm.toggleSelect(folder)\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n >\n <td class=\"name-column axp-explorer-item\" [axp-data]=\"folder\">\n <div class=\"item-name\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n <span>{{ folder.name }}</span>\n </div>\n </td>\n <td class=\"type-column axp-explorer-item\" [axp-data]=\"folder\">Folder</td>\n <td class=\"size-column axp-explorer-item\" [axp-data]=\"folder\">\n {{ folder.size | format : 'filesize' | async }}\n </td>\n <td class=\"date-column axp-explorer-item\" [axp-data]=\"folder\">\n {{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}\n </td>\n </tr>\n } @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\n <tr\n class=\"file-row\"\n (dblclick)=\"vm.openFile(file)\"\n (click)=\"vm.toggleSelect(file)\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n >\n <td class=\"name-column axp-explorer-item\" [axp-data]=\"file\">\n <div class=\"item-name hover:ax-underline\">\n <i class=\"fa-fw {{ fileInfo.icon }} fa-solid\"></i>\n <span>{{ file.name }}</span>\n </div>\n </td>\n <td class=\"type-column axp-explorer-item\" [axp-data]=\"file\">{{ fileInfo.type }}</td>\n <td class=\"size-column axp-explorer-item\" [axp-data]=\"file\">{{ file.size | format : 'filesize' | async }}</td>\n <td class=\"date-column axp-explorer-item\" [axp-data]=\"file\">\n {{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}\n </td>\n </tr>\n }\n </tbody>\n </table>\n</div>\n"],"names":[],"mappings":";;;;;;;;;;MAaa,uCAAuC,CAAA;AANpD,IAAA,WAAA,GAAA;AAOc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD;8GAFY,uCAAuC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAvC,uCAAuC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbpD,24EA4DA,EDjDc,MAAA,EAAA,CAAA,w5CAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,oFAAE,uBAAuB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAExE,uCAAuC,EAAA,UAAA,EAAA,CAAA;kBANnD,SAAS;iCAGM,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,uBAAuB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,24EAAA,EAAA,MAAA,EAAA,CAAA,w5CAAA,CAAA,EAAA;;;;;"}
|
@@ -3,28 +3,30 @@ import { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';
|
|
3
3
|
import * as i2 from '@acorex/components/button';
|
4
4
|
import { AXButtonModule } from '@acorex/components/button';
|
5
5
|
import { AXButtonGroupModule } from '@acorex/components/button-group';
|
6
|
-
import * as
|
6
|
+
import * as i2$1 from '@acorex/components/decorators';
|
7
7
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
8
8
|
import { AXDropdownModule } from '@acorex/components/dropdown';
|
9
9
|
import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
|
10
10
|
import { AXLoadingModule } from '@acorex/components/loading';
|
11
11
|
import { AXMenuModule } from '@acorex/components/menu';
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import * as i5 from '@acorex/components/search-box';
|
12
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
13
|
+
import * as i6 from '@acorex/components/search-box';
|
15
14
|
import { AXSearchBoxModule } from '@acorex/components/search-box';
|
16
15
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
17
16
|
import { AXFileModule } from '@acorex/core/file';
|
18
17
|
import { AXFormatModule } from '@acorex/core/format';
|
18
|
+
import * as i4 from '@acorex/core/translation';
|
19
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
20
|
+
import { AXPSessionService } from '@acorex/platform/auth';
|
19
21
|
import { AXPFileTypeProviderService } from '@acorex/platform/common';
|
22
|
+
import { AXPPlatformScope } from '@acorex/platform/core';
|
20
23
|
import { AXPLayoutThemeService } from '@acorex/platform/themes/shared';
|
21
24
|
import * as i1 from '@angular/common';
|
22
25
|
import { CommonModule } from '@angular/common';
|
23
26
|
import * as i0 from '@angular/core';
|
24
27
|
import { inject, signal, viewChild, computed, effect, untracked, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
25
28
|
import { RouterModule } from '@angular/router';
|
26
|
-
import { R as RootConfig,
|
27
|
-
import { AXBasePageComponent } from '@acorex/components/page';
|
29
|
+
import { R as RootConfig, A as AXMDocumentManagerService, b as AXPDocumentExplorerViewModel, c as AXMDocumentExplorerComponent, d as AXMFolderPathBreadcrumbsComponent } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
28
30
|
|
29
31
|
class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
30
32
|
constructor() {
|
@@ -34,6 +36,7 @@ class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
|
34
36
|
this.fileTypeService = inject(AXPFileTypeProviderService);
|
35
37
|
this.driveService = inject(AXMDocumentManagerService);
|
36
38
|
this.vm = inject(AXPDocumentExplorerViewModel);
|
39
|
+
this.sessionService = inject(AXPSessionService);
|
37
40
|
this.filterItems = signal([]);
|
38
41
|
this.selectedFilter = signal('all');
|
39
42
|
this.browseMode = 'file';
|
@@ -67,13 +70,15 @@ class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
|
67
70
|
#navigateEffect;
|
68
71
|
#loadingEffect;
|
69
72
|
async handleSearchChange(event) {
|
70
|
-
const result = await this.driveService.searchNodes(event.value,
|
71
|
-
console.log(result);
|
73
|
+
const result = await this.driveService.searchNodes(event.value, AXPPlatformScope.Tenant);
|
72
74
|
}
|
73
75
|
async ngOnInit() {
|
74
76
|
super.ngOnInit();
|
75
77
|
await this.loadFilterItems();
|
76
|
-
await this.vm.initialize({
|
78
|
+
await this.vm.initialize({
|
79
|
+
browseMode: this.browseMode,
|
80
|
+
scope: this.scope,
|
81
|
+
});
|
77
82
|
this.loadDrive();
|
78
83
|
}
|
79
84
|
async loadDrive(folderId) {
|
@@ -81,7 +86,10 @@ class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
|
81
86
|
await this.vm.loadFolderContents(folderId);
|
82
87
|
}
|
83
88
|
else {
|
84
|
-
const root = await this.driveService.getRoot(
|
89
|
+
const root = await this.driveService.getRoot(this.scope, {
|
90
|
+
tenantId: this.sessionService.tenant?.id,
|
91
|
+
userId: this.sessionService.user?.id,
|
92
|
+
});
|
85
93
|
if (root.result) {
|
86
94
|
await this.vm.loadFolderContents(root.result.id);
|
87
95
|
}
|
@@ -122,9 +130,7 @@ class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
|
122
130
|
async handleSubmitButton() {
|
123
131
|
this.close({
|
124
132
|
result: true,
|
125
|
-
items: this.vm.browseMode() == 'file' ?
|
126
|
-
this.vm.selectedNodes() :
|
127
|
-
[this.vm.currentFolder()]
|
133
|
+
items: this.vm.browseMode() == 'file' ? this.vm.selectedNodes() : [this.vm.currentFolder()],
|
128
134
|
});
|
129
135
|
}
|
130
136
|
handleCancelClick() {
|
@@ -133,7 +139,7 @@ class AXMDocumentDriveChooseComponent extends AXBasePageComponent {
|
|
133
139
|
});
|
134
140
|
}
|
135
141
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentDriveChooseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
136
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXMDocumentDriveChooseComponent, isStandalone: true, selector: "ax-document-drive-choose", providers: [AXPDocumentExplorerViewModel], viewQueries: [{ propertyName: "documentExplorer", first: true, predicate: AXMDocumentExplorerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-p-2 ax-items-center ax-w-full ax-light-surface ax-border-b\" *translate=\"let t\">\n <!-- Breadcrumbs Section -->\n <axm-folder-path-breadcrumbs></axm-folder-path-breadcrumbs>\n <!-- Search Box -->\n <ax-search-box (onValueChanged)=\"handleSearchChange($event)\" class=\"ax-w-72 ax-sm\"\n [placeholder]=\"t('actions.search', { scope: rootConfig.config.i18n }) | async\"><ax-clear-button></ax-clear-button></ax-search-box>\n</div>\n<div class=\"ax-p-2\">\n <axm-document-explorer [browseMode]=\"browseMode\" [selectionMode]=\"selectionMode\" [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"></axm-document-explorer>\n</div>\n<ax-footer *translate=\"let t\">\n <ax-suffix>\n <ax-button (onClick)=\"handleCancelClick()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"primary\" (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(),{scope:rootConfig.config.i18n}) | async\">\n </ax-button>\n </ax-suffix>\n</ax-footer>", styles: ["ax-document-drive-choose{display:block;min-height:50vh;width:100%;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type:
|
142
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXMDocumentDriveChooseComponent, isStandalone: true, selector: "ax-document-drive-choose", providers: [AXPDocumentExplorerViewModel], viewQueries: [{ propertyName: "documentExplorer", first: true, predicate: AXMDocumentExplorerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-flex ax-p-2 ax-items-center ax-w-full ax-light-surface ax-border-b\" *translate=\"let t\">\n <!-- Breadcrumbs Section -->\n <axm-folder-path-breadcrumbs></axm-folder-path-breadcrumbs>\n <!-- Search Box -->\n <ax-search-box (onValueChanged)=\"handleSearchChange($event)\" class=\"ax-w-72 ax-sm\"\n [placeholder]=\"t('actions.search', { scope: rootConfig.config.i18n }) | async\"><ax-clear-button></ax-clear-button></ax-search-box>\n</div>\n<div class=\"ax-p-2\">\n <axm-document-explorer [browseMode]=\"browseMode\" [selectionMode]=\"selectionMode\" [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"></axm-document-explorer>\n</div>\n<ax-footer *translate=\"let t\">\n <ax-suffix>\n <ax-button (onClick)=\"handleCancelClick()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"primary\" (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(),{scope:rootConfig.config.i18n}) | async\">\n </ax-button>\n </ax-suffix>\n</ax-footer>", styles: ["ax-document-drive-choose{display:block;min-height:50vh;width:100%;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }, { kind: "directive", type: i4.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i2$1.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: AXLoadingModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i6.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXFileModule }, { kind: "ngmodule", type: AXBreadcrumbsModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "component", type: AXMDocumentExplorerComponent, selector: "axm-document-explorer", inputs: ["browseMode", "viewMode", "selectionMode", "showContextMenu"] }, { kind: "component", type: AXMFolderPathBreadcrumbsComponent, selector: "axm-folder-path-breadcrumbs" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
137
143
|
}
|
138
144
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMDocumentDriveChooseComponent, decorators: [{
|
139
145
|
type: Component,
|
@@ -155,9 +161,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
155
161
|
AXBreadcrumbsModule,
|
156
162
|
AXDateTimeModule,
|
157
163
|
AXMDocumentExplorerComponent,
|
158
|
-
AXMFolderPathBreadcrumbsComponent
|
164
|
+
AXMFolderPathBreadcrumbsComponent,
|
159
165
|
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [AXPDocumentExplorerViewModel], template: "<div class=\"ax-flex ax-p-2 ax-items-center ax-w-full ax-light-surface ax-border-b\" *translate=\"let t\">\n <!-- Breadcrumbs Section -->\n <axm-folder-path-breadcrumbs></axm-folder-path-breadcrumbs>\n <!-- Search Box -->\n <ax-search-box (onValueChanged)=\"handleSearchChange($event)\" class=\"ax-w-72 ax-sm\"\n [placeholder]=\"t('actions.search', { scope: rootConfig.config.i18n }) | async\"><ax-clear-button></ax-clear-button></ax-search-box>\n</div>\n<div class=\"ax-p-2\">\n <axm-document-explorer [browseMode]=\"browseMode\" [selectionMode]=\"selectionMode\" [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"></axm-document-explorer>\n</div>\n<ax-footer *translate=\"let t\">\n <ax-suffix>\n <ax-button (onClick)=\"handleCancelClick()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"primary\" (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(),{scope:rootConfig.config.i18n}) | async\">\n </ax-button>\n </ax-suffix>\n</ax-footer>", styles: ["ax-document-drive-choose{display:block;min-height:50vh;width:100%;background-color:rgb(var(--ax-sys-color-lightest-surface));color:rgb(var(--ax-sys-color-on-lightest-surface));border-color:rgb(var(--ax-sys-color-border-lightest-surface))}\n"] }]
|
160
166
|
}] });
|
161
167
|
|
162
168
|
export { AXMDocumentDriveChooseComponent };
|
163
|
-
//# sourceMappingURL=acorex-modules-document-management-drive-choose.component-
|
169
|
+
//# sourceMappingURL=acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-drive-choose.component-Bo-I7TN5.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/drive-choose/drive-choose.component.ts","../../../../libs/modules/document-management/src/lib/features/drive-choose/drive-choose.component.html"],"sourcesContent":["import { AXBadgeModule } from '@acorex/components/badge';\nimport { AXBreadcrumbsModule } from '@acorex/components/breadcrumbs';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXButtonGroupModule } from '@acorex/components/button-group';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXMenuModule } from '@acorex/components/menu';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXSearchBoxModule } from '@acorex/components/search-box';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\nimport { AXFileModule } from '@acorex/core/file';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSessionService } from '@acorex/platform/auth';\nimport { AXPFileTypeProviderService } from '@acorex/platform/common';\nimport { AXPPlatformScope } from '@acorex/platform/core';\nimport { AXPLayoutThemeService } from '@acorex/platform/themes/shared';\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n inject,\n OnInit,\n signal,\n untracked,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { RootConfig } from '../../const';\nimport { AXMDocumentExplorerComponent, AXPDocumentExplorerViewModel } from '../document-explorer';\nimport { AXMDocumentManagerService, AXMFolderPathBreadcrumbsComponent } from '../shared';\nimport { AXMDocumentExplorerBrowseMode, AXMDocumentSelectionMode } from '../shared/document-manager.types';\n@Component({\n selector: 'ax-document-drive-choose',\n templateUrl: './drive-choose.component.html',\n styleUrls: ['./drive-choose.component.scss'],\n standalone: true,\n imports: [\n CommonModule,\n RouterModule,\n AXMenuModule,\n AXButtonModule,\n AXButtonGroupModule,\n AXDropdownButtonModule,\n AXDropdownModule,\n AXTranslationModule,\n AXDecoratorModule,\n AXLoadingModule,\n AXBadgeModule,\n AXSearchBoxModule,\n AXFormatModule,\n AXFileModule,\n AXBreadcrumbsModule,\n AXDateTimeModule,\n AXMDocumentExplorerComponent,\n AXMFolderPathBreadcrumbsComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [AXPDocumentExplorerViewModel],\n})\nexport class AXMDocumentDriveChooseComponent extends AXBasePageComponent implements OnInit {\n public scope!: AXPPlatformScope;\n\n protected readonly layout = inject(AXPLayoutThemeService);\n protected readonly rootConfig = RootConfig;\n private readonly fileTypeService = inject(AXPFileTypeProviderService);\n private readonly driveService = inject(AXMDocumentManagerService);\n protected readonly vm = inject(AXPDocumentExplorerViewModel);\n protected readonly sessionService = inject(AXPSessionService);\n\n protected readonly filterItems = signal<Array<{ key: string; textKey: string; icon: string }>>([]);\n public selectedFilter = signal<string>('all');\n\n protected browseMode: AXMDocumentExplorerBrowseMode = 'file';\n protected selectionMode: AXMDocumentSelectionMode = 'single';\n\n protected readonly sortItems = signal([\n { key: 'name', textKey: 'actions.sort-by-name', icon: 'fa-light fa-font' },\n { key: 'modified', textKey: 'actions.sort-by-date', icon: 'fa-light fa-calendar' },\n { key: 'size', textKey: 'actions.sort-by-size', icon: 'fa-light fa-weight-hanging' },\n ]);\n\n protected documentExplorer = viewChild(AXMDocumentExplorerComponent);\n\n protected readonly selectedSort = computed(() => {\n const items = this.sortItems();\n return items.find((item) => item.key === this.vm.sortField()) || items[0];\n });\n\n protected readonly selectText = computed(() => {\n return this.vm.browseMode() == 'file' ? 'actions.select-file' : 'actions.select-folder';\n });\n\n #navigateEffect = effect(() => {\n const navigatingFolderId = this.vm.navigatingFolderId();\n if (navigatingFolderId) {\n this.loadDrive(navigatingFolderId);\n }\n });\n\n #loadingEffect = effect(() => {\n const isLoading = this.vm.isLoading();\n untracked(() => {\n this.layout.setNavigationLoading(isLoading);\n });\n });\n\n async handleSearchChange(event: any) {\n const result = await this.driveService.searchNodes(event.value, AXPPlatformScope.Tenant);\n }\n\n override async ngOnInit() {\n super.ngOnInit();\n await this.loadFilterItems();\n\n await this.vm.initialize({\n browseMode: this.browseMode,\n scope: this.scope,\n });\n this.loadDrive();\n }\n\n private async loadDrive(folderId?: string) {\n if (folderId) {\n await this.vm.loadFolderContents(folderId);\n } else {\n const root = await this.driveService.getRoot(this.scope, {\n tenantId: this.sessionService.tenant?.id,\n userId: this.sessionService.user?.id,\n });\n if (root.result) {\n await this.vm.loadFolderContents(root.result.id);\n }\n }\n }\n\n async loadFilterItems() {\n const types = await this.fileTypeService.items();\n const items = [\n { key: 'all', textKey: 'file-types.all', icon: 'fa-light fa-folder-closed' },\n ...types.map((type) => ({\n key: type.name,\n textKey: `file-types.${type.name}`,\n icon: type.icon || 'fa-light fa-file',\n })),\n ];\n this.filterItems.set(items);\n }\n\n protected setFilter(key: string): void {\n this.selectedFilter.set(key);\n }\n\n protected getFilterIcon(): string {\n if (this.selectedFilter() === 'all') {\n return 'fa-light fa-folder-closed';\n }\n const item = this.filterItems().find((item) => item.key === this.selectedFilter());\n return item?.icon || 'fa-light fa-file';\n }\n\n protected getFilterText(): string {\n if (this.selectedFilter() === 'all') {\n return 'file-types.all';\n }\n const item = this.filterItems().find((item) => item.key === this.selectedFilter());\n return item?.textKey || 'file-types.all';\n }\n\n protected handleNavigateToFolder(folderId: string) {\n this.vm.navigateToFolder(folderId);\n }\n\n protected async handleSubmitButton() {\n this.close({\n result: true,\n items: this.vm.browseMode() == 'file' ? this.vm.selectedNodes() : [this.vm.currentFolder()],\n });\n }\n\n protected handleCancelClick() {\n this.close({\n result: false,\n });\n }\n}\n","<div class=\"ax-flex ax-p-2 ax-items-center ax-w-full ax-light-surface ax-border-b\" *translate=\"let t\">\n <!-- Breadcrumbs Section -->\n <axm-folder-path-breadcrumbs></axm-folder-path-breadcrumbs>\n <!-- Search Box -->\n <ax-search-box (onValueChanged)=\"handleSearchChange($event)\" class=\"ax-w-72 ax-sm\"\n [placeholder]=\"t('actions.search', { scope: rootConfig.config.i18n }) | async\"><ax-clear-button></ax-clear-button></ax-search-box>\n</div>\n<div class=\"ax-p-2\">\n <axm-document-explorer [browseMode]=\"browseMode\" [selectionMode]=\"selectionMode\" [viewMode]=\"'list'\"\n [showContextMenu]=\"false\"></axm-document-explorer>\n</div>\n<ax-footer *translate=\"let t\">\n <ax-suffix>\n <ax-button (onClick)=\"handleCancelClick()\" [text]=\"'cancel' | translate | async\"></ax-button>\n <ax-button look=\"solid\" color=\"primary\" (onClick)=\"handleSubmitButton()\"\n [text]=\"t(selectText(),{scope:rootConfig.config.i18n}) | async\">\n </ax-button>\n </ax-suffix>\n</ax-footer>"],"names":["i4","i5"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEM,MAAO,+BAAgC,SAAQ,mBAAmB,CAAA;AA7BxE,IAAA,WAAA,GAAA;;AAgCqB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,qBAAqB,CAAC;QACtC,IAAU,CAAA,UAAA,GAAG,UAAU;AACzB,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,0BAA0B,CAAC;AACpD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC9C,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACzC,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE1C,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAwD,EAAE,CAAC;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onModule } from '@angular/common';
|
4
4
|
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';
|
5
|
-
import {
|
5
|
+
import { b as AXPDocumentExplorerViewModel } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
6
6
|
|
7
7
|
class AXMDocumentExplorerLargeIconsViewComponent {
|
8
8
|
constructor() {
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
17
17
|
}] });
|
18
18
|
|
19
19
|
export { AXMDocumentExplorerLargeIconsViewComponent };
|
20
|
-
//# sourceMappingURL=acorex-modules-document-management-large-icons-view.component-
|
20
|
+
//# sourceMappingURL=acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-large-icons-view.component-
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-large-icons-view.component-CZ-GUtnO.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/large-icons/large-icons-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/large-icons/large-icons-view.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPDblClickDirective, AXPElementDataDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\n\n@Component({\n selector: 'axm-document-explorer-large-icons-view',\n templateUrl: './large-icons-view.component.html',\n styleUrls: ['./large-icons-view.component.scss'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective],\n})\nexport class AXMDocumentExplorerLargeIconsViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Large Icons View -->\n<div class=\"__content fa-4x\">\n @for (folder of vm.folders(); track folder.id) {\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon ax-text-yellow-400\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n </div>\n <div class=\"__name\">{{ folder.name }}</div>\n </div>\n } @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\">\n <i class=\"fa-fw {{ fileInfo.icon }} fa-solid\"></i>\n </div>\n <div class=\"__name\">{{ file.name }}</div>\n </div>\n }\n</div>\n"],"names":[],"mappings":";;;;;;MAYa,0CAA0C,CAAA;AAPvD,IAAA,WAAA,GAAA;AAQc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD;8GAFY,0CAA0C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA1C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0CAA0C,kGCZvD,okCAkCA,EAAA,MAAA,EAAA,CAAA,m8BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDxBc,YAAY,EAAE,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,uBAAuB,8FAAE,oBAAoB,EAAA,QAAA,EAAA,cAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAE5D,0CAA0C,EAAA,UAAA,EAAA,CAAA;kBAPtD,SAAS;+BACI,wCAAwC,EAAA,UAAA,EAGtC,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAA,QAAA,EAAA,okCAAA,EAAA,MAAA,EAAA,CAAA,m8BAAA,CAAA,EAAA;;;;;"}
|
@@ -3,7 +3,7 @@ import { inject, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';
|
6
|
-
import {
|
6
|
+
import { b as AXPDocumentExplorerViewModel } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
7
7
|
import * as i2 from '@acorex/core/format';
|
8
8
|
import { AXFormatModule } from '@acorex/core/format';
|
9
9
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
@@ -21,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
21
21
|
}] });
|
22
22
|
|
23
23
|
export { AXMDocumentExplorerLargeTilesViewComponent };
|
24
|
-
//# sourceMappingURL=acorex-modules-document-management-large-tiles-view.component-
|
24
|
+
//# sourceMappingURL=acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-large-tiles-view.component-
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-large-tiles-view.component-Cw5yZ851.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPDblClickDirective, AXPElementDataDirective } from '@acorex/platform/core';\nimport { AXPDocumentExplorerViewModel } from '../../document-explorer.viewmodel';\nimport { AXFormatModule } from '@acorex/core/format';\nimport { AXDateTimeModule } from '@acorex/core/date-time';\n\n@Component({\n selector: 'axm-document-explorer-large-tiles-view',\n templateUrl: './large-tiles-view.component.html',\n styleUrls: ['./large-tiles-view.component.scss'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule],\n})\nexport class AXMDocumentExplorerLargeTilesViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Folders Section -->\n@if (vm.folders().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Folders</h3>\n </div>\n <div class=\"__content\">\n @for (folder of vm.folders(); track folder.id) {\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(folder)\"\n [axp-data]=\"folder\"\n (click)=\"vm.toggleSelect(folder)\"\n (onDblClick)=\"vm.navigateToFolder(folder.id)\"\n >\n <div class=\"__icon ax-text-yellow-400\">\n @if (vm.isLoadingFolder(folder.id)) {\n <i class=\"fa-light fa-spinner fa-spin-pulse\"></i>\n } @else {\n <i class=\"fas fa-folder-closed\"></i>\n }\n </div>\n <span class=\"__name\">{{ folder.name }}</span>\n <div class=\"__info\">\n <span>{{ folder.childrenCount }} items</span>\n <span>{{ folder.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.files().length > 0) {\n<div class=\"__section fa-3x\">\n <div class=\"__header\">\n <h3 class=\"__title\">Files</h3>\n </div>\n <div class=\"__content\">\n @for (file of vm.files(); track file.id) { @let fileInfo = vm.getFileInfo(file.name);\n <div\n class=\"__explorer-item\"\n [class.--selected]=\"vm.isItemSelected(file)\"\n [axp-data]=\"file\"\n (click)=\"vm.toggleSelect(file)\"\n (dblclick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon\">\n <i class=\"fa-fw {{ fileInfo.icon }} fa-solid\"></i>\n </div>\n <span class=\"__name\">{{ file.name }}</span>\n <div class=\"__info\">\n <span>{{ file.size | format : 'filesize' | async }}</span>\n <span>{{ file.modifiedAt | format : 'datetime' : { format: 'datetime' } | async }}</span>\n </div>\n </div>\n }\n </div>\n</div>\n}\n"],"names":[],"mappings":";;;;;;;;;;MAca,0CAA0C,CAAA;AAPvD,IAAA,WAAA,GAAA;AAQc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD;8GAFY,0CAA0C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA1C,0CAA0C,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECdvD,o5DA6DA,EAAA,MAAA,EAAA,CAAA,ygDAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDjDc,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,uBAAuB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,oBAAoB,EAAA,QAAA,EAAA,cAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,gBAAgB,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAE9F,0CAA0C,EAAA,UAAA,EAAA,CAAA;kBAPtD,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,wCAAwC,EAGtC,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,o5DAAA,EAAA,MAAA,EAAA,CAAA,ygDAAA,CAAA,EAAA;;;;;"}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import * as i2 from '@acorex/components/button';
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
3
|
+
import * as i3 from '@acorex/components/form';
|
4
|
+
import { AXFormModule } from '@acorex/components/form';
|
5
|
+
import * as i1$1 from '@acorex/components/select-box';
|
6
|
+
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
7
|
+
import * as i4 from '@acorex/components/text-box';
|
8
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
9
|
+
import * as i1 from '@angular/common';
|
10
|
+
import { CommonModule } from '@angular/common';
|
11
|
+
import * as i0 from '@angular/core';
|
12
|
+
import { Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
13
|
+
import { AXDateTimePickerModule } from '@acorex/components/datetime-picker';
|
14
|
+
|
15
|
+
class AXMLinkDialogComponent {
|
16
|
+
constructor() {
|
17
|
+
this.linkType = 'view';
|
18
|
+
this.expirationDate = null;
|
19
|
+
this.permission = 'view';
|
20
|
+
this.generatedLink = '';
|
21
|
+
this.linkTypes = [
|
22
|
+
{ value: 'view', text: 'View Only Link' },
|
23
|
+
{ value: 'edit', text: 'Edit Link' },
|
24
|
+
{ value: 'download', text: 'Download Link' },
|
25
|
+
];
|
26
|
+
this.permissions = [
|
27
|
+
{ value: 'view', text: 'View only' },
|
28
|
+
{ value: 'edit', text: 'Can edit' },
|
29
|
+
{ value: 'full', text: 'Full access' },
|
30
|
+
];
|
31
|
+
}
|
32
|
+
handleLinkTypeChange(event) {
|
33
|
+
this.linkType = event;
|
34
|
+
}
|
35
|
+
handlePermissionChange(event) {
|
36
|
+
this.permission = event;
|
37
|
+
}
|
38
|
+
copyLink() {
|
39
|
+
if (this.generatedLink) {
|
40
|
+
navigator.clipboard.writeText(this.generatedLink);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
onGenerate() {
|
44
|
+
// Here we would typically make an API call to generate the link
|
45
|
+
this.generatedLink = `https://example.com/share/${this.node.id}?type=${this.linkType}&permission=${this.permission}`;
|
46
|
+
console.log({
|
47
|
+
result: true,
|
48
|
+
data: {
|
49
|
+
linkType: this.linkType,
|
50
|
+
permission: this.permission,
|
51
|
+
expirationDate: this.expirationDate,
|
52
|
+
link: this.generatedLink,
|
53
|
+
},
|
54
|
+
});
|
55
|
+
}
|
56
|
+
onCancel() {
|
57
|
+
console.log({ result: false });
|
58
|
+
}
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMLinkDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
60
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMLinkDialogComponent, isStandalone: true, selector: "ax-link-dialog", inputs: { node: "node" }, ngImport: i0, template: "<div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Link Type:</ax-label>\n <ax-select-box\n [(value)]=\"linkType\"\n [dataSource]=\"linkTypes\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handleLinkTypeChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Expiration:</ax-label>\n <ax-date-picker [(value)]=\"expirationDate\"></ax-date-picker>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Permission:</ax-label>\n <ax-select-box\n [(value)]=\"permission\"\n [dataSource]=\"permissions\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handlePermissionChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field *ngIf=\"generatedLink\">\n <ax-label>Generated Link:</ax-label>\n <ax-text-box [(value)]=\"generatedLink\" [readonly]=\"true\">\n <ax-suffix>\n <ax-button text=\"Copy\" size=\"small\" (onClick)=\"copyLink()\"></ax-button>\n </ax-suffix>\n </ax-text-box>\n </ax-form-field>\n </ax-form>\n <ax-footer>\n <ax-suffix>\n <ax-button text=\"Cancel\" (onClick)=\"onCancel()\"></ax-button>\n <ax-button text=\"Generate Link\" (onClick)=\"onGenerate()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i3.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i4.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXDateTimePickerModule }] }); }
|
61
|
+
}
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMLinkDialogComponent, decorators: [{
|
63
|
+
type: Component,
|
64
|
+
args: [{ selector: 'ax-link-dialog', standalone: true, imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule, AXDateTimePickerModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Link Type:</ax-label>\n <ax-select-box\n [(value)]=\"linkType\"\n [dataSource]=\"linkTypes\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handleLinkTypeChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Expiration:</ax-label>\n <ax-date-picker [(value)]=\"expirationDate\"></ax-date-picker>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Permission:</ax-label>\n <ax-select-box\n [(value)]=\"permission\"\n [dataSource]=\"permissions\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handlePermissionChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field *ngIf=\"generatedLink\">\n <ax-label>Generated Link:</ax-label>\n <ax-text-box [(value)]=\"generatedLink\" [readonly]=\"true\">\n <ax-suffix>\n <ax-button text=\"Copy\" size=\"small\" (onClick)=\"copyLink()\"></ax-button>\n </ax-suffix>\n </ax-text-box>\n </ax-form-field>\n </ax-form>\n <ax-footer>\n <ax-suffix>\n <ax-button text=\"Cancel\" (onClick)=\"onCancel()\"></ax-button>\n <ax-button text=\"Generate Link\" (onClick)=\"onGenerate()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n" }]
|
65
|
+
}], propDecorators: { node: [{
|
66
|
+
type: Input
|
67
|
+
}] } });
|
68
|
+
|
69
|
+
export { AXMLinkDialogComponent };
|
70
|
+
//# sourceMappingURL=acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-link-dialog.component-1iPUnhr1.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/link-dialog/link-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/shared/components/link-dialog/link-dialog.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXFormModule } from '@acorex/components/form';\nimport { AXSelectBoxModule } from '@acorex/components/select-box';\nimport { AXTextBoxModule } from '@acorex/components/text-box';\nimport { CommonModule } from '@angular/common';\nimport { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';\nimport { AXMDocumentExplorerNode } from '../../document-manager.types';\nimport { AXDateTimePickerModule } from '@acorex/components/datetime-picker';\n\n@Component({\n selector: 'ax-link-dialog',\n standalone: true,\n imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule, AXDateTimePickerModule],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n templateUrl: './link-dialog.component.html',\n})\nexport class AXMLinkDialogComponent {\n @Input() node: AXMDocumentExplorerNode;\n\n linkType: string = 'view';\n expirationDate: Date | null = null;\n permission: string = 'view';\n generatedLink: string = '';\n\n linkTypes = [\n { value: 'view', text: 'View Only Link' },\n { value: 'edit', text: 'Edit Link' },\n { value: 'download', text: 'Download Link' },\n ];\n\n permissions = [\n { value: 'view', text: 'View only' },\n { value: 'edit', text: 'Can edit' },\n { value: 'full', text: 'Full access' },\n ];\n\n handleLinkTypeChange(event: any) {\n this.linkType = event;\n }\n\n handlePermissionChange(event: any) {\n this.permission = event;\n }\n\n copyLink() {\n if (this.generatedLink) {\n navigator.clipboard.writeText(this.generatedLink);\n }\n }\n\n onGenerate() {\n // Here we would typically make an API call to generate the link\n this.generatedLink = `https://example.com/share/${this.node.id}?type=${this.linkType}&permission=${this.permission}`;\n\n console.log({\n result: true,\n data: {\n linkType: this.linkType,\n permission: this.permission,\n expirationDate: this.expirationDate,\n link: this.generatedLink,\n },\n });\n }\n\n onCancel() {\n console.log({ result: false });\n }\n}\n","<div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Link Type:</ax-label>\n <ax-select-box\n [(value)]=\"linkType\"\n [dataSource]=\"linkTypes\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handleLinkTypeChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Expiration:</ax-label>\n <ax-date-picker [(value)]=\"expirationDate\"></ax-date-picker>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Permission:</ax-label>\n <ax-select-box\n [(value)]=\"permission\"\n [dataSource]=\"permissions\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handlePermissionChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field *ngIf=\"generatedLink\">\n <ax-label>Generated Link:</ax-label>\n <ax-text-box [(value)]=\"generatedLink\" [readonly]=\"true\">\n <ax-suffix>\n <ax-button text=\"Copy\" size=\"small\" (onClick)=\"copyLink()\"></ax-button>\n </ax-suffix>\n </ax-text-box>\n </ax-form-field>\n </ax-form>\n <ax-footer>\n <ax-suffix>\n <ax-button text=\"Cancel\" (onClick)=\"onCancel()\"></ax-button>\n <ax-button text=\"Generate Link\" (onClick)=\"onGenerate()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i2","i3","i4"],"m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AA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,qbAAE,sBAAsB,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIrG,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,cACd,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,EAAE,sBAAsB,CAAC,EACxG,OAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,m5CAAA,EAAA;8BAIxB,IAAI,EAAA,CAAA;sBAAZ;;;;;"}
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, Component } from '@angular/core';
|
3
3
|
import { CommonModule } from '@angular/common';
|
4
4
|
import { AXPElementDataDirective, AXPDblClickDirective } from '@acorex/platform/core';
|
5
|
-
import {
|
5
|
+
import { b as AXPDocumentExplorerViewModel } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
6
6
|
|
7
7
|
class AXMDocumentExplorerListViewComponent {
|
8
8
|
constructor() {
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
17
17
|
}] });
|
18
18
|
|
19
19
|
export { AXMDocumentExplorerListViewComponent };
|
20
|
-
//# sourceMappingURL=acorex-modules-document-management-list-view.component-
|
20
|
+
//# sourceMappingURL=acorex-modules-document-management-list-view.component-BPkaAGjR.mjs.map
|