@acorex/modules 19.3.2 → 19.3.3-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/common/index.d.ts +1 -0
- package/common/lib/common.module.d.ts +3 -2
- package/common/lib/features/global-search/index.d.ts +3 -0
- package/common/lib/features/global-search/search-popup.component.d.ts +22 -0
- package/common/lib/features/global-search/search-slot.component.d.ts +9 -0
- package/common/lib/features/global-search/search.config.d.ts +5 -0
- package/common/lib/features/global-search/search.module.d.ts +11 -0
- package/common/lib/features/global-search/search.viewmodel.d.ts +34 -0
- package/common/lib/features/global-search/workflows/search.workflow.d.ts +11 -0
- package/dashboard-management/lib/menu.provider.d.ts +1 -0
- package/document-management/lib/features/document-explorer/document-explorer.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/document-explorer.viewmodel.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/detail-panel/detail-panel.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/details/details-view.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/large-icons/large-icons-view.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/large-tiles/large-tiles-view.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/list/list-view.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/small-icons/small-icons-view.component.d.ts +1 -0
- package/document-management/lib/features/document-explorer/views/small-tiles/small-tiles-view.component.d.ts +1 -0
- package/document-management/lib/features/drive/drive.component.d.ts +1 -0
- package/document-management/lib/features/drive-choose/drive-choose.component.d.ts +1 -0
- package/document-management/lib/features/shared/components/folder-path-breadcrumbs/folder-path-breadcrumbs.component.d.ts +1 -0
- package/document-management/lib/features/shared/document-manager.types.d.ts +2 -0
- package/document-management/lib/features/widgets/document-attachment/document-attachment-widget-edit.component.d.ts +4 -3
- package/document-management/lib/permission-definition.provider.d.ts +4 -0
- package/document-management/lib/permission.keys.d.ts +19 -0
- package/fesm2022/acorex-modules-common-search-popup.component-C3XUb6pF.mjs +128 -0
- package/fesm2022/acorex-modules-common-search-popup.component-C3XUb6pF.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +289 -7
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs} +33 -8
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DKGnh_V9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs → acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs} +55 -29
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-By3lZP-J.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-vYaqbxKs.mjs → acorex-modules-document-management-acorex-modules-document-management-hMEt0yZI.mjs} +61 -41
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-hMEt0yZI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-Bc_IX3gT.mjs → acorex-modules-document-management-create-folder-dialog.component-D_FfCqY8.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-Bc_IX3gT.mjs.map → acorex-modules-document-management-create-folder-dialog.component-D_FfCqY8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-_9f5TQJi.mjs → acorex-modules-document-management-details-view.component-Oxtnvogq.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-_9f5TQJi.mjs.map → acorex-modules-document-management-details-view.component-Oxtnvogq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CFOb0_MF.mjs → acorex-modules-document-management-drive-choose.component-BqZyAAAw.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-CFOb0_MF.mjs.map → acorex-modules-document-management-drive-choose.component-BqZyAAAw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-D9es4CBl.mjs → acorex-modules-document-management-large-icons-view.component-9APgNKIu.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-D9es4CBl.mjs.map → acorex-modules-document-management-large-icons-view.component-9APgNKIu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Q1Sjg47F.mjs → acorex-modules-document-management-large-tiles-view.component-Byt-Hl3M.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Q1Sjg47F.mjs.map → acorex-modules-document-management-large-tiles-view.component-Byt-Hl3M.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-BUu5vrul.mjs → acorex-modules-document-management-list-view.component-BeuXrgYL.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-BUu5vrul.mjs.map → acorex-modules-document-management-list-view.component-BeuXrgYL.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-permission-definition.provider-9KjrOZc6.mjs +31 -0
- package/fesm2022/acorex-modules-document-management-permission-definition.provider-9KjrOZc6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BMRmdslE.mjs → acorex-modules-document-management-rename-node-dialog.component-BHayM-mO.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-BMRmdslE.mjs.map → acorex-modules-document-management-rename-node-dialog.component-BHayM-mO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-ChSS7z9z.mjs → acorex-modules-document-management-small-icons-view.component-CNVZaLv2.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-ChSS7z9z.mjs.map → acorex-modules-document-management-small-icons-view.component-CNVZaLv2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Ci33qbBY.mjs → acorex-modules-document-management-small-tiles-view.component-BDv_sH9f.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-Ci33qbBY.mjs.map → acorex-modules-document-management-small-tiles-view.component-BDv_sH9f.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-Cv92x_9Z.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs} +33 -15
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-CJ2Qoott.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-DPVwQW4X.mjs → acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-DPVwQW4X.mjs.map → acorex-modules-form-template-management-category.entity-BjNsUAZq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BrWbwKTK.mjs → acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs} +2 -21
- package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-CqZ8ytjA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-iwOUp0iw.mjs → acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-iwOUp0iw.mjs.map → acorex-modules-form-template-management-settings.provider-LrzsYkiL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-BkR3x74p.mjs → acorex-modules-form-template-management-template-widget-edit.component-BP75i9zU.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-BkR3x74p.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BP75i9zU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-NgmH7r8R.mjs → acorex-modules-form-template-management-template.entity-CCaHPkWq.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-NgmH7r8R.mjs.map → acorex-modules-form-template-management-template.entity-CCaHPkWq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Cq33xA62.mjs → acorex-modules-form-template-management-viewer-popup.component-CUOsh6e5.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-Cq33xA62.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CUOsh6e5.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs → acorex-modules-issue-management-acorex-modules-issue-management-DcmAnBue.mjs} +2 -3
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-DcmAnBue.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs → acorex-modules-issue-management-capture-screen.component-BMpafdHr.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs.map → acorex-modules-issue-management-capture-screen.component-BMpafdHr.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +3 -8
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +2 -2
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-DW0TneoX.mjs → acorex-modules-organization-management-add-item.component-DE0Ek0dk.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-add-item.component-DW0TneoX.mjs.map → acorex-modules-organization-management-add-item.component-DE0Ek0dk.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-RuvkSheN.mjs +124 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-RuvkSheN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-DnRbGIWN.mjs → acorex-modules-organization-management-org-chart.page-C2qYJxpY.mjs} +59 -19
- package/fesm2022/acorex-modules-organization-management-org-chart.page-C2qYJxpY.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +7 -7
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs} +134 -59
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-BElZjmXr.mjs → acorex-modules-platform-management-list-version.component-a_szjudb.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-BElZjmXr.mjs.map → acorex-modules-platform-management-list-version.component-a_szjudb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-CemrvnbH.mjs → acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-CemrvnbH.mjs.map → acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-XDFtTqft.mjs +219 -0
- package/fesm2022/acorex-modules-settings-management-setting-page.component-XDFtTqft.mjs.map +1 -0
- package/fesm2022/acorex-modules-settings-management-setting-view.component-B_6RIU9e.mjs +103 -0
- package/fesm2022/acorex-modules-settings-management-setting-view.component-B_6RIU9e.mjs.map +1 -0
- package/fesm2022/acorex-modules-settings-management.mjs +442 -0
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-training-management.mjs +0 -2
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/organization-management/lib/features/organization-chart/org-chart-configuration.page.d.ts +7 -61
- package/organization-management/lib/features/organization-chart/org-chart.page.d.ts +8 -61
- package/package.json +5 -1
- package/platform-management/lib/const.d.ts +2 -6
- package/platform-management/lib/entities/promotion/promotion.datasource.d.ts +7 -0
- package/platform-management/lib/features/app-terms/pages/list/list-terms.component.d.ts +11 -13
- package/settings-management/README.md +3 -0
- package/settings-management/index.d.ts +2 -0
- package/settings-management/lib/features/settings/convert-setting-data.d.ts +2 -0
- package/settings-management/lib/features/settings/search-definition.provider.d.ts +4 -0
- package/settings-management/lib/features/settings/search.provider.d.ts +9 -0
- package/settings-management/lib/features/settings/setting-page/setting-page.component.d.ts +65 -0
- package/settings-management/lib/features/settings/setting-view/setting-view.component.d.ts +135 -0
- package/settings-management/lib/features/settings/settings.viewmodel.d.ts +46 -0
- package/settings-management/lib/settings-management.module.d.ts +9 -0
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-vYaqbxKs.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-Cv92x_9Z.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-permission-definition.provider-BrWbwKTK.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs +0 -92
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DFqOS0So.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DnRbGIWN.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs.map +0 -1
@@ -11,7 +11,6 @@ import * as i5 from '@acorex/cdk/outline';
|
|
11
11
|
import { AXOutlineModule } from '@acorex/cdk/outline';
|
12
12
|
import * as i4$1 from '@acorex/components/decorators';
|
13
13
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
14
|
-
import { AXBasePageComponent } from '@acorex/components/page';
|
15
14
|
import * as i4 from '@acorex/components/side-menu';
|
16
15
|
import { AXSideMenuModule } from '@acorex/components/side-menu';
|
17
16
|
import * as i2 from '@acorex/core/format';
|
@@ -19,9 +18,9 @@ import { AXFormatModule } from '@acorex/core/format';
|
|
19
18
|
import * as i6 from '@acorex/core/translation';
|
20
19
|
import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
|
21
20
|
import * as i1$2 from '@acorex/platform/core';
|
22
|
-
import { AXPHtmlUtils, AXPPlatformScope, applyQueryArray, AXPAppStartUpService, objectKeyValueTransforms } from '@acorex/platform/core';
|
23
|
-
import {
|
24
|
-
import {
|
21
|
+
import { AXPHtmlUtils, AXPPlatformScope, AXPDataSourceDefinitionProviderService, applyQueryArray, AXPAppStartUpService, objectKeyValueTransforms, AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
22
|
+
import { AXPBasePageComponent, AXPPageLayoutComponent, AXPBasePage } from '@acorex/platform/themes/default';
|
23
|
+
import { AXPThemeLayoutBlockComponent } from '@acorex/platform/themes/shared';
|
25
24
|
import * as i1 from '@angular/common';
|
26
25
|
import { CommonModule } from '@angular/common';
|
27
26
|
import { AXPopupService } from '@acorex/components/popup';
|
@@ -31,6 +30,7 @@ import * as i3 from '@acorex/components/check-box';
|
|
31
30
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
32
31
|
import * as i2$1 from '@acorex/components/label';
|
33
32
|
import { AXLabelModule } from '@acorex/components/label';
|
33
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
34
34
|
import { AXSafePipe } from '@acorex/core/pipes';
|
35
35
|
import { AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
|
36
36
|
import { upperFirst, camelCase } from 'lodash-es';
|
@@ -63,12 +63,6 @@ const RootConfig = {
|
|
63
63
|
titlePlural: `t("glossary.plural-title", { scope: "${config.i18n}" })`,
|
64
64
|
icon: 'fa-light fa-file',
|
65
65
|
},
|
66
|
-
sample: {
|
67
|
-
name: 'Sample',
|
68
|
-
title: `t("sample", { scope: "${config.i18n}" })`,
|
69
|
-
titlePlural: `t("samplePlural", { scope: "${config.i18n}" })`,
|
70
|
-
icon: 'fa-light fa-default',
|
71
|
-
},
|
72
66
|
localizationManagement: {
|
73
67
|
name: 'Localization Management',
|
74
68
|
title: `t("localization-management", {scope:"${config.i18n}"})`,
|
@@ -87,8 +81,10 @@ const RootConfig = {
|
|
87
81
|
},
|
88
82
|
appTerm: {
|
89
83
|
name: 'app-term',
|
90
|
-
title: `t("
|
91
|
-
titlePlural: `t("
|
84
|
+
title: `t("app-term.individual-title", {scope:"${config.i18n}"})`,
|
85
|
+
titlePlural: `t("app-term.plural-title", {scope:"${config.i18n}"})`,
|
86
|
+
pageTitle: `t("app-term.page-title", {scope:"${config.i18n}"})`,
|
87
|
+
pageDescription: `t("app-term.page-description", {scope:"${config.i18n}"})`,
|
92
88
|
icon: 'fa-light fa-scale-balanced',
|
93
89
|
},
|
94
90
|
promotion: {
|
@@ -555,16 +551,14 @@ async function appTermEntityEntityFactory(injector) {
|
|
555
551
|
return entityDef;
|
556
552
|
}
|
557
553
|
|
558
|
-
class AXMListTermsComponent extends
|
554
|
+
class AXMListTermsComponent extends AXPBasePageComponent {
|
559
555
|
constructor() {
|
560
556
|
super(...arguments);
|
561
557
|
this.service = inject(AXMAppTermService);
|
562
558
|
this.htmlUtil = inject(AXPHtmlUtils);
|
563
|
-
this.i18n = RootConfig.config.i18n;
|
564
|
-
this.pageTitle = RootConfig.entities.appTerm.titlePlural;
|
565
559
|
this.terms = [];
|
566
560
|
this.loaded = signal(false);
|
567
|
-
this.showScrollSide =
|
561
|
+
this.showScrollSide = signal(true);
|
568
562
|
}
|
569
563
|
ngAfterViewInit() {
|
570
564
|
this.checkScroll();
|
@@ -575,7 +569,7 @@ class AXMListTermsComponent extends AXBasePageComponent {
|
|
575
569
|
checkScroll() {
|
576
570
|
const contentElement = document.getElementById('contentDiv');
|
577
571
|
if (contentElement != null) {
|
578
|
-
this.showScrollSide
|
572
|
+
this.showScrollSide.set(contentElement.offsetHeight > window.innerHeight - 140);
|
579
573
|
}
|
580
574
|
}
|
581
575
|
async ngOnInit() {
|
@@ -593,27 +587,47 @@ class AXMListTermsComponent extends AXBasePageComponent {
|
|
593
587
|
this.loaded.set(true);
|
594
588
|
setTimeout(() => this.checkScroll(), 50);
|
595
589
|
}
|
590
|
+
getPageTitle() {
|
591
|
+
return RootConfig.entities.appTerm.pageTitle;
|
592
|
+
}
|
593
|
+
getPageDescription() {
|
594
|
+
return RootConfig.entities.appTerm.pageDescription;
|
595
|
+
}
|
596
596
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMListTermsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
597
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMListTermsComponent, isStandalone: true, selector: "
|
597
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXMListTermsComponent, isStandalone: true, selector: "ng-component", host: { listeners: { "window:resize": "onResize($event)" } }, providers: [
|
598
|
+
{
|
599
|
+
provide: AXPBasePage,
|
600
|
+
useExisting: AXMListTermsComponent,
|
601
|
+
},
|
602
|
+
], usesInheritance: true, ngImport: i0, template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormatModule }, { kind: "pipe", type: i2.AXFormatPipe, name: "format" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer, axp-page-header, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-container, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i6.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXSideMenuModule }, { kind: "component", type: i4.AXSideMenuComponent, selector: "ax-side-menu", inputs: ["items", "look", "location"], outputs: ["itemsChange"] }, { kind: "directive", type: i4.AXOutlineSideMenuDirective, selector: "[axOutlineSideMenu]", exportAs: ["axOutlineSideMenu"] }, { kind: "ngmodule", type: AXOutlineModule }, { kind: "directive", type: i5.AXOutlineContainerDirective, selector: "[axOutlineContainer]", inputs: ["target", "smoothScroll", "activationOffset", "activateLastAtBottom", "scrollableElementId"], exportAs: ["axOutlineContainer"] }, { kind: "component", type: AXPPageLayoutComponent, selector: "axp-page-layout" }] }); }
|
598
603
|
}
|
599
604
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMListTermsComponent, decorators: [{
|
600
605
|
type: Component,
|
601
|
-
args: [{
|
606
|
+
args: [{ imports: [
|
602
607
|
CommonModule,
|
603
608
|
AXDecoratorModule,
|
604
609
|
AXFormatModule,
|
605
|
-
AXPSimplePageLayout,
|
606
|
-
AXPThemeLayoutPageHeaderComponent,
|
607
610
|
AXPThemeLayoutBlockComponent,
|
608
611
|
AXTranslationModule,
|
609
612
|
AXSideMenuModule,
|
610
613
|
AXOutlineModule,
|
611
|
-
|
614
|
+
AXPPageLayoutComponent,
|
615
|
+
], providers: [
|
616
|
+
{
|
617
|
+
provide: AXPBasePage,
|
618
|
+
useExisting: AXMListTermsComponent,
|
619
|
+
},
|
620
|
+
], template: "<axp-page-layout *translate=\"let t\">\n @if(loaded()){\n <axp-page-content id=\"contentDiv\" axOutlineContainer target=\"h2\" [scrollableElementId]=\"'axp-page-layout'\"\n [activationOffset]=\"120\" class=\"ax-flex ax-flex-row\">\n <div class=\"ax-flex ax-flex-col\">\n @for (term of terms; track term.id) {\n <div class=\"ax-flex ax-flex-col\">\n <h2 class=\"ax-px-4 ax-font-semibold ax-text-xl\">{{ term.title }}</h2>\n <p class=\"ax-px-4 ax-text-sm ax-leading-5 ax-opacity-65\">\n {{ term.effectiveDate | format : 'datetime' | async }}\n </p>\n <div class=\"ax-pt-3 ax-pb-6 ax-px-4 ax-text-base/6\" [innerHTML]=\"term.content\"></div>\n </div>\n }\n </div>\n @if(showScrollSide()){\n <div class=\"ax-hidden lg:ax-block ax-min-w-60\">\n <ax-side-menu axOutlineSideMenu look=\"with-line\" class=\"ax-w-full ax-sticky ax-top-24\"></ax-side-menu>\n </div>\n }\n </axp-page-content>\n }\n</axp-page-layout>" }]
|
612
621
|
}], propDecorators: { onResize: [{
|
613
622
|
type: HostListener,
|
614
623
|
args: ['window:resize', ['$event']]
|
615
624
|
}] } });
|
616
625
|
|
626
|
+
var listTerms_component = /*#__PURE__*/Object.freeze({
|
627
|
+
__proto__: null,
|
628
|
+
AXMListTermsComponent: AXMListTermsComponent
|
629
|
+
});
|
630
|
+
|
617
631
|
class AXMNotifyAppTermComponent extends AXBasePageComponent {
|
618
632
|
constructor() {
|
619
633
|
super(...arguments);
|
@@ -1361,6 +1375,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1361
1375
|
const i18n = RootConfig.config.i18n;
|
1362
1376
|
const entitiesService = injector.get(AXPEntityDefinitionRegistryService);
|
1363
1377
|
const translationService = injector.get(AXTranslationService);
|
1378
|
+
const dataSourceDefinitionService = injector.get(AXPDataSourceDefinitionProviderService);
|
1364
1379
|
const entityDef = {
|
1365
1380
|
module: RootConfig.module.name,
|
1366
1381
|
name: RootConfig.entities.dataSource.name,
|
@@ -1500,7 +1515,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1500
1515
|
},
|
1501
1516
|
{
|
1502
1517
|
name: 'entity',
|
1503
|
-
title: '
|
1518
|
+
title: 'Query',
|
1504
1519
|
},
|
1505
1520
|
{
|
1506
1521
|
name: 'static',
|
@@ -1512,7 +1527,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1512
1527
|
triggers: [
|
1513
1528
|
{
|
1514
1529
|
event: "{{ events.context('sourceType') }}",
|
1515
|
-
action: `{{context.set('sourceEntity' , null); if(context.eval('sourceType')?.name == 'static') { context.set('columns', [ { name: 'name',title: 'Name',type: { title: 'Text', name: 'text-editor', },},{name: 'title',title: 'Title',type: {title: 'Text',name: 'text-editor',},}, ] );} }}`,
|
1530
|
+
action: `{{context.set('columns' , []); context.set('sourceEntity' , null); if(context.eval('sourceType')?.name == 'static') { context.set('columns', [ { name: 'name',title: 'Name',type: { title: 'Text', name: 'text-editor', },},{name: 'title',title: 'Title',type: {title: 'Text',name: 'text-editor',},}, ] );} }}`,
|
1516
1531
|
},
|
1517
1532
|
],
|
1518
1533
|
},
|
@@ -1570,12 +1585,10 @@ async function dataSourceEntityFactory(injector) {
|
|
1570
1585
|
textField: 'title',
|
1571
1586
|
dataSource: new AXDataSource({
|
1572
1587
|
load: async (e) => {
|
1573
|
-
|
1574
|
-
const entities = entitiesService.getAll();
|
1588
|
+
const entities = await dataSourceDefinitionService.items();
|
1575
1589
|
// Map each entity to a promise that performs the translation
|
1576
1590
|
const translatedEntities = await Promise.all(entities.map(async (entity) => ({
|
1577
1591
|
...entity,
|
1578
|
-
name: `${entity.module}.${entity.name}`,
|
1579
1592
|
title: await translationService.translateAsync(entity.title),
|
1580
1593
|
})));
|
1581
1594
|
return {
|
@@ -1589,7 +1602,19 @@ async function dataSourceEntityFactory(injector) {
|
|
1589
1602
|
triggers: [
|
1590
1603
|
{
|
1591
1604
|
event: "{{ events.context('sourceEntity') }}",
|
1592
|
-
action: `{{ (async () => { const columns = await Promise.all(context.eval('sourceEntity').
|
1605
|
+
action: `{{ (async () => { const columns = await Promise.all(context.eval('sourceEntity').columns.map(async (item) => { return { name: item.name, title: await methods.translate(item.title), type: { title: await methods.widgetInfo(item.interface.type)?.title, name: item.interface.type }, options: item.interface.options }; })); context.set('columns', columns); })(); }}`,
|
1606
|
+
},
|
1607
|
+
{
|
1608
|
+
event: "{{ events.context('sourceEntity') }}",
|
1609
|
+
action: `{{ context.set('textField', context.eval('sourceEntity').textField); }}`,
|
1610
|
+
},
|
1611
|
+
{
|
1612
|
+
event: "{{ events.context('sourceEntity') }}",
|
1613
|
+
action: `{{ context.set('valueField', context.eval('sourceEntity').valueField); }}`,
|
1614
|
+
},
|
1615
|
+
{
|
1616
|
+
event: "{{ events.context('sourceEntity') }}",
|
1617
|
+
action: `{{ context.set('samples', context.eval('sourceEntity').samples); }}`,
|
1593
1618
|
},
|
1594
1619
|
],
|
1595
1620
|
},
|
@@ -1597,7 +1622,7 @@ async function dataSourceEntityFactory(injector) {
|
|
1597
1622
|
validations: [
|
1598
1623
|
// {
|
1599
1624
|
// rule: 'required',
|
1600
|
-
// disabled:
|
1625
|
+
// disabled: "{{ context.eval('sourceType')?.name != 'entity' }}",
|
1601
1626
|
// },
|
1602
1627
|
],
|
1603
1628
|
},
|
@@ -1660,7 +1685,6 @@ async function dataSourceEntityFactory(injector) {
|
|
1660
1685
|
commands: {
|
1661
1686
|
create: {
|
1662
1687
|
execute: async (data) => {
|
1663
|
-
debugger;
|
1664
1688
|
if (data.sourceType.name == 'entity') {
|
1665
1689
|
data.sourceEntity = data.sourceEntity?.name;
|
1666
1690
|
}
|
@@ -4448,7 +4472,7 @@ class AXMPlatformManagementCommonModule {
|
|
4448
4472
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
4449
4473
|
useFactory: async () => {
|
4450
4474
|
const injector = inject(Injector);
|
4451
|
-
const provider = (await import('./acorex-modules-platform-management-settings.provider-
|
4475
|
+
const provider = (await import('./acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs')).AXMRegionalSettingProvider;
|
4452
4476
|
return new provider(injector);
|
4453
4477
|
},
|
4454
4478
|
multi: true
|
@@ -4487,7 +4511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
4487
4511
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
4488
4512
|
useFactory: async () => {
|
4489
4513
|
const injector = inject(Injector);
|
4490
|
-
const provider = (await import('./acorex-modules-platform-management-settings.provider-
|
4514
|
+
const provider = (await import('./acorex-modules-platform-management-settings.provider-D_lPw5D4.mjs')).AXMRegionalSettingProvider;
|
4491
4515
|
return new provider(injector);
|
4492
4516
|
},
|
4493
4517
|
multi: true
|
@@ -4715,7 +4739,7 @@ class AXMShowReleaseNotesPopupAction extends AXPWorkflowAction {
|
|
4715
4739
|
}
|
4716
4740
|
async execute(context) {
|
4717
4741
|
const scope = RootConfig.config.i18n;
|
4718
|
-
const comp = await (await import('./acorex-modules-platform-management-list-version.component-
|
4742
|
+
const comp = await (await import('./acorex-modules-platform-management-list-version.component-a_szjudb.mjs')).AXMListVersionComponent;
|
4719
4743
|
this.popupService.open(comp, {
|
4720
4744
|
title: `t('release-notes',{scope: "${scope}"})`,
|
4721
4745
|
});
|
@@ -4828,7 +4852,7 @@ class AXMMenuProvider {
|
|
4828
4852
|
name: 'app-terms',
|
4829
4853
|
text: `t('terms-conditions',{scope: "${scope}"})`,
|
4830
4854
|
icon: 'fa-light fa-circle-info',
|
4831
|
-
path:
|
4855
|
+
path: `${appName}/terms`,
|
4832
4856
|
priority: 100031,
|
4833
4857
|
},
|
4834
4858
|
{
|
@@ -4840,22 +4864,14 @@ class AXMMenuProvider {
|
|
4840
4864
|
{
|
4841
4865
|
name: 'my-reported-issues',
|
4842
4866
|
text: `t("my-reported-issues.individual-title", { scope: "issue-management" })`,
|
4843
|
-
// text: IssueManagementConfig.entities.myReportedIssues.title,
|
4844
4867
|
icon: 'fa-light fa-message-exclamation',
|
4845
|
-
|
4846
|
-
path: this.entityService.createPath('IssueManagement',
|
4847
|
-
// IssueManagementConfig.module.name,
|
4848
|
-
'MyReportedIssues'
|
4849
|
-
// IssueManagementConfig.entities.myReportedIssues.name
|
4850
|
-
),
|
4868
|
+
path: this.entityService.createPath('IssueManagement', 'MyReportedIssues'),
|
4851
4869
|
priority: 100005,
|
4852
4870
|
},
|
4853
4871
|
{
|
4854
4872
|
name: 'app-report-issue',
|
4855
4873
|
text: `t("report-new-issue.individual-title", { scope: "issue-management" })`,
|
4856
|
-
// text: IssueManagementConfig.entities.reportNewIssue.title,
|
4857
4874
|
icon: 'fa-light fa-clipboard-list-check',
|
4858
|
-
// icon: IssueManagementConfig.entities.reportNewIssue.icon,
|
4859
4875
|
command: {
|
4860
4876
|
name: 'show-report-issue',
|
4861
4877
|
},
|
@@ -4964,26 +4980,14 @@ class AXMMenuProvider {
|
|
4964
4980
|
{
|
4965
4981
|
priority: 9008,
|
4966
4982
|
text: `t("reported-issues.individual-title", { scope: "issue-management" })`,
|
4967
|
-
|
4968
|
-
path: this.entityService.createPath('IssueManagement',
|
4969
|
-
// IssueManagementConfig.module.name,
|
4970
|
-
'ReportedIssues'
|
4971
|
-
// IssueManagementConfig.entities.reportedIssues.name
|
4972
|
-
),
|
4983
|
+
path: this.entityService.createPath('IssueManagement', 'ReportedIssues'),
|
4973
4984
|
icon: 'fa-light fa-bug',
|
4974
|
-
// icon: IssueManagementConfig.entities.reportedIssues.icon,
|
4975
4985
|
},
|
4976
4986
|
{
|
4977
4987
|
priority: 9009,
|
4978
4988
|
text: `t("issue-type.individual-title", { scope: "issue-management" })`,
|
4979
|
-
|
4980
|
-
path: this.entityService.createPath('IssueManagement',
|
4981
|
-
// IssueManagementConfig.module.name,
|
4982
|
-
'IssueType'
|
4983
|
-
// IssueManagementConfig.entities.issueType.name
|
4984
|
-
),
|
4989
|
+
path: this.entityService.createPath('IssueManagement', 'IssueType'),
|
4985
4990
|
icon: 'fa-light fa-list',
|
4986
|
-
// icon: IssueManagementConfig.entities.issueType.icon,
|
4987
4991
|
},
|
4988
4992
|
],
|
4989
4993
|
},
|
@@ -4991,6 +4995,67 @@ class AXMMenuProvider {
|
|
4991
4995
|
}
|
4992
4996
|
}
|
4993
4997
|
|
4998
|
+
class AXMPromotionDataSourceDefinition {
|
4999
|
+
constructor() {
|
5000
|
+
this.promotionService = inject(AXMAppPromotionService);
|
5001
|
+
this.i18n = RootConfig.config.i18n;
|
5002
|
+
}
|
5003
|
+
items() {
|
5004
|
+
return Promise.resolve([
|
5005
|
+
{
|
5006
|
+
name: 'promotion',
|
5007
|
+
title: 'Promotion',
|
5008
|
+
source: () => {
|
5009
|
+
return new AXDataSource({
|
5010
|
+
load: async (_) => {
|
5011
|
+
try {
|
5012
|
+
const res = await this.promotionService.query();
|
5013
|
+
return {
|
5014
|
+
items: res.items,
|
5015
|
+
total: res.total,
|
5016
|
+
};
|
5017
|
+
}
|
5018
|
+
catch (e) {
|
5019
|
+
console.log(e);
|
5020
|
+
throw e;
|
5021
|
+
}
|
5022
|
+
},
|
5023
|
+
pageSize: 100,
|
5024
|
+
});
|
5025
|
+
},
|
5026
|
+
columns: [
|
5027
|
+
{
|
5028
|
+
name: 'id',
|
5029
|
+
title: 'ID',
|
5030
|
+
datatype: 'uuid',
|
5031
|
+
interface: {
|
5032
|
+
type: AXPWidgetsCatalog.text,
|
5033
|
+
},
|
5034
|
+
},
|
5035
|
+
{
|
5036
|
+
name: 'title',
|
5037
|
+
title: `t("title", { scope: "common" })`,
|
5038
|
+
datatype: 'string',
|
5039
|
+
interface: {
|
5040
|
+
type: AXPWidgetsCatalog.text,
|
5041
|
+
},
|
5042
|
+
},
|
5043
|
+
{
|
5044
|
+
name: 'body',
|
5045
|
+
title: `t("body", { scope: "${this.i18n}" })`,
|
5046
|
+
datatype: 'string',
|
5047
|
+
interface: {
|
5048
|
+
type: AXPWidgetsCatalog.richText,
|
5049
|
+
},
|
5050
|
+
},
|
5051
|
+
],
|
5052
|
+
textField: 'title',
|
5053
|
+
valueField: 'id',
|
5054
|
+
},
|
5055
|
+
]);
|
5056
|
+
}
|
5057
|
+
}
|
5058
|
+
|
4994
5059
|
function routesFactory() {
|
4995
5060
|
const config = inject(AXP_ENTITY_CONFIG_TOKEN);
|
4996
5061
|
const routes = [
|
@@ -5002,7 +5067,7 @@ function routesFactory() {
|
|
5002
5067
|
children: [
|
5003
5068
|
{
|
5004
5069
|
path: 'terms',
|
5005
|
-
loadComponent: () => Promise.resolve().then(function () { return
|
5070
|
+
loadComponent: () => Promise.resolve().then(function () { return listTerms_component; }).then((c) => c.AXMListTermsComponent),
|
5006
5071
|
},
|
5007
5072
|
],
|
5008
5073
|
},
|
@@ -5068,6 +5133,11 @@ class AXMPlatformManagementModule {
|
|
5068
5133
|
useClass: AXMDynamicDataSourceProvider,
|
5069
5134
|
multi: true,
|
5070
5135
|
},
|
5136
|
+
{
|
5137
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
5138
|
+
useClass: AXMPromotionDataSourceDefinition,
|
5139
|
+
multi: true,
|
5140
|
+
},
|
5071
5141
|
{
|
5072
5142
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
5073
5143
|
useClass: AXPReleaseNotesSettingProvider,
|
@@ -5211,6 +5281,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
5211
5281
|
useClass: AXMDynamicDataSourceProvider,
|
5212
5282
|
multi: true,
|
5213
5283
|
},
|
5284
|
+
{
|
5285
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
5286
|
+
useClass: AXMPromotionDataSourceDefinition,
|
5287
|
+
multi: true,
|
5288
|
+
},
|
5214
5289
|
{
|
5215
5290
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
5216
5291
|
useClass: AXPReleaseNotesSettingProvider,
|
@@ -5229,4 +5304,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
5229
5304
|
*/
|
5230
5305
|
|
5231
5306
|
export { AXPRegionalSetting as A, AXMMetaDataDefinitionService as B, AXMPMetaDataDefinitionServiceImpl as C, metaDataDefinitionCategoryEntityFactory as D, AXMMetaDataDefinitionCategoryService as E, AXMMetaDataDefinitionCategoryServiceImpl as F, AXMPromotionSlotComponent as G, promotionEntityFactory as H, AXMAppPromotionService as I, AXMPromotionServiceImpl as J, AXPRegionalStoreService as K, RootConfig as R, AXMAppVersionService as a, AXMPlatformManagementModule as b, appTermEntityEntityFactory as c, AXMAppTermService as d, AXMAppTermServiceImpl as e, AXMListTermsComponent as f, AXMNotifyNewTermPopupAction as g, AXMTermUpdateSettingAction as h, AXMNewTermWorkflow as i, appVersionEntityEntityFactory as j, AXMAppVersionServiceImpl as k, AXMNotifyAppComponent as l, AXMAppVersionSlotComponent as m, AXMChangeLogPopupAction as n, AXMChangeLogUpdateSettingAction as o, AXMWhatsNewWorkflow as p, dataSourceEntityFactory as q, AXMDataSourceService as r, AXMDataSourceServiceImpl as s, globalVariableEntityFactory as t, AXMGlobalVariablesService as u, AXMGlobalVariablesServiceImpl as v, glossaryEntityFactory as w, AXMGlossaryService as x, AXMGlossaryServiceImpl as y, metaDataDefinitionFactory as z };
|
5232
|
-
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-
|
5307
|
+
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-CJZ86Oon.mjs.map
|