@acorex/platform 20.3.0-next.2 → 20.3.0-next.21
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 +403 -374
- package/core/index.d.ts +576 -46
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +152 -231
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +657 -110
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +16 -16
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1946 -1947
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2094 -477
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +96 -89
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1763 -1233
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +43 -33
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2756 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs → acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs → acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs} +8 -8
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs} +14 -14
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs} +6 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs} +6 -7
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets.mjs → acorex-platform-layout-widgets.mjs} +8836 -8103
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -0
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs +115 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs +753 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs → acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs} +17 -17
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +45 -45
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs} +25 -15
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs} +9 -9
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +264 -86
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +27 -39
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/README.md +1577 -3
- package/layout/builder/index.d.ts +735 -814
- package/layout/components/index.d.ts +443 -214
- package/layout/designer/index.d.ts +8 -6
- package/layout/entity/index.d.ts +979 -282
- package/layout/views/index.d.ts +13 -13
- package/layout/widget-core/README.md +4 -0
- package/layout/widget-core/index.d.ts +957 -0
- package/layout/widgets/README.md +4 -0
- package/{widgets → layout/widgets}/index.d.ts +1908 -770
- package/package.json +22 -18
- package/themes/shared/index.d.ts +2 -2
- package/workflow/index.d.ts +3 -173
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs +0 -708
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs +0 -84
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets.mjs.map +0 -1
- package/widgets/README.md +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Injectable, Injector, makeEnvironmentProviders, NgModule, ErrorHandler,
|
|
2
|
+
import { InjectionToken, inject, Injectable, Injector, makeEnvironmentProviders, NgModule, ErrorHandler, EventEmitter, Input, Output, Directive, Component, ViewEncapsulation, Inject, signal, model, linkedSignal, afterNextRender } from '@angular/core';
|
|
3
3
|
import { kebabCase, merge, sortBy, cloneDeep, get, omit } from 'lodash-es';
|
|
4
4
|
import { Router, ROUTES, RouterModule } from '@angular/router';
|
|
5
5
|
import { AXPSessionService, AXPSessionStatus } from '@acorex/platform/auth';
|
|
6
6
|
import { Subject, distinctUntilChanged, merge as merge$1 } from 'rxjs';
|
|
7
7
|
import * as i1$1 from '@acorex/platform/core';
|
|
8
|
-
import { AXPPlatformScope, AXPBroadcastEventService, objectKeyValueTransforms, AXPComponentLogoConfig, AXPImageUrlLogoConfig, AXPAppStartUpProvider, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
|
8
|
+
import { AXPPlatformScope, AXPBroadcastEventService, objectKeyValueTransforms, AXPComponentLogoConfig, AXPImageUrlLogoConfig, AXPSystemActionType, AXPAppStartUpProvider, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
|
9
9
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
10
|
-
import { AXPWidgetsCatalog } from '@acorex/platform/layout/
|
|
10
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
11
11
|
import { AXPopupModule, AXPopupService } from '@acorex/components/popup';
|
|
12
12
|
import { AXToastService, AXToastModule } from '@acorex/components/toast';
|
|
13
13
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
@@ -20,8 +20,8 @@ import { AXImageModule } from '@acorex/components/image';
|
|
|
20
20
|
import { AXPlatform } from '@acorex/core/platform';
|
|
21
21
|
import * as i1 from '@angular/common';
|
|
22
22
|
import { CommonModule } from '@angular/common';
|
|
23
|
-
import { signalStore, withState, withMethods, patchState, withHooks } from '@ngrx/signals';
|
|
24
23
|
import { AXPCommandExecutor } from '@acorex/platform/runtime';
|
|
24
|
+
import { signalStore, withState, withMethods, patchState, withHooks } from '@ngrx/signals';
|
|
25
25
|
import { AXFormatService } from '@acorex/core/format';
|
|
26
26
|
import { AXDialogService } from '@acorex/components/dialog';
|
|
27
27
|
import * as i5 from '@acorex/components/button';
|
|
@@ -60,10 +60,10 @@ class AXPAppVersionService {
|
|
|
60
60
|
async getAppVersion() {
|
|
61
61
|
return this.provider.provider();
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
64
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPAppVersionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
64
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPAppVersionService, providedIn: 'root' }); }
|
|
65
65
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPAppVersionService, decorators: [{
|
|
67
67
|
type: Injectable,
|
|
68
68
|
args: [{
|
|
69
69
|
providedIn: 'root',
|
|
@@ -126,60 +126,12 @@ function createAllQueryView(params = {
|
|
|
126
126
|
conditions: [],
|
|
127
127
|
}) {
|
|
128
128
|
params = Object.assign({ columns: [], sorts: [], conditions: [] }, params);
|
|
129
|
-
return createQueryView('all', '
|
|
129
|
+
return createQueryView('all', '@general:terms.interface.selection.all-items', true, {
|
|
130
130
|
columns: params.columns ?? [],
|
|
131
131
|
conditions: params.conditions ?? [],
|
|
132
132
|
sorts: params.sorts ?? [],
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
//TODO: check with actions in core module
|
|
136
|
-
function resolveActionLook(tr) {
|
|
137
|
-
const icon = 'fa-light';
|
|
138
|
-
switch (tr.type) {
|
|
139
|
-
case 'create':
|
|
140
|
-
return { color: 'primary', icon: `${icon} fa-add` };
|
|
141
|
-
case 'view':
|
|
142
|
-
return { color: 'primary', icon: `${icon} fa-eye` };
|
|
143
|
-
case 'info':
|
|
144
|
-
return { color: 'default', icon: `${icon} fa-info` };
|
|
145
|
-
case 'delete':
|
|
146
|
-
return { color: 'danger', icon: `${icon} fa-trash-can` };
|
|
147
|
-
case 'copy':
|
|
148
|
-
return { color: 'default', icon: `${icon} fa-copy` };
|
|
149
|
-
case 'update':
|
|
150
|
-
return { color: 'default', icon: `${icon} fa-pen` };
|
|
151
|
-
case 'print':
|
|
152
|
-
return { color: 'default', icon: `${icon} fa-print` };
|
|
153
|
-
case 'confirm':
|
|
154
|
-
return { color: 'success', icon: `${icon} fa-check` };
|
|
155
|
-
case 'archive':
|
|
156
|
-
return { color: 'warning', icon: `${icon} fa-archive` };
|
|
157
|
-
case 'design':
|
|
158
|
-
return { color: 'success', icon: `${icon} fa-paintbrush` };
|
|
159
|
-
case 'version-history':
|
|
160
|
-
return { color: 'default', icon: `${icon} fa-history` };
|
|
161
|
-
case 'upload':
|
|
162
|
-
return { color: 'default', icon: `${icon} fa-upload` };
|
|
163
|
-
case 'lock':
|
|
164
|
-
return { color: 'default', icon: `${icon} fa-lock` };
|
|
165
|
-
case 'unlock':
|
|
166
|
-
return { color: 'default', icon: `${icon} fa-unlock` };
|
|
167
|
-
case 'compare':
|
|
168
|
-
return { color: 'default', icon: `${icon} fa-code-compare` };
|
|
169
|
-
case 'comments':
|
|
170
|
-
return { color: 'default', icon: `${icon} fa-comments` };
|
|
171
|
-
case 'assign':
|
|
172
|
-
return { color: 'default', icon: `${icon} fa-rotate-left` };
|
|
173
|
-
case 'sign':
|
|
174
|
-
return { color: 'default', icon: `${icon} fa-signature` };
|
|
175
|
-
case 'setup':
|
|
176
|
-
return { color: 'default', icon: `${icon} fa-cog` };
|
|
177
|
-
case 'send':
|
|
178
|
-
return { color: 'default', icon: `${icon} fa-envelope` };
|
|
179
|
-
default:
|
|
180
|
-
return { color: 'default', icon: '' };
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
135
|
|
|
184
136
|
const EQ_OPER = { name: 'equal', title: 'Equal', hasValue: true };
|
|
185
137
|
const NOT_EQ_OPER = { name: 'notEqual', title: 'Not Equal', hasValue: true };
|
|
@@ -486,10 +438,10 @@ class AXPSettingDefinitionProviderService {
|
|
|
486
438
|
sections: []
|
|
487
439
|
};
|
|
488
440
|
}
|
|
489
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
490
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
442
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefinitionProviderService, providedIn: 'root' }); }
|
|
491
443
|
}
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefinitionProviderService, decorators: [{
|
|
493
445
|
type: Injectable,
|
|
494
446
|
args: [{ providedIn: 'root' }]
|
|
495
447
|
}] });
|
|
@@ -519,10 +471,10 @@ class AXPSettingDefaultValuesAggregatorService {
|
|
|
519
471
|
}
|
|
520
472
|
return merged;
|
|
521
473
|
}
|
|
522
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
523
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, providedIn: 'root' }); }
|
|
524
476
|
}
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, decorators: [{
|
|
526
478
|
type: Injectable,
|
|
527
479
|
args: [{ providedIn: 'root' }]
|
|
528
480
|
}] });
|
|
@@ -724,10 +676,10 @@ class AXPSettingService {
|
|
|
724
676
|
this.onChanged.next(event);
|
|
725
677
|
this.eventService.publish('AXPSettingChangedEvent', event);
|
|
726
678
|
}
|
|
727
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
728
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
680
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingService, providedIn: 'root' }); }
|
|
729
681
|
}
|
|
730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingService, decorators: [{
|
|
731
683
|
type: Injectable,
|
|
732
684
|
args: [{
|
|
733
685
|
providedIn: 'root',
|
|
@@ -909,10 +861,10 @@ class AXPHomePageService {
|
|
|
909
861
|
router.navigate([current.path]);
|
|
910
862
|
}, 100);
|
|
911
863
|
}
|
|
912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
913
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
865
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageService, providedIn: 'root' }); }
|
|
914
866
|
}
|
|
915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageService, decorators: [{
|
|
916
868
|
type: Injectable,
|
|
917
869
|
args: [{
|
|
918
870
|
providedIn: 'root',
|
|
@@ -941,7 +893,7 @@ class AXPHomePageSettingProvider {
|
|
|
941
893
|
this.defaultHomePageKey = inject(AXP_HOME_PAGE_DEFAULT_KEY, { optional: true }) ?? 'home';
|
|
942
894
|
}
|
|
943
895
|
async provide(context) {
|
|
944
|
-
const trans = async (key) => await this.translateService.translateAsync(
|
|
896
|
+
const trans = async (key) => await this.translateService.translateAsync(`@general:settings.${key}`);
|
|
945
897
|
const list = await this.homePageService.getRegisteredList().map((c) => ({ id: c.key, title: c.title }));
|
|
946
898
|
if (list.length === 0) {
|
|
947
899
|
return;
|
|
@@ -974,17 +926,17 @@ class AXPHomePageSettingProvider {
|
|
|
974
926
|
// End the 'General Settings' group
|
|
975
927
|
.endGroup();
|
|
976
928
|
}
|
|
977
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
978
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
930
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageSettingProvider }); }
|
|
979
931
|
}
|
|
980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageSettingProvider, decorators: [{
|
|
981
933
|
type: Injectable
|
|
982
934
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
983
935
|
|
|
984
936
|
class AXPHomePageModule {
|
|
985
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
986
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
987
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
938
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageModule }); }
|
|
939
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageModule, providers: [
|
|
988
940
|
{
|
|
989
941
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
990
942
|
useClass: AXPHomePageSettingProvider,
|
|
@@ -992,7 +944,7 @@ class AXPHomePageModule {
|
|
|
992
944
|
},
|
|
993
945
|
] }); }
|
|
994
946
|
}
|
|
995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageModule, decorators: [{
|
|
996
948
|
type: NgModule,
|
|
997
949
|
args: [{
|
|
998
950
|
imports: [],
|
|
@@ -1015,10 +967,10 @@ class AXPCustomOperatorServiceImpl extends AXPCustomOperatorService {
|
|
|
1015
967
|
getCustomOperators() {
|
|
1016
968
|
return {};
|
|
1017
969
|
}
|
|
1018
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1019
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCustomOperatorServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
971
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCustomOperatorServiceImpl }); }
|
|
1020
972
|
}
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCustomOperatorServiceImpl, decorators: [{
|
|
1022
974
|
type: Injectable
|
|
1023
975
|
}] });
|
|
1024
976
|
|
|
@@ -1063,10 +1015,10 @@ class AXPFilterOperatorMiddlewareServiceImpl extends AXPFilterOperatorMiddleware
|
|
|
1063
1015
|
return acc;
|
|
1064
1016
|
}, {});
|
|
1065
1017
|
}
|
|
1066
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1067
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1018
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1019
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl }); }
|
|
1068
1020
|
}
|
|
1069
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, decorators: [{
|
|
1070
1022
|
type: Injectable
|
|
1071
1023
|
}] });
|
|
1072
1024
|
|
|
@@ -1087,10 +1039,10 @@ class AXPErrorHandlerRegistryService {
|
|
|
1087
1039
|
get handlers() {
|
|
1088
1040
|
return this.errorHandlers;
|
|
1089
1041
|
}
|
|
1090
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1091
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPErrorHandlerRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1043
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPErrorHandlerRegistryService, providedIn: 'root' }); }
|
|
1092
1044
|
}
|
|
1093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPErrorHandlerRegistryService, decorators: [{
|
|
1094
1046
|
type: Injectable,
|
|
1095
1047
|
args: [{
|
|
1096
1048
|
providedIn: 'root'
|
|
@@ -1121,75 +1073,14 @@ class AXPGlobalErrorHandler extends ErrorHandler {
|
|
|
1121
1073
|
}
|
|
1122
1074
|
handleErrorRecursively(0, error);
|
|
1123
1075
|
}
|
|
1124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1125
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalErrorHandler, deps: [{ token: i0.Injector }, { token: AXPErrorHandlerRegistryService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1077
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalErrorHandler, providedIn: 'root' }); }
|
|
1126
1078
|
}
|
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalErrorHandler, decorators: [{
|
|
1128
1080
|
type: Injectable,
|
|
1129
1081
|
args: [{ providedIn: 'root' }]
|
|
1130
1082
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: AXPErrorHandlerRegistryService }] });
|
|
1131
1083
|
|
|
1132
|
-
// src/app/directives/grid-layout.directive.ts
|
|
1133
|
-
class AXPGridLayoutDirective {
|
|
1134
|
-
constructor(el, renderer) {
|
|
1135
|
-
this.el = el;
|
|
1136
|
-
this.renderer = renderer;
|
|
1137
|
-
}
|
|
1138
|
-
ngOnChanges(changes) {
|
|
1139
|
-
if (changes['options']) {
|
|
1140
|
-
this.applyTailwindClasses();
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
applyTailwindClasses() {
|
|
1144
|
-
if (this.options?.positions == null)
|
|
1145
|
-
return;
|
|
1146
|
-
// Clear existing grid classes
|
|
1147
|
-
this.clearClasses();
|
|
1148
|
-
// Apply new grid classes based on the input options
|
|
1149
|
-
this.setClasses(this.options.positions?.default, '');
|
|
1150
|
-
this.setClasses(this.options.positions?.md, 'md:');
|
|
1151
|
-
this.setClasses(this.options.positions?.lg, 'lg:');
|
|
1152
|
-
this.setClasses(this.options.positions?.xl, 'xl:');
|
|
1153
|
-
this.setClasses(this.options.positions?.xxl, '2xl:');
|
|
1154
|
-
}
|
|
1155
|
-
setClasses(positions, prefix) {
|
|
1156
|
-
if (positions == null)
|
|
1157
|
-
return;
|
|
1158
|
-
const colStart = positions.colStart ? `${prefix}ax-col-start-${positions.colStart}` : '';
|
|
1159
|
-
const colEnd = positions.colEnd ? `${prefix}ax-col-end-${positions.colEnd}` : '';
|
|
1160
|
-
const colSpan = positions.colSpan ? `${prefix}ax-col-span-${positions.colSpan}` : '';
|
|
1161
|
-
const rowStart = positions.rowStart ? `${prefix}ax-row-start-${positions.rowStart}` : '';
|
|
1162
|
-
const rowEnd = positions.rowEnd ? `${prefix}ax-row-end-${positions.rowEnd}` : '';
|
|
1163
|
-
const rowSpan = positions.rowSpan ? `${prefix}ax-row-span-${positions.rowSpan}` : '';
|
|
1164
|
-
const order = positions.order ? `${prefix}ax-order-${positions.order}` : ''; // Handling order
|
|
1165
|
-
[colStart, colEnd, colSpan, rowStart, rowEnd, rowSpan, order].forEach(cls => {
|
|
1166
|
-
if (cls) {
|
|
1167
|
-
this.renderer.addClass(this.el.nativeElement, cls);
|
|
1168
|
-
}
|
|
1169
|
-
});
|
|
1170
|
-
}
|
|
1171
|
-
clearClasses() {
|
|
1172
|
-
const currentClasses = this.el.nativeElement.className.split(' ');
|
|
1173
|
-
currentClasses.forEach((className) => {
|
|
1174
|
-
if (className.startsWith('ax-col-') || className.startsWith('ax-row-') || className.startsWith('ax-order-')) {
|
|
1175
|
-
this.renderer.removeClass(this.el.nativeElement, className);
|
|
1176
|
-
}
|
|
1177
|
-
});
|
|
1178
|
-
}
|
|
1179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1180
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXPGridLayoutDirective, isStandalone: true, selector: "[gridLayout]", inputs: { options: ["gridLayout", "options"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
1181
|
-
}
|
|
1182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
|
|
1183
|
-
type: Directive,
|
|
1184
|
-
args: [{
|
|
1185
|
-
selector: '[gridLayout]',
|
|
1186
|
-
standalone: true,
|
|
1187
|
-
}]
|
|
1188
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { options: [{
|
|
1189
|
-
type: Input,
|
|
1190
|
-
args: ['gridLayout']
|
|
1191
|
-
}] } });
|
|
1192
|
-
|
|
1193
1084
|
class AXPStickyDirective {
|
|
1194
1085
|
get isSticky() {
|
|
1195
1086
|
return this._isSticky;
|
|
@@ -1210,9 +1101,7 @@ class AXPStickyDirective {
|
|
|
1210
1101
|
this._isSticky = false;
|
|
1211
1102
|
this.onParentScroll = () => {
|
|
1212
1103
|
this.zone.runOutsideAngular(() => {
|
|
1213
|
-
const scrollTop = this.parentElement === window
|
|
1214
|
-
? window.scrollY
|
|
1215
|
-
: this.parentElement.scrollTop;
|
|
1104
|
+
const scrollTop = this.parentElement === window ? window.scrollY : this.parentElement.scrollTop;
|
|
1216
1105
|
const shouldStick = scrollTop + this.stickyOffset >= this.topOffset;
|
|
1217
1106
|
if (shouldStick !== this.isSticky) {
|
|
1218
1107
|
this.zone.run(() => {
|
|
@@ -1242,12 +1131,9 @@ class AXPStickyDirective {
|
|
|
1242
1131
|
this.parentElement = this.stickyParent;
|
|
1243
1132
|
}
|
|
1244
1133
|
else {
|
|
1245
|
-
this.parentElement =
|
|
1246
|
-
document.querySelector(this.stickyParent) || window;
|
|
1134
|
+
this.parentElement = document.querySelector(this.stickyParent) || window;
|
|
1247
1135
|
}
|
|
1248
|
-
this.targetElement =
|
|
1249
|
-
document.querySelector(this.stickyTarget) ||
|
|
1250
|
-
this.element.nativeElement;
|
|
1136
|
+
this.targetElement = document.querySelector(this.stickyTarget) || this.element.nativeElement;
|
|
1251
1137
|
this.updateTopOffset();
|
|
1252
1138
|
this.parentElement.addEventListener('scroll', this.onParentScroll);
|
|
1253
1139
|
}
|
|
@@ -1275,10 +1161,10 @@ class AXPStickyDirective {
|
|
|
1275
1161
|
this.mutationObserver.disconnect();
|
|
1276
1162
|
}
|
|
1277
1163
|
}
|
|
1278
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1279
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
1164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1165
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.4", type: AXPStickyDirective, isStandalone: true, selector: "[axpSticky]", inputs: { stickyClass: ["axpSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
|
|
1280
1166
|
}
|
|
1281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPStickyDirective, decorators: [{
|
|
1282
1168
|
type: Directive,
|
|
1283
1169
|
args: [{
|
|
1284
1170
|
selector: '[axpSticky]',
|
|
@@ -1329,10 +1215,10 @@ class AXPLogoComponent {
|
|
|
1329
1215
|
this.source = this.platform.isDark() ? this.source.dark : this.source.light;
|
|
1330
1216
|
}
|
|
1331
1217
|
}
|
|
1332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1333
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1218
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1219
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPLogoComponent, isStandalone: true, selector: "axp-logo", inputs: { source: "source" }, host: { classAttribute: "ax-flex ax-justify-center" }, usesOnChanges: true, ngImport: i0, template: "@switch (logoType) { @case ('url') {\n<ax-image [width]=\"source.width\" [height]=\"source.height\" [src]=\"source.url\"></ax-image>\n} @case ('component') {\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\n} }\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2.AXImageComponent, selector: "ax-image", inputs: ["width", "height", "overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { kind: "ngmodule", type: AXDecoratorModule }] }); }
|
|
1334
1220
|
}
|
|
1335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLogoComponent, decorators: [{
|
|
1336
1222
|
type: Component,
|
|
1337
1223
|
args: [{ selector: 'axp-logo', imports: [CommonModule, AXImageModule, AXDecoratorModule], host: { class: 'ax-flex ax-justify-center' }, template: "@switch (logoType) { @case ('url') {\n<ax-image [width]=\"source.width\" [height]=\"source.height\" [src]=\"source.url\"></ax-image>\n} @case ('component') {\n<ng-container *ngComponentOutlet=\"source.component\"></ng-container>\n} }\n" }]
|
|
1338
1224
|
}], propDecorators: { source: [{
|
|
@@ -1475,10 +1361,10 @@ class AXPMenuProviderService {
|
|
|
1475
1361
|
this.pendingUpdates = [];
|
|
1476
1362
|
this.pendingAdditions = [];
|
|
1477
1363
|
}
|
|
1478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1479
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1365
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuProviderService, providedIn: 'root' }); }
|
|
1480
1366
|
}
|
|
1481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuProviderService, decorators: [{
|
|
1482
1368
|
type: Injectable,
|
|
1483
1369
|
args: [{ providedIn: 'root' }]
|
|
1484
1370
|
}] });
|
|
@@ -1516,7 +1402,7 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1516
1402
|
patchState(store, { items: items });
|
|
1517
1403
|
},
|
|
1518
1404
|
selectMenuItemByRoute(path) {
|
|
1519
|
-
const
|
|
1405
|
+
const currentRawPath = path;
|
|
1520
1406
|
const findItem = (items) => {
|
|
1521
1407
|
for (const item of items) {
|
|
1522
1408
|
// Recursively search children first
|
|
@@ -1527,8 +1413,8 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1527
1413
|
}
|
|
1528
1414
|
}
|
|
1529
1415
|
if (item.path) {
|
|
1530
|
-
// Check if the item path matches the current path
|
|
1531
|
-
const matchResult = pathsMatch(item.path,
|
|
1416
|
+
// Check if the item path matches the current path (including query param subset if provided on item)
|
|
1417
|
+
const matchResult = pathsMatch(item.path, currentRawPath, ['list', 'view', 'edit', 'create']);
|
|
1532
1418
|
if (matchResult.isMatch) {
|
|
1533
1419
|
return { item, isPartialMatch: matchResult.isPartial };
|
|
1534
1420
|
}
|
|
@@ -1537,8 +1423,13 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1537
1423
|
return { item: null, isPartialMatch: false };
|
|
1538
1424
|
};
|
|
1539
1425
|
const pathsMatch = (itemPath, currentPath, trailingSegmentsToIgnore = []) => {
|
|
1540
|
-
|
|
1541
|
-
const
|
|
1426
|
+
// Split base and query/hash
|
|
1427
|
+
const itemNoHash = itemPath.split('#')[0];
|
|
1428
|
+
const currentNoHash = currentPath.split('#')[0];
|
|
1429
|
+
const [itemBase, itemQueryString = ''] = itemNoHash.split('?');
|
|
1430
|
+
const [currentBase, currentQueryString = ''] = currentNoHash.split('?');
|
|
1431
|
+
const itemSegments = itemBase.split('/').filter((segment) => segment.length > 0);
|
|
1432
|
+
const pathSegments = currentBase.split('/').filter((segment) => segment.length > 0);
|
|
1542
1433
|
const menuLength = itemSegments.length;
|
|
1543
1434
|
const pathLength = pathSegments.length;
|
|
1544
1435
|
// Identify the effective base length for the menuPath
|
|
@@ -1564,8 +1455,24 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1564
1455
|
const isPartialMatch = effectiveMenuLength < pathLength;
|
|
1565
1456
|
// Exact match: all segments match completely
|
|
1566
1457
|
const isExactMatch = effectiveMenuLength === pathLength;
|
|
1458
|
+
// Query params subset match: if item defines any query params, require them to match
|
|
1459
|
+
const itemParams = new URLSearchParams(itemQueryString);
|
|
1460
|
+
const currentParams = new URLSearchParams(currentQueryString);
|
|
1461
|
+
let queryMatches = true;
|
|
1462
|
+
const itemParamPairs = [];
|
|
1463
|
+
itemParams.forEach((value, key) => {
|
|
1464
|
+
itemParamPairs.push([key, value]);
|
|
1465
|
+
});
|
|
1466
|
+
if (itemParamPairs.length > 0) {
|
|
1467
|
+
for (const [k, v] of itemParamPairs) {
|
|
1468
|
+
if (currentParams.get(k) !== v) {
|
|
1469
|
+
queryMatches = false;
|
|
1470
|
+
break;
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1567
1474
|
return {
|
|
1568
|
-
isMatch: isExactMatch || isPartialMatch,
|
|
1475
|
+
isMatch: (isExactMatch || isPartialMatch) && queryMatches,
|
|
1569
1476
|
isPartial: isPartialMatch && !isExactMatch,
|
|
1570
1477
|
};
|
|
1571
1478
|
};
|
|
@@ -1624,7 +1531,7 @@ class AXPMenuSearchDefinitionProvider {
|
|
|
1624
1531
|
actions: [
|
|
1625
1532
|
{
|
|
1626
1533
|
name: 'navigate',
|
|
1627
|
-
type:
|
|
1534
|
+
type: AXPSystemActionType.View,
|
|
1628
1535
|
priority: 'primary',
|
|
1629
1536
|
},
|
|
1630
1537
|
],
|
|
@@ -1687,12 +1594,12 @@ class AXPMenuSearchProvider {
|
|
|
1687
1594
|
}
|
|
1688
1595
|
|
|
1689
1596
|
class AXPFooterTextSlotComponent {
|
|
1690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
|
1597
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1598
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: AXPFooterTextSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: `
|
|
1692
1599
|
<small class="ax-text-sm" [innerHTML]="text"></small>
|
|
1693
1600
|
`, isInline: true }); }
|
|
1694
1601
|
}
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
|
|
1696
1603
|
type: Component,
|
|
1697
1604
|
args: [{
|
|
1698
1605
|
template: `
|
|
@@ -1709,8 +1616,8 @@ class AXPNavBarSlotComponent {
|
|
|
1709
1616
|
// if (action)
|
|
1710
1617
|
// this.store.dispatch(action)
|
|
1711
1618
|
}
|
|
1712
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1713
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1619
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1620
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPNavBarSlotComponent, isStandalone: true, selector: "ng-component", inputs: { items: "items" }, ngImport: i0, template: `
|
|
1714
1621
|
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
1715
1622
|
@for (link of items; track link) {
|
|
1716
1623
|
<a (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
@@ -1718,7 +1625,7 @@ class AXPNavBarSlotComponent {
|
|
|
1718
1625
|
</div>
|
|
1719
1626
|
`, isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1720
1627
|
}
|
|
1721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
|
|
1722
1629
|
type: Component,
|
|
1723
1630
|
args: [{
|
|
1724
1631
|
template: `
|
|
@@ -1778,7 +1685,7 @@ class AXPSearchDefinitionBuilder {
|
|
|
1778
1685
|
addAction(name) {
|
|
1779
1686
|
const newAction = {
|
|
1780
1687
|
name,
|
|
1781
|
-
type:
|
|
1688
|
+
type: AXPSystemActionType.View,
|
|
1782
1689
|
priority: 'primary',
|
|
1783
1690
|
};
|
|
1784
1691
|
this.definition.actions.push(newAction);
|
|
@@ -1849,10 +1756,10 @@ class AXPSearchDefinitionProviderService {
|
|
|
1849
1756
|
}
|
|
1850
1757
|
return definition;
|
|
1851
1758
|
}
|
|
1852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1853
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1759
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1760
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchDefinitionProviderService, providedIn: 'root' }); }
|
|
1854
1761
|
}
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchDefinitionProviderService, decorators: [{
|
|
1856
1763
|
type: Injectable,
|
|
1857
1764
|
args: [{ providedIn: 'root' }]
|
|
1858
1765
|
}] });
|
|
@@ -1936,10 +1843,10 @@ class AXPSearchService {
|
|
|
1936
1843
|
groupedData.sort((a, b) => a.order - b.order);
|
|
1937
1844
|
return groupedData;
|
|
1938
1845
|
}
|
|
1939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1940
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1846
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1847
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchService, providedIn: 'root' }); }
|
|
1941
1848
|
}
|
|
1942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchService, decorators: [{
|
|
1943
1850
|
type: Injectable,
|
|
1944
1851
|
args: [{ providedIn: 'root' }]
|
|
1945
1852
|
}] });
|
|
@@ -1966,10 +1873,10 @@ class AXPWorkflowNavigateAction extends AXPWorkflowAction {
|
|
|
1966
1873
|
this.router.navigate([payload.commands], payload.extras);
|
|
1967
1874
|
}
|
|
1968
1875
|
}
|
|
1969
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1970
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1876
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1877
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowNavigateAction }); }
|
|
1971
1878
|
}
|
|
1972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowNavigateAction, decorators: [{
|
|
1973
1880
|
type: Injectable
|
|
1974
1881
|
}] });
|
|
1975
1882
|
class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
@@ -1980,14 +1887,15 @@ class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
|
1980
1887
|
this.defaultAction = 'cancel';
|
|
1981
1888
|
}
|
|
1982
1889
|
async execute(context) {
|
|
1890
|
+
console.log('AXPDialogConfirmAction', this.title, this.message, this.type);
|
|
1983
1891
|
context.setOutput('result', false);
|
|
1984
1892
|
const dialogResult = await this.dialogService.confirm(await this.translationService.translateAsync(this.title), await this.translationService.translateAsync(this.message), (await this.translationService.translateAsync(this.type)), 'horizontal', false, 'cancel');
|
|
1985
1893
|
context.setOutput('result', dialogResult.result);
|
|
1986
1894
|
}
|
|
1987
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1988
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1895
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDialogConfirmAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1896
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDialogConfirmAction }); }
|
|
1989
1897
|
}
|
|
1990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDialogConfirmAction, decorators: [{
|
|
1991
1899
|
type: Injectable
|
|
1992
1900
|
}] });
|
|
1993
1901
|
class AXPToastAction extends AXPWorkflowAction {
|
|
@@ -2011,20 +1919,20 @@ class AXPToastAction extends AXPWorkflowAction {
|
|
|
2011
1919
|
});
|
|
2012
1920
|
}
|
|
2013
1921
|
}
|
|
2014
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2015
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1922
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPToastAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1923
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPToastAction }); }
|
|
2016
1924
|
}
|
|
2017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPToastAction, decorators: [{
|
|
2018
1926
|
type: Injectable
|
|
2019
1927
|
}] });
|
|
2020
1928
|
class AXPReloadAction extends AXPWorkflowAction {
|
|
2021
1929
|
async execute(context) {
|
|
2022
1930
|
this.dispatch(AXPReloadEvent({ entity: context.getVariable('entity'), meta: context.getVariable('meta') }));
|
|
2023
1931
|
}
|
|
2024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2025
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1932
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPReloadAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1933
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPReloadAction }); }
|
|
2026
1934
|
}
|
|
2027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPReloadAction, decorators: [{
|
|
2028
1936
|
type: Injectable
|
|
2029
1937
|
}] });
|
|
2030
1938
|
|
|
@@ -2064,10 +1972,10 @@ class AXPWorkflowRouterNavigateAction extends AXPWorkflowAction {
|
|
|
2064
1972
|
return params;
|
|
2065
1973
|
}, {});
|
|
2066
1974
|
}
|
|
2067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2068
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1976
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction }); }
|
|
2069
1977
|
}
|
|
2070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction, decorators: [{
|
|
2071
1979
|
type: Injectable
|
|
2072
1980
|
}] });
|
|
2073
1981
|
const AXPNavigateWorkflow = {
|
|
@@ -2092,10 +2000,10 @@ class AXMWorkflowErrorHandler {
|
|
|
2092
2000
|
next(error);
|
|
2093
2001
|
}
|
|
2094
2002
|
}
|
|
2095
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2096
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2003
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMWorkflowErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2004
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMWorkflowErrorHandler }); }
|
|
2097
2005
|
}
|
|
2098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMWorkflowErrorHandler, decorators: [{
|
|
2099
2007
|
type: Injectable
|
|
2100
2008
|
}] });
|
|
2101
2009
|
|
|
@@ -2147,10 +2055,10 @@ class AXPGlobalVariableDefinitionService {
|
|
|
2147
2055
|
clearDefinitionsCache() {
|
|
2148
2056
|
this.definitionsByName.clear();
|
|
2149
2057
|
}
|
|
2150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2151
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2058
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2059
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, providedIn: 'root' }); }
|
|
2152
2060
|
}
|
|
2153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, decorators: [{
|
|
2154
2062
|
type: Injectable,
|
|
2155
2063
|
args: [{
|
|
2156
2064
|
providedIn: 'root',
|
|
@@ -2219,11 +2127,11 @@ class AXPCommonModule {
|
|
|
2219
2127
|
},
|
|
2220
2128
|
});
|
|
2221
2129
|
}
|
|
2222
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2223
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
2130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, deps: [{ token: 'AXPCommonModuleFactory' }, { token: i1$1.AXPAppStartUpService }, { token: AXPSettingService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2131
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, imports: [i3.AXPWorkflowModule, AXPopupModule,
|
|
2224
2132
|
AXDateTimeModule,
|
|
2225
2133
|
AXToastModule], exports: [RouterModule] }); }
|
|
2226
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
2134
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, providers: [
|
|
2227
2135
|
AXPAppStartUpProvider,
|
|
2228
2136
|
{
|
|
2229
2137
|
provide: ErrorHandler,
|
|
@@ -2267,7 +2175,7 @@ class AXPCommonModule {
|
|
|
2267
2175
|
AXDateTimeModule,
|
|
2268
2176
|
AXToastModule, RouterModule] }); }
|
|
2269
2177
|
}
|
|
2270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, decorators: [{
|
|
2271
2179
|
type: NgModule,
|
|
2272
2180
|
args: [{
|
|
2273
2181
|
imports: [
|
|
@@ -2344,10 +2252,10 @@ function configPlatform(config = AXPPlatformDefaultConfigs) {
|
|
|
2344
2252
|
const AXP_ROOT_CONFIG_TOKEN = new InjectionToken('AXP_ROOT_CONFIG_TOKEN');
|
|
2345
2253
|
|
|
2346
2254
|
class AXPFileStorageService {
|
|
2347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2348
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2256
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileStorageService }); }
|
|
2349
2257
|
}
|
|
2350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileStorageService, decorators: [{
|
|
2351
2259
|
type: Injectable
|
|
2352
2260
|
}] });
|
|
2353
2261
|
|
|
@@ -2377,19 +2285,19 @@ class AXPFileTypeProviderService {
|
|
|
2377
2285
|
async get(name) {
|
|
2378
2286
|
return (await this.items()).find((c) => c.name == name);
|
|
2379
2287
|
}
|
|
2380
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2381
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileTypeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2289
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileTypeProviderService, providedIn: 'root' }); }
|
|
2382
2290
|
}
|
|
2383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileTypeProviderService, decorators: [{
|
|
2384
2292
|
type: Injectable,
|
|
2385
2293
|
args: [{ providedIn: 'root' }]
|
|
2386
2294
|
}] });
|
|
2387
2295
|
|
|
2388
2296
|
class AXPLockService {
|
|
2389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2390
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2298
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLockService }); }
|
|
2391
2299
|
}
|
|
2392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLockService, decorators: [{
|
|
2393
2301
|
type: Injectable
|
|
2394
2302
|
}] });
|
|
2395
2303
|
|
|
@@ -2406,10 +2314,10 @@ class AXPClipBoardService {
|
|
|
2406
2314
|
navigator.clipboard.writeText(value);
|
|
2407
2315
|
this.toast.success(`${title} copied!`);
|
|
2408
2316
|
}
|
|
2409
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2410
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2318
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPClipBoardService, providedIn: 'root' }); }
|
|
2411
2319
|
}
|
|
2412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPClipBoardService, decorators: [{
|
|
2413
2321
|
type: Injectable,
|
|
2414
2322
|
args: [{
|
|
2415
2323
|
providedIn: 'root',
|
|
@@ -2426,7 +2334,7 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
2426
2334
|
this.width = model(...(ngDevMode ? [undefined, { debugName: "width" }] : []));
|
|
2427
2335
|
this.height = model(...(ngDevMode ? [undefined, { debugName: "height" }] : []));
|
|
2428
2336
|
this.quality = model(...(ngDevMode ? [undefined, { debugName: "quality" }] : []));
|
|
2429
|
-
this.qualityComputed = linkedSignal(() => (this.data.quality ?? 1) * 100);
|
|
2337
|
+
this.qualityComputed = linkedSignal(() => (this.data.quality ?? 1) * 100, ...(ngDevMode ? [{ debugName: "qualityComputed" }] : []));
|
|
2430
2338
|
this.scale = model(...(ngDevMode ? [undefined, { debugName: "scale" }] : []));
|
|
2431
2339
|
this.#init = afterNextRender(() => {
|
|
2432
2340
|
this.bgcolor.set(this.data.bgcolor);
|
|
@@ -2464,8 +2372,8 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
2464
2372
|
isCanceled,
|
|
2465
2373
|
});
|
|
2466
2374
|
}
|
|
2467
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2468
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.
|
|
2375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMOrgChartPrintPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2376
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.4", type: AXMOrgChartPrintPage, isStandalone: true, selector: "ng-component", inputs: { bgcolor: { classPropertyName: "bgcolor", publicName: "bgcolor", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, quality: { classPropertyName: "quality", publicName: "quality", isSignal: true, isRequired: false, transformFunction: null }, scale: { classPropertyName: "scale", publicName: "scale", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { bgcolor: "bgcolorChange", width: "widthChange", height: "heightChange", quality: "qualityChange", scale: "scaleChange" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
|
|
2469
2377
|
<ax-label>Resolution (px)</ax-label>
|
|
2470
2378
|
<div class="ax-flex ax-gap-2 ax-items-center">
|
|
2471
2379
|
<ax-number-box
|
|
@@ -2516,7 +2424,7 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
2516
2424
|
</ax-suffix>
|
|
2517
2425
|
</ax-footer>`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i2$1.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "type", "changeOnScroll", "allDigits", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.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: AXColorBoxModule }, { kind: "component", type: i6.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "showBadge", "showValue", "showClearButton", "showIcon"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }] }); }
|
|
2518
2426
|
}
|
|
2519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMOrgChartPrintPage, decorators: [{
|
|
2520
2428
|
type: Component,
|
|
2521
2429
|
args: [{
|
|
2522
2430
|
template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
|
|
@@ -2630,10 +2538,10 @@ class AXPExportService {
|
|
|
2630
2538
|
document.body.removeChild(link);
|
|
2631
2539
|
URL.revokeObjectURL(link.href);
|
|
2632
2540
|
}
|
|
2633
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2634
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExportService, providedIn: 'root' }); }
|
|
2635
2543
|
}
|
|
2636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExportService, decorators: [{
|
|
2637
2545
|
type: Injectable,
|
|
2638
2546
|
args: [{
|
|
2639
2547
|
providedIn: 'root',
|
|
@@ -2663,9 +2571,22 @@ function AXPCleanNestedFilters(filters) {
|
|
|
2663
2571
|
.filter(Boolean);
|
|
2664
2572
|
}
|
|
2665
2573
|
|
|
2574
|
+
//#region ---- Versioning Types ----
|
|
2575
|
+
var AXVChangeType;
|
|
2576
|
+
(function (AXVChangeType) {
|
|
2577
|
+
AXVChangeType["Create"] = "Create";
|
|
2578
|
+
AXVChangeType["Update"] = "Update";
|
|
2579
|
+
AXVChangeType["Delete"] = "Delete";
|
|
2580
|
+
})(AXVChangeType || (AXVChangeType = {}));
|
|
2581
|
+
//#endregion
|
|
2582
|
+
//#region ---- Service Contract ----
|
|
2583
|
+
class AXPVersioningService {
|
|
2584
|
+
}
|
|
2585
|
+
//#endregion
|
|
2586
|
+
|
|
2666
2587
|
/**
|
|
2667
2588
|
* Generated bundle index. Do not edit.
|
|
2668
2589
|
*/
|
|
2669
2590
|
|
|
2670
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider,
|
|
2591
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage };
|
|
2671
2592
|
//# sourceMappingURL=acorex-platform-common.mjs.map
|