@acorex/modules 19.2.16 → 19.2.17
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 +4 -0
- package/auth/lib/pages/login/password/password.component.d.ts +1 -0
- package/common/lib/entities/dashboard/dashboard.types.d.ts +2 -2
- package/common/lib/entities/index.d.ts +0 -1
- package/common/lib/features/dashboard-home/dashboard-home.d.ts +113 -0
- package/common/lib/features/dashboard-home/dashboard-home.store.d.ts +19 -0
- package/common/lib/features/dashboard-home/dashboard.type.d.ts +12 -0
- package/common/lib/features/dashboard-popups/add-dashboard-popup.d.ts +11 -0
- package/common/lib/features/dashboard-popups/dashboard-popup.service.d.ts +9 -0
- package/common/lib/features/widget-wrapper/dashboard-widget-wrapper.d.ts +9 -0
- package/document-management/lib/document-management.module.d.ts +2 -1
- package/document-management/lib/entities/document/document.types.d.ts +4 -0
- package/document-management/lib/entities/folder/folder.types.d.ts +1 -0
- package/document-management/lib/features/document-explorer/components/rename-node-dialog/rename-node-dialog.component.d.ts +1 -1
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +15 -7
- package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +2 -2
- package/document-management/lib/features/drive/drive.component.d.ts +4 -0
- package/document-management/lib/features/drive-choose/drive-choose.component.d.ts +200 -0
- package/document-management/lib/features/shared/components/file-viewer-popup/file-viewer-popup.component.d.ts +9 -0
- package/document-management/lib/features/shared/components/file-viewer-popup/index.d.ts +1 -0
- package/document-management/lib/features/shared/components/index.d.ts +2 -0
- package/document-management/lib/features/shared/components/tree-folder-popup/index.d.ts +1 -0
- package/document-management/lib/features/shared/components/tree-folder-popup/tree-folder-popup.component.d.ts +20 -0
- package/document-management/lib/features/shared/document-manager.service.d.ts +41 -49
- package/document-management/lib/features/shared/document-manager.types.d.ts +3 -1
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +113 -1
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs → acorex-modules-application-management-module-designer.component-BSGSZi9T.mjs} +2 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DPJ4qpK3.mjs.map → acorex-modules-application-management-module-designer.component-BSGSZi9T.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +3 -3
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs → acorex-modules-auth-acorex-modules-auth-Xcs9ViQv.mjs} +13 -13
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-Xcs9ViQv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs → acorex-modules-auth-app-chooser.component-0L9y_yn_.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-app-chooser.component-CZxX5-T_.mjs.map → acorex-modules-auth-app-chooser.component-0L9y_yn_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B9P2XpfQ.mjs → acorex-modules-auth-login.module-CfO1IwH9.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B9P2XpfQ.mjs.map → acorex-modules-auth-login.module-CfO1IwH9.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-hLuHDgvl.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-hLuHDgvl.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-password.component-BztZ3DJd.mjs +132 -0
- package/fesm2022/acorex-modules-auth-password.component-BztZ3DJd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-C7Yp-ioT.mjs → acorex-modules-auth-password.component-CTVBARbz.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C7Yp-ioT.mjs.map → acorex-modules-auth-password.component-CTVBARbz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-Bu-xB4O6.mjs → acorex-modules-auth-routes-CJz0CRlp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Bu-xB4O6.mjs.map → acorex-modules-auth-routes-CJz0CRlp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs → acorex-modules-auth-tenant-chooser.component-kVFAR9t1.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-CKsbiOUX.mjs.map → acorex-modules-auth-tenant-chooser.component-kVFAR9t1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs → acorex-modules-auth-two-factor-code.component-_VYT-h-9.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DrV3UBuT.mjs.map → acorex-modules-auth-two-factor-code.component-_VYT-h-9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-YRh6_YcG.mjs → acorex-modules-auth-two-factor.module-BQfrnrd0.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-YRh6_YcG.mjs.map → acorex-modules-auth-two-factor.module-BQfrnrd0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common-index-BAt02rnb.mjs +472 -0
- package/fesm2022/acorex-modules-common-index-BAt02rnb.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +5 -505
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs → acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs} +562 -357
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs → acorex-modules-document-management-create-folder-dialog.component-DqoWmtm7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-fNeqoZfY.mjs.map → acorex-modules-document-management-create-folder-dialog.component-DqoWmtm7.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-CkS8s7zm.mjs +152 -0
- package/fesm2022/acorex-modules-document-management-drive-choose.component-CkS8s7zm.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-drive.component-B6az6-_w.mjs +164 -0
- package/fesm2022/acorex-modules-document-management-drive.component-B6az6-_w.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-index-9l8D5iEE.mjs +69 -0
- package/fesm2022/acorex-modules-document-management-index-9l8D5iEE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs → acorex-modules-document-management-rename-node-dialog.component-BoODbM0H.mjs} +4 -4
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-BoODbM0H.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-szDh56Bk.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Qnh16t3Q.mjs} +10 -10
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-szDh56Bk.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-Qnh16t3Q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs → acorex-modules-form-template-management-category.entity-BjmyIav9.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-category.entity-BZXqnhwK.mjs.map → acorex-modules-form-template-management-category.entity-BjmyIav9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs → acorex-modules-form-template-management-setting.provider-hkwaOGfL.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-setting.provider-o2_TSVfK.mjs.map → acorex-modules-form-template-management-setting.provider-hkwaOGfL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs → acorex-modules-form-template-management-template-picker.component-gdMTnjl-.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BxOdV3y2.mjs.map → acorex-modules-form-template-management-template-picker.component-gdMTnjl-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs → acorex-modules-form-template-management-template-widget-edit.component-CSShokqz.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component--MGoF75g.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-CSShokqz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs → acorex-modules-form-template-management-template.entity-_yMAqh35.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-template.entity-JvWcqjzi.mjs.map → acorex-modules-form-template-management-template.entity-_yMAqh35.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs → acorex-modules-form-template-management-viewer-popup.component-CbcSFEis.mjs} +3 -3
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Bllb70Ih.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CbcSFEis.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs → acorex-modules-organization-management-add-item.component-Bsae9u-e.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-item.component-Y-i6xDkl.mjs.map → acorex-modules-organization-management-add-item.component-Bsae9u-e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-branch.entity-DhObzxhh.mjs → acorex-modules-organization-management-branch.entity-e5pFx82N.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-branch.entity-DhObzxhh.mjs.map → acorex-modules-organization-management-branch.entity-e5pFx82N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs → acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-Bk4WgsYr.mjs.map → acorex-modules-organization-management-chart.entity-DnmNyyD2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-d7GaCVei.mjs → acorex-modules-organization-management-company.entity-BRkEcDNt.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-d7GaCVei.mjs.map → acorex-modules-organization-management-company.entity-BRkEcDNt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-department.entity-BxyeK3lU.mjs → acorex-modules-organization-management-department.entity-ChJXNpXn.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-department.entity-BxyeK3lU.mjs.map → acorex-modules-organization-management-department.entity-ChJXNpXn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-division.entity-Dh54R4es.mjs → acorex-modules-organization-management-division.entity-qyDyhl-q.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-division.entity-Dh54R4es.mjs.map → acorex-modules-organization-management-division.entity-qyDyhl-q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs → acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-employee.entity-DcJCJN3R.mjs.map → acorex-modules-organization-management-employee.entity-Cp5TejzT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-aNkt-l_e.mjs → acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-aNkt-l_e.mjs.map → acorex-modules-organization-management-employment-type.entity-Ul10Mdwm.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-aMPR3Oyw.mjs +92 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-aMPR3Oyw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs → acorex-modules-organization-management-org-chart.page-CAgSSVON.mjs} +15 -15
- package/fesm2022/acorex-modules-organization-management-org-chart.page-CAgSSVON.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-D17Yembh.mjs → acorex-modules-organization-management-position.entity-BpQbwW-x.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-position.entity-D17Yembh.mjs.map → acorex-modules-organization-management-position.entity-BpQbwW-x.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-role.entity-Cmbyle8P.mjs → acorex-modules-organization-management-role.entity-B9N4qA_E.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-role.entity-Cmbyle8P.mjs.map → acorex-modules-organization-management-role.entity-B9N4qA_E.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team.entity-DcurAtLd.mjs → acorex-modules-organization-management-team.entity-7q6Eg74A.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team.entity-DcurAtLd.mjs.map → acorex-modules-organization-management-team.entity-7q6Eg74A.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +15 -13
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CoZBz85x.mjs → acorex-modules-platform-management-list-version.component-DI1wKhRv.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CoZBz85x.mjs.map → acorex-modules-platform-management-list-version.component-DI1wKhRv.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +10 -8
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +1 -1
- package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +4 -0
- package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +4 -0
- package/package.json +1 -1
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.entity.d.ts +0 -3
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.service.d.ts +0 -10
- package/common/lib/entities/dashboard-widget-data/dashboard-widget-data.types.d.ts +0 -9
- package/common/lib/entities/dashboard-widget-data/index.d.ts +0 -3
- package/common/lib/features/home/dashboard-home.d.ts +0 -5
- package/document-management/lib/features/drive/index.d.ts +0 -3
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DTje3YIv.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-BYC0FYq1.mjs +0 -23
- package/fesm2022/acorex-modules-auth-master.layout-BYC0FYq1.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs +0 -127
- package/fesm2022/acorex-modules-auth-password.component-DzrYH4yM.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs +0 -14
- package/fesm2022/acorex-modules-common-index-zaFxpV8u.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DagdBc6i.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C-eCtqLa.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs +0 -92
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DO8wSZqZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DXyAFXwE.mjs.map +0 -1
- /package/common/lib/features/{home → dashboard-home}/index.d.ts +0 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
import * as i2 from '@acorex/components/button';
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
3
|
+
import * as i5 from '@acorex/components/decorators';
|
4
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
5
|
+
import * as i3 from '@acorex/components/media-viewer';
|
6
|
+
import { AXMediaViewerModule } from '@acorex/components/media-viewer';
|
7
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
8
|
+
import * as i0 from '@angular/core';
|
9
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
10
|
+
|
11
|
+
class AXMFileViewerPopupComponent extends AXBasePageComponent {
|
12
|
+
onClose() {
|
13
|
+
this.close();
|
14
|
+
}
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileViewerPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMFileViewerPopupComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div>\n <ax-content>\n <ax-media-viewer-container #c [dataArray]=\"nodes\">\n <ax-header>\n <ax-file-info></ax-file-info>\n </ax-header>\n\n <ax-prefix>\n <ax-button (click)=\"c.next()\">\n <ax-icon class=\"ax-icon ax-icon-chevron-right\"> </ax-icon>\n </ax-button>\n </ax-prefix>\n\n <ax-suffix>\n <ax-button (click)=\"c.prev()\">\n <ax-icon class=\"ax-icon ax-icon-chevron-left\"> </ax-icon>\n </ax-button>\n </ax-suffix>\n </ax-media-viewer-container>\n </ax-content>\n\n <ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'close'\" (click)=\"onClose()\" />\n </ax-suffix>\n </ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i5.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: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXMediaViewerModule }, { kind: "component", type: i3.AXMediaViewerContainerComponent, selector: "ax-media-viewer-container", inputs: ["dataArray", "thumbnail"] }, { kind: "component", type: i3.AXFileInfoComponent, selector: "ax-file-info" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
17
|
+
}
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMFileViewerPopupComponent, decorators: [{
|
19
|
+
type: Component,
|
20
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXDecoratorModule, AXButtonModule, AXMediaViewerModule], template: "<div>\n <ax-content>\n <ax-media-viewer-container #c [dataArray]=\"nodes\">\n <ax-header>\n <ax-file-info></ax-file-info>\n </ax-header>\n\n <ax-prefix>\n <ax-button (click)=\"c.next()\">\n <ax-icon class=\"ax-icon ax-icon-chevron-right\"> </ax-icon>\n </ax-button>\n </ax-prefix>\n\n <ax-suffix>\n <ax-button (click)=\"c.prev()\">\n <ax-icon class=\"ax-icon ax-icon-chevron-left\"> </ax-icon>\n </ax-button>\n </ax-suffix>\n </ax-media-viewer-container>\n </ax-content>\n\n <ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'close'\" (click)=\"onClose()\" />\n </ax-suffix>\n </ax-footer>\n</div>\n" }]
|
21
|
+
}] });
|
22
|
+
|
23
|
+
export { AXMFileViewerPopupComponent };
|
24
|
+
//# sourceMappingURL=acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs.map
|
package/fesm2022/acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/file-viewer-popup/file-viewer-popup.component.ts","../../../../libs/modules/document-management/src/lib/features/shared/components/file-viewer-popup/file-viewer-popup.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXMediaViewerData, AXMediaViewerModule } from '@acorex/components/media-viewer';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './file-viewer-popup.component.html',\n imports: [AXDecoratorModule, AXButtonModule, AXMediaViewerModule],\n})\nexport class AXMFileViewerPopupComponent extends AXBasePageComponent {\n onClose() {\n this.close();\n }\n\n nodes!: AXMediaViewerData[];\n}\n","<div>\n <ax-content>\n <ax-media-viewer-container #c [dataArray]=\"nodes\">\n <ax-header>\n <ax-file-info></ax-file-info>\n </ax-header>\n\n <ax-prefix>\n <ax-button (click)=\"c.next()\">\n <ax-icon class=\"ax-icon ax-icon-chevron-right\"> </ax-icon>\n </ax-button>\n </ax-prefix>\n\n <ax-suffix>\n <ax-button (click)=\"c.prev()\">\n <ax-icon class=\"ax-icon ax-icon-chevron-left\"> </ax-icon>\n </ax-button>\n </ax-suffix>\n </ax-media-viewer-container>\n </ax-content>\n\n <ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'close'\" (click)=\"onClose()\" />\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i1"],"mappings":";;;;;;;;;;AAWM,MAAO,2BAA4B,SAAQ,mBAAmB,CAAA;IAClE,OAAO,GAAA;QACL,IAAI,CAAC,KAAK,EAAE;;8GAFH,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,+FCXxC,+rBA2BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDlBY,iBAAiB,EAAE,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,wBAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,8IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,cAAc,iXAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,+BAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,cAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAErD,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,SAAS;sCACS,uBAAuB,CAAC,MAAM,EAEtC,OAAA,EAAA,CAAC,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,CAAC,EAAA,QAAA,EAAA,+rBAAA,EAAA;;;;;"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
export { AXMFileViewerPopupComponent } from './acorex-modules-document-management-file-viewer-popup.component-CaSagveT.mjs';
|
2
|
+
import * as i2$1 from '@acorex/components/button';
|
3
|
+
import { AXButtonModule } from '@acorex/components/button';
|
4
|
+
import * as i5 from '@acorex/components/decorators';
|
5
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
6
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
7
|
+
import * as i2 from '@acorex/components/tree-view';
|
8
|
+
import { AXTreeViewModule } from '@acorex/components/tree-view';
|
9
|
+
import * as i0 from '@angular/core';
|
10
|
+
import { inject, signal, ChangeDetectionStrategy, Component } from '@angular/core';
|
11
|
+
import { A as AXMDocumentManagerService } from './acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs';
|
12
|
+
|
13
|
+
class AXMTreeFolderPopupComponent extends AXBasePageComponent {
|
14
|
+
constructor() {
|
15
|
+
super(...arguments);
|
16
|
+
this.driveService = inject(AXMDocumentManagerService);
|
17
|
+
this.treeViewData = signal([]);
|
18
|
+
this.provideLazyTreeView = (selectedItemId) => {
|
19
|
+
if (selectedItemId) {
|
20
|
+
return Promise.resolve(this.treeViewData().filter((x) => x.parentId === selectedItemId));
|
21
|
+
}
|
22
|
+
else {
|
23
|
+
return Promise.resolve(this.treeViewData().filter((x) => !x.parentId));
|
24
|
+
}
|
25
|
+
};
|
26
|
+
}
|
27
|
+
onCloseDiscard() {
|
28
|
+
this.close();
|
29
|
+
}
|
30
|
+
onClose() {
|
31
|
+
this.close({
|
32
|
+
selectedNodeId: this.selectedNodeId,
|
33
|
+
});
|
34
|
+
}
|
35
|
+
ngOnInit() {
|
36
|
+
this.driveService.getAllFolders().then((folders) => {
|
37
|
+
// Map document nodes to tree view items and filter to include only folders
|
38
|
+
this.treeViewData.set(this.mapToTreeViewSchema(folders));
|
39
|
+
});
|
40
|
+
}
|
41
|
+
/**
|
42
|
+
* Maps document explorer nodes to tree view schema format
|
43
|
+
* Only includes items where type is 'folder'
|
44
|
+
*/
|
45
|
+
mapToTreeViewSchema(nodes) {
|
46
|
+
if (!nodes || !Array.isArray(nodes))
|
47
|
+
return [];
|
48
|
+
return nodes
|
49
|
+
.filter((node) => node.type === 'folder')
|
50
|
+
.map((node) => ({
|
51
|
+
id: node.id,
|
52
|
+
parentId: node.parentId || undefined,
|
53
|
+
text: node.name,
|
54
|
+
hasChild: node.children && node.children.some((child) => child.type === 'folder'),
|
55
|
+
}));
|
56
|
+
}
|
57
|
+
handleTreeViewClick(event) {
|
58
|
+
this.selectedNodeId = event.data.id;
|
59
|
+
}
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMTreeFolderPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
61
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXMTreeFolderPopupComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div>\n <ax-header></ax-header>\n <ax-content class=\"ax-p-4 ax-px-8\">\n <ax-tree-view\n hasChildField=\"hasChild\"\n (onNodeClick)=\"handleTreeViewClick($event)\"\n [showCheckbox]=\"false\"\n #treeRef\n [items]=\"provideLazyTreeView\"\n ></ax-tree-view>\n </ax-content>\n\n <ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'actions.cancel'\" (click)=\"onCloseDiscard()\" />\n <ax-button [text]=\"'actions.create'\" (click)=\"onClose()\" [disabled]=\"!selectedNodeId\" />\n </ax-suffix>\n </ax-footer>\n</div>\n", dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i5.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: AXTreeViewModule }, { kind: "component", type: i2.AXTreeViewComponent, selector: "ax-tree-view", inputs: ["items", "showCheckbox", "selectionMode", "selectionBehavior", "focusNodeEnabled", "valueField", "textField", "visibleField", "disableField", "hasChildField", "selectedField", "expandedField", "tooltipField", "childrenField", "activeField", "indeterminateField", "parentField", "iconField", "toggleIcons", "look", "customTemplate", "expandOn"], outputs: ["onSelectionChanged", "onNodeClick", "onCollapsedChanged", "onNodedbClick"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2$1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
62
|
+
}
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMTreeFolderPopupComponent, decorators: [{
|
64
|
+
type: Component,
|
65
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXDecoratorModule, AXTreeViewModule, AXButtonModule], template: "<div>\n <ax-header></ax-header>\n <ax-content class=\"ax-p-4 ax-px-8\">\n <ax-tree-view\n hasChildField=\"hasChild\"\n (onNodeClick)=\"handleTreeViewClick($event)\"\n [showCheckbox]=\"false\"\n #treeRef\n [items]=\"provideLazyTreeView\"\n ></ax-tree-view>\n </ax-content>\n\n <ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'actions.cancel'\" (click)=\"onCloseDiscard()\" />\n <ax-button [text]=\"'actions.create'\" (click)=\"onClose()\" [disabled]=\"!selectedNodeId\" />\n </ax-suffix>\n </ax-footer>\n</div>\n" }]
|
66
|
+
}] });
|
67
|
+
|
68
|
+
export { AXMTreeFolderPopupComponent };
|
69
|
+
//# sourceMappingURL=acorex-modules-document-management-index-9l8D5iEE.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-index-9l8D5iEE.mjs","sources":["../../../../libs/modules/document-management/src/lib/features/shared/components/tree-folder-popup/tree-folder-popup.component.ts","../../../../libs/modules/document-management/src/lib/features/shared/components/tree-folder-popup/tree-folder-popup.component.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXBasePageComponent } from '@acorex/components/page';\nimport { AXTreeViewModule } from '@acorex/components/tree-view';\nimport { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core';\nimport { AXMDocumentManagerService } from '../../document-manager.service';\nimport { AXMDocumentExplorerNode } from '../../document-manager.types';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './tree-folder-popup.component.html',\n imports: [AXDecoratorModule, AXTreeViewModule, AXButtonModule],\n})\nexport class AXMTreeFolderPopupComponent extends AXBasePageComponent {\n onCloseDiscard() {\n this.close();\n }\n\n onClose() {\n this.close({\n selectedNodeId: this.selectedNodeId,\n });\n }\n\n protected driveService = inject(AXMDocumentManagerService);\n\n protected treeViewData = signal<unknown[]>([]);\n\n protected selectedNodeId?: string;\n\n override ngOnInit(): void {\n this.driveService.getAllFolders().then((folders) => {\n // Map document nodes to tree view items and filter to include only folders\n this.treeViewData.set(this.mapToTreeViewSchema(folders));\n });\n }\n\n /**\n * Maps document explorer nodes to tree view schema format\n * Only includes items where type is 'folder'\n */\n private mapToTreeViewSchema(nodes: AXMDocumentExplorerNode[]): unknown[] {\n if (!nodes || !Array.isArray(nodes)) return [];\n\n return nodes\n .filter((node) => node.type === 'folder')\n .map((node) => ({\n id: node.id,\n parentId: node.parentId || undefined,\n text: node.name,\n hasChild: node.children && node.children.some((child) => child.type === 'folder'),\n }));\n }\n\n provideLazyTreeView: any = (selectedItemId: string | number): Promise<unknown[]> => {\n if (selectedItemId) {\n return Promise.resolve(this.treeViewData().filter((x: any) => x.parentId === selectedItemId));\n } else {\n return Promise.resolve(this.treeViewData().filter((x: any) => !x.parentId));\n }\n };\n\n handleTreeViewClick(event: any) {\n this.selectedNodeId = event.data.id;\n }\n}\n","<div>\n <ax-header></ax-header>\n <ax-content class=\"ax-p-4 ax-px-8\">\n <ax-tree-view\n hasChildField=\"hasChild\"\n (onNodeClick)=\"handleTreeViewClick($event)\"\n [showCheckbox]=\"false\"\n #treeRef\n [items]=\"provideLazyTreeView\"\n ></ax-tree-view>\n </ax-content>\n\n <ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'actions.cancel'\" (click)=\"onCloseDiscard()\" />\n <ax-button [text]=\"'actions.create'\" (click)=\"onClose()\" [disabled]=\"!selectedNodeId\" />\n </ax-suffix>\n </ax-footer>\n</div>\n"],"names":["i1","i3"],"mappings":";;;;;;;;;;;;AAaM,MAAO,2BAA4B,SAAQ,mBAAmB,CAAA;AALpE,IAAA,WAAA,GAAA;;AAgBY,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAEhD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAY,EAAE,CAAC;AA4B9C,QAAA,IAAA,CAAA,mBAAmB,GAAQ,CAAC,cAA+B,KAAwB;YACjF,IAAI,cAAc,EAAE;gBAClB,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,CAAC,CAAM,KAAK,CAAC,CAAC,QAAQ,KAAK,cAAc,CAAC,CAAC;;iBACxF;gBACL,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,CAAC,CAAM,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;;AAE/E,SAAC;AAKF;IAnDC,cAAc,GAAA;QACZ,IAAI,CAAC,KAAK,EAAE;;IAGd,OAAO,GAAA;QACL,IAAI,CAAC,KAAK,CAAC;YACT,cAAc,EAAE,IAAI,CAAC,cAAc;AACpC,SAAA,CAAC;;IASK,QAAQ,GAAA;QACf,IAAI,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,KAAI;;AAEjD,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAC1D,SAAC,CAAC;;AAGJ;;;AAGG;AACK,IAAA,mBAAmB,CA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QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,YAAA,EAAA,UAAA,EAAA,MAAA,EAAA,aAAA,CAAA,EAAA,OAAA,EAAA,CAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,YAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAElD,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,SAAS;sCACS,uBAAuB,CAAC,MAAM,EAEtC,OAAA,EAAA,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,CAAC,EAAA,QAAA,EAAA,qjBAAA,EAAA;;;;;"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as i2$1 from '@acorex/components/button';
|
2
2
|
import { AXButtonModule } from '@acorex/components/button';
|
3
3
|
import { AXColorBoxModule } from '@acorex/components/color-box';
|
4
|
+
import { AXAutoFocusDirective } from '@acorex/components/common';
|
4
5
|
import * as i5 from '@acorex/components/decorators';
|
5
6
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
6
7
|
import * as i7 from '@acorex/components/form';
|
@@ -20,8 +21,7 @@ import * as i0 from '@angular/core';
|
|
20
21
|
import { inject, model, Component } from '@angular/core';
|
21
22
|
import * as i2 from '@angular/forms';
|
22
23
|
import { FormsModule } from '@angular/forms';
|
23
|
-
import { A as AXMDocumentManagerService } from './acorex-modules-document-management-acorex-modules-document-management-
|
24
|
-
import { AXAutoFocusDirective } from '@acorex/components/common';
|
24
|
+
import { A as AXMDocumentManagerService } from './acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs';
|
25
25
|
|
26
26
|
class AXMRenameNodeDialog extends AXBasePageComponent {
|
27
27
|
constructor() {
|
@@ -93,9 +93,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
93
93
|
AXColorBoxModule,
|
94
94
|
AXTranslationModule,
|
95
95
|
AXLoadingModule,
|
96
|
-
AXAutoFocusDirective
|
96
|
+
AXAutoFocusDirective,
|
97
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=\"primary\" (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>" }]
|
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-BoODbM0H.mjs.map
|
package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-BoODbM0H.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-document-management-rename-node-dialog.component-BoODbM0H.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 debugger;\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 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=\"primary\" (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>"],"names":["i3","i6","i8"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCM,MAAO,mBAAoB,SAAQ,mBAAmB,CAAA;AAnB5D,IAAA,WAAA,GAAA;;AAoBU,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAI9C,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC;AA6CnC;IA3CoB,QAAQ,GAAA;QACzB,KAAK,CAAC,QAAQ,EAAE;QAChB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;IAG/B,MAAM,kBAAkB,CAAC,IAAqB,EAAA;AAC5C,QAAA,IAAI,CAAC,SAAS,GAAG,IAAI;AACrB,QAAA,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE;AACvC,QAAA,IAAI,SAAS,CAAC,MAAM,EAAE;AACpB,YAAA,IAAI;AACF,gBAAA;gBACA,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,EAAE;AAC9B,oBAAA,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,E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AA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,gLACf,oBAAoB,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIX,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAnB/B,SAAS;+BACE,uBAAuB,EAAA,UAAA,EACrB,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;AACrB,qBAAA,EAAA,QAAA,EAAA,22BAAA,EAAA;;;;;"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {
|
1
|
+
export { f as AXMDocumentManagementDocumentEntityModule, j as AXMDocumentManagementDocumentTypeEntityModule, k as AXMDocumentManagementDocumentTypeEntityService, l as AXMDocumentManagementDocumentTypeEntityServiceImpl, n as AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule, o as AXMDocumentManagementDocumentTypeMetaDefinitionEntityService, p as AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl, r as AXMDocumentManagementDocumentTypeMetaValueEntityModule, s as AXMDocumentManagementDocumentTypeMetaValueEntityService, t as AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl, v as AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule, w as AXMDocumentManagementDocumentTypeStatusDefinitionEntityService, x as AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl, d as AXMDocumentManagementModule, g as AXMDocumentService, h as AXMDocumentServiceImpl, C as AXMEntityProvider, z as AXMFolderService, B as AXMFolderServiceImpl, D as AXMMenuProvider, E as AXMSearchCommandProvider, F as AXMSettingProvider, R as RootConfig, e as documentFactory, i as documentTypeFactory, m as documentTypeMetaDefinitionfactory, q as documentTypeMetaValueFactory, u as documentTypeStatusDefinitionFactory, y as folderFactory } from './acorex-modules-document-management-acorex-modules-document-management-BmLGtKDq.mjs';
|
2
2
|
//# sourceMappingURL=acorex-modules-document-management.mjs.map
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { AXPSessionService, AXP_PERMISSION_PROVIDER } from '@acorex/platform/auth';
|
2
2
|
import { AXPSearchCommandProvider, AXPDataGenerator, AXPWorkflowNavigateAction, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
3
3
|
import * as i2 from '@acorex/platform/layout/builder';
|
4
|
-
import { AXPWidgetComponent, AXPLayoutBuilderModule,
|
4
|
+
import { AXPWidgetComponent, AXPLayoutBuilderModule, createStringProperty, AXP_WIDGETS_ADVANCE_GROUP, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
|
5
5
|
import { AXPDesignerConnector, AXPDesignerService, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetMiniButtonComponent, AXPDesignerMessageKeys } from '@acorex/platform/layout/designer';
|
6
6
|
import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
7
7
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXPWidgetsModule } from '@acorex/platform/widgets';
|
8
8
|
import * as i2$1 from '@acorex/platform/workflow';
|
9
9
|
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
10
10
|
import * as i0 from '@angular/core';
|
11
|
-
import { Injectable, NgModule, inject, Injector, InjectionToken, computed, signal, effect,
|
11
|
+
import { Injectable, NgModule, inject, Injector, InjectionToken, computed, signal, effect, ChangeDetectionStrategy, Component, HostBinding } from '@angular/core';
|
12
12
|
import { ROUTES } from '@angular/router';
|
13
13
|
import { firstValueFrom } from 'rxjs';
|
14
14
|
import { get, sortBy } from 'lodash-es';
|
@@ -140,9 +140,9 @@ class AXMEntityProvider {
|
|
140
140
|
if (moduleName == RootConfig.module.name) {
|
141
141
|
switch (entityName) {
|
142
142
|
case RootConfig.entities.category.name:
|
143
|
-
return (await import('./acorex-modules-form-template-management-category.entity-
|
143
|
+
return (await import('./acorex-modules-form-template-management-category.entity-BjmyIav9.mjs')).factory(this.injector);
|
144
144
|
case RootConfig.entities.template.name:
|
145
|
-
return (await import('./acorex-modules-form-template-management-template.entity-
|
145
|
+
return (await import('./acorex-modules-form-template-management-template.entity-_yMAqh35.mjs')).factory(this.injector);
|
146
146
|
}
|
147
147
|
}
|
148
148
|
return null;
|
@@ -454,7 +454,7 @@ class AXPTemplateWidgetProviderService {
|
|
454
454
|
return null;
|
455
455
|
}
|
456
456
|
async chooseTemplate() {
|
457
|
-
const com = await import('./acorex-modules-form-template-management-template-picker.component-
|
457
|
+
const com = await import('./acorex-modules-form-template-management-template-picker.component-gdMTnjl-.mjs').then((c) => c.AXPTemplateWidgetPickerComponent);
|
458
458
|
const widgets = await this.items({
|
459
459
|
skip: 0,
|
460
460
|
take: 100,
|
@@ -716,7 +716,7 @@ const AXPTemplateWidget = {
|
|
716
716
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
717
717
|
},
|
718
718
|
edit: {
|
719
|
-
component: () => import('./acorex-modules-form-template-management-template-widget-edit.component
|
719
|
+
component: () => import('./acorex-modules-form-template-management-template-widget-edit.component-CSShokqz.mjs').then((c) => c.AXPTemplateWidgetEditComponent),
|
720
720
|
},
|
721
721
|
print: {
|
722
722
|
component: () => Promise.resolve().then(function () { return templateWidgetView_component; }).then((c) => c.AXPTemplateWidgetViewComponent),
|
@@ -804,7 +804,7 @@ class AXMOpenFormTemplateViewerAction extends AXPWorkflowAction {
|
|
804
804
|
async execute(context) {
|
805
805
|
const { id } = context.getVariable('data');
|
806
806
|
const metadata = context.getVariable('metadata');
|
807
|
-
const comp = await import('./acorex-modules-form-template-management-viewer-popup.component-
|
807
|
+
const comp = await import('./acorex-modules-form-template-management-viewer-popup.component-CbcSFEis.mjs').then(x => x.AXPFormTemplateViewerPopupComponent);
|
808
808
|
const result = await this.popupService.open(comp, {
|
809
809
|
title: 'Form Template Viewer',
|
810
810
|
data: {
|
@@ -994,7 +994,7 @@ class AXMFormTemplateManagementModule {
|
|
994
994
|
{
|
995
995
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
996
996
|
useFactory: async () => {
|
997
|
-
const provider = (await import('./acorex-modules-form-template-management-setting.provider-
|
997
|
+
const provider = (await import('./acorex-modules-form-template-management-setting.provider-hkwaOGfL.mjs')).AXMSettingProvider;
|
998
998
|
return new provider();
|
999
999
|
},
|
1000
1000
|
multi: true,
|
@@ -1091,7 +1091,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1091
1091
|
{
|
1092
1092
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
1093
1093
|
useFactory: async () => {
|
1094
|
-
const provider = (await import('./acorex-modules-form-template-management-setting.provider-
|
1094
|
+
const provider = (await import('./acorex-modules-form-template-management-setting.provider-hkwaOGfL.mjs')).AXMSettingProvider;
|
1095
1095
|
return new provider();
|
1096
1096
|
},
|
1097
1097
|
multi: true,
|
@@ -1115,4 +1115,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
1115
1115
|
*/
|
1116
1116
|
|
1117
1117
|
export { AXMFormTemplateManagementCategoryEntityService as A, RootConfig as R, AXMFormTemplateManagementTemplateEntityService as a, AXMFormTemplateTypes as b, AXPFormTemplateViewerConnector as c, AXPTemplateWidgetProviderService as d, AXMFormTemplateManagementModule as e, AXMFormTemplateManagementCategoryEntityModule as f, AXMFormTemplateManagementCategoryEntityServiceImpl as g, AXMFormTemplateManagementTemplateEntityModule as h, AXMFormTemplateManagementTemplateEntityServiceImpl as i };
|
1118
|
-
//# sourceMappingURL=acorex-modules-form-template-management-acorex-modules-form-template-management-
|
1118
|
+
//# sourceMappingURL=acorex-modules-form-template-management-acorex-modules-form-template-management-Qnh16t3Q.mjs.map
|