@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-list-view.component-
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-list-view.component-BPkaAGjR.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/list/list-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/list/list-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-list-view',\n templateUrl: './list-view.component.html',\n styleUrls: ['./list-view.component.scss'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective],\n})\nexport class AXMDocumentExplorerListViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- List View -->\n<div class=\"__content fa-xl\">\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,oCAAoC,CAAA;AAPjD,IAAA,WAAA,GAAA;AAQc,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACtD;8GAFY,oCAAoC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oCAAoC,2FCZjD,6jCAkCA,EAAA,MAAA,EAAA,CAAA,m2BAAA,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,oCAAoC,EAAA,UAAA,EAAA,CAAA;kBAPhD,SAAS;+BACI,iCAAiC,EAAA,UAAA,EAG/B,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAA,QAAA,EAAA,6jCAAA,EAAA,MAAA,EAAA,CAAA,m2BAAA,CAAA,EAAA;;;;;"}
|
@@ -0,0 +1,52 @@
|
|
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 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 { CommonModule } from '@angular/common';
|
10
|
+
import * as i0 from '@angular/core';
|
11
|
+
import { Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
12
|
+
|
13
|
+
class AXMLockDialogComponent {
|
14
|
+
constructor() {
|
15
|
+
this.duration = '1h';
|
16
|
+
this.reason = '';
|
17
|
+
this.durations = [
|
18
|
+
{ value: '1h', text: '1 Hour' },
|
19
|
+
{ value: '4h', text: '4 Hours' },
|
20
|
+
{ value: '8h', text: '8 Hours' },
|
21
|
+
{ value: '1d', text: '1 Day' },
|
22
|
+
{ value: '1w', text: '1 Week' },
|
23
|
+
{ value: 'permanent', text: 'Permanent' },
|
24
|
+
];
|
25
|
+
}
|
26
|
+
handleDurationChange(event) {
|
27
|
+
this.duration = event;
|
28
|
+
}
|
29
|
+
onLock() {
|
30
|
+
console.log({
|
31
|
+
result: true,
|
32
|
+
data: {
|
33
|
+
duration: this.duration,
|
34
|
+
reason: this.reason,
|
35
|
+
},
|
36
|
+
});
|
37
|
+
}
|
38
|
+
onCancel() {
|
39
|
+
console.log({ result: false });
|
40
|
+
}
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMLockDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
42
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMLockDialogComponent, isStandalone: true, selector: "ax-lock-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>Lock Duration:</ax-label>\n <ax-select-box\n [(value)]=\"duration\"\n [dataSource]=\"durations\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handleDurationChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Reason (Optional):</ax-label>\n <ax-text-box [(value)]=\"reason\" [multiline]=\"true\"></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=\"Lock\" (onClick)=\"onLock()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1.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"] }] }); }
|
43
|
+
}
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMLockDialogComponent, decorators: [{
|
45
|
+
type: Component,
|
46
|
+
args: [{ selector: 'ax-lock-dialog', standalone: true, imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Lock Duration:</ax-label>\n <ax-select-box\n [(value)]=\"duration\"\n [dataSource]=\"durations\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handleDurationChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Reason (Optional):</ax-label>\n <ax-text-box [(value)]=\"reason\" [multiline]=\"true\"></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=\"Lock\" (onClick)=\"onLock()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n" }]
|
47
|
+
}], propDecorators: { node: [{
|
48
|
+
type: Input
|
49
|
+
}] } });
|
50
|
+
|
51
|
+
export { AXMLockDialogComponent };
|
52
|
+
//# sourceMappingURL=acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-lock-dialog.component-BwKdUUcf.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/lock-dialog/lock-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/shared/components/lock-dialog/lock-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';\n\n@Component({\n selector: 'ax-lock-dialog',\n standalone: true,\n imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n templateUrl: './lock-dialog.component.html',\n})\nexport class AXMLockDialogComponent {\n @Input() node: AXMDocumentExplorerNode;\n\n duration: string = '1h';\n reason: string = '';\n\n durations = [\n { value: '1h', text: '1 Hour' },\n { value: '4h', text: '4 Hours' },\n { value: '8h', text: '8 Hours' },\n { value: '1d', text: '1 Day' },\n { value: '1w', text: '1 Week' },\n { value: 'permanent', text: 'Permanent' },\n ];\n\n handleDurationChange(event: any) {\n this.duration = event;\n }\n\n onLock() {\n console.log({\n result: true,\n data: {\n duration: this.duration,\n reason: this.reason,\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>Lock Duration:</ax-label>\n <ax-select-box\n [(value)]=\"duration\"\n [dataSource]=\"durations\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"handleDurationChange($event)\"\n >\n </ax-select-box>\n </ax-form-field>\n <ax-form-field>\n <ax-label>Reason (Optional):</ax-label>\n <ax-text-box [(value)]=\"reason\" [multiline]=\"true\"></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=\"Lock\" (onClick)=\"onLock()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":[],"mappings":";;;;;;;;;;;;MAea,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QAUE,IAAQ,CAAA,QAAA,GAAW,IAAI;QACvB,IAAM,CAAA,MAAA,GAAW,EAAE;AAEnB,QAAA,IAAA,CAAA,SAAS,GAAG;AACV,YAAA,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;AAC/B,YAAA,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;AAChC,YAAA,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;AAChC,YAAA,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;AAC9B,YAAA,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;AAC/B,YAAA,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE;SAC1C;AAmBF;AAjBC,IAAA,oBAAoB,CAAC,KAAU,EAAA;AAC7B,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;;IAGvB,MAAM,GAAA;QACJ,OAAO,CAAC,GAAG,CAAC;AACV,YAAA,MAAM,EAAE,IAAI;AACZ,YAAA,IAAI,EAAE;gBACJ,QAAQ,EAAE,IAAI,CAA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,EAAA,gBAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,SAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAI7E,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,CAAC,EAChF,OAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,iwBAAA,EAAA;8BAIxB,IAAI,EAAA,CAAA;sBAAZ;;;;;"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import * as i2$
|
1
|
+
import * as i2$2 from '@acorex/components/button';
|
2
2
|
import { AXButtonModule } from '@acorex/components/button';
|
3
3
|
import { AXColorBoxModule } from '@acorex/components/color-box';
|
4
4
|
import { AXAutoFocusDirective } from '@acorex/components/common';
|
5
|
-
import * as
|
5
|
+
import * as i2$1 from '@acorex/components/decorators';
|
6
6
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
7
|
-
import * as
|
7
|
+
import * as i3 from '@acorex/components/form';
|
8
8
|
import { AXFormModule } from '@acorex/components/form';
|
9
9
|
import * as i4$1 from '@acorex/components/label';
|
10
10
|
import { AXLabelModule } from '@acorex/components/label';
|
@@ -13,7 +13,7 @@ import { AXLoadingModule } from '@acorex/components/loading';
|
|
13
13
|
import { AXBasePageComponent } from '@acorex/components/page';
|
14
14
|
import * as i4 from '@acorex/components/text-box';
|
15
15
|
import { AXTextBoxModule } from '@acorex/components/text-box';
|
16
|
-
import * as
|
16
|
+
import * as i4$2 from '@acorex/core/translation';
|
17
17
|
import { AXTranslationModule } from '@acorex/core/translation';
|
18
18
|
import * as i1 from '@angular/common';
|
19
19
|
import { CommonModule } from '@angular/common';
|
@@ -21,7 +21,7 @@ import * as i0 from '@angular/core';
|
|
21
21
|
import { inject, model, Component } from '@angular/core';
|
22
22
|
import * as i2 from '@angular/forms';
|
23
23
|
import { FormsModule } from '@angular/forms';
|
24
|
-
import {
|
24
|
+
import { A as AXMDocumentManagerService } from './acorex-modules-document-management-acorex-modules-document-management-C36haVZ_.mjs';
|
25
25
|
|
26
26
|
class AXMRenameNodeDialog extends AXBasePageComponent {
|
27
27
|
constructor() {
|
@@ -38,7 +38,6 @@ class AXMRenameNodeDialog extends AXBasePageComponent {
|
|
38
38
|
const validated = await form.validate();
|
39
39
|
if (validated.result) {
|
40
40
|
try {
|
41
|
-
debugger;
|
42
41
|
if (this.node.type == 'folder') {
|
43
42
|
const folder = await this.driveService.updateFolder(this.node.id, {
|
44
43
|
name: this.name(),
|
@@ -49,6 +48,7 @@ class AXMRenameNodeDialog extends AXBasePageComponent {
|
|
49
48
|
});
|
50
49
|
}
|
51
50
|
else {
|
51
|
+
await this.driveService.updateFileName(this.node, this.name());
|
52
52
|
const file = await this.driveService.updateFile(this.node.id, {
|
53
53
|
name: this.name(),
|
54
54
|
});
|
@@ -75,9 +75,9 @@ class AXMRenameNodeDialog extends AXBasePageComponent {
|
|
75
75
|
});
|
76
76
|
}
|
77
77
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMRenameNodeDialog, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
78
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMRenameNodeDialog, isStandalone: true, selector: "ax-rename-node-dialog", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { name: "nameChange" }, 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 <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=\"
|
78
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMRenameNodeDialog, isStandalone: true, selector: "ax-rename-node-dialog", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { name: "nameChange" }, 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 <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:
|
79
79
|
//
|
80
|
-
AXDecoratorModule }, { kind: "component", type:
|
80
|
+
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: "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"] }] }); }
|
81
81
|
}
|
82
82
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMRenameNodeDialog, decorators: [{
|
83
83
|
type: Component,
|
@@ -94,8 +94,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
94
94
|
AXTranslationModule,
|
95
95
|
AXLoadingModule,
|
96
96
|
AXAutoFocusDirective,
|
97
|
-
], 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 <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=\"
|
97
|
+
], 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 <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" }]
|
98
98
|
}] });
|
99
99
|
|
100
100
|
export { AXMRenameNodeDialog };
|
101
|
-
//# sourceMappingURL=acorex-modules-document-management-rename-node-dialog.component-
|
101
|
+
//# sourceMappingURL=acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs.map
|
package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-rename-node-dialog.component-DEhPxW3b.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXColorBoxModule } from '@acorex/components/color-box';\nimport { AXAutoFocusDirective } 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 { AXTextBoxModule } from '@acorex/components/text-box';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { Component, inject, model } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXMDocumentManagerService } from '../../../shared/document-manager.service';\nimport { AXMDocumentExplorerNode } from '../../../shared/document-manager.types';\n@Component({\n selector: 'ax-rename-node-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 ],\n templateUrl: './rename-node-dialog.component.html',\n})\nexport class AXMRenameNodeDialog extends AXBasePageComponent {\n private driveService = inject(AXMDocumentManagerService);\n\n node: AXMDocumentExplorerNode;\n\n protected name = model<string>('');\n\n protected override ngOnInit(): void {\n super.ngOnInit();\n this.name.set(this.node.name);\n }\n\n async handleSubmitButton(form: AXFormComponent) {\n this.isLoading = true;\n const validated = await form.validate();\n if (validated.result) {\n try {\n if (this.node.type == 'folder') {\n const folder = await this.driveService.updateFolder(this.node.id, {\n name: this.name(),\n });\n this.close({\n result: true,\n folder,\n });\n } else {\n await this.driveService.updateFileName(this.node, this.name());\n const file = await this.driveService.updateFile(this.node.id, {\n name: this.name(),\n });\n this.close({\n result: true,\n file,\n });\n }\n } catch (error) {\n console.error('Error updating node:', 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 <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":["i3","i6","i7","i8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCM,MAAO,mBAAoB,SAAQ,mBAAmB,CAAA;AAnB5D,IAAA,WAAA,GAAA;;AAoBU,QAAA,IAAA,C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+1,143 @@
|
|
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 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 { CommonModule } from '@angular/common';
|
10
|
+
import * as i0 from '@angular/core';
|
11
|
+
import { Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
12
|
+
|
13
|
+
class AXMShareDialogComponent {
|
14
|
+
constructor() {
|
15
|
+
this.selectedUsers = [];
|
16
|
+
this.permission = 'view';
|
17
|
+
this.message = '';
|
18
|
+
this.users = [
|
19
|
+
{ id: 1, name: 'User 1' },
|
20
|
+
{ id: 2, name: 'User 2' },
|
21
|
+
{ id: 3, name: 'User 3' },
|
22
|
+
];
|
23
|
+
this.permissions = [
|
24
|
+
{ value: 'view', text: 'View only' },
|
25
|
+
{ value: 'edit', text: 'Can edit' },
|
26
|
+
{ value: 'full', text: 'Full access' },
|
27
|
+
];
|
28
|
+
}
|
29
|
+
handleUserChange(event) {
|
30
|
+
this.selectedUsers = event;
|
31
|
+
}
|
32
|
+
handlePermissionChange(event) {
|
33
|
+
this.permission = event;
|
34
|
+
}
|
35
|
+
onShare() {
|
36
|
+
// The parent component will handle closing
|
37
|
+
console.log({
|
38
|
+
result: true,
|
39
|
+
data: {
|
40
|
+
users: this.selectedUsers,
|
41
|
+
permission: this.permission,
|
42
|
+
message: this.message,
|
43
|
+
},
|
44
|
+
});
|
45
|
+
}
|
46
|
+
onCancel() {
|
47
|
+
// The parent component will handle closing
|
48
|
+
console.log({ result: false });
|
49
|
+
}
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShareDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
51
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMShareDialogComponent, isStandalone: true, selector: "ax-share-dialog", inputs: { node: "node" }, ngImport: i0, template: `
|
52
|
+
<div class="ax-p-4 ax-gap-2">
|
53
|
+
<ax-form>
|
54
|
+
<ax-form-field>
|
55
|
+
<ax-label>Share with:</ax-label>
|
56
|
+
<ax-select-box
|
57
|
+
[(value)]="selectedUsers"
|
58
|
+
[dataSource]="users"
|
59
|
+
[multiple]="true"
|
60
|
+
valueField="id"
|
61
|
+
textField="name"
|
62
|
+
(onValueChanged)="handleUserChange($event)"
|
63
|
+
>
|
64
|
+
</ax-select-box>
|
65
|
+
</ax-form-field>
|
66
|
+
<ax-form-field>
|
67
|
+
<ax-label>Permission:</ax-label>
|
68
|
+
<ax-select-box
|
69
|
+
[(value)]="permission"
|
70
|
+
[dataSource]="permissions"
|
71
|
+
valueField="value"
|
72
|
+
textField="text"
|
73
|
+
(onValueChanged)="handlePermissionChange($event)"
|
74
|
+
>
|
75
|
+
</ax-select-box>
|
76
|
+
</ax-form-field>
|
77
|
+
<ax-form-field>
|
78
|
+
<ax-label>Message (Optional):</ax-label>
|
79
|
+
<ax-text-box [(value)]="message" [multiline]="true"></ax-text-box>
|
80
|
+
</ax-form-field>
|
81
|
+
</ax-form>
|
82
|
+
<ax-footer>
|
83
|
+
<ax-suffix>
|
84
|
+
<ax-button text="Cancel" (onClick)="onCancel()"></ax-button>
|
85
|
+
<ax-button text="Share" (onClick)="onShare()"></ax-button>
|
86
|
+
</ax-suffix>
|
87
|
+
</ax-footer>
|
88
|
+
</div>
|
89
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1.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"] }] }); }
|
90
|
+
}
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShareDialogComponent, decorators: [{
|
92
|
+
type: Component,
|
93
|
+
args: [{
|
94
|
+
selector: 'ax-share-dialog',
|
95
|
+
standalone: true,
|
96
|
+
imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule],
|
97
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
98
|
+
template: `
|
99
|
+
<div class="ax-p-4 ax-gap-2">
|
100
|
+
<ax-form>
|
101
|
+
<ax-form-field>
|
102
|
+
<ax-label>Share with:</ax-label>
|
103
|
+
<ax-select-box
|
104
|
+
[(value)]="selectedUsers"
|
105
|
+
[dataSource]="users"
|
106
|
+
[multiple]="true"
|
107
|
+
valueField="id"
|
108
|
+
textField="name"
|
109
|
+
(onValueChanged)="handleUserChange($event)"
|
110
|
+
>
|
111
|
+
</ax-select-box>
|
112
|
+
</ax-form-field>
|
113
|
+
<ax-form-field>
|
114
|
+
<ax-label>Permission:</ax-label>
|
115
|
+
<ax-select-box
|
116
|
+
[(value)]="permission"
|
117
|
+
[dataSource]="permissions"
|
118
|
+
valueField="value"
|
119
|
+
textField="text"
|
120
|
+
(onValueChanged)="handlePermissionChange($event)"
|
121
|
+
>
|
122
|
+
</ax-select-box>
|
123
|
+
</ax-form-field>
|
124
|
+
<ax-form-field>
|
125
|
+
<ax-label>Message (Optional):</ax-label>
|
126
|
+
<ax-text-box [(value)]="message" [multiline]="true"></ax-text-box>
|
127
|
+
</ax-form-field>
|
128
|
+
</ax-form>
|
129
|
+
<ax-footer>
|
130
|
+
<ax-suffix>
|
131
|
+
<ax-button text="Cancel" (onClick)="onCancel()"></ax-button>
|
132
|
+
<ax-button text="Share" (onClick)="onShare()"></ax-button>
|
133
|
+
</ax-suffix>
|
134
|
+
</ax-footer>
|
135
|
+
</div>
|
136
|
+
`,
|
137
|
+
}]
|
138
|
+
}], propDecorators: { node: [{
|
139
|
+
type: Input
|
140
|
+
}] } });
|
141
|
+
|
142
|
+
export { AXMShareDialogComponent };
|
143
|
+
//# sourceMappingURL=acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-share-dialog.component-BiNdRpqs.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/share-dialog/share-dialog.component.ts"],"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';\n\n@Component({\n selector: 'ax-share-dialog',\n standalone: true,\n imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n template: `\n <div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Share with:</ax-label>\n <ax-select-box\n [(value)]=\"selectedUsers\"\n [dataSource]=\"users\"\n [multiple]=\"true\"\n valueField=\"id\"\n textField=\"name\"\n (onValueChanged)=\"handleUserChange($event)\"\n >\n </ax-select-box>\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>\n <ax-label>Message (Optional):</ax-label>\n <ax-text-box [(value)]=\"message\" [multiline]=\"true\"></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=\"Share\" (onClick)=\"onShare()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n </div>\n `,\n})\nexport class AXMShareDialogComponent {\n @Input() node: AXMDocumentExplorerNode;\n\n selectedUsers: any[] = [];\n permission: string = 'view';\n message: string = '';\n\n users = [\n { id: 1, name: 'User 1' },\n { id: 2, name: 'User 2' },\n { id: 3, name: 'User 3' },\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 handleUserChange(event: any) {\n this.selectedUsers = event;\n }\n\n handlePermissionChange(event: any) {\n this.permission = event;\n }\n\n onShare() {\n // The parent component will handle closing\n console.log({\n result: true,\n data: {\n users: this.selectedUsers,\n permission: this.permission,\n message: this.message,\n },\n });\n }\n\n onCancel() {\n // The parent component will handle closing\n console.log({ result: false });\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;MAqDa,uBAAuB,CAAA;AA7CpC,IAAA,WAAA,GAAA;QAgDE,IAAa,CAAA,aAAA,GAAU,EAAE;QACzB,IAAU,CAAA,UAAA,GAAW,MAAM;QAC3B,IAAO,CAAA,OAAA,GAAW,EAAE;AAEpB,QAAA,IAAA,CAAA,KAAK,GAAG;AACN,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;AACzB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;AACzB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;SAC1B;AAED,QAAA,IAAA,CAAA,WAAW,GAAG;AACZ,YAAA,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE;AACpC,YAAA,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE;AACnC,YAAA,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE;SACvC;AA0BF;AAxBC,IAAA,gBAAgB,CAAC,KAAU,EAAA;AACzB,QAAA,IAAI,CAAC,aAAa,GAAG,KAAK;;AAG5B,IAAA,sBAAsB,CAAC,KAAU,EAAA;AAC/B,QAAA,IAAI,CAAC,UAAU,GAAG,KAAK;;IAGzB,OAAO,GAAA;;QAEL,OAAO,CAAC,GAAG,CAAC;AACV,YAAA,MAAM,EAAE,IAAI;AACZ,YAAA,IAAI,EAAE;gBACJ,KAAK,EAAE,IAAI,CAAC,aAAa;gBACzB,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,OAAO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AAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,CAAC;oBACzF,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACjC,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCT,EAAA,CAAA;AACF,iBAAA;8BAEU,IAAI,EAAA,CAAA;sBAAZ;;;;;"}
|
@@ -0,0 +1,55 @@
|
|
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 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 { CommonModule } from '@angular/common';
|
10
|
+
import * as i0 from '@angular/core';
|
11
|
+
import { Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
12
|
+
|
13
|
+
class AXMShareEmailDialogComponent {
|
14
|
+
constructor() {
|
15
|
+
this.emails = '';
|
16
|
+
this.permission = 'view';
|
17
|
+
this.message = '';
|
18
|
+
this.permissions = [
|
19
|
+
{ value: 'view', text: 'View only' },
|
20
|
+
{ value: 'edit', text: 'Can edit' },
|
21
|
+
{ value: 'full', text: 'Full access' },
|
22
|
+
];
|
23
|
+
}
|
24
|
+
handlePermissionChange(event) {
|
25
|
+
this.permission = event;
|
26
|
+
}
|
27
|
+
onSend() {
|
28
|
+
const emailList = this.emails
|
29
|
+
.split('\n')
|
30
|
+
.map((email) => email.trim())
|
31
|
+
.filter((email) => email.length > 0);
|
32
|
+
console.log({
|
33
|
+
result: true,
|
34
|
+
data: {
|
35
|
+
emails: emailList,
|
36
|
+
permission: this.permission,
|
37
|
+
message: this.message,
|
38
|
+
},
|
39
|
+
});
|
40
|
+
}
|
41
|
+
onCancel() {
|
42
|
+
console.log({ result: false });
|
43
|
+
}
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShareEmailDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMShareEmailDialogComponent, isStandalone: true, selector: "ax-share-email-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>Email Addresses:</ax-label>\n <ax-text-box\n [(value)]=\"emails\"\n [multiline]=\"true\"\n placeholder=\"Enter email addresses (one per line)\"\n ></ax-text-box>\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>\n <ax-label>Message (Optional):</ax-label>\n <ax-text-box [(value)]=\"message\" [multiline]=\"true\"></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=\"Send\" (onClick)=\"onSend()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1.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"] }] }); }
|
46
|
+
}
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMShareEmailDialogComponent, decorators: [{
|
48
|
+
type: Component,
|
49
|
+
args: [{ selector: 'ax-share-email-dialog', standalone: true, imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Email Addresses:</ax-label>\n <ax-text-box\n [(value)]=\"emails\"\n [multiline]=\"true\"\n placeholder=\"Enter email addresses (one per line)\"\n ></ax-text-box>\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>\n <ax-label>Message (Optional):</ax-label>\n <ax-text-box [(value)]=\"message\" [multiline]=\"true\"></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=\"Send\" (onClick)=\"onSend()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n" }]
|
50
|
+
}], propDecorators: { node: [{
|
51
|
+
type: Input
|
52
|
+
}] } });
|
53
|
+
|
54
|
+
export { AXMShareEmailDialogComponent };
|
55
|
+
//# sourceMappingURL=acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs.map
|
package/fesm2022/acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-share-email-dialog.component-BvR5OuCV.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/share-email-dialog/share-email-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/shared/components/share-email-dialog/share-email-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';\n\n@Component({\n selector: 'ax-share-email-dialog',\n standalone: true,\n imports: [CommonModule, AXSelectBoxModule, AXButtonModule, AXFormModule, AXTextBoxModule],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n templateUrl: './share-email-dialog.component.html',\n})\nexport class AXMShareEmailDialogComponent {\n @Input() node: AXMDocumentExplorerNode;\n\n emails: string = '';\n permission: string = 'view';\n message: string = '';\n\n permissions = [\n { value: 'view', text: 'View only' },\n { value: 'edit', text: 'Can edit' },\n { value: 'full', text: 'Full access' },\n ];\n\n handlePermissionChange(event: any) {\n this.permission = event;\n }\n\n onSend() {\n const emailList = this.emails\n .split('\\n')\n .map((email) => email.trim())\n .filter((email) => email.length > 0);\n\n console.log({\n result: true,\n data: {\n emails: emailList,\n permission: this.permission,\n message: this.message,\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>Email Addresses:</ax-label>\n <ax-text-box\n [(value)]=\"emails\"\n [multiline]=\"true\"\n placeholder=\"Enter email addresses (one per line)\"\n ></ax-text-box>\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>\n <ax-label>Message (Optional):</ax-label>\n <ax-text-box [(value)]=\"message\" [multiline]=\"true\"></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=\"Send\" (onClick)=\"onSend()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":[],"mappings":";;;;;;;;;;;;MAea,4BAA4B,CAAA;AAPzC,IAAA,WAAA,GAAA;QAUE,IAAM,CAAA,MAAA,GAAW,EAAE;QACnB,IAAU,CAAA,UAAA,GAAW,MAAM;QAC3B,IAAO,CAAA,OAAA,GAAW,EAAE;AAEpB,QAAA,IAAA,CAAA,WAAW,GAAG;AACZ,YAAA,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE;AACpC,YAAA,EAAE,KAAK,EAAE,MAAM,EAAE,IAA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AA,EAAA,CAAA,WAAA,EAAA,MAAA,EAAA,cAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAA,EAAA,gBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,IAAA,EAAA,aAAA,EAAA,WAAA,EAAA,WAAA,EAAA,MAAA,EAAA,cAAA,EAAA,MAAA,EAAA,cAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,SAAA,EAAA,aAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,SAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAI7E,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAPxC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,uBAAuB,cACrB,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,eAAe,CAAC,EAChF,OAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,mgCAAA,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 AXMDocumentExplorerSmallIconsViewComponent {
|
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 { AXMDocumentExplorerSmallIconsViewComponent };
|
20
|
-
//# sourceMappingURL=acorex-modules-document-management-small-icons-view.component-
|
20
|
+
//# sourceMappingURL=acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-small-icons-view.component-
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-small-icons-view.component-Cz-sHFPj.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/small-icons/small-icons-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/small-icons/small-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-small-icons-view',\n templateUrl: './small-icons-view.component.html',\n styleUrls: ['./small-icons-view.component.scss'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective],\n})\nexport class AXMDocumentExplorerSmallIconsViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Small Icons View -->\n<div class=\"__content fa-2x\">\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,i8BAAA,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,i8BAAA,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 { AXMDocumentExplorerSmallTilesViewComponent };
|
24
|
-
//# sourceMappingURL=acorex-modules-document-management-small-tiles-view.component-
|
24
|
+
//# sourceMappingURL=acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-modules-document-management-small-tiles-view.component-
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-small-tiles-view.component-C_SlJ79h.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.ts","../../../../libs/modules/document-management/src/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXPElementDataDirective, AXPDblClickDirective } 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-small-tiles-view',\n templateUrl: './small-tiles-view.component.html',\n styleUrls: ['./small-tiles-view.component.scss'],\n standalone: true,\n imports: [CommonModule, AXPElementDataDirective, AXPDblClickDirective, AXFormatModule, AXDateTimeModule],\n})\nexport class AXMDocumentExplorerSmallTilesViewComponent {\n protected vm = inject(AXPDocumentExplorerViewModel);\n} ","<!-- Folders Section -->\n@if (vm.folders().length > 0) {\n<div class=\"__section\">\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 fa-2x\">\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=\"__details\">\n <div class=\"__name\">{{ folder.name }}</div>\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 </div>\n }\n </div>\n</div>\n}\n\n<!-- Files Section -->\n@if (vm.files().length > 0) {\n<div class=\"__section\">\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 (onDblClick)=\"vm.openFile(file)\"\n >\n <div class=\"__icon fa-2x\">\n <i class=\"fa-fw {{ fileInfo.icon }} fa-solid\"></i>\n </div>\n <div class=\"__details\">\n <div class=\"__name\">{{ file.name }}</div>\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 </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A,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,cAAc,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAAA,ogEAAA,EAAA,MAAA,EAAA,CAAA,qnDAAA,CAAA,EAAA;;;;;"}
|
@@ -0,0 +1,37 @@
|
|
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 i4 from '@acorex/components/text-box';
|
6
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
7
|
+
import { CommonModule } from '@angular/common';
|
8
|
+
import * as i0 from '@angular/core';
|
9
|
+
import { Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
10
|
+
|
11
|
+
class AXMUnlockDialogComponent {
|
12
|
+
constructor() {
|
13
|
+
this.reason = '';
|
14
|
+
}
|
15
|
+
onUnlock() {
|
16
|
+
console.log({
|
17
|
+
result: true,
|
18
|
+
data: {
|
19
|
+
reason: this.reason,
|
20
|
+
},
|
21
|
+
});
|
22
|
+
}
|
23
|
+
onCancel() {
|
24
|
+
console.log({ result: false });
|
25
|
+
}
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMUnlockDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMUnlockDialogComponent, isStandalone: true, selector: "ax-unlock-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>Reason for Unlocking (Optional):</ax-label>\n <ax-text-box [(value)]=\"reason\" [multiline]=\"true\"></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=\"Unlock\" (onClick)=\"onUnlock()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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"] }] }); }
|
28
|
+
}
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMUnlockDialogComponent, decorators: [{
|
30
|
+
type: Component,
|
31
|
+
args: [{ selector: 'ax-unlock-dialog', standalone: true, imports: [CommonModule, AXButtonModule, AXFormModule, AXTextBoxModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"ax-p-4 ax-gap-2\">\n <ax-form>\n <ax-form-field>\n <ax-label>Reason for Unlocking (Optional):</ax-label>\n <ax-text-box [(value)]=\"reason\" [multiline]=\"true\"></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=\"Unlock\" (onClick)=\"onUnlock()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n</div>\n" }]
|
32
|
+
}], propDecorators: { node: [{
|
33
|
+
type: Input
|
34
|
+
}] } });
|
35
|
+
|
36
|
+
export { AXMUnlockDialogComponent };
|
37
|
+
//# sourceMappingURL=acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-unlock-dialog.component-DkZQ84kg.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/unlock-dialog/unlock-dialog.component.ts","../../../../libs/modules/document-management/src/lib/features/shared/components/unlock-dialog/unlock-dialog.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXFormModule } from '@acorex/components/form';\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';\n\n@Component({\n selector: 'ax-unlock-dialog',\n standalone: true,\n imports: [CommonModule, AXButtonModule, AXFormModule, AXTextBoxModule],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n templateUrl: './unlock-dialog.component.html',\n})\nexport class AXMUnlockDialogComponent {\n @Input() node: AXMDocumentExplorerNode;\n\n reason: string = '';\n\n onUnlock() {\n console.log({\n result: true,\n data: {\n reason: this.reason,\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>Reason for Unlocking (Optional):</ax-label>\n <ax-text-box [(value)]=\"reason\" [multiline]=\"true\"></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>\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