@acorex/platform 20.3.0-next.2 → 20.3.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.d.ts +403 -374
- package/core/index.d.ts +576 -46
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +152 -231
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +657 -110
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +16 -16
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1946 -1947
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2094 -477
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +96 -89
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1763 -1233
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +43 -33
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2756 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs → acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs → acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs} +8 -8
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs} +14 -14
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs} +6 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs} +6 -7
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets.mjs → acorex-platform-layout-widgets.mjs} +8836 -8103
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -0
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs +115 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs +753 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs → acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs} +17 -17
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +45 -45
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs} +25 -15
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs} +9 -9
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +264 -86
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +27 -39
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/README.md +1577 -3
- package/layout/builder/index.d.ts +735 -814
- package/layout/components/index.d.ts +443 -214
- package/layout/designer/index.d.ts +8 -6
- package/layout/entity/index.d.ts +979 -282
- package/layout/views/index.d.ts +13 -13
- package/layout/widget-core/README.md +4 -0
- package/layout/widget-core/index.d.ts +957 -0
- package/layout/widgets/README.md +4 -0
- package/{widgets → layout/widgets}/index.d.ts +1908 -770
- package/package.json +22 -18
- package/themes/shared/index.d.ts +2 -2
- package/workflow/index.d.ts +3 -173
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs +0 -708
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs +0 -84
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets.mjs.map +0 -1
- package/widgets/README.md +0 -4
|
@@ -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.
|
|
551
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDataSourceDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
551
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDataSourceDefinitionProviderService, providedIn: 'root' }); }
|
|
552
552
|
}
|
|
553
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", 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.
|
|
587
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPElementDataDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
587
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.4", 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.
|
|
589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", 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.
|
|
619
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
618
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDblClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
619
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.4", 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.
|
|
621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDblClickDirective, decorators: [{
|
|
622
622
|
type: Directive,
|
|
623
623
|
args: [{
|
|
624
624
|
selector: '[onDblClick]'
|
|
@@ -646,12 +646,13 @@ class AXPGridLayoutDirective {
|
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
applyTailwindClasses() {
|
|
649
|
-
const placement = this.options()?.
|
|
649
|
+
const placement = this.options()?.positions;
|
|
650
650
|
if (!placement)
|
|
651
651
|
return;
|
|
652
652
|
// Clear existing grid classes
|
|
653
653
|
this.clearClasses();
|
|
654
654
|
// Apply new grid classes based on the input options
|
|
655
|
+
this.setClasses(placement.sm, '');
|
|
655
656
|
this.setClasses(placement.md, 'md:');
|
|
656
657
|
this.setClasses(placement.lg, 'lg:');
|
|
657
658
|
this.setClasses(placement.xl, 'xl:');
|
|
@@ -681,10 +682,10 @@ class AXPGridLayoutDirective {
|
|
|
681
682
|
}
|
|
682
683
|
});
|
|
683
684
|
}
|
|
684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
685
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.
|
|
685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
686
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.4", 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
687
|
}
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
|
|
688
689
|
type: Directive,
|
|
689
690
|
args: [{
|
|
690
691
|
selector: '[axp-grid-layout]',
|
|
@@ -699,10 +700,10 @@ class AXPContentCheckerDirective {
|
|
|
699
700
|
this.elementRef = inject((ElementRef));
|
|
700
701
|
this.isEmpty = computed(() => this.viewContainerRef.length === 0, ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
|
|
701
702
|
}
|
|
702
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
703
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.
|
|
703
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPContentCheckerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
704
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.4", type: AXPContentCheckerDirective, isStandalone: true, selector: "[axp-content-checker]", exportAs: ["checker"], ngImport: i0 }); }
|
|
704
705
|
}
|
|
705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPContentCheckerDirective, decorators: [{
|
|
706
707
|
type: Directive,
|
|
707
708
|
args: [{
|
|
708
709
|
selector: '[axp-content-checker]',
|
|
@@ -828,10 +829,10 @@ class AXPBroadcastEventService {
|
|
|
828
829
|
// Cleanup multi-tab event history
|
|
829
830
|
this.multiTabEventHistory.clear();
|
|
830
831
|
}
|
|
831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
832
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
832
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPBroadcastEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
833
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPBroadcastEventService, providedIn: 'root' }); }
|
|
833
834
|
}
|
|
834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPBroadcastEventService, decorators: [{
|
|
835
836
|
type: Injectable,
|
|
836
837
|
args: [{
|
|
837
838
|
providedIn: 'root',
|
|
@@ -870,10 +871,10 @@ class AXPExpressionEvaluatorScopeProviderService {
|
|
|
870
871
|
await this.load();
|
|
871
872
|
return this.cache || {};
|
|
872
873
|
}
|
|
873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
874
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
874
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
875
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, providedIn: 'root' }); }
|
|
875
876
|
}
|
|
876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, decorators: [{
|
|
877
878
|
type: Injectable,
|
|
878
879
|
args: [{ providedIn: 'root' }]
|
|
879
880
|
}] });
|
|
@@ -906,7 +907,7 @@ class AXPExpressionEvaluatorService {
|
|
|
906
907
|
// Merge pluginScopes and userScope (userScope takes precedence)
|
|
907
908
|
return { ...pluginScopes, ...userScope };
|
|
908
909
|
}
|
|
909
|
-
async evaluate(source, scope) {
|
|
910
|
+
async evaluate(source, scope = {}) {
|
|
910
911
|
try {
|
|
911
912
|
const mergedScope = await this.getMergedScope(scope);
|
|
912
913
|
if (typeof source === 'string' && source.includes('{{')) {
|
|
@@ -982,10 +983,10 @@ class AXPExpressionEvaluatorService {
|
|
|
982
983
|
}
|
|
983
984
|
return false;
|
|
984
985
|
}
|
|
985
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
986
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
986
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExpressionEvaluatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
987
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExpressionEvaluatorService, providedIn: 'root' }); }
|
|
987
988
|
}
|
|
988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPExpressionEvaluatorService, decorators: [{
|
|
989
990
|
type: Injectable,
|
|
990
991
|
args: [{ providedIn: 'root' }]
|
|
991
992
|
}] });
|
|
@@ -1010,10 +1011,10 @@ class AXPAppStartUpService {
|
|
|
1010
1011
|
loadingText.innerHTML = status;
|
|
1011
1012
|
}
|
|
1012
1013
|
}
|
|
1013
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1014
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1014
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPAppStartUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1015
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPAppStartUpService, providedIn: 'root' }); }
|
|
1015
1016
|
}
|
|
1016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPAppStartUpService, decorators: [{
|
|
1017
1018
|
type: Injectable,
|
|
1018
1019
|
args: [{
|
|
1019
1020
|
providedIn: 'root',
|
|
@@ -1027,6 +1028,98 @@ const AXPAppStartUpProvider = provideAppInitializer(() => {
|
|
|
1027
1028
|
return initializerFn();
|
|
1028
1029
|
});
|
|
1029
1030
|
|
|
1031
|
+
/**
|
|
1032
|
+
* Additional suggested generic actions for future consideration:
|
|
1033
|
+
*
|
|
1034
|
+
* Data & Content Actions:
|
|
1035
|
+
* - Search = 'search' - Search functionality
|
|
1036
|
+
* - Filter = 'filter' - Apply filters
|
|
1037
|
+
* - Sort = 'sort' - Sort data
|
|
1038
|
+
* - Group = 'group' - Group data
|
|
1039
|
+
* - Expand = 'expand' - Expand details
|
|
1040
|
+
* - Collapse = 'collapse' - Collapse details
|
|
1041
|
+
* - Pin = 'pin' - Pin to favorites
|
|
1042
|
+
* - Bookmark = 'bookmark' - Bookmark item
|
|
1043
|
+
* - Favorite = 'favorite' - Mark as favorite
|
|
1044
|
+
* - Star = 'star' - Star rating
|
|
1045
|
+
*
|
|
1046
|
+
* Workflow Actions:
|
|
1047
|
+
* - Start = 'start' - Start process/workflow
|
|
1048
|
+
* - Stop = 'stop' - Stop process
|
|
1049
|
+
* - Pause = 'pause' - Pause process
|
|
1050
|
+
* - Resume = 'resume' - Resume process
|
|
1051
|
+
* - Cancel = 'cancel' - Cancel operation
|
|
1052
|
+
* - Complete = 'complete' - Mark as complete
|
|
1053
|
+
* - Close = 'close' - Close item
|
|
1054
|
+
* - Reopen = 'reopen' - Reopen closed item
|
|
1055
|
+
* - Forward = 'forward' - Forward to next step
|
|
1056
|
+
* - Back = 'back' - Go back
|
|
1057
|
+
*
|
|
1058
|
+
* Communication Actions:
|
|
1059
|
+
* - Reply = 'reply' - Reply to message
|
|
1060
|
+
* - Forward = 'forward' - Forward message
|
|
1061
|
+
* - Notify = 'notify' - Send notification
|
|
1062
|
+
* - Invite = 'invite' - Invite user
|
|
1063
|
+
* - Join = 'join' - Join group/meeting
|
|
1064
|
+
* - Leave = 'leave' - Leave group/meeting
|
|
1065
|
+
*
|
|
1066
|
+
* Security Actions:
|
|
1067
|
+
* - Login = 'login' - User login
|
|
1068
|
+
* - Logout = 'logout' - User logout
|
|
1069
|
+
* - Block = 'block' - Block user/content
|
|
1070
|
+
* - Unblock = 'unblock' - Unblock user/content
|
|
1071
|
+
* - Ban = 'ban' - Ban user
|
|
1072
|
+
* - Unban = 'unban' - Unban user
|
|
1073
|
+
* - Verify = 'verify' - Verify identity
|
|
1074
|
+
* - Authenticate = 'authenticate' - Authenticate
|
|
1075
|
+
*
|
|
1076
|
+
* File & Media Actions:
|
|
1077
|
+
* - Open = 'open' - Open file
|
|
1078
|
+
* - Save = 'save' - Save file
|
|
1079
|
+
* - SaveAs = 'save-as' - Save as new file
|
|
1080
|
+
* - Attach = 'attach' - Attach file
|
|
1081
|
+
* - Detach = 'detach' - Detach file
|
|
1082
|
+
* - Compress = 'compress' - Compress files
|
|
1083
|
+
* - Extract = 'extract' - Extract archive
|
|
1084
|
+
* - Convert = 'convert' - Convert format
|
|
1085
|
+
* - Crop = 'crop' - Crop image
|
|
1086
|
+
* - Resize = 'resize' - Resize image
|
|
1087
|
+
*
|
|
1088
|
+
* System Actions:
|
|
1089
|
+
* - Sync = 'sync' - Synchronize data
|
|
1090
|
+
* - Backup = 'backup' - Create backup
|
|
1091
|
+
* - Restore = 'restore' - Restore from backup
|
|
1092
|
+
* - Reset = 'reset' - Reset to defaults
|
|
1093
|
+
* - Clear = 'clear' - Clear data
|
|
1094
|
+
* - Optimize = 'optimize' - Optimize performance
|
|
1095
|
+
* - Update = 'update' - Update system
|
|
1096
|
+
* - Install = 'install' - Install component
|
|
1097
|
+
* - Uninstall = 'uninstall' - Uninstall component
|
|
1098
|
+
* - Enable = 'enable' - Enable feature
|
|
1099
|
+
* - Disable = 'disable' - Disable feature
|
|
1100
|
+
*
|
|
1101
|
+
* Analytics & Monitoring:
|
|
1102
|
+
* - Monitor = 'monitor' - Monitor activity
|
|
1103
|
+
* - Track = 'track' - Track progress
|
|
1104
|
+
* - Analyze = 'analyze' - Analyze data
|
|
1105
|
+
* - Debug = 'debug' - Debug issue
|
|
1106
|
+
* - Log = 'log' - View logs
|
|
1107
|
+
* - Alert = 'alert' - Set alert
|
|
1108
|
+
* - Dashboard = 'dashboard' - View dashboard
|
|
1109
|
+
* - Metrics = 'metrics' - View metrics
|
|
1110
|
+
*
|
|
1111
|
+
* Collaboration Actions:
|
|
1112
|
+
* - Collaborate = 'collaborate' - Start collaboration
|
|
1113
|
+
* - Share = 'share' - Share content
|
|
1114
|
+
* - Comment = 'comment' - Add comment
|
|
1115
|
+
* - Like = 'like' - Like content
|
|
1116
|
+
* - Follow = 'follow' - Follow user/content
|
|
1117
|
+
* - Subscribe = 'subscribe' - Subscribe to updates
|
|
1118
|
+
* - Unsubscribe = 'unsubscribe' - Unsubscribe
|
|
1119
|
+
* - Rate = 'rate' - Rate content
|
|
1120
|
+
* - Review = 'review' - Review content
|
|
1121
|
+
* - Recommend = 'recommend' - Recommend content
|
|
1122
|
+
*/
|
|
1030
1123
|
var AXPSystemActionType;
|
|
1031
1124
|
(function (AXPSystemActionType) {
|
|
1032
1125
|
AXPSystemActionType["View"] = "view";
|
|
@@ -1057,17 +1150,47 @@ var AXPSystemActionType;
|
|
|
1057
1150
|
AXPSystemActionType["Rename"] = "rename";
|
|
1058
1151
|
AXPSystemActionType["Restore"] = "restore";
|
|
1059
1152
|
AXPSystemActionType["Manage"] = "manage";
|
|
1153
|
+
AXPSystemActionType["Info"] = "info";
|
|
1154
|
+
AXPSystemActionType["Confirm"] = "confirm";
|
|
1155
|
+
AXPSystemActionType["Design"] = "design";
|
|
1156
|
+
AXPSystemActionType["VersionHistory"] = "version-history";
|
|
1157
|
+
AXPSystemActionType["Compare"] = "compare";
|
|
1158
|
+
AXPSystemActionType["Comments"] = "comments";
|
|
1159
|
+
AXPSystemActionType["Sign"] = "sign";
|
|
1160
|
+
AXPSystemActionType["Setup"] = "setup";
|
|
1161
|
+
AXPSystemActionType["Send"] = "send";
|
|
1162
|
+
AXPSystemActionType["Report"] = "report";
|
|
1163
|
+
AXPSystemActionType["Sent"] = "sent";
|
|
1164
|
+
AXPSystemActionType["Review"] = "review";
|
|
1165
|
+
AXPSystemActionType["Generate"] = "generate";
|
|
1166
|
+
AXPSystemActionType["Refresh"] = "refresh";
|
|
1167
|
+
AXPSystemActionType["Reload"] = "reload";
|
|
1168
|
+
AXPSystemActionType["Search"] = "search";
|
|
1169
|
+
AXPSystemActionType["Filter"] = "filter";
|
|
1170
|
+
AXPSystemActionType["Sort"] = "sort";
|
|
1171
|
+
AXPSystemActionType["Start"] = "start";
|
|
1172
|
+
AXPSystemActionType["Stop"] = "stop";
|
|
1173
|
+
AXPSystemActionType["Pause"] = "pause";
|
|
1174
|
+
AXPSystemActionType["Cancel"] = "cancel";
|
|
1175
|
+
AXPSystemActionType["Close"] = "close";
|
|
1176
|
+
AXPSystemActionType["Complete"] = "complete";
|
|
1177
|
+
AXPSystemActionType["Save"] = "save";
|
|
1178
|
+
AXPSystemActionType["SaveAs"] = "save-as";
|
|
1179
|
+
AXPSystemActionType["Sync"] = "sync";
|
|
1180
|
+
AXPSystemActionType["Reset"] = "reset";
|
|
1181
|
+
AXPSystemActionType["Clear"] = "clear";
|
|
1182
|
+
AXPSystemActionType["Distribution"] = "distribution";
|
|
1060
1183
|
})(AXPSystemActionType || (AXPSystemActionType = {}));
|
|
1061
|
-
const i18n = (key) =>
|
|
1184
|
+
const i18n = (key) => `@general:actions.${key}`;
|
|
1062
1185
|
const AXPSystemActions = Object.freeze({
|
|
1063
1186
|
View: {
|
|
1064
1187
|
key: AXPSystemActionType.View,
|
|
1065
1188
|
title: i18n('view.title'),
|
|
1066
1189
|
icon: 'fa-light fa-eye',
|
|
1067
|
-
color: '
|
|
1190
|
+
color: 'primary',
|
|
1068
1191
|
descriptions: {
|
|
1069
|
-
|
|
1070
|
-
tooltip: i18n('view.
|
|
1192
|
+
title: i18n('view.title'),
|
|
1193
|
+
tooltip: i18n('view.description'),
|
|
1071
1194
|
permission: i18n('view.permission'),
|
|
1072
1195
|
audit: i18n('view.audit')
|
|
1073
1196
|
}
|
|
@@ -1076,10 +1199,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1076
1199
|
key: AXPSystemActionType.Create,
|
|
1077
1200
|
title: i18n('create.title'),
|
|
1078
1201
|
icon: 'fa-light fa-plus',
|
|
1079
|
-
color: '
|
|
1202
|
+
color: 'primary',
|
|
1080
1203
|
descriptions: {
|
|
1081
|
-
|
|
1082
|
-
tooltip: i18n('create.
|
|
1204
|
+
title: i18n('create.title'),
|
|
1205
|
+
tooltip: i18n('create.description'),
|
|
1083
1206
|
permission: i18n('create.permission'),
|
|
1084
1207
|
audit: i18n('create.audit')
|
|
1085
1208
|
}
|
|
@@ -1088,10 +1211,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1088
1211
|
key: AXPSystemActionType.Update,
|
|
1089
1212
|
title: i18n('edit.title'),
|
|
1090
1213
|
icon: 'fa-light fa-pen',
|
|
1091
|
-
color: '
|
|
1214
|
+
color: 'default',
|
|
1092
1215
|
descriptions: {
|
|
1093
|
-
|
|
1094
|
-
tooltip: i18n('edit.
|
|
1216
|
+
title: i18n('edit.title'),
|
|
1217
|
+
tooltip: i18n('edit.description'),
|
|
1095
1218
|
permission: i18n('edit.permission'),
|
|
1096
1219
|
audit: i18n('edit.audit')
|
|
1097
1220
|
}
|
|
@@ -1103,8 +1226,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1103
1226
|
color: 'danger',
|
|
1104
1227
|
critical: true,
|
|
1105
1228
|
descriptions: {
|
|
1106
|
-
|
|
1107
|
-
tooltip: i18n('delete.
|
|
1229
|
+
title: i18n('delete.title'),
|
|
1230
|
+
tooltip: i18n('delete.description'),
|
|
1108
1231
|
permission: i18n('delete.permission'),
|
|
1109
1232
|
audit: i18n('delete.audit')
|
|
1110
1233
|
}
|
|
@@ -1116,8 +1239,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1116
1239
|
color: 'success',
|
|
1117
1240
|
critical: true,
|
|
1118
1241
|
descriptions: {
|
|
1119
|
-
|
|
1120
|
-
tooltip: i18n('approve.
|
|
1242
|
+
title: i18n('approve.title'),
|
|
1243
|
+
tooltip: i18n('approve.description'),
|
|
1121
1244
|
permission: i18n('approve.permission'),
|
|
1122
1245
|
audit: i18n('approve.audit')
|
|
1123
1246
|
}
|
|
@@ -1128,8 +1251,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1128
1251
|
icon: 'fa-light fa-paper-plane',
|
|
1129
1252
|
color: 'primary',
|
|
1130
1253
|
descriptions: {
|
|
1131
|
-
|
|
1132
|
-
tooltip: i18n('submit.
|
|
1254
|
+
title: i18n('submit.title'),
|
|
1255
|
+
tooltip: i18n('submit.description'),
|
|
1133
1256
|
permission: i18n('submit.permission'),
|
|
1134
1257
|
audit: i18n('submit.audit')
|
|
1135
1258
|
}
|
|
@@ -1141,8 +1264,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1141
1264
|
color: 'danger',
|
|
1142
1265
|
critical: true,
|
|
1143
1266
|
descriptions: {
|
|
1144
|
-
|
|
1145
|
-
tooltip: i18n('reject.
|
|
1267
|
+
title: i18n('reject.title'),
|
|
1268
|
+
tooltip: i18n('reject.description'),
|
|
1146
1269
|
permission: i18n('reject.permission'),
|
|
1147
1270
|
audit: i18n('reject.audit')
|
|
1148
1271
|
}
|
|
@@ -1153,8 +1276,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1153
1276
|
icon: 'fa-light fa-download',
|
|
1154
1277
|
color: 'default',
|
|
1155
1278
|
descriptions: {
|
|
1156
|
-
|
|
1157
|
-
tooltip: i18n('export.
|
|
1279
|
+
title: i18n('export.title'),
|
|
1280
|
+
tooltip: i18n('export.description'),
|
|
1158
1281
|
permission: i18n('export.permission'),
|
|
1159
1282
|
audit: i18n('export.audit')
|
|
1160
1283
|
}
|
|
@@ -1165,8 +1288,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1165
1288
|
icon: 'fa-light fa-upload',
|
|
1166
1289
|
color: 'default',
|
|
1167
1290
|
descriptions: {
|
|
1168
|
-
|
|
1169
|
-
tooltip: i18n('import.
|
|
1291
|
+
title: i18n('import.title'),
|
|
1292
|
+
tooltip: i18n('import.description'),
|
|
1170
1293
|
permission: i18n('import.permission'),
|
|
1171
1294
|
audit: i18n('import.audit')
|
|
1172
1295
|
}
|
|
@@ -1177,8 +1300,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1177
1300
|
icon: 'fa-light fa-print',
|
|
1178
1301
|
color: 'default',
|
|
1179
1302
|
descriptions: {
|
|
1180
|
-
|
|
1181
|
-
tooltip: i18n('print.
|
|
1303
|
+
title: i18n('print.title'),
|
|
1304
|
+
tooltip: i18n('print.description'),
|
|
1182
1305
|
permission: i18n('print.permission'),
|
|
1183
1306
|
audit: i18n('print.audit')
|
|
1184
1307
|
}
|
|
@@ -1189,8 +1312,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1189
1312
|
icon: 'fa-light fa-clone',
|
|
1190
1313
|
color: 'warning',
|
|
1191
1314
|
descriptions: {
|
|
1192
|
-
|
|
1193
|
-
tooltip: i18n('duplicate.
|
|
1315
|
+
title: i18n('duplicate.title'),
|
|
1316
|
+
tooltip: i18n('duplicate.description'),
|
|
1194
1317
|
permission: i18n('duplicate.permission'),
|
|
1195
1318
|
audit: i18n('duplicate.audit')
|
|
1196
1319
|
}
|
|
@@ -1199,10 +1322,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1199
1322
|
key: AXPSystemActionType.Archive,
|
|
1200
1323
|
title: i18n('archive.title'),
|
|
1201
1324
|
icon: 'fa-light fa-box-archive',
|
|
1202
|
-
color: '
|
|
1325
|
+
color: 'default',
|
|
1203
1326
|
descriptions: {
|
|
1204
|
-
|
|
1205
|
-
tooltip: i18n('archive.
|
|
1327
|
+
title: i18n('archive.title'),
|
|
1328
|
+
tooltip: i18n('archive.description'),
|
|
1206
1329
|
permission: i18n('archive.permission'),
|
|
1207
1330
|
audit: i18n('archive.audit')
|
|
1208
1331
|
}
|
|
@@ -1211,10 +1334,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1211
1334
|
key: AXPSystemActionType.Restore,
|
|
1212
1335
|
title: i18n('restore.title'),
|
|
1213
1336
|
icon: 'fa-light fa-arrow-rotate-left',
|
|
1214
|
-
color: '
|
|
1337
|
+
color: 'default',
|
|
1215
1338
|
descriptions: {
|
|
1216
|
-
|
|
1217
|
-
tooltip: i18n('restore.
|
|
1339
|
+
title: i18n('restore.title'),
|
|
1340
|
+
tooltip: i18n('restore.description'),
|
|
1218
1341
|
permission: i18n('restore.permission'),
|
|
1219
1342
|
audit: i18n('restore.audit')
|
|
1220
1343
|
}
|
|
@@ -1225,8 +1348,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1225
1348
|
icon: 'fa-light fa-user-plus',
|
|
1226
1349
|
color: 'primary',
|
|
1227
1350
|
descriptions: {
|
|
1228
|
-
|
|
1229
|
-
tooltip: i18n('assign.
|
|
1351
|
+
title: i18n('assign.title'),
|
|
1352
|
+
tooltip: i18n('assign.description'),
|
|
1230
1353
|
permission: i18n('assign.permission'),
|
|
1231
1354
|
audit: i18n('assign.audit')
|
|
1232
1355
|
}
|
|
@@ -1237,8 +1360,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1237
1360
|
icon: 'fa-light fa-lock',
|
|
1238
1361
|
color: 'warning',
|
|
1239
1362
|
descriptions: {
|
|
1240
|
-
|
|
1241
|
-
tooltip: i18n('lock.
|
|
1363
|
+
title: i18n('lock.title'),
|
|
1364
|
+
tooltip: i18n('lock.description'),
|
|
1242
1365
|
permission: i18n('lock.permission'),
|
|
1243
1366
|
audit: i18n('lock.audit')
|
|
1244
1367
|
}
|
|
@@ -1249,8 +1372,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1249
1372
|
icon: 'fa-light fa-unlock',
|
|
1250
1373
|
color: 'success',
|
|
1251
1374
|
descriptions: {
|
|
1252
|
-
|
|
1253
|
-
tooltip: i18n('unlock.
|
|
1375
|
+
title: i18n('unlock.title'),
|
|
1376
|
+
tooltip: i18n('unlock.description'),
|
|
1254
1377
|
permission: i18n('unlock.permission'),
|
|
1255
1378
|
audit: i18n('unlock.audit')
|
|
1256
1379
|
}
|
|
@@ -1261,8 +1384,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1261
1384
|
icon: 'fa-light fa-share-nodes',
|
|
1262
1385
|
color: 'info',
|
|
1263
1386
|
descriptions: {
|
|
1264
|
-
|
|
1265
|
-
tooltip: i18n('share.
|
|
1387
|
+
title: i18n('share.title'),
|
|
1388
|
+
tooltip: i18n('share.description'),
|
|
1266
1389
|
permission: i18n('share.permission'),
|
|
1267
1390
|
audit: i18n('share.audit')
|
|
1268
1391
|
}
|
|
@@ -1273,8 +1396,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1273
1396
|
icon: 'fa-light fa-sliders',
|
|
1274
1397
|
color: 'primary',
|
|
1275
1398
|
descriptions: {
|
|
1276
|
-
|
|
1277
|
-
tooltip: i18n('configure.
|
|
1399
|
+
title: i18n('configure.title'),
|
|
1400
|
+
tooltip: i18n('configure.description'),
|
|
1278
1401
|
permission: i18n('configure.permission'),
|
|
1279
1402
|
audit: i18n('configure.audit')
|
|
1280
1403
|
}
|
|
@@ -1285,8 +1408,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1285
1408
|
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1286
1409
|
color: 'default',
|
|
1287
1410
|
descriptions: {
|
|
1288
|
-
|
|
1289
|
-
tooltip: i18n('reorder.
|
|
1411
|
+
title: i18n('reorder.title'),
|
|
1412
|
+
tooltip: i18n('reorder.description'),
|
|
1290
1413
|
permission: i18n('reorder.permission'),
|
|
1291
1414
|
audit: i18n('reorder.audit')
|
|
1292
1415
|
}
|
|
@@ -1297,8 +1420,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1297
1420
|
icon: 'fa-light fa-magnifying-glass',
|
|
1298
1421
|
color: 'default',
|
|
1299
1422
|
descriptions: {
|
|
1300
|
-
|
|
1301
|
-
tooltip: i18n('preview.
|
|
1423
|
+
title: i18n('preview.title'),
|
|
1424
|
+
tooltip: i18n('preview.description'),
|
|
1302
1425
|
permission: i18n('preview.permission'),
|
|
1303
1426
|
audit: i18n('preview.audit')
|
|
1304
1427
|
}
|
|
@@ -1309,8 +1432,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1309
1432
|
icon: 'fa-light fa-globe',
|
|
1310
1433
|
color: 'success',
|
|
1311
1434
|
descriptions: {
|
|
1312
|
-
|
|
1313
|
-
tooltip: i18n('publish.
|
|
1435
|
+
title: i18n('publish.title'),
|
|
1436
|
+
tooltip: i18n('publish.description'),
|
|
1314
1437
|
permission: i18n('publish.permission'),
|
|
1315
1438
|
audit: i18n('publish.audit')
|
|
1316
1439
|
}
|
|
@@ -1321,8 +1444,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1321
1444
|
icon: 'fa-light fa-globe-slash',
|
|
1322
1445
|
color: 'danger',
|
|
1323
1446
|
descriptions: {
|
|
1324
|
-
|
|
1325
|
-
tooltip: i18n('unpublish.
|
|
1447
|
+
title: i18n('unpublish.title'),
|
|
1448
|
+
tooltip: i18n('unpublish.description'),
|
|
1326
1449
|
permission: i18n('unpublish.permission'),
|
|
1327
1450
|
audit: i18n('unpublish.audit')
|
|
1328
1451
|
}
|
|
@@ -1331,10 +1454,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1331
1454
|
key: AXPSystemActionType.Upload,
|
|
1332
1455
|
title: i18n('upload.title'),
|
|
1333
1456
|
icon: 'fa-light fa-upload',
|
|
1334
|
-
color: '
|
|
1457
|
+
color: 'default',
|
|
1335
1458
|
descriptions: {
|
|
1336
|
-
|
|
1337
|
-
tooltip: i18n('upload.
|
|
1459
|
+
title: i18n('upload.title'),
|
|
1460
|
+
tooltip: i18n('upload.description'),
|
|
1338
1461
|
permission: i18n('upload.permission'),
|
|
1339
1462
|
audit: i18n('upload.audit')
|
|
1340
1463
|
}
|
|
@@ -1343,10 +1466,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1343
1466
|
key: AXPSystemActionType.Download,
|
|
1344
1467
|
title: i18n('download.title'),
|
|
1345
1468
|
icon: 'fa-light fa-download',
|
|
1346
|
-
color: '
|
|
1469
|
+
color: 'default',
|
|
1347
1470
|
descriptions: {
|
|
1348
|
-
|
|
1349
|
-
tooltip: i18n('download.
|
|
1471
|
+
title: i18n('download.title'),
|
|
1472
|
+
tooltip: i18n('download.description'),
|
|
1350
1473
|
permission: i18n('download.permission'),
|
|
1351
1474
|
audit: i18n('download.audit')
|
|
1352
1475
|
}
|
|
@@ -1355,10 +1478,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1355
1478
|
key: AXPSystemActionType.Copy,
|
|
1356
1479
|
title: i18n('copy.title'),
|
|
1357
1480
|
icon: 'fa-light fa-copy',
|
|
1358
|
-
color: '
|
|
1481
|
+
color: 'default',
|
|
1359
1482
|
descriptions: {
|
|
1360
|
-
|
|
1361
|
-
tooltip: i18n('copy.
|
|
1483
|
+
title: i18n('copy.title'),
|
|
1484
|
+
tooltip: i18n('copy.description'),
|
|
1362
1485
|
permission: i18n('copy.permission'),
|
|
1363
1486
|
audit: i18n('copy.audit')
|
|
1364
1487
|
}
|
|
@@ -1369,8 +1492,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1369
1492
|
icon: 'fa-light fa-arrow-right-arrow-left',
|
|
1370
1493
|
color: 'default',
|
|
1371
1494
|
descriptions: {
|
|
1372
|
-
|
|
1373
|
-
tooltip: i18n('move.
|
|
1495
|
+
title: i18n('move.title'),
|
|
1496
|
+
tooltip: i18n('move.description'),
|
|
1374
1497
|
permission: i18n('move.permission'),
|
|
1375
1498
|
audit: i18n('move.audit')
|
|
1376
1499
|
}
|
|
@@ -1381,16 +1504,442 @@ const AXPSystemActions = Object.freeze({
|
|
|
1381
1504
|
icon: 'fa-light fa-pen',
|
|
1382
1505
|
color: 'default',
|
|
1383
1506
|
descriptions: {
|
|
1384
|
-
|
|
1385
|
-
tooltip: i18n('rename.
|
|
1507
|
+
title: i18n('rename.title'),
|
|
1508
|
+
tooltip: i18n('rename.description'),
|
|
1386
1509
|
permission: i18n('rename.permission'),
|
|
1387
1510
|
audit: i18n('rename.audit')
|
|
1388
1511
|
}
|
|
1389
1512
|
},
|
|
1513
|
+
Manage: {
|
|
1514
|
+
key: AXPSystemActionType.Manage,
|
|
1515
|
+
title: i18n('manage.title'),
|
|
1516
|
+
icon: 'fa-light fa-gear',
|
|
1517
|
+
color: 'default',
|
|
1518
|
+
descriptions: {
|
|
1519
|
+
title: i18n('manage.title'),
|
|
1520
|
+
tooltip: i18n('manage.description'),
|
|
1521
|
+
permission: i18n('manage.permission'),
|
|
1522
|
+
audit: i18n('manage.audit')
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
Info: {
|
|
1526
|
+
key: AXPSystemActionType.Info,
|
|
1527
|
+
title: i18n('info.title'),
|
|
1528
|
+
icon: 'fa-light fa-info',
|
|
1529
|
+
color: 'default',
|
|
1530
|
+
descriptions: {
|
|
1531
|
+
title: i18n('info.title'),
|
|
1532
|
+
tooltip: i18n('info.description'),
|
|
1533
|
+
permission: i18n('info.permission'),
|
|
1534
|
+
audit: i18n('info.audit')
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
Confirm: {
|
|
1538
|
+
key: AXPSystemActionType.Confirm,
|
|
1539
|
+
title: i18n('confirm.title'),
|
|
1540
|
+
icon: 'fa-light fa-check',
|
|
1541
|
+
color: 'success',
|
|
1542
|
+
descriptions: {
|
|
1543
|
+
title: i18n('confirm.title'),
|
|
1544
|
+
tooltip: i18n('confirm.description'),
|
|
1545
|
+
permission: i18n('confirm.permission'),
|
|
1546
|
+
audit: i18n('confirm.audit')
|
|
1547
|
+
}
|
|
1548
|
+
},
|
|
1549
|
+
Design: {
|
|
1550
|
+
key: AXPSystemActionType.Design,
|
|
1551
|
+
title: i18n('design.title'),
|
|
1552
|
+
icon: 'fa-light fa-paintbrush',
|
|
1553
|
+
color: 'default',
|
|
1554
|
+
descriptions: {
|
|
1555
|
+
title: i18n('design.title'),
|
|
1556
|
+
tooltip: i18n('design.description'),
|
|
1557
|
+
permission: i18n('design.permission'),
|
|
1558
|
+
audit: i18n('design.audit')
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
VersionHistory: {
|
|
1562
|
+
key: AXPSystemActionType.VersionHistory,
|
|
1563
|
+
title: i18n('version-history.title'),
|
|
1564
|
+
icon: 'fa-light fa-history',
|
|
1565
|
+
color: 'default',
|
|
1566
|
+
descriptions: {
|
|
1567
|
+
title: i18n('version-history.title'),
|
|
1568
|
+
tooltip: i18n('version-history.description'),
|
|
1569
|
+
permission: i18n('version-history.permission'),
|
|
1570
|
+
audit: i18n('version-history.audit')
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
Compare: {
|
|
1574
|
+
key: AXPSystemActionType.Compare,
|
|
1575
|
+
title: i18n('compare.title'),
|
|
1576
|
+
icon: 'fa-light fa-code-compare',
|
|
1577
|
+
color: 'default',
|
|
1578
|
+
descriptions: {
|
|
1579
|
+
title: i18n('compare.title'),
|
|
1580
|
+
tooltip: i18n('compare.description'),
|
|
1581
|
+
permission: i18n('compare.permission'),
|
|
1582
|
+
audit: i18n('compare.audit')
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
Comments: {
|
|
1586
|
+
key: AXPSystemActionType.Comments,
|
|
1587
|
+
title: i18n('comments.title'),
|
|
1588
|
+
icon: 'fa-light fa-comments',
|
|
1589
|
+
color: 'default',
|
|
1590
|
+
descriptions: {
|
|
1591
|
+
title: i18n('comments.title'),
|
|
1592
|
+
tooltip: i18n('comments.description'),
|
|
1593
|
+
permission: i18n('comments.permission'),
|
|
1594
|
+
audit: i18n('comments.audit')
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
Sign: {
|
|
1598
|
+
key: AXPSystemActionType.Sign,
|
|
1599
|
+
title: i18n('sign.title'),
|
|
1600
|
+
icon: 'fa-light fa-signature',
|
|
1601
|
+
color: 'default',
|
|
1602
|
+
descriptions: {
|
|
1603
|
+
title: i18n('sign.title'),
|
|
1604
|
+
tooltip: i18n('sign.description'),
|
|
1605
|
+
permission: i18n('sign.permission'),
|
|
1606
|
+
audit: i18n('sign.audit')
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
Setup: {
|
|
1610
|
+
key: AXPSystemActionType.Setup,
|
|
1611
|
+
title: i18n('setup.title'),
|
|
1612
|
+
icon: 'fa-light fa-cog',
|
|
1613
|
+
color: 'default',
|
|
1614
|
+
descriptions: {
|
|
1615
|
+
title: i18n('setup.title'),
|
|
1616
|
+
tooltip: i18n('setup.description'),
|
|
1617
|
+
permission: i18n('setup.permission'),
|
|
1618
|
+
audit: i18n('setup.audit')
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
Send: {
|
|
1622
|
+
key: AXPSystemActionType.Send,
|
|
1623
|
+
title: i18n('send.title'),
|
|
1624
|
+
icon: 'fa-light fa-envelope',
|
|
1625
|
+
color: 'default',
|
|
1626
|
+
descriptions: {
|
|
1627
|
+
title: i18n('send.title'),
|
|
1628
|
+
tooltip: i18n('send.description'),
|
|
1629
|
+
permission: i18n('send.permission'),
|
|
1630
|
+
audit: i18n('send.audit')
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
Report: {
|
|
1634
|
+
key: AXPSystemActionType.Report,
|
|
1635
|
+
title: i18n('report.title'),
|
|
1636
|
+
icon: 'fa-light fa-chart-line',
|
|
1637
|
+
color: 'default',
|
|
1638
|
+
descriptions: {
|
|
1639
|
+
title: i18n('report.title'),
|
|
1640
|
+
tooltip: i18n('report.description'),
|
|
1641
|
+
permission: i18n('report.permission'),
|
|
1642
|
+
audit: i18n('report.audit')
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
Sent: {
|
|
1646
|
+
key: AXPSystemActionType.Sent,
|
|
1647
|
+
title: i18n('sent.title'),
|
|
1648
|
+
icon: 'fa-light fa-paper-plane',
|
|
1649
|
+
color: 'default',
|
|
1650
|
+
descriptions: {
|
|
1651
|
+
title: i18n('sent.title'),
|
|
1652
|
+
tooltip: i18n('sent.description'),
|
|
1653
|
+
permission: i18n('sent.permission'),
|
|
1654
|
+
audit: i18n('sent.audit')
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
Review: {
|
|
1658
|
+
key: AXPSystemActionType.Review,
|
|
1659
|
+
title: i18n('review.title'),
|
|
1660
|
+
icon: 'fa-light fa-eye',
|
|
1661
|
+
color: 'default',
|
|
1662
|
+
descriptions: {
|
|
1663
|
+
title: i18n('review.title'),
|
|
1664
|
+
tooltip: i18n('review.description'),
|
|
1665
|
+
permission: i18n('review.permission'),
|
|
1666
|
+
audit: i18n('review.audit')
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
Generate: {
|
|
1670
|
+
key: AXPSystemActionType.Generate,
|
|
1671
|
+
title: i18n('generate.title'),
|
|
1672
|
+
icon: 'fa-light fa-wand-magic-sparkles',
|
|
1673
|
+
color: 'primary',
|
|
1674
|
+
descriptions: {
|
|
1675
|
+
title: i18n('generate.title'),
|
|
1676
|
+
tooltip: i18n('generate.description'),
|
|
1677
|
+
permission: i18n('generate.permission'),
|
|
1678
|
+
audit: i18n('generate.audit')
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
Refresh: {
|
|
1682
|
+
key: AXPSystemActionType.Refresh,
|
|
1683
|
+
title: i18n('refresh.title'),
|
|
1684
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1685
|
+
color: 'default',
|
|
1686
|
+
descriptions: {
|
|
1687
|
+
title: i18n('refresh.title'),
|
|
1688
|
+
tooltip: i18n('refresh.description'),
|
|
1689
|
+
permission: i18n('refresh.permission'),
|
|
1690
|
+
audit: i18n('refresh.audit')
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
Reload: {
|
|
1694
|
+
key: AXPSystemActionType.Reload,
|
|
1695
|
+
title: i18n('reload.title'),
|
|
1696
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1697
|
+
color: 'default',
|
|
1698
|
+
descriptions: {
|
|
1699
|
+
title: i18n('reload.title'),
|
|
1700
|
+
tooltip: i18n('reload.description'),
|
|
1701
|
+
permission: i18n('reload.permission'),
|
|
1702
|
+
audit: i18n('reload.audit')
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
Search: {
|
|
1706
|
+
key: AXPSystemActionType.Search,
|
|
1707
|
+
title: i18n('search.title'),
|
|
1708
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
1709
|
+
color: 'default',
|
|
1710
|
+
descriptions: {
|
|
1711
|
+
title: i18n('search.title'),
|
|
1712
|
+
tooltip: i18n('search.description'),
|
|
1713
|
+
permission: i18n('search.permission'),
|
|
1714
|
+
audit: i18n('search.audit')
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
Filter: {
|
|
1718
|
+
key: AXPSystemActionType.Filter,
|
|
1719
|
+
title: i18n('filter.title'),
|
|
1720
|
+
icon: 'fa-light fa-filter',
|
|
1721
|
+
color: 'default',
|
|
1722
|
+
descriptions: {
|
|
1723
|
+
title: i18n('filter.title'),
|
|
1724
|
+
tooltip: i18n('filter.description'),
|
|
1725
|
+
permission: i18n('filter.permission'),
|
|
1726
|
+
audit: i18n('filter.audit')
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
Sort: {
|
|
1730
|
+
key: AXPSystemActionType.Sort,
|
|
1731
|
+
title: i18n('sort.title'),
|
|
1732
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1733
|
+
color: 'default',
|
|
1734
|
+
descriptions: {
|
|
1735
|
+
title: i18n('sort.title'),
|
|
1736
|
+
tooltip: i18n('sort.description'),
|
|
1737
|
+
permission: i18n('sort.permission'),
|
|
1738
|
+
audit: i18n('sort.audit')
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
1741
|
+
Start: {
|
|
1742
|
+
key: AXPSystemActionType.Start,
|
|
1743
|
+
title: i18n('start.title'),
|
|
1744
|
+
icon: 'fa-light fa-play',
|
|
1745
|
+
color: 'success',
|
|
1746
|
+
descriptions: {
|
|
1747
|
+
title: i18n('start.title'),
|
|
1748
|
+
tooltip: i18n('start.description'),
|
|
1749
|
+
permission: i18n('start.permission'),
|
|
1750
|
+
audit: i18n('start.audit')
|
|
1751
|
+
}
|
|
1752
|
+
},
|
|
1753
|
+
Stop: {
|
|
1754
|
+
key: AXPSystemActionType.Stop,
|
|
1755
|
+
title: i18n('stop.title'),
|
|
1756
|
+
icon: 'fa-light fa-stop',
|
|
1757
|
+
color: 'danger',
|
|
1758
|
+
critical: true,
|
|
1759
|
+
descriptions: {
|
|
1760
|
+
title: i18n('stop.title'),
|
|
1761
|
+
tooltip: i18n('stop.description'),
|
|
1762
|
+
permission: i18n('stop.permission'),
|
|
1763
|
+
audit: i18n('stop.audit')
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
Pause: {
|
|
1767
|
+
key: AXPSystemActionType.Pause,
|
|
1768
|
+
title: i18n('pause.title'),
|
|
1769
|
+
icon: 'fa-light fa-pause',
|
|
1770
|
+
color: 'warning',
|
|
1771
|
+
descriptions: {
|
|
1772
|
+
title: i18n('pause.title'),
|
|
1773
|
+
tooltip: i18n('pause.description'),
|
|
1774
|
+
permission: i18n('pause.permission'),
|
|
1775
|
+
audit: i18n('pause.audit')
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
Cancel: {
|
|
1779
|
+
key: AXPSystemActionType.Cancel,
|
|
1780
|
+
title: i18n('cancel.title'),
|
|
1781
|
+
icon: 'fa-light fa-xmark',
|
|
1782
|
+
color: 'danger',
|
|
1783
|
+
critical: true,
|
|
1784
|
+
descriptions: {
|
|
1785
|
+
title: i18n('cancel.title'),
|
|
1786
|
+
tooltip: i18n('cancel.description'),
|
|
1787
|
+
permission: i18n('cancel.permission'),
|
|
1788
|
+
audit: i18n('cancel.audit')
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
Close: {
|
|
1792
|
+
key: AXPSystemActionType.Close,
|
|
1793
|
+
title: i18n('close.title'),
|
|
1794
|
+
icon: 'fa-light fa-xmark',
|
|
1795
|
+
color: 'default',
|
|
1796
|
+
descriptions: {
|
|
1797
|
+
title: i18n('close.title'),
|
|
1798
|
+
tooltip: i18n('close.description'),
|
|
1799
|
+
permission: i18n('close.permission'),
|
|
1800
|
+
audit: i18n('close.audit')
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
Complete: {
|
|
1804
|
+
key: AXPSystemActionType.Complete,
|
|
1805
|
+
title: i18n('complete.title'),
|
|
1806
|
+
icon: 'fa-light fa-check',
|
|
1807
|
+
color: 'success',
|
|
1808
|
+
descriptions: {
|
|
1809
|
+
title: i18n('complete.title'),
|
|
1810
|
+
tooltip: i18n('complete.description'),
|
|
1811
|
+
permission: i18n('complete.permission'),
|
|
1812
|
+
audit: i18n('complete.audit')
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
Save: {
|
|
1816
|
+
key: AXPSystemActionType.Save,
|
|
1817
|
+
title: i18n('save.title'),
|
|
1818
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1819
|
+
color: 'primary',
|
|
1820
|
+
descriptions: {
|
|
1821
|
+
title: i18n('save.title'),
|
|
1822
|
+
tooltip: i18n('save.description'),
|
|
1823
|
+
permission: i18n('save.permission'),
|
|
1824
|
+
audit: i18n('save.audit')
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1827
|
+
SaveAs: {
|
|
1828
|
+
key: AXPSystemActionType.SaveAs,
|
|
1829
|
+
title: i18n('save-as.title'),
|
|
1830
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1831
|
+
color: 'default',
|
|
1832
|
+
descriptions: {
|
|
1833
|
+
title: i18n('save-as.title'),
|
|
1834
|
+
tooltip: i18n('save-as.description'),
|
|
1835
|
+
permission: i18n('save-as.permission'),
|
|
1836
|
+
audit: i18n('save-as.audit')
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
Sync: {
|
|
1840
|
+
key: AXPSystemActionType.Sync,
|
|
1841
|
+
title: i18n('sync.title'),
|
|
1842
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1843
|
+
color: 'default',
|
|
1844
|
+
descriptions: {
|
|
1845
|
+
title: i18n('sync.title'),
|
|
1846
|
+
tooltip: i18n('sync.description'),
|
|
1847
|
+
permission: i18n('sync.permission'),
|
|
1848
|
+
audit: i18n('sync.audit')
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
Reset: {
|
|
1852
|
+
key: AXPSystemActionType.Reset,
|
|
1853
|
+
title: i18n('reset.title'),
|
|
1854
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
1855
|
+
color: 'warning',
|
|
1856
|
+
critical: true,
|
|
1857
|
+
descriptions: {
|
|
1858
|
+
title: i18n('reset.title'),
|
|
1859
|
+
tooltip: i18n('reset.description'),
|
|
1860
|
+
permission: i18n('reset.permission'),
|
|
1861
|
+
audit: i18n('reset.audit')
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
Clear: {
|
|
1865
|
+
key: AXPSystemActionType.Clear,
|
|
1866
|
+
title: i18n('clear.title'),
|
|
1867
|
+
icon: 'fa-light fa-eraser',
|
|
1868
|
+
color: 'default',
|
|
1869
|
+
descriptions: {
|
|
1870
|
+
title: i18n('clear.title'),
|
|
1871
|
+
tooltip: i18n('clear.description'),
|
|
1872
|
+
permission: i18n('clear.permission'),
|
|
1873
|
+
audit: i18n('clear.audit')
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
Distribution: {
|
|
1877
|
+
key: AXPSystemActionType.Distribution,
|
|
1878
|
+
title: i18n('distribution.title'),
|
|
1879
|
+
icon: 'fa-light fa-share-nodes',
|
|
1880
|
+
color: 'default',
|
|
1881
|
+
descriptions: {
|
|
1882
|
+
title: i18n('distribution.title'),
|
|
1883
|
+
tooltip: i18n('distribution.description'),
|
|
1884
|
+
permission: i18n('distribution.permission'),
|
|
1885
|
+
audit: i18n('distribution.audit')
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1390
1888
|
});
|
|
1391
1889
|
function getSystemActions(type) {
|
|
1392
1890
|
return Object.values(AXPSystemActions).find(action => action.key === type);
|
|
1393
1891
|
}
|
|
1892
|
+
/**
|
|
1893
|
+
* Resolves the visual appearance (color and icon) for entity actions
|
|
1894
|
+
* using the system actions from the core module.
|
|
1895
|
+
*/
|
|
1896
|
+
function resolveActionLook(actionType) {
|
|
1897
|
+
// Try to get system action first
|
|
1898
|
+
const systemActionType = actionType;
|
|
1899
|
+
if (systemActionType) {
|
|
1900
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1901
|
+
if (systemAction) {
|
|
1902
|
+
return {
|
|
1903
|
+
color: (systemAction.color || 'default'),
|
|
1904
|
+
icon: systemAction.icon || ''
|
|
1905
|
+
};
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
// Fallback for unknown actions
|
|
1909
|
+
return {
|
|
1910
|
+
color: 'default',
|
|
1911
|
+
icon: ''
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
/**
|
|
1915
|
+
* Resolves the title, description, icon and color for button actions
|
|
1916
|
+
* using the system actions from the core module.
|
|
1917
|
+
* @param actionType
|
|
1918
|
+
* @returns
|
|
1919
|
+
*/
|
|
1920
|
+
function getActionButton(actionType) {
|
|
1921
|
+
const systemActionType = actionType;
|
|
1922
|
+
if (systemActionType) {
|
|
1923
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1924
|
+
if (systemAction) {
|
|
1925
|
+
return {
|
|
1926
|
+
name: actionType,
|
|
1927
|
+
icon: systemAction.icon || '',
|
|
1928
|
+
color: systemAction.color || 'default',
|
|
1929
|
+
title: systemAction.title,
|
|
1930
|
+
description: systemAction.descriptions.title
|
|
1931
|
+
};
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
// Fallback for unknown actions
|
|
1935
|
+
return {
|
|
1936
|
+
name: actionType,
|
|
1937
|
+
title: actionType,
|
|
1938
|
+
description: `Perform ${actionType} action`,
|
|
1939
|
+
icon: '',
|
|
1940
|
+
color: 'default'
|
|
1941
|
+
};
|
|
1942
|
+
}
|
|
1394
1943
|
|
|
1395
1944
|
function getNestedKeys(obj, prefix = '') {
|
|
1396
1945
|
let keys = [];
|
|
@@ -1499,10 +2048,10 @@ class AXPCountdownPipe {
|
|
|
1499
2048
|
updateTargetDate(value) {
|
|
1500
2049
|
this.targetDate = new Date(value).getTime();
|
|
1501
2050
|
}
|
|
1502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1503
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
2051
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2052
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPCountdownPipe, isStandalone: true, name: "countdown", pure: false }); }
|
|
1504
2053
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPCountdownPipe, decorators: [{
|
|
1506
2055
|
type: Pipe,
|
|
1507
2056
|
args: [{
|
|
1508
2057
|
name: 'countdown',
|
|
@@ -1817,10 +2366,10 @@ class AXHighlightService {
|
|
|
1817
2366
|
resultHTML += '</span>';
|
|
1818
2367
|
return resultHTML;
|
|
1819
2368
|
}
|
|
1820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1821
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXHighlightService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2370
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXHighlightService, providedIn: 'root' }); }
|
|
1822
2371
|
}
|
|
1823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXHighlightService, decorators: [{
|
|
1824
2373
|
type: Injectable,
|
|
1825
2374
|
args: [{
|
|
1826
2375
|
providedIn: 'root',
|
|
@@ -1844,10 +2393,10 @@ class AXPActivityLogService {
|
|
|
1844
2393
|
async getHistoryByIds(refId, refType, ids) {
|
|
1845
2394
|
return (await Promise.all(this.providers?.map((p) => p.getHistoryByIds(refId, refType, ids)) ?? [])).flat();
|
|
1846
2395
|
}
|
|
1847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1848
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2396
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPActivityLogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2397
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPActivityLogService, providedIn: 'root' }); }
|
|
1849
2398
|
}
|
|
1850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPActivityLogService, decorators: [{
|
|
1851
2400
|
type: Injectable,
|
|
1852
2401
|
args: [{ providedIn: 'root' }]
|
|
1853
2402
|
}] });
|
|
@@ -1880,7 +2429,6 @@ class AXPDistributedEventListenerService {
|
|
|
1880
2429
|
const providers = await this.resolveProviders();
|
|
1881
2430
|
const matched = providers.filter(p => p.key === key);
|
|
1882
2431
|
if (!matched.length) {
|
|
1883
|
-
console.warn(`[AXPDistributedEventListenerService] No provider found for key='${key}'`);
|
|
1884
2432
|
return;
|
|
1885
2433
|
}
|
|
1886
2434
|
for (const provider of matched) {
|
|
@@ -1911,7 +2459,6 @@ class AXPDistributedEventListenerService {
|
|
|
1911
2459
|
const timer = setTimeout(() => {
|
|
1912
2460
|
if (!finished) {
|
|
1913
2461
|
if (n < options.retries) {
|
|
1914
|
-
console.warn(`[dispatchAsync] retrying key='${key}' (${n + 1}/${options.retries})`);
|
|
1915
2462
|
resolve(attempt(n + 1));
|
|
1916
2463
|
}
|
|
1917
2464
|
else {
|
|
@@ -1993,10 +2540,10 @@ class AXPDistributedEventListenerService {
|
|
|
1993
2540
|
this.listenersByKey.clear();
|
|
1994
2541
|
this.providersLoaded = false;
|
|
1995
2542
|
}
|
|
1996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1997
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDistributedEventListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDistributedEventListenerService, providedIn: 'root' }); }
|
|
1998
2545
|
}
|
|
1999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPDistributedEventListenerService, decorators: [{
|
|
2000
2547
|
type: Injectable,
|
|
2001
2548
|
args: [{
|
|
2002
2549
|
providedIn: 'root',
|
|
@@ -2049,10 +2596,10 @@ class AXPHookService {
|
|
|
2049
2596
|
}
|
|
2050
2597
|
return data;
|
|
2051
2598
|
}
|
|
2052
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2053
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2599
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHookService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2600
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHookService, providedIn: 'root' }); }
|
|
2054
2601
|
}
|
|
2055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPHookService, decorators: [{
|
|
2056
2603
|
type: Injectable,
|
|
2057
2604
|
args: [{ providedIn: 'root' }]
|
|
2058
2605
|
}] });
|
|
@@ -2061,5 +2608,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
2061
2608
|
* Generated bundle index. Do not edit.
|
|
2062
2609
|
*/
|
|
2063
2610
|
|
|
2064
|
-
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, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
2611
|
+
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 };
|
|
2065
2612
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|