@acorex/platform 21.0.0-next.1 → 21.0.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/index.d.ts +235 -5
- package/common/index.d.ts +220 -218
- package/core/index.d.ts +370 -434
- package/fesm2022/acorex-platform-auth.mjs +200 -37
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-zhqNP3xb.mjs → acorex-platform-common-common-settings.provider-O8usQ0VC.mjs} +4 -4
- package/fesm2022/{acorex-platform-common-common-settings.provider-zhqNP3xb.mjs.map → acorex-platform-common-common-settings.provider-O8usQ0VC.mjs.map} +1 -1
- package/fesm2022/acorex-platform-common.mjs +215 -198
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +548 -585
- 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 +84 -37
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +303 -195
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +72 -72
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +3528 -1698
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +25 -17
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +190 -110
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs → acorex-platform-layout-widgets-button-widget-designer.component-D-NsRvRl.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs.map → acorex-platform-layout-widgets-button-widget-designer.component-D-NsRvRl.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs → acorex-platform-layout-widgets-file-list-popup.component-CCcKHSHj.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CxrsI6Hn.mjs.map → acorex-platform-layout-widgets-file-list-popup.component-CCcKHSHj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs → acorex-platform-layout-widgets-image-preview.popup-IrT52Nh1.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-V31OpYah.mjs.map → acorex-platform-layout-widgets-image-preview.popup-IrT52Nh1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs → acorex-platform-layout-widgets-page-widget-designer.component-DFbfh-OX.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs.map → acorex-platform-layout-widgets-page-widget-designer.component-DFbfh-OX.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-Dw6naXvq.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-Dw6naXvq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component--4R3TUdJ.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Ck7-wpT2.mjs.map → acorex-platform-layout-widgets-tabular-data-edit-popup.component--4R3TUdJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-BeVQuHFj.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-y8vjUiVs.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-BeVQuHFj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-CdQxqi0D.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs.map → acorex-platform-layout-widgets-text-block-widget-designer.component-CdQxqi0D.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +2247 -1226
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +43 -43
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs → acorex-platform-themes-default-entity-master-create-view.component-D2ucwC3F.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-VIGuU5M4.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-D2ucwC3F.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.mjs → acorex-platform-themes-default-entity-master-list-view.component-CD4Q_UIG.mjs} +13 -13
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD4Q_UIG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs → acorex-platform-themes-default-entity-master-modify-view.component-D5BYbUGK.mjs} +7 -8
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-D5BYbUGK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs → acorex-platform-themes-default-entity-master-single-view.component-Cf4ei46_.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-eMBby9k4.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-Cf4ei46_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-401.component-cfREo88K.mjs → acorex-platform-themes-default-error-401.component-DdMToZ9q.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-cfREo88K.mjs.map → acorex-platform-themes-default-error-401.component-DdMToZ9q.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs → acorex-platform-themes-default-error-404.component-CKsa5aPE.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs.map → acorex-platform-themes-default-error-404.component-CKsa5aPE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs → acorex-platform-themes-default-error-offline.component-1gxFTAuX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs.map → acorex-platform-themes-default-error-offline.component-1gxFTAuX.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +39 -42
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs → acorex-platform-themes-shared-icon-chooser-column.component-Ds8eRMuV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-C0EpfU2k.mjs.map → acorex-platform-themes-shared-icon-chooser-column.component-Ds8eRMuV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dv38sOzr.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-Dv38sOzr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-DcO6P6OG.mjs} +11 -11
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DcO6P6OG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-B7T2qtaI.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs.map → acorex-platform-themes-shared-theme-color-chooser-view.component-B7T2qtaI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +41 -41
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1529 -1758
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +15 -3
- package/layout/components/index.d.ts +23 -6
- package/layout/entity/index.d.ts +438 -159
- package/layout/views/index.d.ts +16 -11
- package/layout/widget-core/index.d.ts +47 -10
- package/layout/widgets/index.d.ts +213 -42
- package/package.json +5 -5
- package/themes/default/index.d.ts +0 -1
- package/workflow/index.d.ts +1050 -1759
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DyDa_hyd.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Ua3ZA5hk.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map +0 -1
|
@@ -4,14 +4,13 @@ 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
|
-
import
|
|
8
|
-
import { AXPModuleProviderRegistry, AXPPlatformScope, AXPBroadcastEventService, objectKeyValueTransforms, AXPSystemActionType, AXP_MODULE_PROVIDER_INITIALIZER, AXPAppStartUpProvider, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXPModuleManifestRegistry } from '@acorex/platform/core';
|
|
7
|
+
import { AXPPlatformScope, AXPBroadcastEventService, objectKeyValueTransforms, AXPSystemActionType, AXPModuleManifestModule, AXPAppStartUpProvider, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXPModuleManifestRegistry } from '@acorex/platform/core';
|
|
9
8
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
10
9
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
11
10
|
import { AXPopupModule, AXPopupService } from '@acorex/components/popup';
|
|
12
11
|
import { AXToastService, AXToastModule } from '@acorex/components/toast';
|
|
13
12
|
import { AXDateTimeModule } from '@acorex/core/date-time';
|
|
14
|
-
import * as
|
|
13
|
+
import * as i1 from '@acorex/platform/workflow';
|
|
15
14
|
import { AXPWorkflowService, createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowError, AXPWorkflowModule } from '@acorex/platform/workflow';
|
|
16
15
|
import { AXPCommandExecutor, AXPCommandService } from '@acorex/platform/runtime';
|
|
17
16
|
import { signalStore, withState, withMethods, patchState, withHooks } from '@ngrx/signals';
|
|
@@ -24,7 +23,7 @@ import * as i6 from '@acorex/components/color-box';
|
|
|
24
23
|
import { AXColorBoxModule } from '@acorex/components/color-box';
|
|
25
24
|
import * as i4 from '@acorex/components/decorators';
|
|
26
25
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
27
|
-
import * as i3
|
|
26
|
+
import * as i3 from '@acorex/components/label';
|
|
28
27
|
import { AXLabelModule } from '@acorex/components/label';
|
|
29
28
|
import * as i2 from '@acorex/components/number-box';
|
|
30
29
|
import { AXNumberBoxModule } from '@acorex/components/number-box';
|
|
@@ -55,10 +54,10 @@ class AXPAppVersionService {
|
|
|
55
54
|
async getAppVersion() {
|
|
56
55
|
return this.provider.provider();
|
|
57
56
|
}
|
|
58
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
59
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPAppVersionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
58
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPAppVersionService, providedIn: 'root' }); }
|
|
60
59
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPAppVersionService, decorators: [{
|
|
62
61
|
type: Injectable,
|
|
63
62
|
args: [{
|
|
64
63
|
providedIn: 'root',
|
|
@@ -294,7 +293,7 @@ class AXPSettingDefinitionSectionBuilder {
|
|
|
294
293
|
isInherited: setting.isInherited ?? false,
|
|
295
294
|
isEncrypted: setting.isEncrypted ?? false,
|
|
296
295
|
defaultValue: setting.defaultValue,
|
|
297
|
-
scope: setting.scope ?? '
|
|
296
|
+
scope: setting.scope ?? 'P',
|
|
298
297
|
layout: setting.widget.layout,
|
|
299
298
|
widget: {
|
|
300
299
|
type: setting.widget.type,
|
|
@@ -322,7 +321,6 @@ const AXP_SETTING_DEFINITION_PROVIDER = new InjectionToken('AXP_SETTING_DEFINITI
|
|
|
322
321
|
class AXPSettingDefinitionProviderService {
|
|
323
322
|
constructor() {
|
|
324
323
|
this.providers = inject(AXP_SETTING_DEFINITION_PROVIDER, { optional: true });
|
|
325
|
-
this.providerRegistry = inject(AXPModuleProviderRegistry);
|
|
326
324
|
this.cache = null;
|
|
327
325
|
}
|
|
328
326
|
async load() {
|
|
@@ -330,7 +328,7 @@ class AXPSettingDefinitionProviderService {
|
|
|
330
328
|
return;
|
|
331
329
|
}
|
|
332
330
|
const context = new AXPSettingDefinitionProviderContext();
|
|
333
|
-
// Load providers from DI tokens
|
|
331
|
+
// Load providers from DI tokens
|
|
334
332
|
if (Array.isArray(this.providers)) {
|
|
335
333
|
for (const provider of this.providers) {
|
|
336
334
|
if (provider instanceof Promise) {
|
|
@@ -344,11 +342,6 @@ class AXPSettingDefinitionProviderService {
|
|
|
344
342
|
}
|
|
345
343
|
}
|
|
346
344
|
}
|
|
347
|
-
// Load providers from registry (manifest-based, conditionally loaded)
|
|
348
|
-
const registryProviders = this.providerRegistry.getSettingProviders();
|
|
349
|
-
for (const provider of registryProviders) {
|
|
350
|
-
await provider.provide(context);
|
|
351
|
-
}
|
|
352
345
|
this.cache = context.getGroups();
|
|
353
346
|
}
|
|
354
347
|
async reload() {
|
|
@@ -363,7 +356,7 @@ class AXPSettingDefinitionProviderService {
|
|
|
363
356
|
if (!this.cache) {
|
|
364
357
|
return [];
|
|
365
358
|
}
|
|
366
|
-
const scopeOrder = ['
|
|
359
|
+
const scopeOrder = ['P', 'T', 'U']; // Scopes hierarchy in ascending order
|
|
367
360
|
const filterByScope = (groups, currentScope) => {
|
|
368
361
|
const currentScopeIndex = scopeOrder.indexOf(currentScope);
|
|
369
362
|
return groups
|
|
@@ -440,10 +433,10 @@ class AXPSettingDefinitionProviderService {
|
|
|
440
433
|
sections: []
|
|
441
434
|
};
|
|
442
435
|
}
|
|
443
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
444
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
436
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
437
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingDefinitionProviderService, providedIn: 'root' }); }
|
|
445
438
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingDefinitionProviderService, decorators: [{
|
|
447
440
|
type: Injectable,
|
|
448
441
|
args: [{ providedIn: 'root' }]
|
|
449
442
|
}] });
|
|
@@ -473,10 +466,10 @@ class AXPSettingDefaultValuesAggregatorService {
|
|
|
473
466
|
}
|
|
474
467
|
return merged;
|
|
475
468
|
}
|
|
476
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
477
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
470
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, providedIn: 'root' }); }
|
|
478
471
|
}
|
|
479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, decorators: [{
|
|
480
473
|
type: Injectable,
|
|
481
474
|
args: [{ providedIn: 'root' }]
|
|
482
475
|
}] });
|
|
@@ -486,6 +479,7 @@ const AXP_SETTING_VALUE_PROVIDER = new InjectionToken('AXP_SETTING_VALUE_PROVIDE
|
|
|
486
479
|
factory: () => {
|
|
487
480
|
const injector = inject(Injector);
|
|
488
481
|
return [
|
|
482
|
+
new AXPSettingValueProviderDefault(AXPPlatformScope.Platform, injector),
|
|
489
483
|
new AXPSettingValueProviderDefault(AXPPlatformScope.Tenant, injector),
|
|
490
484
|
new AXPSettingValueProviderDefault(AXPPlatformScope.User, injector)
|
|
491
485
|
];
|
|
@@ -498,16 +492,22 @@ class AXPSettingValueProviderDefault {
|
|
|
498
492
|
this.cache = new Map();
|
|
499
493
|
this.localStorageKey = null;
|
|
500
494
|
this.sessionService = this.injector.get(AXPSessionService);
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
495
|
+
// Platform scope doesn't depend on session, initialize immediately
|
|
496
|
+
if (this.scope === AXPPlatformScope.Platform) {
|
|
497
|
+
this.localStorageKey = `AXP_SETTINGS_SCOPE(P)`;
|
|
498
|
+
}
|
|
499
|
+
else {
|
|
500
|
+
this.sessionService.status$.subscribe((status) => {
|
|
501
|
+
if (status === AXPSessionStatus.Authorized || status === AXPSessionStatus.Authenticated) {
|
|
502
|
+
if (this.scope === AXPPlatformScope.User) {
|
|
503
|
+
this.localStorageKey = `AXP_SETTINGS_SCOPE(${this.sessionService.user?.id ?? 'U'})`;
|
|
504
|
+
}
|
|
505
|
+
else if (this.scope === AXPPlatformScope.Tenant) {
|
|
506
|
+
this.localStorageKey = `AXP_SETTINGS_SCOPE(${this.sessionService.tenant?.id ?? 'T'})`;
|
|
507
|
+
}
|
|
508
508
|
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
511
|
}
|
|
512
512
|
get scope() {
|
|
513
513
|
return this._scope;
|
|
@@ -569,8 +569,7 @@ class AXPSettingsService {
|
|
|
569
569
|
this.onLoaded = new Subject();
|
|
570
570
|
// Initialize scoped caches for dynamic scopes
|
|
571
571
|
const staticScopes = [
|
|
572
|
-
AXPPlatformScope.
|
|
573
|
-
AXPPlatformScope.Global,
|
|
572
|
+
AXPPlatformScope.Platform,
|
|
574
573
|
AXPPlatformScope.Tenant,
|
|
575
574
|
AXPPlatformScope.User,
|
|
576
575
|
];
|
|
@@ -623,8 +622,7 @@ class AXPSettingsService {
|
|
|
623
622
|
const scopeOrder = [
|
|
624
623
|
AXPPlatformScope.User,
|
|
625
624
|
AXPPlatformScope.Tenant,
|
|
626
|
-
AXPPlatformScope.
|
|
627
|
-
AXPPlatformScope.Environment,
|
|
625
|
+
AXPPlatformScope.Platform,
|
|
628
626
|
];
|
|
629
627
|
for (const scope of scopeOrder) {
|
|
630
628
|
const scopeCache = this.scopedSettingsCache.get(scope);
|
|
@@ -640,8 +638,7 @@ class AXPSettingsService {
|
|
|
640
638
|
}
|
|
641
639
|
async defaultValues(scope) {
|
|
642
640
|
let scopeOrder = [
|
|
643
|
-
AXPPlatformScope.
|
|
644
|
-
AXPPlatformScope.Global,
|
|
641
|
+
AXPPlatformScope.Platform,
|
|
645
642
|
AXPPlatformScope.Tenant,
|
|
646
643
|
AXPPlatformScope.User,
|
|
647
644
|
].reverse();
|
|
@@ -678,10 +675,10 @@ class AXPSettingsService {
|
|
|
678
675
|
this.onChanged.next(event);
|
|
679
676
|
this.eventService.publish('AXPSettingChangedEvent', event);
|
|
680
677
|
}
|
|
681
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
682
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
679
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingsService, providedIn: 'root' }); }
|
|
683
680
|
}
|
|
684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSettingsService, decorators: [{
|
|
685
682
|
type: Injectable,
|
|
686
683
|
args: [{
|
|
687
684
|
providedIn: 'root',
|
|
@@ -889,13 +886,13 @@ class AXPHomePageService {
|
|
|
889
886
|
setTimeout(() => {
|
|
890
887
|
const router = this.injector.get(Router);
|
|
891
888
|
const current = this.getCurrent();
|
|
892
|
-
router.navigate([current.path]);
|
|
889
|
+
router.navigate([current.path], { onSameUrlNavigation: 'reload' });
|
|
893
890
|
}, 100);
|
|
894
891
|
}
|
|
895
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
896
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
893
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageService, providedIn: 'root' }); }
|
|
897
894
|
}
|
|
898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageService, decorators: [{
|
|
899
896
|
type: Injectable,
|
|
900
897
|
args: [{
|
|
901
898
|
providedIn: 'root',
|
|
@@ -957,17 +954,17 @@ class AXPHomePageSettingProvider {
|
|
|
957
954
|
// End the 'General Settings' group
|
|
958
955
|
.endGroup();
|
|
959
956
|
}
|
|
960
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
961
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageSettingProvider, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
958
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageSettingProvider }); }
|
|
962
959
|
}
|
|
963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageSettingProvider, decorators: [{
|
|
964
961
|
type: Injectable
|
|
965
962
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
966
963
|
|
|
967
964
|
class AXPHomePageModule {
|
|
968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
969
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
970
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
965
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
966
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageModule }); }
|
|
967
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageModule, providers: [
|
|
971
968
|
{
|
|
972
969
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
973
970
|
useClass: AXPHomePageSettingProvider,
|
|
@@ -975,7 +972,7 @@ class AXPHomePageModule {
|
|
|
975
972
|
},
|
|
976
973
|
] }); }
|
|
977
974
|
}
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPHomePageModule, decorators: [{
|
|
979
976
|
type: NgModule,
|
|
980
977
|
args: [{
|
|
981
978
|
imports: [],
|
|
@@ -998,10 +995,10 @@ class AXPCustomOperatorServiceImpl extends AXPCustomOperatorService {
|
|
|
998
995
|
getCustomOperators() {
|
|
999
996
|
return {};
|
|
1000
997
|
}
|
|
1001
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1002
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
998
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPCustomOperatorServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
999
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPCustomOperatorServiceImpl }); }
|
|
1003
1000
|
}
|
|
1004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPCustomOperatorServiceImpl, decorators: [{
|
|
1005
1002
|
type: Injectable
|
|
1006
1003
|
}] });
|
|
1007
1004
|
|
|
@@ -1046,10 +1043,10 @@ class AXPFilterOperatorMiddlewareServiceImpl extends AXPFilterOperatorMiddleware
|
|
|
1046
1043
|
return acc;
|
|
1047
1044
|
}, {});
|
|
1048
1045
|
}
|
|
1049
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1050
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1047
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl }); }
|
|
1051
1048
|
}
|
|
1052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, decorators: [{
|
|
1053
1050
|
type: Injectable
|
|
1054
1051
|
}] });
|
|
1055
1052
|
|
|
@@ -1070,10 +1067,10 @@ class AXPErrorHandlerRegistryService {
|
|
|
1070
1067
|
get handlers() {
|
|
1071
1068
|
return this.errorHandlers;
|
|
1072
1069
|
}
|
|
1073
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1074
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPErrorHandlerRegistryService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1071
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPErrorHandlerRegistryService, providedIn: 'root' }); }
|
|
1075
1072
|
}
|
|
1076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPErrorHandlerRegistryService, decorators: [{
|
|
1077
1074
|
type: Injectable,
|
|
1078
1075
|
args: [{
|
|
1079
1076
|
providedIn: 'root'
|
|
@@ -1104,10 +1101,10 @@ class AXPGlobalErrorHandler extends ErrorHandler {
|
|
|
1104
1101
|
}
|
|
1105
1102
|
handleErrorRecursively(0, error);
|
|
1106
1103
|
}
|
|
1107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1108
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPGlobalErrorHandler, deps: [{ token: i0.Injector }, { token: AXPErrorHandlerRegistryService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1105
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPGlobalErrorHandler, providedIn: 'root' }); }
|
|
1109
1106
|
}
|
|
1110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPGlobalErrorHandler, decorators: [{
|
|
1111
1108
|
type: Injectable,
|
|
1112
1109
|
args: [{ providedIn: 'root' }]
|
|
1113
1110
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: AXPErrorHandlerRegistryService }] });
|
|
@@ -1178,10 +1175,10 @@ class AXPTokenDefinitionService {
|
|
|
1178
1175
|
clearDefinitionsCache() {
|
|
1179
1176
|
this.definitionsByName.clear();
|
|
1180
1177
|
}
|
|
1181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1182
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPTokenDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPTokenDefinitionService, providedIn: 'root' }); }
|
|
1183
1180
|
}
|
|
1184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPTokenDefinitionService, decorators: [{
|
|
1185
1182
|
type: Injectable,
|
|
1186
1183
|
args: [{
|
|
1187
1184
|
providedIn: 'root',
|
|
@@ -1281,10 +1278,10 @@ class AXPStickyDirective {
|
|
|
1281
1278
|
this.mutationObserver.disconnect();
|
|
1282
1279
|
}
|
|
1283
1280
|
}
|
|
1284
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1285
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPStickyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1282
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: AXPStickyDirective, isStandalone: true, selector: "[axpSticky]", inputs: { stickyClass: ["axpSticky", "stickyClass"], stickyOffset: "stickyOffset", stickyParent: "stickyParent", stickyTarget: "stickyTarget" }, outputs: { isStickyChange: "isStickyChange" }, exportAs: ["axpSticky"], ngImport: i0 }); }
|
|
1286
1283
|
}
|
|
1287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPStickyDirective, decorators: [{
|
|
1288
1285
|
type: Directive,
|
|
1289
1286
|
args: [{
|
|
1290
1287
|
selector: '[axpSticky]',
|
|
@@ -1627,10 +1624,10 @@ class AXPMenuMiddlewareRegistry {
|
|
|
1627
1624
|
clear() {
|
|
1628
1625
|
this.manualMiddlewares.clear();
|
|
1629
1626
|
}
|
|
1630
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1631
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuMiddlewareRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1628
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuMiddlewareRegistry, providedIn: 'root' }); }
|
|
1632
1629
|
}
|
|
1633
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuMiddlewareRegistry, decorators: [{
|
|
1634
1631
|
type: Injectable,
|
|
1635
1632
|
args: [{ providedIn: 'root' }]
|
|
1636
1633
|
}] });
|
|
@@ -1641,7 +1638,6 @@ class AXPMenuProviderService {
|
|
|
1641
1638
|
constructor() {
|
|
1642
1639
|
//#region ---- Dependencies ----
|
|
1643
1640
|
this.providers = inject(AXP_MENU_PROVIDER, { optional: true });
|
|
1644
|
-
this.providerRegistry = inject(AXPModuleProviderRegistry);
|
|
1645
1641
|
this.middlewareRegistry = inject(AXPMenuMiddlewareRegistry);
|
|
1646
1642
|
//#endregion
|
|
1647
1643
|
//#region ---- State ----
|
|
@@ -1669,17 +1665,20 @@ class AXPMenuProviderService {
|
|
|
1669
1665
|
}
|
|
1670
1666
|
const items = [];
|
|
1671
1667
|
const context = this.createMenuProviderContext(items);
|
|
1672
|
-
// Load providers from DI tokens
|
|
1668
|
+
// Load providers from DI tokens
|
|
1673
1669
|
if (Array.isArray(this.providers)) {
|
|
1674
1670
|
for (const provider of this.providers) {
|
|
1675
|
-
|
|
1671
|
+
if (provider instanceof Promise) {
|
|
1672
|
+
// If provider is a promise, resolve it
|
|
1673
|
+
const resolvedProvider = await provider;
|
|
1674
|
+
await resolvedProvider.provide(context);
|
|
1675
|
+
}
|
|
1676
|
+
else {
|
|
1677
|
+
// If provider is a direct instance, use it directly
|
|
1678
|
+
await provider.provide(context);
|
|
1679
|
+
}
|
|
1676
1680
|
}
|
|
1677
1681
|
}
|
|
1678
|
-
// Load providers from registry (manifest-based, conditionally loaded)
|
|
1679
|
-
const registryProviders = this.providerRegistry.getMenuProviders();
|
|
1680
|
-
for (const provider of registryProviders) {
|
|
1681
|
-
await provider.provide(context);
|
|
1682
|
-
}
|
|
1683
1682
|
// Apply pending operations
|
|
1684
1683
|
this.applyPendingOperations(items);
|
|
1685
1684
|
// Sort items by priority
|
|
@@ -1699,17 +1698,20 @@ class AXPMenuProviderService {
|
|
|
1699
1698
|
async rawItems() {
|
|
1700
1699
|
const items = [];
|
|
1701
1700
|
const context = this.createMenuProviderContext(items);
|
|
1702
|
-
// Load providers from DI tokens
|
|
1701
|
+
// Load providers from DI tokens
|
|
1703
1702
|
if (Array.isArray(this.providers)) {
|
|
1704
1703
|
for (const provider of this.providers) {
|
|
1705
|
-
|
|
1704
|
+
if (provider instanceof Promise) {
|
|
1705
|
+
// If provider is a promise, resolve it
|
|
1706
|
+
const resolvedProvider = await provider;
|
|
1707
|
+
await resolvedProvider.provide(context);
|
|
1708
|
+
}
|
|
1709
|
+
else {
|
|
1710
|
+
// If provider is a direct instance, use it directly
|
|
1711
|
+
await provider.provide(context);
|
|
1712
|
+
}
|
|
1706
1713
|
}
|
|
1707
1714
|
}
|
|
1708
|
-
// Load providers from registry (manifest-based, conditionally loaded)
|
|
1709
|
-
const registryProviders = this.providerRegistry.getMenuProviders();
|
|
1710
|
-
for (const provider of registryProviders) {
|
|
1711
|
-
await provider.provide(context);
|
|
1712
|
-
}
|
|
1713
1715
|
// Apply pending operations
|
|
1714
1716
|
this.applyPendingOperations(items);
|
|
1715
1717
|
// Sort items by priority
|
|
@@ -1980,10 +1982,10 @@ class AXPMenuProviderService {
|
|
|
1980
1982
|
}
|
|
1981
1983
|
}
|
|
1982
1984
|
}
|
|
1983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1984
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1985
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1986
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuProviderService, providedIn: 'root' }); }
|
|
1985
1987
|
}
|
|
1986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuProviderService, decorators: [{
|
|
1987
1989
|
type: Injectable,
|
|
1988
1990
|
args: [{ providedIn: 'root' }]
|
|
1989
1991
|
}] });
|
|
@@ -2222,13 +2224,6 @@ class AXPMenuVisibilityService {
|
|
|
2222
2224
|
if (!policy) {
|
|
2223
2225
|
return true; // No policy means visible
|
|
2224
2226
|
}
|
|
2225
|
-
// Check permissions
|
|
2226
|
-
if (policy.permissions && policy.permissions.length > 0) {
|
|
2227
|
-
const permissionKeys = Array.isArray(policy.permissions) ? policy.permissions : [policy.permissions];
|
|
2228
|
-
if (!this.sessionService.authorize(...permissionKeys)) {
|
|
2229
|
-
return false;
|
|
2230
|
-
}
|
|
2231
|
-
}
|
|
2232
2227
|
// Check features
|
|
2233
2228
|
if (policy.features && policy.features.length > 0) {
|
|
2234
2229
|
const featureKeys = Array.isArray(policy.features) ? policy.features : [policy.features];
|
|
@@ -2236,6 +2231,13 @@ class AXPMenuVisibilityService {
|
|
|
2236
2231
|
return false;
|
|
2237
2232
|
}
|
|
2238
2233
|
}
|
|
2234
|
+
// Check permissions
|
|
2235
|
+
if (policy.permissions && policy.permissions.length > 0) {
|
|
2236
|
+
const permissionKeys = Array.isArray(policy.permissions) ? policy.permissions : [policy.permissions];
|
|
2237
|
+
if (!this.sessionService.authorize(...permissionKeys)) {
|
|
2238
|
+
return false;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2239
2241
|
return true;
|
|
2240
2242
|
}
|
|
2241
2243
|
/**
|
|
@@ -2297,10 +2299,10 @@ class AXPMenuVisibilityService {
|
|
|
2297
2299
|
// Otherwise, don't render empty menu items
|
|
2298
2300
|
return false;
|
|
2299
2301
|
}
|
|
2300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2301
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuVisibilityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2303
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuVisibilityService, providedIn: 'root' }); }
|
|
2302
2304
|
}
|
|
2303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPMenuVisibilityService, decorators: [{
|
|
2304
2306
|
type: Injectable,
|
|
2305
2307
|
args: [{ providedIn: 'root' }]
|
|
2306
2308
|
}] });
|
|
@@ -2377,12 +2379,12 @@ class AXPMenuSearchProvider {
|
|
|
2377
2379
|
}
|
|
2378
2380
|
|
|
2379
2381
|
class AXPFooterTextSlotComponent {
|
|
2380
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2381
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2382
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2383
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: AXPFooterTextSlotComponent, isStandalone: true, selector: "ng-component", inputs: { text: "text" }, ngImport: i0, template: `
|
|
2382
2384
|
<small class="ax-text-sm" [innerHTML]="text"></small>
|
|
2383
2385
|
`, isInline: true }); }
|
|
2384
2386
|
}
|
|
2385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
|
|
2386
2388
|
type: Component,
|
|
2387
2389
|
args: [{
|
|
2388
2390
|
template: `
|
|
@@ -2399,8 +2401,8 @@ class AXPNavBarSlotComponent {
|
|
|
2399
2401
|
// if (action)
|
|
2400
2402
|
// this.store.dispatch(action)
|
|
2401
2403
|
}
|
|
2402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2403
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2404
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2405
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: AXPNavBarSlotComponent, isStandalone: true, selector: "ng-component", inputs: { items: "items" }, ngImport: i0, template: `
|
|
2404
2406
|
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
2405
2407
|
@for (link of items; track link) {
|
|
2406
2408
|
<a (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
@@ -2408,7 +2410,7 @@ class AXPNavBarSlotComponent {
|
|
|
2408
2410
|
</div>
|
|
2409
2411
|
`, isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2410
2412
|
}
|
|
2411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
|
|
2412
2414
|
type: Component,
|
|
2413
2415
|
args: [{
|
|
2414
2416
|
template: `
|
|
@@ -2499,7 +2501,6 @@ const AXP_SEARCH_DEFINITION_PROVIDER = new InjectionToken('AXP_SEARCH_DEFINITION
|
|
|
2499
2501
|
class AXPSearchDefinitionProviderService {
|
|
2500
2502
|
constructor() {
|
|
2501
2503
|
this.providers = inject(AXP_SEARCH_DEFINITION_PROVIDER, { optional: true });
|
|
2502
|
-
this.providerRegistry = inject(AXPModuleProviderRegistry);
|
|
2503
2504
|
this.cache = null;
|
|
2504
2505
|
}
|
|
2505
2506
|
async load() {
|
|
@@ -2543,10 +2544,10 @@ class AXPSearchDefinitionProviderService {
|
|
|
2543
2544
|
}
|
|
2544
2545
|
return definition;
|
|
2545
2546
|
}
|
|
2546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2547
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2547
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSearchDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2548
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSearchDefinitionProviderService, providedIn: 'root' }); }
|
|
2548
2549
|
}
|
|
2549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSearchDefinitionProviderService, decorators: [{
|
|
2550
2551
|
type: Injectable,
|
|
2551
2552
|
args: [{ providedIn: 'root' }]
|
|
2552
2553
|
}] });
|
|
@@ -2562,7 +2563,6 @@ const AXP_SEARCH_PROVIDER = new InjectionToken('AXP_SEARCH_PROVIDER');
|
|
|
2562
2563
|
class AXPSearchService {
|
|
2563
2564
|
constructor() {
|
|
2564
2565
|
this.providers = inject(AXP_SEARCH_PROVIDER, { optional: true });
|
|
2565
|
-
this.providerRegistry = inject(AXPModuleProviderRegistry);
|
|
2566
2566
|
this.definitionService = inject(AXPSearchDefinitionProviderService);
|
|
2567
2567
|
this.formatService = inject(AXFormatService);
|
|
2568
2568
|
}
|
|
@@ -2571,19 +2571,15 @@ class AXPSearchService {
|
|
|
2571
2571
|
if (this.definitionService.getList().length == 0) {
|
|
2572
2572
|
await this.definitionService.getListAsync();
|
|
2573
2573
|
}
|
|
2574
|
-
// Collect providers from
|
|
2574
|
+
// Collect providers from DI tokens
|
|
2575
2575
|
const allProviders = [];
|
|
2576
|
-
// Load from DI tokens
|
|
2576
|
+
// Load from DI tokens
|
|
2577
2577
|
if (Array.isArray(this.providers)) {
|
|
2578
2578
|
allProviders.push(...this.providers);
|
|
2579
2579
|
}
|
|
2580
2580
|
else if (this.providers) {
|
|
2581
2581
|
allProviders.push(this.providers);
|
|
2582
2582
|
}
|
|
2583
|
-
// Load from registry (manifest-based, conditionally loaded)
|
|
2584
|
-
// Note: Registry stores AXPSearchCommandProvider which implements AXPSearchProvider
|
|
2585
|
-
const registryProviders = this.providerRegistry.getSearchProviders();
|
|
2586
|
-
allProviders.push(...registryProviders);
|
|
2587
2583
|
if (allProviders.length === 0) {
|
|
2588
2584
|
throw new Error('No search providers available');
|
|
2589
2585
|
}
|
|
@@ -2644,10 +2640,10 @@ class AXPSearchService {
|
|
|
2644
2640
|
groupedData.sort((a, b) => a.order - b.order);
|
|
2645
2641
|
return groupedData;
|
|
2646
2642
|
}
|
|
2647
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2648
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2643
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2644
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSearchService, providedIn: 'root' }); }
|
|
2649
2645
|
}
|
|
2650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPSearchService, decorators: [{
|
|
2651
2647
|
type: Injectable,
|
|
2652
2648
|
args: [{ providedIn: 'root' }]
|
|
2653
2649
|
}] });
|
|
@@ -2680,10 +2676,10 @@ class AXPWorkflowNavigateAction extends AXPWorkflowAction {
|
|
|
2680
2676
|
this.router.navigate([payload.commands], payload.extras);
|
|
2681
2677
|
}
|
|
2682
2678
|
}
|
|
2683
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2684
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPWorkflowNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2680
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPWorkflowNavigateAction }); }
|
|
2685
2681
|
}
|
|
2686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPWorkflowNavigateAction, decorators: [{
|
|
2687
2683
|
type: Injectable
|
|
2688
2684
|
}] });
|
|
2689
2685
|
class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
@@ -2699,10 +2695,10 @@ class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
|
2699
2695
|
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');
|
|
2700
2696
|
context.setOutput('result', dialogResult.result);
|
|
2701
2697
|
}
|
|
2702
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2703
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2698
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPDialogConfirmAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2699
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPDialogConfirmAction }); }
|
|
2704
2700
|
}
|
|
2705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPDialogConfirmAction, decorators: [{
|
|
2706
2702
|
type: Injectable
|
|
2707
2703
|
}] });
|
|
2708
2704
|
class AXPToastAction extends AXPWorkflowAction {
|
|
@@ -2725,20 +2721,20 @@ class AXPToastAction extends AXPWorkflowAction {
|
|
|
2725
2721
|
});
|
|
2726
2722
|
}
|
|
2727
2723
|
}
|
|
2728
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2729
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPToastAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2725
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPToastAction }); }
|
|
2730
2726
|
}
|
|
2731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPToastAction, decorators: [{
|
|
2732
2728
|
type: Injectable
|
|
2733
2729
|
}] });
|
|
2734
2730
|
class AXPReloadAction extends AXPWorkflowAction {
|
|
2735
2731
|
async execute(context) {
|
|
2736
2732
|
this.dispatch(AXPReloadEvent({ entity: context.getVariable('entity'), meta: context.getVariable('meta') }));
|
|
2737
2733
|
}
|
|
2738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2739
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPReloadAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2735
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPReloadAction }); }
|
|
2740
2736
|
}
|
|
2741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPReloadAction, decorators: [{
|
|
2742
2738
|
type: Injectable
|
|
2743
2739
|
}] });
|
|
2744
2740
|
|
|
@@ -2778,10 +2774,10 @@ class AXPWorkflowRouterNavigateAction extends AXPWorkflowAction {
|
|
|
2778
2774
|
return params;
|
|
2779
2775
|
}, {});
|
|
2780
2776
|
}
|
|
2781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2782
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPWorkflowRouterNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2778
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPWorkflowRouterNavigateAction }); }
|
|
2783
2779
|
}
|
|
2784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPWorkflowRouterNavigateAction, decorators: [{
|
|
2785
2781
|
type: Injectable
|
|
2786
2782
|
}] });
|
|
2787
2783
|
const AXPNavigateWorkflow = {
|
|
@@ -2806,10 +2802,10 @@ class AXMWorkflowErrorHandler {
|
|
|
2806
2802
|
next(error);
|
|
2807
2803
|
}
|
|
2808
2804
|
}
|
|
2809
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2810
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2805
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMWorkflowErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2806
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMWorkflowErrorHandler }); }
|
|
2811
2807
|
}
|
|
2812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMWorkflowErrorHandler, decorators: [{
|
|
2813
2809
|
type: Injectable
|
|
2814
2810
|
}] });
|
|
2815
2811
|
|
|
@@ -2849,28 +2845,17 @@ class AXPCommonModule {
|
|
|
2849
2845
|
/**
|
|
2850
2846
|
* @ignore
|
|
2851
2847
|
*/
|
|
2852
|
-
constructor(instances
|
|
2848
|
+
constructor(instances) {
|
|
2853
2849
|
instances.forEach((f) => {
|
|
2854
2850
|
f();
|
|
2855
2851
|
});
|
|
2856
|
-
appInitService.registerTask(manifestInitializer.createStartupTask());
|
|
2857
|
-
const moduleProviderInitializer = injector.get(AXP_MODULE_PROVIDER_INITIALIZER);
|
|
2858
|
-
appInitService.registerTask(moduleProviderInitializer.createRequiredModulesTask());
|
|
2859
|
-
appInitService.registerTask({
|
|
2860
|
-
name: 'Settings',
|
|
2861
|
-
statusText: 'Loading Settings ...',
|
|
2862
|
-
priority: 2,
|
|
2863
|
-
run: async () => {
|
|
2864
|
-
await settingsService.load();
|
|
2865
|
-
},
|
|
2866
|
-
});
|
|
2867
|
-
appInitService.registerTask(moduleProviderInitializer.createStartupTask());
|
|
2868
2852
|
}
|
|
2869
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2870
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2853
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPCommonModule, deps: [{ token: 'AXPCommonModuleFactory' }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2854
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: AXPCommonModule, imports: [i1.AXPWorkflowModule, AXPopupModule,
|
|
2871
2855
|
AXDateTimeModule,
|
|
2872
|
-
AXToastModule
|
|
2873
|
-
|
|
2856
|
+
AXToastModule,
|
|
2857
|
+
AXPModuleManifestModule], exports: [RouterModule] }); }
|
|
2858
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPCommonModule, providers: [
|
|
2874
2859
|
AXPAppStartUpProvider,
|
|
2875
2860
|
{
|
|
2876
2861
|
provide: ErrorHandler,
|
|
@@ -2903,7 +2888,7 @@ class AXPCommonModule {
|
|
|
2903
2888
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2904
2889
|
useFactory: async () => {
|
|
2905
2890
|
const injector = inject(Injector);
|
|
2906
|
-
const provider = (await import('./acorex-platform-common-common-settings.provider-
|
|
2891
|
+
const provider = (await import('./acorex-platform-common-common-settings.provider-O8usQ0VC.mjs')).AXPCommonSettingProvider;
|
|
2907
2892
|
return new provider(injector);
|
|
2908
2893
|
},
|
|
2909
2894
|
multi: true,
|
|
@@ -2921,9 +2906,10 @@ class AXPCommonModule {
|
|
|
2921
2906
|
}),
|
|
2922
2907
|
AXPopupModule,
|
|
2923
2908
|
AXDateTimeModule,
|
|
2924
|
-
AXToastModule,
|
|
2909
|
+
AXToastModule,
|
|
2910
|
+
AXPModuleManifestModule, RouterModule] }); }
|
|
2925
2911
|
}
|
|
2926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPCommonModule, decorators: [{
|
|
2927
2913
|
type: NgModule,
|
|
2928
2914
|
args: [{
|
|
2929
2915
|
imports: [
|
|
@@ -2941,6 +2927,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2941
2927
|
AXPopupModule,
|
|
2942
2928
|
AXDateTimeModule,
|
|
2943
2929
|
AXToastModule,
|
|
2930
|
+
AXPModuleManifestModule,
|
|
2944
2931
|
],
|
|
2945
2932
|
exports: [RouterModule],
|
|
2946
2933
|
providers: [
|
|
@@ -2976,7 +2963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2976
2963
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2977
2964
|
useFactory: async () => {
|
|
2978
2965
|
const injector = inject(Injector);
|
|
2979
|
-
const provider = (await import('./acorex-platform-common-common-settings.provider-
|
|
2966
|
+
const provider = (await import('./acorex-platform-common-common-settings.provider-O8usQ0VC.mjs')).AXPCommonSettingProvider;
|
|
2980
2967
|
return new provider(injector);
|
|
2981
2968
|
},
|
|
2982
2969
|
multi: true,
|
|
@@ -2986,7 +2973,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2986
2973
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2987
2974
|
type: Inject,
|
|
2988
2975
|
args: ['AXPCommonModuleFactory']
|
|
2989
|
-
}] }
|
|
2976
|
+
}] }] });
|
|
2990
2977
|
|
|
2991
2978
|
const ENVIRONMENT = new InjectionToken('ENVIRONMENT');
|
|
2992
2979
|
const AXP_PLATFORM_CONFIG_TOKEN = new InjectionToken('AXP_PLATFORM_CONFIG_TOKEN', {
|
|
@@ -3009,10 +2996,10 @@ function configPlatform(config = AXPPlatformDefaultConfigs) {
|
|
|
3009
2996
|
const AXP_ROOT_CONFIG_TOKEN = new InjectionToken('AXP_ROOT_CONFIG_TOKEN');
|
|
3010
2997
|
|
|
3011
2998
|
class AXPFileStorageService {
|
|
3012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3013
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2999
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3000
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFileStorageService }); }
|
|
3014
3001
|
}
|
|
3015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFileStorageService, decorators: [{
|
|
3016
3003
|
type: Injectable
|
|
3017
3004
|
}] });
|
|
3018
3005
|
|
|
@@ -3042,19 +3029,19 @@ class AXPFileTypeProviderService {
|
|
|
3042
3029
|
async get(name) {
|
|
3043
3030
|
return (await this.items()).find((c) => c.name == name);
|
|
3044
3031
|
}
|
|
3045
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3046
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFileTypeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3033
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFileTypeProviderService, providedIn: 'root' }); }
|
|
3047
3034
|
}
|
|
3048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPFileTypeProviderService, decorators: [{
|
|
3049
3036
|
type: Injectable,
|
|
3050
3037
|
args: [{ providedIn: 'root' }]
|
|
3051
3038
|
}] });
|
|
3052
3039
|
|
|
3053
3040
|
class AXPLockService {
|
|
3054
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3055
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3041
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3042
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPLockService }); }
|
|
3056
3043
|
}
|
|
3057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPLockService, decorators: [{
|
|
3058
3045
|
type: Injectable
|
|
3059
3046
|
}] });
|
|
3060
3047
|
|
|
@@ -3107,7 +3094,7 @@ const AXP_STATUS_PROVIDERS = new InjectionToken('AXP_STATUS_PROVIDERS');
|
|
|
3107
3094
|
* }
|
|
3108
3095
|
*
|
|
3109
3096
|
* // Later, get the status:
|
|
3110
|
-
* const status = statusService.getStatus('task-management.status');
|
|
3097
|
+
* const status = await statusService.getStatus('task-management.status');
|
|
3111
3098
|
* if (status) {
|
|
3112
3099
|
* console.log('Statuses:', status.statuses);
|
|
3113
3100
|
* console.log('Transitions:', status.transitions);
|
|
@@ -3115,8 +3102,6 @@ const AXP_STATUS_PROVIDERS = new InjectionToken('AXP_STATUS_PROVIDERS');
|
|
|
3115
3102
|
* ```
|
|
3116
3103
|
*/
|
|
3117
3104
|
class AXPStatusDefinitionProviderService {
|
|
3118
|
-
//#endregion
|
|
3119
|
-
//#region ---- Constructor ----
|
|
3120
3105
|
constructor() {
|
|
3121
3106
|
//#region ---- Dependencies ----
|
|
3122
3107
|
this.providers = inject(AXP_STATUS_PROVIDERS, { optional: true }) ?? [];
|
|
@@ -3124,33 +3109,64 @@ class AXPStatusDefinitionProviderService {
|
|
|
3124
3109
|
//#endregion
|
|
3125
3110
|
//#region ---- State ----
|
|
3126
3111
|
this.statusMap = new Map();
|
|
3127
|
-
|
|
3112
|
+
this.initializationPromise = null;
|
|
3113
|
+
this.isInitialized = false;
|
|
3114
|
+
}
|
|
3115
|
+
//#endregion
|
|
3116
|
+
//#region ---- Initialization ----
|
|
3117
|
+
/**
|
|
3118
|
+
* Initialize providers (resolve promises if needed)
|
|
3119
|
+
* Called lazily on first access
|
|
3120
|
+
*/
|
|
3121
|
+
async initialize() {
|
|
3122
|
+
if (this.isInitialized) {
|
|
3123
|
+
return;
|
|
3124
|
+
}
|
|
3125
|
+
if (this.initializationPromise) {
|
|
3126
|
+
return this.initializationPromise;
|
|
3127
|
+
}
|
|
3128
|
+
this.initializationPromise = this._doInitialize();
|
|
3129
|
+
await this.initializationPromise;
|
|
3130
|
+
}
|
|
3131
|
+
async _doInitialize() {
|
|
3132
|
+
// Register all providers, resolving promises if needed
|
|
3128
3133
|
for (const provider of this.providers) {
|
|
3129
|
-
|
|
3130
|
-
|
|
3134
|
+
let resolvedProvider;
|
|
3135
|
+
if (provider instanceof Promise) {
|
|
3136
|
+
// If provider is a promise, resolve it
|
|
3137
|
+
resolvedProvider = await provider;
|
|
3138
|
+
}
|
|
3139
|
+
else {
|
|
3140
|
+
// If provider is a direct instance, use it directly
|
|
3141
|
+
resolvedProvider = provider;
|
|
3142
|
+
}
|
|
3143
|
+
if (this.statusMap.has(resolvedProvider.key)) {
|
|
3144
|
+
console.warn(`Status with key "${resolvedProvider.key}" already exists. Overwriting with new status.`);
|
|
3131
3145
|
}
|
|
3132
|
-
this.statusMap.set(
|
|
3146
|
+
this.statusMap.set(resolvedProvider.key, resolvedProvider);
|
|
3133
3147
|
}
|
|
3148
|
+
this.isInitialized = true;
|
|
3134
3149
|
}
|
|
3135
3150
|
//#endregion
|
|
3136
3151
|
//#region ---- Public API ----
|
|
3137
3152
|
/**
|
|
3138
3153
|
* Get a status provider by key
|
|
3139
|
-
*
|
|
3154
|
+
* Ensures initialization is complete before accessing the status map.
|
|
3140
3155
|
*
|
|
3141
3156
|
* @param key - Status key (e.g., 'task-management.status')
|
|
3142
|
-
* @returns
|
|
3157
|
+
* @returns Promise that resolves to status provider with all statuses and transitions, or undefined if not found
|
|
3143
3158
|
*
|
|
3144
3159
|
* @example
|
|
3145
3160
|
* ```typescript
|
|
3146
|
-
* const status = statusService.getStatus('task-management.status');
|
|
3161
|
+
* const status = await statusService.getStatus('task-management.status');
|
|
3147
3162
|
* if (status) {
|
|
3148
3163
|
* console.log('Statuses:', status.statuses);
|
|
3149
3164
|
* console.log('Transitions:', status.transitions);
|
|
3150
3165
|
* }
|
|
3151
3166
|
* ```
|
|
3152
3167
|
*/
|
|
3153
|
-
getStatus(key) {
|
|
3168
|
+
async getStatus(key) {
|
|
3169
|
+
await this.initialize();
|
|
3154
3170
|
return this.statusMap.get(key);
|
|
3155
3171
|
}
|
|
3156
3172
|
/**
|
|
@@ -3173,7 +3189,8 @@ class AXPStatusDefinitionProviderService {
|
|
|
3173
3189
|
* ```
|
|
3174
3190
|
*/
|
|
3175
3191
|
async executeTransition(definitionKey, transition, context) {
|
|
3176
|
-
|
|
3192
|
+
await this.initialize();
|
|
3193
|
+
const provider = this.statusMap.get(definitionKey);
|
|
3177
3194
|
if (!provider) {
|
|
3178
3195
|
throw new Error(`Status provider with key "${definitionKey}" not found.`);
|
|
3179
3196
|
}
|
|
@@ -3225,13 +3242,13 @@ class AXPStatusDefinitionProviderService {
|
|
|
3225
3242
|
isValidTransition(provider, from, to) {
|
|
3226
3243
|
return provider.transitions.some((transition) => transition.from === from && transition.to === to);
|
|
3227
3244
|
}
|
|
3228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3229
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3245
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPStatusDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3246
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPStatusDefinitionProviderService, providedIn: 'root' }); }
|
|
3230
3247
|
}
|
|
3231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPStatusDefinitionProviderService, decorators: [{
|
|
3232
3249
|
type: Injectable,
|
|
3233
3250
|
args: [{ providedIn: 'root' }]
|
|
3234
|
-
}]
|
|
3251
|
+
}] });
|
|
3235
3252
|
|
|
3236
3253
|
/**
|
|
3237
3254
|
* Standard system status types
|
|
@@ -3575,10 +3592,10 @@ class AXPClipBoardService {
|
|
|
3575
3592
|
navigator.clipboard.writeText(value);
|
|
3576
3593
|
this.toast.success(`${title} copied!`);
|
|
3577
3594
|
}
|
|
3578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3579
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3595
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3596
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPClipBoardService, providedIn: 'root' }); }
|
|
3580
3597
|
}
|
|
3581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPClipBoardService, decorators: [{
|
|
3582
3599
|
type: Injectable,
|
|
3583
3600
|
args: [{
|
|
3584
3601
|
providedIn: 'root',
|
|
@@ -3692,10 +3709,10 @@ class AXPDebugService {
|
|
|
3692
3709
|
console.error('[AXPDebugService] Failed to display user access info:', error);
|
|
3693
3710
|
}
|
|
3694
3711
|
}
|
|
3695
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3696
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3712
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPDebugService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3713
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPDebugService, providedIn: 'root' }); }
|
|
3697
3714
|
}
|
|
3698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPDebugService, decorators: [{
|
|
3699
3716
|
type: Injectable,
|
|
3700
3717
|
args: [{
|
|
3701
3718
|
providedIn: 'root',
|
|
@@ -3750,8 +3767,8 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
3750
3767
|
isCanceled,
|
|
3751
3768
|
});
|
|
3752
3769
|
}
|
|
3753
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3754
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
3770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOrgChartPrintPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3771
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", 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">
|
|
3755
3772
|
<ax-label>Resolution (px)</ax-label>
|
|
3756
3773
|
<div class="ax-flex ax-gap-2 ax-items-center">
|
|
3757
3774
|
<ax-number-box
|
|
@@ -3800,9 +3817,9 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
3800
3817
|
<ax-icon class="fa-solid fa-print"> </ax-icon>
|
|
3801
3818
|
</ax-button>
|
|
3802
3819
|
</ax-suffix>
|
|
3803
|
-
</ax-footer>`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i2.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "minValue", "maxValue", "showSpinButtons", "thousandsSeparator", "decimals", "changeOnScroll", "step"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "thousandsSeparatorChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3
|
|
3820
|
+
</ax-footer>`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i2.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "minValue", "maxValue", "showSpinButtons", "thousandsSeparator", "decimals", "changeOnScroll", "step"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "thousandsSeparatorChange"] }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3.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"] }] }); }
|
|
3804
3821
|
}
|
|
3805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXMOrgChartPrintPage, decorators: [{
|
|
3806
3823
|
type: Component,
|
|
3807
3824
|
args: [{
|
|
3808
3825
|
template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
|
|
@@ -3916,10 +3933,10 @@ class AXPExportService {
|
|
|
3916
3933
|
document.body.removeChild(link);
|
|
3917
3934
|
URL.revokeObjectURL(link.href);
|
|
3918
3935
|
}
|
|
3919
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3920
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3936
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPExportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3937
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPExportService, providedIn: 'root' }); }
|
|
3921
3938
|
}
|
|
3922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: AXPExportService, decorators: [{
|
|
3923
3940
|
type: Injectable,
|
|
3924
3941
|
args: [{
|
|
3925
3942
|
providedIn: 'root',
|