@acorex/platform 20.3.0-next.12 → 20.3.0-next.14
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 +399 -368
- package/core/index.d.ts +3 -2
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +114 -162
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +45 -44
- 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 +1231 -2418
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1317 -254
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +81 -81
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs → acorex-platform-layout-entity-create-entity.command-CuueLekJ.mjs} +4 -4
- package/fesm2022/{acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs.map → acorex-platform-layout-entity-create-entity.command-CuueLekJ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +491 -185
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +25 -23
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2667 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C82aG5Rf.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C82aG5Rf.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-CMmz70I8.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CMmz70I8.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-DDOyf7NG.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-DDOyf7NG.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-flsveRJc.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-flsveRJc.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-CFXLM9Ls.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-CFXLM9Ls.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-1Wd5IUpo.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-1Wd5IUpo.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-WLyXXg19.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-WLyXXg19.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs → acorex-platform-layout-widgets-file-list-popup.component-DxTXIO_k.mjs} +8 -8
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-DxTXIO_k.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs → acorex-platform-layout-widgets-page-widget-designer.component-44YSAqDc.mjs} +7 -7
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-44YSAqDc.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-Dat0cqWe.mjs} +8 -8
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Dat0cqWe.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-CtJBzqq_.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-CtJBzqq_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-Djpj1fNO.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Djpj1fNO.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets.mjs → acorex-platform-layout-widgets.mjs} +1020 -629
- 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-oOA674Jd.mjs +115 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-oOA674Jd.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-Bk4p9oHD.mjs} +15 -15
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-Bk4p9oHD.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CrDQOCpB.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CrDQOCpB.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-CT-1gX4H.mjs} +17 -17
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CT-1gX4H.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs → acorex-platform-themes-default-error-401.component-CHJFmJ2W.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map → acorex-platform-themes-default-error-401.component-CHJFmJ2W.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs → acorex-platform-themes-default-error-404.component-Db8KkVIF.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map → acorex-platform-themes-default-error-404.component-Db8KkVIF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs → acorex-platform-themes-default-error-offline.component-DH39Viy-.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map → acorex-platform-themes-default-error-offline.component-DH39Viy-.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +44 -44
- 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-mFBYGE0_.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-mFBYGE0_.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-viyyova6.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-viyyova6.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-BrUtKTXd.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BrUtKTXd.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 +2 -3
- package/layout/builder/index.d.ts +456 -879
- package/layout/components/index.d.ts +261 -81
- package/layout/designer/index.d.ts +4 -4
- package/layout/entity/index.d.ts +551 -13
- package/layout/views/index.d.ts +13 -13
- package/layout/widget-core/README.md +4 -0
- package/layout/widget-core/index.d.ts +950 -0
- package/layout/widgets/README.md +4 -0
- package/{widgets → layout/widgets}/index.d.ts +98 -61
- package/package.json +13 -9
- 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-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-DSaD9Fwc.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-B-ZEi2yd.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-CRpjdiNz.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.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;
|
|
@@ -1293,85 +994,352 @@ interface AXPFileStorageFindRequest {
|
|
|
1293
994
|
};
|
|
1294
995
|
}
|
|
1295
996
|
|
|
1296
|
-
declare abstract class AXPFileStorageService {
|
|
1297
|
-
abstract save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
|
|
1298
|
-
abstract update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
|
|
1299
|
-
abstract find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
|
|
1300
|
-
abstract findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
|
|
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>;
|
|
997
|
+
declare abstract class AXPFileStorageService {
|
|
998
|
+
abstract save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
|
|
999
|
+
abstract update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
|
|
1000
|
+
abstract find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
|
|
1001
|
+
abstract findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
|
|
1002
|
+
abstract getInfo(fileId: string): Promise<AXPFileStorageInfo>;
|
|
1003
|
+
abstract remove(fileId: string): Promise<void>;
|
|
1004
|
+
abstract commit(fileId: string): Promise<void>;
|
|
1005
|
+
abstract markForDeletion(fileId: string): Promise<void>;
|
|
1006
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileStorageService, never>;
|
|
1007
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileStorageService>;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
interface AXPFileType {
|
|
1011
|
+
/**
|
|
1012
|
+
* The unique identifier for the file type.
|
|
1013
|
+
*/
|
|
1014
|
+
/**
|
|
1015
|
+
* The name unique of the file type.
|
|
1016
|
+
*/
|
|
1017
|
+
name: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* The title of the file type.
|
|
1020
|
+
*/
|
|
1021
|
+
title: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* The description of the file type.
|
|
1024
|
+
*/
|
|
1025
|
+
description?: string;
|
|
1026
|
+
extensions: AXPFileExtension[];
|
|
1027
|
+
/**
|
|
1028
|
+
* The icon of the file type.
|
|
1029
|
+
*/
|
|
1030
|
+
icon?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* The metadata associated with the file type.
|
|
1033
|
+
*/
|
|
1034
|
+
meta?: AXPMetaDataDefinition[];
|
|
1035
|
+
}
|
|
1036
|
+
interface AXPFileExtension {
|
|
1037
|
+
/**
|
|
1038
|
+
* The unique identifier for the file extension.
|
|
1039
|
+
*/
|
|
1040
|
+
/**
|
|
1041
|
+
* The name unique of the file extension.
|
|
1042
|
+
*/
|
|
1043
|
+
name: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* The title of the file extension.
|
|
1046
|
+
*/
|
|
1047
|
+
title: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* The description of the file extension.
|
|
1050
|
+
*/
|
|
1051
|
+
description?: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* The icon of the file type.
|
|
1054
|
+
*/
|
|
1055
|
+
icon?: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* The color of the file type.
|
|
1058
|
+
*/
|
|
1059
|
+
color?: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* The metadata associated with the file extension.
|
|
1062
|
+
*/
|
|
1063
|
+
meta?: AXPMetaDataDefinition[];
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
interface AXPFileTypeInfoProvider {
|
|
1067
|
+
items(): Promise<AXPFileType[]>;
|
|
1068
|
+
}
|
|
1069
|
+
declare const AXP_FILE_TYPE_INFO_PROVIDER: InjectionToken<AXPFileTypeInfoProvider[]>;
|
|
1070
|
+
declare class AXPFileTypeProviderService implements AXPFileTypeInfoProvider {
|
|
1071
|
+
private providers;
|
|
1072
|
+
items(): Promise<AXPFileType[]>;
|
|
1073
|
+
get(name: string): Promise<AXPFileType | undefined>;
|
|
1074
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFileTypeProviderService, never>;
|
|
1075
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileTypeProviderService>;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
declare class AXPStickyDirective {
|
|
1079
|
+
private element;
|
|
1080
|
+
private renderer;
|
|
1081
|
+
private zone;
|
|
1082
|
+
private cdr;
|
|
1083
|
+
stickyClass: string;
|
|
1084
|
+
stickyOffset: number;
|
|
1085
|
+
isStickyChange: EventEmitter<boolean>;
|
|
1086
|
+
private _isSticky;
|
|
1087
|
+
get isSticky(): boolean;
|
|
1088
|
+
set isSticky(value: boolean);
|
|
1089
|
+
private topOffset;
|
|
1090
|
+
private parentElement;
|
|
1091
|
+
private targetElement;
|
|
1092
|
+
private mutationObserver;
|
|
1093
|
+
stickyParent: string | HTMLElement;
|
|
1094
|
+
stickyTarget: string;
|
|
1095
|
+
constructor(element: ElementRef<HTMLDivElement>, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
1096
|
+
ngAfterViewInit(): void;
|
|
1097
|
+
private initSticky;
|
|
1098
|
+
private updateTopOffset;
|
|
1099
|
+
private onParentScroll;
|
|
1100
|
+
private toggleStickyClasses;
|
|
1101
|
+
ngOnDestroy(): void;
|
|
1102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStickyDirective, never>;
|
|
1103
|
+
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>;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
declare class AXPLogoComponent {
|
|
1107
|
+
source: any;
|
|
1108
|
+
protected logoType: string;
|
|
1109
|
+
private platform;
|
|
1110
|
+
ngOnInit(): void;
|
|
1111
|
+
ngOnChanges(): void;
|
|
1112
|
+
protected setLogoType(): void;
|
|
1113
|
+
protected setLogoTheme(): void;
|
|
1114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
|
|
1115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "source": { "alias": "source"; "required": false; }; }, {}, never, never, true, never>;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
1119
|
+
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
1120
|
+
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
1121
|
+
interface AXPMenuItem {
|
|
1122
|
+
text: string;
|
|
1123
|
+
type?: AXPMenuType;
|
|
1124
|
+
name?: string;
|
|
1125
|
+
description?: string;
|
|
1126
|
+
icon?: string;
|
|
1127
|
+
priority?: number;
|
|
1128
|
+
children?: AXPMenuItem[];
|
|
1129
|
+
path?: string;
|
|
1130
|
+
command?: AXPMenuItemCommand | undefined;
|
|
1131
|
+
badgeKey?: string;
|
|
1132
|
+
data?: any;
|
|
1133
|
+
meta?: AXPMetaData;
|
|
1134
|
+
}
|
|
1135
|
+
interface AXPMenuFinderResult {
|
|
1136
|
+
insert(items: AXPMenuItem[], position: AXPMenuInsertion): void;
|
|
1137
|
+
remove(): void;
|
|
1138
|
+
update(updatedItem: Partial<AXPMenuItem>): void;
|
|
1139
|
+
addItems(items: AXPMenuItem[]): void;
|
|
1140
|
+
}
|
|
1141
|
+
interface AXPMenuProviderContext {
|
|
1142
|
+
addItems(items: AXPMenuItem[]): void;
|
|
1143
|
+
find(target: string): AXPMenuFinderResult;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
interface AXPMenuProvider {
|
|
1147
|
+
provide(context: AXPMenuProviderContext): Promise<void>;
|
|
1148
|
+
}
|
|
1149
|
+
declare const AXP_MENU_PROVIDER: InjectionToken<AXPMenuProvider[]>;
|
|
1150
|
+
declare class AXPMenuProviderService {
|
|
1151
|
+
private providers;
|
|
1152
|
+
private cache;
|
|
1153
|
+
private pendingInserts;
|
|
1154
|
+
private pendingRemovals;
|
|
1155
|
+
private pendingUpdates;
|
|
1156
|
+
private pendingAdditions;
|
|
1157
|
+
items(): Promise<AXPMenuItem[]>;
|
|
1158
|
+
private createMenuProviderContext;
|
|
1159
|
+
private applyPendingOperations;
|
|
1160
|
+
private findItemWithParent;
|
|
1161
|
+
clearCache(): void;
|
|
1162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPMenuProviderService, never>;
|
|
1163
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPMenuProviderService>;
|
|
1307
1164
|
}
|
|
1308
1165
|
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1166
|
+
declare const AXPMenuService: i0.Type<{
|
|
1167
|
+
items: i0.Signal<AXPMenuItem[]>;
|
|
1168
|
+
selectedMenuItem: _ngrx_signals.DeepSignal<{
|
|
1169
|
+
item: AXPMenuItem | null;
|
|
1170
|
+
isFullMatch: boolean;
|
|
1171
|
+
}>;
|
|
1172
|
+
setMenuItems: (items: AXPMenuItem[]) => void;
|
|
1173
|
+
selectMenuItemByRoute: (path: string) => void;
|
|
1174
|
+
executeCommand: (item: AXPMenuItem) => void;
|
|
1175
|
+
isItemOpen: (item: AXPMenuItem) => boolean;
|
|
1176
|
+
} & _ngrx_signals.StateSource<{
|
|
1177
|
+
items: AXPMenuItem[];
|
|
1178
|
+
selectedMenuItem: {
|
|
1179
|
+
item: AXPMenuItem | null;
|
|
1180
|
+
isFullMatch: boolean;
|
|
1181
|
+
};
|
|
1182
|
+
}>>;
|
|
1183
|
+
|
|
1184
|
+
interface AXPSearchDefinitionDisplayFormat {
|
|
1185
|
+
title?: string;
|
|
1186
|
+
description?: string;
|
|
1187
|
+
icon?: string;
|
|
1188
|
+
id?: string;
|
|
1189
|
+
}
|
|
1190
|
+
interface AXPSearchDefinition {
|
|
1316
1191
|
name: string;
|
|
1317
|
-
/**
|
|
1318
|
-
* The title of the file type.
|
|
1319
|
-
*/
|
|
1320
1192
|
title: string;
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1193
|
+
group: string;
|
|
1194
|
+
icon: string;
|
|
1195
|
+
order: number;
|
|
1196
|
+
format: AXPSearchDefinitionDisplayFormat;
|
|
1197
|
+
actions: AXPSearchAction[];
|
|
1198
|
+
}
|
|
1199
|
+
interface AXPSearchParentResult {
|
|
1200
|
+
title: string;
|
|
1201
|
+
data?: any;
|
|
1202
|
+
}
|
|
1203
|
+
interface AXPSearchResult {
|
|
1204
|
+
id?: string;
|
|
1205
|
+
group: string;
|
|
1206
|
+
data?: any;
|
|
1207
|
+
title?: string;
|
|
1324
1208
|
description?: string;
|
|
1325
|
-
extensions: AXPFileExtension[];
|
|
1326
|
-
/**
|
|
1327
|
-
* The icon of the file type.
|
|
1328
|
-
*/
|
|
1329
1209
|
icon?: string;
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
*/
|
|
1333
|
-
meta?: AXPMetaDataDefinition[];
|
|
1210
|
+
command: AXPExecuteCommand;
|
|
1211
|
+
parent?: AXPSearchParentResult;
|
|
1334
1212
|
}
|
|
1335
|
-
interface
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1213
|
+
interface AXPSearchDisplayGroupResult {
|
|
1214
|
+
name: string;
|
|
1215
|
+
title: string;
|
|
1216
|
+
order: number;
|
|
1217
|
+
children: AXPSearchDisplayResult[];
|
|
1218
|
+
}
|
|
1219
|
+
interface AXPSearchDisplayResult {
|
|
1220
|
+
id: string;
|
|
1221
|
+
definitionName?: string;
|
|
1222
|
+
definitionTitle?: string;
|
|
1342
1223
|
name: string;
|
|
1343
|
-
/**
|
|
1344
|
-
* The title of the file extension.
|
|
1345
|
-
*/
|
|
1346
1224
|
title: string;
|
|
1347
|
-
/**
|
|
1348
|
-
* The description of the file extension.
|
|
1349
|
-
*/
|
|
1350
1225
|
description?: string;
|
|
1226
|
+
icon: string;
|
|
1227
|
+
data?: any;
|
|
1228
|
+
order?: any;
|
|
1229
|
+
command: AXPExecuteCommand;
|
|
1230
|
+
parent?: AXPSearchParentResult;
|
|
1231
|
+
actions: AXPSearchAction[];
|
|
1232
|
+
}
|
|
1233
|
+
interface AXPSearchDisplayResultForSave {
|
|
1234
|
+
id: string;
|
|
1235
|
+
name: string;
|
|
1236
|
+
title: string;
|
|
1237
|
+
description?: string;
|
|
1238
|
+
icon: string;
|
|
1239
|
+
command: AXPExecuteCommand;
|
|
1240
|
+
parent?: {
|
|
1241
|
+
title: string;
|
|
1242
|
+
description?: string;
|
|
1243
|
+
};
|
|
1244
|
+
}
|
|
1245
|
+
interface AXPSearchAction extends Partial<AXPCommandActionLook> {
|
|
1246
|
+
name: string;
|
|
1247
|
+
type: AXPSystemActionType | string;
|
|
1248
|
+
priority: AXPCommandActionPriority;
|
|
1249
|
+
separated?: boolean;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
declare class AXPSearchDefinitionProviderContext {
|
|
1253
|
+
private definitions;
|
|
1254
|
+
private definitionMap;
|
|
1255
|
+
addDefinition(name: string, title: string, group: string, icon: string, order: number, options?: {
|
|
1256
|
+
format?: AXPSearchDefinitionDisplayFormat;
|
|
1257
|
+
actions?: AXPSearchAction[];
|
|
1258
|
+
}): AXPSearchDefinitionBuilder;
|
|
1259
|
+
getDefinitions(): AXPSearchDefinition[];
|
|
1260
|
+
hasEntity(name: string): boolean;
|
|
1261
|
+
getDefinition(name: string): AXPSearchDefinition | undefined;
|
|
1262
|
+
}
|
|
1263
|
+
declare class AXPSearchDefinitionBuilder {
|
|
1264
|
+
private context;
|
|
1265
|
+
private definition;
|
|
1266
|
+
constructor(context: AXPSearchDefinitionProviderContext, definition: AXPSearchDefinition);
|
|
1267
|
+
addAction(name: string): AXPSearchDefinitionActionBuilder;
|
|
1268
|
+
action(name: string): AXPSearchDefinitionActionBuilder | null;
|
|
1269
|
+
endEntity(): AXPSearchDefinitionProviderContext;
|
|
1270
|
+
}
|
|
1271
|
+
declare class AXPSearchDefinitionActionBuilder {
|
|
1272
|
+
private entityBuilder;
|
|
1273
|
+
constructor(entityBuilder: AXPSearchDefinitionBuilder);
|
|
1274
|
+
endAction(): AXPSearchDefinitionBuilder;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
interface AXPSearchDefinitionProvider {
|
|
1278
|
+
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1279
|
+
}
|
|
1280
|
+
declare const AXP_SEARCH_DEFINITION_PROVIDER: InjectionToken<AXPSearchDefinitionProvider[]>;
|
|
1281
|
+
declare class AXPSearchDefinitionProviderService {
|
|
1282
|
+
private providers;
|
|
1283
|
+
private cache;
|
|
1284
|
+
private load;
|
|
1285
|
+
getListAsync(): Promise<AXPSearchDefinition[]>;
|
|
1286
|
+
getList(): AXPSearchDefinition[];
|
|
1287
|
+
findDefinition(definitionName: string): AXPSearchDefinition;
|
|
1288
|
+
findDefinitionByGroup(definitionGroup: string): AXPSearchDefinition;
|
|
1289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchDefinitionProviderService, never>;
|
|
1290
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchDefinitionProviderService>;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
interface AXPSearchProvider {
|
|
1294
|
+
search(text: string): Promise<AXPSearchResult[]>;
|
|
1295
|
+
}
|
|
1296
|
+
declare abstract class AXPSearchCommandProvider {
|
|
1297
|
+
abstract commands: AXPSearchResult[];
|
|
1298
|
+
search(text: string): Promise<AXPSearchResult[]>;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
declare const AXP_SEARCH_PROVIDER: InjectionToken<AXPSearchProvider[]>;
|
|
1302
|
+
declare class AXPSearchService {
|
|
1303
|
+
private providers;
|
|
1304
|
+
private definitionService;
|
|
1305
|
+
private formatService;
|
|
1306
|
+
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
1307
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchService, never>;
|
|
1308
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchService>;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
declare class AXPMenuSearchDefinitionProvider implements AXPSearchDefinitionProvider {
|
|
1312
|
+
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
interface AXPMenuItemWithParent extends AXPMenuItem {
|
|
1316
|
+
parent?: AXPMenuItem;
|
|
1317
|
+
}
|
|
1318
|
+
declare class AXPMenuSearchProvider implements AXPSearchProvider {
|
|
1319
|
+
menuService: AXPMenuProviderService;
|
|
1320
|
+
translateService: AXTranslationService;
|
|
1321
|
+
search(text: string): Promise<AXPSearchResult[]>;
|
|
1351
1322
|
/**
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
*
|
|
1357
|
-
*/
|
|
1358
|
-
color?: string;
|
|
1359
|
-
/**
|
|
1360
|
-
* The metadata associated with the file extension.
|
|
1323
|
+
* Recursively searches AXPMenuItem and its children for a matching text.
|
|
1324
|
+
*
|
|
1325
|
+
* @param menuItems - The array of AXPMenuItem to search in.
|
|
1326
|
+
* @param searchText - The text to search for (case-insensitive).
|
|
1327
|
+
* @returns An array of AXPMenuItem that match the search text.
|
|
1361
1328
|
*/
|
|
1362
|
-
|
|
1329
|
+
private searchMenuItems;
|
|
1363
1330
|
}
|
|
1364
1331
|
|
|
1365
|
-
|
|
1366
|
-
|
|
1332
|
+
declare class AXPFooterTextSlotComponent {
|
|
1333
|
+
text: string;
|
|
1334
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPFooterTextSlotComponent, never>;
|
|
1335
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPFooterTextSlotComponent, "ng-component", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
1367
1336
|
}
|
|
1368
|
-
|
|
1369
|
-
declare class
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
static
|
|
1374
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileTypeProviderService>;
|
|
1337
|
+
|
|
1338
|
+
declare class AXPNavBarSlotComponent {
|
|
1339
|
+
items: AXPMenuItem[];
|
|
1340
|
+
protected handleCommand(action?: AXPMenuItemCommand): void;
|
|
1341
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPNavBarSlotComponent, never>;
|
|
1342
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPNavBarSlotComponent, "ng-component", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
1375
1343
|
}
|
|
1376
1344
|
|
|
1377
1345
|
interface AXPLockRequest {
|
|
@@ -1598,5 +1566,68 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
1598
1566
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
1599
1567
|
}
|
|
1600
1568
|
|
|
1601
|
-
|
|
1602
|
-
|
|
1569
|
+
interface AXPVersionStream {
|
|
1570
|
+
id: string;
|
|
1571
|
+
entityType: string;
|
|
1572
|
+
entityId: string;
|
|
1573
|
+
createdAt: string;
|
|
1574
|
+
}
|
|
1575
|
+
declare enum AXVChangeType {
|
|
1576
|
+
Create = "Create",
|
|
1577
|
+
Update = "Update",
|
|
1578
|
+
Delete = "Delete"
|
|
1579
|
+
}
|
|
1580
|
+
type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
|
|
1581
|
+
interface CanonicalChange {
|
|
1582
|
+
path: string;
|
|
1583
|
+
op: CanonicalChangeOp;
|
|
1584
|
+
oldValue?: unknown;
|
|
1585
|
+
newValue?: unknown;
|
|
1586
|
+
meta?: Record<string, unknown>;
|
|
1587
|
+
}
|
|
1588
|
+
interface AXPVersionEntry {
|
|
1589
|
+
id: string;
|
|
1590
|
+
streamId: string;
|
|
1591
|
+
versionNumber: number;
|
|
1592
|
+
changeType: AXVChangeType;
|
|
1593
|
+
changedBy: string;
|
|
1594
|
+
changedAt: string;
|
|
1595
|
+
snapshotJson: unknown;
|
|
1596
|
+
patchFromPrevJson: CanonicalChange[];
|
|
1597
|
+
summary?: string;
|
|
1598
|
+
metadataJson?: unknown;
|
|
1599
|
+
}
|
|
1600
|
+
interface AXPVersionChange {
|
|
1601
|
+
id?: number;
|
|
1602
|
+
versionEntryId: string;
|
|
1603
|
+
path: string;
|
|
1604
|
+
op: CanonicalChangeOp;
|
|
1605
|
+
oldValue?: unknown;
|
|
1606
|
+
newValue?: unknown;
|
|
1607
|
+
}
|
|
1608
|
+
interface VersionedFileInfo {
|
|
1609
|
+
id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
size: number;
|
|
1612
|
+
mime: string;
|
|
1613
|
+
hash: string;
|
|
1614
|
+
url?: string;
|
|
1615
|
+
thumbUrl?: string;
|
|
1616
|
+
}
|
|
1617
|
+
declare abstract class AXPVersioningService {
|
|
1618
|
+
abstract getStreamIdIfExists(entityType: string, entityId: string): Promise<string | null>;
|
|
1619
|
+
abstract listEntries(streamId: string, options?: {
|
|
1620
|
+
limit?: number;
|
|
1621
|
+
offset?: number;
|
|
1622
|
+
}): Promise<AXPVersionEntry[]>;
|
|
1623
|
+
abstract getUiFriendlyDiff(streamId: string, v1: number, v2: number): Promise<Array<{
|
|
1624
|
+
badge: string;
|
|
1625
|
+
path: string;
|
|
1626
|
+
summary: string;
|
|
1627
|
+
oldValue?: unknown;
|
|
1628
|
+
newValue?: unknown;
|
|
1629
|
+
}>>;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
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, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPLogoComponent, 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_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, createQueryView, getEntityInfo, provideDynamicHomePage };
|
|
1633
|
+
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, AXPMenuItemWithParent, 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 };
|