@acorex/modules 20.1.0 → 20.2.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/auth/index.d.ts +4 -57
- package/calendar-management/index.d.ts +47 -26
- package/conversation/index.d.ts +69 -9
- package/dashboard-management/index.d.ts +2 -0
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-5TIjp5UG.mjs → acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs} +84 -201
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-B0w1Xzx7.mjs → acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-app-chooser.component-B0w1Xzx7.mjs.map → acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-B8sVVZHV.mjs → acorex-modules-auth-login.module-ZEX4NMuJ.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-B8sVVZHV.mjs.map → acorex-modules-auth-login.module-ZEX4NMuJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CMKxj1Qo.mjs → acorex-modules-auth-master.layout-D-lIn4Pl.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CMKxj1Qo.mjs.map → acorex-modules-auth-master.layout-D-lIn4Pl.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DH0qKunk.mjs → acorex-modules-auth-password.component-CafZfqKe.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-password.component-DH0qKunk.mjs.map → acorex-modules-auth-password.component-CafZfqKe.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs +134 -0
- package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-Q9zaIiBS.mjs → acorex-modules-auth-routes-D9-qfC3V.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-Q9zaIiBS.mjs.map → acorex-modules-auth-routes-D9-qfC3V.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-wp7OOLsH.mjs → acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs} +10 -13
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs → acorex-modules-auth-two-factor-code.component-BglerlU-.mjs} +6 -6
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs.map → acorex-modules-auth-two-factor-code.component-BglerlU-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-oRixkeAn.mjs → acorex-modules-auth-two-factor.module-D3N2XyOH.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-oRixkeAn.mjs.map → acorex-modules-auth-two-factor.module-D3N2XyOH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +353 -315
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-common-acorex-modules-common-DQESb8jf.mjs → acorex-modules-common-acorex-modules-common-D06CT4CO.mjs} +6 -16
- package/fesm2022/acorex-modules-common-acorex-modules-common-D06CT4CO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-search-popup.component-CpFvcrxw.mjs → acorex-modules-common-search-popup.component-DbTj01Wz.mjs} +2 -2
- package/fesm2022/{acorex-modules-common-search-popup.component-CpFvcrxw.mjs.map → acorex-modules-common-search-popup.component-DbTj01Wz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-settings.provider-ha75F6g5.mjs → acorex-modules-common-settings.provider-DPVsF4c9.mjs} +2 -2
- package/fesm2022/{acorex-modules-common-settings.provider-ha75F6g5.mjs.map → acorex-modules-common-settings.provider-DPVsF4c9.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +487 -57
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +3 -3
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs → acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs} +411 -51
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs → acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs.map → acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs → acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs} +4 -4
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-details-view.component-bzA7fJZW.mjs → acorex-modules-document-management-details-view.component-CzTg3hha.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-bzA7fJZW.mjs.map → acorex-modules-document-management-details-view.component-CzTg3hha.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs → acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs.map → acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DrkSd6Rv.mjs → acorex-modules-document-management-drive.component-TzRLr7rb.mjs} +7 -7
- package/fesm2022/{acorex-modules-document-management-drive.component-DrkSd6Rv.mjs.map → acorex-modules-document-management-drive.component-TzRLr7rb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs → acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs.map → acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs → acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs.map → acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs → acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs → acorex-modules-document-management-list-view.component-CWGGArxw.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs.map → acorex-modules-document-management-list-view.component-CWGGArxw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs → acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs} +8 -9
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs → acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs.map → acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs → acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs.map → acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs → acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs → acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs} +2 -2
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs → acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs.map → acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs → acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs.map → acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs → acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs} +3 -3
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-ITP4K-tZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs → acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs.map → acorex-modules-issue-management-capture-screen.component-C1USFJeP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +109 -3
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs → acorex-modules-organization-management-add-item.component-Dr-bwC4K.mjs} +2 -2
- package/fesm2022/acorex-modules-organization-management-add-item.component-Dr-bwC4K.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs → acorex-modules-organization-management-org-chart.page-CXhtYrCS.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs.map → acorex-modules-organization-management-org-chart.page-CXhtYrCS.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +2 -2
- package/fesm2022/acorex-modules-platform-management.mjs +43 -19
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +48 -38
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs → acorex-modules-report-management-report-create-root.component-Cv88TDx7.mjs} +2 -2
- package/fesm2022/acorex-modules-report-management-report-create-root.component-Cv88TDx7.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +301 -837
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs +213 -0
- package/fesm2022/acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs → acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs} +21 -20
- package/fesm2022/acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +1 -143
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/notification-management/index.d.ts +125 -29
- package/package.json +9 -9
- package/report-management/index.d.ts +2 -0
- package/security-management/index.d.ts +4 -13
- package/workflow-management/index.d.ts +11 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-5TIjp5UG.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-oauth-callback.component-C95YLpI_.mjs +0 -101
- package/fesm2022/acorex-modules-auth-oauth-callback.component-C95YLpI_.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-Du0EBIiw.mjs +0 -239
- package/fesm2022/acorex-modules-auth-password.component-Du0EBIiw.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-wp7OOLsH.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-8wwWI0cQ.mjs +0 -135
- package/fesm2022/acorex-modules-auth-user-sessions.component-8wwWI0cQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-acorex-modules-common-DQESb8jf.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs.map +0 -1
@@ -2,7 +2,7 @@ import { AXPSessionService, AXPAuthGuard, AXP_PERMISSION_DEFINITION_PROVIDER } f
|
|
2
2
|
import { AXPSearchCommandProvider, createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPFileTypeProviderService, AXP_FILE_TYPE_INFO_PROVIDER, AXPFileStorageService, AXPSettingService, AXPLockService, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
3
3
|
import { AXPEntityService, AXMEntityCrudServiceImpl, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { inject, Injector, Injectable, NgModule, ChangeDetectionStrategy, Component, signal, viewChild, afterNextRender, computed, input, effect, ViewEncapsulation } from '@angular/core';
|
5
|
+
import { inject, Injector, Injectable, NgModule, ChangeDetectionStrategy, Component, signal, viewChild, afterNextRender, computed, input, effect, ViewEncapsulation, output, HostBinding } from '@angular/core';
|
6
6
|
import { firstValueFrom } from 'rxjs';
|
7
7
|
import * as i6 from '@acorex/platform/layout/builder';
|
8
8
|
import { AXPWidgetsCatalog, AXPValueWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_ADVANCE_CATEGORY, AXPWidgetGroupEnum, AXP_WIDGETS_EDITOR_CATEGORY } from '@acorex/platform/layout/builder';
|
@@ -23,9 +23,9 @@ import { FormsModule } from '@angular/forms';
|
|
23
23
|
import get from 'lodash-es/get';
|
24
24
|
import set from 'lodash-es/set';
|
25
25
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_LABEL_PROPERTY, AXP_READONLY_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
26
|
-
import * as i3$
|
26
|
+
import * as i3$2 from '@acorex/components/media-viewer';
|
27
27
|
import { AXMediaViewerContainerComponent, AXMediaViewerModule } from '@acorex/components/media-viewer';
|
28
|
-
import * as i3$
|
28
|
+
import * as i3$4 from '@acorex/platform/workflow';
|
29
29
|
import { AXPWorkflowAction, AXPWorkflowService, AXPWorkflowModule } from '@acorex/platform/workflow';
|
30
30
|
import { AXPopupService } from '@acorex/components/popup';
|
31
31
|
import { AXUploaderService } from '@acorex/components/uploader';
|
@@ -40,12 +40,12 @@ import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
40
40
|
import { AXPPlatformScope } from '@acorex/platform/core';
|
41
41
|
import { AXDialogService } from '@acorex/components/dialog';
|
42
42
|
import { AXFileService } from '@acorex/core/file';
|
43
|
-
import { castArray, set as set$1, get as get$1 } from 'lodash-es';
|
44
|
-
import * as
|
43
|
+
import { castArray, set as set$1, get as get$1, cloneDeep } from 'lodash-es';
|
44
|
+
import * as i3$1 from '@acorex/core/translation';
|
45
45
|
import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
46
46
|
import { AXBasePageComponent } from '@acorex/components/page';
|
47
47
|
import { AXLoadingModule } from '@acorex/components/loading';
|
48
|
-
import * as i3$
|
48
|
+
import * as i3$3 from '@acorex/components/menu';
|
49
49
|
import { AXMenuModule } from '@acorex/components/menu';
|
50
50
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
51
51
|
import { AXFormatModule } from '@acorex/core/format';
|
@@ -839,7 +839,7 @@ async function documentTypeFactory(injector) {
|
|
839
839
|
},
|
840
840
|
{
|
841
841
|
name: 'meta',
|
842
|
-
title: `t("
|
842
|
+
title: `t("metaTitle", { scope: "${i18n}" })`,
|
843
843
|
groupId: 'section',
|
844
844
|
schema: {
|
845
845
|
dataType: 'object',
|
@@ -865,6 +865,11 @@ async function documentTypeFactory(injector) {
|
|
865
865
|
commands: {
|
866
866
|
create: {
|
867
867
|
execute: async (data) => {
|
868
|
+
data.meta = data.meta.filter((item) => item.status !== 'deleted')
|
869
|
+
.map((item) => ({
|
870
|
+
...item,
|
871
|
+
status: 'active',
|
872
|
+
}));
|
868
873
|
const res = await dataService.insertOne(data);
|
869
874
|
return { id: res };
|
870
875
|
},
|
@@ -876,6 +881,11 @@ async function documentTypeFactory(injector) {
|
|
876
881
|
},
|
877
882
|
update: {
|
878
883
|
execute: async (data) => {
|
884
|
+
data.meta = data.meta.filter((item) => item.status !== 'deleted')
|
885
|
+
.map((item) => ({
|
886
|
+
...item,
|
887
|
+
status: 'active',
|
888
|
+
}));
|
879
889
|
return await dataService.updateOne(data.id, data);
|
880
890
|
},
|
881
891
|
},
|
@@ -2894,7 +2904,7 @@ class AXMFileTypeExtensionWidgetEditComponent extends AXPValueWidgetComponent {
|
|
2894
2904
|
</ax-collapse-group>
|
2895
2905
|
}
|
2896
2906
|
</axp-widgets-container>
|
2897
|
-
</div>`, isInline: true, dependencies: [{ 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: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.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: AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i6.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i7.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i7.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2907
|
+
</div>`, isInline: true, dependencies: [{ 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", "isItemTruncated", "showItemTooltip", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i4.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.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: AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i6.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i7.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i7.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2898
2908
|
}
|
2899
2909
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMFileTypeExtensionWidgetEditComponent, decorators: [{
|
2900
2910
|
type: Component,
|
@@ -3634,7 +3644,7 @@ class AXMDocumentManagerService {
|
|
3634
3644
|
* Moves a node to another location
|
3635
3645
|
*/
|
3636
3646
|
async moveTo(options) {
|
3637
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
3647
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs')).AXMDocumentDriveChooseComponent;
|
3638
3648
|
const popup = await this.popupService.open(comp, {
|
3639
3649
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
3640
3650
|
data: {
|
@@ -3667,7 +3677,7 @@ class AXMDocumentManagerService {
|
|
3667
3677
|
* Copies a node to another location
|
3668
3678
|
*/
|
3669
3679
|
async copyTo(options) {
|
3670
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
3680
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs')).AXMDocumentDriveChooseComponent;
|
3671
3681
|
const popup = await this.popupService.open(comp, {
|
3672
3682
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
3673
3683
|
data: {
|
@@ -3918,7 +3928,7 @@ class AXMDocumentManagerService {
|
|
3918
3928
|
* Shows share dialog for a node
|
3919
3929
|
*/
|
3920
3930
|
async showShareDialog(node) {
|
3921
|
-
const comp = (await import('./acorex-modules-document-management-share-dialog.component-
|
3931
|
+
const comp = (await import('./acorex-modules-document-management-share-dialog.component-CLF6b1Io.mjs')).AXMShareDialogComponent;
|
3922
3932
|
const popup = await this.popupService.open(comp, {
|
3923
3933
|
title: 'Share',
|
3924
3934
|
data: {
|
@@ -3933,7 +3943,7 @@ class AXMDocumentManagerService {
|
|
3933
3943
|
* Shows share via email dialog for a node
|
3934
3944
|
*/
|
3935
3945
|
async showShareWithEmailDialog(node) {
|
3936
|
-
const comp = (await import('./acorex-modules-document-management-share-email-dialog.component-
|
3946
|
+
const comp = (await import('./acorex-modules-document-management-share-email-dialog.component-B8zNvOUv.mjs'))
|
3937
3947
|
.AXMShareEmailDialogComponent;
|
3938
3948
|
const popup = await this.popupService.open(comp, {
|
3939
3949
|
title: 'Share via Email',
|
@@ -3949,7 +3959,7 @@ class AXMDocumentManagerService {
|
|
3949
3959
|
* Shows link dialog for a node
|
3950
3960
|
*/
|
3951
3961
|
async showLinkDialog(node) {
|
3952
|
-
const comp = (await import('./acorex-modules-document-management-link-dialog.component-
|
3962
|
+
const comp = (await import('./acorex-modules-document-management-link-dialog.component-CPuOuvu-.mjs')).AXMLinkDialogComponent;
|
3953
3963
|
const popup = await this.popupService.open(comp, {
|
3954
3964
|
title: 'Share Link',
|
3955
3965
|
data: {
|
@@ -3986,7 +3996,7 @@ class AXMDocumentManagerService {
|
|
3986
3996
|
* Shows folder edit dialog
|
3987
3997
|
*/
|
3988
3998
|
async showFolderEditDialog(node) {
|
3989
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
3999
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs'))
|
3990
4000
|
.AXMCreateFolderDialog;
|
3991
4001
|
const popup = await this.popupService.open(comp, {
|
3992
4002
|
title: await this.translate.translateAsync('@document-management:actions.update-folder'),
|
@@ -4000,7 +4010,7 @@ class AXMDocumentManagerService {
|
|
4000
4010
|
* Shows create folder dialog
|
4001
4011
|
*/
|
4002
4012
|
async showCreateFolderDialog(parentId) {
|
4003
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
4013
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-ga7fuY4H.mjs'))
|
4004
4014
|
.AXMCreateFolderDialog;
|
4005
4015
|
const popup = await this.popupService.open(comp, {
|
4006
4016
|
title: await this.translate.translateAsync('@document-management:actions.create-folder'),
|
@@ -4014,7 +4024,7 @@ class AXMDocumentManagerService {
|
|
4014
4024
|
* Shows rename popup for a node
|
4015
4025
|
*/
|
4016
4026
|
async showRenamePopup(node) {
|
4017
|
-
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-
|
4027
|
+
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-MPkYZl2p.mjs'))
|
4018
4028
|
.AXMRenameNodeDialog;
|
4019
4029
|
const popup = await this.popupService.open(comp, {
|
4020
4030
|
title: 't("actions.rename")',
|
@@ -4040,7 +4050,7 @@ class AXMDocumentManagerService {
|
|
4040
4050
|
* Shows choose file dialog
|
4041
4051
|
*/
|
4042
4052
|
async showChooseFileDialog(scope) {
|
4043
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
4053
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-BB5d32EI.mjs')).AXMDocumentDriveChooseComponent;
|
4044
4054
|
const result = await this.popupService.open(comp, {
|
4045
4055
|
title: await this.translate.translateAsync('@document-management:actions.choose-from-drive'),
|
4046
4056
|
data: {
|
@@ -4279,7 +4289,7 @@ class AXMDocumentTypeChooseFileComponent extends AXBasePageComponent {
|
|
4279
4289
|
//
|
4280
4290
|
AXButtonModule }, { kind: "component", type: i1$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: AXDecoratorModule }, { kind: "component", type: i2.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: 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: AXLabelModule }, { kind: "component", type: i4.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type:
|
4281
4291
|
//
|
4282
|
-
AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i6.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type:
|
4292
|
+
AXPLayoutBuilderModule }, { kind: "component", type: i6.AXPWidgetContainerComponent, selector: "axp-widgets-container", inputs: ["context", "functions"], outputs: ["onContextChanged"] }, { kind: "directive", type: i6.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
4283
4293
|
}
|
4284
4294
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMDocumentTypeChooseFileComponent, decorators: [{
|
4285
4295
|
type: Component,
|
@@ -4318,7 +4328,7 @@ class AXMFileViewerPopupComponent extends AXBasePageComponent {
|
|
4318
4328
|
this.close();
|
4319
4329
|
}
|
4320
4330
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMFileViewerPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
4321
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.3", type: AXMFileViewerPopupComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "mediaViewer", first: true, predicate: AXMediaViewerContainerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ax-content>\n <ax-media-viewer-container [thumbnail]=\"true\" #c [dataArray]=\"nodes\">\n <ax-header>\n <ax-prefix>\n <ax-file-info></ax-file-info>\n </ax-prefix>\n <ax-suffix>\n <ax-fullscreen-button></ax-fullscreen-button>\n </ax-suffix>\n </ax-header>\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 <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<ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'close'\" (click)=\"onClose()\" />\n </ax-suffix>\n</ax-footer>\n", styles: ["ax-media-viewer-container{--ax-sys-border-radius:0 }\n"], dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: "component", type: i2.AXDecoratorFullScreenButtonComponent, selector: "ax-fullscreen-button" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$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: AXMediaViewerModule }, { kind: "component", type: i3$
|
4331
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.1.3", type: AXMFileViewerPopupComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "mediaViewer", first: true, predicate: AXMediaViewerContainerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<ax-content>\n <ax-media-viewer-container [thumbnail]=\"true\" #c [dataArray]=\"nodes\">\n <ax-header>\n <ax-prefix>\n <ax-file-info></ax-file-info>\n </ax-prefix>\n <ax-suffix>\n <ax-fullscreen-button></ax-fullscreen-button>\n </ax-suffix>\n </ax-header>\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 <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<ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'close'\" (click)=\"onClose()\" />\n </ax-suffix>\n</ax-footer>\n", styles: ["ax-media-viewer-container{--ax-sys-border-radius:0 }\n"], dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: "component", type: i2.AXDecoratorFullScreenButtonComponent, selector: "ax-fullscreen-button" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$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: AXMediaViewerModule }, { kind: "component", type: i3$2.AXMediaViewerContainerComponent, selector: "ax-media-viewer-container", inputs: ["dataArray", "thumbnail"] }, { kind: "component", type: i3$2.AXFileInfoComponent, selector: "ax-file-info" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
4322
4332
|
}
|
4323
4333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMFileViewerPopupComponent, decorators: [{
|
4324
4334
|
type: Component,
|
@@ -5292,13 +5302,13 @@ class AXMDocumentExplorerComponent {
|
|
5292
5302
|
this.showContextMenu = input(true, ...(ngDevMode ? [{ debugName: "showContextMenu" }] : []));
|
5293
5303
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : []));
|
5294
5304
|
this.viewMap = {
|
5295
|
-
list: async () => (await import('./acorex-modules-document-management-list-view.component-
|
5296
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
5297
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
5298
|
-
details: async () => (await import('./acorex-modules-document-management-details-view.component-
|
5299
|
-
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-
|
5300
|
-
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-
|
5301
|
-
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-
|
5305
|
+
list: async () => (await import('./acorex-modules-document-management-list-view.component-CWGGArxw.mjs')).AXMDocumentExplorerListViewComponent,
|
5306
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-C1E8RKYM.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
5307
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-CQyiGE99.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
5308
|
+
details: async () => (await import('./acorex-modules-document-management-details-view.component-CzTg3hha.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
5309
|
+
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-BeKFvgYU.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
5310
|
+
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-DRVLlW1e.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
5311
|
+
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-C6pop0RM.mjs')).AXMDocumentExplorerAttachmentComponent,
|
5302
5312
|
};
|
5303
5313
|
this.#effect = effect(() => {
|
5304
5314
|
if (this.vm.loadingFolderId() == null) {
|
@@ -5359,7 +5369,7 @@ class AXMDocumentExplorerComponent {
|
|
5359
5369
|
}
|
5360
5370
|
}
|
5361
5371
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMDocumentExplorerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5362
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXMDocumentExplorerComponent, isStandalone: true, selector: "axm-document-explorer", inputs: { browseMode: { classPropertyName: "browseMode", publicName: "browseMode", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showContextMenu: { classPropertyName: "showContextMenu", publicName: "showContextMenu", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["itemsContextMenu"], descendants: true, isSignal: true }, { propertyName: "rootContextMenu", first: true, predicate: ["rootContextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- Empty State -->\n<div class=\"view-container\">\n @if (vm.folders().length === 0 && vm.files().length === 0) {\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-py-16 ax-h-full\">\n <ax-icon icon=\"fa-light fa-folder-open\" class=\"ax-text-6xl ax-mb-4\"></ax-icon>\n <h3 class=\"ax-text-xl ax-font-medium ax-mb-2\">No Items Found</h3>\n <p class=\"\">This folder is empty. Add some files or folders to get started.</p>\n </div>\n } @else {\n <ng-container [ngComponentOutlet]=\"view()\"></ng-container>\n }\n</div>\n\n<!-- Context Menu -->\n@if (showContextMenu()) {\n<!-- Item Context Menu-->\n<ax-context-menu\n #itemsContextMenu\n [target]=\"'.__explorer-item'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuOnOpening($event)\"\n>\n</ax-context-menu>\n<!-- Root Context Menu-->\n<ax-context-menu\n #rootContextMenu\n [target]=\"'.view-container'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuRootOnOpening($event)\"\n>\n</ax-context-menu>\n}\n", styles: ["axm-document-explorer{display:flex;height:max-content;min-height:100%;width:100%;flex-direction:row;gap:1rem}axm-document-explorer>.view-container{display:flex;flex:1 1 0%;-webkit-user-select:none;-moz-user-select:-moz-none;user-select:none;flex-direction:column;gap:1rem}axm-document-explorer .animation-duration-2s{--fa-animation-duration: 2s}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i3$
|
5372
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXMDocumentExplorerComponent, isStandalone: true, selector: "axm-document-explorer", inputs: { browseMode: { classPropertyName: "browseMode", publicName: "browseMode", isSignal: true, isRequired: false, transformFunction: null }, viewMode: { classPropertyName: "viewMode", publicName: "viewMode", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, showContextMenu: { classPropertyName: "showContextMenu", publicName: "showContextMenu", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["itemsContextMenu"], descendants: true, isSignal: true }, { propertyName: "rootContextMenu", first: true, predicate: ["rootContextMenu"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- Empty State -->\n<div class=\"view-container\">\n @if (vm.folders().length === 0 && vm.files().length === 0) {\n <div class=\"ax-flex ax-flex-col ax-items-center ax-justify-center ax-py-16 ax-h-full\">\n <ax-icon icon=\"fa-light fa-folder-open\" class=\"ax-text-6xl ax-mb-4\"></ax-icon>\n <h3 class=\"ax-text-xl ax-font-medium ax-mb-2\">No Items Found</h3>\n <p class=\"\">This folder is empty. Add some files or folders to get started.</p>\n </div>\n } @else {\n <ng-container [ngComponentOutlet]=\"view()\"></ng-container>\n }\n</div>\n\n<!-- Context Menu -->\n@if (showContextMenu()) {\n<!-- Item Context Menu-->\n<ax-context-menu\n #itemsContextMenu\n [target]=\"'.__explorer-item'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuOnOpening($event)\"\n>\n</ax-context-menu>\n<!-- Root Context Menu-->\n<ax-context-menu\n #rootContextMenu\n [target]=\"'.view-container'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onItemClick)=\"handleContextMenuItemClick($event)\"\n (onOpening)=\"handleContextMenuRootOnOpening($event)\"\n>\n</ax-context-menu>\n}\n", styles: ["axm-document-explorer{display:flex;height:max-content;min-height:100%;width:100%;flex-direction:row;gap:1rem}axm-document-explorer>.view-container{display:flex;flex:1 1 0%;-webkit-user-select:none;-moz-user-select:-moz-none;user-select:none;flex-direction:column;gap:1rem}axm-document-explorer .animation-duration-2s{--fa-animation-duration: 2s}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "ngmodule", type: AXDateTimeModule }, { kind: "ngmodule", type: AXMenuModule }, { kind: "component", type: i3$3.AXContextMenuComponent, selector: "ax-context-menu", inputs: ["orientation", "openOn", "closeOn", "items", "target"], outputs: ["onItemClick", "onOpening"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
5363
5373
|
}
|
5364
5374
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMDocumentExplorerComponent, decorators: [{
|
5365
5375
|
type: Component,
|
@@ -5467,7 +5477,7 @@ class AXPFileUploaderWidgetExtensionComponent {
|
|
5467
5477
|
// Angular
|
5468
5478
|
CommonModule }, { kind: "ngmodule", type:
|
5469
5479
|
// ACoreX
|
5470
|
-
AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXCheckBoxModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type:
|
5480
|
+
AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXCheckBoxModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
5471
5481
|
}
|
5472
5482
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPFileUploaderWidgetExtensionComponent, decorators: [{
|
5473
5483
|
type: Component,
|
@@ -5530,41 +5540,391 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
5530
5540
|
}]
|
5531
5541
|
}] });
|
5532
5542
|
|
5543
|
+
class AXMetaListItemComponent {
|
5544
|
+
constructor() {
|
5545
|
+
this.item = input.required(...(ngDevMode ? [{ debugName: "item" }] : []));
|
5546
|
+
this.onRemove = output();
|
5547
|
+
this.onRevert = output();
|
5548
|
+
this.onEdit = output();
|
5549
|
+
}
|
5550
|
+
handleRemove() {
|
5551
|
+
this.onRemove.emit();
|
5552
|
+
}
|
5553
|
+
handleRevert() {
|
5554
|
+
this.onRevert.emit();
|
5555
|
+
}
|
5556
|
+
handleEdit() {
|
5557
|
+
this.onEdit.emit();
|
5558
|
+
}
|
5559
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMetaListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5560
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXMetaListItemComponent, isStandalone: true, selector: "axp-meta-list-item", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onRemove: "onRemove", onRevert: "onRevert", onEdit: "onEdit" }, ngImport: i0, template: `
|
5561
|
+
<div class="axp-meta-list-item" [class.__deleted]="item().status === 'deleted'" *translate="let t">
|
5562
|
+
<div class="__content">
|
5563
|
+
<div class="__header">
|
5564
|
+
<div class="__info">
|
5565
|
+
<h4 class="__title">{{ item().text }}</h4>
|
5566
|
+
<p class="__subtitle">
|
5567
|
+
@if (item().isRequired) {
|
5568
|
+
<span class="__required-badge">{{ t('@document-management:meta.required') | async }}</span>
|
5569
|
+
}
|
5570
|
+
</p>
|
5571
|
+
</div>
|
5572
|
+
|
5573
|
+
@if (item().status === 'deleted') {
|
5574
|
+
<div class="__status-badge">
|
5575
|
+
<ax-icon icon="fa-light fa-trash" class="__icon"></ax-icon>
|
5576
|
+
<span>{{ t('@document-management:meta.deleted') | async }}</span>
|
5577
|
+
</div>
|
5578
|
+
}
|
5579
|
+
</div>
|
5580
|
+
</div>
|
5581
|
+
|
5582
|
+
<div class="__actions">
|
5583
|
+
@if (item().status === 'deleted') {
|
5584
|
+
<ax-button
|
5585
|
+
class="ax-xs"
|
5586
|
+
look="outline"
|
5587
|
+
color="success"
|
5588
|
+
(onClick)="handleRevert()">
|
5589
|
+
<ax-prefix>
|
5590
|
+
<ax-icon icon="fa-light fa-undo"></ax-icon>
|
5591
|
+
</ax-prefix>
|
5592
|
+
</ax-button>
|
5593
|
+
} @else {
|
5594
|
+
<ax-button
|
5595
|
+
class="ax-xs"
|
5596
|
+
look="ghost"
|
5597
|
+
color="accent3"
|
5598
|
+
(onClick)="handleEdit()">
|
5599
|
+
<ax-prefix>
|
5600
|
+
<ax-icon icon="fa-light fa-edit"></ax-icon>
|
5601
|
+
</ax-prefix>
|
5602
|
+
</ax-button>
|
5603
|
+
|
5604
|
+
<ax-button
|
5605
|
+
class="ax-xs"
|
5606
|
+
look="ghost"
|
5607
|
+
color="danger"
|
5608
|
+
(onClick)="handleRemove()">
|
5609
|
+
<ax-prefix>
|
5610
|
+
<ax-icon icon="fa-light fa-trash"></ax-icon>
|
5611
|
+
</ax-prefix>
|
5612
|
+
</ax-button>
|
5613
|
+
}
|
5614
|
+
</div>
|
5615
|
+
</div>
|
5616
|
+
`, isInline: true, styles: [".axp-meta-list-item{display:flex;align-items:center;justify-content:space-between;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}.axp-meta-list-item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}.axp-meta-list-item.__deleted{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-danger-500),var(--tw-border-opacity, 1))}.axp-meta-list-item.__deleted{--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-danger-50),var(--tw-bg-opacity, 1))}.axp-meta-list-item.__deleted .__content{opacity:.6}.axp-meta-list-item .__content{flex:1 1 0%}.axp-meta-list-item .__content .__header{display:flex}.axp-meta-list-item .__content .__header{align-items:center}.axp-meta-list-item .__content .__header{justify-content:space-between}.axp-meta-list-item .__content .__header .__info{flex:1 1 0%}.axp-meta-list-item .__content .__header .__info .__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.axp-meta-list-item .__content .__header .__info .__title{text-align:start}.axp-meta-list-item .__content .__header .__info .__title{font-size:.875rem;line-height:1.25rem}.axp-meta-list-item .__content .__header .__info .__title{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{display:inline-flex}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{align-items:center}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{border-radius:9999px}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-left:.5rem;padding-right:.5rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-top:.25rem;padding-bottom:.25rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-size:.75rem;line-height:1rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity, 1))}.axp-meta-list-item .__actions{margin-left:auto}.axp-meta-list-item .__actions{display:flex}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$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: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXTranslationModule }, { kind: "directive", type: i3$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
5617
|
+
}
|
5618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMetaListItemComponent, decorators: [{
|
5619
|
+
type: Component,
|
5620
|
+
args: [{ selector: 'axp-meta-list-item', template: `
|
5621
|
+
<div class="axp-meta-list-item" [class.__deleted]="item().status === 'deleted'" *translate="let t">
|
5622
|
+
<div class="__content">
|
5623
|
+
<div class="__header">
|
5624
|
+
<div class="__info">
|
5625
|
+
<h4 class="__title">{{ item().text }}</h4>
|
5626
|
+
<p class="__subtitle">
|
5627
|
+
@if (item().isRequired) {
|
5628
|
+
<span class="__required-badge">{{ t('@document-management:meta.required') | async }}</span>
|
5629
|
+
}
|
5630
|
+
</p>
|
5631
|
+
</div>
|
5632
|
+
|
5633
|
+
@if (item().status === 'deleted') {
|
5634
|
+
<div class="__status-badge">
|
5635
|
+
<ax-icon icon="fa-light fa-trash" class="__icon"></ax-icon>
|
5636
|
+
<span>{{ t('@document-management:meta.deleted') | async }}</span>
|
5637
|
+
</div>
|
5638
|
+
}
|
5639
|
+
</div>
|
5640
|
+
</div>
|
5641
|
+
|
5642
|
+
<div class="__actions">
|
5643
|
+
@if (item().status === 'deleted') {
|
5644
|
+
<ax-button
|
5645
|
+
class="ax-xs"
|
5646
|
+
look="outline"
|
5647
|
+
color="success"
|
5648
|
+
(onClick)="handleRevert()">
|
5649
|
+
<ax-prefix>
|
5650
|
+
<ax-icon icon="fa-light fa-undo"></ax-icon>
|
5651
|
+
</ax-prefix>
|
5652
|
+
</ax-button>
|
5653
|
+
} @else {
|
5654
|
+
<ax-button
|
5655
|
+
class="ax-xs"
|
5656
|
+
look="ghost"
|
5657
|
+
color="accent3"
|
5658
|
+
(onClick)="handleEdit()">
|
5659
|
+
<ax-prefix>
|
5660
|
+
<ax-icon icon="fa-light fa-edit"></ax-icon>
|
5661
|
+
</ax-prefix>
|
5662
|
+
</ax-button>
|
5663
|
+
|
5664
|
+
<ax-button
|
5665
|
+
class="ax-xs"
|
5666
|
+
look="ghost"
|
5667
|
+
color="danger"
|
5668
|
+
(onClick)="handleRemove()">
|
5669
|
+
<ax-prefix>
|
5670
|
+
<ax-icon icon="fa-light fa-trash"></ax-icon>
|
5671
|
+
</ax-prefix>
|
5672
|
+
</ax-button>
|
5673
|
+
}
|
5674
|
+
</div>
|
5675
|
+
</div>
|
5676
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
5677
|
+
CommonModule,
|
5678
|
+
AXButtonModule,
|
5679
|
+
AXDecoratorModule,
|
5680
|
+
AXTranslationModule
|
5681
|
+
], styles: [".axp-meta-list-item{display:flex;align-items:center;justify-content:space-between;border-radius:.375rem;padding-left:.5rem;padding-right:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}.axp-meta-list-item:hover{background-color:rgb(var(--ax-sys-color-lighter-surface));color:rgb(var(--ax-sys-color-on-lighter-surface));border-color:rgb(var(--ax-sys-color-border-lighter-surface))}.axp-meta-list-item.__deleted{--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-danger-500),var(--tw-border-opacity, 1))}.axp-meta-list-item.__deleted{--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-danger-50),var(--tw-bg-opacity, 1))}.axp-meta-list-item.__deleted .__content{opacity:.6}.axp-meta-list-item .__content{flex:1 1 0%}.axp-meta-list-item .__content .__header{display:flex}.axp-meta-list-item .__content .__header{align-items:center}.axp-meta-list-item .__content .__header{justify-content:space-between}.axp-meta-list-item .__content .__header .__info{flex:1 1 0%}.axp-meta-list-item .__content .__header .__info .__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.axp-meta-list-item .__content .__header .__info .__title{text-align:start}.axp-meta-list-item .__content .__header .__info .__title{font-size:.875rem;line-height:1.25rem}.axp-meta-list-item .__content .__header .__info .__title{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{display:inline-flex}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{align-items:center}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{border-radius:9999px}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-left:.5rem;padding-right:.5rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{padding-top:.25rem;padding-bottom:.25rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-size:.75rem;line-height:1rem}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{font-weight:500}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity, 1))}.axp-meta-list-item .__content .__header .__info .__subtitle .__required-badge{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity, 1))}.axp-meta-list-item .__actions{margin-left:auto}.axp-meta-list-item .__actions{display:flex}\n"] }]
|
5682
|
+
}] });
|
5683
|
+
|
5684
|
+
class AXMetaListComponent {
|
5685
|
+
constructor() {
|
5686
|
+
this.metaItems = input([], ...(ngDevMode ? [{ debugName: "metaItems" }] : []));
|
5687
|
+
this.onRemove = output();
|
5688
|
+
this.onRevert = output();
|
5689
|
+
this.onEdit = output();
|
5690
|
+
}
|
5691
|
+
handleRemove(item) {
|
5692
|
+
this.onRemove.emit(item);
|
5693
|
+
}
|
5694
|
+
handleRevert(item) {
|
5695
|
+
this.onRevert.emit(item);
|
5696
|
+
}
|
5697
|
+
handleEdit(item) {
|
5698
|
+
this.onEdit.emit(item);
|
5699
|
+
}
|
5700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMetaListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5701
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXMetaListComponent, isStandalone: true, selector: "axp-meta-list", inputs: { metaItems: { classPropertyName: "metaItems", publicName: "metaItems", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onRemove: "onRemove", onRevert: "onRevert", onEdit: "onEdit" }, ngImport: i0, template: `
|
5702
|
+
<div class="axp-meta-list">
|
5703
|
+
@if (metaItems().length === 0) {
|
5704
|
+
<div class="__empty-state">
|
5705
|
+
<div class="__content">
|
5706
|
+
<ax-icon class="__icon" icon="fa-light fa-list-check"></ax-icon>
|
5707
|
+
<p class="__message">No metadata items added yet</p>
|
5708
|
+
</div>
|
5709
|
+
</div>
|
5710
|
+
}
|
5711
|
+
|
5712
|
+
@for (item of metaItems(); track item.id) {
|
5713
|
+
<axp-meta-list-item
|
5714
|
+
[item]="item"
|
5715
|
+
(onRemove)="handleRemove(item)"
|
5716
|
+
(onRevert)="handleRevert(item)"
|
5717
|
+
(onEdit)="handleEdit(item)"
|
5718
|
+
/>
|
5719
|
+
}
|
5720
|
+
</div>
|
5721
|
+
`, isInline: true, styles: [".axp-meta-list .__empty-state{display:flex}.axp-meta-list .__empty-state{align-items:center}.axp-meta-list .__empty-state{justify-content:center}.axp-meta-list .__empty-state{padding-top:.5rem;padding-bottom:.5rem}.axp-meta-list .__empty-state .__content .__icon{margin-bottom:.5rem}.axp-meta-list .__empty-state .__content .__icon{font-size:1.5rem;line-height:2rem}.axp-meta-list .__empty-state .__content .__message{font-size:.875rem;line-height:1.25rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXMetaListItemComponent, selector: "axp-meta-list-item", inputs: ["item"], outputs: ["onRemove", "onRevert", "onEdit"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
5722
|
+
}
|
5723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMetaListComponent, decorators: [{
|
5724
|
+
type: Component,
|
5725
|
+
args: [{ selector: 'axp-meta-list', template: `
|
5726
|
+
<div class="axp-meta-list">
|
5727
|
+
@if (metaItems().length === 0) {
|
5728
|
+
<div class="__empty-state">
|
5729
|
+
<div class="__content">
|
5730
|
+
<ax-icon class="__icon" icon="fa-light fa-list-check"></ax-icon>
|
5731
|
+
<p class="__message">No metadata items added yet</p>
|
5732
|
+
</div>
|
5733
|
+
</div>
|
5734
|
+
}
|
5735
|
+
|
5736
|
+
@for (item of metaItems(); track item.id) {
|
5737
|
+
<axp-meta-list-item
|
5738
|
+
[item]="item"
|
5739
|
+
(onRemove)="handleRemove(item)"
|
5740
|
+
(onRevert)="handleRevert(item)"
|
5741
|
+
(onEdit)="handleEdit(item)"
|
5742
|
+
/>
|
5743
|
+
}
|
5744
|
+
</div>
|
5745
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
5746
|
+
CommonModule,
|
5747
|
+
AXDecoratorModule,
|
5748
|
+
AXMetaListItemComponent
|
5749
|
+
], styles: [".axp-meta-list .__empty-state{display:flex}.axp-meta-list .__empty-state{align-items:center}.axp-meta-list .__empty-state{justify-content:center}.axp-meta-list .__empty-state{padding-top:.5rem;padding-bottom:.5rem}.axp-meta-list .__empty-state .__content .__icon{margin-bottom:.5rem}.axp-meta-list .__empty-state .__content .__icon{font-size:1.5rem;line-height:2rem}.axp-meta-list .__empty-state .__content .__message{font-size:.875rem;line-height:1.25rem}\n"] }]
|
5750
|
+
}] });
|
5751
|
+
|
5533
5752
|
class AXPMetaSelectorWidgetEditComponent extends AXPValueWidgetComponent {
|
5534
5753
|
constructor() {
|
5535
5754
|
super(...arguments);
|
5755
|
+
//#region ---- Services & Dependencies ----
|
5536
5756
|
this.popupService = inject(AXPopupService);
|
5757
|
+
//#endregion
|
5758
|
+
//#region ---- Computed Properties ----
|
5759
|
+
/**
|
5760
|
+
* Convert raw value to MetaDataItem format for display
|
5761
|
+
*/
|
5762
|
+
this.metaItems = computed(() => {
|
5763
|
+
const value = this.getValue();
|
5764
|
+
if (!Array.isArray(value)) {
|
5765
|
+
return [];
|
5766
|
+
}
|
5767
|
+
return value.map(item => ({
|
5768
|
+
id: item.id,
|
5769
|
+
text: item.text,
|
5770
|
+
isRequired: item.isRequired ?? false,
|
5771
|
+
placeholder: item.placeholder,
|
5772
|
+
status: item.status || 'active',
|
5773
|
+
...item
|
5774
|
+
}));
|
5775
|
+
}, ...(ngDevMode ? [{ debugName: "metaItems" }] : []));
|
5537
5776
|
}
|
5538
|
-
|
5539
|
-
|
5777
|
+
//#endregion
|
5778
|
+
//#region ---- Event Handlers ----
|
5779
|
+
/**
|
5780
|
+
* Handle adding new metadata items
|
5781
|
+
*/
|
5782
|
+
async handleAddClick() {
|
5783
|
+
const comp = (await import('./acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs')).AXPMetaChoosePopupComponent;
|
5540
5784
|
const result = await this.popupService.open(comp, {
|
5541
5785
|
title: 'Meta Selector',
|
5542
5786
|
data: {
|
5543
|
-
initialData: this.getValue()
|
5787
|
+
initialData: cloneDeep(this.getValue())
|
5788
|
+
}
|
5789
|
+
});
|
5790
|
+
if (result.data != undefined && result.data != null) {
|
5791
|
+
this.setValue(result.data);
|
5792
|
+
}
|
5793
|
+
}
|
5794
|
+
/**
|
5795
|
+
* Handle removing a metadata item
|
5796
|
+
*/
|
5797
|
+
handleMetaRemove(item) {
|
5798
|
+
this.removeMetaItem(item);
|
5799
|
+
}
|
5800
|
+
/**
|
5801
|
+
* Handle reverting a deleted metadata item
|
5802
|
+
*/
|
5803
|
+
handleMetaRevert(item) {
|
5804
|
+
item.status = 'active';
|
5805
|
+
this.updateMetaItem(item);
|
5806
|
+
}
|
5807
|
+
/**
|
5808
|
+
* Handle editing a metadata item
|
5809
|
+
*/
|
5810
|
+
async handleMetaEdit(item) {
|
5811
|
+
const comp = (await import('./acorex-modules-document-management-meta-choose-popup.component-C7ounW6N.mjs')).AXPMetaChoosePopupComponent;
|
5812
|
+
const result = await this.popupService.open(comp, {
|
5813
|
+
title: 'Edit Meta Selector',
|
5814
|
+
data: {
|
5815
|
+
initialData: cloneDeep(this.getValue()),
|
5816
|
+
editMode: true,
|
5817
|
+
editingItem: item
|
5544
5818
|
}
|
5545
5819
|
});
|
5546
5820
|
if (result.data != undefined && result.data != null) {
|
5547
5821
|
this.setValue(result.data);
|
5548
5822
|
}
|
5549
5823
|
}
|
5824
|
+
//#endregion
|
5825
|
+
//#region ---- Utility Methods ----
|
5826
|
+
/**
|
5827
|
+
* Remove a metadata item (mark as deleted if uploaded, remove if attached)
|
5828
|
+
*/
|
5829
|
+
removeMetaItem(item) {
|
5830
|
+
const currentValue = this.getValue() || [];
|
5831
|
+
if (item.status === 'active') {
|
5832
|
+
// Mark as deleted instead of removing completely
|
5833
|
+
const updatedValue = currentValue.map((meta) => meta.id === item.id ? { ...meta, status: 'deleted' } : meta);
|
5834
|
+
this.setValue(updatedValue);
|
5835
|
+
}
|
5836
|
+
else {
|
5837
|
+
// Remove completely if already marked as deleted
|
5838
|
+
const updatedValue = currentValue.filter((meta) => meta.id !== item.id);
|
5839
|
+
this.setValue(updatedValue);
|
5840
|
+
}
|
5841
|
+
}
|
5842
|
+
/**
|
5843
|
+
* Update a specific metadata item
|
5844
|
+
*/
|
5845
|
+
updateMetaItem(item) {
|
5846
|
+
const currentValue = this.getValue() || [];
|
5847
|
+
const updatedValue = currentValue.map((meta) => meta.id === item.id ? { ...meta, ...item } : meta);
|
5848
|
+
this.setValue(updatedValue);
|
5849
|
+
}
|
5850
|
+
//#endregion
|
5851
|
+
//#region ---- Host Binding ----
|
5852
|
+
get __class() {
|
5853
|
+
const cls = {};
|
5854
|
+
cls[`ax-block`] = true;
|
5855
|
+
cls[`ax-border`] = true;
|
5856
|
+
cls[`ax-rounded-md`] = true;
|
5857
|
+
cls[`ax-lightest-surface`] = true;
|
5858
|
+
cls[`ax-flex-1`] = true;
|
5859
|
+
return cls;
|
5860
|
+
}
|
5550
5861
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPMetaSelectorWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
5551
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPMetaSelectorWidgetEditComponent, isStandalone: true, selector: "axp-meta-selector-widget-edit", usesInheritance: true, ngImport: i0, template: `
|
5552
|
-
|
5553
|
-
|
5554
|
-
|
5862
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPMetaSelectorWidgetEditComponent, isStandalone: true, selector: "axp-meta-selector-widget-edit", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
|
5863
|
+
<div class="axp-meta-selector-widget-edit" *translate="let t">
|
5864
|
+
|
5865
|
+
<div class="__header">
|
5866
|
+
<ax-button
|
5867
|
+
class="ax-sm"
|
5868
|
+
[text]="t('@document-management:actions.add-item') | async"
|
5869
|
+
[color]="'primary'"
|
5870
|
+
(click)='handleAddClick()'>
|
5871
|
+
<ax-prefix>
|
5872
|
+
<ax-icon icon="fa-light fa-plus"></ax-icon>
|
5873
|
+
</ax-prefix>
|
5874
|
+
</ax-button>
|
5875
|
+
</div>
|
5876
|
+
|
5877
|
+
<div class="__content">
|
5878
|
+
<axp-meta-list
|
5879
|
+
[metaItems]="metaItems()"
|
5880
|
+
(onRemove)="handleMetaRemove($event)"
|
5881
|
+
(onRevert)="handleMetaRevert($event)"
|
5882
|
+
(onEdit)="handleMetaEdit($event)"
|
5883
|
+
/>
|
5884
|
+
</div>
|
5885
|
+
|
5886
|
+
</div>
|
5887
|
+
`, isInline: true, styles: [".axp-meta-selector-widget-edit .__header{display:flex}.axp-meta-selector-widget-edit .__header{justify-content:flex-end}.axp-meta-selector-widget-edit .__header{border-bottom-width:1px}.axp-meta-selector-widget-edit .__header,.axp-meta-selector-widget-edit .__content{padding:.5rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1$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: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2.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: AXTranslationModule }, { kind: "directive", type: i3$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "component", type: AXMetaListComponent, selector: "axp-meta-list", inputs: ["metaItems"], outputs: ["onRemove", "onRevert", "onEdit"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
5555
5888
|
}
|
5556
5889
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPMetaSelectorWidgetEditComponent, decorators: [{
|
5557
5890
|
type: Component,
|
5558
|
-
args: [{
|
5559
|
-
|
5560
|
-
|
5561
|
-
|
5562
|
-
|
5563
|
-
|
5564
|
-
|
5565
|
-
|
5566
|
-
|
5567
|
-
|
5891
|
+
args: [{ selector: 'axp-meta-selector-widget-edit', template: `
|
5892
|
+
<div class="axp-meta-selector-widget-edit" *translate="let t">
|
5893
|
+
|
5894
|
+
<div class="__header">
|
5895
|
+
<ax-button
|
5896
|
+
class="ax-sm"
|
5897
|
+
[text]="t('@document-management:actions.add-item') | async"
|
5898
|
+
[color]="'primary'"
|
5899
|
+
(click)='handleAddClick()'>
|
5900
|
+
<ax-prefix>
|
5901
|
+
<ax-icon icon="fa-light fa-plus"></ax-icon>
|
5902
|
+
</ax-prefix>
|
5903
|
+
</ax-button>
|
5904
|
+
</div>
|
5905
|
+
|
5906
|
+
<div class="__content">
|
5907
|
+
<axp-meta-list
|
5908
|
+
[metaItems]="metaItems()"
|
5909
|
+
(onRemove)="handleMetaRemove($event)"
|
5910
|
+
(onRevert)="handleMetaRevert($event)"
|
5911
|
+
(onEdit)="handleMetaEdit($event)"
|
5912
|
+
/>
|
5913
|
+
</div>
|
5914
|
+
|
5915
|
+
</div>
|
5916
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
5917
|
+
CommonModule,
|
5918
|
+
AXSelectBoxModule,
|
5919
|
+
AXButtonModule,
|
5920
|
+
AXDecoratorModule,
|
5921
|
+
AXTranslationModule,
|
5922
|
+
AXMetaListComponent
|
5923
|
+
], styles: [".axp-meta-selector-widget-edit .__header{display:flex}.axp-meta-selector-widget-edit .__header{justify-content:flex-end}.axp-meta-selector-widget-edit .__header{border-bottom-width:1px}.axp-meta-selector-widget-edit .__header,.axp-meta-selector-widget-edit .__content{padding:.5rem}\n"] }]
|
5924
|
+
}], propDecorators: { __class: [{
|
5925
|
+
type: HostBinding,
|
5926
|
+
args: ['class']
|
5927
|
+
}] } });
|
5568
5928
|
|
5569
5929
|
var metaSelectorWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
5570
5930
|
__proto__: null,
|
@@ -5625,11 +5985,11 @@ function routesFacory() {
|
|
5625
5985
|
children: [
|
5626
5986
|
{
|
5627
5987
|
path: '',
|
5628
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
5988
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-TzRLr7rb.mjs').then((c) => c.AXMDocumentDriveComponent),
|
5629
5989
|
},
|
5630
5990
|
{
|
5631
5991
|
path: ':id',
|
5632
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
5992
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-TzRLr7rb.mjs').then((c) => c.AXMDocumentDriveComponent),
|
5633
5993
|
},
|
5634
5994
|
],
|
5635
5995
|
},
|
@@ -5644,7 +6004,7 @@ class AXMDocumentManagementModule {
|
|
5644
6004
|
AXMDocumentManagementDocumentTypeMetaValueEntityModule,
|
5645
6005
|
AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
|
5646
6006
|
AXMDocumentManagementDocumentTypeEntityModule,
|
5647
|
-
AXMDocumentManagementDocumentEntityModule, i6.AXPLayoutBuilderModule, AXMFileTypeModule, i3$
|
6007
|
+
AXMDocumentManagementDocumentEntityModule, i6.AXPLayoutBuilderModule, AXMFileTypeModule, i3$2.AXMediaViewerModule, i3$4.AXPWorkflowModule] }); }
|
5648
6008
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMDocumentManagementModule, providers: [
|
5649
6009
|
{
|
5650
6010
|
provide: AXMFolderService,
|
@@ -5674,7 +6034,7 @@ class AXMDocumentManagementModule {
|
|
5674
6034
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
5675
6035
|
useFactory: async () => {
|
5676
6036
|
const injector = inject(Injector);
|
5677
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-
|
6037
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs')).AXMPermissionDefinitionProvider;
|
5678
6038
|
return new provider(injector);
|
5679
6039
|
},
|
5680
6040
|
multi: true,
|
@@ -5774,7 +6134,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
5774
6134
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
5775
6135
|
useFactory: async () => {
|
5776
6136
|
const injector = inject(Injector);
|
5777
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-
|
6137
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-s0P0M8p2.mjs')).AXMPermissionDefinitionProvider;
|
5778
6138
|
return new provider(injector);
|
5779
6139
|
},
|
5780
6140
|
multi: true,
|
@@ -5803,4 +6163,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
5803
6163
|
*/
|
5804
6164
|
|
5805
6165
|
export { AXPDocumentExplorerViewModel as A, AXMFolderService as B, AXMFolderServiceImpl as C, AXMEntityProvider as D, AXMMenuProvider as E, AXMSearchCommandProvider as F, AXMSettingProvider as G, RootConfig as R, AXMDocumentManagerService as a, AXMDocumentExplorerComponent as b, AXMFolderPathBreadcrumbsComponent as c, AXMPermissionsKeys as d, AXMDocumentTypeService as e, AXMDocumentManagementModule as f, documentFactory as g, AXMDocumentManagementDocumentEntityModule as h, AXMDocumentService as i, AXMDocumentServiceImpl as j, documentTypeFactory as k, AXMDocumentManagementDocumentTypeEntityModule as l, AXMDocumentTypeServiceImpl as m, documentTypeMetaDefinitionfactory as n, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule as o, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService as p, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl as q, documentTypeMetaValueFactory as r, AXMDocumentManagementDocumentTypeMetaValueEntityModule as s, AXMDocumentManagementDocumentTypeMetaValueEntityService as t, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl as u, documentTypeStatusDefinitionFactory as v, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule as w, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as x, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as y, folderFactory as z };
|
5806
|
-
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-
|
6166
|
+
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-C7ot6PfT.mjs.map
|