@acorex/platform 20.3.0-next.0 → 20.3.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 +8 -9
- package/core/index.d.ts +597 -46
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +111 -163
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +759 -113
- 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 +518 -95
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1997 -215
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +86 -79
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1650 -916
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +37 -29
- package/fesm2022/acorex-platform-layout-views.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-I7Eq8Nti.mjs → acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs → acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs} +30 -31
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs → acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +40 -40
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs} +24 -14
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +241 -74
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs → acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs → acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs.map → acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs → acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs.map → acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs → acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs.map → acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs → acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs.map → acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs → acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs.map → acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs → acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs.map → acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs → acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs → acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs} +6 -6
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs} +11 -11
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs → acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs} +6 -5
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs → acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs} +5 -6
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +9725 -8964
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +25 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +69 -21
- package/layout/components/index.d.ts +816 -58
- package/layout/designer/index.d.ts +4 -2
- package/layout/entity/index.d.ts +437 -231
- package/package.json +8 -8
- package/widgets/index.d.ts +1806 -732
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs +0 -84
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs.map +0 -1
|
@@ -547,10 +547,10 @@ class AXPDataSourceDefinitionProviderService {
|
|
|
547
547
|
async get(name) {
|
|
548
548
|
return (await this.items()).find((c) => c.name == name);
|
|
549
549
|
}
|
|
550
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
551
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDataSourceDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
551
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDataSourceDefinitionProviderService, providedIn: 'root' }); }
|
|
552
552
|
}
|
|
553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDataSourceDefinitionProviderService, decorators: [{
|
|
554
554
|
type: Injectable,
|
|
555
555
|
args: [{ providedIn: 'root' }]
|
|
556
556
|
}] });
|
|
@@ -583,10 +583,10 @@ class AXPElementDataDirective {
|
|
|
583
583
|
setData(data) {
|
|
584
584
|
set(this.elementRef.nativeElement, this.path(), data);
|
|
585
585
|
}
|
|
586
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
587
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.
|
|
586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPElementDataDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
587
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.8", 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 }); }
|
|
588
588
|
}
|
|
589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPElementDataDirective, decorators: [{
|
|
590
590
|
type: Directive,
|
|
591
591
|
args: [{
|
|
592
592
|
selector: '[axp-data]',
|
|
@@ -615,10 +615,10 @@ class AXPDblClickDirective {
|
|
|
615
615
|
}
|
|
616
616
|
this.lastTap = currentTime;
|
|
617
617
|
}
|
|
618
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
619
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
618
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDblClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
619
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXPDblClickDirective, isStandalone: true, selector: "[onDblClick]", outputs: { onDblClick: "onDblClick" }, host: { listeners: { "dblclick": "handleOnDblClick($event)", "touchend": "onTouchEnd($event)" } }, ngImport: i0 }); }
|
|
620
620
|
}
|
|
621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDblClickDirective, decorators: [{
|
|
622
622
|
type: Directive,
|
|
623
623
|
args: [{
|
|
624
624
|
selector: '[onDblClick]'
|
|
@@ -681,10 +681,10 @@ class AXPGridLayoutDirective {
|
|
|
681
681
|
}
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
685
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.
|
|
684
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
685
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.8", 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 }); }
|
|
686
686
|
}
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
|
|
688
688
|
type: Directive,
|
|
689
689
|
args: [{
|
|
690
690
|
selector: '[axp-grid-layout]',
|
|
@@ -699,10 +699,10 @@ class AXPContentCheckerDirective {
|
|
|
699
699
|
this.elementRef = inject((ElementRef));
|
|
700
700
|
this.isEmpty = computed(() => this.viewContainerRef.length === 0, ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
|
|
701
701
|
}
|
|
702
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
703
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
702
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPContentCheckerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
703
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXPContentCheckerDirective, isStandalone: true, selector: "[axp-content-checker]", exportAs: ["checker"], ngImport: i0 }); }
|
|
704
704
|
}
|
|
705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPContentCheckerDirective, decorators: [{
|
|
706
706
|
type: Directive,
|
|
707
707
|
args: [{
|
|
708
708
|
selector: '[axp-content-checker]',
|
|
@@ -828,10 +828,10 @@ class AXPBroadcastEventService {
|
|
|
828
828
|
// Cleanup multi-tab event history
|
|
829
829
|
this.multiTabEventHistory.clear();
|
|
830
830
|
}
|
|
831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
832
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
831
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPBroadcastEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
832
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPBroadcastEventService, providedIn: 'root' }); }
|
|
833
833
|
}
|
|
834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPBroadcastEventService, decorators: [{
|
|
835
835
|
type: Injectable,
|
|
836
836
|
args: [{
|
|
837
837
|
providedIn: 'root',
|
|
@@ -870,10 +870,10 @@ class AXPExpressionEvaluatorScopeProviderService {
|
|
|
870
870
|
await this.load();
|
|
871
871
|
return this.cache || {};
|
|
872
872
|
}
|
|
873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
874
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
873
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
874
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, providedIn: 'root' }); }
|
|
875
875
|
}
|
|
876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, decorators: [{
|
|
877
877
|
type: Injectable,
|
|
878
878
|
args: [{ providedIn: 'root' }]
|
|
879
879
|
}] });
|
|
@@ -982,10 +982,10 @@ class AXPExpressionEvaluatorService {
|
|
|
982
982
|
}
|
|
983
983
|
return false;
|
|
984
984
|
}
|
|
985
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
986
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
985
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPExpressionEvaluatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
986
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPExpressionEvaluatorService, providedIn: 'root' }); }
|
|
987
987
|
}
|
|
988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPExpressionEvaluatorService, decorators: [{
|
|
989
989
|
type: Injectable,
|
|
990
990
|
args: [{ providedIn: 'root' }]
|
|
991
991
|
}] });
|
|
@@ -1010,10 +1010,10 @@ class AXPAppStartUpService {
|
|
|
1010
1010
|
loadingText.innerHTML = status;
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1014
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1013
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAppStartUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1014
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAppStartUpService, providedIn: 'root' }); }
|
|
1015
1015
|
}
|
|
1016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPAppStartUpService, decorators: [{
|
|
1017
1017
|
type: Injectable,
|
|
1018
1018
|
args: [{
|
|
1019
1019
|
providedIn: 'root',
|
|
@@ -1027,6 +1027,98 @@ const AXPAppStartUpProvider = provideAppInitializer(() => {
|
|
|
1027
1027
|
return initializerFn();
|
|
1028
1028
|
});
|
|
1029
1029
|
|
|
1030
|
+
/**
|
|
1031
|
+
* Additional suggested generic actions for future consideration:
|
|
1032
|
+
*
|
|
1033
|
+
* Data & Content Actions:
|
|
1034
|
+
* - Search = 'search' - Search functionality
|
|
1035
|
+
* - Filter = 'filter' - Apply filters
|
|
1036
|
+
* - Sort = 'sort' - Sort data
|
|
1037
|
+
* - Group = 'group' - Group data
|
|
1038
|
+
* - Expand = 'expand' - Expand details
|
|
1039
|
+
* - Collapse = 'collapse' - Collapse details
|
|
1040
|
+
* - Pin = 'pin' - Pin to favorites
|
|
1041
|
+
* - Bookmark = 'bookmark' - Bookmark item
|
|
1042
|
+
* - Favorite = 'favorite' - Mark as favorite
|
|
1043
|
+
* - Star = 'star' - Star rating
|
|
1044
|
+
*
|
|
1045
|
+
* Workflow Actions:
|
|
1046
|
+
* - Start = 'start' - Start process/workflow
|
|
1047
|
+
* - Stop = 'stop' - Stop process
|
|
1048
|
+
* - Pause = 'pause' - Pause process
|
|
1049
|
+
* - Resume = 'resume' - Resume process
|
|
1050
|
+
* - Cancel = 'cancel' - Cancel operation
|
|
1051
|
+
* - Complete = 'complete' - Mark as complete
|
|
1052
|
+
* - Close = 'close' - Close item
|
|
1053
|
+
* - Reopen = 'reopen' - Reopen closed item
|
|
1054
|
+
* - Forward = 'forward' - Forward to next step
|
|
1055
|
+
* - Back = 'back' - Go back
|
|
1056
|
+
*
|
|
1057
|
+
* Communication Actions:
|
|
1058
|
+
* - Reply = 'reply' - Reply to message
|
|
1059
|
+
* - Forward = 'forward' - Forward message
|
|
1060
|
+
* - Notify = 'notify' - Send notification
|
|
1061
|
+
* - Invite = 'invite' - Invite user
|
|
1062
|
+
* - Join = 'join' - Join group/meeting
|
|
1063
|
+
* - Leave = 'leave' - Leave group/meeting
|
|
1064
|
+
*
|
|
1065
|
+
* Security Actions:
|
|
1066
|
+
* - Login = 'login' - User login
|
|
1067
|
+
* - Logout = 'logout' - User logout
|
|
1068
|
+
* - Block = 'block' - Block user/content
|
|
1069
|
+
* - Unblock = 'unblock' - Unblock user/content
|
|
1070
|
+
* - Ban = 'ban' - Ban user
|
|
1071
|
+
* - Unban = 'unban' - Unban user
|
|
1072
|
+
* - Verify = 'verify' - Verify identity
|
|
1073
|
+
* - Authenticate = 'authenticate' - Authenticate
|
|
1074
|
+
*
|
|
1075
|
+
* File & Media Actions:
|
|
1076
|
+
* - Open = 'open' - Open file
|
|
1077
|
+
* - Save = 'save' - Save file
|
|
1078
|
+
* - SaveAs = 'save-as' - Save as new file
|
|
1079
|
+
* - Attach = 'attach' - Attach file
|
|
1080
|
+
* - Detach = 'detach' - Detach file
|
|
1081
|
+
* - Compress = 'compress' - Compress files
|
|
1082
|
+
* - Extract = 'extract' - Extract archive
|
|
1083
|
+
* - Convert = 'convert' - Convert format
|
|
1084
|
+
* - Crop = 'crop' - Crop image
|
|
1085
|
+
* - Resize = 'resize' - Resize image
|
|
1086
|
+
*
|
|
1087
|
+
* System Actions:
|
|
1088
|
+
* - Sync = 'sync' - Synchronize data
|
|
1089
|
+
* - Backup = 'backup' - Create backup
|
|
1090
|
+
* - Restore = 'restore' - Restore from backup
|
|
1091
|
+
* - Reset = 'reset' - Reset to defaults
|
|
1092
|
+
* - Clear = 'clear' - Clear data
|
|
1093
|
+
* - Optimize = 'optimize' - Optimize performance
|
|
1094
|
+
* - Update = 'update' - Update system
|
|
1095
|
+
* - Install = 'install' - Install component
|
|
1096
|
+
* - Uninstall = 'uninstall' - Uninstall component
|
|
1097
|
+
* - Enable = 'enable' - Enable feature
|
|
1098
|
+
* - Disable = 'disable' - Disable feature
|
|
1099
|
+
*
|
|
1100
|
+
* Analytics & Monitoring:
|
|
1101
|
+
* - Monitor = 'monitor' - Monitor activity
|
|
1102
|
+
* - Track = 'track' - Track progress
|
|
1103
|
+
* - Analyze = 'analyze' - Analyze data
|
|
1104
|
+
* - Debug = 'debug' - Debug issue
|
|
1105
|
+
* - Log = 'log' - View logs
|
|
1106
|
+
* - Alert = 'alert' - Set alert
|
|
1107
|
+
* - Dashboard = 'dashboard' - View dashboard
|
|
1108
|
+
* - Metrics = 'metrics' - View metrics
|
|
1109
|
+
*
|
|
1110
|
+
* Collaboration Actions:
|
|
1111
|
+
* - Collaborate = 'collaborate' - Start collaboration
|
|
1112
|
+
* - Share = 'share' - Share content
|
|
1113
|
+
* - Comment = 'comment' - Add comment
|
|
1114
|
+
* - Like = 'like' - Like content
|
|
1115
|
+
* - Follow = 'follow' - Follow user/content
|
|
1116
|
+
* - Subscribe = 'subscribe' - Subscribe to updates
|
|
1117
|
+
* - Unsubscribe = 'unsubscribe' - Unsubscribe
|
|
1118
|
+
* - Rate = 'rate' - Rate content
|
|
1119
|
+
* - Review = 'review' - Review content
|
|
1120
|
+
* - Recommend = 'recommend' - Recommend content
|
|
1121
|
+
*/
|
|
1030
1122
|
var AXPSystemActionType;
|
|
1031
1123
|
(function (AXPSystemActionType) {
|
|
1032
1124
|
AXPSystemActionType["View"] = "view";
|
|
@@ -1057,17 +1149,46 @@ var AXPSystemActionType;
|
|
|
1057
1149
|
AXPSystemActionType["Rename"] = "rename";
|
|
1058
1150
|
AXPSystemActionType["Restore"] = "restore";
|
|
1059
1151
|
AXPSystemActionType["Manage"] = "manage";
|
|
1152
|
+
AXPSystemActionType["Info"] = "info";
|
|
1153
|
+
AXPSystemActionType["Confirm"] = "confirm";
|
|
1154
|
+
AXPSystemActionType["Design"] = "design";
|
|
1155
|
+
AXPSystemActionType["VersionHistory"] = "version-history";
|
|
1156
|
+
AXPSystemActionType["Compare"] = "compare";
|
|
1157
|
+
AXPSystemActionType["Comments"] = "comments";
|
|
1158
|
+
AXPSystemActionType["Sign"] = "sign";
|
|
1159
|
+
AXPSystemActionType["Setup"] = "setup";
|
|
1160
|
+
AXPSystemActionType["Send"] = "send";
|
|
1161
|
+
AXPSystemActionType["Report"] = "report";
|
|
1162
|
+
AXPSystemActionType["Sent"] = "sent";
|
|
1163
|
+
AXPSystemActionType["Review"] = "review";
|
|
1164
|
+
AXPSystemActionType["Generate"] = "generate";
|
|
1165
|
+
AXPSystemActionType["Refresh"] = "refresh";
|
|
1166
|
+
AXPSystemActionType["Reload"] = "reload";
|
|
1167
|
+
AXPSystemActionType["Search"] = "search";
|
|
1168
|
+
AXPSystemActionType["Filter"] = "filter";
|
|
1169
|
+
AXPSystemActionType["Sort"] = "sort";
|
|
1170
|
+
AXPSystemActionType["Start"] = "start";
|
|
1171
|
+
AXPSystemActionType["Stop"] = "stop";
|
|
1172
|
+
AXPSystemActionType["Pause"] = "pause";
|
|
1173
|
+
AXPSystemActionType["Cancel"] = "cancel";
|
|
1174
|
+
AXPSystemActionType["Close"] = "close";
|
|
1175
|
+
AXPSystemActionType["Complete"] = "complete";
|
|
1176
|
+
AXPSystemActionType["Save"] = "save";
|
|
1177
|
+
AXPSystemActionType["SaveAs"] = "save-as";
|
|
1178
|
+
AXPSystemActionType["Sync"] = "sync";
|
|
1179
|
+
AXPSystemActionType["Reset"] = "reset";
|
|
1180
|
+
AXPSystemActionType["Clear"] = "clear";
|
|
1060
1181
|
})(AXPSystemActionType || (AXPSystemActionType = {}));
|
|
1061
|
-
const i18n = (key) =>
|
|
1182
|
+
const i18n = (key) => `@general:actions.${key}`;
|
|
1062
1183
|
const AXPSystemActions = Object.freeze({
|
|
1063
1184
|
View: {
|
|
1064
1185
|
key: AXPSystemActionType.View,
|
|
1065
1186
|
title: i18n('view.title'),
|
|
1066
1187
|
icon: 'fa-light fa-eye',
|
|
1067
|
-
color: '
|
|
1188
|
+
color: 'primary',
|
|
1068
1189
|
descriptions: {
|
|
1069
|
-
|
|
1070
|
-
tooltip: i18n('view.
|
|
1190
|
+
title: i18n('view.title'),
|
|
1191
|
+
tooltip: i18n('view.description'),
|
|
1071
1192
|
permission: i18n('view.permission'),
|
|
1072
1193
|
audit: i18n('view.audit')
|
|
1073
1194
|
}
|
|
@@ -1076,10 +1197,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1076
1197
|
key: AXPSystemActionType.Create,
|
|
1077
1198
|
title: i18n('create.title'),
|
|
1078
1199
|
icon: 'fa-light fa-plus',
|
|
1079
|
-
color: '
|
|
1200
|
+
color: 'primary',
|
|
1080
1201
|
descriptions: {
|
|
1081
|
-
|
|
1082
|
-
tooltip: i18n('create.
|
|
1202
|
+
title: i18n('create.title'),
|
|
1203
|
+
tooltip: i18n('create.description'),
|
|
1083
1204
|
permission: i18n('create.permission'),
|
|
1084
1205
|
audit: i18n('create.audit')
|
|
1085
1206
|
}
|
|
@@ -1088,10 +1209,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1088
1209
|
key: AXPSystemActionType.Update,
|
|
1089
1210
|
title: i18n('edit.title'),
|
|
1090
1211
|
icon: 'fa-light fa-pen',
|
|
1091
|
-
color: '
|
|
1212
|
+
color: 'default',
|
|
1092
1213
|
descriptions: {
|
|
1093
|
-
|
|
1094
|
-
tooltip: i18n('edit.
|
|
1214
|
+
title: i18n('edit.title'),
|
|
1215
|
+
tooltip: i18n('edit.description'),
|
|
1095
1216
|
permission: i18n('edit.permission'),
|
|
1096
1217
|
audit: i18n('edit.audit')
|
|
1097
1218
|
}
|
|
@@ -1103,8 +1224,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1103
1224
|
color: 'danger',
|
|
1104
1225
|
critical: true,
|
|
1105
1226
|
descriptions: {
|
|
1106
|
-
|
|
1107
|
-
tooltip: i18n('delete.
|
|
1227
|
+
title: i18n('delete.title'),
|
|
1228
|
+
tooltip: i18n('delete.description'),
|
|
1108
1229
|
permission: i18n('delete.permission'),
|
|
1109
1230
|
audit: i18n('delete.audit')
|
|
1110
1231
|
}
|
|
@@ -1116,8 +1237,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1116
1237
|
color: 'success',
|
|
1117
1238
|
critical: true,
|
|
1118
1239
|
descriptions: {
|
|
1119
|
-
|
|
1120
|
-
tooltip: i18n('approve.
|
|
1240
|
+
title: i18n('approve.title'),
|
|
1241
|
+
tooltip: i18n('approve.description'),
|
|
1121
1242
|
permission: i18n('approve.permission'),
|
|
1122
1243
|
audit: i18n('approve.audit')
|
|
1123
1244
|
}
|
|
@@ -1128,8 +1249,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1128
1249
|
icon: 'fa-light fa-paper-plane',
|
|
1129
1250
|
color: 'primary',
|
|
1130
1251
|
descriptions: {
|
|
1131
|
-
|
|
1132
|
-
tooltip: i18n('submit.
|
|
1252
|
+
title: i18n('submit.title'),
|
|
1253
|
+
tooltip: i18n('submit.description'),
|
|
1133
1254
|
permission: i18n('submit.permission'),
|
|
1134
1255
|
audit: i18n('submit.audit')
|
|
1135
1256
|
}
|
|
@@ -1141,8 +1262,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1141
1262
|
color: 'danger',
|
|
1142
1263
|
critical: true,
|
|
1143
1264
|
descriptions: {
|
|
1144
|
-
|
|
1145
|
-
tooltip: i18n('reject.
|
|
1265
|
+
title: i18n('reject.title'),
|
|
1266
|
+
tooltip: i18n('reject.description'),
|
|
1146
1267
|
permission: i18n('reject.permission'),
|
|
1147
1268
|
audit: i18n('reject.audit')
|
|
1148
1269
|
}
|
|
@@ -1153,8 +1274,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1153
1274
|
icon: 'fa-light fa-download',
|
|
1154
1275
|
color: 'default',
|
|
1155
1276
|
descriptions: {
|
|
1156
|
-
|
|
1157
|
-
tooltip: i18n('export.
|
|
1277
|
+
title: i18n('export.title'),
|
|
1278
|
+
tooltip: i18n('export.description'),
|
|
1158
1279
|
permission: i18n('export.permission'),
|
|
1159
1280
|
audit: i18n('export.audit')
|
|
1160
1281
|
}
|
|
@@ -1165,8 +1286,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1165
1286
|
icon: 'fa-light fa-upload',
|
|
1166
1287
|
color: 'default',
|
|
1167
1288
|
descriptions: {
|
|
1168
|
-
|
|
1169
|
-
tooltip: i18n('import.
|
|
1289
|
+
title: i18n('import.title'),
|
|
1290
|
+
tooltip: i18n('import.description'),
|
|
1170
1291
|
permission: i18n('import.permission'),
|
|
1171
1292
|
audit: i18n('import.audit')
|
|
1172
1293
|
}
|
|
@@ -1177,8 +1298,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1177
1298
|
icon: 'fa-light fa-print',
|
|
1178
1299
|
color: 'default',
|
|
1179
1300
|
descriptions: {
|
|
1180
|
-
|
|
1181
|
-
tooltip: i18n('print.
|
|
1301
|
+
title: i18n('print.title'),
|
|
1302
|
+
tooltip: i18n('print.description'),
|
|
1182
1303
|
permission: i18n('print.permission'),
|
|
1183
1304
|
audit: i18n('print.audit')
|
|
1184
1305
|
}
|
|
@@ -1189,8 +1310,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1189
1310
|
icon: 'fa-light fa-clone',
|
|
1190
1311
|
color: 'warning',
|
|
1191
1312
|
descriptions: {
|
|
1192
|
-
|
|
1193
|
-
tooltip: i18n('duplicate.
|
|
1313
|
+
title: i18n('duplicate.title'),
|
|
1314
|
+
tooltip: i18n('duplicate.description'),
|
|
1194
1315
|
permission: i18n('duplicate.permission'),
|
|
1195
1316
|
audit: i18n('duplicate.audit')
|
|
1196
1317
|
}
|
|
@@ -1199,10 +1320,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1199
1320
|
key: AXPSystemActionType.Archive,
|
|
1200
1321
|
title: i18n('archive.title'),
|
|
1201
1322
|
icon: 'fa-light fa-box-archive',
|
|
1202
|
-
color: '
|
|
1323
|
+
color: 'default',
|
|
1203
1324
|
descriptions: {
|
|
1204
|
-
|
|
1205
|
-
tooltip: i18n('archive.
|
|
1325
|
+
title: i18n('archive.title'),
|
|
1326
|
+
tooltip: i18n('archive.description'),
|
|
1206
1327
|
permission: i18n('archive.permission'),
|
|
1207
1328
|
audit: i18n('archive.audit')
|
|
1208
1329
|
}
|
|
@@ -1211,10 +1332,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1211
1332
|
key: AXPSystemActionType.Restore,
|
|
1212
1333
|
title: i18n('restore.title'),
|
|
1213
1334
|
icon: 'fa-light fa-arrow-rotate-left',
|
|
1214
|
-
color: '
|
|
1335
|
+
color: 'default',
|
|
1215
1336
|
descriptions: {
|
|
1216
|
-
|
|
1217
|
-
tooltip: i18n('restore.
|
|
1337
|
+
title: i18n('restore.title'),
|
|
1338
|
+
tooltip: i18n('restore.description'),
|
|
1218
1339
|
permission: i18n('restore.permission'),
|
|
1219
1340
|
audit: i18n('restore.audit')
|
|
1220
1341
|
}
|
|
@@ -1225,8 +1346,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1225
1346
|
icon: 'fa-light fa-user-plus',
|
|
1226
1347
|
color: 'primary',
|
|
1227
1348
|
descriptions: {
|
|
1228
|
-
|
|
1229
|
-
tooltip: i18n('assign.
|
|
1349
|
+
title: i18n('assign.title'),
|
|
1350
|
+
tooltip: i18n('assign.description'),
|
|
1230
1351
|
permission: i18n('assign.permission'),
|
|
1231
1352
|
audit: i18n('assign.audit')
|
|
1232
1353
|
}
|
|
@@ -1237,8 +1358,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1237
1358
|
icon: 'fa-light fa-lock',
|
|
1238
1359
|
color: 'warning',
|
|
1239
1360
|
descriptions: {
|
|
1240
|
-
|
|
1241
|
-
tooltip: i18n('lock.
|
|
1361
|
+
title: i18n('lock.title'),
|
|
1362
|
+
tooltip: i18n('lock.description'),
|
|
1242
1363
|
permission: i18n('lock.permission'),
|
|
1243
1364
|
audit: i18n('lock.audit')
|
|
1244
1365
|
}
|
|
@@ -1249,8 +1370,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1249
1370
|
icon: 'fa-light fa-unlock',
|
|
1250
1371
|
color: 'success',
|
|
1251
1372
|
descriptions: {
|
|
1252
|
-
|
|
1253
|
-
tooltip: i18n('unlock.
|
|
1373
|
+
title: i18n('unlock.title'),
|
|
1374
|
+
tooltip: i18n('unlock.description'),
|
|
1254
1375
|
permission: i18n('unlock.permission'),
|
|
1255
1376
|
audit: i18n('unlock.audit')
|
|
1256
1377
|
}
|
|
@@ -1261,8 +1382,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1261
1382
|
icon: 'fa-light fa-share-nodes',
|
|
1262
1383
|
color: 'info',
|
|
1263
1384
|
descriptions: {
|
|
1264
|
-
|
|
1265
|
-
tooltip: i18n('share.
|
|
1385
|
+
title: i18n('share.title'),
|
|
1386
|
+
tooltip: i18n('share.description'),
|
|
1266
1387
|
permission: i18n('share.permission'),
|
|
1267
1388
|
audit: i18n('share.audit')
|
|
1268
1389
|
}
|
|
@@ -1273,8 +1394,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1273
1394
|
icon: 'fa-light fa-sliders',
|
|
1274
1395
|
color: 'primary',
|
|
1275
1396
|
descriptions: {
|
|
1276
|
-
|
|
1277
|
-
tooltip: i18n('configure.
|
|
1397
|
+
title: i18n('configure.title'),
|
|
1398
|
+
tooltip: i18n('configure.description'),
|
|
1278
1399
|
permission: i18n('configure.permission'),
|
|
1279
1400
|
audit: i18n('configure.audit')
|
|
1280
1401
|
}
|
|
@@ -1285,8 +1406,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1285
1406
|
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1286
1407
|
color: 'default',
|
|
1287
1408
|
descriptions: {
|
|
1288
|
-
|
|
1289
|
-
tooltip: i18n('reorder.
|
|
1409
|
+
title: i18n('reorder.title'),
|
|
1410
|
+
tooltip: i18n('reorder.description'),
|
|
1290
1411
|
permission: i18n('reorder.permission'),
|
|
1291
1412
|
audit: i18n('reorder.audit')
|
|
1292
1413
|
}
|
|
@@ -1297,8 +1418,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1297
1418
|
icon: 'fa-light fa-magnifying-glass',
|
|
1298
1419
|
color: 'default',
|
|
1299
1420
|
descriptions: {
|
|
1300
|
-
|
|
1301
|
-
tooltip: i18n('preview.
|
|
1421
|
+
title: i18n('preview.title'),
|
|
1422
|
+
tooltip: i18n('preview.description'),
|
|
1302
1423
|
permission: i18n('preview.permission'),
|
|
1303
1424
|
audit: i18n('preview.audit')
|
|
1304
1425
|
}
|
|
@@ -1309,8 +1430,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1309
1430
|
icon: 'fa-light fa-globe',
|
|
1310
1431
|
color: 'success',
|
|
1311
1432
|
descriptions: {
|
|
1312
|
-
|
|
1313
|
-
tooltip: i18n('publish.
|
|
1433
|
+
title: i18n('publish.title'),
|
|
1434
|
+
tooltip: i18n('publish.description'),
|
|
1314
1435
|
permission: i18n('publish.permission'),
|
|
1315
1436
|
audit: i18n('publish.audit')
|
|
1316
1437
|
}
|
|
@@ -1321,8 +1442,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1321
1442
|
icon: 'fa-light fa-globe-slash',
|
|
1322
1443
|
color: 'danger',
|
|
1323
1444
|
descriptions: {
|
|
1324
|
-
|
|
1325
|
-
tooltip: i18n('unpublish.
|
|
1445
|
+
title: i18n('unpublish.title'),
|
|
1446
|
+
tooltip: i18n('unpublish.description'),
|
|
1326
1447
|
permission: i18n('unpublish.permission'),
|
|
1327
1448
|
audit: i18n('unpublish.audit')
|
|
1328
1449
|
}
|
|
@@ -1331,10 +1452,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1331
1452
|
key: AXPSystemActionType.Upload,
|
|
1332
1453
|
title: i18n('upload.title'),
|
|
1333
1454
|
icon: 'fa-light fa-upload',
|
|
1334
|
-
color: '
|
|
1455
|
+
color: 'default',
|
|
1335
1456
|
descriptions: {
|
|
1336
|
-
|
|
1337
|
-
tooltip: i18n('upload.
|
|
1457
|
+
title: i18n('upload.title'),
|
|
1458
|
+
tooltip: i18n('upload.description'),
|
|
1338
1459
|
permission: i18n('upload.permission'),
|
|
1339
1460
|
audit: i18n('upload.audit')
|
|
1340
1461
|
}
|
|
@@ -1343,10 +1464,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1343
1464
|
key: AXPSystemActionType.Download,
|
|
1344
1465
|
title: i18n('download.title'),
|
|
1345
1466
|
icon: 'fa-light fa-download',
|
|
1346
|
-
color: '
|
|
1467
|
+
color: 'default',
|
|
1347
1468
|
descriptions: {
|
|
1348
|
-
|
|
1349
|
-
tooltip: i18n('download.
|
|
1469
|
+
title: i18n('download.title'),
|
|
1470
|
+
tooltip: i18n('download.description'),
|
|
1350
1471
|
permission: i18n('download.permission'),
|
|
1351
1472
|
audit: i18n('download.audit')
|
|
1352
1473
|
}
|
|
@@ -1355,10 +1476,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1355
1476
|
key: AXPSystemActionType.Copy,
|
|
1356
1477
|
title: i18n('copy.title'),
|
|
1357
1478
|
icon: 'fa-light fa-copy',
|
|
1358
|
-
color: '
|
|
1479
|
+
color: 'default',
|
|
1359
1480
|
descriptions: {
|
|
1360
|
-
|
|
1361
|
-
tooltip: i18n('copy.
|
|
1481
|
+
title: i18n('copy.title'),
|
|
1482
|
+
tooltip: i18n('copy.description'),
|
|
1362
1483
|
permission: i18n('copy.permission'),
|
|
1363
1484
|
audit: i18n('copy.audit')
|
|
1364
1485
|
}
|
|
@@ -1369,8 +1490,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1369
1490
|
icon: 'fa-light fa-arrow-right-arrow-left',
|
|
1370
1491
|
color: 'default',
|
|
1371
1492
|
descriptions: {
|
|
1372
|
-
|
|
1373
|
-
tooltip: i18n('move.
|
|
1493
|
+
title: i18n('move.title'),
|
|
1494
|
+
tooltip: i18n('move.description'),
|
|
1374
1495
|
permission: i18n('move.permission'),
|
|
1375
1496
|
audit: i18n('move.audit')
|
|
1376
1497
|
}
|
|
@@ -1381,16 +1502,430 @@ const AXPSystemActions = Object.freeze({
|
|
|
1381
1502
|
icon: 'fa-light fa-pen',
|
|
1382
1503
|
color: 'default',
|
|
1383
1504
|
descriptions: {
|
|
1384
|
-
|
|
1385
|
-
tooltip: i18n('rename.
|
|
1505
|
+
title: i18n('rename.title'),
|
|
1506
|
+
tooltip: i18n('rename.description'),
|
|
1386
1507
|
permission: i18n('rename.permission'),
|
|
1387
1508
|
audit: i18n('rename.audit')
|
|
1388
1509
|
}
|
|
1389
1510
|
},
|
|
1511
|
+
Manage: {
|
|
1512
|
+
key: AXPSystemActionType.Manage,
|
|
1513
|
+
title: i18n('manage.title'),
|
|
1514
|
+
icon: 'fa-light fa-gear',
|
|
1515
|
+
color: 'default',
|
|
1516
|
+
descriptions: {
|
|
1517
|
+
title: i18n('manage.title'),
|
|
1518
|
+
tooltip: i18n('manage.description'),
|
|
1519
|
+
permission: i18n('manage.permission'),
|
|
1520
|
+
audit: i18n('manage.audit')
|
|
1521
|
+
}
|
|
1522
|
+
},
|
|
1523
|
+
Info: {
|
|
1524
|
+
key: AXPSystemActionType.Info,
|
|
1525
|
+
title: i18n('info.title'),
|
|
1526
|
+
icon: 'fa-light fa-info',
|
|
1527
|
+
color: 'default',
|
|
1528
|
+
descriptions: {
|
|
1529
|
+
title: i18n('info.title'),
|
|
1530
|
+
tooltip: i18n('info.description'),
|
|
1531
|
+
permission: i18n('info.permission'),
|
|
1532
|
+
audit: i18n('info.audit')
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
Confirm: {
|
|
1536
|
+
key: AXPSystemActionType.Confirm,
|
|
1537
|
+
title: i18n('confirm.title'),
|
|
1538
|
+
icon: 'fa-light fa-check',
|
|
1539
|
+
color: 'success',
|
|
1540
|
+
descriptions: {
|
|
1541
|
+
title: i18n('confirm.title'),
|
|
1542
|
+
tooltip: i18n('confirm.description'),
|
|
1543
|
+
permission: i18n('confirm.permission'),
|
|
1544
|
+
audit: i18n('confirm.audit')
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
Design: {
|
|
1548
|
+
key: AXPSystemActionType.Design,
|
|
1549
|
+
title: i18n('design.title'),
|
|
1550
|
+
icon: 'fa-light fa-paintbrush',
|
|
1551
|
+
color: 'default',
|
|
1552
|
+
descriptions: {
|
|
1553
|
+
title: i18n('design.title'),
|
|
1554
|
+
tooltip: i18n('design.description'),
|
|
1555
|
+
permission: i18n('design.permission'),
|
|
1556
|
+
audit: i18n('design.audit')
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
VersionHistory: {
|
|
1560
|
+
key: AXPSystemActionType.VersionHistory,
|
|
1561
|
+
title: i18n('version-history.title'),
|
|
1562
|
+
icon: 'fa-light fa-history',
|
|
1563
|
+
color: 'default',
|
|
1564
|
+
descriptions: {
|
|
1565
|
+
title: i18n('version-history.title'),
|
|
1566
|
+
tooltip: i18n('version-history.description'),
|
|
1567
|
+
permission: i18n('version-history.permission'),
|
|
1568
|
+
audit: i18n('version-history.audit')
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
Compare: {
|
|
1572
|
+
key: AXPSystemActionType.Compare,
|
|
1573
|
+
title: i18n('compare.title'),
|
|
1574
|
+
icon: 'fa-light fa-code-compare',
|
|
1575
|
+
color: 'default',
|
|
1576
|
+
descriptions: {
|
|
1577
|
+
title: i18n('compare.title'),
|
|
1578
|
+
tooltip: i18n('compare.description'),
|
|
1579
|
+
permission: i18n('compare.permission'),
|
|
1580
|
+
audit: i18n('compare.audit')
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
Comments: {
|
|
1584
|
+
key: AXPSystemActionType.Comments,
|
|
1585
|
+
title: i18n('comments.title'),
|
|
1586
|
+
icon: 'fa-light fa-comments',
|
|
1587
|
+
color: 'default',
|
|
1588
|
+
descriptions: {
|
|
1589
|
+
title: i18n('comments.title'),
|
|
1590
|
+
tooltip: i18n('comments.description'),
|
|
1591
|
+
permission: i18n('comments.permission'),
|
|
1592
|
+
audit: i18n('comments.audit')
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
Sign: {
|
|
1596
|
+
key: AXPSystemActionType.Sign,
|
|
1597
|
+
title: i18n('sign.title'),
|
|
1598
|
+
icon: 'fa-light fa-signature',
|
|
1599
|
+
color: 'default',
|
|
1600
|
+
descriptions: {
|
|
1601
|
+
title: i18n('sign.title'),
|
|
1602
|
+
tooltip: i18n('sign.description'),
|
|
1603
|
+
permission: i18n('sign.permission'),
|
|
1604
|
+
audit: i18n('sign.audit')
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
Setup: {
|
|
1608
|
+
key: AXPSystemActionType.Setup,
|
|
1609
|
+
title: i18n('setup.title'),
|
|
1610
|
+
icon: 'fa-light fa-cog',
|
|
1611
|
+
color: 'default',
|
|
1612
|
+
descriptions: {
|
|
1613
|
+
title: i18n('setup.title'),
|
|
1614
|
+
tooltip: i18n('setup.description'),
|
|
1615
|
+
permission: i18n('setup.permission'),
|
|
1616
|
+
audit: i18n('setup.audit')
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
Send: {
|
|
1620
|
+
key: AXPSystemActionType.Send,
|
|
1621
|
+
title: i18n('send.title'),
|
|
1622
|
+
icon: 'fa-light fa-envelope',
|
|
1623
|
+
color: 'default',
|
|
1624
|
+
descriptions: {
|
|
1625
|
+
title: i18n('send.title'),
|
|
1626
|
+
tooltip: i18n('send.description'),
|
|
1627
|
+
permission: i18n('send.permission'),
|
|
1628
|
+
audit: i18n('send.audit')
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
Report: {
|
|
1632
|
+
key: AXPSystemActionType.Report,
|
|
1633
|
+
title: i18n('report.title'),
|
|
1634
|
+
icon: 'fa-light fa-chart-line',
|
|
1635
|
+
color: 'default',
|
|
1636
|
+
descriptions: {
|
|
1637
|
+
title: i18n('report.title'),
|
|
1638
|
+
tooltip: i18n('report.description'),
|
|
1639
|
+
permission: i18n('report.permission'),
|
|
1640
|
+
audit: i18n('report.audit')
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
Sent: {
|
|
1644
|
+
key: AXPSystemActionType.Sent,
|
|
1645
|
+
title: i18n('sent.title'),
|
|
1646
|
+
icon: 'fa-light fa-paper-plane',
|
|
1647
|
+
color: 'default',
|
|
1648
|
+
descriptions: {
|
|
1649
|
+
title: i18n('sent.title'),
|
|
1650
|
+
tooltip: i18n('sent.description'),
|
|
1651
|
+
permission: i18n('sent.permission'),
|
|
1652
|
+
audit: i18n('sent.audit')
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1655
|
+
Review: {
|
|
1656
|
+
key: AXPSystemActionType.Review,
|
|
1657
|
+
title: i18n('review.title'),
|
|
1658
|
+
icon: 'fa-light fa-eye',
|
|
1659
|
+
color: 'default',
|
|
1660
|
+
descriptions: {
|
|
1661
|
+
title: i18n('review.title'),
|
|
1662
|
+
tooltip: i18n('review.description'),
|
|
1663
|
+
permission: i18n('review.permission'),
|
|
1664
|
+
audit: i18n('review.audit')
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
Generate: {
|
|
1668
|
+
key: AXPSystemActionType.Generate,
|
|
1669
|
+
title: i18n('generate.title'),
|
|
1670
|
+
icon: 'fa-light fa-wand-magic-sparkles',
|
|
1671
|
+
color: 'primary',
|
|
1672
|
+
descriptions: {
|
|
1673
|
+
title: i18n('generate.title'),
|
|
1674
|
+
tooltip: i18n('generate.description'),
|
|
1675
|
+
permission: i18n('generate.permission'),
|
|
1676
|
+
audit: i18n('generate.audit')
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
Refresh: {
|
|
1680
|
+
key: AXPSystemActionType.Refresh,
|
|
1681
|
+
title: i18n('refresh.title'),
|
|
1682
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1683
|
+
color: 'default',
|
|
1684
|
+
descriptions: {
|
|
1685
|
+
title: i18n('refresh.title'),
|
|
1686
|
+
tooltip: i18n('refresh.description'),
|
|
1687
|
+
permission: i18n('refresh.permission'),
|
|
1688
|
+
audit: i18n('refresh.audit')
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
Reload: {
|
|
1692
|
+
key: AXPSystemActionType.Reload,
|
|
1693
|
+
title: i18n('reload.title'),
|
|
1694
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1695
|
+
color: 'default',
|
|
1696
|
+
descriptions: {
|
|
1697
|
+
title: i18n('reload.title'),
|
|
1698
|
+
tooltip: i18n('reload.description'),
|
|
1699
|
+
permission: i18n('reload.permission'),
|
|
1700
|
+
audit: i18n('reload.audit')
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
Search: {
|
|
1704
|
+
key: AXPSystemActionType.Search,
|
|
1705
|
+
title: i18n('search.title'),
|
|
1706
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
1707
|
+
color: 'default',
|
|
1708
|
+
descriptions: {
|
|
1709
|
+
title: i18n('search.title'),
|
|
1710
|
+
tooltip: i18n('search.description'),
|
|
1711
|
+
permission: i18n('search.permission'),
|
|
1712
|
+
audit: i18n('search.audit')
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
Filter: {
|
|
1716
|
+
key: AXPSystemActionType.Filter,
|
|
1717
|
+
title: i18n('filter.title'),
|
|
1718
|
+
icon: 'fa-light fa-filter',
|
|
1719
|
+
color: 'default',
|
|
1720
|
+
descriptions: {
|
|
1721
|
+
title: i18n('filter.title'),
|
|
1722
|
+
tooltip: i18n('filter.description'),
|
|
1723
|
+
permission: i18n('filter.permission'),
|
|
1724
|
+
audit: i18n('filter.audit')
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
Sort: {
|
|
1728
|
+
key: AXPSystemActionType.Sort,
|
|
1729
|
+
title: i18n('sort.title'),
|
|
1730
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1731
|
+
color: 'default',
|
|
1732
|
+
descriptions: {
|
|
1733
|
+
title: i18n('sort.title'),
|
|
1734
|
+
tooltip: i18n('sort.description'),
|
|
1735
|
+
permission: i18n('sort.permission'),
|
|
1736
|
+
audit: i18n('sort.audit')
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
Start: {
|
|
1740
|
+
key: AXPSystemActionType.Start,
|
|
1741
|
+
title: i18n('start.title'),
|
|
1742
|
+
icon: 'fa-light fa-play',
|
|
1743
|
+
color: 'success',
|
|
1744
|
+
descriptions: {
|
|
1745
|
+
title: i18n('start.title'),
|
|
1746
|
+
tooltip: i18n('start.description'),
|
|
1747
|
+
permission: i18n('start.permission'),
|
|
1748
|
+
audit: i18n('start.audit')
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
Stop: {
|
|
1752
|
+
key: AXPSystemActionType.Stop,
|
|
1753
|
+
title: i18n('stop.title'),
|
|
1754
|
+
icon: 'fa-light fa-stop',
|
|
1755
|
+
color: 'danger',
|
|
1756
|
+
critical: true,
|
|
1757
|
+
descriptions: {
|
|
1758
|
+
title: i18n('stop.title'),
|
|
1759
|
+
tooltip: i18n('stop.description'),
|
|
1760
|
+
permission: i18n('stop.permission'),
|
|
1761
|
+
audit: i18n('stop.audit')
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
Pause: {
|
|
1765
|
+
key: AXPSystemActionType.Pause,
|
|
1766
|
+
title: i18n('pause.title'),
|
|
1767
|
+
icon: 'fa-light fa-pause',
|
|
1768
|
+
color: 'warning',
|
|
1769
|
+
descriptions: {
|
|
1770
|
+
title: i18n('pause.title'),
|
|
1771
|
+
tooltip: i18n('pause.description'),
|
|
1772
|
+
permission: i18n('pause.permission'),
|
|
1773
|
+
audit: i18n('pause.audit')
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
Cancel: {
|
|
1777
|
+
key: AXPSystemActionType.Cancel,
|
|
1778
|
+
title: i18n('cancel.title'),
|
|
1779
|
+
icon: 'fa-light fa-xmark',
|
|
1780
|
+
color: 'danger',
|
|
1781
|
+
critical: true,
|
|
1782
|
+
descriptions: {
|
|
1783
|
+
title: i18n('cancel.title'),
|
|
1784
|
+
tooltip: i18n('cancel.description'),
|
|
1785
|
+
permission: i18n('cancel.permission'),
|
|
1786
|
+
audit: i18n('cancel.audit')
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
Close: {
|
|
1790
|
+
key: AXPSystemActionType.Close,
|
|
1791
|
+
title: i18n('close.title'),
|
|
1792
|
+
icon: 'fa-light fa-xmark',
|
|
1793
|
+
color: 'default',
|
|
1794
|
+
descriptions: {
|
|
1795
|
+
title: i18n('close.title'),
|
|
1796
|
+
tooltip: i18n('close.description'),
|
|
1797
|
+
permission: i18n('close.permission'),
|
|
1798
|
+
audit: i18n('close.audit')
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
Complete: {
|
|
1802
|
+
key: AXPSystemActionType.Complete,
|
|
1803
|
+
title: i18n('complete.title'),
|
|
1804
|
+
icon: 'fa-light fa-check',
|
|
1805
|
+
color: 'success',
|
|
1806
|
+
descriptions: {
|
|
1807
|
+
title: i18n('complete.title'),
|
|
1808
|
+
tooltip: i18n('complete.description'),
|
|
1809
|
+
permission: i18n('complete.permission'),
|
|
1810
|
+
audit: i18n('complete.audit')
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
Save: {
|
|
1814
|
+
key: AXPSystemActionType.Save,
|
|
1815
|
+
title: i18n('save.title'),
|
|
1816
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1817
|
+
color: 'primary',
|
|
1818
|
+
descriptions: {
|
|
1819
|
+
title: i18n('save.title'),
|
|
1820
|
+
tooltip: i18n('save.description'),
|
|
1821
|
+
permission: i18n('save.permission'),
|
|
1822
|
+
audit: i18n('save.audit')
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
SaveAs: {
|
|
1826
|
+
key: AXPSystemActionType.SaveAs,
|
|
1827
|
+
title: i18n('save-as.title'),
|
|
1828
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1829
|
+
color: 'default',
|
|
1830
|
+
descriptions: {
|
|
1831
|
+
title: i18n('save-as.title'),
|
|
1832
|
+
tooltip: i18n('save-as.description'),
|
|
1833
|
+
permission: i18n('save-as.permission'),
|
|
1834
|
+
audit: i18n('save-as.audit')
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
Sync: {
|
|
1838
|
+
key: AXPSystemActionType.Sync,
|
|
1839
|
+
title: i18n('sync.title'),
|
|
1840
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1841
|
+
color: 'default',
|
|
1842
|
+
descriptions: {
|
|
1843
|
+
title: i18n('sync.title'),
|
|
1844
|
+
tooltip: i18n('sync.description'),
|
|
1845
|
+
permission: i18n('sync.permission'),
|
|
1846
|
+
audit: i18n('sync.audit')
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
Reset: {
|
|
1850
|
+
key: AXPSystemActionType.Reset,
|
|
1851
|
+
title: i18n('reset.title'),
|
|
1852
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
1853
|
+
color: 'warning',
|
|
1854
|
+
critical: true,
|
|
1855
|
+
descriptions: {
|
|
1856
|
+
title: i18n('reset.title'),
|
|
1857
|
+
tooltip: i18n('reset.description'),
|
|
1858
|
+
permission: i18n('reset.permission'),
|
|
1859
|
+
audit: i18n('reset.audit')
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
Clear: {
|
|
1863
|
+
key: AXPSystemActionType.Clear,
|
|
1864
|
+
title: i18n('clear.title'),
|
|
1865
|
+
icon: 'fa-light fa-eraser',
|
|
1866
|
+
color: 'default',
|
|
1867
|
+
descriptions: {
|
|
1868
|
+
title: i18n('clear.title'),
|
|
1869
|
+
tooltip: i18n('clear.description'),
|
|
1870
|
+
permission: i18n('clear.permission'),
|
|
1871
|
+
audit: i18n('clear.audit')
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1390
1874
|
});
|
|
1391
1875
|
function getSystemActions(type) {
|
|
1392
1876
|
return Object.values(AXPSystemActions).find(action => action.key === type);
|
|
1393
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* Resolves the visual appearance (color and icon) for entity actions
|
|
1880
|
+
* using the system actions from the core module.
|
|
1881
|
+
*/
|
|
1882
|
+
function resolveActionLook(actionType) {
|
|
1883
|
+
// Try to get system action first
|
|
1884
|
+
const systemActionType = actionType;
|
|
1885
|
+
if (systemActionType) {
|
|
1886
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1887
|
+
if (systemAction) {
|
|
1888
|
+
return {
|
|
1889
|
+
color: (systemAction.color || 'default'),
|
|
1890
|
+
icon: systemAction.icon || ''
|
|
1891
|
+
};
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
// Fallback for unknown actions
|
|
1895
|
+
return {
|
|
1896
|
+
color: 'default',
|
|
1897
|
+
icon: ''
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
/**
|
|
1901
|
+
* Resolves the title, description, icon and color for button actions
|
|
1902
|
+
* using the system actions from the core module.
|
|
1903
|
+
* @param actionType
|
|
1904
|
+
* @returns
|
|
1905
|
+
*/
|
|
1906
|
+
function getActionButton(actionType) {
|
|
1907
|
+
const systemActionType = actionType;
|
|
1908
|
+
if (systemActionType) {
|
|
1909
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1910
|
+
if (systemAction) {
|
|
1911
|
+
return {
|
|
1912
|
+
name: actionType,
|
|
1913
|
+
icon: systemAction.icon || '',
|
|
1914
|
+
color: systemAction.color || 'default',
|
|
1915
|
+
title: systemAction.title,
|
|
1916
|
+
description: systemAction.descriptions.title
|
|
1917
|
+
};
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
// Fallback for unknown actions
|
|
1921
|
+
return {
|
|
1922
|
+
name: actionType,
|
|
1923
|
+
title: actionType,
|
|
1924
|
+
description: `Perform ${actionType} action`,
|
|
1925
|
+
icon: '',
|
|
1926
|
+
color: 'default'
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1394
1929
|
|
|
1395
1930
|
function getNestedKeys(obj, prefix = '') {
|
|
1396
1931
|
let keys = [];
|
|
@@ -1499,10 +2034,10 @@ class AXPCountdownPipe {
|
|
|
1499
2034
|
updateTargetDate(value) {
|
|
1500
2035
|
this.targetDate = new Date(value).getTime();
|
|
1501
2036
|
}
|
|
1502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1503
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.
|
|
2037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2038
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.8", ngImport: i0, type: AXPCountdownPipe, isStandalone: true, name: "countdown", pure: false }); }
|
|
1504
2039
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPCountdownPipe, decorators: [{
|
|
1506
2041
|
type: Pipe,
|
|
1507
2042
|
args: [{
|
|
1508
2043
|
name: 'countdown',
|
|
@@ -1817,10 +2352,10 @@ class AXHighlightService {
|
|
|
1817
2352
|
resultHTML += '</span>';
|
|
1818
2353
|
return resultHTML;
|
|
1819
2354
|
}
|
|
1820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1821
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHighlightService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2356
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHighlightService, providedIn: 'root' }); }
|
|
1822
2357
|
}
|
|
1823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHighlightService, decorators: [{
|
|
1824
2359
|
type: Injectable,
|
|
1825
2360
|
args: [{
|
|
1826
2361
|
providedIn: 'root',
|
|
@@ -1844,10 +2379,10 @@ class AXPActivityLogService {
|
|
|
1844
2379
|
async getHistoryByIds(refId, refType, ids) {
|
|
1845
2380
|
return (await Promise.all(this.providers?.map((p) => p.getHistoryByIds(refId, refType, ids)) ?? [])).flat();
|
|
1846
2381
|
}
|
|
1847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1848
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2382
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPActivityLogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2383
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPActivityLogService, providedIn: 'root' }); }
|
|
1849
2384
|
}
|
|
1850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPActivityLogService, decorators: [{
|
|
1851
2386
|
type: Injectable,
|
|
1852
2387
|
args: [{ providedIn: 'root' }]
|
|
1853
2388
|
}] });
|
|
@@ -1877,19 +2412,76 @@ class AXPDistributedEventListenerService {
|
|
|
1877
2412
|
* @param data The event data to pass to listeners.
|
|
1878
2413
|
*/
|
|
1879
2414
|
async dispatch(key, data) {
|
|
1880
|
-
await this.
|
|
1881
|
-
const
|
|
1882
|
-
|
|
1883
|
-
|
|
2415
|
+
const providers = await this.resolveProviders();
|
|
2416
|
+
const matched = providers.filter(p => p.key === key);
|
|
2417
|
+
if (!matched.length) {
|
|
2418
|
+
console.warn(`[AXPDistributedEventListenerService] No provider found for key='${key}'`);
|
|
2419
|
+
return;
|
|
2420
|
+
}
|
|
2421
|
+
for (const provider of matched) {
|
|
1884
2422
|
try {
|
|
1885
|
-
|
|
2423
|
+
await Promise.resolve(runInInjectionContext(this.injector, () => provider.execute(data)));
|
|
1886
2424
|
}
|
|
1887
|
-
catch (
|
|
1888
|
-
console.error(`
|
|
1889
|
-
return Promise.resolve(); // Continue with other listeners even if one fails
|
|
2425
|
+
catch (err) {
|
|
2426
|
+
console.error(`[AXPDistributedEventListenerService] Provider for key='${key}' failed`, err);
|
|
1890
2427
|
}
|
|
1891
|
-
}
|
|
1892
|
-
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
/**
|
|
2431
|
+
* Dispatch with async response (first matching provider, with retry/timeout)
|
|
2432
|
+
*/
|
|
2433
|
+
async dispatchAsync(key, data, options = {
|
|
2434
|
+
timeout: 60_000,
|
|
2435
|
+
retries: 3,
|
|
2436
|
+
retryDelay: 1000,
|
|
2437
|
+
}) {
|
|
2438
|
+
const providers = await this.resolveProviders();
|
|
2439
|
+
const matched = providers.filter(p => p.key === key);
|
|
2440
|
+
if (!matched.length) {
|
|
2441
|
+
throw new Error(`No provider found for key='${key}'`);
|
|
2442
|
+
}
|
|
2443
|
+
const attempt = (n) => {
|
|
2444
|
+
return new Promise((resolve, reject) => {
|
|
2445
|
+
let finished = false;
|
|
2446
|
+
const timer = setTimeout(() => {
|
|
2447
|
+
if (!finished) {
|
|
2448
|
+
if (n < options.retries) {
|
|
2449
|
+
console.warn(`[dispatchAsync] retrying key='${key}' (${n + 1}/${options.retries})`);
|
|
2450
|
+
resolve(attempt(n + 1));
|
|
2451
|
+
}
|
|
2452
|
+
else {
|
|
2453
|
+
reject(new Error(`Timeout: no response for key='${key}' after ${options.retries} attempts.`));
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
}, options.timeout);
|
|
2457
|
+
try {
|
|
2458
|
+
const provider = matched[0];
|
|
2459
|
+
const result = runInInjectionContext(this.injector, () => provider.execute(data));
|
|
2460
|
+
Promise.resolve(result)
|
|
2461
|
+
.then((r) => {
|
|
2462
|
+
finished = true;
|
|
2463
|
+
clearTimeout(timer);
|
|
2464
|
+
resolve(r);
|
|
2465
|
+
})
|
|
2466
|
+
.catch(err => {
|
|
2467
|
+
finished = true;
|
|
2468
|
+
clearTimeout(timer);
|
|
2469
|
+
reject(err);
|
|
2470
|
+
});
|
|
2471
|
+
}
|
|
2472
|
+
catch (err) {
|
|
2473
|
+
clearTimeout(timer);
|
|
2474
|
+
reject(err);
|
|
2475
|
+
}
|
|
2476
|
+
});
|
|
2477
|
+
};
|
|
2478
|
+
return attempt(0);
|
|
2479
|
+
}
|
|
2480
|
+
/**
|
|
2481
|
+
* Resolve all providers (handle both direct provider and Promise<provider>)
|
|
2482
|
+
*/
|
|
2483
|
+
async resolveProviders() {
|
|
2484
|
+
return Promise.all(this.listenerProviders.map(p => p instanceof Promise ? p : Promise.resolve(p)));
|
|
1893
2485
|
}
|
|
1894
2486
|
/**
|
|
1895
2487
|
* Returns all listeners for a specific event key.
|
|
@@ -1936,19 +2528,73 @@ class AXPDistributedEventListenerService {
|
|
|
1936
2528
|
this.listenersByKey.clear();
|
|
1937
2529
|
this.providersLoaded = false;
|
|
1938
2530
|
}
|
|
1939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1940
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2531
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDistributedEventListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2532
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDistributedEventListenerService, providedIn: 'root' }); }
|
|
1941
2533
|
}
|
|
1942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPDistributedEventListenerService, decorators: [{
|
|
1943
2535
|
type: Injectable,
|
|
1944
2536
|
args: [{
|
|
1945
2537
|
providedIn: 'root',
|
|
1946
2538
|
}]
|
|
1947
2539
|
}] });
|
|
1948
2540
|
|
|
2541
|
+
class AXPHookService {
|
|
2542
|
+
constructor() {
|
|
2543
|
+
this.listenerProviders = inject(AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, { optional: true }) || [];
|
|
2544
|
+
this.injector = inject(Injector);
|
|
2545
|
+
}
|
|
2546
|
+
/**
|
|
2547
|
+
* Resolve all providers (handle both direct providers and Promise<provider>)
|
|
2548
|
+
*/
|
|
2549
|
+
async resolveProviders() {
|
|
2550
|
+
return Promise.all(this.listenerProviders.map(p => p instanceof Promise ? p : Promise.resolve(p)));
|
|
2551
|
+
}
|
|
2552
|
+
/**
|
|
2553
|
+
* Fire sync hooks (fire-and-forget).
|
|
2554
|
+
* All providers with the given key will be executed.
|
|
2555
|
+
* Execution is not awaited.
|
|
2556
|
+
*/
|
|
2557
|
+
fire(key, data) {
|
|
2558
|
+
this.resolveProviders().then(providers => {
|
|
2559
|
+
providers
|
|
2560
|
+
.filter(p => p.key === key)
|
|
2561
|
+
.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0))
|
|
2562
|
+
.forEach(p => {
|
|
2563
|
+
try {
|
|
2564
|
+
runInInjectionContext(this.injector, () => p.execute(data));
|
|
2565
|
+
}
|
|
2566
|
+
catch (err) {
|
|
2567
|
+
console.error(`[AXPHookService] Hook '${key}' failed`, err);
|
|
2568
|
+
}
|
|
2569
|
+
});
|
|
2570
|
+
});
|
|
2571
|
+
}
|
|
2572
|
+
/**
|
|
2573
|
+
* Run async hooks sequentially (waterfall).
|
|
2574
|
+
* The output of each hook is passed as input to the next hook.
|
|
2575
|
+
* Returns the final merged data after all hooks are executed.
|
|
2576
|
+
*/
|
|
2577
|
+
async runAsync(key, initialData) {
|
|
2578
|
+
const providers = (await this.resolveProviders())
|
|
2579
|
+
.filter(p => p.key === key)
|
|
2580
|
+
.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));
|
|
2581
|
+
let data = initialData;
|
|
2582
|
+
for (const p of providers) {
|
|
2583
|
+
data = await Promise.resolve(runInInjectionContext(this.injector, () => p.execute(data)));
|
|
2584
|
+
}
|
|
2585
|
+
return data;
|
|
2586
|
+
}
|
|
2587
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPHookService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2588
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPHookService, providedIn: 'root' }); }
|
|
2589
|
+
}
|
|
2590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPHookService, decorators: [{
|
|
2591
|
+
type: Injectable,
|
|
2592
|
+
args: [{ providedIn: 'root' }]
|
|
2593
|
+
}] });
|
|
2594
|
+
|
|
1949
2595
|
/**
|
|
1950
2596
|
* Generated bundle index. Do not edit.
|
|
1951
2597
|
*/
|
|
1952
2598
|
|
|
1953
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
2599
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPHookService, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActionType, AXPSystemActions, AXP_ACTIVITY_LOG_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
1954
2600
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|