@acorex/platform 20.3.0-next.1 → 20.3.0-next.10
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 +125 -12
- package/core/index.d.ts +656 -100
- package/fesm2022/acorex-platform-auth.mjs +20 -20
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +120 -148
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +885 -261
- 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 +1615 -662
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +3327 -157
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +172 -210
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +4522 -1643
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +398 -89
- 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-Ct-ri59W.mjs} +7 -7
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs +706 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.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-BgEh06Tn.mjs} +24 -14
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.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-DEVzRd6-.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +250 -85
- 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-DSaD9Fwc.mjs} +7 -7
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.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-Cmtq2bBV.mjs} +72 -7
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs → acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs} +79 -69
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs} +13 -13
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs → acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs} +8 -7
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs → acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs} +9 -14
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +9152 -7182
- 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 +419 -185
- package/layout/components/index.d.ts +1129 -24
- package/layout/designer/index.d.ts +20 -49
- package/layout/entity/index.d.ts +424 -332
- package/layout/views/index.d.ts +129 -22
- package/package.json +25 -39
- package/widgets/index.d.ts +1908 -783
- 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-create-view.component-hHXxHlFG.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 +0 -108
- 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-themes-shared-icon-chooser-view.component-C833prGO.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.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 +0 -85
- 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 +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs +0 -55
- 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-rich-text-popup.component-CM_v-cL4.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.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, ComponentRef, 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;
|
|
@@ -41,13 +102,10 @@ interface AXPWidgetTypesMap {
|
|
|
41
102
|
color: 'color-editor';
|
|
42
103
|
contact: 'contact-editor';
|
|
43
104
|
dateTime: 'date-time-editor';
|
|
44
|
-
email: 'email-editor';
|
|
45
105
|
largeText: 'large-text-editor';
|
|
46
|
-
link: 'link-editor';
|
|
47
106
|
number: 'number-editor';
|
|
48
107
|
numberUnit: 'number-unit-editor';
|
|
49
108
|
password: 'password-editor';
|
|
50
|
-
phone: 'phone-editor';
|
|
51
109
|
richText: 'rich-text-editor';
|
|
52
110
|
select: 'select-editor';
|
|
53
111
|
selectionList: 'selection-list-editor';
|
|
@@ -62,6 +120,7 @@ interface AXPWidgetTypesMap {
|
|
|
62
120
|
fileTypeExtension: 'file-type-extension';
|
|
63
121
|
map: 'map';
|
|
64
122
|
imageMarker: 'image-marker';
|
|
123
|
+
image: 'image';
|
|
65
124
|
gallery: 'gallery';
|
|
66
125
|
signature: 'signature';
|
|
67
126
|
buttonAction: 'button-action';
|
|
@@ -71,7 +130,6 @@ interface AXPWidgetTypesMap {
|
|
|
71
130
|
advancedGrid: 'advanced-grid-layout';
|
|
72
131
|
advancedGridItem: 'advanced-grid-item-layout';
|
|
73
132
|
grid: 'grid-layout';
|
|
74
|
-
gridRow: 'grid-row-layout';
|
|
75
133
|
gridItem: 'grid-item-layout';
|
|
76
134
|
qrcode: 'qrcode';
|
|
77
135
|
widgetSelector: 'widget-selector';
|
|
@@ -82,6 +140,9 @@ interface AXPWidgetTypesMap {
|
|
|
82
140
|
border: 'border';
|
|
83
141
|
direction: 'direction';
|
|
84
142
|
flexLayout: 'flex-layout';
|
|
143
|
+
flexItem: 'flex-item-layout';
|
|
144
|
+
tableLayout: 'table-layout';
|
|
145
|
+
tableItem: 'table-item-layout';
|
|
85
146
|
avatar: 'avatar';
|
|
86
147
|
stringFilter: 'string-filter';
|
|
87
148
|
numberFilter: 'number-filter';
|
|
@@ -89,7 +150,9 @@ interface AXPWidgetTypesMap {
|
|
|
89
150
|
booleanFilter: 'boolean-filter';
|
|
90
151
|
lookupFilter: 'lookup-filter';
|
|
91
152
|
flexOptions: 'flex-options';
|
|
153
|
+
flexItemOptions: 'flex-item-options';
|
|
92
154
|
gridOptions: 'grid-options';
|
|
155
|
+
gridItemOptions: 'grid-item-options';
|
|
93
156
|
advancedGridOptions: 'advanced-grid-options';
|
|
94
157
|
selectFilter: 'select-filter';
|
|
95
158
|
requiredValidation: 'required-validation';
|
|
@@ -120,29 +183,15 @@ interface AXPWidgetTypesMap {
|
|
|
120
183
|
fontStyleChooser: 'font-style-chooser';
|
|
121
184
|
fontSizeChooser: 'font-size-chooser';
|
|
122
185
|
iconChooser: 'icon-chooser';
|
|
123
|
-
|
|
186
|
+
themeColorChooser: 'theme-color-chooser';
|
|
124
187
|
panel: 'panel';
|
|
125
188
|
notification: 'notification';
|
|
126
|
-
|
|
189
|
+
taskBoard: 'task-board';
|
|
127
190
|
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"
|
|
191
|
+
list: 'list';
|
|
192
|
+
listToolbar: 'list-toolbar';
|
|
193
|
+
entityList: 'entity-list';
|
|
194
|
+
documentUploader: 'document-uploader';
|
|
146
195
|
}
|
|
147
196
|
|
|
148
197
|
interface AXPWidgetPropertyGroup {
|
|
@@ -291,39 +340,314 @@ interface AXPLayoutBuilderStatusChangedEvent {
|
|
|
291
340
|
status: AXPPageStatus;
|
|
292
341
|
}
|
|
293
342
|
|
|
294
|
-
type
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
343
|
+
type AXPClassMap = Readonly<Record<string, boolean>>;
|
|
344
|
+
type AXPStyleMap = Readonly<Record<string, string | number>>;
|
|
345
|
+
declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
346
|
+
#private;
|
|
347
|
+
protected readonly token: _acorex_platform_layout_builder.AXPWidgetNodeToken;
|
|
348
|
+
readonly host: HTMLDivElement;
|
|
349
|
+
protected readonly layoutService: AXPLayoutBuilderService;
|
|
350
|
+
protected readonly contextService: {
|
|
351
|
+
data: _angular_core.Signal<{}>;
|
|
352
|
+
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
353
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
354
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
355
|
+
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
356
|
+
isChanged: _angular_core.Signal<boolean>;
|
|
357
|
+
isReset: _angular_core.Signal<boolean>;
|
|
358
|
+
isInitiated: _angular_core.Signal<boolean>;
|
|
359
|
+
isEmpty: _angular_core.Signal<boolean>;
|
|
360
|
+
isDirty: _angular_core.Signal<boolean>;
|
|
361
|
+
snapshot: _angular_core.Signal<{}>;
|
|
362
|
+
initial: _angular_core.Signal<{}>;
|
|
363
|
+
previous: _angular_core.Signal<{}>;
|
|
364
|
+
changeEvent: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
365
|
+
update: (path: string, value: any) => void;
|
|
366
|
+
patch: (context: {}) => void;
|
|
367
|
+
reset: () => void;
|
|
368
|
+
set: (initialData: any) => void;
|
|
369
|
+
getValue: (path: string) => any;
|
|
370
|
+
} & _ngrx_signals.StateSource<{
|
|
371
|
+
data: {};
|
|
372
|
+
state: _acorex_platform_layout_builder.AXPLayoutContextState;
|
|
373
|
+
initialSnapshot: {};
|
|
374
|
+
previousSnapshot: {};
|
|
375
|
+
lastChange: _acorex_platform_layout_builder.AXPLayoutContextChangeEvent;
|
|
376
|
+
}>;
|
|
377
|
+
readonly config: _acorex_platform_layout_builder.AXPWidgetConfig<any>;
|
|
378
|
+
readonly node: AXPWidgetNode;
|
|
379
|
+
protected readonly name: string | undefined;
|
|
380
|
+
protected component: this;
|
|
381
|
+
protected _id: string | null;
|
|
382
|
+
get id(): string | null;
|
|
383
|
+
protected _options: _angular_core.WritableSignal<_acorex_platform_core.AXPOptionsData>;
|
|
384
|
+
options: _angular_core.Signal<_acorex_platform_core.AXPOptionsData>;
|
|
385
|
+
onOptionsChanged: Subject<{
|
|
386
|
+
sender: AXPBaseWidgetComponent;
|
|
387
|
+
}>;
|
|
388
|
+
private _status;
|
|
389
|
+
status: _angular_core.Signal<AXPWidgetStatus>;
|
|
390
|
+
readonly onStatusChanged: BehaviorSubject<AXPWidgetStatus>;
|
|
391
|
+
isBusy: _angular_core.Signal<boolean>;
|
|
392
|
+
parent: AXPLayoutBaseWidgetComponent | null | undefined;
|
|
393
|
+
parentComponent: ComponentRef<any> | null | undefined;
|
|
394
|
+
parentElement: HTMLElement | null | undefined;
|
|
395
|
+
index: number | null | undefined;
|
|
396
|
+
mode: AXPWidgetRenderMode;
|
|
397
|
+
locked: boolean;
|
|
398
|
+
protected outputs(): (string | {
|
|
399
|
+
[name: string]: unknown;
|
|
400
|
+
})[];
|
|
401
|
+
ngOnInit(): void;
|
|
402
|
+
setStatus(status: AXPWidgetStatus): void;
|
|
403
|
+
setOptions(values: any): void;
|
|
404
|
+
output<T = any>(name: string): T;
|
|
405
|
+
call(name: string, ...args: any[]): void;
|
|
406
|
+
protected readonly _children: _angular_core.WritableSignal<AXPWidgetNode[]>;
|
|
407
|
+
protected children: _angular_core.Signal<AXPWidgetNode[]>;
|
|
408
|
+
setChildren(children: AXPWidgetNode[]): void;
|
|
409
|
+
onAdded(): void;
|
|
410
|
+
hostClass?(): AXPClassMap;
|
|
411
|
+
hostStyle?(): AXPStyleMap;
|
|
412
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBaseWidgetComponent, never>;
|
|
413
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBaseWidgetComponent>;
|
|
301
414
|
}
|
|
302
|
-
declare class
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
readonly
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
415
|
+
declare abstract class AXPLayoutBaseWidgetComponent extends AXPBaseWidgetComponent {
|
|
416
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBaseWidgetComponent, never>;
|
|
417
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBaseWidgetComponent>;
|
|
418
|
+
}
|
|
419
|
+
declare abstract class AXPValueWidgetComponent<T = any | null> extends AXPLayoutBaseWidgetComponent implements OnInit {
|
|
420
|
+
protected readonly path: string | undefined;
|
|
421
|
+
protected readonly defaultValue: any;
|
|
422
|
+
private _isValueWidget;
|
|
423
|
+
private isValueWidget;
|
|
424
|
+
onValueChanged: Subject<{
|
|
425
|
+
sender: AXPBaseWidgetComponent;
|
|
426
|
+
}>;
|
|
427
|
+
fullPath: _angular_core.WritableSignal<string | null>;
|
|
428
|
+
parentPath: _angular_core.WritableSignal<string | null>;
|
|
429
|
+
ngOnInit(): void;
|
|
430
|
+
getValue: _angular_core.Signal<T>;
|
|
431
|
+
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
432
|
+
protected extractValue(path: string): any;
|
|
433
|
+
setValue(value: T | null | undefined): void;
|
|
434
|
+
private detectFullPath;
|
|
435
|
+
protected handleValueChanged(e: AXValueChangedEvent<T>): void;
|
|
436
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPValueWidgetComponent<any>, never>;
|
|
437
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPValueWidgetComponent<any>>;
|
|
438
|
+
}
|
|
439
|
+
declare abstract class AXPDataListWidgetComponent extends AXPValueWidgetComponent<any> {
|
|
440
|
+
private dataService;
|
|
441
|
+
protected textField: _angular_core.Signal<string>;
|
|
442
|
+
protected valueField: _angular_core.Signal<string>;
|
|
443
|
+
protected dataSource: _angular_core.WritableSignal<AXDataSource<any>>;
|
|
444
|
+
protected isReady: _angular_core.Signal<boolean>;
|
|
445
|
+
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
446
|
+
private rf;
|
|
447
|
+
protected extractItem(item: unknown): Promise<any>;
|
|
448
|
+
private effect2;
|
|
449
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataListWidgetComponent, never>;
|
|
450
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDataListWidgetComponent>;
|
|
451
|
+
}
|
|
452
|
+
declare abstract class AXPColumnWidgetComponent<T = any | null | void> {
|
|
453
|
+
private readonly token;
|
|
454
|
+
protected readonly path: string;
|
|
455
|
+
protected readonly options: _acorex_platform_core.AXPOptionsData;
|
|
456
|
+
protected readonly rawValue: T;
|
|
457
|
+
protected readonly rowData: any;
|
|
458
|
+
protected readonly nullText: any;
|
|
459
|
+
protected readonly nullValue: T;
|
|
460
|
+
protected value: _angular_core.Signal<T>;
|
|
461
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColumnWidgetComponent<any>, never>;
|
|
462
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPColumnWidgetComponent<any>>;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare abstract class AXPBoxModelLayoutWidgetComponent extends AXPLayoutBaseWidgetComponent {
|
|
466
|
+
hostBoxStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
467
|
+
protected blockStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
468
|
+
protected inlineStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
469
|
+
protected blockClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
470
|
+
protected inlineClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
471
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBoxModelLayoutWidgetComponent, never>;
|
|
472
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBoxModelLayoutWidgetComponent>;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
declare abstract class AXPBlockBaseLayoutWidgetComponent extends AXPBoxModelLayoutWidgetComponent {
|
|
476
|
+
hostClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
477
|
+
hostStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
478
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBlockBaseLayoutWidgetComponent, never>;
|
|
479
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBlockBaseLayoutWidgetComponent>;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
type AXPPropertyEditorSideValues = 'top' | 'left' | 'bottom' | 'right';
|
|
483
|
+
type AXPPropertyEditorCornerValues = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
484
|
+
type AXPPropertyEditorSideGeneric<T extends string, U extends string | number = string> = Record<T, U>;
|
|
485
|
+
type AXPPropertySides<T extends string | number = string> = AXPPropertyEditorSideGeneric<AXPPropertyEditorSideValues, T>;
|
|
486
|
+
type AXPPropertyCorners<T extends string | number = string> = AXPPropertyEditorSideGeneric<AXPPropertyEditorCornerValues, T>;
|
|
487
|
+
interface AXPSpacingBox<T extends string | number = string> {
|
|
488
|
+
margin: AXPPropertySides<T>;
|
|
489
|
+
padding: AXPPropertySides<T>;
|
|
490
|
+
}
|
|
491
|
+
interface AXPBorderBox<T extends string | number = string> {
|
|
492
|
+
width: AXPPropertySides<T>;
|
|
493
|
+
radius: AXPPropertyCorners<T>;
|
|
494
|
+
color: AXPPropertySides<T>;
|
|
495
|
+
style: AXPPropertySides<T>;
|
|
496
|
+
}
|
|
497
|
+
interface AXPSpacingBoxString {
|
|
498
|
+
margin: string;
|
|
499
|
+
padding: string;
|
|
500
|
+
}
|
|
501
|
+
interface AXPBorderBoxString {
|
|
502
|
+
width: string;
|
|
503
|
+
radius: string;
|
|
504
|
+
color: string;
|
|
505
|
+
style: string;
|
|
506
|
+
}
|
|
507
|
+
interface AXPFlexBoxString {
|
|
508
|
+
flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
509
|
+
flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
510
|
+
justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
511
|
+
alignItems?: 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
|
|
512
|
+
gap?: string;
|
|
513
|
+
}
|
|
514
|
+
interface AXPFlexItemBoxString {
|
|
515
|
+
order?: string;
|
|
516
|
+
grow?: string;
|
|
517
|
+
shrink?: string;
|
|
518
|
+
basis?: string;
|
|
519
|
+
alignSelf?: string;
|
|
520
|
+
}
|
|
521
|
+
interface AXPGridBoxString {
|
|
522
|
+
columns?: number;
|
|
523
|
+
rows?: number;
|
|
524
|
+
gap?: string;
|
|
525
|
+
justifyItems?: 'start' | 'end' | 'center' | 'stretch';
|
|
526
|
+
alignItems?: 'start' | 'end' | 'center' | 'stretch';
|
|
527
|
+
autoFlow?: 'row' | 'column' | 'dense' | 'row dense' | 'column dense';
|
|
528
|
+
}
|
|
529
|
+
interface AXPGridItemBoxString {
|
|
530
|
+
colSpan?: string | number;
|
|
531
|
+
colStart?: string | number;
|
|
532
|
+
colEnd?: string | number;
|
|
533
|
+
rowSpan?: string | number;
|
|
534
|
+
rowStart?: string | number;
|
|
535
|
+
rowEnd?: string | number;
|
|
536
|
+
alignSelf?: 'start' | 'end' | 'center' | 'stretch';
|
|
537
|
+
justifySelf?: 'start' | 'end' | 'center' | 'stretch';
|
|
538
|
+
}
|
|
539
|
+
type AXPGridBreakpointValues = AXPBreakpointValues<AXPGridBoxString>;
|
|
540
|
+
type AXPBreakpoints = 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
541
|
+
type AXPBreakpointValues<T> = {
|
|
542
|
+
[key in AXPBreakpoints]?: T;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
declare class AXPPropertyEditorHelper {
|
|
546
|
+
private static expandShorthand;
|
|
547
|
+
private static condenseShorthand;
|
|
548
|
+
private static parseSides;
|
|
549
|
+
private static parseSidesWithUnits;
|
|
550
|
+
private static parseCorners;
|
|
551
|
+
static parseSpacingBox(input: AXPSpacingBoxString): AXPSpacingBox<number>;
|
|
552
|
+
static parseBorderBox(input: AXPBorderBoxString): AXPBorderBox<number | string>;
|
|
553
|
+
static parseSpacingBoxReverse(input: AXPSpacingBox<number>, units: AXPSpacingBox<string>): AXPSpacingBoxString;
|
|
554
|
+
static parseBorderBoxReverse(input: AXPBorderBox<number | string>, units: AXPBorderBox<string>): AXPBorderBoxString;
|
|
555
|
+
static getValueWithUnit(input: string | number): {
|
|
556
|
+
value: number;
|
|
557
|
+
unit: string;
|
|
313
558
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
559
|
+
static getValueFromUnit(value: number, unit: string): string;
|
|
560
|
+
static parseGap(gap: string): {
|
|
561
|
+
values: Record<'x' | 'y', number>;
|
|
562
|
+
unit: string;
|
|
563
|
+
};
|
|
564
|
+
static parseGridTemplate(gridTemplate: string): number;
|
|
565
|
+
static createGridTemplate(repetitionCount: number): string;
|
|
566
|
+
}
|
|
567
|
+
declare function findNonEmptyBreakpoints<T>(values: AXPBreakpointValues<T>): AXPBreakpoints[];
|
|
568
|
+
|
|
569
|
+
declare abstract class AXPFlexBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
570
|
+
protected flex: _angular_core.Signal<AXPFlexBoxString | undefined>;
|
|
571
|
+
hostFlexStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
572
|
+
hostFlexClass: _angular_core.Signal<Record<string, boolean>>;
|
|
573
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
574
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
575
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFlexBaseLayoutWidgetComponent, never>;
|
|
576
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFlexBaseLayoutWidgetComponent>;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
declare abstract class AXPInlineBaseLayoutWidgetComponent extends AXPBoxModelLayoutWidgetComponent {
|
|
580
|
+
hostClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
581
|
+
hostStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
582
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPInlineBaseLayoutWidgetComponent, never>;
|
|
583
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPInlineBaseLayoutWidgetComponent>;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
declare abstract class AXPFlexItemBaseLayoutWidgetComponent extends AXPInlineBaseLayoutWidgetComponent {
|
|
587
|
+
protected flexItem: _angular_core.Signal<AXPFlexItemBoxString | undefined>;
|
|
588
|
+
hostFlexItemStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
589
|
+
hostFlexItemClass: _angular_core.Signal<{
|
|
590
|
+
[x: string]: boolean;
|
|
591
|
+
}>;
|
|
592
|
+
hostClass: _angular_core.Signal<{
|
|
593
|
+
[x: string]: boolean;
|
|
594
|
+
}>;
|
|
595
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
596
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFlexItemBaseLayoutWidgetComponent, never>;
|
|
597
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFlexItemBaseLayoutWidgetComponent>;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare abstract class AXPGridBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
601
|
+
private grid;
|
|
602
|
+
hostGridStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
603
|
+
hostGridClass: _angular_core.Signal<Record<string, boolean>>;
|
|
604
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
605
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
606
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGridBaseLayoutWidgetComponent, never>;
|
|
607
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGridBaseLayoutWidgetComponent>;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
declare abstract class AXPGridItemBaseLayoutWidgetComponent extends AXPFlexBaseLayoutWidgetComponent {
|
|
611
|
+
private gridItem;
|
|
612
|
+
hostGridItemStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
613
|
+
hostGridItemClass: _angular_core.Signal<Record<string, boolean>>;
|
|
614
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
615
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
616
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGridItemBaseLayoutWidgetComponent, never>;
|
|
617
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGridItemBaseLayoutWidgetComponent>;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare abstract class AXPTableBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
621
|
+
hostTableClass: _angular_core.Signal<{
|
|
622
|
+
[x: string]: boolean;
|
|
623
|
+
}>;
|
|
624
|
+
hostTableStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
625
|
+
hostClass: _angular_core.Signal<{
|
|
626
|
+
[x: string]: boolean;
|
|
627
|
+
}>;
|
|
628
|
+
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
629
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTableBaseLayoutWidgetComponent, never>;
|
|
630
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPTableBaseLayoutWidgetComponent>;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
declare abstract class AXPTableItemOpsBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
634
|
+
abstract insertColumnLeft(): void;
|
|
635
|
+
abstract insertColumnRight(): void;
|
|
636
|
+
abstract insertRowAbove(): void;
|
|
637
|
+
abstract insertRowBelow(): void;
|
|
638
|
+
abstract insertCellShiftRight(): void;
|
|
639
|
+
abstract insertCellShiftDown(): void;
|
|
640
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTableItemOpsBaseLayoutWidgetComponent, never>;
|
|
641
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPTableItemOpsBaseLayoutWidgetComponent>;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
declare abstract class AXPTableItemBaseLayoutWidgetComponent extends AXPTableItemOpsBaseLayoutWidgetComponent {
|
|
645
|
+
protected colSpan: _angular_core.Signal<number>;
|
|
646
|
+
protected rowSpan: _angular_core.Signal<number>;
|
|
647
|
+
hostClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
648
|
+
hostStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
649
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTableItemBaseLayoutWidgetComponent, never>;
|
|
650
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPTableItemBaseLayoutWidgetComponent>;
|
|
327
651
|
}
|
|
328
652
|
|
|
329
653
|
type AXPLayoutContextState = 'initiated' | 'restored' | 'changed' | 'patch';
|
|
@@ -335,10 +659,10 @@ declare class AXPLayoutContextChangeEvent {
|
|
|
335
659
|
data: any;
|
|
336
660
|
}
|
|
337
661
|
declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
338
|
-
data:
|
|
662
|
+
data: _angular_core.Signal<{}>;
|
|
339
663
|
state: _angular_core.Signal<AXPLayoutContextState>;
|
|
340
|
-
initialSnapshot:
|
|
341
|
-
previousSnapshot:
|
|
664
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
665
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
342
666
|
lastChange: _ngrx_signals.DeepSignal<AXPLayoutContextChangeEvent>;
|
|
343
667
|
isChanged: _angular_core.Signal<boolean>;
|
|
344
668
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -364,10 +688,10 @@ declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
|
364
688
|
|
|
365
689
|
declare class AXPWidgetContainerComponent {
|
|
366
690
|
readonly contextService: {
|
|
367
|
-
data:
|
|
691
|
+
data: _angular_core.Signal<{}>;
|
|
368
692
|
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
369
|
-
initialSnapshot:
|
|
370
|
-
previousSnapshot:
|
|
693
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
694
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
371
695
|
lastChange: _ngrx_signals.DeepSignal<AXPLayoutContextChangeEvent>;
|
|
372
696
|
isChanged: _angular_core.Signal<boolean>;
|
|
373
697
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -397,6 +721,8 @@ declare class AXPWidgetContainerComponent {
|
|
|
397
721
|
constructor();
|
|
398
722
|
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
|
399
723
|
isBusy: _angular_core.Signal<boolean>;
|
|
724
|
+
refresh(): void;
|
|
725
|
+
find(name: string): Promise<_acorex_platform_layout_builder.AXPLayoutElement | undefined>;
|
|
400
726
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPWidgetContainerComponent, never>;
|
|
401
727
|
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
728
|
}
|
|
@@ -450,121 +776,9 @@ declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponen
|
|
|
450
776
|
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
777
|
}
|
|
452
778
|
|
|
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
779
|
type AXPWidgetRendererDirectiveOptions = AXPMetaData;
|
|
566
780
|
declare class AXPWidgetRendererDirective {
|
|
567
|
-
parentNode: _angular_core.InputSignal<
|
|
781
|
+
parentNode: _angular_core.InputSignal<AXPLayoutBaseWidgetComponent | null | undefined>;
|
|
568
782
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
569
783
|
mode: _angular_core.InputSignal<keyof _acorex_platform_layout_builder.AXPWidgetConfigComponents>;
|
|
570
784
|
node: _angular_core.InputSignal<AXPWidgetNode>;
|
|
@@ -582,10 +796,10 @@ declare class AXPWidgetRendererDirective {
|
|
|
582
796
|
private injector;
|
|
583
797
|
protected builderService: AXPLayoutBuilderService;
|
|
584
798
|
protected contextService: {
|
|
585
|
-
data:
|
|
799
|
+
data: _angular_core.Signal<{}>;
|
|
586
800
|
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
587
|
-
initialSnapshot:
|
|
588
|
-
previousSnapshot:
|
|
801
|
+
initialSnapshot: _angular_core.Signal<{}>;
|
|
802
|
+
previousSnapshot: _angular_core.Signal<{}>;
|
|
589
803
|
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
590
804
|
isChanged: _angular_core.Signal<boolean>;
|
|
591
805
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -615,18 +829,38 @@ declare class AXPWidgetRendererDirective {
|
|
|
615
829
|
protected expressionEvaluator: AXPExpressionEvaluatorService;
|
|
616
830
|
private viewContainerRef;
|
|
617
831
|
protected isLoading: WritableSignal<boolean>;
|
|
618
|
-
|
|
832
|
+
instance: AXPValueWidgetComponent;
|
|
619
833
|
private expressionEvaluators;
|
|
620
834
|
private componentRef;
|
|
621
835
|
private renderTimeoutId;
|
|
622
836
|
private hasInitialRender;
|
|
623
837
|
private onContextChanged;
|
|
838
|
+
private contextUpdateQueue;
|
|
839
|
+
private contextUpdateTimeout;
|
|
840
|
+
private readonly CONTEXT_UPDATE_DEBOUNCE_MS;
|
|
841
|
+
private expressionCache;
|
|
842
|
+
private readonly EXPRESSION_CACHE_TTL;
|
|
843
|
+
private lastAppliedOptions;
|
|
844
|
+
private lastExpressionResults;
|
|
845
|
+
private preRenderContextQueue;
|
|
624
846
|
constructor();
|
|
847
|
+
private getCachedExpressionResult;
|
|
848
|
+
private setCachedExpressionResult;
|
|
849
|
+
private clearExpressionCache;
|
|
850
|
+
private isPathAffectingExpressions;
|
|
851
|
+
private queueContextUpdate;
|
|
852
|
+
private processBatchedUpdates;
|
|
853
|
+
private isRelevantContextChange;
|
|
854
|
+
private hasExpressionDependency;
|
|
855
|
+
private isPathAlias;
|
|
856
|
+
private getExpressionValueFromNode;
|
|
857
|
+
private hasTriggerDependency;
|
|
625
858
|
ngOnChanges(changes: SimpleChanges): void;
|
|
626
859
|
private rerenderComponent;
|
|
627
860
|
ngOnDestroy(): void;
|
|
628
861
|
private loadComponent;
|
|
629
862
|
private applyOptions;
|
|
863
|
+
private hasOptionsChanged;
|
|
630
864
|
private checkFormulaForUpdate;
|
|
631
865
|
preprocessAndInitialOptions(obj: any, pathPrefix?: string): void;
|
|
632
866
|
updateOptionsBasedOnContext(): Promise<number>;
|
|
@@ -657,7 +891,7 @@ declare class AXPLayoutBuilderModule {
|
|
|
657
891
|
*/
|
|
658
892
|
constructor(instances: any[]);
|
|
659
893
|
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]>;
|
|
894
|
+
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
895
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPLayoutBuilderModule>;
|
|
662
896
|
}
|
|
663
897
|
|
|
@@ -670,5 +904,5 @@ interface AXPMetaDataDefinition {
|
|
|
670
904
|
|
|
671
905
|
declare const AXPWidgetsCatalog: AXPWidgetTypesMap;
|
|
672
906
|
|
|
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 };
|
|
907
|
+
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement, AXPPageStatus, AXPPropertyEditorHelper, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPTableItemOpsBaseLayoutWidgetComponent, 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 };
|
|
908
|
+
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 };
|