@acorex/platform 20.3.0-next.0 → 20.3.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.d.ts +5 -119
- package/core/index.d.ts +67 -72
- package/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +11 -35
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +164 -142
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +638 -1168
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +51 -1439
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +137 -92
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +1059 -3204
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +72 -373
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs +22 -0
- package/fesm2022/acorex-platform-themes-default-create-entity-view.component-SY0oMDoH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-hHXxHlFG.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs +665 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-hf4QOz_4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs} +10 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-DC3MrDtI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs +236 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bb90PeHq.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +484 -39
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs} +1 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-DjKLg513.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs} +1 -1
- package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DE0wO98F.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +13 -11
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs → acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs} +3 -3
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs → acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs} +2 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BNBOATPB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs → acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs} +2 -2
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-BI18uzNZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs → acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs} +2 -2
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-pYOQv5g8.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs → acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs} +4 -69
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-DFbPO0ud.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs → acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs} +64 -74
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs} +5 -5
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-nLZYiPnF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs} +3 -3
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-D6kiasYM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs → acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs} +12 -8
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +1498 -2707
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +0 -3
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +181 -367
- package/layout/components/index.d.ts +25 -372
- package/layout/designer/index.d.ts +47 -16
- package/layout/entity/index.d.ts +336 -222
- package/layout/views/index.d.ts +22 -129
- package/package.json +36 -22
- package/widgets/index.d.ts +224 -275
- package/workflow/index.d.ts +1 -4
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs +0 -707
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs +0 -244
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs +0 -50
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs +0 -42
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs +0 -50
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs +0 -48
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs +0 -42
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs.map +0 -1
|
@@ -1,79 +1,18 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Signal, EventEmitter, TemplateRef, Injector, OnInit, WritableSignal, SimpleChanges, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
4
|
-
import { AXPDataType, AXPOptionsData,
|
|
5
|
-
import * as _ngrx_signals from '@ngrx/signals';
|
|
4
|
+
import { AXPDataType, AXPOptionsData, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPPartialNested, AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
6
5
|
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
7
|
-
import
|
|
6
|
+
import * as _ngrx_signals from '@ngrx/signals';
|
|
8
7
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
9
8
|
import { AXDataTableColumnComponent } from '@acorex/components/data-table';
|
|
10
|
-
import * as i7 from '@acorex/core/translation';
|
|
11
9
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
12
10
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
11
|
+
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
13
12
|
import * as i4 from '@angular/common';
|
|
14
13
|
import * as i5 from '@angular/cdk/portal';
|
|
15
14
|
import * as i6 from '@acorex/components/skeleton';
|
|
16
15
|
|
|
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
|
-
|
|
77
16
|
interface AXPWidgetCategory {
|
|
78
17
|
name: string;
|
|
79
18
|
title: string;
|
|
@@ -123,7 +62,6 @@ interface AXPWidgetTypesMap {
|
|
|
123
62
|
fileTypeExtension: 'file-type-extension';
|
|
124
63
|
map: 'map';
|
|
125
64
|
imageMarker: 'image-marker';
|
|
126
|
-
image: 'image';
|
|
127
65
|
gallery: 'gallery';
|
|
128
66
|
signature: 'signature';
|
|
129
67
|
buttonAction: 'button-action';
|
|
@@ -144,7 +82,6 @@ interface AXPWidgetTypesMap {
|
|
|
144
82
|
border: 'border';
|
|
145
83
|
direction: 'direction';
|
|
146
84
|
flexLayout: 'flex-layout';
|
|
147
|
-
flexItem: 'flex-item-layout';
|
|
148
85
|
avatar: 'avatar';
|
|
149
86
|
stringFilter: 'string-filter';
|
|
150
87
|
numberFilter: 'number-filter';
|
|
@@ -152,9 +89,7 @@ interface AXPWidgetTypesMap {
|
|
|
152
89
|
booleanFilter: 'boolean-filter';
|
|
153
90
|
lookupFilter: 'lookup-filter';
|
|
154
91
|
flexOptions: 'flex-options';
|
|
155
|
-
flexItemOptions: 'flex-item-options';
|
|
156
92
|
gridOptions: 'grid-options';
|
|
157
|
-
gridItemOptions: 'grid-item-options';
|
|
158
93
|
advancedGridOptions: 'advanced-grid-options';
|
|
159
94
|
selectFilter: 'select-filter';
|
|
160
95
|
requiredValidation: 'required-validation';
|
|
@@ -185,15 +120,29 @@ interface AXPWidgetTypesMap {
|
|
|
185
120
|
fontStyleChooser: 'font-style-chooser';
|
|
186
121
|
fontSizeChooser: 'font-size-chooser';
|
|
187
122
|
iconChooser: 'icon-chooser';
|
|
188
|
-
|
|
123
|
+
colorChooser: 'color-chooser';
|
|
189
124
|
panel: 'panel';
|
|
190
125
|
notification: 'notification';
|
|
191
|
-
|
|
126
|
+
taskList: 'task-list';
|
|
192
127
|
comment: 'comment';
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
declare enum AXPPageStatus {
|
|
131
|
+
Idle = "idle",// The page is idle.
|
|
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"
|
|
197
146
|
}
|
|
198
147
|
|
|
199
148
|
interface AXPWidgetPropertyGroup {
|
|
@@ -342,284 +291,39 @@ interface AXPLayoutBuilderStatusChangedEvent {
|
|
|
342
291
|
status: AXPPageStatus;
|
|
343
292
|
}
|
|
344
293
|
|
|
345
|
-
type
|
|
346
|
-
|
|
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>;
|
|
413
|
-
}
|
|
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
|
-
}
|
|
536
|
-
type AXPGridBreakpointValues = AXPBreakpointValues<AXPGridBoxString>;
|
|
537
|
-
type AXPBreakpoints = 'default' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
538
|
-
type AXPBreakpointValues<T> = {
|
|
539
|
-
[key in AXPBreakpoints]?: T;
|
|
294
|
+
type AXPLayoutElementAPI = {
|
|
295
|
+
[name: string]: Subject<any> | Function;
|
|
540
296
|
};
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
private static parseSides;
|
|
546
|
-
private static parseSidesWithUnits;
|
|
547
|
-
private static parseCorners;
|
|
548
|
-
static parseSpacingBox(input: AXPSpacingBoxString): AXPSpacingBox<number>;
|
|
549
|
-
static parseBorderBox(input: AXPBorderBoxString): AXPBorderBox<number | string>;
|
|
550
|
-
static parseSpacingBoxReverse(input: AXPSpacingBox<number>, units: AXPSpacingBox<string>): AXPSpacingBoxString;
|
|
551
|
-
static parseBorderBoxReverse(input: AXPBorderBox<number | string>, units: AXPBorderBox<string>): AXPBorderBoxString;
|
|
552
|
-
static getValueWithUnit(input: string | number): {
|
|
553
|
-
value: number;
|
|
554
|
-
unit: string;
|
|
555
|
-
};
|
|
556
|
-
static getValueFromUnit(value: number, unit: string): string;
|
|
557
|
-
static parseGap(gap: string): {
|
|
558
|
-
values: Record<'x' | 'y', number>;
|
|
559
|
-
unit: string;
|
|
560
|
-
};
|
|
561
|
-
static parseGridTemplate(gridTemplate: string): number;
|
|
562
|
-
static createGridTemplate(repetitionCount: number): string;
|
|
563
|
-
}
|
|
564
|
-
declare function findNonEmptyBreakpoints<T>(values: AXPBreakpointValues<T>): AXPBreakpoints[];
|
|
565
|
-
|
|
566
|
-
declare abstract class AXPFlexBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
567
|
-
protected flex: _angular_core.Signal<AXPFlexBoxString | undefined>;
|
|
568
|
-
hostFlexStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
569
|
-
hostFlexClass: _angular_core.Signal<{
|
|
570
|
-
'ax-flex': boolean;
|
|
571
|
-
}>;
|
|
572
|
-
hostClass: _angular_core.Signal<{
|
|
573
|
-
'ax-flex': boolean;
|
|
574
|
-
}>;
|
|
575
|
-
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
576
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFlexBaseLayoutWidgetComponent, never>;
|
|
577
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFlexBaseLayoutWidgetComponent>;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
declare abstract class AXPInlineBaseLayoutWidgetComponent extends AXPBoxModelLayoutWidgetComponent {
|
|
581
|
-
hostClass: _angular_core.Signal<Readonly<Record<string, boolean>>>;
|
|
582
|
-
hostStyle: _angular_core.Signal<Readonly<Record<string, string | number>>>;
|
|
583
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPInlineBaseLayoutWidgetComponent, never>;
|
|
584
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPInlineBaseLayoutWidgetComponent>;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
declare abstract class AXPFlexItemBaseLayoutWidgetComponent extends AXPInlineBaseLayoutWidgetComponent {
|
|
588
|
-
protected flexItem: _angular_core.Signal<AXPFlexItemBoxString | undefined>;
|
|
589
|
-
hostFlexItemStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
590
|
-
hostFlexItemClass: _angular_core.Signal<{
|
|
591
|
-
[x: string]: boolean;
|
|
592
|
-
}>;
|
|
593
|
-
hostClass: _angular_core.Signal<{
|
|
594
|
-
[x: string]: boolean;
|
|
595
|
-
}>;
|
|
596
|
-
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
597
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFlexItemBaseLayoutWidgetComponent, never>;
|
|
598
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPFlexItemBaseLayoutWidgetComponent>;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
declare abstract class AXPGridBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
602
|
-
private grid;
|
|
603
|
-
hostGridStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
604
|
-
hostGridClass: _angular_core.Signal<Record<string, boolean>>;
|
|
605
|
-
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
606
|
-
hostStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
607
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGridBaseLayoutWidgetComponent, never>;
|
|
608
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGridBaseLayoutWidgetComponent>;
|
|
297
|
+
declare abstract class AXPLayoutElement {
|
|
298
|
+
abstract get id(): string | null;
|
|
299
|
+
abstract get status(): Signal<AXPWidgetStatus>;
|
|
300
|
+
api(): AXPLayoutElementAPI;
|
|
609
301
|
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
private
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
302
|
+
declare class AXPLayoutBuilderService {
|
|
303
|
+
private readonly variables$;
|
|
304
|
+
private readonly functions$;
|
|
305
|
+
readonly onRefresh: Subject<void>;
|
|
306
|
+
private widgets;
|
|
307
|
+
private readonly status$;
|
|
308
|
+
readonly status: Signal<AXPPageStatus>;
|
|
309
|
+
readonly isBusy: Signal<boolean>;
|
|
310
|
+
get variables(): any;
|
|
311
|
+
get functions(): {
|
|
312
|
+
[key: string]: Function;
|
|
313
|
+
};
|
|
314
|
+
updateStatus(): void;
|
|
315
|
+
private detectStatus;
|
|
316
|
+
refresh(): void;
|
|
317
|
+
setStatus(status: AXPPageStatus): void;
|
|
318
|
+
setVariables(keysValues: any): void;
|
|
319
|
+
setVariables(key: string, value: any): void;
|
|
320
|
+
setFunctions(keysValues: any): void;
|
|
321
|
+
setFunctions(key: string, value: any): void;
|
|
322
|
+
registerWidget(id: string, widget: AXPLayoutElement): void;
|
|
323
|
+
getWidget(id: string): AXPLayoutElement | undefined;
|
|
324
|
+
ngOnDestroy(): void;
|
|
325
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBuilderService, never>;
|
|
326
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBuilderService>;
|
|
623
327
|
}
|
|
624
328
|
|
|
625
329
|
type AXPLayoutContextState = 'initiated' | 'restored' | 'changed' | 'patch';
|
|
@@ -631,10 +335,10 @@ declare class AXPLayoutContextChangeEvent {
|
|
|
631
335
|
data: any;
|
|
632
336
|
}
|
|
633
337
|
declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
634
|
-
data:
|
|
338
|
+
data: _ngrx_signals.DeepSignal<{}>;
|
|
635
339
|
state: _angular_core.Signal<AXPLayoutContextState>;
|
|
636
|
-
initialSnapshot:
|
|
637
|
-
previousSnapshot:
|
|
340
|
+
initialSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
341
|
+
previousSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
638
342
|
lastChange: _ngrx_signals.DeepSignal<AXPLayoutContextChangeEvent>;
|
|
639
343
|
isChanged: _angular_core.Signal<boolean>;
|
|
640
344
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -660,10 +364,10 @@ declare const AXPLayoutBuilderContextStore: _angular_core.Type<{
|
|
|
660
364
|
|
|
661
365
|
declare class AXPWidgetContainerComponent {
|
|
662
366
|
readonly contextService: {
|
|
663
|
-
data:
|
|
367
|
+
data: _ngrx_signals.DeepSignal<{}>;
|
|
664
368
|
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
665
|
-
initialSnapshot:
|
|
666
|
-
previousSnapshot:
|
|
369
|
+
initialSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
370
|
+
previousSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
667
371
|
lastChange: _ngrx_signals.DeepSignal<AXPLayoutContextChangeEvent>;
|
|
668
372
|
isChanged: _angular_core.Signal<boolean>;
|
|
669
373
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -693,8 +397,6 @@ declare class AXPWidgetContainerComponent {
|
|
|
693
397
|
constructor();
|
|
694
398
|
status: _angular_core.Signal<_acorex_platform_layout_builder.AXPPageStatus>;
|
|
695
399
|
isBusy: _angular_core.Signal<boolean>;
|
|
696
|
-
refresh(): void;
|
|
697
|
-
find(name: string): Promise<_acorex_platform_layout_builder.AXPLayoutElement | undefined>;
|
|
698
400
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPWidgetContainerComponent, never>;
|
|
699
401
|
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>;
|
|
700
402
|
}
|
|
@@ -748,9 +450,121 @@ declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponen
|
|
|
748
450
|
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>;
|
|
749
451
|
}
|
|
750
452
|
|
|
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
|
+
|
|
751
565
|
type AXPWidgetRendererDirectiveOptions = AXPMetaData;
|
|
752
566
|
declare class AXPWidgetRendererDirective {
|
|
753
|
-
parentNode: _angular_core.InputSignal<
|
|
567
|
+
parentNode: _angular_core.InputSignal<AXPLayoutWidgetComponent | null | undefined>;
|
|
754
568
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
755
569
|
mode: _angular_core.InputSignal<keyof _acorex_platform_layout_builder.AXPWidgetConfigComponents>;
|
|
756
570
|
node: _angular_core.InputSignal<AXPWidgetNode>;
|
|
@@ -768,10 +582,10 @@ declare class AXPWidgetRendererDirective {
|
|
|
768
582
|
private injector;
|
|
769
583
|
protected builderService: AXPLayoutBuilderService;
|
|
770
584
|
protected contextService: {
|
|
771
|
-
data:
|
|
585
|
+
data: _ngrx_signals.DeepSignal<{}>;
|
|
772
586
|
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
773
|
-
initialSnapshot:
|
|
774
|
-
previousSnapshot:
|
|
587
|
+
initialSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
588
|
+
previousSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
775
589
|
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
776
590
|
isChanged: _angular_core.Signal<boolean>;
|
|
777
591
|
isReset: _angular_core.Signal<boolean>;
|
|
@@ -801,7 +615,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
801
615
|
protected expressionEvaluator: AXPExpressionEvaluatorService;
|
|
802
616
|
private viewContainerRef;
|
|
803
617
|
protected isLoading: WritableSignal<boolean>;
|
|
804
|
-
instance
|
|
618
|
+
private instance;
|
|
805
619
|
private expressionEvaluators;
|
|
806
620
|
private componentRef;
|
|
807
621
|
private renderTimeoutId;
|
|
@@ -843,7 +657,7 @@ declare class AXPLayoutBuilderModule {
|
|
|
843
657
|
*/
|
|
844
658
|
constructor(instances: any[]);
|
|
845
659
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutBuilderModule, [{ optional: true; }]>;
|
|
846
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPLayoutBuilderModule, [typeof AXPWidgetContainerComponent, typeof AXPWidgetColumnRendererComponent, typeof AXPWidgetRendererDirective], [typeof i4.CommonModule, typeof i5.PortalModule, typeof i6.AXSkeletonModule, typeof i4.CommonModule
|
|
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]>;
|
|
847
661
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPLayoutBuilderModule>;
|
|
848
662
|
}
|
|
849
663
|
|
|
@@ -856,5 +670,5 @@ interface AXPMetaDataDefinition {
|
|
|
856
670
|
|
|
857
671
|
declare const AXPWidgetsCatalog: AXPWidgetTypesMap;
|
|
858
672
|
|
|
859
|
-
export { AXPBaseWidgetComponent,
|
|
860
|
-
export type {
|
|
673
|
+
export { AXPBaseWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement, AXPLayoutWidgetComponent, AXPPageStatus, 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 };
|
|
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 };
|