@acorex/platform 20.6.0-next.0 → 20.6.0-next.10
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 +7 -2
- package/core/index.d.ts +444 -4
- 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 → acorex-platform-common-common-settings.provider-zhqNP3xb.mjs} +28 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-zhqNP3xb.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +105 -104
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +460 -55
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +37 -38
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +23 -19
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +646 -297
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +84 -84
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs → acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DGeylNSY.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +442 -291
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +37 -23
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +158 -124
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C3VoBb_b.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-fhhZOWul.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-C3Qbs0fz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-CngQBUlN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-DSNo9e4W.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-CL0CwEHX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-B6Fi0xTw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CGEHOyKT.mjs → acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-D0y-9nE5.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs → acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-BtZMBxYp.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-C1l2KSDa.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-D-31ej0C.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Df1BFkSa.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +2802 -958
- 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 +49 -42
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs → acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-WbPPqDON.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs +803 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CD7rJIMh.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs → acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BTA6h7Xd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs → acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B_P0a5KW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs → acorex-platform-themes-default-error-401.component-cfREo88K.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-cfREo88K.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs → acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-CdCV5ZoA.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-E7SzBcAt.mjs.map +1 -0
- 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-Dc_Txe32.mjs → acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-9W52W6Nu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs → acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs} +18 -18
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DTnfRy5f.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DY0JtT1v.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +58 -58
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1413 -28
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +6 -2
- package/layout/components/index.d.ts +32 -2
- package/layout/entity/index.d.ts +25 -10
- package/layout/views/index.d.ts +1 -0
- package/layout/widget-core/index.d.ts +14 -0
- package/layout/widgets/index.d.ts +352 -19
- package/package.json +11 -11
- package/themes/default/index.d.ts +3 -4
- package/workflow/index.d.ts +1987 -3
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CGEHOyKT.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs +0 -748
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ccqB5ShI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +0 -1
|
@@ -17,10 +17,10 @@ class AXPActivityLogService {
|
|
|
17
17
|
async getHistoryByIds(refId, refType, ids) {
|
|
18
18
|
return (await Promise.all(this.providers?.map((p) => p.getHistoryByIds(refId, refType, ids)) ?? [])).flat();
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPActivityLogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPActivityLogService, providedIn: 'root' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPActivityLogService, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}] });
|
|
@@ -135,10 +135,10 @@ class AXPColorPaletteService {
|
|
|
135
135
|
const uniquePalettes = allPalettes.filter((palette, index, self) => index === self.findIndex((p) => p.name === palette.name));
|
|
136
136
|
this.cache = uniquePalettes;
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
139
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPColorPaletteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPColorPaletteService, providedIn: 'root' }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPColorPaletteService, decorators: [{
|
|
142
142
|
type: Injectable,
|
|
143
143
|
args: [{
|
|
144
144
|
providedIn: 'root',
|
|
@@ -253,10 +253,10 @@ class AXPDefaultColorPalettesProvider extends AXPColorPaletteProvider {
|
|
|
253
253
|
},
|
|
254
254
|
];
|
|
255
255
|
}
|
|
256
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
257
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
256
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDefaultColorPalettesProvider, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
257
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDefaultColorPalettesProvider }); }
|
|
258
258
|
}
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDefaultColorPalettesProvider, decorators: [{
|
|
260
260
|
type: Injectable
|
|
261
261
|
}] });
|
|
262
262
|
|
|
@@ -801,10 +801,10 @@ class AXPDataSourceDefinitionProviderService {
|
|
|
801
801
|
async get(name) {
|
|
802
802
|
return (await this.items()).find((c) => c.name == name);
|
|
803
803
|
}
|
|
804
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
805
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
804
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDataSourceDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
805
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDataSourceDefinitionProviderService, providedIn: 'root' }); }
|
|
806
806
|
}
|
|
807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDataSourceDefinitionProviderService, decorators: [{
|
|
808
808
|
type: Injectable,
|
|
809
809
|
args: [{ providedIn: 'root' }]
|
|
810
810
|
}] });
|
|
@@ -837,16 +837,16 @@ class AXPElementDataDirective {
|
|
|
837
837
|
setData(data) {
|
|
838
838
|
set(this.elementRef.nativeElement, this.path(), data);
|
|
839
839
|
}
|
|
840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
841
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
840
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPElementDataDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
841
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.12", type: AXPElementDataDirective, isStandalone: true, selector: "[axp-data]", inputs: { data: { classPropertyName: "data", publicName: "axp-data", isSignal: true, isRequired: false, transformFunction: null }, path: { classPropertyName: "path", publicName: "axp-data-path", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
842
842
|
}
|
|
843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPElementDataDirective, decorators: [{
|
|
844
844
|
type: Directive,
|
|
845
845
|
args: [{
|
|
846
846
|
selector: '[axp-data]',
|
|
847
847
|
standalone: true
|
|
848
848
|
}]
|
|
849
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
849
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "axp-data", required: false }] }], path: [{ type: i0.Input, args: [{ isSignal: true, alias: "axp-data-path", required: false }] }] } });
|
|
850
850
|
|
|
851
851
|
class AXPDblClickDirective {
|
|
852
852
|
constructor() {
|
|
@@ -869,10 +869,10 @@ class AXPDblClickDirective {
|
|
|
869
869
|
}
|
|
870
870
|
this.lastTap = currentTime;
|
|
871
871
|
}
|
|
872
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
873
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
872
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDblClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
873
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: AXPDblClickDirective, isStandalone: true, selector: "[onDblClick]", outputs: { onDblClick: "onDblClick" }, host: { listeners: { "dblclick": "handleOnDblClick($event)", "touchend": "onTouchEnd($event)" } }, ngImport: i0 }); }
|
|
874
874
|
}
|
|
875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDblClickDirective, decorators: [{
|
|
876
876
|
type: Directive,
|
|
877
877
|
args: [{
|
|
878
878
|
selector: '[onDblClick]'
|
|
@@ -936,16 +936,16 @@ class AXPGridLayoutDirective {
|
|
|
936
936
|
}
|
|
937
937
|
});
|
|
938
938
|
}
|
|
939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
940
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
939
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
940
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.12", type: AXPGridLayoutDirective, isStandalone: true, selector: "[axp-grid-layout]", inputs: { options: { classPropertyName: "options", publicName: "axp-grid-layout", isSignal: true, isRequired: true, transformFunction: null } }, usesOnChanges: true, ngImport: i0 }); }
|
|
941
941
|
}
|
|
942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
|
|
943
943
|
type: Directive,
|
|
944
944
|
args: [{
|
|
945
945
|
selector: '[axp-grid-layout]',
|
|
946
946
|
standalone: true,
|
|
947
947
|
}]
|
|
948
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
948
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "axp-grid-layout", required: true }] }] } });
|
|
949
949
|
|
|
950
950
|
// src/app/directives/grid-layout.directive.ts
|
|
951
951
|
class AXPContentCheckerDirective {
|
|
@@ -954,10 +954,10 @@ class AXPContentCheckerDirective {
|
|
|
954
954
|
this.elementRef = inject((ElementRef));
|
|
955
955
|
this.isEmpty = computed(() => this.viewContainerRef.length === 0, ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
|
|
956
956
|
}
|
|
957
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
958
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPContentCheckerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
958
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: AXPContentCheckerDirective, isStandalone: true, selector: "[axp-content-checker]", exportAs: ["checker"], ngImport: i0 }); }
|
|
959
959
|
}
|
|
960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPContentCheckerDirective, decorators: [{
|
|
961
961
|
type: Directive,
|
|
962
962
|
args: [{
|
|
963
963
|
selector: '[axp-content-checker]',
|
|
@@ -1102,10 +1102,10 @@ class AXPDistributedEventListenerService {
|
|
|
1102
1102
|
this.listenersByKey.clear();
|
|
1103
1103
|
this.providersLoaded = false;
|
|
1104
1104
|
}
|
|
1105
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1106
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDistributedEventListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1106
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDistributedEventListenerService, providedIn: 'root' }); }
|
|
1107
1107
|
}
|
|
1108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPDistributedEventListenerService, decorators: [{
|
|
1109
1109
|
type: Injectable,
|
|
1110
1110
|
args: [{
|
|
1111
1111
|
providedIn: 'root',
|
|
@@ -1229,10 +1229,10 @@ class AXPBroadcastEventService {
|
|
|
1229
1229
|
// Cleanup multi-tab event history
|
|
1230
1230
|
this.multiTabEventHistory.clear();
|
|
1231
1231
|
}
|
|
1232
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1233
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPBroadcastEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1233
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPBroadcastEventService, providedIn: 'root' }); }
|
|
1234
1234
|
}
|
|
1235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPBroadcastEventService, decorators: [{
|
|
1236
1236
|
type: Injectable,
|
|
1237
1237
|
args: [{
|
|
1238
1238
|
providedIn: 'root',
|
|
@@ -1271,10 +1271,10 @@ class AXPExpressionEvaluatorScopeProviderService {
|
|
|
1271
1271
|
await this.load();
|
|
1272
1272
|
return this.cache || {};
|
|
1273
1273
|
}
|
|
1274
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1275
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1275
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, providedIn: 'root' }); }
|
|
1276
1276
|
}
|
|
1277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, decorators: [{
|
|
1278
1278
|
type: Injectable,
|
|
1279
1279
|
args: [{ providedIn: 'root' }]
|
|
1280
1280
|
}] });
|
|
@@ -1383,10 +1383,10 @@ class AXPExpressionEvaluatorService {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
return false;
|
|
1385
1385
|
}
|
|
1386
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1387
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPExpressionEvaluatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1387
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPExpressionEvaluatorService, providedIn: 'root' }); }
|
|
1388
1388
|
}
|
|
1389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPExpressionEvaluatorService, decorators: [{
|
|
1390
1390
|
type: Injectable,
|
|
1391
1391
|
args: [{ providedIn: 'root' }]
|
|
1392
1392
|
}] });
|
|
@@ -1437,10 +1437,10 @@ class AXPHookService {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
return data;
|
|
1439
1439
|
}
|
|
1440
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1441
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPHookService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1441
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPHookService, providedIn: 'root' }); }
|
|
1442
1442
|
}
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPHookService, decorators: [{
|
|
1444
1444
|
type: Injectable,
|
|
1445
1445
|
args: [{ providedIn: 'root' }]
|
|
1446
1446
|
}] });
|
|
@@ -1465,10 +1465,10 @@ class AXPAppStartUpService {
|
|
|
1465
1465
|
loadingText.innerHTML = status;
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1469
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPAppStartUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1469
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPAppStartUpService, providedIn: 'root' }); }
|
|
1470
1470
|
}
|
|
1471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPAppStartUpService, decorators: [{
|
|
1472
1472
|
type: Injectable,
|
|
1473
1473
|
args: [{
|
|
1474
1474
|
providedIn: 'root',
|
|
@@ -1482,6 +1482,412 @@ const AXPAppStartUpProvider = provideAppInitializer(() => {
|
|
|
1482
1482
|
return initializerFn();
|
|
1483
1483
|
});
|
|
1484
1484
|
|
|
1485
|
+
/**
|
|
1486
|
+
* Status Definition Types
|
|
1487
|
+
* Defines the structure for status definitions and their transitions
|
|
1488
|
+
*/
|
|
1489
|
+
/**
|
|
1490
|
+
* Abstract class for status providers
|
|
1491
|
+
* Similar to AXPTaskBadgeProvider pattern
|
|
1492
|
+
*/
|
|
1493
|
+
class AXPStatusProvider {
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
//#region ---- Injection Token ----
|
|
1497
|
+
/**
|
|
1498
|
+
* Injection token for status providers
|
|
1499
|
+
* Use with multi: true to register multiple providers
|
|
1500
|
+
*/
|
|
1501
|
+
const AXP_STATUS_PROVIDERS = new InjectionToken('AXP_STATUS_PROVIDERS');
|
|
1502
|
+
//#endregion
|
|
1503
|
+
//#region ---- Provider Service ----
|
|
1504
|
+
/**
|
|
1505
|
+
* Service for managing status definitions from multiple providers
|
|
1506
|
+
* Similar to AXPTaskBadgeService pattern - no cache, direct access
|
|
1507
|
+
*
|
|
1508
|
+
* @example
|
|
1509
|
+
* ```typescript
|
|
1510
|
+
* // In a module providers array:
|
|
1511
|
+
* {
|
|
1512
|
+
* provide: AXP_STATUS_PROVIDERS,
|
|
1513
|
+
* useClass: TaskStatusProvider,
|
|
1514
|
+
* multi: true,
|
|
1515
|
+
* }
|
|
1516
|
+
*
|
|
1517
|
+
* // Example provider implementation:
|
|
1518
|
+
* export class TaskStatusProvider extends AXPStatusProvider {
|
|
1519
|
+
* readonly key = 'task-management.status';
|
|
1520
|
+
* readonly statuses = [
|
|
1521
|
+
* { name: 'todo', title: 'To Do', color: '#6b7280', icon: 'fa-light fa-circle', isInitial: true },
|
|
1522
|
+
* { name: 'in-progress', title: 'In Progress', color: '#3b82f6', icon: 'fa-light fa-play' },
|
|
1523
|
+
* { name: 'done', title: 'Done', color: '#10b981', icon: 'fa-light fa-check-circle', isFinal: true },
|
|
1524
|
+
* ];
|
|
1525
|
+
* readonly transitions = [
|
|
1526
|
+
* { from: 'todo', to: 'in-progress', title: 'Start', condition: '{{user.canEdit}}' },
|
|
1527
|
+
* { from: 'in-progress', to: 'done', title: 'Complete' },
|
|
1528
|
+
* ];
|
|
1529
|
+
* readonly defaultStatus = 'todo';
|
|
1530
|
+
* }
|
|
1531
|
+
*
|
|
1532
|
+
* // Later, get the status:
|
|
1533
|
+
* const status = statusService.getStatus('task-management.status');
|
|
1534
|
+
* if (status) {
|
|
1535
|
+
* console.log('Statuses:', status.statuses);
|
|
1536
|
+
* console.log('Transitions:', status.transitions);
|
|
1537
|
+
* }
|
|
1538
|
+
* ```
|
|
1539
|
+
*/
|
|
1540
|
+
class AXPStatusDefinitionProviderService {
|
|
1541
|
+
//#endregion
|
|
1542
|
+
//#region ---- Constructor ----
|
|
1543
|
+
constructor() {
|
|
1544
|
+
//#region ---- Dependencies ----
|
|
1545
|
+
this.providers = inject(AXP_STATUS_PROVIDERS, { optional: true }) ?? [];
|
|
1546
|
+
//#endregion
|
|
1547
|
+
//#region ---- State ----
|
|
1548
|
+
this.statusMap = new Map();
|
|
1549
|
+
// Register all providers in constructor (like badge service)
|
|
1550
|
+
for (const provider of this.providers) {
|
|
1551
|
+
if (this.statusMap.has(provider.key)) {
|
|
1552
|
+
console.warn(`Status with key "${provider.key}" already exists. Overwriting with new status.`);
|
|
1553
|
+
}
|
|
1554
|
+
this.statusMap.set(provider.key, provider);
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
//#endregion
|
|
1558
|
+
//#region ---- Public API ----
|
|
1559
|
+
/**
|
|
1560
|
+
* Get a status provider by key
|
|
1561
|
+
* Direct access from Map (no lazy load, no cache)
|
|
1562
|
+
*
|
|
1563
|
+
* @param key - Status key (e.g., 'task-management.status')
|
|
1564
|
+
* @returns Status provider with all statuses and transitions, or undefined if not found
|
|
1565
|
+
*
|
|
1566
|
+
* @example
|
|
1567
|
+
* ```typescript
|
|
1568
|
+
* const status = statusService.getStatus('task-management.status');
|
|
1569
|
+
* if (status) {
|
|
1570
|
+
* console.log('Statuses:', status.statuses);
|
|
1571
|
+
* console.log('Transitions:', status.transitions);
|
|
1572
|
+
* }
|
|
1573
|
+
* ```
|
|
1574
|
+
*/
|
|
1575
|
+
getStatus(key) {
|
|
1576
|
+
return this.statusMap.get(key);
|
|
1577
|
+
}
|
|
1578
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPStatusDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1579
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPStatusDefinitionProviderService, providedIn: 'root' }); }
|
|
1580
|
+
}
|
|
1581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPStatusDefinitionProviderService, decorators: [{
|
|
1582
|
+
type: Injectable,
|
|
1583
|
+
args: [{ providedIn: 'root' }]
|
|
1584
|
+
}], ctorParameters: () => [] });
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Standard system status types
|
|
1588
|
+
* These are the predefined status values used across the platform
|
|
1589
|
+
*/
|
|
1590
|
+
var AXPSystemStatusType;
|
|
1591
|
+
(function (AXPSystemStatusType) {
|
|
1592
|
+
AXPSystemStatusType["Todo"] = "todo";
|
|
1593
|
+
AXPSystemStatusType["InProgress"] = "in-progress";
|
|
1594
|
+
AXPSystemStatusType["InReview"] = "in-review";
|
|
1595
|
+
AXPSystemStatusType["Blocked"] = "blocked";
|
|
1596
|
+
AXPSystemStatusType["Done"] = "done";
|
|
1597
|
+
AXPSystemStatusType["Cancelled"] = "cancelled";
|
|
1598
|
+
AXPSystemStatusType["Draft"] = "draft";
|
|
1599
|
+
AXPSystemStatusType["PendingReview"] = "pending-review";
|
|
1600
|
+
AXPSystemStatusType["Approved"] = "approved";
|
|
1601
|
+
AXPSystemStatusType["Published"] = "published";
|
|
1602
|
+
AXPSystemStatusType["Archived"] = "archived";
|
|
1603
|
+
AXPSystemStatusType["Rejected"] = "rejected";
|
|
1604
|
+
AXPSystemStatusType["Active"] = "active";
|
|
1605
|
+
AXPSystemStatusType["Inactive"] = "inactive";
|
|
1606
|
+
AXPSystemStatusType["Pending"] = "pending";
|
|
1607
|
+
AXPSystemStatusType["Completed"] = "completed";
|
|
1608
|
+
AXPSystemStatusType["Suspended"] = "suspended";
|
|
1609
|
+
AXPSystemStatusType["Failed"] = "failed";
|
|
1610
|
+
})(AXPSystemStatusType || (AXPSystemStatusType = {}));
|
|
1611
|
+
const i18n$1 = (key) => `@general:statuses.${key}`;
|
|
1612
|
+
/**
|
|
1613
|
+
* Standard system status definitions
|
|
1614
|
+
* Provides consistent status definitions across the platform
|
|
1615
|
+
* Uses AXPStatusDefinition interface from status-definition.types.ts
|
|
1616
|
+
*/
|
|
1617
|
+
const AXPSystemStatuses = Object.freeze({
|
|
1618
|
+
Todo: {
|
|
1619
|
+
name: AXPSystemStatusType.Todo,
|
|
1620
|
+
title: i18n$1('todo.title'),
|
|
1621
|
+
icon: 'fa-light fa-circle',
|
|
1622
|
+
color: '#6b7280',
|
|
1623
|
+
description: i18n$1('todo.description'),
|
|
1624
|
+
order: 1,
|
|
1625
|
+
isActive: true,
|
|
1626
|
+
isInitial: true,
|
|
1627
|
+
isFinal: false,
|
|
1628
|
+
},
|
|
1629
|
+
InProgress: {
|
|
1630
|
+
name: AXPSystemStatusType.InProgress,
|
|
1631
|
+
title: i18n$1('in-progress.title'),
|
|
1632
|
+
icon: 'fa-light fa-play',
|
|
1633
|
+
color: '#3b82f6',
|
|
1634
|
+
description: i18n$1('in-progress.description'),
|
|
1635
|
+
order: 2,
|
|
1636
|
+
isActive: true,
|
|
1637
|
+
isInitial: false,
|
|
1638
|
+
isFinal: false,
|
|
1639
|
+
},
|
|
1640
|
+
InReview: {
|
|
1641
|
+
name: AXPSystemStatusType.InReview,
|
|
1642
|
+
title: i18n$1('in-review.title'),
|
|
1643
|
+
icon: 'fa-light fa-eye',
|
|
1644
|
+
color: '#8b5cf6',
|
|
1645
|
+
description: i18n$1('in-review.description'),
|
|
1646
|
+
order: 3,
|
|
1647
|
+
isActive: true,
|
|
1648
|
+
isInitial: false,
|
|
1649
|
+
isFinal: false,
|
|
1650
|
+
},
|
|
1651
|
+
Blocked: {
|
|
1652
|
+
name: AXPSystemStatusType.Blocked,
|
|
1653
|
+
title: i18n$1('blocked.title'),
|
|
1654
|
+
icon: 'fa-light fa-ban',
|
|
1655
|
+
color: '#ef4444',
|
|
1656
|
+
description: i18n$1('blocked.description'),
|
|
1657
|
+
order: 4,
|
|
1658
|
+
isActive: true,
|
|
1659
|
+
isInitial: false,
|
|
1660
|
+
isFinal: false,
|
|
1661
|
+
},
|
|
1662
|
+
Done: {
|
|
1663
|
+
name: AXPSystemStatusType.Done,
|
|
1664
|
+
title: i18n$1('done.title'),
|
|
1665
|
+
icon: 'fa-light fa-check-circle',
|
|
1666
|
+
color: '#10b981',
|
|
1667
|
+
description: i18n$1('done.description'),
|
|
1668
|
+
order: 5,
|
|
1669
|
+
isActive: true,
|
|
1670
|
+
isInitial: false,
|
|
1671
|
+
isFinal: true,
|
|
1672
|
+
},
|
|
1673
|
+
Cancelled: {
|
|
1674
|
+
name: AXPSystemStatusType.Cancelled,
|
|
1675
|
+
title: i18n$1('cancelled.title'),
|
|
1676
|
+
icon: 'fa-light fa-times-circle',
|
|
1677
|
+
color: '#64748b',
|
|
1678
|
+
description: i18n$1('cancelled.description'),
|
|
1679
|
+
order: 6,
|
|
1680
|
+
isActive: true,
|
|
1681
|
+
isInitial: false,
|
|
1682
|
+
isFinal: true,
|
|
1683
|
+
},
|
|
1684
|
+
Draft: {
|
|
1685
|
+
name: AXPSystemStatusType.Draft,
|
|
1686
|
+
title: i18n$1('draft.title'),
|
|
1687
|
+
icon: 'fa-light fa-file-pen',
|
|
1688
|
+
color: '#6b7280',
|
|
1689
|
+
description: i18n$1('draft.description'),
|
|
1690
|
+
order: 1,
|
|
1691
|
+
isActive: true,
|
|
1692
|
+
isInitial: true,
|
|
1693
|
+
isFinal: false,
|
|
1694
|
+
},
|
|
1695
|
+
PendingReview: {
|
|
1696
|
+
name: AXPSystemStatusType.PendingReview,
|
|
1697
|
+
title: i18n$1('pending-review.title'),
|
|
1698
|
+
icon: 'fa-light fa-clock',
|
|
1699
|
+
color: '#f59e0b',
|
|
1700
|
+
description: i18n$1('pending-review.description'),
|
|
1701
|
+
order: 2,
|
|
1702
|
+
isActive: true,
|
|
1703
|
+
isInitial: false,
|
|
1704
|
+
isFinal: false,
|
|
1705
|
+
},
|
|
1706
|
+
Approved: {
|
|
1707
|
+
name: AXPSystemStatusType.Approved,
|
|
1708
|
+
title: i18n$1('approved.title'),
|
|
1709
|
+
icon: 'fa-light fa-check-circle',
|
|
1710
|
+
color: '#10b981',
|
|
1711
|
+
description: i18n$1('approved.description'),
|
|
1712
|
+
order: 3,
|
|
1713
|
+
isActive: true,
|
|
1714
|
+
isInitial: false,
|
|
1715
|
+
isFinal: false,
|
|
1716
|
+
},
|
|
1717
|
+
Published: {
|
|
1718
|
+
name: AXPSystemStatusType.Published,
|
|
1719
|
+
title: i18n$1('published.title'),
|
|
1720
|
+
icon: 'fa-light fa-globe',
|
|
1721
|
+
color: '#3b82f6',
|
|
1722
|
+
description: i18n$1('published.description'),
|
|
1723
|
+
order: 4,
|
|
1724
|
+
isActive: true,
|
|
1725
|
+
isInitial: false,
|
|
1726
|
+
isFinal: false,
|
|
1727
|
+
},
|
|
1728
|
+
Archived: {
|
|
1729
|
+
name: AXPSystemStatusType.Archived,
|
|
1730
|
+
title: i18n$1('archived.title'),
|
|
1731
|
+
icon: 'fa-light fa-archive',
|
|
1732
|
+
color: '#64748b',
|
|
1733
|
+
description: i18n$1('archived.description'),
|
|
1734
|
+
order: 5,
|
|
1735
|
+
isActive: true,
|
|
1736
|
+
isInitial: false,
|
|
1737
|
+
isFinal: true,
|
|
1738
|
+
},
|
|
1739
|
+
Rejected: {
|
|
1740
|
+
name: AXPSystemStatusType.Rejected,
|
|
1741
|
+
title: i18n$1('rejected.title'),
|
|
1742
|
+
icon: 'fa-light fa-times-circle',
|
|
1743
|
+
color: '#ef4444',
|
|
1744
|
+
description: i18n$1('rejected.description'),
|
|
1745
|
+
order: 6,
|
|
1746
|
+
isActive: true,
|
|
1747
|
+
isInitial: false,
|
|
1748
|
+
isFinal: true,
|
|
1749
|
+
},
|
|
1750
|
+
Active: {
|
|
1751
|
+
name: AXPSystemStatusType.Active,
|
|
1752
|
+
title: i18n$1('active.title'),
|
|
1753
|
+
icon: 'fa-light fa-check-circle',
|
|
1754
|
+
color: '#10b981',
|
|
1755
|
+
description: i18n$1('active.description'),
|
|
1756
|
+
order: 1,
|
|
1757
|
+
isActive: true,
|
|
1758
|
+
isInitial: false,
|
|
1759
|
+
isFinal: false,
|
|
1760
|
+
},
|
|
1761
|
+
Inactive: {
|
|
1762
|
+
name: AXPSystemStatusType.Inactive,
|
|
1763
|
+
title: i18n$1('inactive.title'),
|
|
1764
|
+
icon: 'fa-light fa-circle',
|
|
1765
|
+
color: '#6b7280',
|
|
1766
|
+
description: i18n$1('inactive.description'),
|
|
1767
|
+
order: 2,
|
|
1768
|
+
isActive: true,
|
|
1769
|
+
isInitial: false,
|
|
1770
|
+
isFinal: false,
|
|
1771
|
+
},
|
|
1772
|
+
Pending: {
|
|
1773
|
+
name: AXPSystemStatusType.Pending,
|
|
1774
|
+
title: i18n$1('pending.title'),
|
|
1775
|
+
icon: 'fa-light fa-clock',
|
|
1776
|
+
color: '#f59e0b',
|
|
1777
|
+
description: i18n$1('pending.description'),
|
|
1778
|
+
order: 1,
|
|
1779
|
+
isActive: true,
|
|
1780
|
+
isInitial: true,
|
|
1781
|
+
isFinal: false,
|
|
1782
|
+
},
|
|
1783
|
+
Completed: {
|
|
1784
|
+
name: AXPSystemStatusType.Completed,
|
|
1785
|
+
title: i18n$1('completed.title'),
|
|
1786
|
+
icon: 'fa-light fa-check-circle',
|
|
1787
|
+
color: '#10b981',
|
|
1788
|
+
description: i18n$1('completed.description'),
|
|
1789
|
+
order: 10,
|
|
1790
|
+
isActive: true,
|
|
1791
|
+
isInitial: false,
|
|
1792
|
+
isFinal: true,
|
|
1793
|
+
},
|
|
1794
|
+
Suspended: {
|
|
1795
|
+
name: AXPSystemStatusType.Suspended,
|
|
1796
|
+
title: i18n$1('suspended.title'),
|
|
1797
|
+
icon: 'fa-light fa-pause-circle',
|
|
1798
|
+
color: '#f59e0b',
|
|
1799
|
+
description: i18n$1('suspended.description'),
|
|
1800
|
+
order: 5,
|
|
1801
|
+
isActive: true,
|
|
1802
|
+
isInitial: false,
|
|
1803
|
+
isFinal: false,
|
|
1804
|
+
},
|
|
1805
|
+
Failed: {
|
|
1806
|
+
name: AXPSystemStatusType.Failed,
|
|
1807
|
+
title: i18n$1('failed.title'),
|
|
1808
|
+
icon: 'fa-light fa-xmark-circle',
|
|
1809
|
+
color: '#ef4444',
|
|
1810
|
+
description: i18n$1('failed.description'),
|
|
1811
|
+
order: 10,
|
|
1812
|
+
isActive: true,
|
|
1813
|
+
isInitial: false,
|
|
1814
|
+
isFinal: true,
|
|
1815
|
+
},
|
|
1816
|
+
});
|
|
1817
|
+
/**
|
|
1818
|
+
* Get system status definition by type
|
|
1819
|
+
* @param type - Status type
|
|
1820
|
+
* @returns System status definition or undefined
|
|
1821
|
+
*/
|
|
1822
|
+
function getSystemStatus(type) {
|
|
1823
|
+
return Object.values(AXPSystemStatuses).find(status => status.name === type);
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
* Resolves the visual appearance (color and icon) for status
|
|
1827
|
+
* using the system statuses from the core module.
|
|
1828
|
+
* @param statusType - Status type string
|
|
1829
|
+
* @returns Color and icon for the status
|
|
1830
|
+
*/
|
|
1831
|
+
function resolveStatusLook(statusType) {
|
|
1832
|
+
// Try to get system status first
|
|
1833
|
+
const systemStatusType = statusType;
|
|
1834
|
+
if (systemStatusType) {
|
|
1835
|
+
const systemStatus = getSystemStatus(systemStatusType);
|
|
1836
|
+
if (systemStatus) {
|
|
1837
|
+
// Convert hex color to semantic color type if needed
|
|
1838
|
+
// For now, return as-is and let the UI handle it
|
|
1839
|
+
return {
|
|
1840
|
+
color: systemStatus.color,
|
|
1841
|
+
icon: systemStatus.icon || ''
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
// Fallback for unknown statuses
|
|
1846
|
+
return {
|
|
1847
|
+
color: '#6b7280',
|
|
1848
|
+
icon: ''
|
|
1849
|
+
};
|
|
1850
|
+
}
|
|
1851
|
+
/**
|
|
1852
|
+
* Resolves the complete status information (title, description, icon, color) for a status
|
|
1853
|
+
* using the system statuses from the core module.
|
|
1854
|
+
* @param statusType - Status type string
|
|
1855
|
+
* @returns Complete status information as AXPStatusDefinition
|
|
1856
|
+
*/
|
|
1857
|
+
function getStatusInfo(statusType) {
|
|
1858
|
+
const systemStatusType = statusType;
|
|
1859
|
+
if (systemStatusType) {
|
|
1860
|
+
const systemStatus = getSystemStatus(systemStatusType);
|
|
1861
|
+
if (systemStatus) {
|
|
1862
|
+
return systemStatus;
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
// Fallback for unknown statuses
|
|
1866
|
+
return {
|
|
1867
|
+
name: statusType,
|
|
1868
|
+
title: statusType,
|
|
1869
|
+
description: `Status: ${statusType}`,
|
|
1870
|
+
icon: '',
|
|
1871
|
+
color: '#6b7280'
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* Get system status definition directly (no conversion needed since it's already AXPStatusDefinition)
|
|
1876
|
+
* @param statusType - Status type
|
|
1877
|
+
* @param overrides - Optional overrides for the status definition
|
|
1878
|
+
* @returns AXPStatusDefinition
|
|
1879
|
+
*/
|
|
1880
|
+
function systemStatusToDefinition(statusType, overrides) {
|
|
1881
|
+
const systemStatus = getSystemStatus(statusType);
|
|
1882
|
+
if (!systemStatus) {
|
|
1883
|
+
throw new Error(`System status ${statusType} not found`);
|
|
1884
|
+
}
|
|
1885
|
+
return {
|
|
1886
|
+
...systemStatus,
|
|
1887
|
+
...overrides,
|
|
1888
|
+
};
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1485
1891
|
//#region ---- Tag Types ----
|
|
1486
1892
|
//#endregion
|
|
1487
1893
|
|
|
@@ -1619,7 +2025,6 @@ class AXPTagService {
|
|
|
1619
2025
|
* Load tags from all providers
|
|
1620
2026
|
*/
|
|
1621
2027
|
async loadTags() {
|
|
1622
|
-
debugger;
|
|
1623
2028
|
const allTags = [];
|
|
1624
2029
|
for (const provider of this.providers) {
|
|
1625
2030
|
try {
|
|
@@ -1634,10 +2039,10 @@ class AXPTagService {
|
|
|
1634
2039
|
const uniqueTags = allTags.filter((tag, index, self) => index === self.findIndex((t) => t.title.toLowerCase() === tag.title.toLowerCase()));
|
|
1635
2040
|
this.cache = uniqueTags;
|
|
1636
2041
|
}
|
|
1637
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1638
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTagService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2043
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTagService, providedIn: 'root' }); }
|
|
1639
2044
|
}
|
|
1640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPTagService, decorators: [{
|
|
1641
2046
|
type: Injectable,
|
|
1642
2047
|
args: [{
|
|
1643
2048
|
providedIn: 'root',
|
|
@@ -2664,10 +3069,10 @@ class AXPCountdownPipe {
|
|
|
2664
3069
|
updateTargetDate(value) {
|
|
2665
3070
|
this.targetDate = new Date(value).getTime();
|
|
2666
3071
|
}
|
|
2667
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2668
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
3072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3073
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.12", ngImport: i0, type: AXPCountdownPipe, isStandalone: true, name: "countdown", pure: false }); }
|
|
2669
3074
|
}
|
|
2670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPCountdownPipe, decorators: [{
|
|
2671
3076
|
type: Pipe,
|
|
2672
3077
|
args: [{
|
|
2673
3078
|
name: 'countdown',
|
|
@@ -2982,10 +3387,10 @@ class AXHighlightService {
|
|
|
2982
3387
|
resultHTML += '</span>';
|
|
2983
3388
|
return resultHTML;
|
|
2984
3389
|
}
|
|
2985
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2986
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXHighlightService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3391
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXHighlightService, providedIn: 'root' }); }
|
|
2987
3392
|
}
|
|
2988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXHighlightService, decorators: [{
|
|
2989
3394
|
type: Injectable,
|
|
2990
3395
|
args: [{
|
|
2991
3396
|
providedIn: 'root',
|
|
@@ -3002,5 +3407,5 @@ function extractTextFromHtml(value) {
|
|
|
3002
3407
|
* Generated bundle index. Do not edit.
|
|
3003
3408
|
*/
|
|
3004
3409
|
|
|
3005
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_TAG_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
3410
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPSystemActionType, AXPSystemActions, AXPSystemStatusType, AXPSystemStatuses, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TAG_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getStatusInfo, getSystemActions, getSystemStatus, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, resolveStatusLook, setSmart, systemStatusToDefinition };
|
|
3006
3411
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|