@acorex/platform 20.3.0-next.9 → 20.4.1
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 +643 -365
- package/core/index.d.ts +19 -4
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs +47 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-9OHien_H.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +674 -243
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +58 -46
- 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 +1933 -2330
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1511 -1626
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +82 -82
- 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 +1371 -917
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +63 -54
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2758 -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-Cmtq2bBV.mjs → acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-D8ivmxzT.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-CMqq_iOj.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs} +8 -8
- 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} +4154 -3147
- 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-B1PT6FtZ.mjs +115 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-B1PT6FtZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs → acorex-platform-themes-default-entity-master-list-view.component-rdKxuMC_.mjs} +69 -33
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-rdKxuMC_.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-4g19A3eI.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 +118 -54
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs → acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs} +8 -8
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs} +5 -5
- 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-DEVzRd6-.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +66 -55
- 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 -868
- package/layout/components/index.d.ts +218 -714
- package/layout/designer/index.d.ts +4 -4
- package/layout/entity/index.d.ts +954 -375
- package/layout/views/index.d.ts +13 -14
- package/layout/widget-core/README.md +4 -0
- package/layout/widget-core/index.d.ts +959 -0
- package/layout/widgets/README.md +4 -0
- package/{widgets → layout/widgets}/index.d.ts +426 -365
- package/package.json +18 -14
- 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-Ct-ri59W.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.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-BgEh06Tn.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.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-BXPrXy-h.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BXPrXy-h.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs +0 -92
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-BVZ7lWm9.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-BVZ7lWm9.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-Cmtq2bBV.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-D8ivmxzT.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-CMqq_iOj.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
package/common/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, Injector, ErrorHandler, ModuleWithProviders, EventEmitter, ElementRef, Renderer2, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { AXStyleColorType, AXDataSourceOperator, AXDataSourceFilterOption } from '@acorex/cdk/common';
|
|
4
4
|
import * as i2 from '@acorex/components/popup';
|
|
5
5
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
6
|
-
import {
|
|
7
|
-
import { AXPWidgetTypesMap, AXPWidgetNode, AXPMetaDataDefinition } from '@acorex/platform/layout/
|
|
6
|
+
import { AXPValueTransformerFunctions, AXPGridLayoutOptions, AXPValidationRules, AXPSystemActionType, AXPMetaData, AXPOptionsData, AXPPlatformScope, AXPPlatformScopeKey, AXPWidgetTriggers, AXPAppStartUpService, AXPLogoConfig, AXPNavigateActionCommand, AXPExecuteCommand, AXPEntityReference, AXPApplicationUserReference, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
7
|
+
import { AXPWidgetTypesMap, AXPWidgetNode, AXPMetaDataDefinition } from '@acorex/platform/layout/widget-core';
|
|
8
8
|
import * as i5 from '@angular/router';
|
|
9
9
|
import { Route, Routes } from '@angular/router';
|
|
10
10
|
import { Subject } from 'rxjs';
|
|
@@ -32,305 +32,6 @@ declare class AXPAppVersionService {
|
|
|
32
32
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPAppVersionService>;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
interface AXPGridLayoutPositions {
|
|
36
|
-
colStart?: number;
|
|
37
|
-
colEnd?: number;
|
|
38
|
-
colSpan?: number;
|
|
39
|
-
rowStart?: number;
|
|
40
|
-
rowEnd?: number;
|
|
41
|
-
rowSpan?: number;
|
|
42
|
-
order?: string | number;
|
|
43
|
-
}
|
|
44
|
-
interface AXPGridLayoutOptions {
|
|
45
|
-
positions?: {
|
|
46
|
-
default?: AXPGridLayoutPositions;
|
|
47
|
-
md?: AXPGridLayoutPositions;
|
|
48
|
-
lg?: AXPGridLayoutPositions;
|
|
49
|
-
xl?: AXPGridLayoutPositions;
|
|
50
|
-
xxl?: AXPGridLayoutPositions;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
declare class AXPGridLayoutDirective implements OnChanges {
|
|
55
|
-
private el;
|
|
56
|
-
private renderer;
|
|
57
|
-
options: AXPGridLayoutOptions;
|
|
58
|
-
constructor(el: ElementRef, renderer: Renderer2);
|
|
59
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
60
|
-
private applyTailwindClasses;
|
|
61
|
-
private setClasses;
|
|
62
|
-
private clearClasses;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPGridLayoutDirective, never>;
|
|
64
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPGridLayoutDirective, "[gridLayout]", never, { "options": { "alias": "gridLayout"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
declare class AXPStickyDirective {
|
|
68
|
-
private element;
|
|
69
|
-
private renderer;
|
|
70
|
-
private zone;
|
|
71
|
-
private cdr;
|
|
72
|
-
stickyClass: string;
|
|
73
|
-
stickyOffset: number;
|
|
74
|
-
isStickyChange: EventEmitter<boolean>;
|
|
75
|
-
private _isSticky;
|
|
76
|
-
get isSticky(): boolean;
|
|
77
|
-
set isSticky(value: boolean);
|
|
78
|
-
private topOffset;
|
|
79
|
-
private parentElement;
|
|
80
|
-
private targetElement;
|
|
81
|
-
private mutationObserver;
|
|
82
|
-
stickyParent: string | HTMLElement;
|
|
83
|
-
stickyTarget: string;
|
|
84
|
-
constructor(element: ElementRef<HTMLDivElement>, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
85
|
-
ngAfterViewInit(): void;
|
|
86
|
-
private initSticky;
|
|
87
|
-
private updateTopOffset;
|
|
88
|
-
private onParentScroll;
|
|
89
|
-
private toggleStickyClasses;
|
|
90
|
-
ngOnDestroy(): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStickyDirective, never>;
|
|
92
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPStickyDirective, "[axpSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
declare class AXPLogoComponent {
|
|
96
|
-
source: any;
|
|
97
|
-
protected logoType: string;
|
|
98
|
-
private platform;
|
|
99
|
-
ngOnInit(): void;
|
|
100
|
-
ngOnChanges(): void;
|
|
101
|
-
protected setLogoType(): void;
|
|
102
|
-
protected setLogoTheme(): void;
|
|
103
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
|
|
104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "source": { "alias": "source"; "required": false; }; }, {}, never, never, true, never>;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
108
|
-
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
109
|
-
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
110
|
-
interface AXPMenuItem {
|
|
111
|
-
text: string;
|
|
112
|
-
type?: AXPMenuType;
|
|
113
|
-
name?: string;
|
|
114
|
-
description?: string;
|
|
115
|
-
icon?: string;
|
|
116
|
-
priority?: number;
|
|
117
|
-
children?: AXPMenuItem[];
|
|
118
|
-
path?: string;
|
|
119
|
-
command?: AXPMenuItemCommand | undefined;
|
|
120
|
-
badgeKey?: string;
|
|
121
|
-
data?: any;
|
|
122
|
-
meta?: AXPMetaData;
|
|
123
|
-
}
|
|
124
|
-
interface AXPMenuFinderResult {
|
|
125
|
-
insert(items: AXPMenuItem[], position: AXPMenuInsertion): void;
|
|
126
|
-
remove(): void;
|
|
127
|
-
update(updatedItem: Partial<AXPMenuItem>): void;
|
|
128
|
-
addItems(items: AXPMenuItem[]): void;
|
|
129
|
-
}
|
|
130
|
-
interface AXPMenuProviderContext {
|
|
131
|
-
addItems(items: AXPMenuItem[]): void;
|
|
132
|
-
find(target: string): AXPMenuFinderResult;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
interface AXPMenuProvider {
|
|
136
|
-
provide(context: AXPMenuProviderContext): Promise<void>;
|
|
137
|
-
}
|
|
138
|
-
declare const AXP_MENU_PROVIDER: InjectionToken<AXPMenuProvider[]>;
|
|
139
|
-
declare class AXPMenuProviderService {
|
|
140
|
-
private providers;
|
|
141
|
-
private cache;
|
|
142
|
-
private pendingInserts;
|
|
143
|
-
private pendingRemovals;
|
|
144
|
-
private pendingUpdates;
|
|
145
|
-
private pendingAdditions;
|
|
146
|
-
items(): Promise<AXPMenuItem[]>;
|
|
147
|
-
private createMenuProviderContext;
|
|
148
|
-
private applyPendingOperations;
|
|
149
|
-
private findItemWithParent;
|
|
150
|
-
clearCache(): void;
|
|
151
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMenuProviderService, never>;
|
|
152
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMenuProviderService>;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
declare const AXPMenuService: i0.Type<{
|
|
156
|
-
items: i0.Signal<AXPMenuItem[]>;
|
|
157
|
-
selectedMenuItem: _ngrx_signals.DeepSignal<{
|
|
158
|
-
item: AXPMenuItem | null;
|
|
159
|
-
isFullMatch: boolean;
|
|
160
|
-
}>;
|
|
161
|
-
setMenuItems: (items: AXPMenuItem[]) => void;
|
|
162
|
-
selectMenuItemByRoute: (path: string) => void;
|
|
163
|
-
executeCommand: (item: AXPMenuItem) => void;
|
|
164
|
-
isItemOpen: (item: AXPMenuItem) => boolean;
|
|
165
|
-
} & _ngrx_signals.StateSource<{
|
|
166
|
-
items: AXPMenuItem[];
|
|
167
|
-
selectedMenuItem: {
|
|
168
|
-
item: AXPMenuItem | null;
|
|
169
|
-
isFullMatch: boolean;
|
|
170
|
-
};
|
|
171
|
-
}>>;
|
|
172
|
-
|
|
173
|
-
interface AXPSearchDefinitionDisplayFormat {
|
|
174
|
-
title?: string;
|
|
175
|
-
description?: string;
|
|
176
|
-
icon?: string;
|
|
177
|
-
id?: string;
|
|
178
|
-
}
|
|
179
|
-
interface AXPSearchDefinition {
|
|
180
|
-
name: string;
|
|
181
|
-
title: string;
|
|
182
|
-
group: string;
|
|
183
|
-
icon: string;
|
|
184
|
-
order: number;
|
|
185
|
-
format: AXPSearchDefinitionDisplayFormat;
|
|
186
|
-
actions: AXPSearchAction[];
|
|
187
|
-
}
|
|
188
|
-
interface AXPSearchParentResult {
|
|
189
|
-
title: string;
|
|
190
|
-
data?: any;
|
|
191
|
-
}
|
|
192
|
-
interface AXPSearchResult {
|
|
193
|
-
id?: string;
|
|
194
|
-
group: string;
|
|
195
|
-
data?: any;
|
|
196
|
-
title?: string;
|
|
197
|
-
description?: string;
|
|
198
|
-
icon?: string;
|
|
199
|
-
command: AXPExecuteCommand;
|
|
200
|
-
parent?: AXPSearchParentResult;
|
|
201
|
-
}
|
|
202
|
-
interface AXPSearchDisplayGroupResult {
|
|
203
|
-
name: string;
|
|
204
|
-
title: string;
|
|
205
|
-
order: number;
|
|
206
|
-
children: AXPSearchDisplayResult[];
|
|
207
|
-
}
|
|
208
|
-
interface AXPSearchDisplayResult {
|
|
209
|
-
id: string;
|
|
210
|
-
definitionName?: string;
|
|
211
|
-
definitionTitle?: string;
|
|
212
|
-
name: string;
|
|
213
|
-
title: string;
|
|
214
|
-
description?: string;
|
|
215
|
-
icon: string;
|
|
216
|
-
data?: any;
|
|
217
|
-
order?: any;
|
|
218
|
-
command: AXPExecuteCommand;
|
|
219
|
-
parent?: AXPSearchParentResult;
|
|
220
|
-
actions: AXPSearchAction[];
|
|
221
|
-
}
|
|
222
|
-
interface AXPSearchDisplayResultForSave {
|
|
223
|
-
id: string;
|
|
224
|
-
name: string;
|
|
225
|
-
title: string;
|
|
226
|
-
description?: string;
|
|
227
|
-
icon: string;
|
|
228
|
-
command: AXPExecuteCommand;
|
|
229
|
-
parent?: {
|
|
230
|
-
title: string;
|
|
231
|
-
description?: string;
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
interface AXPSearchAction extends Partial<AXPCommandActionLook> {
|
|
235
|
-
name: string;
|
|
236
|
-
type: AXPSystemActionType | string;
|
|
237
|
-
priority: AXPCommandActionPriority;
|
|
238
|
-
separated?: boolean;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
declare class AXPSearchDefinitionProviderContext {
|
|
242
|
-
private definitions;
|
|
243
|
-
private definitionMap;
|
|
244
|
-
addDefinition(name: string, title: string, group: string, icon: string, order: number, options?: {
|
|
245
|
-
format?: AXPSearchDefinitionDisplayFormat;
|
|
246
|
-
actions?: AXPSearchAction[];
|
|
247
|
-
}): AXPSearchDefinitionBuilder;
|
|
248
|
-
getDefinitions(): AXPSearchDefinition[];
|
|
249
|
-
hasEntity(name: string): boolean;
|
|
250
|
-
getDefinition(name: string): AXPSearchDefinition | undefined;
|
|
251
|
-
}
|
|
252
|
-
declare class AXPSearchDefinitionBuilder {
|
|
253
|
-
private context;
|
|
254
|
-
private definition;
|
|
255
|
-
constructor(context: AXPSearchDefinitionProviderContext, definition: AXPSearchDefinition);
|
|
256
|
-
addAction(name: string): AXPSearchDefinitionActionBuilder;
|
|
257
|
-
action(name: string): AXPSearchDefinitionActionBuilder | null;
|
|
258
|
-
endEntity(): AXPSearchDefinitionProviderContext;
|
|
259
|
-
}
|
|
260
|
-
declare class AXPSearchDefinitionActionBuilder {
|
|
261
|
-
private entityBuilder;
|
|
262
|
-
constructor(entityBuilder: AXPSearchDefinitionBuilder);
|
|
263
|
-
endAction(): AXPSearchDefinitionBuilder;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
interface AXPSearchDefinitionProvider {
|
|
267
|
-
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
268
|
-
}
|
|
269
|
-
declare const AXP_SEARCH_DEFINITION_PROVIDER: InjectionToken<AXPSearchDefinitionProvider[]>;
|
|
270
|
-
declare class AXPSearchDefinitionProviderService {
|
|
271
|
-
private providers;
|
|
272
|
-
private cache;
|
|
273
|
-
private load;
|
|
274
|
-
getListAsync(): Promise<AXPSearchDefinition[]>;
|
|
275
|
-
getList(): AXPSearchDefinition[];
|
|
276
|
-
findDefinition(definitionName: string): AXPSearchDefinition;
|
|
277
|
-
findDefinitionByGroup(definitionGroup: string): AXPSearchDefinition;
|
|
278
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchDefinitionProviderService, never>;
|
|
279
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchDefinitionProviderService>;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
interface AXPSearchProvider {
|
|
283
|
-
search(text: string): Promise<AXPSearchResult[]>;
|
|
284
|
-
}
|
|
285
|
-
declare abstract class AXPSearchCommandProvider {
|
|
286
|
-
abstract commands: AXPSearchResult[];
|
|
287
|
-
search(text: string): Promise<AXPSearchResult[]>;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
declare const AXP_SEARCH_PROVIDER: InjectionToken<AXPSearchProvider[]>;
|
|
291
|
-
declare class AXPSearchService {
|
|
292
|
-
private providers;
|
|
293
|
-
private definitionService;
|
|
294
|
-
private formatService;
|
|
295
|
-
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
296
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchService, never>;
|
|
297
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchService>;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
declare class AXPMenuSearchDefinitionProvider implements AXPSearchDefinitionProvider {
|
|
301
|
-
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
interface AXPMenuItemWithParent extends AXPMenuItem {
|
|
305
|
-
parent?: AXPMenuItem;
|
|
306
|
-
}
|
|
307
|
-
declare class AXPMenuSearchProvider implements AXPSearchProvider {
|
|
308
|
-
menuService: AXPMenuProviderService;
|
|
309
|
-
translateService: AXTranslationService;
|
|
310
|
-
search(text: string): Promise<AXPSearchResult[]>;
|
|
311
|
-
/**
|
|
312
|
-
* Recursively searches AXPMenuItem and its children for a matching text.
|
|
313
|
-
*
|
|
314
|
-
* @param menuItems - The array of AXPMenuItem to search in.
|
|
315
|
-
* @param searchText - The text to search for (case-insensitive).
|
|
316
|
-
* @returns An array of AXPMenuItem that match the search text.
|
|
317
|
-
*/
|
|
318
|
-
private searchMenuItems;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
declare class AXPFooterTextSlotComponent {
|
|
322
|
-
text: string;
|
|
323
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFooterTextSlotComponent, never>;
|
|
324
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPFooterTextSlotComponent, "ng-component", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
declare class AXPNavBarSlotComponent {
|
|
328
|
-
items: AXPMenuItem[];
|
|
329
|
-
protected handleCommand(action?: AXPMenuItemCommand): void;
|
|
330
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPNavBarSlotComponent, never>;
|
|
331
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPNavBarSlotComponent, "ng-component", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
35
|
interface AXEntityPropertyWidget {
|
|
335
36
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
336
37
|
path?: string;
|
|
@@ -993,6 +694,10 @@ interface AXPPlatformConfigs {
|
|
|
993
694
|
declare const AXPPlatformDefaultConfigs: AXPPlatformConfigs;
|
|
994
695
|
declare function configPlatform(config?: Partial<AXPPlatformConfigs>): AXPPlatformConfigs;
|
|
995
696
|
|
|
697
|
+
declare enum AXPCommonSettings {
|
|
698
|
+
EnableOperationToasts = "general:notifications:enable-operation-toasts"
|
|
699
|
+
}
|
|
700
|
+
|
|
996
701
|
declare const AXP_ROOT_CONFIG_TOKEN: InjectionToken<AXPRootConfigs>;
|
|
997
702
|
interface AXPRootConfigs {
|
|
998
703
|
baseUrl: string;
|
|
@@ -1281,97 +986,606 @@ interface AXPFileStorageFindRequest {
|
|
|
1281
986
|
*/
|
|
1282
987
|
isPublic?: boolean;
|
|
1283
988
|
/**
|
|
1284
|
-
* Indicates whether the file is primary or not.
|
|
989
|
+
* Indicates whether the file is primary or not.
|
|
990
|
+
*/
|
|
991
|
+
isPrimary?: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* The date and time range when the file was uploaded.
|
|
994
|
+
*/
|
|
995
|
+
uploadedAtRange?: {
|
|
996
|
+
from: Date;
|
|
997
|
+
to: Date;
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
declare abstract class AXPFileStorageService {
|
|
1002
|
+
abstract save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
|
|
1003
|
+
abstract update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
|
|
1004
|
+
abstract find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
|
|
1005
|
+
abstract findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
|
|
1006
|
+
abstract getInfo(fileId: string): Promise<AXPFileStorageInfo>;
|
|
1007
|
+
abstract remove(fileId: string): Promise<void>;
|
|
1008
|
+
abstract commit(fileId: string): Promise<void>;
|
|
1009
|
+
abstract markForDeletion(fileId: string): Promise<void>;
|
|
1010
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileStorageService, never>;
|
|
1011
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileStorageService>;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
interface AXPFileType {
|
|
1015
|
+
/**
|
|
1016
|
+
* The unique identifier for the file type.
|
|
1017
|
+
*/
|
|
1018
|
+
/**
|
|
1019
|
+
* The name unique of the file type.
|
|
1020
|
+
*/
|
|
1021
|
+
name: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* The title of the file type.
|
|
1024
|
+
*/
|
|
1025
|
+
title: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* The description of the file type.
|
|
1028
|
+
*/
|
|
1029
|
+
description?: string;
|
|
1030
|
+
extensions: AXPFileExtension[];
|
|
1031
|
+
/**
|
|
1032
|
+
* The icon of the file type.
|
|
1033
|
+
*/
|
|
1034
|
+
icon?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* The metadata associated with the file type.
|
|
1037
|
+
*/
|
|
1038
|
+
meta?: AXPMetaDataDefinition[];
|
|
1039
|
+
}
|
|
1040
|
+
interface AXPFileExtension {
|
|
1041
|
+
/**
|
|
1042
|
+
* The unique identifier for the file extension.
|
|
1043
|
+
*/
|
|
1044
|
+
/**
|
|
1045
|
+
* The name unique of the file extension.
|
|
1046
|
+
*/
|
|
1047
|
+
name: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* The title of the file extension.
|
|
1050
|
+
*/
|
|
1051
|
+
title: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* The description of the file extension.
|
|
1054
|
+
*/
|
|
1055
|
+
description?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* The icon of the file type.
|
|
1058
|
+
*/
|
|
1059
|
+
icon?: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* The color of the file type.
|
|
1062
|
+
*/
|
|
1063
|
+
color?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* The metadata associated with the file extension.
|
|
1066
|
+
*/
|
|
1067
|
+
meta?: AXPMetaDataDefinition[];
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
interface AXPFileTypeInfoProvider {
|
|
1071
|
+
items(): Promise<AXPFileType[]>;
|
|
1072
|
+
}
|
|
1073
|
+
declare const AXP_FILE_TYPE_INFO_PROVIDER: InjectionToken<AXPFileTypeInfoProvider[]>;
|
|
1074
|
+
declare class AXPFileTypeProviderService implements AXPFileTypeInfoProvider {
|
|
1075
|
+
private providers;
|
|
1076
|
+
items(): Promise<AXPFileType[]>;
|
|
1077
|
+
get(name: string): Promise<AXPFileType | undefined>;
|
|
1078
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileTypeProviderService, never>;
|
|
1079
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileTypeProviderService>;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
declare class AXPStickyDirective {
|
|
1083
|
+
private element;
|
|
1084
|
+
private renderer;
|
|
1085
|
+
private zone;
|
|
1086
|
+
private cdr;
|
|
1087
|
+
stickyClass: string;
|
|
1088
|
+
stickyOffset: number;
|
|
1089
|
+
isStickyChange: EventEmitter<boolean>;
|
|
1090
|
+
private _isSticky;
|
|
1091
|
+
get isSticky(): boolean;
|
|
1092
|
+
set isSticky(value: boolean);
|
|
1093
|
+
private topOffset;
|
|
1094
|
+
private parentElement;
|
|
1095
|
+
private targetElement;
|
|
1096
|
+
private mutationObserver;
|
|
1097
|
+
stickyParent: string | HTMLElement;
|
|
1098
|
+
stickyTarget: string;
|
|
1099
|
+
constructor(element: ElementRef<HTMLDivElement>, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
1100
|
+
ngAfterViewInit(): void;
|
|
1101
|
+
private initSticky;
|
|
1102
|
+
private updateTopOffset;
|
|
1103
|
+
private onParentScroll;
|
|
1104
|
+
private toggleStickyClasses;
|
|
1105
|
+
ngOnDestroy(): void;
|
|
1106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStickyDirective, never>;
|
|
1107
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPStickyDirective, "[axpSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
declare class AXPLogoComponent {
|
|
1111
|
+
source: any;
|
|
1112
|
+
protected logoType: string;
|
|
1113
|
+
private platform;
|
|
1114
|
+
ngOnInit(): void;
|
|
1115
|
+
ngOnChanges(): void;
|
|
1116
|
+
protected setLogoType(): void;
|
|
1117
|
+
protected setLogoTheme(): void;
|
|
1118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
|
|
1119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "source": { "alias": "source"; "required": false; }; }, {}, never, never, true, never>;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
1123
|
+
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
1124
|
+
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
1125
|
+
interface AXPMenuItem {
|
|
1126
|
+
text: string;
|
|
1127
|
+
type?: AXPMenuType;
|
|
1128
|
+
name?: string;
|
|
1129
|
+
description?: string;
|
|
1130
|
+
icon?: string;
|
|
1131
|
+
priority?: number;
|
|
1132
|
+
children?: AXPMenuItem[];
|
|
1133
|
+
path?: string;
|
|
1134
|
+
command?: AXPMenuItemCommand | undefined;
|
|
1135
|
+
badgeKey?: string;
|
|
1136
|
+
data?: any;
|
|
1137
|
+
meta?: AXPMetaData;
|
|
1138
|
+
}
|
|
1139
|
+
interface AXPMenuFinderResult {
|
|
1140
|
+
insert(items: AXPMenuItem[], position: AXPMenuInsertion): void;
|
|
1141
|
+
remove(): void;
|
|
1142
|
+
update(updatedItem: Partial<AXPMenuItem>): void;
|
|
1143
|
+
addItems(items: AXPMenuItem[]): void;
|
|
1144
|
+
}
|
|
1145
|
+
interface AXPMenuProviderContext {
|
|
1146
|
+
addItems(items: AXPMenuItem[]): void;
|
|
1147
|
+
find(target: string): AXPMenuFinderResult;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
interface AXPMenuProvider {
|
|
1151
|
+
provide(context: AXPMenuProviderContext): Promise<void>;
|
|
1152
|
+
}
|
|
1153
|
+
declare const AXP_MENU_PROVIDER: InjectionToken<AXPMenuProvider[]>;
|
|
1154
|
+
declare class AXPMenuProviderService {
|
|
1155
|
+
private providers;
|
|
1156
|
+
private middlewareRegistry;
|
|
1157
|
+
private cache;
|
|
1158
|
+
private pendingInserts;
|
|
1159
|
+
private pendingRemovals;
|
|
1160
|
+
private pendingUpdates;
|
|
1161
|
+
private pendingAdditions;
|
|
1162
|
+
/**
|
|
1163
|
+
* Get menu items with middlewares applied (for end-user display)
|
|
1164
|
+
*/
|
|
1165
|
+
items(): Promise<AXPMenuItem[]>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Get raw menu items WITHOUT middleware applied (for management/editing)
|
|
1168
|
+
* Used by menu management pages to show original items before customization
|
|
1169
|
+
*/
|
|
1170
|
+
rawItems(): Promise<AXPMenuItem[]>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Clear the cache to force reload of menu items
|
|
1173
|
+
*/
|
|
1174
|
+
clearCache(): void;
|
|
1175
|
+
/**
|
|
1176
|
+
* Apply middlewares in priority order using the enhanced context API
|
|
1177
|
+
*/
|
|
1178
|
+
private applyMiddlewares;
|
|
1179
|
+
/**
|
|
1180
|
+
* Create provider context for menu providers
|
|
1181
|
+
*/
|
|
1182
|
+
private createMenuProviderContext;
|
|
1183
|
+
private applyPendingOperations;
|
|
1184
|
+
private findItemWithParent;
|
|
1185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMenuProviderService, never>;
|
|
1186
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMenuProviderService>;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Rich context API for manipulating menu items within middleware
|
|
1191
|
+
* Provides helper methods to find, update, remove, and add menu items easily
|
|
1192
|
+
*/
|
|
1193
|
+
interface AXPMenuMiddlewareContext {
|
|
1194
|
+
/**
|
|
1195
|
+
* Get all menu items
|
|
1196
|
+
*/
|
|
1197
|
+
readonly items: AXPMenuItem[];
|
|
1198
|
+
/**
|
|
1199
|
+
* Find menu item(s) by name or pattern
|
|
1200
|
+
*/
|
|
1201
|
+
find(nameOrPattern: string | RegExp): AXPMenuItemFinder;
|
|
1202
|
+
/**
|
|
1203
|
+
* Find menu item by name (exact match)
|
|
1204
|
+
*/
|
|
1205
|
+
findByName(name: string): AXPMenuItemFinder;
|
|
1206
|
+
/**
|
|
1207
|
+
* Find menu items by pattern (regex or wildcard)
|
|
1208
|
+
*/
|
|
1209
|
+
findByPattern(pattern: string | RegExp): AXPMenuItemFinder[];
|
|
1210
|
+
/**
|
|
1211
|
+
* Add new menu items to root level
|
|
1212
|
+
*/
|
|
1213
|
+
add(...items: AXPMenuItem[]): AXPMenuMiddlewareContext;
|
|
1214
|
+
/**
|
|
1215
|
+
* Remove menu items by predicate
|
|
1216
|
+
*/
|
|
1217
|
+
remove(predicate: (item: AXPMenuItem) => boolean): AXPMenuMiddlewareContext;
|
|
1218
|
+
/**
|
|
1219
|
+
* Sort all menu items recursively by priority
|
|
1220
|
+
*/
|
|
1221
|
+
sort(): AXPMenuMiddlewareContext;
|
|
1222
|
+
/**
|
|
1223
|
+
* Get the final menu items array
|
|
1224
|
+
*/
|
|
1225
|
+
toArray(): AXPMenuItem[];
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Helper for finding and manipulating a specific menu item
|
|
1229
|
+
*/
|
|
1230
|
+
interface AXPMenuItemFinder {
|
|
1231
|
+
/**
|
|
1232
|
+
* Get the found menu item (or undefined)
|
|
1233
|
+
*/
|
|
1234
|
+
get(): AXPMenuItem | undefined;
|
|
1235
|
+
/**
|
|
1236
|
+
* Check if menu item exists
|
|
1237
|
+
*/
|
|
1238
|
+
exists(): boolean;
|
|
1239
|
+
/**
|
|
1240
|
+
* Update menu item properties
|
|
1241
|
+
*/
|
|
1242
|
+
update(updater: Partial<AXPMenuItem> | ((item: AXPMenuItem) => Partial<AXPMenuItem>)): AXPMenuItemFinder;
|
|
1243
|
+
/**
|
|
1244
|
+
* Remove the menu item
|
|
1245
|
+
*/
|
|
1246
|
+
remove(): AXPMenuItemFinder;
|
|
1247
|
+
/**
|
|
1248
|
+
* Hide the menu item (removes it from the menu)
|
|
1249
|
+
*/
|
|
1250
|
+
hide(): AXPMenuItemFinder;
|
|
1251
|
+
/**
|
|
1252
|
+
* Show the menu item (currently a no-op as items are visible by default)
|
|
1253
|
+
* Note: To truly implement show, we'd need to track removed items
|
|
1254
|
+
*/
|
|
1255
|
+
show(): AXPMenuItemFinder;
|
|
1256
|
+
/**
|
|
1257
|
+
* Set priority
|
|
1258
|
+
*/
|
|
1259
|
+
setPriority(priority: number): AXPMenuItemFinder;
|
|
1260
|
+
/**
|
|
1261
|
+
* Add children to this menu item
|
|
1262
|
+
*/
|
|
1263
|
+
addChildren(...children: AXPMenuItem[]): AXPMenuItemFinder;
|
|
1264
|
+
/**
|
|
1265
|
+
* Remove children by predicate
|
|
1266
|
+
*/
|
|
1267
|
+
removeChildren(predicate: (child: AXPMenuItem) => boolean): AXPMenuItemFinder;
|
|
1268
|
+
/**
|
|
1269
|
+
* Move menu item to a different parent
|
|
1270
|
+
*/
|
|
1271
|
+
moveTo(parentName: string | null): AXPMenuItemFinder;
|
|
1272
|
+
/**
|
|
1273
|
+
* Insert menu items before this item
|
|
1274
|
+
*/
|
|
1275
|
+
insertBefore(...items: AXPMenuItem[]): AXPMenuItemFinder;
|
|
1276
|
+
/**
|
|
1277
|
+
* Insert menu items after this item
|
|
1278
|
+
*/
|
|
1279
|
+
insertAfter(...items: AXPMenuItem[]): AXPMenuItemFinder;
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Middleware that processes menu items after all providers have executed
|
|
1283
|
+
* Middlewares are executed in order based on their priority (higher priority = earlier execution)
|
|
1284
|
+
*/
|
|
1285
|
+
interface AXPMenuMiddleware {
|
|
1286
|
+
/**
|
|
1287
|
+
* Optional priority for execution order (higher = earlier)
|
|
1288
|
+
* Default: 0
|
|
1289
|
+
*/
|
|
1290
|
+
readonly priority?: number;
|
|
1291
|
+
/**
|
|
1292
|
+
* Optional name for debugging and identification
|
|
1293
|
+
*/
|
|
1294
|
+
readonly name?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* Process menu items using the rich context API
|
|
1297
|
+
* @param context - The menu middleware context with helper methods
|
|
1298
|
+
* @returns Processed context or void (context is mutable)
|
|
1299
|
+
*/
|
|
1300
|
+
process(context: AXPMenuMiddlewareContext): Promise<void | AXPMenuMiddlewareContext>;
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* Provider definition for registering middleware via multi-provider
|
|
1304
|
+
*/
|
|
1305
|
+
interface AXPMenuMiddlewareProvider {
|
|
1306
|
+
/**
|
|
1307
|
+
* The middleware instance
|
|
1285
1308
|
*/
|
|
1286
|
-
|
|
1309
|
+
middleware: AXPMenuMiddleware;
|
|
1287
1310
|
/**
|
|
1288
|
-
*
|
|
1311
|
+
* Optional priority override
|
|
1289
1312
|
*/
|
|
1290
|
-
|
|
1291
|
-
from: Date;
|
|
1292
|
-
to: Date;
|
|
1293
|
-
};
|
|
1313
|
+
priority?: number;
|
|
1294
1314
|
}
|
|
1315
|
+
/**
|
|
1316
|
+
* Injection token for menu middlewares (multi-provider)
|
|
1317
|
+
*/
|
|
1318
|
+
declare const AXP_MENU_MIDDLEWARE: InjectionToken<AXPMenuMiddleware[]>;
|
|
1295
1319
|
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
abstract getInfo(fileId: string): Promise<AXPFileStorageInfo>;
|
|
1302
|
-
abstract remove(fileId: string): Promise<void>;
|
|
1303
|
-
abstract commit(fileId: string): Promise<void>;
|
|
1304
|
-
abstract markForDeletion(fileId: string): Promise<void>;
|
|
1305
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileStorageService, never>;
|
|
1306
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileStorageService>;
|
|
1307
|
-
}
|
|
1320
|
+
/**
|
|
1321
|
+
* Creates a rich context for menu manipulation
|
|
1322
|
+
* Similar to entity modifier context pattern
|
|
1323
|
+
*/
|
|
1324
|
+
declare function createMenuContext(items: AXPMenuItem[]): AXPMenuMiddlewareContext;
|
|
1308
1325
|
|
|
1309
|
-
|
|
1326
|
+
/**
|
|
1327
|
+
* Central service for managing menu middlewares with priority-based ordering
|
|
1328
|
+
* Similar to token registry pattern used in identifier-management
|
|
1329
|
+
*/
|
|
1330
|
+
declare class AXPMenuMiddlewareRegistry {
|
|
1310
1331
|
/**
|
|
1311
|
-
*
|
|
1332
|
+
* Manually registered middlewares
|
|
1312
1333
|
*/
|
|
1334
|
+
private readonly manualMiddlewares;
|
|
1313
1335
|
/**
|
|
1314
|
-
*
|
|
1336
|
+
* Provider-based middlewares (multi-provider injection)
|
|
1315
1337
|
*/
|
|
1316
|
-
|
|
1338
|
+
private readonly providerMiddlewares;
|
|
1317
1339
|
/**
|
|
1318
|
-
*
|
|
1340
|
+
* Manually register a middleware
|
|
1341
|
+
* @param middleware - The middleware to register
|
|
1319
1342
|
*/
|
|
1320
|
-
|
|
1343
|
+
register(middleware: AXPMenuMiddleware): void;
|
|
1321
1344
|
/**
|
|
1322
|
-
*
|
|
1345
|
+
* Unregister a middleware by name
|
|
1346
|
+
* @param name - The name of the middleware to remove
|
|
1323
1347
|
*/
|
|
1324
|
-
|
|
1325
|
-
extensions: AXPFileExtension[];
|
|
1348
|
+
unregister(name: string): void;
|
|
1326
1349
|
/**
|
|
1327
|
-
*
|
|
1350
|
+
* Get a specific middleware by name
|
|
1351
|
+
* @param name - The middleware name
|
|
1328
1352
|
*/
|
|
1329
|
-
|
|
1353
|
+
get(name: string): AXPMenuMiddleware | undefined;
|
|
1330
1354
|
/**
|
|
1331
|
-
*
|
|
1355
|
+
* Get all middlewares sorted by priority (highest first)
|
|
1356
|
+
* Combines provider-based and manually registered middlewares
|
|
1332
1357
|
*/
|
|
1333
|
-
|
|
1334
|
-
}
|
|
1335
|
-
interface AXPFileExtension {
|
|
1358
|
+
list(): AXPMenuMiddleware[];
|
|
1336
1359
|
/**
|
|
1337
|
-
*
|
|
1360
|
+
* Check if a middleware exists
|
|
1361
|
+
* @param name - The middleware name
|
|
1338
1362
|
*/
|
|
1363
|
+
exists(name: string): boolean;
|
|
1339
1364
|
/**
|
|
1340
|
-
*
|
|
1365
|
+
* Clear all manually registered middlewares
|
|
1366
|
+
* Provider-based middlewares are not affected
|
|
1341
1367
|
*/
|
|
1368
|
+
clear(): void;
|
|
1369
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMenuMiddlewareRegistry, never>;
|
|
1370
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMenuMiddlewareRegistry>;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Helper function to provide menu middlewares with proper DI setup
|
|
1375
|
+
* Similar to provideCommandMiddleware pattern
|
|
1376
|
+
*
|
|
1377
|
+
* @example
|
|
1378
|
+
* ```typescript
|
|
1379
|
+
* // In app.config.ts or module providers
|
|
1380
|
+
* export const appConfig: ApplicationConfig = {
|
|
1381
|
+
* providers: [
|
|
1382
|
+
* provideMenuMiddleware([
|
|
1383
|
+
* customizationMiddleware,
|
|
1384
|
+
* securityMiddleware,
|
|
1385
|
+
* loggingMiddleware
|
|
1386
|
+
* ])
|
|
1387
|
+
* ]
|
|
1388
|
+
* };
|
|
1389
|
+
* ```
|
|
1390
|
+
*/
|
|
1391
|
+
declare function provideMenuMiddleware(middlewares: AXPMenuMiddleware[]): EnvironmentProviders;
|
|
1392
|
+
/**
|
|
1393
|
+
* Helper to create a class-based middleware with priority
|
|
1394
|
+
*
|
|
1395
|
+
* @example
|
|
1396
|
+
* ```typescript
|
|
1397
|
+
* const myMiddleware = createMenuMiddleware({
|
|
1398
|
+
* name: 'my-middleware',
|
|
1399
|
+
* priority: 100,
|
|
1400
|
+
* process: async (context) => {
|
|
1401
|
+
* context.find('dashboard').setPriority(1);
|
|
1402
|
+
* }
|
|
1403
|
+
* });
|
|
1404
|
+
* ```
|
|
1405
|
+
*/
|
|
1406
|
+
declare function createMenuMiddleware(config: {
|
|
1407
|
+
name: string;
|
|
1408
|
+
priority?: number;
|
|
1409
|
+
process: (context: AXPMenuMiddlewareContext) => Promise<void>;
|
|
1410
|
+
}): AXPMenuMiddleware;
|
|
1411
|
+
|
|
1412
|
+
declare const AXPMenuService: i0.Type<{
|
|
1413
|
+
items: i0.Signal<AXPMenuItem[]>;
|
|
1414
|
+
selectedMenuItem: _ngrx_signals.DeepSignal<{
|
|
1415
|
+
item: AXPMenuItem | null;
|
|
1416
|
+
isFullMatch: boolean;
|
|
1417
|
+
}>;
|
|
1418
|
+
setMenuItems: (items: AXPMenuItem[]) => void;
|
|
1419
|
+
selectMenuItemByRoute: (path: string) => void;
|
|
1420
|
+
executeCommand: (item: AXPMenuItem) => void;
|
|
1421
|
+
isItemOpen: (item: AXPMenuItem) => boolean;
|
|
1422
|
+
} & _ngrx_signals.StateSource<{
|
|
1423
|
+
items: AXPMenuItem[];
|
|
1424
|
+
selectedMenuItem: {
|
|
1425
|
+
item: AXPMenuItem | null;
|
|
1426
|
+
isFullMatch: boolean;
|
|
1427
|
+
};
|
|
1428
|
+
}>>;
|
|
1429
|
+
|
|
1430
|
+
interface AXPSearchDefinitionDisplayFormat {
|
|
1431
|
+
title?: string;
|
|
1432
|
+
description?: string;
|
|
1433
|
+
icon?: string;
|
|
1434
|
+
id?: string;
|
|
1435
|
+
}
|
|
1436
|
+
interface AXPSearchDefinition {
|
|
1342
1437
|
name: string;
|
|
1343
|
-
/**
|
|
1344
|
-
* The title of the file extension.
|
|
1345
|
-
*/
|
|
1346
1438
|
title: string;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1439
|
+
group: string;
|
|
1440
|
+
icon: string;
|
|
1441
|
+
order: number;
|
|
1442
|
+
format: AXPSearchDefinitionDisplayFormat;
|
|
1443
|
+
actions: AXPSearchAction[];
|
|
1444
|
+
}
|
|
1445
|
+
interface AXPSearchParentResult {
|
|
1446
|
+
title: string;
|
|
1447
|
+
data?: any;
|
|
1448
|
+
}
|
|
1449
|
+
interface AXPSearchResult {
|
|
1450
|
+
id?: string;
|
|
1451
|
+
group: string;
|
|
1452
|
+
data?: any;
|
|
1453
|
+
title?: string;
|
|
1350
1454
|
description?: string;
|
|
1351
|
-
/**
|
|
1352
|
-
* The icon of the file type.
|
|
1353
|
-
*/
|
|
1354
1455
|
icon?: string;
|
|
1456
|
+
command: AXPExecuteCommand;
|
|
1457
|
+
parent?: AXPSearchParentResult;
|
|
1458
|
+
}
|
|
1459
|
+
interface AXPSearchDisplayGroupResult {
|
|
1460
|
+
name: string;
|
|
1461
|
+
title: string;
|
|
1462
|
+
order: number;
|
|
1463
|
+
children: AXPSearchDisplayResult[];
|
|
1464
|
+
}
|
|
1465
|
+
interface AXPSearchDisplayResult {
|
|
1466
|
+
id: string;
|
|
1467
|
+
definitionName?: string;
|
|
1468
|
+
definitionTitle?: string;
|
|
1469
|
+
name: string;
|
|
1470
|
+
title: string;
|
|
1471
|
+
description?: string;
|
|
1472
|
+
icon: string;
|
|
1473
|
+
data?: any;
|
|
1474
|
+
order?: any;
|
|
1475
|
+
command: AXPExecuteCommand;
|
|
1476
|
+
parent?: AXPSearchParentResult;
|
|
1477
|
+
actions: AXPSearchAction[];
|
|
1478
|
+
}
|
|
1479
|
+
interface AXPSearchDisplayResultForSave {
|
|
1480
|
+
id: string;
|
|
1481
|
+
name: string;
|
|
1482
|
+
title: string;
|
|
1483
|
+
description?: string;
|
|
1484
|
+
icon: string;
|
|
1485
|
+
command: AXPExecuteCommand;
|
|
1486
|
+
parent?: {
|
|
1487
|
+
title: string;
|
|
1488
|
+
description?: string;
|
|
1489
|
+
};
|
|
1490
|
+
}
|
|
1491
|
+
interface AXPSearchAction extends Partial<AXPCommandActionLook> {
|
|
1492
|
+
name: string;
|
|
1493
|
+
type: AXPSystemActionType | string;
|
|
1494
|
+
priority: AXPCommandActionPriority;
|
|
1495
|
+
separated?: boolean;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
declare class AXPSearchDefinitionProviderContext {
|
|
1499
|
+
private definitions;
|
|
1500
|
+
private definitionMap;
|
|
1501
|
+
addDefinition(name: string, title: string, group: string, icon: string, order: number, options?: {
|
|
1502
|
+
format?: AXPSearchDefinitionDisplayFormat;
|
|
1503
|
+
actions?: AXPSearchAction[];
|
|
1504
|
+
}): AXPSearchDefinitionBuilder;
|
|
1505
|
+
getDefinitions(): AXPSearchDefinition[];
|
|
1506
|
+
hasEntity(name: string): boolean;
|
|
1507
|
+
getDefinition(name: string): AXPSearchDefinition | undefined;
|
|
1508
|
+
}
|
|
1509
|
+
declare class AXPSearchDefinitionBuilder {
|
|
1510
|
+
private context;
|
|
1511
|
+
private definition;
|
|
1512
|
+
constructor(context: AXPSearchDefinitionProviderContext, definition: AXPSearchDefinition);
|
|
1513
|
+
addAction(name: string): AXPSearchDefinitionActionBuilder;
|
|
1514
|
+
action(name: string): AXPSearchDefinitionActionBuilder | null;
|
|
1515
|
+
endEntity(): AXPSearchDefinitionProviderContext;
|
|
1516
|
+
}
|
|
1517
|
+
declare class AXPSearchDefinitionActionBuilder {
|
|
1518
|
+
private entityBuilder;
|
|
1519
|
+
constructor(entityBuilder: AXPSearchDefinitionBuilder);
|
|
1520
|
+
endAction(): AXPSearchDefinitionBuilder;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
interface AXPSearchDefinitionProvider {
|
|
1524
|
+
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1525
|
+
}
|
|
1526
|
+
declare const AXP_SEARCH_DEFINITION_PROVIDER: InjectionToken<AXPSearchDefinitionProvider[]>;
|
|
1527
|
+
declare class AXPSearchDefinitionProviderService {
|
|
1528
|
+
private providers;
|
|
1529
|
+
private cache;
|
|
1530
|
+
private load;
|
|
1531
|
+
getListAsync(): Promise<AXPSearchDefinition[]>;
|
|
1532
|
+
getList(): AXPSearchDefinition[];
|
|
1533
|
+
findDefinition(definitionName: string): AXPSearchDefinition;
|
|
1534
|
+
findDefinitionByGroup(definitionGroup: string): AXPSearchDefinition;
|
|
1535
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchDefinitionProviderService, never>;
|
|
1536
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchDefinitionProviderService>;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
interface AXPSearchProvider {
|
|
1540
|
+
search(text: string): Promise<AXPSearchResult[]>;
|
|
1541
|
+
}
|
|
1542
|
+
declare abstract class AXPSearchCommandProvider {
|
|
1543
|
+
abstract commands: AXPSearchResult[];
|
|
1544
|
+
search(text: string): Promise<AXPSearchResult[]>;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
declare const AXP_SEARCH_PROVIDER: InjectionToken<AXPSearchProvider[]>;
|
|
1548
|
+
declare class AXPSearchService {
|
|
1549
|
+
private providers;
|
|
1550
|
+
private definitionService;
|
|
1551
|
+
private formatService;
|
|
1552
|
+
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
1553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchService, never>;
|
|
1554
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchService>;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
declare class AXPMenuSearchDefinitionProvider implements AXPSearchDefinitionProvider {
|
|
1558
|
+
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
interface AXPMenuItemWithParent extends AXPMenuItem {
|
|
1562
|
+
parent?: AXPMenuItem;
|
|
1563
|
+
}
|
|
1564
|
+
declare class AXPMenuSearchProvider implements AXPSearchProvider {
|
|
1565
|
+
menuService: AXPMenuProviderService;
|
|
1566
|
+
translateService: AXTranslationService;
|
|
1567
|
+
search(text: string): Promise<AXPSearchResult[]>;
|
|
1355
1568
|
/**
|
|
1356
|
-
*
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
*
|
|
1569
|
+
* Recursively searches AXPMenuItem and its children for a matching text.
|
|
1570
|
+
*
|
|
1571
|
+
* @param menuItems - The array of AXPMenuItem to search in.
|
|
1572
|
+
* @param searchText - The text to search for (case-insensitive).
|
|
1573
|
+
* @returns An array of AXPMenuItem that match the search text.
|
|
1361
1574
|
*/
|
|
1362
|
-
|
|
1575
|
+
private searchMenuItems;
|
|
1363
1576
|
}
|
|
1364
1577
|
|
|
1365
|
-
|
|
1366
|
-
|
|
1578
|
+
declare class AXPFooterTextSlotComponent {
|
|
1579
|
+
text: string;
|
|
1580
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFooterTextSlotComponent, never>;
|
|
1581
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPFooterTextSlotComponent, "ng-component", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
1367
1582
|
}
|
|
1368
|
-
|
|
1369
|
-
declare class
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
static
|
|
1374
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileTypeProviderService>;
|
|
1583
|
+
|
|
1584
|
+
declare class AXPNavBarSlotComponent {
|
|
1585
|
+
items: AXPMenuItem[];
|
|
1586
|
+
protected handleCommand(action?: AXPMenuItemCommand): void;
|
|
1587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPNavBarSlotComponent, never>;
|
|
1588
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPNavBarSlotComponent, "ng-component", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
1375
1589
|
}
|
|
1376
1590
|
|
|
1377
1591
|
interface AXPLockRequest {
|
|
@@ -1380,7 +1594,7 @@ interface AXPLockRequest {
|
|
|
1380
1594
|
type: AXPLockType;
|
|
1381
1595
|
date: string;
|
|
1382
1596
|
expireAt?: Date;
|
|
1383
|
-
lockedBy:
|
|
1597
|
+
lockedBy: AXPEntityReference;
|
|
1384
1598
|
}
|
|
1385
1599
|
interface AXPUnLockRequest {
|
|
1386
1600
|
refId: string;
|
|
@@ -1509,6 +1723,69 @@ interface AXPCurrency {
|
|
|
1509
1723
|
format: string;
|
|
1510
1724
|
}
|
|
1511
1725
|
|
|
1726
|
+
interface AXPVersionStream {
|
|
1727
|
+
id: string;
|
|
1728
|
+
entityType: string;
|
|
1729
|
+
entityId: string;
|
|
1730
|
+
createdAt: string;
|
|
1731
|
+
}
|
|
1732
|
+
declare enum AXVChangeType {
|
|
1733
|
+
Create = "Create",
|
|
1734
|
+
Update = "Update",
|
|
1735
|
+
Delete = "Delete"
|
|
1736
|
+
}
|
|
1737
|
+
type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
|
|
1738
|
+
interface CanonicalChange {
|
|
1739
|
+
path: string;
|
|
1740
|
+
op: CanonicalChangeOp;
|
|
1741
|
+
oldValue?: unknown;
|
|
1742
|
+
newValue?: unknown;
|
|
1743
|
+
meta?: Record<string, unknown>;
|
|
1744
|
+
}
|
|
1745
|
+
interface AXPVersionEntry {
|
|
1746
|
+
id: string;
|
|
1747
|
+
streamId: string;
|
|
1748
|
+
versionNumber: number;
|
|
1749
|
+
changeType: AXVChangeType;
|
|
1750
|
+
changedBy: string;
|
|
1751
|
+
changedAt: string;
|
|
1752
|
+
snapshotJson: unknown;
|
|
1753
|
+
patchFromPrevJson: CanonicalChange[];
|
|
1754
|
+
summary?: string;
|
|
1755
|
+
metadataJson?: unknown;
|
|
1756
|
+
}
|
|
1757
|
+
interface AXPVersionChange {
|
|
1758
|
+
id?: number;
|
|
1759
|
+
versionEntryId: string;
|
|
1760
|
+
path: string;
|
|
1761
|
+
op: CanonicalChangeOp;
|
|
1762
|
+
oldValue?: unknown;
|
|
1763
|
+
newValue?: unknown;
|
|
1764
|
+
}
|
|
1765
|
+
interface VersionedFileInfo {
|
|
1766
|
+
id: string;
|
|
1767
|
+
name: string;
|
|
1768
|
+
size: number;
|
|
1769
|
+
mime: string;
|
|
1770
|
+
hash: string;
|
|
1771
|
+
url?: string;
|
|
1772
|
+
thumbUrl?: string;
|
|
1773
|
+
}
|
|
1774
|
+
declare abstract class AXPVersioningService {
|
|
1775
|
+
abstract getStreamIdIfExists(entityType: string, entityId: string): Promise<string | null>;
|
|
1776
|
+
abstract listEntries(streamId: string, options?: {
|
|
1777
|
+
limit?: number;
|
|
1778
|
+
offset?: number;
|
|
1779
|
+
}): Promise<AXPVersionEntry[]>;
|
|
1780
|
+
abstract getUiFriendlyDiff(streamId: string, v1: number, v2: number): Promise<Array<{
|
|
1781
|
+
badge: string;
|
|
1782
|
+
path: string;
|
|
1783
|
+
summary: string;
|
|
1784
|
+
oldValue?: unknown;
|
|
1785
|
+
newValue?: unknown;
|
|
1786
|
+
}>>;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1512
1789
|
declare const AXPRedirectEvent: {
|
|
1513
1790
|
(payload: {
|
|
1514
1791
|
url: string;
|
|
@@ -1566,6 +1843,7 @@ declare class AXPDialogConfirmAction extends AXPWorkflowAction {
|
|
|
1566
1843
|
declare class AXPToastAction extends AXPWorkflowAction {
|
|
1567
1844
|
private toastService;
|
|
1568
1845
|
private translationService;
|
|
1846
|
+
private settingService;
|
|
1569
1847
|
color: AXStyleColorType;
|
|
1570
1848
|
title: string;
|
|
1571
1849
|
content: string;
|
|
@@ -1598,5 +1876,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
1598
1876
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
1599
1877
|
}
|
|
1600
1878
|
|
|
1601
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider,
|
|
1602
|
-
export type { AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGlobalVariableDefinition, AXPGlobalVariableDefinitionProvider, AXPGlobalVariableDefinitionProviderToken,
|
|
1879
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGlobalVariableDefinitionService, AXPGlobalVariableEvaluatorScopeProvider, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_GLOBAL_VARIABLE_DEFINITION_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createMenuContext, createMenuMiddleware, createQueryView, getEntityInfo, provideDynamicHomePage, provideMenuMiddleware };
|
|
1880
|
+
export type { AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGlobalVariableDefinition, AXPGlobalVariableDefinitionProvider, AXPGlobalVariableDefinitionProviderToken, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingServiceInterface, AXPSettingValue, AXPSettingValueProvider, AXPTimeZone, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|