@acorex/platform 20.3.0-next.20 → 20.3.0-next.22
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 +69 -64
- package/core/index.d.ts +14 -1
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs +47 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +222 -179
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +55 -42
- 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 +182 -159
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +542 -2387
- 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-create-entity.command-BXExgI3W.mjs → acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-BXExgI3W.mjs.map → acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +163 -162
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +53 -46
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +74 -73
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-BzsfTNs2.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-BzsfTNs2.mjs.map → acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-Dvk76-2W.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-Dvk76-2W.mjs.map → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-BYLaipWi.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-BYLaipWi.mjs.map → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-DcSllNik.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-DcSllNik.mjs.map → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-BT-U4BiA.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-BT-U4BiA.mjs.map → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-Il7jnRBg.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-Il7jnRBg.mjs.map → acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-CBEPu7Fl.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-CBEPu7Fl.mjs.map → acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-BPzn8lr3.mjs → acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-BPzn8lr3.mjs.map → acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-C_JrGoXy.mjs → acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-C_JrGoXy.mjs.map → acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-C6DaBt_N.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-C6DaBt_N.mjs.map → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-Bth3jI9T.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-Bth3jI9T.mjs.map → acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-CUHptbP4.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-CUHptbP4.mjs.map → acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +858 -897
- 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 +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-eGzN6g2Y.mjs → acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-eGzN6g2Y.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-nDHfQQ3O.mjs → acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs} +60 -13
- 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-HJyalvcu.mjs → acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-HJyalvcu.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-e7m70Wls.mjs → acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-e7m70Wls.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-401.component-CoBaQFTn.mjs → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-CoBaQFTn.mjs.map → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BLlVOsS2.mjs → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BLlVOsS2.mjs.map → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-CybYQI9F.mjs → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-CybYQI9F.mjs.map → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +39 -39
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-ReKSoVeN.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-ReKSoVeN.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-B2HDyY2z.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-B2HDyY2z.mjs.map → acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-CeZxa49U.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-CeZxa49U.mjs.map → acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.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 +25 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/README.md +1577 -2
- package/layout/builder/index.d.ts +182 -125
- package/layout/components/index.d.ts +8 -805
- package/layout/entity/index.d.ts +4 -2
- package/layout/views/index.d.ts +0 -1
- package/layout/widget-core/index.d.ts +2 -1
- package/layout/widgets/index.d.ts +11 -36
- package/package.json +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-nDHfQQ3O.mjs.map +0 -1
|
@@ -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.3.
|
|
64
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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.3.
|
|
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',
|
|
@@ -438,10 +438,10 @@ class AXPSettingDefinitionProviderService {
|
|
|
438
438
|
sections: []
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
442
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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' }); }
|
|
443
443
|
}
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefinitionProviderService, decorators: [{
|
|
445
445
|
type: Injectable,
|
|
446
446
|
args: [{ providedIn: 'root' }]
|
|
447
447
|
}] });
|
|
@@ -471,10 +471,10 @@ class AXPSettingDefaultValuesAggregatorService {
|
|
|
471
471
|
}
|
|
472
472
|
return merged;
|
|
473
473
|
}
|
|
474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
475
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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' }); }
|
|
476
476
|
}
|
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingDefaultValuesAggregatorService, decorators: [{
|
|
478
478
|
type: Injectable,
|
|
479
479
|
args: [{ providedIn: 'root' }]
|
|
480
480
|
}] });
|
|
@@ -676,10 +676,10 @@ class AXPSettingService {
|
|
|
676
676
|
this.onChanged.next(event);
|
|
677
677
|
this.eventService.publish('AXPSettingChangedEvent', event);
|
|
678
678
|
}
|
|
679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
680
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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' }); }
|
|
681
681
|
}
|
|
682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSettingService, decorators: [{
|
|
683
683
|
type: Injectable,
|
|
684
684
|
args: [{
|
|
685
685
|
providedIn: 'root',
|
|
@@ -861,10 +861,10 @@ class AXPHomePageService {
|
|
|
861
861
|
router.navigate([current.path]);
|
|
862
862
|
}, 100);
|
|
863
863
|
}
|
|
864
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
865
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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' }); }
|
|
866
866
|
}
|
|
867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageService, decorators: [{
|
|
868
868
|
type: Injectable,
|
|
869
869
|
args: [{
|
|
870
870
|
providedIn: 'root',
|
|
@@ -926,17 +926,17 @@ class AXPHomePageSettingProvider {
|
|
|
926
926
|
// End the 'General Settings' group
|
|
927
927
|
.endGroup();
|
|
928
928
|
}
|
|
929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
930
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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 }); }
|
|
931
931
|
}
|
|
932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageSettingProvider, decorators: [{
|
|
933
933
|
type: Injectable
|
|
934
934
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
935
935
|
|
|
936
936
|
class AXPHomePageModule {
|
|
937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
938
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
939
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
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: [
|
|
940
940
|
{
|
|
941
941
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
942
942
|
useClass: AXPHomePageSettingProvider,
|
|
@@ -944,7 +944,7 @@ class AXPHomePageModule {
|
|
|
944
944
|
},
|
|
945
945
|
] }); }
|
|
946
946
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHomePageModule, decorators: [{
|
|
948
948
|
type: NgModule,
|
|
949
949
|
args: [{
|
|
950
950
|
imports: [],
|
|
@@ -967,10 +967,10 @@ class AXPCustomOperatorServiceImpl extends AXPCustomOperatorService {
|
|
|
967
967
|
getCustomOperators() {
|
|
968
968
|
return {};
|
|
969
969
|
}
|
|
970
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
971
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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 }); }
|
|
972
972
|
}
|
|
973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCustomOperatorServiceImpl, decorators: [{
|
|
974
974
|
type: Injectable
|
|
975
975
|
}] });
|
|
976
976
|
|
|
@@ -1015,10 +1015,10 @@ class AXPFilterOperatorMiddlewareServiceImpl extends AXPFilterOperatorMiddleware
|
|
|
1015
1015
|
return acc;
|
|
1016
1016
|
}, {});
|
|
1017
1017
|
}
|
|
1018
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1019
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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 }); }
|
|
1020
1020
|
}
|
|
1021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFilterOperatorMiddlewareServiceImpl, decorators: [{
|
|
1022
1022
|
type: Injectable
|
|
1023
1023
|
}] });
|
|
1024
1024
|
|
|
@@ -1039,10 +1039,10 @@ class AXPErrorHandlerRegistryService {
|
|
|
1039
1039
|
get handlers() {
|
|
1040
1040
|
return this.errorHandlers;
|
|
1041
1041
|
}
|
|
1042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1043
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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' }); }
|
|
1044
1044
|
}
|
|
1045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPErrorHandlerRegistryService, decorators: [{
|
|
1046
1046
|
type: Injectable,
|
|
1047
1047
|
args: [{
|
|
1048
1048
|
providedIn: 'root'
|
|
@@ -1073,14 +1073,85 @@ class AXPGlobalErrorHandler extends ErrorHandler {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
handleErrorRecursively(0, error);
|
|
1075
1075
|
}
|
|
1076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1077
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
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' }); }
|
|
1078
1078
|
}
|
|
1079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalErrorHandler, decorators: [{
|
|
1080
1080
|
type: Injectable,
|
|
1081
1081
|
args: [{ providedIn: 'root' }]
|
|
1082
1082
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: AXPErrorHandlerRegistryService }] });
|
|
1083
1083
|
|
|
1084
|
+
const AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER = new InjectionToken('AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER', {
|
|
1085
|
+
factory: () => [],
|
|
1086
|
+
});
|
|
1087
|
+
|
|
1088
|
+
//#region ---- Imports ----
|
|
1089
|
+
//#endregion
|
|
1090
|
+
class AXPGlobalVariableDefinitionService {
|
|
1091
|
+
constructor() {
|
|
1092
|
+
//#region ---- Providers & Caches ----
|
|
1093
|
+
this.definitionProviders = inject(AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, { optional: true }) || [];
|
|
1094
|
+
/** Cache for definitions by name. */
|
|
1095
|
+
this.definitionsByName = new Map();
|
|
1096
|
+
}
|
|
1097
|
+
//#endregion
|
|
1098
|
+
//#region ---- Public API ----
|
|
1099
|
+
/**
|
|
1100
|
+
* Returns a report definition by its id.
|
|
1101
|
+
* First checks the cache, then queries all providers if not found.
|
|
1102
|
+
* @param name The global variable name.
|
|
1103
|
+
* @returns The global variable definition if found, undefined otherwise.
|
|
1104
|
+
*/
|
|
1105
|
+
async getByName(name) {
|
|
1106
|
+
// Check cache first
|
|
1107
|
+
if (this.definitionsByName.has(name)) {
|
|
1108
|
+
return this.definitionsByName.get(name);
|
|
1109
|
+
}
|
|
1110
|
+
// Not in cache, query providers (each provider is itself a global variable definition)
|
|
1111
|
+
const resolvedProviders = await Promise.all(this.definitionProviders);
|
|
1112
|
+
const match = resolvedProviders.find(def => def?.name === name);
|
|
1113
|
+
if (match) {
|
|
1114
|
+
this.definitionsByName.set(name, match);
|
|
1115
|
+
return match;
|
|
1116
|
+
}
|
|
1117
|
+
return undefined;
|
|
1118
|
+
}
|
|
1119
|
+
async execute(name) {
|
|
1120
|
+
const definition = await this.getByName(name);
|
|
1121
|
+
if (definition) {
|
|
1122
|
+
return await definition.execute();
|
|
1123
|
+
}
|
|
1124
|
+
return undefined;
|
|
1125
|
+
}
|
|
1126
|
+
//#endregion
|
|
1127
|
+
//#region ---- Cache Management ----
|
|
1128
|
+
/** Clears the definitions by name cache. */
|
|
1129
|
+
clearDefinitionsCache() {
|
|
1130
|
+
this.definitionsByName.clear();
|
|
1131
|
+
}
|
|
1132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1133
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, providedIn: 'root' }); }
|
|
1134
|
+
}
|
|
1135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGlobalVariableDefinitionService, decorators: [{
|
|
1136
|
+
type: Injectable,
|
|
1137
|
+
args: [{
|
|
1138
|
+
providedIn: 'root',
|
|
1139
|
+
}]
|
|
1140
|
+
}] });
|
|
1141
|
+
|
|
1142
|
+
class AXPGlobalVariableEvaluatorScopeProvider {
|
|
1143
|
+
constructor() {
|
|
1144
|
+
this.globalVariableService = inject(AXPGlobalVariableDefinitionService);
|
|
1145
|
+
}
|
|
1146
|
+
async provide(context) {
|
|
1147
|
+
context.addScope('variables', {
|
|
1148
|
+
execute: async (name) => {
|
|
1149
|
+
return await this.globalVariableService.execute(name);
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1084
1155
|
class AXPStickyDirective {
|
|
1085
1156
|
get isSticky() {
|
|
1086
1157
|
return this._isSticky;
|
|
@@ -1161,10 +1232,10 @@ class AXPStickyDirective {
|
|
|
1161
1232
|
this.mutationObserver.disconnect();
|
|
1162
1233
|
}
|
|
1163
1234
|
}
|
|
1164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1165
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1235
|
+
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 }); }
|
|
1236
|
+
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 }); }
|
|
1166
1237
|
}
|
|
1167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPStickyDirective, decorators: [{
|
|
1168
1239
|
type: Directive,
|
|
1169
1240
|
args: [{
|
|
1170
1241
|
selector: '[axpSticky]',
|
|
@@ -1215,10 +1286,10 @@ class AXPLogoComponent {
|
|
|
1215
1286
|
this.source = this.platform.isDark() ? this.source.dark : this.source.light;
|
|
1216
1287
|
}
|
|
1217
1288
|
}
|
|
1218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1219
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1290
|
+
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 }] }); }
|
|
1220
1291
|
}
|
|
1221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLogoComponent, decorators: [{
|
|
1222
1293
|
type: Component,
|
|
1223
1294
|
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" }]
|
|
1224
1295
|
}], propDecorators: { source: [{
|
|
@@ -1361,10 +1432,10 @@ class AXPMenuProviderService {
|
|
|
1361
1432
|
this.pendingUpdates = [];
|
|
1362
1433
|
this.pendingAdditions = [];
|
|
1363
1434
|
}
|
|
1364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1365
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1436
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuProviderService, providedIn: 'root' }); }
|
|
1366
1437
|
}
|
|
1367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuProviderService, decorators: [{
|
|
1368
1439
|
type: Injectable,
|
|
1369
1440
|
args: [{ providedIn: 'root' }]
|
|
1370
1441
|
}] });
|
|
@@ -1402,7 +1473,7 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1402
1473
|
patchState(store, { items: items });
|
|
1403
1474
|
},
|
|
1404
1475
|
selectMenuItemByRoute(path) {
|
|
1405
|
-
const
|
|
1476
|
+
const currentRawPath = path;
|
|
1406
1477
|
const findItem = (items) => {
|
|
1407
1478
|
for (const item of items) {
|
|
1408
1479
|
// Recursively search children first
|
|
@@ -1413,8 +1484,8 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1413
1484
|
}
|
|
1414
1485
|
}
|
|
1415
1486
|
if (item.path) {
|
|
1416
|
-
// Check if the item path matches the current path
|
|
1417
|
-
const matchResult = pathsMatch(item.path,
|
|
1487
|
+
// Check if the item path matches the current path (including query param subset if provided on item)
|
|
1488
|
+
const matchResult = pathsMatch(item.path, currentRawPath, ['list', 'view', 'edit', 'create']);
|
|
1418
1489
|
if (matchResult.isMatch) {
|
|
1419
1490
|
return { item, isPartialMatch: matchResult.isPartial };
|
|
1420
1491
|
}
|
|
@@ -1423,8 +1494,13 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1423
1494
|
return { item: null, isPartialMatch: false };
|
|
1424
1495
|
};
|
|
1425
1496
|
const pathsMatch = (itemPath, currentPath, trailingSegmentsToIgnore = []) => {
|
|
1426
|
-
|
|
1427
|
-
const
|
|
1497
|
+
// Split base and query/hash
|
|
1498
|
+
const itemNoHash = itemPath.split('#')[0];
|
|
1499
|
+
const currentNoHash = currentPath.split('#')[0];
|
|
1500
|
+
const [itemBase, itemQueryString = ''] = itemNoHash.split('?');
|
|
1501
|
+
const [currentBase, currentQueryString = ''] = currentNoHash.split('?');
|
|
1502
|
+
const itemSegments = itemBase.split('/').filter((segment) => segment.length > 0);
|
|
1503
|
+
const pathSegments = currentBase.split('/').filter((segment) => segment.length > 0);
|
|
1428
1504
|
const menuLength = itemSegments.length;
|
|
1429
1505
|
const pathLength = pathSegments.length;
|
|
1430
1506
|
// Identify the effective base length for the menuPath
|
|
@@ -1450,8 +1526,24 @@ withMethods((store, router = inject(Router), workflow = inject(AXPWorkflowServic
|
|
|
1450
1526
|
const isPartialMatch = effectiveMenuLength < pathLength;
|
|
1451
1527
|
// Exact match: all segments match completely
|
|
1452
1528
|
const isExactMatch = effectiveMenuLength === pathLength;
|
|
1529
|
+
// Query params subset match: if item defines any query params, require them to match
|
|
1530
|
+
const itemParams = new URLSearchParams(itemQueryString);
|
|
1531
|
+
const currentParams = new URLSearchParams(currentQueryString);
|
|
1532
|
+
let queryMatches = true;
|
|
1533
|
+
const itemParamPairs = [];
|
|
1534
|
+
itemParams.forEach((value, key) => {
|
|
1535
|
+
itemParamPairs.push([key, value]);
|
|
1536
|
+
});
|
|
1537
|
+
if (itemParamPairs.length > 0) {
|
|
1538
|
+
for (const [k, v] of itemParamPairs) {
|
|
1539
|
+
if (currentParams.get(k) !== v) {
|
|
1540
|
+
queryMatches = false;
|
|
1541
|
+
break;
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1453
1545
|
return {
|
|
1454
|
-
isMatch: isExactMatch || isPartialMatch,
|
|
1546
|
+
isMatch: (isExactMatch || isPartialMatch) && queryMatches,
|
|
1455
1547
|
isPartial: isPartialMatch && !isExactMatch,
|
|
1456
1548
|
};
|
|
1457
1549
|
};
|
|
@@ -1573,12 +1665,12 @@ class AXPMenuSearchProvider {
|
|
|
1573
1665
|
}
|
|
1574
1666
|
|
|
1575
1667
|
class AXPFooterTextSlotComponent {
|
|
1576
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1577
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1668
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFooterTextSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1669
|
+
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: `
|
|
1578
1670
|
<small class="ax-text-sm" [innerHTML]="text"></small>
|
|
1579
1671
|
`, isInline: true }); }
|
|
1580
1672
|
}
|
|
1581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFooterTextSlotComponent, decorators: [{
|
|
1582
1674
|
type: Component,
|
|
1583
1675
|
args: [{
|
|
1584
1676
|
template: `
|
|
@@ -1595,8 +1687,8 @@ class AXPNavBarSlotComponent {
|
|
|
1595
1687
|
// if (action)
|
|
1596
1688
|
// this.store.dispatch(action)
|
|
1597
1689
|
}
|
|
1598
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1599
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPNavBarSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1691
|
+
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: `
|
|
1600
1692
|
<div class="ax-flex ax-items-center ax-justify-between ax-gap-5">
|
|
1601
1693
|
@for (link of items; track link) {
|
|
1602
1694
|
<a (click)="handleCommand(link.command)" >{{ link.text }}</a>
|
|
@@ -1604,7 +1696,7 @@ class AXPNavBarSlotComponent {
|
|
|
1604
1696
|
</div>
|
|
1605
1697
|
`, isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1606
1698
|
}
|
|
1607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPNavBarSlotComponent, decorators: [{
|
|
1608
1700
|
type: Component,
|
|
1609
1701
|
args: [{
|
|
1610
1702
|
template: `
|
|
@@ -1735,10 +1827,10 @@ class AXPSearchDefinitionProviderService {
|
|
|
1735
1827
|
}
|
|
1736
1828
|
return definition;
|
|
1737
1829
|
}
|
|
1738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1739
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1831
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchDefinitionProviderService, providedIn: 'root' }); }
|
|
1740
1832
|
}
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchDefinitionProviderService, decorators: [{
|
|
1742
1834
|
type: Injectable,
|
|
1743
1835
|
args: [{ providedIn: 'root' }]
|
|
1744
1836
|
}] });
|
|
@@ -1822,14 +1914,19 @@ class AXPSearchService {
|
|
|
1822
1914
|
groupedData.sort((a, b) => a.order - b.order);
|
|
1823
1915
|
return groupedData;
|
|
1824
1916
|
}
|
|
1825
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1826
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1917
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1918
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchService, providedIn: 'root' }); }
|
|
1827
1919
|
}
|
|
1828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSearchService, decorators: [{
|
|
1829
1921
|
type: Injectable,
|
|
1830
1922
|
args: [{ providedIn: 'root' }]
|
|
1831
1923
|
}] });
|
|
1832
1924
|
|
|
1925
|
+
var AXPCommonSettings;
|
|
1926
|
+
(function (AXPCommonSettings) {
|
|
1927
|
+
AXPCommonSettings["EnableOperationToasts"] = "general:notifications:enable-operation-toasts";
|
|
1928
|
+
})(AXPCommonSettings || (AXPCommonSettings = {}));
|
|
1929
|
+
|
|
1833
1930
|
//TODO Loading, Redirect, Drawer, Show toast
|
|
1834
1931
|
const AXPRedirectEvent = createWorkFlowEvent('Redirect Event Fired');
|
|
1835
1932
|
const AXPRefreshEvent = createWorkFlowEvent('Refresh Event Fired');
|
|
@@ -1852,10 +1949,10 @@ class AXPWorkflowNavigateAction extends AXPWorkflowAction {
|
|
|
1852
1949
|
this.router.navigate([payload.commands], payload.extras);
|
|
1853
1950
|
}
|
|
1854
1951
|
}
|
|
1855
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1856
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1953
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowNavigateAction }); }
|
|
1857
1954
|
}
|
|
1858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowNavigateAction, decorators: [{
|
|
1859
1956
|
type: Injectable
|
|
1860
1957
|
}] });
|
|
1861
1958
|
class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
@@ -1871,10 +1968,10 @@ class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
|
1871
1968
|
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');
|
|
1872
1969
|
context.setOutput('result', dialogResult.result);
|
|
1873
1970
|
}
|
|
1874
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1875
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDialogConfirmAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1972
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDialogConfirmAction }); }
|
|
1876
1973
|
}
|
|
1877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDialogConfirmAction, decorators: [{
|
|
1878
1975
|
type: Injectable
|
|
1879
1976
|
}] });
|
|
1880
1977
|
class AXPToastAction extends AXPWorkflowAction {
|
|
@@ -1882,11 +1979,10 @@ class AXPToastAction extends AXPWorkflowAction {
|
|
|
1882
1979
|
super(...arguments);
|
|
1883
1980
|
this.toastService = inject(AXToastService);
|
|
1884
1981
|
this.translationService = inject(AXTranslationService);
|
|
1982
|
+
this.settingService = inject(AXPSettingService);
|
|
1885
1983
|
}
|
|
1886
1984
|
async execute(context) {
|
|
1887
|
-
const
|
|
1888
|
-
const process = options?.['process'];
|
|
1889
|
-
const showResult = process?.showResult ?? true;
|
|
1985
|
+
const showResult = await this.settingService.get(AXPCommonSettings.EnableOperationToasts);
|
|
1890
1986
|
if (showResult) {
|
|
1891
1987
|
this.toastService.show({
|
|
1892
1988
|
color: this.color,
|
|
@@ -1898,20 +1994,20 @@ class AXPToastAction extends AXPWorkflowAction {
|
|
|
1898
1994
|
});
|
|
1899
1995
|
}
|
|
1900
1996
|
}
|
|
1901
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1902
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1997
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPToastAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1998
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPToastAction }); }
|
|
1903
1999
|
}
|
|
1904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPToastAction, decorators: [{
|
|
1905
2001
|
type: Injectable
|
|
1906
2002
|
}] });
|
|
1907
2003
|
class AXPReloadAction extends AXPWorkflowAction {
|
|
1908
2004
|
async execute(context) {
|
|
1909
2005
|
this.dispatch(AXPReloadEvent({ entity: context.getVariable('entity'), meta: context.getVariable('meta') }));
|
|
1910
2006
|
}
|
|
1911
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1912
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2007
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPReloadAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2008
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPReloadAction }); }
|
|
1913
2009
|
}
|
|
1914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPReloadAction, decorators: [{
|
|
1915
2011
|
type: Injectable
|
|
1916
2012
|
}] });
|
|
1917
2013
|
|
|
@@ -1951,10 +2047,10 @@ class AXPWorkflowRouterNavigateAction extends AXPWorkflowAction {
|
|
|
1951
2047
|
return params;
|
|
1952
2048
|
}, {});
|
|
1953
2049
|
}
|
|
1954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1955
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2051
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction }); }
|
|
1956
2052
|
}
|
|
1957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPWorkflowRouterNavigateAction, decorators: [{
|
|
1958
2054
|
type: Injectable
|
|
1959
2055
|
}] });
|
|
1960
2056
|
const AXPNavigateWorkflow = {
|
|
@@ -1979,84 +2075,13 @@ class AXMWorkflowErrorHandler {
|
|
|
1979
2075
|
next(error);
|
|
1980
2076
|
}
|
|
1981
2077
|
}
|
|
1982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1983
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2078
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMWorkflowErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2079
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMWorkflowErrorHandler }); }
|
|
1984
2080
|
}
|
|
1985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMWorkflowErrorHandler, decorators: [{
|
|
1986
2082
|
type: Injectable
|
|
1987
2083
|
}] });
|
|
1988
2084
|
|
|
1989
|
-
const AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER = new InjectionToken('AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER', {
|
|
1990
|
-
factory: () => [],
|
|
1991
|
-
});
|
|
1992
|
-
|
|
1993
|
-
//#region ---- Imports ----
|
|
1994
|
-
//#endregion
|
|
1995
|
-
class AXPGlobalVariableDefinitionService {
|
|
1996
|
-
constructor() {
|
|
1997
|
-
//#region ---- Providers & Caches ----
|
|
1998
|
-
this.definitionProviders = inject(AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, { optional: true }) || [];
|
|
1999
|
-
/** Cache for definitions by name. */
|
|
2000
|
-
this.definitionsByName = new Map();
|
|
2001
|
-
}
|
|
2002
|
-
//#endregion
|
|
2003
|
-
//#region ---- Public API ----
|
|
2004
|
-
/**
|
|
2005
|
-
* Returns a report definition by its id.
|
|
2006
|
-
* First checks the cache, then queries all providers if not found.
|
|
2007
|
-
* @param name The global variable name.
|
|
2008
|
-
* @returns The global variable definition if found, undefined otherwise.
|
|
2009
|
-
*/
|
|
2010
|
-
async getByName(name) {
|
|
2011
|
-
// Check cache first
|
|
2012
|
-
if (this.definitionsByName.has(name)) {
|
|
2013
|
-
return this.definitionsByName.get(name);
|
|
2014
|
-
}
|
|
2015
|
-
// Not in cache, query providers (each provider is itself a global variable definition)
|
|
2016
|
-
const resolvedProviders = await Promise.all(this.definitionProviders);
|
|
2017
|
-
const match = resolvedProviders.find(def => def?.name === name);
|
|
2018
|
-
if (match) {
|
|
2019
|
-
this.definitionsByName.set(name, match);
|
|
2020
|
-
return match;
|
|
2021
|
-
}
|
|
2022
|
-
return undefined;
|
|
2023
|
-
}
|
|
2024
|
-
async execute(name) {
|
|
2025
|
-
const definition = await this.getByName(name);
|
|
2026
|
-
if (definition) {
|
|
2027
|
-
return await definition.execute();
|
|
2028
|
-
}
|
|
2029
|
-
return undefined;
|
|
2030
|
-
}
|
|
2031
|
-
//#endregion
|
|
2032
|
-
//#region ---- Cache Management ----
|
|
2033
|
-
/** Clears the definitions by name cache. */
|
|
2034
|
-
clearDefinitionsCache() {
|
|
2035
|
-
this.definitionsByName.clear();
|
|
2036
|
-
}
|
|
2037
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPGlobalVariableDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2038
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPGlobalVariableDefinitionService, providedIn: 'root' }); }
|
|
2039
|
-
}
|
|
2040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPGlobalVariableDefinitionService, decorators: [{
|
|
2041
|
-
type: Injectable,
|
|
2042
|
-
args: [{
|
|
2043
|
-
providedIn: 'root',
|
|
2044
|
-
}]
|
|
2045
|
-
}] });
|
|
2046
|
-
|
|
2047
|
-
class AXPGlobalVariableEvaluatorScopeProvider {
|
|
2048
|
-
constructor() {
|
|
2049
|
-
this.globalVariableService = inject(AXPGlobalVariableDefinitionService);
|
|
2050
|
-
}
|
|
2051
|
-
async provide(context) {
|
|
2052
|
-
context.addScope('variables', {
|
|
2053
|
-
execute: async (name) => {
|
|
2054
|
-
return await this.globalVariableService.execute(name);
|
|
2055
|
-
}
|
|
2056
|
-
});
|
|
2057
|
-
}
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
2085
|
class AXPCommonModule {
|
|
2061
2086
|
static forRoot(configs) {
|
|
2062
2087
|
return {
|
|
@@ -2106,11 +2131,11 @@ class AXPCommonModule {
|
|
|
2106
2131
|
},
|
|
2107
2132
|
});
|
|
2108
2133
|
}
|
|
2109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2110
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
2134
|
+
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 }); }
|
|
2135
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, imports: [i3.AXPWorkflowModule, AXPopupModule,
|
|
2111
2136
|
AXDateTimeModule,
|
|
2112
2137
|
AXToastModule], exports: [RouterModule] }); }
|
|
2113
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
2138
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, providers: [
|
|
2114
2139
|
AXPAppStartUpProvider,
|
|
2115
2140
|
{
|
|
2116
2141
|
provide: ErrorHandler,
|
|
@@ -2139,12 +2164,21 @@ class AXPCommonModule {
|
|
|
2139
2164
|
useClass: AXPGlobalVariableEvaluatorScopeProvider,
|
|
2140
2165
|
multi: true,
|
|
2141
2166
|
},
|
|
2167
|
+
{
|
|
2168
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2169
|
+
useFactory: async () => {
|
|
2170
|
+
const injector = inject(Injector);
|
|
2171
|
+
const provider = (await import('./acorex-platform-common-common-settings.provider-9OHien_H.mjs')).AXPCommonSettingProvider;
|
|
2172
|
+
return new provider(injector);
|
|
2173
|
+
},
|
|
2174
|
+
multi: true,
|
|
2175
|
+
},
|
|
2142
2176
|
], imports: [AXPWorkflowModule.forChild({
|
|
2143
2177
|
actions: {
|
|
2144
2178
|
'navigate-router': AXPWorkflowRouterNavigateAction,
|
|
2145
2179
|
'show-prompt-dialog': AXPDialogConfirmAction,
|
|
2146
2180
|
'show-toast': AXPToastAction,
|
|
2147
|
-
|
|
2181
|
+
reload: AXPReloadAction,
|
|
2148
2182
|
},
|
|
2149
2183
|
workflows: {
|
|
2150
2184
|
navigate: AXPNavigateWorkflow,
|
|
@@ -2154,7 +2188,7 @@ class AXPCommonModule {
|
|
|
2154
2188
|
AXDateTimeModule,
|
|
2155
2189
|
AXToastModule, RouterModule] }); }
|
|
2156
2190
|
}
|
|
2157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCommonModule, decorators: [{
|
|
2158
2192
|
type: NgModule,
|
|
2159
2193
|
args: [{
|
|
2160
2194
|
imports: [
|
|
@@ -2163,7 +2197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
2163
2197
|
'navigate-router': AXPWorkflowRouterNavigateAction,
|
|
2164
2198
|
'show-prompt-dialog': AXPDialogConfirmAction,
|
|
2165
2199
|
'show-toast': AXPToastAction,
|
|
2166
|
-
|
|
2200
|
+
reload: AXPReloadAction,
|
|
2167
2201
|
},
|
|
2168
2202
|
workflows: {
|
|
2169
2203
|
navigate: AXPNavigateWorkflow,
|
|
@@ -2203,6 +2237,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
2203
2237
|
useClass: AXPGlobalVariableEvaluatorScopeProvider,
|
|
2204
2238
|
multi: true,
|
|
2205
2239
|
},
|
|
2240
|
+
{
|
|
2241
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
2242
|
+
useFactory: async () => {
|
|
2243
|
+
const injector = inject(Injector);
|
|
2244
|
+
const provider = (await import('./acorex-platform-common-common-settings.provider-9OHien_H.mjs')).AXPCommonSettingProvider;
|
|
2245
|
+
return new provider(injector);
|
|
2246
|
+
},
|
|
2247
|
+
multi: true,
|
|
2248
|
+
},
|
|
2206
2249
|
],
|
|
2207
2250
|
}]
|
|
2208
2251
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -2231,10 +2274,10 @@ function configPlatform(config = AXPPlatformDefaultConfigs) {
|
|
|
2231
2274
|
const AXP_ROOT_CONFIG_TOKEN = new InjectionToken('AXP_ROOT_CONFIG_TOKEN');
|
|
2232
2275
|
|
|
2233
2276
|
class AXPFileStorageService {
|
|
2234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2235
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2278
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileStorageService }); }
|
|
2236
2279
|
}
|
|
2237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileStorageService, decorators: [{
|
|
2238
2281
|
type: Injectable
|
|
2239
2282
|
}] });
|
|
2240
2283
|
|
|
@@ -2264,19 +2307,19 @@ class AXPFileTypeProviderService {
|
|
|
2264
2307
|
async get(name) {
|
|
2265
2308
|
return (await this.items()).find((c) => c.name == name);
|
|
2266
2309
|
}
|
|
2267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2268
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileTypeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2311
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileTypeProviderService, providedIn: 'root' }); }
|
|
2269
2312
|
}
|
|
2270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFileTypeProviderService, decorators: [{
|
|
2271
2314
|
type: Injectable,
|
|
2272
2315
|
args: [{ providedIn: 'root' }]
|
|
2273
2316
|
}] });
|
|
2274
2317
|
|
|
2275
2318
|
class AXPLockService {
|
|
2276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2277
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLockService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLockService }); }
|
|
2278
2321
|
}
|
|
2279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPLockService, decorators: [{
|
|
2280
2323
|
type: Injectable
|
|
2281
2324
|
}] });
|
|
2282
2325
|
|
|
@@ -2293,10 +2336,10 @@ class AXPClipBoardService {
|
|
|
2293
2336
|
navigator.clipboard.writeText(value);
|
|
2294
2337
|
this.toast.success(`${title} copied!`);
|
|
2295
2338
|
}
|
|
2296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2297
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2340
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPClipBoardService, providedIn: 'root' }); }
|
|
2298
2341
|
}
|
|
2299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPClipBoardService, decorators: [{
|
|
2300
2343
|
type: Injectable,
|
|
2301
2344
|
args: [{
|
|
2302
2345
|
providedIn: 'root',
|
|
@@ -2351,8 +2394,8 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
2351
2394
|
isCanceled,
|
|
2352
2395
|
});
|
|
2353
2396
|
}
|
|
2354
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2355
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
2397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMOrgChartPrintPage, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2398
|
+
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">
|
|
2356
2399
|
<ax-label>Resolution (px)</ax-label>
|
|
2357
2400
|
<div class="ax-flex ax-gap-2 ax-items-center">
|
|
2358
2401
|
<ax-number-box
|
|
@@ -2403,7 +2446,7 @@ class AXMOrgChartPrintPage extends AXBasePageComponent {
|
|
|
2403
2446
|
</ax-suffix>
|
|
2404
2447
|
</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"] }] }); }
|
|
2405
2448
|
}
|
|
2406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXMOrgChartPrintPage, decorators: [{
|
|
2407
2450
|
type: Component,
|
|
2408
2451
|
args: [{
|
|
2409
2452
|
template: ` <div class="ax-grid ax-grid-cols-[auto_18rem] ax-gap-4 ax-justify-center ax-p-4 ax-items-center">
|
|
@@ -2517,10 +2560,10 @@ class AXPExportService {
|
|
|
2517
2560
|
document.body.removeChild(link);
|
|
2518
2561
|
URL.revokeObjectURL(link.href);
|
|
2519
2562
|
}
|
|
2520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2521
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2563
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2564
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExportService, providedIn: 'root' }); }
|
|
2522
2565
|
}
|
|
2523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExportService, decorators: [{
|
|
2524
2567
|
type: Injectable,
|
|
2525
2568
|
args: [{
|
|
2526
2569
|
providedIn: 'root',
|
|
@@ -2567,5 +2610,5 @@ class AXPVersioningService {
|
|
|
2567
2610
|
* Generated bundle index. Do not edit.
|
|
2568
2611
|
*/
|
|
2569
2612
|
|
|
2570
|
-
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 };
|
|
2613
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, 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 };
|
|
2571
2614
|
//# sourceMappingURL=acorex-platform-common.mjs.map
|