@acorex/platform 20.3.0-next.1 → 20.3.0-next.3
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 +120 -5
- package/core/index.d.ts +102 -61
- package/fesm2022/acorex-platform-auth.mjs +20 -20
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +136 -112
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +287 -198
- 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 +1226 -687
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1525 -129
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +159 -204
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +3674 -1154
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +387 -86
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs → acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs} +6 -6
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs +708 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs → acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs} +6 -13
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs +244 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +64 -509
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs → acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs.map → acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +50 -52
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs → acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs} +6 -6
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs → acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs} +4 -5
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs → acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs → acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs → acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs +50 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs +42 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs +55 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs +50 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs +48 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs +42 -0
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs → acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs} +71 -6
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs → acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs} +77 -67
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs → acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map → acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs} +8 -8
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs → acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs} +6 -6
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs → acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs} +10 -14
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +3953 -2138
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +28 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +361 -181
- package/layout/components/index.d.ts +372 -25
- package/layout/designer/index.d.ts +16 -47
- package/layout/entity/index.d.ts +255 -336
- package/layout/views/index.d.ts +129 -22
- package/package.json +23 -37
- package/widgets/index.d.ts +372 -230
- package/workflow/index.d.ts +4 -1
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +0 -22
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +0 -665
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +0 -236
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +0 -1
|
@@ -1,18 +1,79 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { Signal, InjectionToken, OnInit, EventEmitter, TemplateRef, Injector, WritableSignal, SimpleChanges, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
4
|
-
import { AXPDataType, AXPOptionsData, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions,
|
|
5
|
-
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
4
|
+
import { AXPDataType, AXPOptionsData, AXPValidationRules, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions, AXPPartialNested, AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
6
5
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
6
|
+
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
7
|
+
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
7
8
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
8
9
|
import { AXDataTableColumnComponent } from '@acorex/components/data-table';
|
|
10
|
+
import * as i7 from '@acorex/core/translation';
|
|
9
11
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
10
12
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
11
|
-
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
12
13
|
import * as i4 from '@angular/common';
|
|
13
14
|
import * as i5 from '@angular/cdk/portal';
|
|
14
15
|
import * as i6 from '@acorex/components/skeleton';
|
|
15
16
|
|
|
17
|
+
declare enum AXPPageStatus {
|
|
18
|
+
Idle = "idle",// The page is idle.
|
|
19
|
+
Rendering = "rendering",// The page is being rendered.
|
|
20
|
+
Rendered = "rendered",// The rendering process is complete. should be renamed to idle
|
|
21
|
+
Processing = "processing",// The page is performing a task or interaction.
|
|
22
|
+
Submitting = "submitting",// The form is being submitted.
|
|
23
|
+
Submitted = "submitted",// Submission is completed.
|
|
24
|
+
Validating = "validating",// The form is being validated.
|
|
25
|
+
Validated = "validated",// Validation is completed.
|
|
26
|
+
Error = "error"
|
|
27
|
+
}
|
|
28
|
+
declare enum AXPWidgetStatus {
|
|
29
|
+
Rendering = "rendering",// The widget is being rendered.
|
|
30
|
+
Rendered = "rendered",// The rendering process is complete.
|
|
31
|
+
Processing = "processing",// The widget is performing a task or interaction.
|
|
32
|
+
Error = "error"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type AXPLayoutElementAPI = {
|
|
36
|
+
[name: string]: Subject<any> | Function;
|
|
37
|
+
};
|
|
38
|
+
declare abstract class AXPLayoutElement {
|
|
39
|
+
abstract get id(): string | null;
|
|
40
|
+
abstract get status(): Signal<AXPWidgetStatus>;
|
|
41
|
+
api(): AXPLayoutElementAPI;
|
|
42
|
+
}
|
|
43
|
+
declare class AXPLayoutBuilderService {
|
|
44
|
+
private readonly variables$;
|
|
45
|
+
private readonly functions$;
|
|
46
|
+
readonly onRefresh: Subject<void>;
|
|
47
|
+
private widgets;
|
|
48
|
+
private readonly onWidgetRegistered;
|
|
49
|
+
private readonly status$;
|
|
50
|
+
readonly status: Signal<AXPPageStatus>;
|
|
51
|
+
readonly isBusy: Signal<boolean>;
|
|
52
|
+
get variables(): any;
|
|
53
|
+
get functions(): {
|
|
54
|
+
[key: string]: Function;
|
|
55
|
+
};
|
|
56
|
+
updateStatus(): void;
|
|
57
|
+
private detectStatus;
|
|
58
|
+
refresh(): void;
|
|
59
|
+
setStatus(status: AXPPageStatus): void;
|
|
60
|
+
setVariables(keysValues: any): void;
|
|
61
|
+
setVariables(key: string, value: any): void;
|
|
62
|
+
setFunctions(keysValues: any): void;
|
|
63
|
+
setFunctions(key: string, value: any): void;
|
|
64
|
+
registerWidget(id: string, widget: AXPLayoutElement): void;
|
|
65
|
+
getWidget(id: string): AXPLayoutElement | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Waits until a widget with the given id is registered, then resolves with it.
|
|
68
|
+
* If the widget is already registered, resolves immediately.
|
|
69
|
+
* Optionally accepts a timeout (in ms) after which it resolves with undefined.
|
|
70
|
+
*/
|
|
71
|
+
waitForWidget(id: string, timeoutMs?: number): Promise<AXPLayoutElement | undefined>;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBuilderService, never>;
|
|
74
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBuilderService>;
|
|
75
|
+
}
|
|
76
|
+
|
|
16
77
|
interface AXPWidgetCategory {
|
|
17
78
|
name: string;
|
|
18
79
|
title: string;
|
|
@@ -62,6 +123,7 @@ interface AXPWidgetTypesMap {
|
|
|
62
123
|
fileTypeExtension: 'file-type-extension';
|
|
63
124
|
map: 'map';
|
|
64
125
|
imageMarker: 'image-marker';
|
|
126
|
+
image: 'image';
|
|
65
127
|
gallery: 'gallery';
|
|
66
128
|
signature: 'signature';
|
|
67
129
|
buttonAction: 'button-action';
|
|
@@ -82,6 +144,7 @@ interface AXPWidgetTypesMap {
|
|
|
82
144
|
border: 'border';
|
|
83
145
|
direction: 'direction';
|
|
84
146
|
flexLayout: 'flex-layout';
|
|
147
|
+
flexItem: 'flex-item-layout';
|
|
85
148
|
avatar: 'avatar';
|
|
86
149
|
stringFilter: 'string-filter';
|
|
87
150
|
numberFilter: 'number-filter';
|
|
@@ -89,7 +152,9 @@ interface AXPWidgetTypesMap {
|
|
|
89
152
|
booleanFilter: 'boolean-filter';
|
|
90
153
|
lookupFilter: 'lookup-filter';
|
|
91
154
|
flexOptions: 'flex-options';
|
|
155
|
+
flexItemOptions: 'flex-item-options';
|
|
92
156
|
gridOptions: 'grid-options';
|
|
157
|
+
gridItemOptions: 'grid-item-options';
|
|
93
158
|
advancedGridOptions: 'advanced-grid-options';
|
|
94
159
|
selectFilter: 'select-filter';
|
|
95
160
|
requiredValidation: 'required-validation';
|
|
@@ -120,29 +185,15 @@ interface AXPWidgetTypesMap {
|
|
|
120
185
|
fontStyleChooser: 'font-style-chooser';
|
|
121
186
|
fontSizeChooser: 'font-size-chooser';
|
|
122
187
|
iconChooser: 'icon-chooser';
|
|
123
|
-
|
|
188
|
+
themeColorChooser: 'theme-color-chooser';
|
|
124
189
|
panel: 'panel';
|
|
125
190
|
notification: 'notification';
|
|
126
|
-
|
|
191
|
+
taskBoard: 'task-board';
|
|
127
192
|
comment: 'comment';
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Rendering = "rendering",// The page is being rendered.
|
|
133
|
-
Rendered = "rendered",// The rendering process is complete. should be renamed to idle
|
|
134
|
-
Processing = "processing",// The page is performing a task or interaction.
|
|
135
|
-
Submitting = "submitting",// The form is being submitted.
|
|
136
|
-
Submitted = "submitted",// Submission is completed.
|
|
137
|
-
Validating = "validating",// The form is being validated.
|
|
138
|
-
Validated = "validated",// Validation is completed.
|
|
139
|
-
Error = "error"
|
|
140
|
-
}
|
|
141
|
-
declare enum AXPWidgetStatus {
|
|
142
|
-
Rendering = "rendering",// The widget is being rendered.
|
|
143
|
-
Rendered = "rendered",// The rendering process is complete.
|
|
144
|
-
Processing = "processing",// The widget is performing a task or interaction.
|
|
145
|
-
Error = "error"
|
|
193
|
+
list: 'list';
|
|
194
|
+
listToolbar: 'list-toolbar';
|
|
195
|
+
entityList: 'entity-list';
|
|
196
|
+
documentUploader: 'document-uploader';
|
|
146
197
|
}
|
|
147
198
|
|
|
148
199
|
interface AXPWidgetPropertyGroup {
|
|
@@ -291,39 +342,278 @@ interface AXPLayoutBuilderStatusChangedEvent {
|
|
|
291
342
|
status: AXPPageStatus;
|
|
292
343
|
}
|
|
293
344
|
|
|
294
|
-
type
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
345
|
+
type AXPClassMap = Readonly<Record<string, boolean>>;
|
|
346
|
+
type AXPStyleMap = Readonly<Record<string, string | number>>;
|
|
347
|
+
declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
348
|
+
#private;
|
|
349
|
+
protected readonly token: _acorex_platform_layout_builder.AXPWidgetNodeToken;
|
|
350
|
+
readonly host: HTMLDivElement;
|
|
351
|
+
protected readonly layoutService: AXPLayoutBuilderService;
|
|
352
|
+
protected readonly contextService: {
|
|
353
|
+
data: _angular_core.Signal<{}>;
|
|
354
|
+
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
355
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
356
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
357
|
+
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
358
|
+
isChanged: _angular_core.Signal<boolean>;
|
|
359
|
+
isReset: _angular_core.Signal<boolean>;
|
|
360
|
+
isInitiated: _angular_core.Signal<boolean>;
|
|
361
|
+
isEmpty: _angular_core.Signal<boolean>;
|
|
362
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
363
|
+
snapshot: _angular_core.Signal<{}>;
|
|
364
|
+
initial: _angular_core.Signal<{}>;
|
|
365
|
+
previous: _angular_core.Signal<{}>;
|
|
366
|
+
changeEvent: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
367
|
+
update: (path: string, value: any) => void;
|
|
368
|
+
patch: (context: {}) => void;
|
|
369
|
+
reset: () => void;
|
|
370
|
+
set: (initialData: any) => void;
|
|
371
|
+
getValue: (path: string) => any;
|
|
372
|
+
} & _ngrx_signals.StateSource<{
|
|
373
|
+
data: {};
|
|
374
|
+
state: _acorex_platform_layout_builder.AXPLayoutContextState;
|
|
375
|
+
initialSnapshot: {};
|
|
376
|
+
previousSnapshot: {};
|
|
377
|
+
lastChange: _acorex_platform_layout_builder.AXPLayoutContextChangeEvent;
|
|
378
|
+
}>;
|
|
379
|
+
readonly config: _acorex_platform_layout_builder.AXPWidgetConfig<any>;
|
|
380
|
+
readonly node: AXPWidgetNode;
|
|
381
|
+
protected readonly name: string | undefined;
|
|
382
|
+
protected _id: string | null;
|
|
383
|
+
get id(): string | null;
|
|
384
|
+
protected _options: _angular_core.WritableSignal<any>;
|
|
385
|
+
options: _angular_core.Signal<any>;
|
|
386
|
+
onOptionsChanged: Subject<{
|
|
387
|
+
sender: AXPBaseWidgetComponent;
|
|
388
|
+
}>;
|
|
389
|
+
private _status;
|
|
390
|
+
status: _angular_core.Signal<AXPWidgetStatus>;
|
|
391
|
+
readonly onStatusChanged: BehaviorSubject<AXPWidgetStatus>;
|
|
392
|
+
isBusy: _angular_core.Signal<boolean>;
|
|
393
|
+
parent: AXPLayoutBaseWidgetComponent | null | undefined;
|
|
394
|
+
index: number | null | undefined;
|
|
395
|
+
mode: AXPWidgetRenderMode;
|
|
396
|
+
locked: boolean;
|
|
397
|
+
protected outputs(): (string | {
|
|
398
|
+
[name: string]: unknown;
|
|
399
|
+
})[];
|
|
400
|
+
ngOnInit(): void;
|
|
401
|
+
setStatus(status: AXPWidgetStatus): void;
|
|
402
|
+
setOptions(values: any): void;
|
|
403
|
+
output<T = any>(name: string): T;
|
|
404
|
+
call(name: string, ...args: any[]): void;
|
|
405
|
+
protected readonly _children: _angular_core.WritableSignal<AXPWidgetNode[]>;
|
|
406
|
+
protected children: _angular_core.Signal<AXPWidgetNode[]>;
|
|
407
|
+
setChildren(children: AXPWidgetNode[]): void;
|
|
408
|
+
onAdded(): void;
|
|
409
|
+
hostClass?(): AXPClassMap;
|
|
410
|
+
hostStyle?(): AXPStyleMap;
|
|
411
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBaseWidgetComponent, never>;
|
|
412
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBaseWidgetComponent>;
|
|
301
413
|
}
|
|
302
|
-
declare class
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
readonly
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
414
|
+
declare abstract class AXPLayoutBaseWidgetComponent extends AXPBaseWidgetComponent {
|
|
415
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBaseWidgetComponent, never>;
|
|
416
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBaseWidgetComponent>;
|
|
417
|
+
}
|
|
418
|
+
declare abstract class AXPValueWidgetComponent<T = any | null> extends AXPLayoutBaseWidgetComponent implements OnInit {
|
|
419
|
+
protected readonly path: string | undefined;
|
|
420
|
+
protected readonly defaultValue: any;
|
|
421
|
+
private _isValueWidget;
|
|
422
|
+
private isValueWidget;
|
|
423
|
+
onValueChanged: Subject<{
|
|
424
|
+
sender: AXPBaseWidgetComponent;
|
|
425
|
+
}>;
|
|
426
|
+
fullPath: _angular_core.WritableSignal<string | null>;
|
|
427
|
+
parentPath: _angular_core.WritableSignal<string | null>;
|
|
428
|
+
ngOnInit(): void;
|
|
429
|
+
getValue: _angular_core.Signal<T>;
|
|
430
|
+
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
431
|
+
protected extractValue(path: string): any;
|
|
432
|
+
setValue(value: T | null | undefined): void;
|
|
433
|
+
private detectFullPath;
|
|
434
|
+
protected handleValueChanged(e: AXValueChangedEvent<T>): void;
|
|
435
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPValueWidgetComponent<any>, never>;
|
|
436
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPValueWidgetComponent<any>>;
|
|
437
|
+
}
|
|
438
|
+
declare abstract class AXPDataListWidgetComponent extends AXPValueWidgetComponent<any> {
|
|
439
|
+
private dataService;
|
|
440
|
+
protected textField: _angular_core.Signal<string>;
|
|
441
|
+
protected valueField: _angular_core.Signal<string>;
|
|
442
|
+
protected dataSource: _angular_core.WritableSignal<AXDataSource<any>>;
|
|
443
|
+
protected isReady: _angular_core.Signal<boolean>;
|
|
444
|
+
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
445
|
+
private rf;
|
|
446
|
+
protected extractItem(item: unknown): Promise<any>;
|
|
447
|
+
private effect2;
|
|
448
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataListWidgetComponent, never>;
|
|
449
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDataListWidgetComponent>;
|
|
450
|
+
}
|
|
451
|
+
declare abstract class AXPColumnWidgetComponent<T = any | null | void> {
|
|
452
|
+
private readonly token;
|
|
453
|
+
protected readonly path: string;
|
|
454
|
+
protected readonly options: _acorex_platform_core.AXPOptionsData;
|
|
455
|
+
protected readonly rawValue: T;
|
|
456
|
+
protected readonly rowData: any;
|
|
457
|
+
protected readonly nullText: any;
|
|
458
|
+
protected readonly nullValue: T;
|
|
459
|
+
protected value: _angular_core.Signal<T>;
|
|
460
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColumnWidgetComponent<any>, never>;
|
|
461
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPColumnWidgetComponent<any>>;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
declare abstract class AXPBoxModelLayoutWidgetComponent extends AXPLayoutBaseWidgetComponent {
|
|
465
|
+
hostBoxStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
466
|
+
protected blockStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
467
|
+
protected inlineStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
468
|
+
protected blockClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
469
|
+
protected inlineClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
470
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBoxModelLayoutWidgetComponent, never>;
|
|
471
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBoxModelLayoutWidgetComponent>;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
declare abstract class AXPBlockBaseLayoutWidgetComponent extends AXPBoxModelLayoutWidgetComponent {
|
|
475
|
+
hostClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
476
|
+
hostStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
477
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBlockBaseLayoutWidgetComponent, never>;
|
|
478
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBlockBaseLayoutWidgetComponent>;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
type AXPPropertyEditorSideValues = 'top' | 'left' | 'bottom' | 'right';
|
|
482
|
+
type AXPPropertyEditorCornerValues = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
483
|
+
type AXPPropertyEditorSideGeneric<T extends string, U extends string | number = string> = Record<T, U>;
|
|
484
|
+
type AXPPropertySides<T extends string | number = string> = AXPPropertyEditorSideGeneric<AXPPropertyEditorSideValues, T>;
|
|
485
|
+
type AXPPropertyCorners<T extends string | number = string> = AXPPropertyEditorSideGeneric<AXPPropertyEditorCornerValues, T>;
|
|
486
|
+
interface AXPSpacingBox<T extends string | number = string> {
|
|
487
|
+
margin: AXPPropertySides<T>;
|
|
488
|
+
padding: AXPPropertySides<T>;
|
|
489
|
+
}
|
|
490
|
+
interface AXPBorderBox<T extends string | number = string> {
|
|
491
|
+
width: AXPPropertySides<T>;
|
|
492
|
+
radius: AXPPropertyCorners<T>;
|
|
493
|
+
color: AXPPropertySides<T>;
|
|
494
|
+
style: AXPPropertySides<T>;
|
|
495
|
+
}
|
|
496
|
+
interface AXPSpacingBoxString {
|
|
497
|
+
margin: string;
|
|
498
|
+
padding: string;
|
|
499
|
+
}
|
|
500
|
+
interface AXPBorderBoxString {
|
|
501
|
+
width: string;
|
|
502
|
+
radius: string;
|
|
503
|
+
color: string;
|
|
504
|
+
style: string;
|
|
505
|
+
}
|
|
506
|
+
interface AXPFlexBoxString {
|
|
507
|
+
flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
508
|
+
flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
509
|
+
justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
510
|
+
alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
|
|
511
|
+
gap?: string;
|
|
512
|
+
}
|
|
513
|
+
interface AXPFlexItemBoxString {
|
|
514
|
+
order?: string;
|
|
515
|
+
grow?: string;
|
|
516
|
+
shrink?: string;
|
|
517
|
+
basis?: string;
|
|
518
|
+
alignSelf?: string;
|
|
519
|
+
}
|
|
520
|
+
interface AXPGridBoxString {
|
|
521
|
+
columns?: number;
|
|
522
|
+
rows?: number;
|
|
523
|
+
gap?: string;
|
|
524
|
+
justifyItems?: 'start' | 'end' | 'center' | 'stretch';
|
|
525
|
+
alignItems?: 'start' | 'end' | 'center' | 'stretch';
|
|
526
|
+
autoFlow?: 'row' | 'column' | 'dense' | 'row dense' | 'column dense';
|
|
527
|
+
}
|
|
528
|
+
interface AXPGridItemBoxString {
|
|
529
|
+
colSpan?: string | number;
|
|
530
|
+
colStart?: string | number;
|
|
531
|
+
colEnd?: string | number;
|
|
532
|
+
rowSpan?: string | number;
|
|
533
|
+
rowStart?: string | number;
|
|
534
|
+
rowEnd?: string | number;
|
|
535
|
+
alignSelf?: 'start' | 'end' | 'center' | 'stretch';
|
|
536
|
+
justifySelf?: 'start' | 'end' | 'center' | 'stretch';
|
|
537
|
+
}
|
|
538
|
+
type AXPGridBreakpointValues = AXPBreakpointValues<AXPGridBoxString>;
|
|
539
|
+
type AXPBreakpoints = 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
540
|
+
type AXPBreakpointValues<T> = {
|
|
541
|
+
[key in AXPBreakpoints]?: T;
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
declare class AXPPropertyEditorHelper {
|
|
545
|
+
private static expandShorthand;
|
|
546
|
+
private static condenseShorthand;
|
|
547
|
+
private static parseSides;
|
|
548
|
+
private static parseSidesWithUnits;
|
|
549
|
+
private static parseCorners;
|
|
550
|
+
static parseSpacingBox(input: AXPSpacingBoxString): AXPSpacingBox<number>;
|
|
551
|
+
static parseBorderBox(input: AXPBorderBoxString): AXPBorderBox<number | string>;
|
|
552
|
+
static parseSpacingBoxReverse(input: AXPSpacingBox<number>, units: AXPSpacingBox<string>): AXPSpacingBoxString;
|
|
553
|
+
static parseBorderBoxReverse(input: AXPBorderBox<number | string>, units: AXPBorderBox<string>): AXPBorderBoxString;
|
|
554
|
+
static getValueWithUnit(input: string | number): {
|
|
555
|
+
value: number;
|
|
556
|
+
unit: string;
|
|
313
557
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
558
|
+
static getValueFromUnit(value: number, unit: string): string;
|
|
559
|
+
static parseGap(gap: string): {
|
|
560
|
+
values: Record<'x' | 'y', number>;
|
|
561
|
+
unit: string;
|
|
562
|
+
};
|
|
563
|
+
static parseGridTemplate(gridTemplate: string): number;
|
|
564
|
+
static createGridTemplate(repetitionCount: number): string;
|
|
565
|
+
}
|
|
566
|
+
declare function findNonEmptyBreakpoints<T>(values: AXPBreakpointValues<T>): AXPBreakpoints[];
|
|
567
|
+
|
|
568
|
+
declare abstract class AXPFlexBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
569
|
+
protected flex: _angular_core.Signal<AXPFlexBoxString | undefined>;
|
|
570
|
+
hostFlexStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
571
|
+
hostFlexClass: _angular_core.Signal<Record<string, boolean>>;
|
|
572
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
573
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
574
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFlexBaseLayoutWidgetComponent, never>;
|
|
575
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFlexBaseLayoutWidgetComponent>;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
declare abstract class AXPInlineBaseLayoutWidgetComponent extends AXPBoxModelLayoutWidgetComponent {
|
|
579
|
+
hostClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
580
|
+
hostStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
581
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPInlineBaseLayoutWidgetComponent, never>;
|
|
582
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPInlineBaseLayoutWidgetComponent>;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
declare abstract class AXPFlexItemBaseLayoutWidgetComponent extends AXPInlineBaseLayoutWidgetComponent {
|
|
586
|
+
protected flexItem: _angular_core.Signal<AXPFlexItemBoxString | undefined>;
|
|
587
|
+
hostFlexItemStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
588
|
+
hostFlexItemClass: _angular_core.Signal<{
|
|
589
|
+
[x: string]: boolean;
|
|
590
|
+
}>;
|
|
591
|
+
hostClass: _angular_core.Signal<{
|
|
592
|
+
[x: string]: boolean;
|
|
593
|
+
}>;
|
|
594
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
595
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFlexItemBaseLayoutWidgetComponent, never>;
|
|
596
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFlexItemBaseLayoutWidgetComponent>;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
declare abstract class AXPGridBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
600
|
+
private grid;
|
|
601
|
+
hostGridStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
602
|
+
hostGridClass: _angular_core.Signal<Record<string, boolean>>;
|
|
603
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
604
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
605
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGridBaseLayoutWidgetComponent, never>;
|
|
606
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGridBaseLayoutWidgetComponent>;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
declare abstract class AXPGridItemBaseLayoutWidgetComponent extends AXPFlexBaseLayoutWidgetComponent {
|
|
610
|
+
private gridItem;
|
|
611
|
+
hostGridItemStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
612
|
+
hostGridItemClass: _angular_core.Signal<Record<string, boolean>>;
|
|
613
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
614
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
615
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGridItemBaseLayoutWidgetComponent, never>;
|
|
616
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGridItemBaseLayoutWidgetComponent>;
|
|
327
617
|
}
|
|
328
618
|
|
|
329
619
|
type AXPLayoutContextState = 'initiated' | 'restored' | 'changed' | 'patch';
|
|
@@ -335,10 +625,10 @@ declare class AXPLayoutContextChangeEvent {
|
|
|
335
625
|
data: any;
|
|
336
626
|
}
|
|
337
627
|
declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
338
|
-
data:
|
|
628
|
+
data: _angular_core.Signal<{}>;
|
|
339
629
|
state: _angular_core.Signal<AXPLayoutContextState>;
|
|
340
|
-
initialSnapshot:
|
|
341
|
-
previousSnapshot:
|
|
630
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
631
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
342
632
|
lastChange: _ngrx_signals.DeepSignal<AXPLayoutContextChangeEvent>;
|
|
343
633
|
isChanged: _angular_core.Signal<boolean>;
|
|
344
634
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -364,10 +654,10 @@ declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
|
364
654
|
|
|
365
655
|
declare class AXPWidgetContainerComponent {
|
|
366
656
|
readonly contextService: {
|
|
367
|
-
data:
|
|
657
|
+
data: _angular_core.Signal<{}>;
|
|
368
658
|
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
369
|
-
initialSnapshot:
|
|
370
|
-
previousSnapshot:
|
|
659
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
660
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
371
661
|
lastChange: _ngrx_signals.DeepSignal<AXPLayoutContextChangeEvent>;
|
|
372
662
|
isChanged: _angular_core.Signal<boolean>;
|
|
373
663
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -397,6 +687,8 @@ declare class AXPWidgetContainerComponent {
|
|
|
397
687
|
constructor();
|
|
398
688
|
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
|
399
689
|
isBusy: _angular_core.Signal<boolean>;
|
|
690
|
+
refresh(): void;
|
|
691
|
+
find(name: string): Promise<_acorex_platform_layout_builder.AXPLayoutElement | undefined>;
|
|
400
692
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPWidgetContainerComponent, never>;
|
|
401
693
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWidgetContainerComponent, "axp-widgets-container", never, { "context": { "alias": "context"; "required": false; }; "functions": { "alias": "functions"; "required": false; }; }, { "onContextChanged": "onContextChanged"; }, never, ["*"], false, never>;
|
|
402
694
|
}
|
|
@@ -450,121 +742,9 @@ declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponen
|
|
|
450
742
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWidgetColumnRendererComponent, "axp-widget-column-renderer", never, { "caption": { "alias": "caption"; "required": false; }; "customExpandIcon": { "alias": "customExpandIcon"; "required": false; }; "customCollapseIcon": { "alias": "customCollapseIcon"; "required": false; }; "customWidth": { "alias": "customWidth"; "required": false; }; "node": { "alias": "node"; "required": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "expandHandler": { "alias": "expandHandler"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
451
743
|
}
|
|
452
744
|
|
|
453
|
-
declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
454
|
-
#private;
|
|
455
|
-
protected readonly token: _acorex_platform_layout_builder.AXPWidgetNodeToken;
|
|
456
|
-
readonly host: HTMLDivElement;
|
|
457
|
-
protected readonly layoutService: AXPLayoutBuilderService;
|
|
458
|
-
protected readonly contextService: {
|
|
459
|
-
data: _ngrx_signals.DeepSignal<{}>;
|
|
460
|
-
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
461
|
-
initialSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
462
|
-
previousSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
463
|
-
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
464
|
-
isChanged: _angular_core.Signal<boolean>;
|
|
465
|
-
isReset: _angular_core.Signal<boolean>;
|
|
466
|
-
isInitiated: _angular_core.Signal<boolean>;
|
|
467
|
-
isEmpty: _angular_core.Signal<boolean>;
|
|
468
|
-
isDirty: _angular_core.Signal<boolean>;
|
|
469
|
-
snapshot: _angular_core.Signal<{}>;
|
|
470
|
-
initial: _angular_core.Signal<{}>;
|
|
471
|
-
previous: _angular_core.Signal<{}>;
|
|
472
|
-
changeEvent: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
473
|
-
update: (path: string, value: any) => void;
|
|
474
|
-
patch: (context: {}) => void;
|
|
475
|
-
reset: () => void;
|
|
476
|
-
set: (initialData: any) => void;
|
|
477
|
-
getValue: (path: string) => any;
|
|
478
|
-
} & _ngrx_signals.StateSource<{
|
|
479
|
-
data: {};
|
|
480
|
-
state: _acorex_platform_layout_builder.AXPLayoutContextState;
|
|
481
|
-
initialSnapshot: {};
|
|
482
|
-
previousSnapshot: {};
|
|
483
|
-
lastChange: _acorex_platform_layout_builder.AXPLayoutContextChangeEvent;
|
|
484
|
-
}>;
|
|
485
|
-
readonly config: _acorex_platform_layout_builder.AXPWidgetConfig<any>;
|
|
486
|
-
readonly node: AXPWidgetNode;
|
|
487
|
-
protected readonly name: string | undefined;
|
|
488
|
-
protected _id: string | null;
|
|
489
|
-
get id(): string | null;
|
|
490
|
-
protected _options: _angular_core.WritableSignal<any>;
|
|
491
|
-
options: _angular_core.Signal<any>;
|
|
492
|
-
onOptionsChanged: Subject<{
|
|
493
|
-
sender: AXPBaseWidgetComponent;
|
|
494
|
-
}>;
|
|
495
|
-
private _status;
|
|
496
|
-
status: _angular_core.Signal<AXPWidgetStatus>;
|
|
497
|
-
readonly onStatusChanged: BehaviorSubject<AXPWidgetStatus>;
|
|
498
|
-
isBusy: _angular_core.Signal<boolean>;
|
|
499
|
-
parent: AXPLayoutWidgetComponent | null | undefined;
|
|
500
|
-
index: number | null | undefined;
|
|
501
|
-
mode: AXPWidgetRenderMode;
|
|
502
|
-
locked: boolean;
|
|
503
|
-
protected outputs(): (string | {
|
|
504
|
-
[name: string]: unknown;
|
|
505
|
-
})[];
|
|
506
|
-
ngOnInit(): void;
|
|
507
|
-
setStatus(status: AXPWidgetStatus): void;
|
|
508
|
-
setOptions(values: any): void;
|
|
509
|
-
output<T = any>(name: string): T;
|
|
510
|
-
call(name: string, ...args: any[]): void;
|
|
511
|
-
protected readonly _children: _angular_core.WritableSignal<AXPWidgetNode[]>;
|
|
512
|
-
protected children: _angular_core.Signal<AXPWidgetNode[]>;
|
|
513
|
-
setChildren(children: AXPWidgetNode[]): void;
|
|
514
|
-
onAdded(): void;
|
|
515
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBaseWidgetComponent, never>;
|
|
516
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBaseWidgetComponent>;
|
|
517
|
-
}
|
|
518
|
-
declare abstract class AXPLayoutWidgetComponent extends AXPBaseWidgetComponent {
|
|
519
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutWidgetComponent, never>;
|
|
520
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutWidgetComponent>;
|
|
521
|
-
}
|
|
522
|
-
declare abstract class AXPValueWidgetComponent<T = any | null> extends AXPLayoutWidgetComponent implements OnInit {
|
|
523
|
-
protected readonly path: string | undefined;
|
|
524
|
-
protected readonly defaultValue: any;
|
|
525
|
-
private _isValueWidget;
|
|
526
|
-
private isValueWidget;
|
|
527
|
-
onValueChanged: Subject<{
|
|
528
|
-
sender: AXPBaseWidgetComponent;
|
|
529
|
-
}>;
|
|
530
|
-
fullPath: _angular_core.WritableSignal<string | null>;
|
|
531
|
-
parentPath: _angular_core.WritableSignal<string | null>;
|
|
532
|
-
ngOnInit(): void;
|
|
533
|
-
getValue: _angular_core.Signal<T>;
|
|
534
|
-
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
535
|
-
protected extractValue(path: string): any;
|
|
536
|
-
setValue(value: T | null | undefined): void;
|
|
537
|
-
private detectFullPath;
|
|
538
|
-
protected handleValueChanged(e: AXValueChangedEvent<T>): void;
|
|
539
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPValueWidgetComponent<any>, never>;
|
|
540
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPValueWidgetComponent<any>>;
|
|
541
|
-
}
|
|
542
|
-
declare abstract class AXPDataListWidgetComponent extends AXPValueWidgetComponent<any> {
|
|
543
|
-
private dataService;
|
|
544
|
-
protected textField: _angular_core.Signal<string>;
|
|
545
|
-
protected valueField: _angular_core.Signal<string>;
|
|
546
|
-
protected dataSource: _angular_core.WritableSignal<AXDataSource<unknown>>;
|
|
547
|
-
protected isReady: _angular_core.Signal<boolean>;
|
|
548
|
-
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
549
|
-
private rf;
|
|
550
|
-
protected extractItem(item: unknown): Promise<any>;
|
|
551
|
-
private effect2;
|
|
552
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataListWidgetComponent, never>;
|
|
553
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDataListWidgetComponent>;
|
|
554
|
-
}
|
|
555
|
-
declare abstract class AXPColumnWidgetComponent<T = any | null | void> {
|
|
556
|
-
private readonly token;
|
|
557
|
-
protected readonly path: string;
|
|
558
|
-
protected readonly options: _acorex_platform_core.AXPOptionsData;
|
|
559
|
-
protected readonly rawValue: T;
|
|
560
|
-
protected readonly rowData: any;
|
|
561
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColumnWidgetComponent<any>, never>;
|
|
562
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPColumnWidgetComponent<any>>;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
745
|
type AXPWidgetRendererDirectiveOptions = AXPMetaData;
|
|
566
746
|
declare class AXPWidgetRendererDirective {
|
|
567
|
-
parentNode: _angular_core.InputSignal<
|
|
747
|
+
parentNode: _angular_core.InputSignal<AXPLayoutBaseWidgetComponent | null | undefined>;
|
|
568
748
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
569
749
|
mode: _angular_core.InputSignal<keyof _acorex_platform_layout_builder.AXPWidgetConfigComponents>;
|
|
570
750
|
node: _angular_core.InputSignal<AXPWidgetNode>;
|
|
@@ -582,10 +762,10 @@ declare class AXPWidgetRendererDirective {
|
|
|
582
762
|
private injector;
|
|
583
763
|
protected builderService: AXPLayoutBuilderService;
|
|
584
764
|
protected contextService: {
|
|
585
|
-
data:
|
|
765
|
+
data: _angular_core.Signal<{}>;
|
|
586
766
|
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
587
|
-
initialSnapshot:
|
|
588
|
-
previousSnapshot:
|
|
767
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
768
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
589
769
|
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
590
770
|
isChanged: _angular_core.Signal<boolean>;
|
|
591
771
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -615,7 +795,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
615
795
|
protected expressionEvaluator: AXPExpressionEvaluatorService;
|
|
616
796
|
private viewContainerRef;
|
|
617
797
|
protected isLoading: WritableSignal<boolean>;
|
|
618
|
-
|
|
798
|
+
instance: AXPValueWidgetComponent;
|
|
619
799
|
private expressionEvaluators;
|
|
620
800
|
private componentRef;
|
|
621
801
|
private renderTimeoutId;
|
|
@@ -657,7 +837,7 @@ declare class AXPLayoutBuilderModule {
|
|
|
657
837
|
*/
|
|
658
838
|
constructor(instances: any[]);
|
|
659
839
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBuilderModule, [{ optional: true; }]>;
|
|
660
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPLayoutBuilderModule, [typeof AXPWidgetContainerComponent, typeof AXPWidgetColumnRendererComponent, typeof AXPWidgetRendererDirective], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.AXSkeletonModule, typeof i4.CommonModule], [typeof AXPWidgetContainerComponent, typeof AXPWidgetColumnRendererComponent, typeof AXPWidgetRendererDirective]>;
|
|
840
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPLayoutBuilderModule, [typeof AXPWidgetContainerComponent, typeof AXPWidgetColumnRendererComponent, typeof AXPWidgetRendererDirective], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.AXSkeletonModule, typeof i4.CommonModule, typeof i7.AXTranslationModule], [typeof AXPWidgetContainerComponent, typeof AXPWidgetColumnRendererComponent, typeof AXPWidgetRendererDirective]>;
|
|
661
841
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPLayoutBuilderModule>;
|
|
662
842
|
}
|
|
663
843
|
|
|
@@ -670,5 +850,5 @@ interface AXPMetaDataDefinition {
|
|
|
670
850
|
|
|
671
851
|
declare const AXPWidgetsCatalog: AXPWidgetTypesMap;
|
|
672
852
|
|
|
673
|
-
export { AXPBaseWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement,
|
|
674
|
-
export type { AXPExtractWidgetConfig, AXPLayoutBuilderModuleConfigs, AXPLayoutBuilderStatusChangedEvent, AXPLayoutContextState, AXPLayoutElementAPI, AXPMetaDataDefinition, AXPWidgetCategory, AXPWidgetColumnNode, AXPWidgetColumnNodeToken, AXPWidgetComponentConfig, AXPWidgetConfig, AXPWidgetConfigComponents, AXPWidgetDesignerOptionsMap, AXPWidgetGroup, AXPWidgetNode, AXPWidgetNodeToken, AXPWidgetProperty, AXPWidgetPropertyGroup, AXPWidgetRenderMode, AXPWidgetRendererDirectiveOptions, AXPWidgetTypesMap, AXPWidgetViewType, extendedWidget };
|
|
853
|
+
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement, AXPPageStatus, AXPPropertyEditorHelper, AXPValueWidgetComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetGroupEnum, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetStatus, AXPWidgetsCatalog, AXP_WIDGETS_ACTION_CATEGORY, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_CATEGORIES, AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_LAYOUT_CATEGORY, AXP_WIDGET_COLUMN_TOKEN, AXP_WIDGET_TOKEN, cloneProperty, createBooleanProperty, createNumberProperty, createSelectProperty, createStringProperty, findNonEmptyBreakpoints };
|
|
854
|
+
export type { AXPBorderBox, AXPBorderBoxString, AXPBreakpointValues, AXPBreakpoints, AXPClassMap, AXPExtractWidgetConfig, AXPFlexBoxString, AXPFlexItemBoxString, AXPGridBoxString, AXPGridBreakpointValues, AXPGridItemBoxString, AXPLayoutBuilderModuleConfigs, AXPLayoutBuilderStatusChangedEvent, AXPLayoutContextState, AXPLayoutElementAPI, AXPMetaDataDefinition, AXPPropertyCorners, AXPPropertyEditorCornerValues, AXPPropertyEditorSideGeneric, AXPPropertyEditorSideValues, AXPPropertySides, AXPSpacingBox, AXPSpacingBoxString, AXPStyleMap, AXPWidgetCategory, AXPWidgetColumnNode, AXPWidgetColumnNodeToken, AXPWidgetComponentConfig, AXPWidgetConfig, AXPWidgetConfigComponents, AXPWidgetDesignerOptionsMap, AXPWidgetGroup, AXPWidgetNode, AXPWidgetNodeToken, AXPWidgetProperty, AXPWidgetPropertyGroup, AXPWidgetRenderMode, AXPWidgetRendererDirectiveOptions, AXPWidgetTypesMap, AXPWidgetViewType, extendedWidget };
|