@acorex/platform 21.0.0-next.90 → 21.0.0-next.91
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/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common-common-settings.provider-DilV4dql.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +3 -10
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-contracts.mjs +1736 -27
- package/fesm2022/acorex-platform-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +6 -1708
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2 -2
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-CwG6n_Yb.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +27 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component--IeMZLIr.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +263 -115
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +4 -2
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +87 -11
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-BvFykMTH.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +2 -4
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs → acorex-platform-themes-shared-settings.provider-DxtfyNGS.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DxtfyNGS.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +2 -2
- package/fesm2022/acorex-platform-workflow.mjs +2 -2
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +3 -5
- package/types/acorex-platform-contracts.d.ts +862 -7
- package/types/acorex-platform-core.d.ts +64 -921
- package/types/acorex-platform-layout-builder.d.ts +3 -3
- package/types/acorex-platform-layout-components.d.ts +6 -6
- package/types/acorex-platform-layout-designer.d.ts +4 -5
- package/types/acorex-platform-layout-entity-contracts.d.ts +90 -3
- package/types/acorex-platform-layout-entity.d.ts +45 -102
- package/types/acorex-platform-layout-views.d.ts +13 -11
- package/types/acorex-platform-layout-widget-core.d.ts +83 -77
- package/types/acorex-platform-layout-widgets.d.ts +9 -8
- package/fesm2022/acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs.map +0 -1
|
@@ -2,16 +2,17 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { Signal, InjectionToken, OnInit, ComponentRef, EventEmitter, OnChanges, TemplateRef, Injector, WritableSignal, SimpleChanges, Type } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
4
4
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
5
|
+
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
6
|
+
import { AXPOptionsData, AXPMultiLanguageString, AXPDefinitionCategory, AXPDataType, AXPWidgetNode, AXPValidationRules, AXPExpression, AXPMetaData, AXPPartialNested, AXPWidgetRenderMode, AXPProperty, AXPContextChangeEvent } from '@acorex/platform/contracts';
|
|
7
|
+
export { AXPWidgetNode, AXPWidgetRenderMode } from '@acorex/platform/contracts';
|
|
7
8
|
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
8
|
-
import { AXPOptionsData, AXPMultiLanguageString, AXPDefinitionCategory, AXPDataType, AXPExpression, AXPWidgetTriggers, AXPMetaData, AXPValueTransformerFunctions, AXPValidationRules, AXPPartialNested, AXPProperty } from '@acorex/platform/contracts';
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
10
10
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
11
11
|
import { AXDataTableColumnComponent } from '@acorex/components/data-table';
|
|
12
12
|
import * as i7 from '@acorex/core/translation';
|
|
13
13
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
14
14
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
15
|
+
import { AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
15
16
|
import * as i4 from '@angular/common';
|
|
16
17
|
import * as i5 from '@angular/cdk/portal';
|
|
17
18
|
import * as i6 from '@acorex/components/skeleton';
|
|
@@ -303,19 +304,6 @@ declare function createSelectProperty<T = string | {
|
|
|
303
304
|
group: AXPWidgetPropertyGroup;
|
|
304
305
|
visible?: boolean | AXPExpression;
|
|
305
306
|
}): AXPWidgetProperty;
|
|
306
|
-
interface AXPWidgetNode {
|
|
307
|
-
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | keyof AXPWidgetTypesMap | string;
|
|
308
|
-
mode?: AXPWidgetRenderMode;
|
|
309
|
-
path?: string;
|
|
310
|
-
name?: string;
|
|
311
|
-
visible?: boolean | AXPExpression;
|
|
312
|
-
defaultValue?: any;
|
|
313
|
-
children?: AXPWidgetNode[];
|
|
314
|
-
options?: AXPOptionsData;
|
|
315
|
-
triggers?: AXPWidgetTriggers;
|
|
316
|
-
meta?: AXPMetaData;
|
|
317
|
-
valueTransforms?: AXPValueTransformerFunctions;
|
|
318
|
-
}
|
|
319
307
|
interface AXPWidgetNodeToken<TOptions extends AXPOptionsData = AXPOptionsData> {
|
|
320
308
|
defaultValue?: any;
|
|
321
309
|
config: AXPWidgetConfig;
|
|
@@ -404,7 +392,6 @@ interface AXPExtendedWidget {
|
|
|
404
392
|
widget: AXPWidgetConfig;
|
|
405
393
|
parentName: string;
|
|
406
394
|
}
|
|
407
|
-
type AXPWidgetRenderMode = keyof AXPWidgetConfigComponents;
|
|
408
395
|
interface AXPLayoutBuilderStatusChangedEvent {
|
|
409
396
|
status: AXPPageStatus;
|
|
410
397
|
}
|
|
@@ -417,12 +404,12 @@ declare abstract class AXPBaseWidgetComponent<TOptions extends Record<string, un
|
|
|
417
404
|
readonly host: HTMLDivElement;
|
|
418
405
|
protected readonly layoutService: AXPWidgetCoreService;
|
|
419
406
|
protected readonly contextService: {
|
|
420
|
-
data: _angular_core.Signal<
|
|
421
|
-
state: _angular_core.Signal<
|
|
422
|
-
savedSnapshot: _angular_core.Signal<
|
|
423
|
-
previousSnapshot: _angular_core.Signal<
|
|
407
|
+
data: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
408
|
+
state: _angular_core.Signal<_acorex_platform_contracts.AXPContextState>;
|
|
409
|
+
savedSnapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
410
|
+
previousSnapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
424
411
|
userEditedSinceCommit: _angular_core.Signal<boolean>;
|
|
425
|
-
lastChange: _ngrx_signals.DeepSignal<
|
|
412
|
+
lastChange: _ngrx_signals.DeepSignal<_acorex_platform_contracts.AXPContextChangeEvent>;
|
|
426
413
|
isChanged: _angular_core.Signal<boolean>;
|
|
427
414
|
isReset: _angular_core.Signal<boolean>;
|
|
428
415
|
isInitiated: _angular_core.Signal<boolean>;
|
|
@@ -430,15 +417,15 @@ declare abstract class AXPBaseWidgetComponent<TOptions extends Record<string, un
|
|
|
430
417
|
isSavedCommitted: _angular_core.Signal<boolean>;
|
|
431
418
|
hasUserEditedSinceCommit: _angular_core.Signal<boolean>;
|
|
432
419
|
isDirty: _angular_core.Signal<boolean>;
|
|
433
|
-
snapshot: _angular_core.Signal<
|
|
434
|
-
saved: _angular_core.Signal<
|
|
435
|
-
initial: _angular_core.Signal<
|
|
436
|
-
previous: _angular_core.Signal<
|
|
437
|
-
changeEvent: _angular_core.Signal<
|
|
438
|
-
update: (path: string, value: any, options?:
|
|
439
|
-
applyObjectPaths: (obj: Record<string, unknown>, options?:
|
|
440
|
-
syncPathToSavedBaseline: (path: string, options?:
|
|
441
|
-
patch: (context: Record<string, any>, options?:
|
|
420
|
+
snapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
421
|
+
saved: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
422
|
+
initial: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
423
|
+
previous: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
424
|
+
changeEvent: _angular_core.Signal<_acorex_platform_contracts.AXPContextChangeEvent>;
|
|
425
|
+
update: (path: string, value: any, options?: _acorex_platform_contracts.AXPContextUpdateOptions) => void;
|
|
426
|
+
applyObjectPaths: (obj: Record<string, unknown>, options?: _acorex_platform_contracts.AXPContextUpdateOptions, prefix?: string) => void;
|
|
427
|
+
syncPathToSavedBaseline: (path: string, options?: _acorex_platform_contracts.AXPContextUpdateOptions) => void;
|
|
428
|
+
patch: (context: Record<string, any>, options?: _acorex_platform_contracts.AXPContextPatchOptions) => void;
|
|
442
429
|
revertToSaved: () => void;
|
|
443
430
|
reset: () => void;
|
|
444
431
|
set: (initialData: any) => void;
|
|
@@ -446,14 +433,14 @@ declare abstract class AXPBaseWidgetComponent<TOptions extends Record<string, un
|
|
|
446
433
|
getSavedValue: (path: string) => any;
|
|
447
434
|
hasValue: (path: string) => boolean;
|
|
448
435
|
commitSaved: () => void;
|
|
449
|
-
applyParentBind: (merged:
|
|
436
|
+
applyParentBind: (merged: _acorex_platform_contracts.AXPContextData) => void;
|
|
450
437
|
} & _ngrx_signals.StateSource<{
|
|
451
|
-
data:
|
|
452
|
-
state:
|
|
453
|
-
savedSnapshot:
|
|
454
|
-
previousSnapshot:
|
|
438
|
+
data: _acorex_platform_contracts.AXPContextData;
|
|
439
|
+
state: _acorex_platform_contracts.AXPContextState;
|
|
440
|
+
savedSnapshot: _acorex_platform_contracts.AXPContextData;
|
|
441
|
+
previousSnapshot: _acorex_platform_contracts.AXPContextData;
|
|
455
442
|
userEditedSinceCommit: boolean;
|
|
456
|
-
lastChange:
|
|
443
|
+
lastChange: _acorex_platform_contracts.AXPContextChangeEvent;
|
|
457
444
|
}>;
|
|
458
445
|
readonly config: _acorex_platform_layout_widget_core.AXPWidgetConfig<any>;
|
|
459
446
|
readonly node: AXPWidgetNode;
|
|
@@ -825,10 +812,10 @@ declare abstract class AXPTableItemBaseLayoutWidgetComponent extends AXPTableIte
|
|
|
825
812
|
|
|
826
813
|
declare class AXPWidgetContainerComponent {
|
|
827
814
|
readonly contextService: {
|
|
828
|
-
data: _angular_core.Signal<
|
|
829
|
-
state: _angular_core.Signal<
|
|
830
|
-
savedSnapshot: _angular_core.Signal<
|
|
831
|
-
previousSnapshot: _angular_core.Signal<
|
|
815
|
+
data: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
816
|
+
state: _angular_core.Signal<_acorex_platform_contracts.AXPContextState>;
|
|
817
|
+
savedSnapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
818
|
+
previousSnapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
832
819
|
userEditedSinceCommit: _angular_core.Signal<boolean>;
|
|
833
820
|
lastChange: _ngrx_signals.DeepSignal<AXPContextChangeEvent>;
|
|
834
821
|
isChanged: _angular_core.Signal<boolean>;
|
|
@@ -838,15 +825,15 @@ declare class AXPWidgetContainerComponent {
|
|
|
838
825
|
isSavedCommitted: _angular_core.Signal<boolean>;
|
|
839
826
|
hasUserEditedSinceCommit: _angular_core.Signal<boolean>;
|
|
840
827
|
isDirty: _angular_core.Signal<boolean>;
|
|
841
|
-
snapshot: _angular_core.Signal<
|
|
842
|
-
saved: _angular_core.Signal<
|
|
843
|
-
initial: _angular_core.Signal<
|
|
844
|
-
previous: _angular_core.Signal<
|
|
828
|
+
snapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
829
|
+
saved: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
830
|
+
initial: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
831
|
+
previous: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
845
832
|
changeEvent: _angular_core.Signal<AXPContextChangeEvent>;
|
|
846
|
-
update: (path: string, value: any, options?:
|
|
847
|
-
applyObjectPaths: (obj: Record<string, unknown>, options?:
|
|
848
|
-
syncPathToSavedBaseline: (path: string, options?:
|
|
849
|
-
patch: (context: Record<string, any>, options?:
|
|
833
|
+
update: (path: string, value: any, options?: _acorex_platform_contracts.AXPContextUpdateOptions) => void;
|
|
834
|
+
applyObjectPaths: (obj: Record<string, unknown>, options?: _acorex_platform_contracts.AXPContextUpdateOptions, prefix?: string) => void;
|
|
835
|
+
syncPathToSavedBaseline: (path: string, options?: _acorex_platform_contracts.AXPContextUpdateOptions) => void;
|
|
836
|
+
patch: (context: Record<string, any>, options?: _acorex_platform_contracts.AXPContextPatchOptions) => void;
|
|
850
837
|
revertToSaved: () => void;
|
|
851
838
|
reset: () => void;
|
|
852
839
|
set: (initialData: any) => void;
|
|
@@ -854,12 +841,12 @@ declare class AXPWidgetContainerComponent {
|
|
|
854
841
|
getSavedValue: (path: string) => any;
|
|
855
842
|
hasValue: (path: string) => boolean;
|
|
856
843
|
commitSaved: () => void;
|
|
857
|
-
applyParentBind: (merged:
|
|
844
|
+
applyParentBind: (merged: _acorex_platform_contracts.AXPContextData) => void;
|
|
858
845
|
} & _ngrx_signals.StateSource<{
|
|
859
|
-
data:
|
|
860
|
-
state:
|
|
861
|
-
savedSnapshot:
|
|
862
|
-
previousSnapshot:
|
|
846
|
+
data: _acorex_platform_contracts.AXPContextData;
|
|
847
|
+
state: _acorex_platform_contracts.AXPContextState;
|
|
848
|
+
savedSnapshot: _acorex_platform_contracts.AXPContextData;
|
|
849
|
+
previousSnapshot: _acorex_platform_contracts.AXPContextData;
|
|
863
850
|
userEditedSinceCommit: boolean;
|
|
864
851
|
lastChange: AXPContextChangeEvent;
|
|
865
852
|
}>;
|
|
@@ -1032,7 +1019,7 @@ type AXPWidgetRendererDirectiveOptions = AXPMetaData;
|
|
|
1032
1019
|
declare class AXPWidgetRendererDirective {
|
|
1033
1020
|
parentNode: _angular_core.InputSignal<AXPLayoutBaseWidgetComponent<Record<string, any>> | null | undefined>;
|
|
1034
1021
|
index: _angular_core.InputSignal<number | null | undefined>;
|
|
1035
|
-
mode: _angular_core.InputSignal<
|
|
1022
|
+
mode: _angular_core.InputSignal<AXPWidgetRenderMode>;
|
|
1036
1023
|
node: _angular_core.InputSignal<AXPWidgetNode>;
|
|
1037
1024
|
private _options;
|
|
1038
1025
|
options: _angular_core.Signal<AXPMetaData>;
|
|
@@ -1057,12 +1044,12 @@ declare class AXPWidgetRendererDirective {
|
|
|
1057
1044
|
private injector;
|
|
1058
1045
|
protected builderService: AXPWidgetCoreService;
|
|
1059
1046
|
protected contextService: {
|
|
1060
|
-
data: _angular_core.Signal<
|
|
1061
|
-
state: _angular_core.Signal<
|
|
1062
|
-
savedSnapshot: _angular_core.Signal<
|
|
1063
|
-
previousSnapshot: _angular_core.Signal<
|
|
1047
|
+
data: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1048
|
+
state: _angular_core.Signal<_acorex_platform_contracts.AXPContextState>;
|
|
1049
|
+
savedSnapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1050
|
+
previousSnapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1064
1051
|
userEditedSinceCommit: _angular_core.Signal<boolean>;
|
|
1065
|
-
lastChange: _ngrx_signals.DeepSignal<
|
|
1052
|
+
lastChange: _ngrx_signals.DeepSignal<AXPContextChangeEvent>;
|
|
1066
1053
|
isChanged: _angular_core.Signal<boolean>;
|
|
1067
1054
|
isReset: _angular_core.Signal<boolean>;
|
|
1068
1055
|
isInitiated: _angular_core.Signal<boolean>;
|
|
@@ -1070,15 +1057,15 @@ declare class AXPWidgetRendererDirective {
|
|
|
1070
1057
|
isSavedCommitted: _angular_core.Signal<boolean>;
|
|
1071
1058
|
hasUserEditedSinceCommit: _angular_core.Signal<boolean>;
|
|
1072
1059
|
isDirty: _angular_core.Signal<boolean>;
|
|
1073
|
-
snapshot: _angular_core.Signal<
|
|
1074
|
-
saved: _angular_core.Signal<
|
|
1075
|
-
initial: _angular_core.Signal<
|
|
1076
|
-
previous: _angular_core.Signal<
|
|
1077
|
-
changeEvent: _angular_core.Signal<
|
|
1078
|
-
update: (path: string, value: any, options?:
|
|
1079
|
-
applyObjectPaths: (obj: Record<string, unknown>, options?:
|
|
1080
|
-
syncPathToSavedBaseline: (path: string, options?:
|
|
1081
|
-
patch: (context: Record<string, any>, options?:
|
|
1060
|
+
snapshot: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1061
|
+
saved: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1062
|
+
initial: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1063
|
+
previous: _angular_core.Signal<_acorex_platform_contracts.AXPContextData>;
|
|
1064
|
+
changeEvent: _angular_core.Signal<AXPContextChangeEvent>;
|
|
1065
|
+
update: (path: string, value: any, options?: _acorex_platform_contracts.AXPContextUpdateOptions) => void;
|
|
1066
|
+
applyObjectPaths: (obj: Record<string, unknown>, options?: _acorex_platform_contracts.AXPContextUpdateOptions, prefix?: string) => void;
|
|
1067
|
+
syncPathToSavedBaseline: (path: string, options?: _acorex_platform_contracts.AXPContextUpdateOptions) => void;
|
|
1068
|
+
patch: (context: Record<string, any>, options?: _acorex_platform_contracts.AXPContextPatchOptions) => void;
|
|
1082
1069
|
revertToSaved: () => void;
|
|
1083
1070
|
reset: () => void;
|
|
1084
1071
|
set: (initialData: any) => void;
|
|
@@ -1086,14 +1073,14 @@ declare class AXPWidgetRendererDirective {
|
|
|
1086
1073
|
getSavedValue: (path: string) => any;
|
|
1087
1074
|
hasValue: (path: string) => boolean;
|
|
1088
1075
|
commitSaved: () => void;
|
|
1089
|
-
applyParentBind: (merged:
|
|
1076
|
+
applyParentBind: (merged: _acorex_platform_contracts.AXPContextData) => void;
|
|
1090
1077
|
} & _ngrx_signals.StateSource<{
|
|
1091
|
-
data:
|
|
1092
|
-
state:
|
|
1093
|
-
savedSnapshot:
|
|
1094
|
-
previousSnapshot:
|
|
1078
|
+
data: _acorex_platform_contracts.AXPContextData;
|
|
1079
|
+
state: _acorex_platform_contracts.AXPContextState;
|
|
1080
|
+
savedSnapshot: _acorex_platform_contracts.AXPContextData;
|
|
1081
|
+
previousSnapshot: _acorex_platform_contracts.AXPContextData;
|
|
1095
1082
|
userEditedSinceCommit: boolean;
|
|
1096
|
-
lastChange:
|
|
1083
|
+
lastChange: AXPContextChangeEvent;
|
|
1097
1084
|
}>;
|
|
1098
1085
|
protected widgetRegistery: AXPWidgetRegistryService;
|
|
1099
1086
|
protected unsubscriber: AXUnsubscriber;
|
|
@@ -1119,11 +1106,27 @@ declare class AXPWidgetRendererDirective {
|
|
|
1119
1106
|
private lastAppliedOptions;
|
|
1120
1107
|
private lastExpressionResults;
|
|
1121
1108
|
private preRenderContextQueue;
|
|
1109
|
+
/** Increments on each trigger subscription callback (diagnostics for duplicate refresh). */
|
|
1110
|
+
private triggerFireSeq;
|
|
1111
|
+
/** Active trigger subscriptions registered by {@link assignTriggers}. */
|
|
1112
|
+
private triggerSubscriptionCount;
|
|
1113
|
+
/**
|
|
1114
|
+
* Last context {@link AXPContextChangeEvent} handled by this renderer.
|
|
1115
|
+
* Prevents re-queueing when the effect re-runs while `lastChange` in the store is unchanged
|
|
1116
|
+
* (e.g. cascade refresh clears an already-empty dependent lookup).
|
|
1117
|
+
*/
|
|
1118
|
+
private lastProcessedContextChangeRef;
|
|
1122
1119
|
constructor();
|
|
1123
1120
|
private getCachedExpressionResult;
|
|
1124
1121
|
private setCachedExpressionResult;
|
|
1125
1122
|
private clearExpressionCache;
|
|
1126
1123
|
private isPathAffectingExpressions;
|
|
1124
|
+
/**
|
|
1125
|
+
* Returns false when this renderer already handled the same store change event.
|
|
1126
|
+
* Angular effects can re-run after async work while `changeEvent()` still references
|
|
1127
|
+
* the previous `lastChange` object.
|
|
1128
|
+
*/
|
|
1129
|
+
private markContextChangeHandled;
|
|
1127
1130
|
private queueContextUpdate;
|
|
1128
1131
|
private processBatchedUpdates;
|
|
1129
1132
|
private isRelevantContextChange;
|
|
@@ -1238,6 +1241,9 @@ declare class AXPWidgetColumnCellComponent implements OnInit, OnChanges {
|
|
|
1238
1241
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWidgetColumnCellComponent, "axp-widget-column-cell", never, { "node": { "alias": "node"; "required": true; }; "rowData": { "alias": "rowData"; "required": true; }; "caption": { "alias": "caption"; "required": false; }; }, {}, never, never, true, never>;
|
|
1239
1242
|
}
|
|
1240
1243
|
|
|
1244
|
+
/** Trace namespace for lookup cascade / widget trigger diagnostics (Debug Mode only). */
|
|
1245
|
+
declare const WIDGET_CASCADE_TRACE_NS = "widget-cascade";
|
|
1246
|
+
|
|
1241
1247
|
declare const AXP_STYLING_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
1242
1248
|
declare const AXP_DATA_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
1243
1249
|
declare const AXP_BEHAVIOR_PROPERTY_GROUP: AXPWidgetPropertyGroup;
|
|
@@ -1358,5 +1364,5 @@ declare const AXP_BETWEEN_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
|
1358
1364
|
declare const AXP_EQUAL_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
1359
1365
|
declare const AXP_CALLBACK_VALIDATION_PROPERTY: AXPWidgetProperty;
|
|
1360
1366
|
|
|
1361
|
-
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPPageStatus, AXPPropertyEditorHelper, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPTableItemOpsBaseLayoutWidgetComponent, AXPValueWidgetComponent, AXPWidgetColumnCellComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetCoreElement, AXPWidgetCoreModule, AXPWidgetCoreService, AXPWidgetGroupEnum, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetSerializationHelper, AXPWidgetStatus, AXP_ALLOW_CLEAR_PROPERTY, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_ANIMATION_PROPERTY_GROUP, AXP_APPEARANCE_PROPERTY_GROUP, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BETWEEN_VALIDATION_PROPERTY, AXP_BG_COLOR_PROPERTY, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_CALLBACK_VALIDATION_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_OPTIONS_PROPERTY, AXP_DATE_DEPTH_PROPERTY, AXP_DATE_FORMAT_PROPERTY, AXP_DATE_RANGE_LIMIT_PROPERTY, AXP_DEFAULT_ROW_COUNT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_EQUAL_VALIDATION_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FIT_LINE_COUNT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_GREATER_THAN_VALIDATION_PROPERTY, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_ITEM_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTY, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LAYOUT_TABLE_PROPERTY_GROUP, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_MAX_LENGTH_VALIDATION_PROPERTY, AXP_MAX_LINE_COUNT_PROPERTY, AXP_MIN_LENGTH_VALIDATION_PROPERTY, AXP_MIN_LINE_COUNT_PROPERTY, AXP_MULTI_LANGUAGE_PROPERTY, AXP_NAME_PROPERTY, AXP_NUMBER_SEPARATOR_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY, AXP_REQUIRED_VALIDATION_PROPERTY, AXP_SHOW_PASSWORD_PROPERTY, AXP_SPIN_BUTTON_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMNS_PROPERTY, AXP_TABLE_COLUMN_ALIGNMENT_PROPERTIES, AXP_TABLE_COLUMN_CELL_ALIGN_PROPERTY, AXP_TABLE_COLUMN_HEADER_ALIGN_PROPERTY, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TABLE_ITEM_COLSPAN_PROPERTY, AXP_TABLE_ITEM_ROWSPAN_PROPERTY, AXP_TEXT_ALIGN_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRIGGERS_PROPERTY, AXP_TRIGGERS_PROPERTY_GROUP, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY_GROUP, AXP_VALUE_FIELD_PROPERTY, AXP_VERTICAL_ALIGN_PROPERTY, AXP_WIDGETS_ACTION_CATEGORY, AXP_WIDGETS_ACTION_SUB_CONTROLS, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_ADVANCE_SUB_DATA, AXP_WIDGETS_ADVANCE_SUB_INPUT, AXP_WIDGETS_ADVANCE_SUB_MEDIA, AXP_WIDGETS_ADVANCE_SUB_TOOLS, AXP_WIDGETS_AI_CATEGORY, AXP_WIDGETS_CATEGORIES, AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_EDITOR_SUB_CHOICE, AXP_WIDGETS_EDITOR_SUB_COMPOSITE, AXP_WIDGETS_EDITOR_SUB_CONFIG, AXP_WIDGETS_EDITOR_SUB_DATETIME, AXP_WIDGETS_EDITOR_SUB_NUMERIC, AXP_WIDGETS_EDITOR_SUB_RICH, AXP_WIDGETS_EDITOR_SUB_TEXT_INPUTS, AXP_WIDGETS_EDITOR_SUB_VISUAL, AXP_WIDGETS_LAYOUT_CATEGORY, AXP_WIDGETS_LAYOUT_SUB_GRID, AXP_WIDGETS_LAYOUT_SUB_LISTS, AXP_WIDGETS_LAYOUT_SUB_SHELL, AXP_WIDGETS_LAYOUT_SUB_SURFACES, AXP_WIDGETS_LAYOUT_SUB_TABS, AXP_WIDGETS_LAYOUT_SUB_UTILITY, AXP_WIDGET_COLUMN_TOKEN, AXP_WIDGET_DEFINITION_PROVIDER, AXP_WIDGET_PROPERTY_GROUP, AXP_WIDGET_TOKEN, booleanDefaultProperty, buildWidgetRegistryMapFromProviders, cloneProperty, createBooleanProperty, createNumberProperty, createSelectProperty, createStringProperty, findNonEmptyBreakpoints, largeTextDefaultProperty, mapAXPPropertyToWidgetProperty, normalizeWidgetCategories, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty, richTextDefaultProperty, selectEditorDefaultValueProperty, selectionListEditorDefaultValueProperty };
|
|
1362
|
-
export type { AXPBorderBox, AXPBorderBoxString, AXPBreakpointValues, AXPBreakpoints, AXPClassMap, AXPExtendedWidget, AXPExtractWidgetConfig, AXPFlexBoxString, AXPFlexItemBoxString, AXPGridBoxString, AXPGridBreakpointValues, AXPGridItemBoxString, AXPLayoutBuilderStatusChangedEvent, AXPPropertyCorners, AXPPropertyEditorCornerValues, AXPPropertyEditorSideGeneric, AXPPropertyEditorSideValues, AXPPropertySides, AXPSpacingBox, AXPSpacingBoxString, AXPStyleMap, AXPWidgetColumnNode, AXPWidgetColumnNodeToken, AXPWidgetComponentConfig, AXPWidgetConfig, AXPWidgetConfigComponents, AXPWidgetCoreElementAPI, AXPWidgetCoreElementAction, AXPWidgetCoreModuleConfigs, AXPWidgetDefinitionProvider, AXPWidgetDesignerOptionsMap, AXPWidgetGroup,
|
|
1367
|
+
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPPageStatus, AXPPropertyEditorHelper, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPTableItemOpsBaseLayoutWidgetComponent, AXPValueWidgetComponent, AXPWidgetColumnCellComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetCoreElement, AXPWidgetCoreModule, AXPWidgetCoreService, AXPWidgetGroupEnum, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetSerializationHelper, AXPWidgetStatus, AXP_ALLOW_CLEAR_PROPERTY, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_ANIMATION_PROPERTY_GROUP, AXP_APPEARANCE_PROPERTY_GROUP, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BETWEEN_VALIDATION_PROPERTY, AXP_BG_COLOR_PROPERTY, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_CALLBACK_VALIDATION_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_OPTIONS_PROPERTY, AXP_DATE_DEPTH_PROPERTY, AXP_DATE_FORMAT_PROPERTY, AXP_DATE_RANGE_LIMIT_PROPERTY, AXP_DEFAULT_ROW_COUNT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_EQUAL_VALIDATION_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FIT_LINE_COUNT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_GREATER_THAN_VALIDATION_PROPERTY, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_ITEM_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTY, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LAYOUT_TABLE_PROPERTY_GROUP, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_MAX_LENGTH_VALIDATION_PROPERTY, AXP_MAX_LINE_COUNT_PROPERTY, AXP_MIN_LENGTH_VALIDATION_PROPERTY, AXP_MIN_LINE_COUNT_PROPERTY, AXP_MULTI_LANGUAGE_PROPERTY, AXP_NAME_PROPERTY, AXP_NUMBER_SEPARATOR_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY, AXP_REQUIRED_VALIDATION_PROPERTY, AXP_SHOW_PASSWORD_PROPERTY, AXP_SPIN_BUTTON_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMNS_PROPERTY, AXP_TABLE_COLUMN_ALIGNMENT_PROPERTIES, AXP_TABLE_COLUMN_CELL_ALIGN_PROPERTY, AXP_TABLE_COLUMN_HEADER_ALIGN_PROPERTY, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TABLE_ITEM_COLSPAN_PROPERTY, AXP_TABLE_ITEM_ROWSPAN_PROPERTY, AXP_TEXT_ALIGN_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRIGGERS_PROPERTY, AXP_TRIGGERS_PROPERTY_GROUP, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY_GROUP, AXP_VALUE_FIELD_PROPERTY, AXP_VERTICAL_ALIGN_PROPERTY, AXP_WIDGETS_ACTION_CATEGORY, AXP_WIDGETS_ACTION_SUB_CONTROLS, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_ADVANCE_SUB_DATA, AXP_WIDGETS_ADVANCE_SUB_INPUT, AXP_WIDGETS_ADVANCE_SUB_MEDIA, AXP_WIDGETS_ADVANCE_SUB_TOOLS, AXP_WIDGETS_AI_CATEGORY, AXP_WIDGETS_CATEGORIES, AXP_WIDGETS_EDITOR_CATEGORY, AXP_WIDGETS_EDITOR_SUB_CHOICE, AXP_WIDGETS_EDITOR_SUB_COMPOSITE, AXP_WIDGETS_EDITOR_SUB_CONFIG, AXP_WIDGETS_EDITOR_SUB_DATETIME, AXP_WIDGETS_EDITOR_SUB_NUMERIC, AXP_WIDGETS_EDITOR_SUB_RICH, AXP_WIDGETS_EDITOR_SUB_TEXT_INPUTS, AXP_WIDGETS_EDITOR_SUB_VISUAL, AXP_WIDGETS_LAYOUT_CATEGORY, AXP_WIDGETS_LAYOUT_SUB_GRID, AXP_WIDGETS_LAYOUT_SUB_LISTS, AXP_WIDGETS_LAYOUT_SUB_SHELL, AXP_WIDGETS_LAYOUT_SUB_SURFACES, AXP_WIDGETS_LAYOUT_SUB_TABS, AXP_WIDGETS_LAYOUT_SUB_UTILITY, AXP_WIDGET_COLUMN_TOKEN, AXP_WIDGET_DEFINITION_PROVIDER, AXP_WIDGET_PROPERTY_GROUP, AXP_WIDGET_TOKEN, WIDGET_CASCADE_TRACE_NS, booleanDefaultProperty, buildWidgetRegistryMapFromProviders, cloneProperty, createBooleanProperty, createNumberProperty, createSelectProperty, createStringProperty, findNonEmptyBreakpoints, largeTextDefaultProperty, mapAXPPropertyToWidgetProperty, normalizeWidgetCategories, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty, richTextDefaultProperty, selectEditorDefaultValueProperty, selectionListEditorDefaultValueProperty };
|
|
1368
|
+
export type { AXPBorderBox, AXPBorderBoxString, AXPBreakpointValues, AXPBreakpoints, AXPClassMap, AXPExtendedWidget, AXPExtractWidgetConfig, AXPFlexBoxString, AXPFlexItemBoxString, AXPGridBoxString, AXPGridBreakpointValues, AXPGridItemBoxString, AXPLayoutBuilderStatusChangedEvent, AXPPropertyCorners, AXPPropertyEditorCornerValues, AXPPropertyEditorSideGeneric, AXPPropertyEditorSideValues, AXPPropertySides, AXPSpacingBox, AXPSpacingBoxString, AXPStyleMap, AXPWidgetColumnNode, AXPWidgetColumnNodeToken, AXPWidgetComponentConfig, AXPWidgetConfig, AXPWidgetConfigComponents, AXPWidgetCoreElementAPI, AXPWidgetCoreElementAction, AXPWidgetCoreModuleConfigs, AXPWidgetDefinitionProvider, AXPWidgetDesignerOptionsMap, AXPWidgetGroup, AXPWidgetNodeToken, AXPWidgetProperty, AXPWidgetPropertyGroup, AXPWidgetRendererDirectiveOptions, AXPWidgetTypesMap, AXPWidgetViewType, MapAXPPropertyToWidgetPropertyOptions };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as i1 from '@acorex/platform/layout/widget-core';
|
|
2
|
+
import { AXPDataListWidgetComponent, AXPColumnWidgetComponent, AXPLayoutBaseWidgetComponent, AXPWidgetCoreElementAPI, AXPWidgetConfig, AXPValueWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPWidgetCoreElementAction, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPGridBoxString, AXPGridBreakpointValues, AXPBreakpoints, AXPBorderBox, AXPSpacingBox, AXPBorderBoxString, AXPPropertyEditorSideValues, AXPPropertyEditorCornerValues, AXPFlexBoxString, AXPGridItemBoxString, AXPSpacingBoxString } from '@acorex/platform/layout/widget-core';
|
|
3
3
|
export * from '@acorex/platform/layout/widget-core';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { OnInit, WritableSignal, InjectionToken, EventEmitter, Signal, AfterViewInit, OnDestroy, ElementRef, ChangeDetectorRef, ComponentRef } from '@angular/core';
|
|
6
|
+
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
7
|
+
import { AXPWidgetNode, AXPContextChangeEvent, AXPFilterClause, AXPFilterDefinition, AXPValidationRule, AXPAddressMode, AXPAddressLabel, AXPAddressData, AXPFileListItem, AXPIntegrationAuthMethodType, AXPIntegrationProviderListItemDto, AXPSafeIntegrationConnectionDto, AXPStatusDefinition, AXPStatusTransition, AXPStatusProvider, AXPMultiLanguageString } from '@acorex/platform/contracts';
|
|
6
8
|
import { AXValueChangedEvent, AXDataSourceFilterOption, AXStyleColorType, AXClickEvent, AXStyleLookType, AXDataSource, AXDirection, AXButtonClickEvent, AXOrientation } from '@acorex/cdk/common';
|
|
7
9
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
8
10
|
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
9
|
-
import { AXPDeviceService,
|
|
11
|
+
import { AXPDeviceService, AXPTag, AXPExpressionEvaluatorService, AXPActionMenuItem, AXPDataSourceDefinition } from '@acorex/platform/core';
|
|
10
12
|
import { AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
13
|
+
import { AXPCommandActionCallback } from '@acorex/platform/layout/entity-contracts';
|
|
11
14
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
12
|
-
import {
|
|
13
|
-
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
14
|
-
import { AXPFilterClause, AXPFilterDefinition, AXPValidationRule, AXPAddressMode, AXPAddressLabel, AXPAddressData, AXPFileListItem, AXPIntegrationAuthMethodType, AXPIntegrationProviderListItemDto, AXPSafeIntegrationConnectionDto, AXPStatusDefinition, AXPStatusTransition, AXPStatusProvider, AXPMultiLanguageString } from '@acorex/platform/contracts';
|
|
15
|
+
import { AXPClipBoardService, AXPDateTimeFilterValue, AXPDateTimeFilterPreset, AXPFilterOperator, AXPLanguage, AXCFileUploaderAction, AXCFileUploaderCapabilities } from '@acorex/platform/common';
|
|
15
16
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
16
17
|
import { AXPDragDropListItem, AXPOutcomeResultsViewModel, ItemConfiguratorListItem, AXPTableColumnDefinition } from '@acorex/platform/layout/components';
|
|
17
18
|
import * as _acorex_platform_layout_widgets from '@acorex/platform/layout/widgets';
|
|
@@ -798,7 +799,7 @@ declare class AXPAddressWidgetEditComponent extends AXPValueWidgetComponent<AXPA
|
|
|
798
799
|
protected valueAsObject: _angular_core.Signal<AXPAddressData>;
|
|
799
800
|
protected formattedAddress: _angular_core.Signal<string>;
|
|
800
801
|
/** Layout node from create().flex().build() for inline renderer (expandable mode). */
|
|
801
|
-
protected addressFormLayout: _angular_core.Signal<
|
|
802
|
+
protected addressFormLayout: _angular_core.Signal<_acorex_platform_contracts.AXPWidgetNode>;
|
|
802
803
|
/** Context for inline address form (expandable); includes showMap for map toggle. */
|
|
803
804
|
protected collapsibleFormContext: _angular_core.Signal<_acorex_platform_layout_widgets.AXPAddressFormContext>;
|
|
804
805
|
protected onCollapsibleFormContextChange(ctx: Partial<AXPAddressData> | null | undefined): void;
|
|
@@ -5263,7 +5264,7 @@ declare module '@acorex/platform/layout/widget-core' {
|
|
|
5263
5264
|
|
|
5264
5265
|
declare class AXPWidgetsModule {
|
|
5265
5266
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPWidgetsModule, never>;
|
|
5266
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPWidgetsModule, never, [typeof
|
|
5267
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPWidgetsModule, never, [typeof i1.AXPWidgetCoreModule], never>;
|
|
5267
5268
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPWidgetsModule>;
|
|
5268
5269
|
}
|
|
5269
5270
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-themes-shared-settings.provider-UyKdkeyk.mjs","sources":["../../../../libs/platform/themes/shared/src/lib/settings.provider.ts"],"sourcesContent":["import { Injector } from '@angular/core';\nimport { AXPCommonSettings, AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '@acorex/platform/common';\nimport { AXPPlatformScope } from '@acorex/platform/contracts';\nimport { objectKeyValueTransforms } from '@acorex/platform/core';\nimport { AXPWidgetsCatalog } from '@acorex/platform/contracts';\nimport { AXPThemeLayoutSetting } from './contracts/settings.keys';\nimport { AXPMenuVerticalMode, AXPThemeMode } from './contracts/theme.types';\n\nconst I18N = '@layout:settings.appearance';\nconst verticalModeVisibility = `{{ context.eval('${AXPThemeLayoutSetting.MenuOrientation}') !== 'horizontal' }}`;\nconst maxOpenTabsVisibility = `{{ context.eval('${AXPCommonSettings.NavigationMode}') !== 'simple' }}`;\n\nexport class AXPThemeSettingProvider implements AXPSettingDefinitionProvider {\n constructor(private _injector: Injector) {}\n\n async provide(context: AXPSettingDefinitionProviderContext): Promise<void> {\n // Define the 'Appearance Settings' group\n context\n .addGroup(\n 'appearance',\n `${I18N}.nav-title`,\n `${I18N}.description`,\n 'fa-light fa-palette',\n `${I18N}.title`,\n 50,\n )\n\n // Add the 'Brightness & Color' section\n .addSection('color', `${I18N}.items.color.title`, `${I18N}.items.color.description`)\n\n // Add the 'Theme Mode' setting\n .addSetting({\n key: AXPThemeLayoutSetting.Mode,\n title: `${I18N}.items.color.mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: AXPThemeMode.Light,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.themeModeChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.color.mode.description`,\n })\n\n .addSetting({\n key: AXPThemeLayoutSetting.Palette,\n title: `${I18N}.items.color.palette.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'default',\n valueTransforms: objectKeyValueTransforms('name'),\n widget: {\n type: 'theme-palette-chooser',\n layout: {\n stacked: true,\n },\n },\n description: `${I18N}.items.color.palette.description`,\n })\n\n // End the 'Brightness & Color' section\n .endSection()\n\n // Add the 'Root Menu' section\n .addSection('root-menu', `${I18N}.items.root-menu.title`, `${I18N}.items.root-menu.description`)\n\n // Add the 'Menu Orientation' setting\n .addSetting({\n key: AXPThemeLayoutSetting.MenuOrientation,\n title: `${I18N}.items.root-menu.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'vertical',\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.menuOrientationChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.root-menu.description`,\n })\n\n .addSetting({\n key: AXPThemeLayoutSetting.MenuVerticalMode,\n title: `${I18N}.items.root-menu.vertical-mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: AXPMenuVerticalMode.Full,\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.menuOrientationChooser,\n options: {\n chooser: 'vertical-mode',\n visibility: verticalModeVisibility,\n },\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.root-menu.vertical-mode.description`,\n })\n\n // Add the 'Menu Badge Visibility' setting\n .addSetting({\n key: AXPThemeLayoutSetting.MenuBadgeVisible,\n title: `${I18N}.items.root-menu.badge.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: true,\n widget: {\n type: AXPWidgetsCatalog.toggle,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.root-menu.badge.description`,\n })\n .endSection()\n\n // Add the 'Navigation' section\n .addSection('navigation', `${I18N}.items.navigation.title`, `${I18N}.items.navigation.description`)\n .addSetting({\n key: AXPCommonSettings.NavigationMode,\n title: `${I18N}.items.navigation.mode.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'simple',\n requiresPageRefresh: true,\n widget: {\n type: AXPWidgetsCatalog.menuOrientationChooser,\n options: {\n chooser: 'navigation-mode',\n },\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.navigation.mode.description`,\n })\n .addSetting({\n key: AXPCommonSettings.MaxOpenTabs,\n title: `${I18N}.items.navigation.max-open-tabs.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 5,\n widget: {\n type: AXPWidgetsCatalog.number,\n options: {\n minValue: 2,\n maxValue: 20,\n step: 1,\n visibility: maxOpenTabsVisibility,\n },\n },\n description: `${I18N}.items.navigation.max-open-tabs.description`,\n })\n .endSection()\n\n // Add the 'Scale & Layout' section\n .addSection('layout', `${I18N}.items.layout.title`, `${I18N}.items.layout.description`)\n\n // Add the 'Font Style' setting\n .addSetting({\n key: AXPThemeLayoutSetting.Font,\n title: `${I18N}.items.layout.font.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'system-ui',\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.fontStyleChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.layout.font.description`,\n })\n\n // Add the 'Font Size' setting\n .addSetting({\n key: AXPThemeLayoutSetting.FontSize,\n title: `${I18N}.items.layout.size.title`,\n scope: AXPPlatformScope.User,\n isInherited: true,\n defaultValue: 'medium',\n valueTransforms: objectKeyValueTransforms('id'),\n widget: {\n type: AXPWidgetsCatalog.fontSizeChooser,\n layout: {\n positions: {\n sm: {\n colSpan: 12,\n },\n md: {\n colSpan: 6,\n },\n },\n },\n },\n description: `${I18N}.items.layout.size.description`,\n })\n\n // End the 'Scale & Layout' section\n .endSection()\n\n // End the 'Appearance Settings' group\n .endGroup();\n }\n}\n"],"names":[],"mappings":";;;;;AAQA,MAAM,IAAI,GAAG,6BAA6B;AAC1C,MAAM,sBAAsB,GAAG,CAAA,iBAAA,EAAoB,qBAAqB,CAAC,eAAe,wBAAwB;AAChH,MAAM,qBAAqB,GAAG,CAAA,iBAAA,EAAoB,iBAAiB,CAAC,cAAc,oBAAoB;MAEzF,uBAAuB,CAAA;AAClC,IAAA,WAAA,CAAoB,SAAmB,EAAA;QAAnB,IAAA,CAAA,SAAS,GAAT,SAAS;IAAa;IAE1C,MAAM,OAAO,CAAC,OAA4C,EAAA;;QAExD;AACG,aAAA,QAAQ,CACP,YAAY,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