@acorex/platform 20.2.4-next.6 → 20.2.4-next.8
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/core/index.d.ts +1 -8
- package/fesm2022/acorex-platform-layout-builder.mjs +1097 -630
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +79 -17
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +16 -16
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs → acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs} +3 -3
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs → acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs} +74 -64
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs → acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs} +8 -12
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +3405 -3540
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/index.d.ts +346 -178
- package/layout/designer/index.d.ts +15 -3
- package/package.json +12 -12
- package/widgets/index.d.ts +152 -220
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-lNF95FJv.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DRsLkulH.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-CCMQtH3e.mjs.map +0 -1
|
@@ -1,19 +1,79 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { Signal, InjectionToken, OnInit, EventEmitter, TemplateRef, Injector, WritableSignal, SimpleChanges, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
4
|
-
import { AXPDataType, AXPOptionsData, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions,
|
|
5
|
-
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
4
|
+
import { AXPDataType, AXPOptionsData, AXPValidationRules, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions, AXPPartialNested, AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
6
5
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
6
|
+
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
7
|
+
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
7
8
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
8
9
|
import { AXDataTableColumnComponent } from '@acorex/components/data-table';
|
|
9
10
|
import * as i7 from '@acorex/core/translation';
|
|
10
11
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
11
12
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
12
|
-
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
13
13
|
import * as i4 from '@angular/common';
|
|
14
14
|
import * as i5 from '@angular/cdk/portal';
|
|
15
15
|
import * as i6 from '@acorex/components/skeleton';
|
|
16
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
|
+
|
|
17
77
|
interface AXPWidgetCategory {
|
|
18
78
|
name: string;
|
|
19
79
|
title: string;
|
|
@@ -84,6 +144,7 @@ interface AXPWidgetTypesMap {
|
|
|
84
144
|
border: 'border';
|
|
85
145
|
direction: 'direction';
|
|
86
146
|
flexLayout: 'flex-layout';
|
|
147
|
+
flexItem: 'flex-item-layout';
|
|
87
148
|
avatar: 'avatar';
|
|
88
149
|
stringFilter: 'string-filter';
|
|
89
150
|
numberFilter: 'number-filter';
|
|
@@ -91,7 +152,9 @@ interface AXPWidgetTypesMap {
|
|
|
91
152
|
booleanFilter: 'boolean-filter';
|
|
92
153
|
lookupFilter: 'lookup-filter';
|
|
93
154
|
flexOptions: 'flex-options';
|
|
155
|
+
flexItemOptions: 'flex-item-options';
|
|
94
156
|
gridOptions: 'grid-options';
|
|
157
|
+
gridItemOptions: 'grid-item-options';
|
|
95
158
|
advancedGridOptions: 'advanced-grid-options';
|
|
96
159
|
selectFilter: 'select-filter';
|
|
97
160
|
requiredValidation: 'required-validation';
|
|
@@ -133,24 +196,6 @@ interface AXPWidgetTypesMap {
|
|
|
133
196
|
documentUploader: 'document-uploader';
|
|
134
197
|
}
|
|
135
198
|
|
|
136
|
-
declare enum AXPPageStatus {
|
|
137
|
-
Idle = "idle",// The page is idle.
|
|
138
|
-
Rendering = "rendering",// The page is being rendered.
|
|
139
|
-
Rendered = "rendered",// The rendering process is complete. should be renamed to idle
|
|
140
|
-
Processing = "processing",// The page is performing a task or interaction.
|
|
141
|
-
Submitting = "submitting",// The form is being submitted.
|
|
142
|
-
Submitted = "submitted",// Submission is completed.
|
|
143
|
-
Validating = "validating",// The form is being validated.
|
|
144
|
-
Validated = "validated",// Validation is completed.
|
|
145
|
-
Error = "error"
|
|
146
|
-
}
|
|
147
|
-
declare enum AXPWidgetStatus {
|
|
148
|
-
Rendering = "rendering",// The widget is being rendered.
|
|
149
|
-
Rendered = "rendered",// The rendering process is complete.
|
|
150
|
-
Processing = "processing",// The widget is performing a task or interaction.
|
|
151
|
-
Error = "error"
|
|
152
|
-
}
|
|
153
|
-
|
|
154
199
|
interface AXPWidgetPropertyGroup {
|
|
155
200
|
name: string;
|
|
156
201
|
title: string;
|
|
@@ -297,46 +342,284 @@ interface AXPLayoutBuilderStatusChangedEvent {
|
|
|
297
342
|
status: AXPPageStatus;
|
|
298
343
|
}
|
|
299
344
|
|
|
300
|
-
type
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
345
|
+
type AXPClassMap = Readonly<Record<string, boolean>>;
|
|
346
|
+
type AXPStyleMap = Readonly<Record<string, string | number>>;
|
|
347
|
+
declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
348
|
+
#private;
|
|
349
|
+
protected readonly token: _acorex_platform_layout_builder.AXPWidgetNodeToken;
|
|
350
|
+
readonly host: HTMLDivElement;
|
|
351
|
+
protected readonly layoutService: AXPLayoutBuilderService;
|
|
352
|
+
protected readonly contextService: {
|
|
353
|
+
data: _ngrx_signals.DeepSignal<{}>;
|
|
354
|
+
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
355
|
+
initialSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
356
|
+
previousSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
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>;
|
|
307
413
|
}
|
|
308
|
-
declare class
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
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;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
declare class AXPPropertyEditorHelper {
|
|
543
|
+
private static expandShorthand;
|
|
544
|
+
private static condenseShorthand;
|
|
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;
|
|
320
555
|
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
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>;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
declare abstract class AXPGridItemBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
612
|
+
private gridItem;
|
|
613
|
+
hostGridItemStyle: _angular_core.Signal<{
|
|
614
|
+
[x: string]: string | number;
|
|
615
|
+
}>;
|
|
616
|
+
hostGridItemClass: _angular_core.Signal<Record<string, boolean>>;
|
|
617
|
+
hostClass: _angular_core.Signal<Record<string, boolean>>;
|
|
618
|
+
hostStyle: _angular_core.Signal<{
|
|
619
|
+
[x: string]: string | number;
|
|
620
|
+
}>;
|
|
621
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGridItemBaseLayoutWidgetComponent, never>;
|
|
622
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGridItemBaseLayoutWidgetComponent>;
|
|
340
623
|
}
|
|
341
624
|
|
|
342
625
|
type AXPLayoutContextState = 'initiated' | 'restored' | 'changed' | 'patch';
|
|
@@ -465,124 +748,9 @@ declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponen
|
|
|
465
748
|
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>;
|
|
466
749
|
}
|
|
467
750
|
|
|
468
|
-
declare abstract class AXPBaseWidgetComponent extends AXPLayoutElement {
|
|
469
|
-
#private;
|
|
470
|
-
protected readonly token: _acorex_platform_layout_builder.AXPWidgetNodeToken;
|
|
471
|
-
readonly host: HTMLDivElement;
|
|
472
|
-
protected readonly layoutService: AXPLayoutBuilderService;
|
|
473
|
-
protected readonly contextService: {
|
|
474
|
-
data: _ngrx_signals.DeepSignal<{}>;
|
|
475
|
-
state: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextState>;
|
|
476
|
-
initialSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
477
|
-
previousSnapshot: _ngrx_signals.DeepSignal<{}>;
|
|
478
|
-
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
479
|
-
isChanged: _angular_core.Signal<boolean>;
|
|
480
|
-
isReset: _angular_core.Signal<boolean>;
|
|
481
|
-
isInitiated: _angular_core.Signal<boolean>;
|
|
482
|
-
isEmpty: _angular_core.Signal<boolean>;
|
|
483
|
-
isDirty: _angular_core.Signal<boolean>;
|
|
484
|
-
snapshot: _angular_core.Signal<{}>;
|
|
485
|
-
initial: _angular_core.Signal<{}>;
|
|
486
|
-
previous: _angular_core.Signal<{}>;
|
|
487
|
-
changeEvent: _angular_core.Signal<_acorex_platform_layout_builder.AXPLayoutContextChangeEvent>;
|
|
488
|
-
update: (path: string, value: any) => void;
|
|
489
|
-
patch: (context: {}) => void;
|
|
490
|
-
reset: () => void;
|
|
491
|
-
set: (initialData: any) => void;
|
|
492
|
-
getValue: (path: string) => any;
|
|
493
|
-
} & _ngrx_signals.StateSource<{
|
|
494
|
-
data: {};
|
|
495
|
-
state: _acorex_platform_layout_builder.AXPLayoutContextState;
|
|
496
|
-
initialSnapshot: {};
|
|
497
|
-
previousSnapshot: {};
|
|
498
|
-
lastChange: _acorex_platform_layout_builder.AXPLayoutContextChangeEvent;
|
|
499
|
-
}>;
|
|
500
|
-
readonly config: _acorex_platform_layout_builder.AXPWidgetConfig<any>;
|
|
501
|
-
readonly node: AXPWidgetNode;
|
|
502
|
-
protected readonly name: string | undefined;
|
|
503
|
-
protected _id: string | null;
|
|
504
|
-
get id(): string | null;
|
|
505
|
-
protected _options: _angular_core.WritableSignal<any>;
|
|
506
|
-
options: _angular_core.Signal<any>;
|
|
507
|
-
onOptionsChanged: Subject<{
|
|
508
|
-
sender: AXPBaseWidgetComponent;
|
|
509
|
-
}>;
|
|
510
|
-
private _status;
|
|
511
|
-
status: _angular_core.Signal<AXPWidgetStatus>;
|
|
512
|
-
readonly onStatusChanged: BehaviorSubject<AXPWidgetStatus>;
|
|
513
|
-
isBusy: _angular_core.Signal<boolean>;
|
|
514
|
-
parent: AXPLayoutWidgetComponent | null | undefined;
|
|
515
|
-
index: number | null | undefined;
|
|
516
|
-
mode: AXPWidgetRenderMode;
|
|
517
|
-
locked: boolean;
|
|
518
|
-
protected outputs(): (string | {
|
|
519
|
-
[name: string]: unknown;
|
|
520
|
-
})[];
|
|
521
|
-
ngOnInit(): void;
|
|
522
|
-
setStatus(status: AXPWidgetStatus): void;
|
|
523
|
-
setOptions(values: any): void;
|
|
524
|
-
output<T = any>(name: string): T;
|
|
525
|
-
call(name: string, ...args: any[]): void;
|
|
526
|
-
protected readonly _children: _angular_core.WritableSignal<AXPWidgetNode[]>;
|
|
527
|
-
protected children: _angular_core.Signal<AXPWidgetNode[]>;
|
|
528
|
-
setChildren(children: AXPWidgetNode[]): void;
|
|
529
|
-
onAdded(): void;
|
|
530
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBaseWidgetComponent, never>;
|
|
531
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPBaseWidgetComponent>;
|
|
532
|
-
}
|
|
533
|
-
declare abstract class AXPLayoutWidgetComponent extends AXPBaseWidgetComponent {
|
|
534
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutWidgetComponent, never>;
|
|
535
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutWidgetComponent>;
|
|
536
|
-
}
|
|
537
|
-
declare abstract class AXPValueWidgetComponent<T = any | null> extends AXPLayoutWidgetComponent implements OnInit {
|
|
538
|
-
protected readonly path: string | undefined;
|
|
539
|
-
protected readonly defaultValue: any;
|
|
540
|
-
private _isValueWidget;
|
|
541
|
-
private isValueWidget;
|
|
542
|
-
onValueChanged: Subject<{
|
|
543
|
-
sender: AXPBaseWidgetComponent;
|
|
544
|
-
}>;
|
|
545
|
-
fullPath: _angular_core.WritableSignal<string | null>;
|
|
546
|
-
parentPath: _angular_core.WritableSignal<string | null>;
|
|
547
|
-
ngOnInit(): void;
|
|
548
|
-
getValue: _angular_core.Signal<T>;
|
|
549
|
-
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
550
|
-
protected extractValue(path: string): any;
|
|
551
|
-
setValue(value: T | null | undefined): void;
|
|
552
|
-
private detectFullPath;
|
|
553
|
-
protected handleValueChanged(e: AXValueChangedEvent<T>): void;
|
|
554
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPValueWidgetComponent<any>, never>;
|
|
555
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPValueWidgetComponent<any>>;
|
|
556
|
-
}
|
|
557
|
-
declare abstract class AXPDataListWidgetComponent extends AXPValueWidgetComponent<any> {
|
|
558
|
-
private dataService;
|
|
559
|
-
protected textField: _angular_core.Signal<string>;
|
|
560
|
-
protected valueField: _angular_core.Signal<string>;
|
|
561
|
-
protected dataSource: _angular_core.WritableSignal<AXDataSource<any>>;
|
|
562
|
-
protected isReady: _angular_core.Signal<boolean>;
|
|
563
|
-
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
564
|
-
private rf;
|
|
565
|
-
protected extractItem(item: unknown): Promise<any>;
|
|
566
|
-
private effect2;
|
|
567
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataListWidgetComponent, never>;
|
|
568
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDataListWidgetComponent>;
|
|
569
|
-
}
|
|
570
|
-
declare abstract class AXPColumnWidgetComponent<T = any | null | void> {
|
|
571
|
-
private readonly token;
|
|
572
|
-
protected readonly path: string;
|
|
573
|
-
protected readonly options: _acorex_platform_core.AXPOptionsData;
|
|
574
|
-
protected readonly rawValue: T;
|
|
575
|
-
protected readonly rowData: any;
|
|
576
|
-
protected readonly nullText: any;
|
|
577
|
-
protected readonly nullValue: T;
|
|
578
|
-
protected value: _angular_core.Signal<T>;
|
|
579
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPColumnWidgetComponent<any>, never>;
|
|
580
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPColumnWidgetComponent<any>>;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
751
|
type AXPWidgetRendererDirectiveOptions = AXPMetaData;
|
|
584
752
|
declare class AXPWidgetRendererDirective {
|
|
585
|
-
parentNode: _angular_core.InputSignal<
|
|
753
|
+
parentNode: _angular_core.InputSignal<AXPLayoutBaseWidgetComponent | null | undefined>;
|
|
586
754
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
587
755
|
mode: _angular_core.InputSignal<keyof _acorex_platform_layout_builder.AXPWidgetConfigComponents>;
|
|
588
756
|
node: _angular_core.InputSignal<AXPWidgetNode>;
|
|
@@ -688,5 +856,5 @@ interface AXPMetaDataDefinition {
|
|
|
688
856
|
|
|
689
857
|
declare const AXPWidgetsCatalog: AXPWidgetTypesMap;
|
|
690
858
|
|
|
691
|
-
export { AXPBaseWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement,
|
|
692
|
-
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 };
|
|
859
|
+
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPLayoutBuilderContextStore, AXPLayoutBuilderModule, AXPLayoutBuilderService, AXPLayoutContextChangeEvent, AXPLayoutElement, AXPPageStatus, AXPPropertyEditorHelper, AXPValueWidgetComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetGroupEnum, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetStatus, AXPWidgetsCatalog, AXP_WIDGETS_ACTION_CATEGORY, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_CATEGORIES, AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_LAYOUT_CATEGORY, AXP_WIDGET_COLUMN_TOKEN, AXP_WIDGET_TOKEN, cloneProperty, createBooleanProperty, createNumberProperty, createSelectProperty, createStringProperty, findNonEmptyBreakpoints };
|
|
860
|
+
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 };
|
|
@@ -4,7 +4,7 @@ import { EventEmitter, OnChanges, OnDestroy, WritableSignal, NgZone, SimpleChang
|
|
|
4
4
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
5
5
|
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
|
6
6
|
import * as _acorex_platform_layout_builder from '@acorex/platform/layout/builder';
|
|
7
|
-
import { AXPWidgetConfig, AXPWidgetCategory, AXPWidgetGroupEnum, AXPWidgetNode, AXPBaseWidgetComponent, AXPWidgetRegistryService,
|
|
7
|
+
import { AXPWidgetConfig, AXPWidgetCategory, AXPWidgetGroupEnum, AXPWidgetNode, AXPBaseWidgetComponent, AXPWidgetRegistryService, AXPLayoutBaseWidgetComponent, AXPLayoutContextChangeEvent } from '@acorex/platform/layout/builder';
|
|
8
8
|
import { AXPWidgetItemData, AXPWidgetItemClickEvent } from '@acorex/platform/layout/components';
|
|
9
9
|
import { AXMenuItem } from '@acorex/components/menu';
|
|
10
10
|
import { Subject } from 'rxjs';
|
|
@@ -38,6 +38,18 @@ declare class AXPDesignerAddWidgetMiniButtonComponent {
|
|
|
38
38
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDesignerAddWidgetMiniButtonComponent, "axp-designer-add-widget-mini-button", never, {}, { "onClick": "onClick"; }, never, never, true, never>;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
declare class AXPDesignerFlexDrawerComponent {
|
|
42
|
+
itemsCount: _angular_core.ModelSignal<number>;
|
|
43
|
+
onSelect: _angular_core.OutputEmitterRef<number>;
|
|
44
|
+
protected items: _angular_core.Signal<number[]>;
|
|
45
|
+
protected range: _angular_core.WritableSignal<number>;
|
|
46
|
+
protected handleMouseHover(c: number): void;
|
|
47
|
+
protected handleClick(c: number): void;
|
|
48
|
+
protected handleMouseLeave(event: MouseEvent): void;
|
|
49
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDesignerFlexDrawerComponent, never>;
|
|
50
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDesignerFlexDrawerComponent, "axp-designer-flex-drawer", never, { "itemsCount": { "alias": "items"; "required": false; "isSignal": true; }; }, { "itemsCount": "itemsChange"; "onSelect": "onSelect"; }, never, never, true, never>;
|
|
51
|
+
}
|
|
52
|
+
|
|
41
53
|
declare class AXPDesignerGridDrawerComponent {
|
|
42
54
|
rowsCount: _angular_core.ModelSignal<number>;
|
|
43
55
|
colsCount: _angular_core.ModelSignal<number>;
|
|
@@ -338,7 +350,7 @@ declare class AXPWidgetDesignerRendererDirective implements OnChanges, OnDestroy
|
|
|
338
350
|
private currentNodeId;
|
|
339
351
|
private service;
|
|
340
352
|
private viewContainerRef;
|
|
341
|
-
parentNode: _angular_core.InputSignal<
|
|
353
|
+
parentNode: _angular_core.InputSignal<AXPLayoutBaseWidgetComponent | null | undefined>;
|
|
342
354
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
343
355
|
locked: _angular_core.InputSignal<boolean>;
|
|
344
356
|
mode: _angular_core.InputSignal<keyof _acorex_platform_layout_builder.AXPWidgetConfigComponents>;
|
|
@@ -404,5 +416,5 @@ declare class AXPLayoutDesignerPreviewComponent extends AXBasePageComponent {
|
|
|
404
416
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLayoutDesignerPreviewComponent, "axp-layout-preview", never, {}, {}, never, never, true, never>;
|
|
405
417
|
}
|
|
406
418
|
|
|
407
|
-
export { AXPDesignerAddWidgetButtonComponent, AXPDesignerAddWidgetLineButtonComponent, AXPDesignerAddWidgetMiniButtonComponent, AXPDesignerConnector, AXPDesignerGridDrawerComponent, AXPDesignerMessageKeys, AXPDesignerModes, AXPDesignerService, AXPDesignerWidgetPickerComponent, AXPLayoutDesignerComponent, AXPLayoutDesignerPreviewComponent, AXPLayoutDesignerPreviewViewerComponent, AXPTemplateLoadingStrategy, AXPWidgetDesignerRendererDirective, AXPWidgetPickerService, AXP_DESIGNER_ADD_WIDGET_MENU, AXP_DESIGNER_CLONE_MENU, AXP_DESIGNER_COPY_MENU, AXP_DESIGNER_CUT_MENU, AXP_DESIGNER_DELETE_WIDGET_MENU, AXP_DESIGNER_PASTE_MENU, AXP_DESIGNER_SAVE_AS_WIDGET_MENU, AXP_DESIGNER_SELECT_WIDGET_MENU, cloneWidgetMenu };
|
|
419
|
+
export { AXPDesignerAddWidgetButtonComponent, AXPDesignerAddWidgetLineButtonComponent, AXPDesignerAddWidgetMiniButtonComponent, AXPDesignerConnector, AXPDesignerFlexDrawerComponent, AXPDesignerGridDrawerComponent, AXPDesignerMessageKeys, AXPDesignerModes, AXPDesignerService, AXPDesignerWidgetPickerComponent, AXPLayoutDesignerComponent, AXPLayoutDesignerPreviewComponent, AXPLayoutDesignerPreviewViewerComponent, AXPTemplateLoadingStrategy, AXPWidgetDesignerRendererDirective, AXPWidgetPickerService, AXP_DESIGNER_ADD_WIDGET_MENU, AXP_DESIGNER_CLONE_MENU, AXP_DESIGNER_COPY_MENU, AXP_DESIGNER_CUT_MENU, AXP_DESIGNER_DELETE_WIDGET_MENU, AXP_DESIGNER_PASTE_MENU, AXP_DESIGNER_SAVE_AS_WIDGET_MENU, AXP_DESIGNER_SELECT_WIDGET_MENU, cloneWidgetMenu };
|
|
408
420
|
export type { AXPDesignerAddNodeCommand, AXPDesignerAddNodeEvent, AXPDesignerContent, AXPDesignerFocusCommand, AXPDesignerFocusEvent, AXPDesignerMode, AXPDesignerPreviewMessage, AXPDesignerPreviewSize, AXPDesignerRefreshCommand, AXPDesignerRefreshEvent, AXPDesignerRegisterCommand, AXPDesignerSaveFormMessage, AXPDesignerSelectCommand, AXPDesignerSelectEvent, AXPDesignerUpdateCommand, AXPDesignerUpdateEvent, AXPDesignerWidgetComponent, AXPDisplayWidgetConfig };
|