@acorex/platform 20.3.0-next.2 → 20.3.0-next.20
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 +563 -46
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +124 -224
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +644 -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 +1927 -1951
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +3897 -435
- 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-BXExgI3W.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-BXExgI3W.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-BzsfTNs2.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-BzsfTNs2.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-Dvk76-2W.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-Dvk76-2W.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-BYLaipWi.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-BYLaipWi.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-DcSllNik.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-DcSllNik.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-BT-U4BiA.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-BT-U4BiA.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-Il7jnRBg.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-Il7jnRBg.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-CBEPu7Fl.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-CBEPu7Fl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs → acorex-platform-layout-widgets-file-list-popup.component-BPzn8lr3.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-BPzn8lr3.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs → acorex-platform-layout-widgets-page-widget-designer.component-C_JrGoXy.mjs} +8 -8
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-C_JrGoXy.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-C6DaBt_N.mjs} +14 -14
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-C6DaBt_N.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-Bth3jI9T.mjs} +6 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-Bth3jI9T.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-CUHptbP4.mjs} +6 -7
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CUHptbP4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets.mjs → acorex-platform-layout-widgets.mjs} +8362 -7479
- 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-eGzN6g2Y.mjs +115 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-eGzN6g2Y.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs → acorex-platform-themes-default-entity-master-list-view.component-nDHfQQ3O.mjs} +34 -36
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-nDHfQQ3O.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-HJyalvcu.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-HJyalvcu.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-e7m70Wls.mjs} +17 -17
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-e7m70Wls.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs → acorex-platform-themes-default-error-401.component-CoBaQFTn.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map → acorex-platform-themes-default-error-401.component-CoBaQFTn.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs → acorex-platform-themes-default-error-404.component-BLlVOsS2.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map → acorex-platform-themes-default-error-404.component-BLlVOsS2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs → acorex-platform-themes-default-error-offline.component-CybYQI9F.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map → acorex-platform-themes-default-error-offline.component-CybYQI9F.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-ReKSoVeN.mjs} +25 -15
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-ReKSoVeN.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-B2HDyY2z.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-B2HDyY2z.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-CeZxa49U.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CeZxa49U.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 +2 -3
- package/layout/builder/index.d.ts +683 -819
- package/layout/components/index.d.ts +1141 -115
- 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 +1933 -770
- package/package.json +14 -10
- 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.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.3", ngImport: i0, type: AXPDataSourceDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
551
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", 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.3", 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.3", 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.3", 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.3", 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.3", ngImport: i0, type: AXPDblClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
619
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", 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.3", 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.3", 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.3", 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.3", 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.3", ngImport: i0, type: AXPContentCheckerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
704
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", 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.3", 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.3", ngImport: i0, type: AXPBroadcastEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
833
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", 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.3", 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.3", ngImport: i0, type: AXPExpressionEvaluatorScopeProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
875
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", 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.3", 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.3", ngImport: i0, type: AXPExpressionEvaluatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
987
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", 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.3", 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.3", ngImport: i0, type: AXPAppStartUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1015
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", 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.3", 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,46 @@ 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";
|
|
1060
1182
|
})(AXPSystemActionType || (AXPSystemActionType = {}));
|
|
1061
|
-
const i18n = (key) =>
|
|
1183
|
+
const i18n = (key) => `@general:actions.${key}`;
|
|
1062
1184
|
const AXPSystemActions = Object.freeze({
|
|
1063
1185
|
View: {
|
|
1064
1186
|
key: AXPSystemActionType.View,
|
|
1065
1187
|
title: i18n('view.title'),
|
|
1066
1188
|
icon: 'fa-light fa-eye',
|
|
1067
|
-
color: '
|
|
1189
|
+
color: 'primary',
|
|
1068
1190
|
descriptions: {
|
|
1069
|
-
|
|
1070
|
-
tooltip: i18n('view.
|
|
1191
|
+
title: i18n('view.title'),
|
|
1192
|
+
tooltip: i18n('view.description'),
|
|
1071
1193
|
permission: i18n('view.permission'),
|
|
1072
1194
|
audit: i18n('view.audit')
|
|
1073
1195
|
}
|
|
@@ -1076,10 +1198,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1076
1198
|
key: AXPSystemActionType.Create,
|
|
1077
1199
|
title: i18n('create.title'),
|
|
1078
1200
|
icon: 'fa-light fa-plus',
|
|
1079
|
-
color: '
|
|
1201
|
+
color: 'primary',
|
|
1080
1202
|
descriptions: {
|
|
1081
|
-
|
|
1082
|
-
tooltip: i18n('create.
|
|
1203
|
+
title: i18n('create.title'),
|
|
1204
|
+
tooltip: i18n('create.description'),
|
|
1083
1205
|
permission: i18n('create.permission'),
|
|
1084
1206
|
audit: i18n('create.audit')
|
|
1085
1207
|
}
|
|
@@ -1088,10 +1210,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1088
1210
|
key: AXPSystemActionType.Update,
|
|
1089
1211
|
title: i18n('edit.title'),
|
|
1090
1212
|
icon: 'fa-light fa-pen',
|
|
1091
|
-
color: '
|
|
1213
|
+
color: 'default',
|
|
1092
1214
|
descriptions: {
|
|
1093
|
-
|
|
1094
|
-
tooltip: i18n('edit.
|
|
1215
|
+
title: i18n('edit.title'),
|
|
1216
|
+
tooltip: i18n('edit.description'),
|
|
1095
1217
|
permission: i18n('edit.permission'),
|
|
1096
1218
|
audit: i18n('edit.audit')
|
|
1097
1219
|
}
|
|
@@ -1103,8 +1225,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1103
1225
|
color: 'danger',
|
|
1104
1226
|
critical: true,
|
|
1105
1227
|
descriptions: {
|
|
1106
|
-
|
|
1107
|
-
tooltip: i18n('delete.
|
|
1228
|
+
title: i18n('delete.title'),
|
|
1229
|
+
tooltip: i18n('delete.description'),
|
|
1108
1230
|
permission: i18n('delete.permission'),
|
|
1109
1231
|
audit: i18n('delete.audit')
|
|
1110
1232
|
}
|
|
@@ -1116,8 +1238,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1116
1238
|
color: 'success',
|
|
1117
1239
|
critical: true,
|
|
1118
1240
|
descriptions: {
|
|
1119
|
-
|
|
1120
|
-
tooltip: i18n('approve.
|
|
1241
|
+
title: i18n('approve.title'),
|
|
1242
|
+
tooltip: i18n('approve.description'),
|
|
1121
1243
|
permission: i18n('approve.permission'),
|
|
1122
1244
|
audit: i18n('approve.audit')
|
|
1123
1245
|
}
|
|
@@ -1128,8 +1250,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1128
1250
|
icon: 'fa-light fa-paper-plane',
|
|
1129
1251
|
color: 'primary',
|
|
1130
1252
|
descriptions: {
|
|
1131
|
-
|
|
1132
|
-
tooltip: i18n('submit.
|
|
1253
|
+
title: i18n('submit.title'),
|
|
1254
|
+
tooltip: i18n('submit.description'),
|
|
1133
1255
|
permission: i18n('submit.permission'),
|
|
1134
1256
|
audit: i18n('submit.audit')
|
|
1135
1257
|
}
|
|
@@ -1141,8 +1263,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1141
1263
|
color: 'danger',
|
|
1142
1264
|
critical: true,
|
|
1143
1265
|
descriptions: {
|
|
1144
|
-
|
|
1145
|
-
tooltip: i18n('reject.
|
|
1266
|
+
title: i18n('reject.title'),
|
|
1267
|
+
tooltip: i18n('reject.description'),
|
|
1146
1268
|
permission: i18n('reject.permission'),
|
|
1147
1269
|
audit: i18n('reject.audit')
|
|
1148
1270
|
}
|
|
@@ -1153,8 +1275,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1153
1275
|
icon: 'fa-light fa-download',
|
|
1154
1276
|
color: 'default',
|
|
1155
1277
|
descriptions: {
|
|
1156
|
-
|
|
1157
|
-
tooltip: i18n('export.
|
|
1278
|
+
title: i18n('export.title'),
|
|
1279
|
+
tooltip: i18n('export.description'),
|
|
1158
1280
|
permission: i18n('export.permission'),
|
|
1159
1281
|
audit: i18n('export.audit')
|
|
1160
1282
|
}
|
|
@@ -1165,8 +1287,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1165
1287
|
icon: 'fa-light fa-upload',
|
|
1166
1288
|
color: 'default',
|
|
1167
1289
|
descriptions: {
|
|
1168
|
-
|
|
1169
|
-
tooltip: i18n('import.
|
|
1290
|
+
title: i18n('import.title'),
|
|
1291
|
+
tooltip: i18n('import.description'),
|
|
1170
1292
|
permission: i18n('import.permission'),
|
|
1171
1293
|
audit: i18n('import.audit')
|
|
1172
1294
|
}
|
|
@@ -1177,8 +1299,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1177
1299
|
icon: 'fa-light fa-print',
|
|
1178
1300
|
color: 'default',
|
|
1179
1301
|
descriptions: {
|
|
1180
|
-
|
|
1181
|
-
tooltip: i18n('print.
|
|
1302
|
+
title: i18n('print.title'),
|
|
1303
|
+
tooltip: i18n('print.description'),
|
|
1182
1304
|
permission: i18n('print.permission'),
|
|
1183
1305
|
audit: i18n('print.audit')
|
|
1184
1306
|
}
|
|
@@ -1189,8 +1311,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1189
1311
|
icon: 'fa-light fa-clone',
|
|
1190
1312
|
color: 'warning',
|
|
1191
1313
|
descriptions: {
|
|
1192
|
-
|
|
1193
|
-
tooltip: i18n('duplicate.
|
|
1314
|
+
title: i18n('duplicate.title'),
|
|
1315
|
+
tooltip: i18n('duplicate.description'),
|
|
1194
1316
|
permission: i18n('duplicate.permission'),
|
|
1195
1317
|
audit: i18n('duplicate.audit')
|
|
1196
1318
|
}
|
|
@@ -1199,10 +1321,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1199
1321
|
key: AXPSystemActionType.Archive,
|
|
1200
1322
|
title: i18n('archive.title'),
|
|
1201
1323
|
icon: 'fa-light fa-box-archive',
|
|
1202
|
-
color: '
|
|
1324
|
+
color: 'default',
|
|
1203
1325
|
descriptions: {
|
|
1204
|
-
|
|
1205
|
-
tooltip: i18n('archive.
|
|
1326
|
+
title: i18n('archive.title'),
|
|
1327
|
+
tooltip: i18n('archive.description'),
|
|
1206
1328
|
permission: i18n('archive.permission'),
|
|
1207
1329
|
audit: i18n('archive.audit')
|
|
1208
1330
|
}
|
|
@@ -1211,10 +1333,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1211
1333
|
key: AXPSystemActionType.Restore,
|
|
1212
1334
|
title: i18n('restore.title'),
|
|
1213
1335
|
icon: 'fa-light fa-arrow-rotate-left',
|
|
1214
|
-
color: '
|
|
1336
|
+
color: 'default',
|
|
1215
1337
|
descriptions: {
|
|
1216
|
-
|
|
1217
|
-
tooltip: i18n('restore.
|
|
1338
|
+
title: i18n('restore.title'),
|
|
1339
|
+
tooltip: i18n('restore.description'),
|
|
1218
1340
|
permission: i18n('restore.permission'),
|
|
1219
1341
|
audit: i18n('restore.audit')
|
|
1220
1342
|
}
|
|
@@ -1225,8 +1347,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1225
1347
|
icon: 'fa-light fa-user-plus',
|
|
1226
1348
|
color: 'primary',
|
|
1227
1349
|
descriptions: {
|
|
1228
|
-
|
|
1229
|
-
tooltip: i18n('assign.
|
|
1350
|
+
title: i18n('assign.title'),
|
|
1351
|
+
tooltip: i18n('assign.description'),
|
|
1230
1352
|
permission: i18n('assign.permission'),
|
|
1231
1353
|
audit: i18n('assign.audit')
|
|
1232
1354
|
}
|
|
@@ -1237,8 +1359,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1237
1359
|
icon: 'fa-light fa-lock',
|
|
1238
1360
|
color: 'warning',
|
|
1239
1361
|
descriptions: {
|
|
1240
|
-
|
|
1241
|
-
tooltip: i18n('lock.
|
|
1362
|
+
title: i18n('lock.title'),
|
|
1363
|
+
tooltip: i18n('lock.description'),
|
|
1242
1364
|
permission: i18n('lock.permission'),
|
|
1243
1365
|
audit: i18n('lock.audit')
|
|
1244
1366
|
}
|
|
@@ -1249,8 +1371,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1249
1371
|
icon: 'fa-light fa-unlock',
|
|
1250
1372
|
color: 'success',
|
|
1251
1373
|
descriptions: {
|
|
1252
|
-
|
|
1253
|
-
tooltip: i18n('unlock.
|
|
1374
|
+
title: i18n('unlock.title'),
|
|
1375
|
+
tooltip: i18n('unlock.description'),
|
|
1254
1376
|
permission: i18n('unlock.permission'),
|
|
1255
1377
|
audit: i18n('unlock.audit')
|
|
1256
1378
|
}
|
|
@@ -1261,8 +1383,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1261
1383
|
icon: 'fa-light fa-share-nodes',
|
|
1262
1384
|
color: 'info',
|
|
1263
1385
|
descriptions: {
|
|
1264
|
-
|
|
1265
|
-
tooltip: i18n('share.
|
|
1386
|
+
title: i18n('share.title'),
|
|
1387
|
+
tooltip: i18n('share.description'),
|
|
1266
1388
|
permission: i18n('share.permission'),
|
|
1267
1389
|
audit: i18n('share.audit')
|
|
1268
1390
|
}
|
|
@@ -1273,8 +1395,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1273
1395
|
icon: 'fa-light fa-sliders',
|
|
1274
1396
|
color: 'primary',
|
|
1275
1397
|
descriptions: {
|
|
1276
|
-
|
|
1277
|
-
tooltip: i18n('configure.
|
|
1398
|
+
title: i18n('configure.title'),
|
|
1399
|
+
tooltip: i18n('configure.description'),
|
|
1278
1400
|
permission: i18n('configure.permission'),
|
|
1279
1401
|
audit: i18n('configure.audit')
|
|
1280
1402
|
}
|
|
@@ -1285,8 +1407,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1285
1407
|
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1286
1408
|
color: 'default',
|
|
1287
1409
|
descriptions: {
|
|
1288
|
-
|
|
1289
|
-
tooltip: i18n('reorder.
|
|
1410
|
+
title: i18n('reorder.title'),
|
|
1411
|
+
tooltip: i18n('reorder.description'),
|
|
1290
1412
|
permission: i18n('reorder.permission'),
|
|
1291
1413
|
audit: i18n('reorder.audit')
|
|
1292
1414
|
}
|
|
@@ -1297,8 +1419,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1297
1419
|
icon: 'fa-light fa-magnifying-glass',
|
|
1298
1420
|
color: 'default',
|
|
1299
1421
|
descriptions: {
|
|
1300
|
-
|
|
1301
|
-
tooltip: i18n('preview.
|
|
1422
|
+
title: i18n('preview.title'),
|
|
1423
|
+
tooltip: i18n('preview.description'),
|
|
1302
1424
|
permission: i18n('preview.permission'),
|
|
1303
1425
|
audit: i18n('preview.audit')
|
|
1304
1426
|
}
|
|
@@ -1309,8 +1431,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1309
1431
|
icon: 'fa-light fa-globe',
|
|
1310
1432
|
color: 'success',
|
|
1311
1433
|
descriptions: {
|
|
1312
|
-
|
|
1313
|
-
tooltip: i18n('publish.
|
|
1434
|
+
title: i18n('publish.title'),
|
|
1435
|
+
tooltip: i18n('publish.description'),
|
|
1314
1436
|
permission: i18n('publish.permission'),
|
|
1315
1437
|
audit: i18n('publish.audit')
|
|
1316
1438
|
}
|
|
@@ -1321,8 +1443,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1321
1443
|
icon: 'fa-light fa-globe-slash',
|
|
1322
1444
|
color: 'danger',
|
|
1323
1445
|
descriptions: {
|
|
1324
|
-
|
|
1325
|
-
tooltip: i18n('unpublish.
|
|
1446
|
+
title: i18n('unpublish.title'),
|
|
1447
|
+
tooltip: i18n('unpublish.description'),
|
|
1326
1448
|
permission: i18n('unpublish.permission'),
|
|
1327
1449
|
audit: i18n('unpublish.audit')
|
|
1328
1450
|
}
|
|
@@ -1331,10 +1453,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1331
1453
|
key: AXPSystemActionType.Upload,
|
|
1332
1454
|
title: i18n('upload.title'),
|
|
1333
1455
|
icon: 'fa-light fa-upload',
|
|
1334
|
-
color: '
|
|
1456
|
+
color: 'default',
|
|
1335
1457
|
descriptions: {
|
|
1336
|
-
|
|
1337
|
-
tooltip: i18n('upload.
|
|
1458
|
+
title: i18n('upload.title'),
|
|
1459
|
+
tooltip: i18n('upload.description'),
|
|
1338
1460
|
permission: i18n('upload.permission'),
|
|
1339
1461
|
audit: i18n('upload.audit')
|
|
1340
1462
|
}
|
|
@@ -1343,10 +1465,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1343
1465
|
key: AXPSystemActionType.Download,
|
|
1344
1466
|
title: i18n('download.title'),
|
|
1345
1467
|
icon: 'fa-light fa-download',
|
|
1346
|
-
color: '
|
|
1468
|
+
color: 'default',
|
|
1347
1469
|
descriptions: {
|
|
1348
|
-
|
|
1349
|
-
tooltip: i18n('download.
|
|
1470
|
+
title: i18n('download.title'),
|
|
1471
|
+
tooltip: i18n('download.description'),
|
|
1350
1472
|
permission: i18n('download.permission'),
|
|
1351
1473
|
audit: i18n('download.audit')
|
|
1352
1474
|
}
|
|
@@ -1355,10 +1477,10 @@ const AXPSystemActions = Object.freeze({
|
|
|
1355
1477
|
key: AXPSystemActionType.Copy,
|
|
1356
1478
|
title: i18n('copy.title'),
|
|
1357
1479
|
icon: 'fa-light fa-copy',
|
|
1358
|
-
color: '
|
|
1480
|
+
color: 'default',
|
|
1359
1481
|
descriptions: {
|
|
1360
|
-
|
|
1361
|
-
tooltip: i18n('copy.
|
|
1482
|
+
title: i18n('copy.title'),
|
|
1483
|
+
tooltip: i18n('copy.description'),
|
|
1362
1484
|
permission: i18n('copy.permission'),
|
|
1363
1485
|
audit: i18n('copy.audit')
|
|
1364
1486
|
}
|
|
@@ -1369,8 +1491,8 @@ const AXPSystemActions = Object.freeze({
|
|
|
1369
1491
|
icon: 'fa-light fa-arrow-right-arrow-left',
|
|
1370
1492
|
color: 'default',
|
|
1371
1493
|
descriptions: {
|
|
1372
|
-
|
|
1373
|
-
tooltip: i18n('move.
|
|
1494
|
+
title: i18n('move.title'),
|
|
1495
|
+
tooltip: i18n('move.description'),
|
|
1374
1496
|
permission: i18n('move.permission'),
|
|
1375
1497
|
audit: i18n('move.audit')
|
|
1376
1498
|
}
|
|
@@ -1381,16 +1503,430 @@ const AXPSystemActions = Object.freeze({
|
|
|
1381
1503
|
icon: 'fa-light fa-pen',
|
|
1382
1504
|
color: 'default',
|
|
1383
1505
|
descriptions: {
|
|
1384
|
-
|
|
1385
|
-
tooltip: i18n('rename.
|
|
1506
|
+
title: i18n('rename.title'),
|
|
1507
|
+
tooltip: i18n('rename.description'),
|
|
1386
1508
|
permission: i18n('rename.permission'),
|
|
1387
1509
|
audit: i18n('rename.audit')
|
|
1388
1510
|
}
|
|
1389
1511
|
},
|
|
1512
|
+
Manage: {
|
|
1513
|
+
key: AXPSystemActionType.Manage,
|
|
1514
|
+
title: i18n('manage.title'),
|
|
1515
|
+
icon: 'fa-light fa-gear',
|
|
1516
|
+
color: 'default',
|
|
1517
|
+
descriptions: {
|
|
1518
|
+
title: i18n('manage.title'),
|
|
1519
|
+
tooltip: i18n('manage.description'),
|
|
1520
|
+
permission: i18n('manage.permission'),
|
|
1521
|
+
audit: i18n('manage.audit')
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
Info: {
|
|
1525
|
+
key: AXPSystemActionType.Info,
|
|
1526
|
+
title: i18n('info.title'),
|
|
1527
|
+
icon: 'fa-light fa-info',
|
|
1528
|
+
color: 'default',
|
|
1529
|
+
descriptions: {
|
|
1530
|
+
title: i18n('info.title'),
|
|
1531
|
+
tooltip: i18n('info.description'),
|
|
1532
|
+
permission: i18n('info.permission'),
|
|
1533
|
+
audit: i18n('info.audit')
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
Confirm: {
|
|
1537
|
+
key: AXPSystemActionType.Confirm,
|
|
1538
|
+
title: i18n('confirm.title'),
|
|
1539
|
+
icon: 'fa-light fa-check',
|
|
1540
|
+
color: 'success',
|
|
1541
|
+
descriptions: {
|
|
1542
|
+
title: i18n('confirm.title'),
|
|
1543
|
+
tooltip: i18n('confirm.description'),
|
|
1544
|
+
permission: i18n('confirm.permission'),
|
|
1545
|
+
audit: i18n('confirm.audit')
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
Design: {
|
|
1549
|
+
key: AXPSystemActionType.Design,
|
|
1550
|
+
title: i18n('design.title'),
|
|
1551
|
+
icon: 'fa-light fa-paintbrush',
|
|
1552
|
+
color: 'default',
|
|
1553
|
+
descriptions: {
|
|
1554
|
+
title: i18n('design.title'),
|
|
1555
|
+
tooltip: i18n('design.description'),
|
|
1556
|
+
permission: i18n('design.permission'),
|
|
1557
|
+
audit: i18n('design.audit')
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
VersionHistory: {
|
|
1561
|
+
key: AXPSystemActionType.VersionHistory,
|
|
1562
|
+
title: i18n('version-history.title'),
|
|
1563
|
+
icon: 'fa-light fa-history',
|
|
1564
|
+
color: 'default',
|
|
1565
|
+
descriptions: {
|
|
1566
|
+
title: i18n('version-history.title'),
|
|
1567
|
+
tooltip: i18n('version-history.description'),
|
|
1568
|
+
permission: i18n('version-history.permission'),
|
|
1569
|
+
audit: i18n('version-history.audit')
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
Compare: {
|
|
1573
|
+
key: AXPSystemActionType.Compare,
|
|
1574
|
+
title: i18n('compare.title'),
|
|
1575
|
+
icon: 'fa-light fa-code-compare',
|
|
1576
|
+
color: 'default',
|
|
1577
|
+
descriptions: {
|
|
1578
|
+
title: i18n('compare.title'),
|
|
1579
|
+
tooltip: i18n('compare.description'),
|
|
1580
|
+
permission: i18n('compare.permission'),
|
|
1581
|
+
audit: i18n('compare.audit')
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
Comments: {
|
|
1585
|
+
key: AXPSystemActionType.Comments,
|
|
1586
|
+
title: i18n('comments.title'),
|
|
1587
|
+
icon: 'fa-light fa-comments',
|
|
1588
|
+
color: 'default',
|
|
1589
|
+
descriptions: {
|
|
1590
|
+
title: i18n('comments.title'),
|
|
1591
|
+
tooltip: i18n('comments.description'),
|
|
1592
|
+
permission: i18n('comments.permission'),
|
|
1593
|
+
audit: i18n('comments.audit')
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
Sign: {
|
|
1597
|
+
key: AXPSystemActionType.Sign,
|
|
1598
|
+
title: i18n('sign.title'),
|
|
1599
|
+
icon: 'fa-light fa-signature',
|
|
1600
|
+
color: 'default',
|
|
1601
|
+
descriptions: {
|
|
1602
|
+
title: i18n('sign.title'),
|
|
1603
|
+
tooltip: i18n('sign.description'),
|
|
1604
|
+
permission: i18n('sign.permission'),
|
|
1605
|
+
audit: i18n('sign.audit')
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1608
|
+
Setup: {
|
|
1609
|
+
key: AXPSystemActionType.Setup,
|
|
1610
|
+
title: i18n('setup.title'),
|
|
1611
|
+
icon: 'fa-light fa-cog',
|
|
1612
|
+
color: 'default',
|
|
1613
|
+
descriptions: {
|
|
1614
|
+
title: i18n('setup.title'),
|
|
1615
|
+
tooltip: i18n('setup.description'),
|
|
1616
|
+
permission: i18n('setup.permission'),
|
|
1617
|
+
audit: i18n('setup.audit')
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
Send: {
|
|
1621
|
+
key: AXPSystemActionType.Send,
|
|
1622
|
+
title: i18n('send.title'),
|
|
1623
|
+
icon: 'fa-light fa-envelope',
|
|
1624
|
+
color: 'default',
|
|
1625
|
+
descriptions: {
|
|
1626
|
+
title: i18n('send.title'),
|
|
1627
|
+
tooltip: i18n('send.description'),
|
|
1628
|
+
permission: i18n('send.permission'),
|
|
1629
|
+
audit: i18n('send.audit')
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
Report: {
|
|
1633
|
+
key: AXPSystemActionType.Report,
|
|
1634
|
+
title: i18n('report.title'),
|
|
1635
|
+
icon: 'fa-light fa-chart-line',
|
|
1636
|
+
color: 'default',
|
|
1637
|
+
descriptions: {
|
|
1638
|
+
title: i18n('report.title'),
|
|
1639
|
+
tooltip: i18n('report.description'),
|
|
1640
|
+
permission: i18n('report.permission'),
|
|
1641
|
+
audit: i18n('report.audit')
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
Sent: {
|
|
1645
|
+
key: AXPSystemActionType.Sent,
|
|
1646
|
+
title: i18n('sent.title'),
|
|
1647
|
+
icon: 'fa-light fa-paper-plane',
|
|
1648
|
+
color: 'default',
|
|
1649
|
+
descriptions: {
|
|
1650
|
+
title: i18n('sent.title'),
|
|
1651
|
+
tooltip: i18n('sent.description'),
|
|
1652
|
+
permission: i18n('sent.permission'),
|
|
1653
|
+
audit: i18n('sent.audit')
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
Review: {
|
|
1657
|
+
key: AXPSystemActionType.Review,
|
|
1658
|
+
title: i18n('review.title'),
|
|
1659
|
+
icon: 'fa-light fa-eye',
|
|
1660
|
+
color: 'default',
|
|
1661
|
+
descriptions: {
|
|
1662
|
+
title: i18n('review.title'),
|
|
1663
|
+
tooltip: i18n('review.description'),
|
|
1664
|
+
permission: i18n('review.permission'),
|
|
1665
|
+
audit: i18n('review.audit')
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
Generate: {
|
|
1669
|
+
key: AXPSystemActionType.Generate,
|
|
1670
|
+
title: i18n('generate.title'),
|
|
1671
|
+
icon: 'fa-light fa-wand-magic-sparkles',
|
|
1672
|
+
color: 'primary',
|
|
1673
|
+
descriptions: {
|
|
1674
|
+
title: i18n('generate.title'),
|
|
1675
|
+
tooltip: i18n('generate.description'),
|
|
1676
|
+
permission: i18n('generate.permission'),
|
|
1677
|
+
audit: i18n('generate.audit')
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
Refresh: {
|
|
1681
|
+
key: AXPSystemActionType.Refresh,
|
|
1682
|
+
title: i18n('refresh.title'),
|
|
1683
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1684
|
+
color: 'default',
|
|
1685
|
+
descriptions: {
|
|
1686
|
+
title: i18n('refresh.title'),
|
|
1687
|
+
tooltip: i18n('refresh.description'),
|
|
1688
|
+
permission: i18n('refresh.permission'),
|
|
1689
|
+
audit: i18n('refresh.audit')
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
Reload: {
|
|
1693
|
+
key: AXPSystemActionType.Reload,
|
|
1694
|
+
title: i18n('reload.title'),
|
|
1695
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1696
|
+
color: 'default',
|
|
1697
|
+
descriptions: {
|
|
1698
|
+
title: i18n('reload.title'),
|
|
1699
|
+
tooltip: i18n('reload.description'),
|
|
1700
|
+
permission: i18n('reload.permission'),
|
|
1701
|
+
audit: i18n('reload.audit')
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
Search: {
|
|
1705
|
+
key: AXPSystemActionType.Search,
|
|
1706
|
+
title: i18n('search.title'),
|
|
1707
|
+
icon: 'fa-light fa-magnifying-glass',
|
|
1708
|
+
color: 'default',
|
|
1709
|
+
descriptions: {
|
|
1710
|
+
title: i18n('search.title'),
|
|
1711
|
+
tooltip: i18n('search.description'),
|
|
1712
|
+
permission: i18n('search.permission'),
|
|
1713
|
+
audit: i18n('search.audit')
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
Filter: {
|
|
1717
|
+
key: AXPSystemActionType.Filter,
|
|
1718
|
+
title: i18n('filter.title'),
|
|
1719
|
+
icon: 'fa-light fa-filter',
|
|
1720
|
+
color: 'default',
|
|
1721
|
+
descriptions: {
|
|
1722
|
+
title: i18n('filter.title'),
|
|
1723
|
+
tooltip: i18n('filter.description'),
|
|
1724
|
+
permission: i18n('filter.permission'),
|
|
1725
|
+
audit: i18n('filter.audit')
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
Sort: {
|
|
1729
|
+
key: AXPSystemActionType.Sort,
|
|
1730
|
+
title: i18n('sort.title'),
|
|
1731
|
+
icon: 'fa-light fa-arrow-down-up-across-line',
|
|
1732
|
+
color: 'default',
|
|
1733
|
+
descriptions: {
|
|
1734
|
+
title: i18n('sort.title'),
|
|
1735
|
+
tooltip: i18n('sort.description'),
|
|
1736
|
+
permission: i18n('sort.permission'),
|
|
1737
|
+
audit: i18n('sort.audit')
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
Start: {
|
|
1741
|
+
key: AXPSystemActionType.Start,
|
|
1742
|
+
title: i18n('start.title'),
|
|
1743
|
+
icon: 'fa-light fa-play',
|
|
1744
|
+
color: 'success',
|
|
1745
|
+
descriptions: {
|
|
1746
|
+
title: i18n('start.title'),
|
|
1747
|
+
tooltip: i18n('start.description'),
|
|
1748
|
+
permission: i18n('start.permission'),
|
|
1749
|
+
audit: i18n('start.audit')
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
Stop: {
|
|
1753
|
+
key: AXPSystemActionType.Stop,
|
|
1754
|
+
title: i18n('stop.title'),
|
|
1755
|
+
icon: 'fa-light fa-stop',
|
|
1756
|
+
color: 'danger',
|
|
1757
|
+
critical: true,
|
|
1758
|
+
descriptions: {
|
|
1759
|
+
title: i18n('stop.title'),
|
|
1760
|
+
tooltip: i18n('stop.description'),
|
|
1761
|
+
permission: i18n('stop.permission'),
|
|
1762
|
+
audit: i18n('stop.audit')
|
|
1763
|
+
}
|
|
1764
|
+
},
|
|
1765
|
+
Pause: {
|
|
1766
|
+
key: AXPSystemActionType.Pause,
|
|
1767
|
+
title: i18n('pause.title'),
|
|
1768
|
+
icon: 'fa-light fa-pause',
|
|
1769
|
+
color: 'warning',
|
|
1770
|
+
descriptions: {
|
|
1771
|
+
title: i18n('pause.title'),
|
|
1772
|
+
tooltip: i18n('pause.description'),
|
|
1773
|
+
permission: i18n('pause.permission'),
|
|
1774
|
+
audit: i18n('pause.audit')
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
Cancel: {
|
|
1778
|
+
key: AXPSystemActionType.Cancel,
|
|
1779
|
+
title: i18n('cancel.title'),
|
|
1780
|
+
icon: 'fa-light fa-xmark',
|
|
1781
|
+
color: 'danger',
|
|
1782
|
+
critical: true,
|
|
1783
|
+
descriptions: {
|
|
1784
|
+
title: i18n('cancel.title'),
|
|
1785
|
+
tooltip: i18n('cancel.description'),
|
|
1786
|
+
permission: i18n('cancel.permission'),
|
|
1787
|
+
audit: i18n('cancel.audit')
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
Close: {
|
|
1791
|
+
key: AXPSystemActionType.Close,
|
|
1792
|
+
title: i18n('close.title'),
|
|
1793
|
+
icon: 'fa-light fa-xmark',
|
|
1794
|
+
color: 'default',
|
|
1795
|
+
descriptions: {
|
|
1796
|
+
title: i18n('close.title'),
|
|
1797
|
+
tooltip: i18n('close.description'),
|
|
1798
|
+
permission: i18n('close.permission'),
|
|
1799
|
+
audit: i18n('close.audit')
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
Complete: {
|
|
1803
|
+
key: AXPSystemActionType.Complete,
|
|
1804
|
+
title: i18n('complete.title'),
|
|
1805
|
+
icon: 'fa-light fa-check',
|
|
1806
|
+
color: 'success',
|
|
1807
|
+
descriptions: {
|
|
1808
|
+
title: i18n('complete.title'),
|
|
1809
|
+
tooltip: i18n('complete.description'),
|
|
1810
|
+
permission: i18n('complete.permission'),
|
|
1811
|
+
audit: i18n('complete.audit')
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
Save: {
|
|
1815
|
+
key: AXPSystemActionType.Save,
|
|
1816
|
+
title: i18n('save.title'),
|
|
1817
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1818
|
+
color: 'primary',
|
|
1819
|
+
descriptions: {
|
|
1820
|
+
title: i18n('save.title'),
|
|
1821
|
+
tooltip: i18n('save.description'),
|
|
1822
|
+
permission: i18n('save.permission'),
|
|
1823
|
+
audit: i18n('save.audit')
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
SaveAs: {
|
|
1827
|
+
key: AXPSystemActionType.SaveAs,
|
|
1828
|
+
title: i18n('save-as.title'),
|
|
1829
|
+
icon: 'fa-light fa-floppy-disk',
|
|
1830
|
+
color: 'default',
|
|
1831
|
+
descriptions: {
|
|
1832
|
+
title: i18n('save-as.title'),
|
|
1833
|
+
tooltip: i18n('save-as.description'),
|
|
1834
|
+
permission: i18n('save-as.permission'),
|
|
1835
|
+
audit: i18n('save-as.audit')
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
Sync: {
|
|
1839
|
+
key: AXPSystemActionType.Sync,
|
|
1840
|
+
title: i18n('sync.title'),
|
|
1841
|
+
icon: 'fa-light fa-arrows-rotate',
|
|
1842
|
+
color: 'default',
|
|
1843
|
+
descriptions: {
|
|
1844
|
+
title: i18n('sync.title'),
|
|
1845
|
+
tooltip: i18n('sync.description'),
|
|
1846
|
+
permission: i18n('sync.permission'),
|
|
1847
|
+
audit: i18n('sync.audit')
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
Reset: {
|
|
1851
|
+
key: AXPSystemActionType.Reset,
|
|
1852
|
+
title: i18n('reset.title'),
|
|
1853
|
+
icon: 'fa-light fa-arrow-rotate-left',
|
|
1854
|
+
color: 'warning',
|
|
1855
|
+
critical: true,
|
|
1856
|
+
descriptions: {
|
|
1857
|
+
title: i18n('reset.title'),
|
|
1858
|
+
tooltip: i18n('reset.description'),
|
|
1859
|
+
permission: i18n('reset.permission'),
|
|
1860
|
+
audit: i18n('reset.audit')
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
Clear: {
|
|
1864
|
+
key: AXPSystemActionType.Clear,
|
|
1865
|
+
title: i18n('clear.title'),
|
|
1866
|
+
icon: 'fa-light fa-eraser',
|
|
1867
|
+
color: 'default',
|
|
1868
|
+
descriptions: {
|
|
1869
|
+
title: i18n('clear.title'),
|
|
1870
|
+
tooltip: i18n('clear.description'),
|
|
1871
|
+
permission: i18n('clear.permission'),
|
|
1872
|
+
audit: i18n('clear.audit')
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1390
1875
|
});
|
|
1391
1876
|
function getSystemActions(type) {
|
|
1392
1877
|
return Object.values(AXPSystemActions).find(action => action.key === type);
|
|
1393
1878
|
}
|
|
1879
|
+
/**
|
|
1880
|
+
* Resolves the visual appearance (color and icon) for entity actions
|
|
1881
|
+
* using the system actions from the core module.
|
|
1882
|
+
*/
|
|
1883
|
+
function resolveActionLook(actionType) {
|
|
1884
|
+
// Try to get system action first
|
|
1885
|
+
const systemActionType = actionType;
|
|
1886
|
+
if (systemActionType) {
|
|
1887
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1888
|
+
if (systemAction) {
|
|
1889
|
+
return {
|
|
1890
|
+
color: (systemAction.color || 'default'),
|
|
1891
|
+
icon: systemAction.icon || ''
|
|
1892
|
+
};
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
// Fallback for unknown actions
|
|
1896
|
+
return {
|
|
1897
|
+
color: 'default',
|
|
1898
|
+
icon: ''
|
|
1899
|
+
};
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* Resolves the title, description, icon and color for button actions
|
|
1903
|
+
* using the system actions from the core module.
|
|
1904
|
+
* @param actionType
|
|
1905
|
+
* @returns
|
|
1906
|
+
*/
|
|
1907
|
+
function getActionButton(actionType) {
|
|
1908
|
+
const systemActionType = actionType;
|
|
1909
|
+
if (systemActionType) {
|
|
1910
|
+
const systemAction = getSystemActions(systemActionType);
|
|
1911
|
+
if (systemAction) {
|
|
1912
|
+
return {
|
|
1913
|
+
name: actionType,
|
|
1914
|
+
icon: systemAction.icon || '',
|
|
1915
|
+
color: systemAction.color || 'default',
|
|
1916
|
+
title: systemAction.title,
|
|
1917
|
+
description: systemAction.descriptions.title
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
}
|
|
1921
|
+
// Fallback for unknown actions
|
|
1922
|
+
return {
|
|
1923
|
+
name: actionType,
|
|
1924
|
+
title: actionType,
|
|
1925
|
+
description: `Perform ${actionType} action`,
|
|
1926
|
+
icon: '',
|
|
1927
|
+
color: 'default'
|
|
1928
|
+
};
|
|
1929
|
+
}
|
|
1394
1930
|
|
|
1395
1931
|
function getNestedKeys(obj, prefix = '') {
|
|
1396
1932
|
let keys = [];
|
|
@@ -1499,10 +2035,10 @@ class AXPCountdownPipe {
|
|
|
1499
2035
|
updateTargetDate(value) {
|
|
1500
2036
|
this.targetDate = new Date(value).getTime();
|
|
1501
2037
|
}
|
|
1502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1503
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.
|
|
2038
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
2039
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: AXPCountdownPipe, isStandalone: true, name: "countdown", pure: false }); }
|
|
1504
2040
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPCountdownPipe, decorators: [{
|
|
1506
2042
|
type: Pipe,
|
|
1507
2043
|
args: [{
|
|
1508
2044
|
name: 'countdown',
|
|
@@ -1817,10 +2353,10 @@ class AXHighlightService {
|
|
|
1817
2353
|
resultHTML += '</span>';
|
|
1818
2354
|
return resultHTML;
|
|
1819
2355
|
}
|
|
1820
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1821
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXHighlightService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2357
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXHighlightService, providedIn: 'root' }); }
|
|
1822
2358
|
}
|
|
1823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXHighlightService, decorators: [{
|
|
1824
2360
|
type: Injectable,
|
|
1825
2361
|
args: [{
|
|
1826
2362
|
providedIn: 'root',
|
|
@@ -1844,10 +2380,10 @@ class AXPActivityLogService {
|
|
|
1844
2380
|
async getHistoryByIds(refId, refType, ids) {
|
|
1845
2381
|
return (await Promise.all(this.providers?.map((p) => p.getHistoryByIds(refId, refType, ids)) ?? [])).flat();
|
|
1846
2382
|
}
|
|
1847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1848
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2383
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPActivityLogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2384
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPActivityLogService, providedIn: 'root' }); }
|
|
1849
2385
|
}
|
|
1850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPActivityLogService, decorators: [{
|
|
1851
2387
|
type: Injectable,
|
|
1852
2388
|
args: [{ providedIn: 'root' }]
|
|
1853
2389
|
}] });
|
|
@@ -1880,7 +2416,6 @@ class AXPDistributedEventListenerService {
|
|
|
1880
2416
|
const providers = await this.resolveProviders();
|
|
1881
2417
|
const matched = providers.filter(p => p.key === key);
|
|
1882
2418
|
if (!matched.length) {
|
|
1883
|
-
console.warn(`[AXPDistributedEventListenerService] No provider found for key='${key}'`);
|
|
1884
2419
|
return;
|
|
1885
2420
|
}
|
|
1886
2421
|
for (const provider of matched) {
|
|
@@ -1911,7 +2446,6 @@ class AXPDistributedEventListenerService {
|
|
|
1911
2446
|
const timer = setTimeout(() => {
|
|
1912
2447
|
if (!finished) {
|
|
1913
2448
|
if (n < options.retries) {
|
|
1914
|
-
console.warn(`[dispatchAsync] retrying key='${key}' (${n + 1}/${options.retries})`);
|
|
1915
2449
|
resolve(attempt(n + 1));
|
|
1916
2450
|
}
|
|
1917
2451
|
else {
|
|
@@ -1993,10 +2527,10 @@ class AXPDistributedEventListenerService {
|
|
|
1993
2527
|
this.listenersByKey.clear();
|
|
1994
2528
|
this.providersLoaded = false;
|
|
1995
2529
|
}
|
|
1996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1997
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPDistributedEventListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2531
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPDistributedEventListenerService, providedIn: 'root' }); }
|
|
1998
2532
|
}
|
|
1999
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2533
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPDistributedEventListenerService, decorators: [{
|
|
2000
2534
|
type: Injectable,
|
|
2001
2535
|
args: [{
|
|
2002
2536
|
providedIn: 'root',
|
|
@@ -2049,10 +2583,10 @@ class AXPHookService {
|
|
|
2049
2583
|
}
|
|
2050
2584
|
return data;
|
|
2051
2585
|
}
|
|
2052
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2053
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPHookService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2587
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPHookService, providedIn: 'root' }); }
|
|
2054
2588
|
}
|
|
2055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXPHookService, decorators: [{
|
|
2056
2590
|
type: Injectable,
|
|
2057
2591
|
args: [{ providedIn: 'root' }]
|
|
2058
2592
|
}] });
|
|
@@ -2061,5 +2595,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
2061
2595
|
* Generated bundle index. Do not edit.
|
|
2062
2596
|
*/
|
|
2063
2597
|
|
|
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 };
|
|
2598
|
+
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
2599
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|