@acorex-platform/framework-client 2.0.0-next.2 → 2.0.0-next.21
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-framework-client-common-common-settings.provider-ChU2tvyt.mjs → acorex-platform-framework-client-common-common-settings.provider-Cyr1DaiD.mjs} +19 -2
- package/fesm2022/{acorex-platform-framework-client-common-common-settings.provider-ChU2tvyt.mjs.map → acorex-platform-framework-client-common-common-settings.provider-Cyr1DaiD.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-common.mjs +416 -191
- package/fesm2022/acorex-platform-framework-client-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-core.mjs +7 -2
- package/fesm2022/acorex-platform-framework-client-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs +20 -0
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs +520 -142
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CA19c8sx.mjs → acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-B3NLw_X8.mjs} +801 -207
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-B3NLw_X8.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-Dxp4kGsa.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-CCOi5IsF.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-Dxp4kGsa.mjs.map → acorex-platform-framework-client-layout-entity-attachments-page.component-CCOi5IsF.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-fnICGK0s.mjs → acorex-platform-framework-client-layout-entity-bulk-entity.command-D8g9PkkI.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-fnICGK0s.mjs.map → acorex-platform-framework-client-layout-entity-bulk-entity.command-D8g9PkkI.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-file-list-popup.component-BxTbTlUr.mjs → acorex-platform-framework-client-layout-entity-file-list-popup.component-B2aSSN0A.mjs} +4 -4
- package/fesm2022/{acorex-platform-framework-client-layout-entity-file-list-popup.component-BxTbTlUr.mjs.map → acorex-platform-framework-client-layout-entity-file-list-popup.component-B2aSSN0A.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-D0WZheYu.mjs → acorex-platform-framework-client-layout-entity-gallery-page.component-D6r3VvFN.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-D0WZheYu.mjs.map → acorex-platform-framework-client-layout-entity-gallery-page.component-D6r3VvFN.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs +71 -10
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs +285 -184
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-1UJh0Qj4.mjs → acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-ByihbDgl.mjs} +228 -113
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-ByihbDgl.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-SHCgo4UC.mjs → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-BFB3Jo5r.mjs} +3 -3
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-SHCgo4UC.mjs.map → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-BFB3Jo5r.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BYsrp8LT.mjs → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-HBONm-TI.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BYsrp8LT.mjs.map → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-HBONm-TI.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +1 -1
- package/fesm2022/acorex-platform-framework-client-realtime.mjs +49 -7
- package/fesm2022/acorex-platform-framework-client-realtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-create-view.component-DwCoz2Du.mjs → acorex-platform-framework-client-themes-default-entity-master-create-view.component-DPU6jTDk.mjs} +8 -2
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-DPU6jTDk.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BCyFK60f.mjs → acorex-platform-framework-client-themes-default-entity-master-modify-view.component-CLdQJ8e8.mjs} +8 -2
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-CLdQJ8e8.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs +124 -43
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs +1 -1
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs.map +1 -1
- package/i18n/en-AU/general.json +16 -4
- package/i18n/en-AU/layout.json +2 -1
- package/i18n/en-US/general.json +16 -4
- package/i18n/en-US/layout.json +2 -1
- package/i18n/fa-IR/general.json +16 -4
- package/i18n/fa-IR/layout.json +2 -1
- package/package.json +6 -6
- package/types/acorex-platform-framework-client-common.d.ts +67 -7
- package/types/acorex-platform-framework-client-layout-components.d.ts +47 -6
- package/types/acorex-platform-framework-client-layout-entity.d.ts +117 -34
- package/types/acorex-platform-framework-client-layout-views.d.ts +15 -0
- package/types/acorex-platform-framework-client-layout-widget-core.d.ts +64 -14
- package/types/acorex-platform-framework-client-layout-widgets.d.ts +30 -1
- package/types/acorex-platform-framework-client-realtime.d.ts +5 -0
- package/types/acorex-platform-framework-client-themes-default.d.ts +12 -0
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CA19c8sx.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-1UJh0Qj4.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-DwCoz2Du.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BCyFK60f.mjs.map +0 -1
|
@@ -20,7 +20,7 @@ export { AXPEntityDefinitionCrudService, AXP_ENTITY_DEFINITION_CRUD_SERVICE } fr
|
|
|
20
20
|
import * as i4 from '@acorex-platform/framework-client/layout/widget-core';
|
|
21
21
|
import { AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetCoreElementAPI, AXPWidgetCoreService, AXPWidgetRendererDirective } from '@acorex-platform/framework-client/layout/widget-core';
|
|
22
22
|
import * as _acorex_platform_framework_client_layout_widgets from '@acorex-platform/framework-client/layout/widgets';
|
|
23
|
-
import {
|
|
23
|
+
import { AXPDataListWidgetComponentOptions } from '@acorex-platform/framework-client/layout/widgets';
|
|
24
24
|
import { ParamMap, ResolveFn, RedirectCommand } from '@angular/router';
|
|
25
25
|
import * as rxjs from 'rxjs';
|
|
26
26
|
import { Subject } from 'rxjs';
|
|
@@ -410,6 +410,8 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
410
410
|
private readonly chooserService;
|
|
411
411
|
private readonly settingsService;
|
|
412
412
|
private readonly commandExecutor;
|
|
413
|
+
private readonly queryExecutor;
|
|
414
|
+
private readonly debug;
|
|
413
415
|
private readonly toastService;
|
|
414
416
|
private readonly translateService;
|
|
415
417
|
private readonly dirtyChangeSubject;
|
|
@@ -422,8 +424,15 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
422
424
|
/** Status before soft-delete; used for restore when baseline was not synced (section layout). */
|
|
423
425
|
private readonly statusBeforeDelete;
|
|
424
426
|
private readonly autoBaselineSynced;
|
|
427
|
+
private entityFilesHydrateGeneration;
|
|
428
|
+
private hydratedScopeKey;
|
|
425
429
|
/** Sync baseline from context when not wired by a deferred-save page (section layout). */
|
|
426
430
|
private readonly baselineInitEffect;
|
|
431
|
+
/**
|
|
432
|
+
* Storage refs (including `reference:edms-lazy`) are not file rows.
|
|
433
|
+
* Load them through FileUploader:LoadFiles without marking the form dirty.
|
|
434
|
+
*/
|
|
435
|
+
private readonly entityFilesHydrateEffect;
|
|
427
436
|
protected multiple: _angular_core.Signal<boolean>;
|
|
428
437
|
private readonly acceptOverride;
|
|
429
438
|
protected accept: _angular_core.Signal<string>;
|
|
@@ -447,6 +456,7 @@ declare class AXPFileUploaderWidgetEditComponent extends AXPValueWidgetComponent
|
|
|
447
456
|
protected readonly chooserContext: _angular_core.Signal<AXPFileChooserContext>;
|
|
448
457
|
ngOnInit(): void;
|
|
449
458
|
private applyChooserPlatformSettings;
|
|
459
|
+
private hydrateEntityFiles;
|
|
450
460
|
setValue(value: AXPFileListItem[] | null | undefined): void;
|
|
451
461
|
/** Align dirty baseline with persisted attachments (call when record loads or after discard remount). */
|
|
452
462
|
syncBaseline(saved: AXPFileListItem[] | undefined): void;
|
|
@@ -763,6 +773,7 @@ declare class AXPOpenEntityDetailsCommand implements AXPCommand<AXPOpenEntityDet
|
|
|
763
773
|
private readonly router;
|
|
764
774
|
private readonly sessionService;
|
|
765
775
|
private readonly detailsAccess;
|
|
776
|
+
private readonly excludeSession;
|
|
766
777
|
/**
|
|
767
778
|
* Execute the command to navigate to entity details
|
|
768
779
|
* @param input - Command input containing entity and data information
|
|
@@ -1022,6 +1033,10 @@ declare class AXPEntityDetailPopoverComponent {
|
|
|
1022
1033
|
entityId: _angular_core.InputSignal<string | number>;
|
|
1023
1034
|
requestClose: _angular_core.InputSignal<(() => void) | undefined>;
|
|
1024
1035
|
breadcrumb: _angular_core.InputSignal<string | null>;
|
|
1036
|
+
/** When set, replaces the entity card field list for this popover only. */
|
|
1037
|
+
popoverFields: _angular_core.InputSignal<readonly string[] | null>;
|
|
1038
|
+
/** Names removed from this popover after `popoverFields` is applied. */
|
|
1039
|
+
popoverExclude: _angular_core.InputSignal<readonly string[] | null>;
|
|
1025
1040
|
protected entityDefinition: _angular_core.WritableSignal<AXPEntity | null>;
|
|
1026
1041
|
protected entityData: _angular_core.WritableSignal<Record<string, unknown> | null>;
|
|
1027
1042
|
protected isLoadingDetails: _angular_core.WritableSignal<boolean>;
|
|
@@ -1042,7 +1057,7 @@ declare class AXPEntityDetailPopoverComponent {
|
|
|
1042
1057
|
loadDetails(): Promise<void>;
|
|
1043
1058
|
protected navigateToDetails(): Promise<void>;
|
|
1044
1059
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDetailPopoverComponent, never>;
|
|
1045
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDetailPopoverComponent, "axp-entity-detail-popover", never, { "entity": { "alias": "entity"; "required": true; "isSignal": true; }; "entityId": { "alias": "entityId"; "required": true; "isSignal": true; }; "requestClose": { "alias": "requestClose"; "required": false; "isSignal": true; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1060
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDetailPopoverComponent, "axp-entity-detail-popover", never, { "entity": { "alias": "entity"; "required": true; "isSignal": true; }; "entityId": { "alias": "entityId"; "required": true; "isSignal": true; }; "requestClose": { "alias": "requestClose"; "required": false; "isSignal": true; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; "isSignal": true; }; "popoverFields": { "alias": "popoverFields"; "required": false; "isSignal": true; }; "popoverExclude": { "alias": "popoverExclude"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1046
1061
|
}
|
|
1047
1062
|
|
|
1048
1063
|
interface AXPEntityDetailPopoverOptions {
|
|
@@ -1056,6 +1071,13 @@ interface AXPEntityDetailPopoverOptions {
|
|
|
1056
1071
|
/** @deprecated Unused; the shared entity card resolves the title from the card layout. */
|
|
1057
1072
|
displayTitle?: string;
|
|
1058
1073
|
breadcrumb?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* When set, the popover shows only these card fields, in this order.
|
|
1076
|
+
* Omit to keep the entity card. Does not change list cards.
|
|
1077
|
+
*/
|
|
1078
|
+
fields?: readonly string[];
|
|
1079
|
+
/** Card field or property names removed from this popover after `fields` is applied. */
|
|
1080
|
+
exclude?: readonly string[];
|
|
1059
1081
|
}
|
|
1060
1082
|
declare class AXPEntityDetailPopoverService {
|
|
1061
1083
|
private readonly overlayService;
|
|
@@ -1408,6 +1430,10 @@ declare class AXPEntityCreateViewElementViewModel {
|
|
|
1408
1430
|
description: _angular_core.WritableSignal<string | undefined>;
|
|
1409
1431
|
editable: _angular_core.Signal<boolean>;
|
|
1410
1432
|
isVisible: _angular_core.Signal<string | boolean>;
|
|
1433
|
+
private readonly liveRequired;
|
|
1434
|
+
/** `disabled` values of `required` rules, so the page label can follow the same expression as the editor. */
|
|
1435
|
+
requiredDisabledSources(): Array<boolean | string | undefined>;
|
|
1436
|
+
setLiveRequired(value: boolean): void;
|
|
1411
1437
|
isRequired: _angular_core.Signal<boolean>;
|
|
1412
1438
|
layout: _angular_core.Signal<AXPEntityPropertyLayoutConfig>;
|
|
1413
1439
|
node: _angular_core.Signal<AXPWidgetNode>;
|
|
@@ -1984,6 +2010,10 @@ declare class AXPEntityMasterUpdateElementViewModel {
|
|
|
1984
2010
|
description: _angular_core.WritableSignal<string | undefined>;
|
|
1985
2011
|
editable: _angular_core.Signal<boolean>;
|
|
1986
2012
|
isVisible: _angular_core.Signal<string | boolean>;
|
|
2013
|
+
private readonly liveRequired;
|
|
2014
|
+
/** `disabled` values of `required` rules, so the page label can follow the same expression as the editor. */
|
|
2015
|
+
requiredDisabledSources(): Array<boolean | string | undefined>;
|
|
2016
|
+
setLiveRequired(value: boolean): void;
|
|
1987
2017
|
isRequired: _angular_core.Signal<boolean>;
|
|
1988
2018
|
layout: _angular_core.Signal<AXPEntityPropertyLayoutConfig>;
|
|
1989
2019
|
node: _angular_core.Signal<AXPWidgetNode>;
|
|
@@ -2988,6 +3018,23 @@ interface PairSpanRule {
|
|
|
2988
3018
|
secondSpan: number;
|
|
2989
3019
|
breakpoints?: readonly ('sm' | 'md' | 'lg')[];
|
|
2990
3020
|
}
|
|
3021
|
+
/**
|
|
3022
|
+
* Col spans for a priority list of properties in one section.
|
|
3023
|
+
* Only names that are actually present are laid out, in {@link GroupSpanRule.names} order.
|
|
3024
|
+
* The span comes from how many of those names are in the section.
|
|
3025
|
+
*/
|
|
3026
|
+
interface GroupSpanRule {
|
|
3027
|
+
/** Priority order. Missing names are skipped. */
|
|
3028
|
+
names: readonly string[];
|
|
3029
|
+
/**
|
|
3030
|
+
* Col span for each present name, keyed by how many of {@link names} are in the section.
|
|
3031
|
+
* Example: `{ 1: 6, 2: 6, 3: 4 }`.
|
|
3032
|
+
*/
|
|
3033
|
+
spanByCount: Readonly<Record<number, number>>;
|
|
3034
|
+
/** Layout order for each name, same length as {@link names}. */
|
|
3035
|
+
orders?: readonly number[];
|
|
3036
|
+
breakpoints?: readonly ('sm' | 'md' | 'lg')[];
|
|
3037
|
+
}
|
|
2991
3038
|
interface SectionOrderConfig {
|
|
2992
3039
|
sections: Record<string, number>;
|
|
2993
3040
|
properties: Record<string, number>;
|
|
@@ -2998,15 +3045,29 @@ interface SectionOrderConfig {
|
|
|
2998
3045
|
* - `[...]` + spread `DEFAULT_PAIR_SPAN_RULES` when you want to append custom pairs
|
|
2999
3046
|
*/
|
|
3000
3047
|
pairSpanRules?: PairSpanRule[] | false;
|
|
3048
|
+
/**
|
|
3049
|
+
* Width for a priority list of fields in one section, based on how many are present.
|
|
3050
|
+
* - `undefined`: use {@link DEFAULT_GROUP_SPAN_RULES}
|
|
3051
|
+
* - `false`: do not apply group spans
|
|
3052
|
+
* - `[...]`: replace the defaults
|
|
3053
|
+
*/
|
|
3054
|
+
groupSpanRules?: GroupSpanRule[] | false;
|
|
3001
3055
|
}
|
|
3002
3056
|
/**
|
|
3003
|
-
*
|
|
3057
|
+
* Classification row: scope, then category, then tags.
|
|
3058
|
+
* One field is 6 columns, two fields are 6 + 6, three fields are 4 + 4 + 4.
|
|
3004
3059
|
*/
|
|
3060
|
+
declare const DEFAULT_GROUP_SPAN_RULES: readonly GroupSpanRule[];
|
|
3061
|
+
/** Default shipped rules: narrow identifier + wider title on `md` / `lg`. */
|
|
3005
3062
|
declare const DEFAULT_PAIR_SPAN_RULES: readonly PairSpanRule[];
|
|
3006
3063
|
declare const DEFAULT_SECTION_ORDER: Record<string, number>;
|
|
3007
3064
|
declare const DEFAULT_PROPERTY_ORDER: Record<string, number>;
|
|
3008
3065
|
declare const layoutOrderingMiddlewareFactory: (config: SectionOrderConfig) => AXPEntityModifier;
|
|
3009
3066
|
declare const createLayoutOrderingMiddlewareProvider: (config?: Partial<SectionOrderConfig>, entityName?: string | RegExp) => AXPEntityModifierProvider;
|
|
3067
|
+
/**
|
|
3068
|
+
* Runs after entity plugins (tags, category, catalog-scope) so their layout
|
|
3069
|
+
* views exist before default spans and section order are applied.
|
|
3070
|
+
*/
|
|
3010
3071
|
declare const layoutOrderingMiddlewareProvider: AXPEntityModifierProvider;
|
|
3011
3072
|
|
|
3012
3073
|
/**
|
|
@@ -3789,34 +3850,38 @@ declare module '@acorex-platform/framework-shared/widget-core' {
|
|
|
3789
3850
|
}
|
|
3790
3851
|
}
|
|
3791
3852
|
|
|
3792
|
-
|
|
3853
|
+
interface EntityKeyRow {
|
|
3854
|
+
value: string;
|
|
3855
|
+
/** Original title or i18n key. The row template translates it. */
|
|
3856
|
+
title: string;
|
|
3857
|
+
/** Translated label plus key, used for search and sort. */
|
|
3858
|
+
searchText: string;
|
|
3859
|
+
}
|
|
3860
|
+
/**
|
|
3861
|
+
* Picks a registered entity key (`module.name`).
|
|
3862
|
+
* Does not use the data-list widget base: that base writes `options.dataSource`
|
|
3863
|
+
* while the property dialog is opening and remounts the dialog until the browser hangs.
|
|
3864
|
+
*/
|
|
3865
|
+
declare class AXPEntityDefinitionProviderWidgetEditComponent extends AXPValueWidgetComponent<string> {
|
|
3793
3866
|
private readonly entityRegistry;
|
|
3867
|
+
private readonly entityResolver;
|
|
3868
|
+
private readonly translationService;
|
|
3794
3869
|
/**
|
|
3795
|
-
*
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
}>>;
|
|
3811
|
-
refresh(): void;
|
|
3812
|
-
/**
|
|
3813
|
-
* Reads sibling field from context store data (same shape as `lodash/get` paths).
|
|
3814
|
-
*/
|
|
3815
|
-
private readModuleFromContext;
|
|
3816
|
-
/**
|
|
3817
|
-
* Resolves a sibling field path relative to the current widget's parent path.
|
|
3818
|
-
*/
|
|
3819
|
-
private resolveSiblingContextPath;
|
|
3870
|
+
* Replaced after {@link AXPEntityResolver.listAll}. `getAll()` only has entities
|
|
3871
|
+
* already opened in this session, so the dropdown would hide the rest.
|
|
3872
|
+
*/
|
|
3873
|
+
private rows;
|
|
3874
|
+
/** Bumped when {@link rows} is replaced so the selected label can resolve. */
|
|
3875
|
+
private readonly rowsVersion;
|
|
3876
|
+
/** Drops the lookup's initial value echo so the property dialog is not rebuilt. */
|
|
3877
|
+
private acceptSelection;
|
|
3878
|
+
protected readonly rowHeight = 40;
|
|
3879
|
+
protected readonly dataSource: AXDataSource<EntityKeyRow>;
|
|
3880
|
+
protected readonly selectedKey: _angular_core.Signal<string | null>;
|
|
3881
|
+
protected readonly selectedItems: _angular_core.Signal<EntityKeyRow[]>;
|
|
3882
|
+
ngOnInit(): Promise<void>;
|
|
3883
|
+
protected onLookupValueChanged(event: AXValueChangedEvent): void;
|
|
3884
|
+
private toRows;
|
|
3820
3885
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDefinitionProviderWidgetEditComponent, never>;
|
|
3821
3886
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDefinitionProviderWidgetEditComponent, "axp-entity-definition-provider-widget-edit", never, {}, {}, never, never, true, never>;
|
|
3822
3887
|
}
|
|
@@ -3864,8 +3929,8 @@ declare class AXPEntityListTableService {
|
|
|
3864
3929
|
*/
|
|
3865
3930
|
private handleRowCommand;
|
|
3866
3931
|
/**
|
|
3867
|
-
*
|
|
3868
|
-
*
|
|
3932
|
+
* Related-list `excludeProperties` are not on the row action itself.
|
|
3933
|
+
* Merge them into create, edit, view, and details commands. Values stay in the form context.
|
|
3869
3934
|
*/
|
|
3870
3935
|
private mergeRelatedListFormOptions;
|
|
3871
3936
|
/**
|
|
@@ -4311,6 +4376,8 @@ interface AXPEntityDataSelectorCreateOptions {
|
|
|
4311
4376
|
* When set, replaces the default `Create {entity title}` header.
|
|
4312
4377
|
*/
|
|
4313
4378
|
title?: string;
|
|
4379
|
+
/** Command to run instead of `Entity:Create`, when set. */
|
|
4380
|
+
command?: string;
|
|
4314
4381
|
}
|
|
4315
4382
|
/** Nested options for {@link AXPEntityDataSelectorService.open}. */
|
|
4316
4383
|
interface AXPEntityDataSelectorOpenOptions {
|
|
@@ -4414,7 +4481,7 @@ declare class AXPEntityDataSelectorService {
|
|
|
4414
4481
|
* Execute Entity:Create and return created item.
|
|
4415
4482
|
* Used by lookup widget and data selector for inline create.
|
|
4416
4483
|
*/
|
|
4417
|
-
executeEntityCreate(entity: AXPEntity, mode: 'full' | 'quick', initialData?: Record<string, unknown>, title?: string): Promise<any | null>;
|
|
4484
|
+
executeEntityCreate(entity: AXPEntity, mode: 'full' | 'quick', initialData?: Record<string, unknown>, title?: string, commandName?: string): Promise<any | null>;
|
|
4418
4485
|
/**
|
|
4419
4486
|
* Normalize item's phones/emails for expose/display.
|
|
4420
4487
|
* Call this when receiving items from any source (create, API, selector).
|
|
@@ -4454,6 +4521,11 @@ declare class AXPEntityDataSelectorService {
|
|
|
4454
4521
|
* Execute Entity:Create and return created item
|
|
4455
4522
|
*/
|
|
4456
4523
|
private executeCreate;
|
|
4524
|
+
/**
|
|
4525
|
+
* Runs a named create command (for example Create New Location) and returns the created row.
|
|
4526
|
+
* `initialData` is sent as both `data` and `options.process.data` so party/owner seeds resolve.
|
|
4527
|
+
*/
|
|
4528
|
+
private executeNamedCreate;
|
|
4457
4529
|
/**
|
|
4458
4530
|
* Normalize phones/emails from repeater form to plain arrays of { value: string }.
|
|
4459
4531
|
* Repeater/ContactBox can return nested structure: { value: { label: "", value: "101010" } }
|
|
@@ -4555,6 +4627,8 @@ declare class AXPLookupWidgetTableHostComponent extends NXValueComponent {
|
|
|
4555
4627
|
protected handleTableItemClick(event: LookupWidgetTableItemClickEvent): void;
|
|
4556
4628
|
/** Closes the inline lookup dropdown. */
|
|
4557
4629
|
close(): void;
|
|
4630
|
+
/** Reload multi-column / tree grid rows (e.g. after cascade filter context is ready). */
|
|
4631
|
+
refreshTableData(): void;
|
|
4558
4632
|
/** Clears the selection. Used by projected `ax-clear-button`. */
|
|
4559
4633
|
reset(_isUserInteraction?: boolean): void;
|
|
4560
4634
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetTableHostComponent, never>;
|
|
@@ -4589,6 +4663,8 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
4589
4663
|
private readonly shouldFocus;
|
|
4590
4664
|
/** Skips one {@link findByValue} pass after inline create when selection is already hydrated. */
|
|
4591
4665
|
private skipFindByValueOnce;
|
|
4666
|
+
/** Ignores host `valueChange` echoes while open-form hydration is writing context. */
|
|
4667
|
+
private hostValueCommitSuppressDepth;
|
|
4592
4668
|
/** Latest {@link findByValue} run; older in-flight runs must not overwrite its result. */
|
|
4593
4669
|
private findByValueRequestId;
|
|
4594
4670
|
private lastEditorLocaleKey;
|
|
@@ -4600,6 +4676,8 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
4600
4676
|
protected textField: _angular_core.Signal<string>;
|
|
4601
4677
|
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
4602
4678
|
protected customFilter: _angular_core.Signal<AXDataSourceFilterOption | null>;
|
|
4679
|
+
/** When false, an empty cascade filter does not lock the editor. Explicit `disabled` is independent. */
|
|
4680
|
+
protected waitForCascade: _angular_core.Signal<boolean>;
|
|
4603
4681
|
/** Parent cascade with an empty value. Structurally empty filters and top-level not-in stay enabled. */
|
|
4604
4682
|
protected hasPendingCascadeFilter: _angular_core.Signal<boolean>;
|
|
4605
4683
|
protected isLookupDisabled: _angular_core.Signal<boolean>;
|
|
@@ -4659,6 +4737,9 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
4659
4737
|
protected openPopupSelector(): Promise<void>;
|
|
4660
4738
|
private hasValue;
|
|
4661
4739
|
private findByValue;
|
|
4740
|
+
/** Ignores the editor echo while context is applied from outside the control. */
|
|
4741
|
+
private holdHostValueCommit;
|
|
4742
|
+
private resolveLookupSelection;
|
|
4662
4743
|
private getHydrationOptions;
|
|
4663
4744
|
private resolveEditorLocaleKey;
|
|
4664
4745
|
private rerenderEditor;
|
|
@@ -4666,6 +4747,8 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
4666
4747
|
private executeCreate;
|
|
4667
4748
|
/** @param syncContext When false, only updates UI (hydration/revert); skips context writes. */
|
|
4668
4749
|
protected setItems: (items: any[], syncContext?: boolean) => void;
|
|
4750
|
+
/** Fills empty expose targets from the resolved row without running triggers. */
|
|
4751
|
+
private exposeHydratedSelection;
|
|
4669
4752
|
/**
|
|
4670
4753
|
* Writes expose targets into context using per-path updates.
|
|
4671
4754
|
* Avoids `contextService.patch()` with nested objects: patch shallow-merges top-level keys only,
|
|
@@ -5315,5 +5398,5 @@ declare function dispatchEntityModifiedSideEffects(entityEvents: AXPEntityBroadc
|
|
|
5315
5398
|
*/
|
|
5316
5399
|
declare function provideEntityRealtimeHandlers(): Provider[];
|
|
5317
5400
|
|
|
5318
|
-
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPClientLocalPluginModule, AXPCreateEntityCommand, AXPDataSeederService, AXPDeleteEntityCommand, AXPDomainQueryEntityDefinitionLoader, AXPEditFileUploaderCommand, AXPEntityBulkPatchPerformService, AXPEntityCardComponent, AXPEntityCardFieldsResolver, AXPEntityCardSelectActionName, AXPEntityCardSkeletonComponent, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletePerformService, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityLifecycleHookKeys, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddlewareSkipContext, AXPEntityModule, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityRuntimeAccessorService, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupByKeyCacheService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService as AXPMiddlewareEntityService, AXPMiddlewareEntityStorageService, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPOpenEntityListCommand, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowFileUploaderPopupCommand, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPUpdateEntityStatusCommand, AXPViewEntityDetailsCommand, AXP_APPEARANCE_SECTION_ORDER, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_CLASSIFICATION_SECTION_ORDER, AXP_CLIENT_LOCAL_DEFAULT_MAX_ITEMS, AXP_CLIENT_LOCAL_PLUGIN_NAME, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MIDDLEWARE, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_LOOKUP_FILTER_DEFAULT_OPERATOR, AXP_MULTI_SOURCE_DEFINITION_PROVIDER, DEFAULT_COLUMN_ORDER, DEFAULT_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, ENTITY_FORM_ACTION_FIRST_STEP_CONTINUE, ENTITY_LIST_LAYOUT_META, ENTITY_LIST_ROUTE_CONTEXT_SESSION_KEY, ENTITY_MASTER_LIST_TRACE_NS, EntityBuilder, EntityDataAccessor, GALLERY_PAGE_COMPONENT_KEY, TREE_CHILDREN_QUERY_TAKE, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentNeedsHydration, attachmentsPlugin, attachmentsSemanticallyEqual, axpBuildEntityListPageContextSnapshot, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, axpDeleteEntityCommandDefinition, axpOpenEntityListCommandDefinition, axpRunEntityListPageContextAction, axpShowFileUploaderPopupCommandDefinition, axpUpdateEntityStatusCommandDefinition, buildDataSourceTraceSnapshot, canPersistEntityListState, clientLocalPlugin, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, committedAttachments, composeEntityMiddlewares, composeEntityStorageMiddlewares, computeEntityAggregates, configureEntityListColumnsSettingsMigrateDrop, configureEntityListColumnsSettingsVersion, createColumnOrderingMiddlewareProvider, createEntityCardDisplayScope, createEntityCardLogicScope, createEntityMiddlewareContext, createEntityStorageContext, createLayoutOrderingMiddlewareProvider, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, defaultSortPresetsMiddleware, defaultSortPresetsMiddlewareProvider, detectEntityChanges, dispatchEntityModifiedSideEffects, ensureHierarchicalRootFilter, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityCreateBridgeMiddleware, entityDeleteBridgeMiddleware, entityGetOneBridgeMiddleware, entityListInstanceCurrentViewPath, entityListInstanceFilterPath, entityListStylingRulesPath, entityQueryBridgeMiddleware, entityStorageCreateBridgeMiddleware, entityStorageDeleteBridgeMiddleware, entityStorageGetOneBridgeMiddleware, entityStorageQueryBridgeMiddleware, entityStorageUpdateBridgeMiddleware, entityUpdateBridgeMiddleware, eventDispatchMiddleware, filterEntityMiddlewares, filterEntityStorageMiddlewares, filterSortEntityRows, filterTouchesParentKey, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, fireEntityLifecycleHook, formatLookupItemDisplay, formatLookupItemDisplayAsync, galleryPlugin, getDataSourcePageIndex, getEntityListColumnsSettingsMigrateDrop, getEntityListColumnsSettingsVersion, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, hydrateAttachmentFieldToFileList, isAXPMiddlewareAbortError, isAttachmentFieldPresentOnRow, isAttachmentListEntry, isAttachmentStorageRef, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, mergeEntityListViewAndPersistedFilters, normalizeEntityCardHeaderDisplayValue, normalizeEntityDataSelectorColumnSpecs, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, prefetchClientLocalRelated, provideEntity, provideEntityMiddlewareBridge, provideEntityRealtimeHandlers, provideEntityStorageMiddlewareBridge, provideLocalEntityCatalog, readLiveAttachmentValue, readPersistedEntityListInstanceCurrentView, readPersistedEntityListInstanceFilters, readPersistedEntityListStylingRules, resetPagingForTreeChildrenLoad, resolveAttachmentFieldPath, resolveEntityCardBadgeColorValue, resolveEntityCardHeaderValue, resolveEntityMasterFieldStylingClass, resolveEntityMasterRecordStylingClass, resolveEntityMasterStylingClass, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, resolveLookupEntityCacheKey, resolveLookupEntityKey, resolveMasterInterfacePropertyOrder, restoreEntityListExpandedRows, runEntityMiddlewarePipeline, runEntityQuery, runEntityStorageMiddlewarePipeline, saveAttachmentsThroughEntityUpdate, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry, traceEntityMasterList };
|
|
5319
|
-
export type { AXPClientLocalPluginOptions, AXPDataSeeder, AXPDeleteEntityCommandInput, AXPEntityAccessPort, AXPEntityActionPlugin, AXPEntityBulkPatchPerformInput, AXPEntityCardListHost, AXPEntityCardSecondaryActionItem, AXPEntityCardVariant, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDeletePerformInput, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListExpandRowRef, AXPEntityListInput, AXPEntityListPagingState, AXPEntityListPersistenceMode, AXPEntityListToolbarConvertOptions, AXPEntityMasterListCardLayout, AXPEntityMasterListCardSecondaryActionItem, AXPEntityMasterListViewSortPropViewModel, AXPEntityMiddleware, AXPEntityMiddlewareContext, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityPreloadEntity, AXPEntityStorageBackend, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPFileListLook, AXPFileUploaderEditDialogFieldOptions, AXPFileUploaderEditDialogMode, AXPFileUploaderEditDialogOptions, AXPFileUploaderEntityFilesScope, AXPFileUploaderLoadFilesQueryInput, AXPFileUploaderLoadFilesQueryResult, AXPFileUploaderSaveFilesCommandInput, AXPFileUploaderSaveFilesCommandResult, AXPFileUploaderShowFileListEntityContext, AXPFileUploaderShowFileListOptions, AXPFileUploaderUploadActionDescriptor, AXPFileUploaderWidgetColumnOptions, AXPFileUploaderWidgetDesignerOptions, AXPFileUploaderWidgetEditOptions, AXPFileUploaderWidgetOptions, AXPFileUploaderWidgetPrintOptions, AXPFileUploaderWidgetViewOptions, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupDisplayEvalDeps, AXPMasterListColumnTreeNode, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPOpenEntityListCommandInput, AXPOpenEntityListCondition, AXPPageContextTitleResolver, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, AXPShowFileUploaderPopupCommandInput, AXPUpdateEntityStatusCommandInput, AttachmentsDisplayMode, AttachmentsPluginOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, EntityMasterListTraceArea, GalleryDisplayMode, GalleryPluginOptions, PairSpanRule, ResolveEntityPluginDetailPageOrderOptions, RunEntityQueryAdapters, SectionOrderConfig, SkipEntityComponentPageRef };
|
|
5401
|
+
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPClientLocalPluginModule, AXPCreateEntityCommand, AXPDataSeederService, AXPDeleteEntityCommand, AXPDomainQueryEntityDefinitionLoader, AXPEditFileUploaderCommand, AXPEntityBulkPatchPerformService, AXPEntityCardComponent, AXPEntityCardFieldsResolver, AXPEntityCardSelectActionName, AXPEntityCardSkeletonComponent, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletePerformService, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityLifecycleHookKeys, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddlewareSkipContext, AXPEntityModule, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityRuntimeAccessorService, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupByKeyCacheService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService as AXPMiddlewareEntityService, AXPMiddlewareEntityStorageService, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPOpenEntityListCommand, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowFileUploaderPopupCommand, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPUpdateEntityStatusCommand, AXPViewEntityDetailsCommand, AXP_APPEARANCE_SECTION_ORDER, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_CLASSIFICATION_SECTION_ORDER, AXP_CLIENT_LOCAL_DEFAULT_MAX_ITEMS, AXP_CLIENT_LOCAL_PLUGIN_NAME, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MIDDLEWARE, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_LOOKUP_FILTER_DEFAULT_OPERATOR, AXP_MULTI_SOURCE_DEFINITION_PROVIDER, DEFAULT_COLUMN_ORDER, DEFAULT_GROUP_SPAN_RULES, DEFAULT_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, ENTITY_FORM_ACTION_FIRST_STEP_CONTINUE, ENTITY_LIST_LAYOUT_META, ENTITY_LIST_ROUTE_CONTEXT_SESSION_KEY, ENTITY_MASTER_LIST_TRACE_NS, EntityBuilder, EntityDataAccessor, GALLERY_PAGE_COMPONENT_KEY, TREE_CHILDREN_QUERY_TAKE, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentNeedsHydration, attachmentsPlugin, attachmentsSemanticallyEqual, axpBuildEntityListPageContextSnapshot, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, axpDeleteEntityCommandDefinition, axpOpenEntityListCommandDefinition, axpRunEntityListPageContextAction, axpShowFileUploaderPopupCommandDefinition, axpUpdateEntityStatusCommandDefinition, buildDataSourceTraceSnapshot, canPersistEntityListState, clientLocalPlugin, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, committedAttachments, composeEntityMiddlewares, composeEntityStorageMiddlewares, computeEntityAggregates, configureEntityListColumnsSettingsMigrateDrop, configureEntityListColumnsSettingsVersion, createColumnOrderingMiddlewareProvider, createEntityCardDisplayScope, createEntityCardLogicScope, createEntityMiddlewareContext, createEntityStorageContext, createLayoutOrderingMiddlewareProvider, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, defaultSortPresetsMiddleware, defaultSortPresetsMiddlewareProvider, detectEntityChanges, dispatchEntityModifiedSideEffects, ensureHierarchicalRootFilter, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityCreateBridgeMiddleware, entityDeleteBridgeMiddleware, entityGetOneBridgeMiddleware, entityListInstanceCurrentViewPath, entityListInstanceFilterPath, entityListStylingRulesPath, entityQueryBridgeMiddleware, entityStorageCreateBridgeMiddleware, entityStorageDeleteBridgeMiddleware, entityStorageGetOneBridgeMiddleware, entityStorageQueryBridgeMiddleware, entityStorageUpdateBridgeMiddleware, entityUpdateBridgeMiddleware, eventDispatchMiddleware, filterEntityMiddlewares, filterEntityStorageMiddlewares, filterSortEntityRows, filterTouchesParentKey, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, fireEntityLifecycleHook, formatLookupItemDisplay, formatLookupItemDisplayAsync, galleryPlugin, getDataSourcePageIndex, getEntityListColumnsSettingsMigrateDrop, getEntityListColumnsSettingsVersion, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, hydrateAttachmentFieldToFileList, isAXPMiddlewareAbortError, isAttachmentFieldPresentOnRow, isAttachmentListEntry, isAttachmentStorageRef, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, mergeEntityListViewAndPersistedFilters, normalizeEntityCardHeaderDisplayValue, normalizeEntityDataSelectorColumnSpecs, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, prefetchClientLocalRelated, provideEntity, provideEntityMiddlewareBridge, provideEntityRealtimeHandlers, provideEntityStorageMiddlewareBridge, provideLocalEntityCatalog, readLiveAttachmentValue, readPersistedEntityListInstanceCurrentView, readPersistedEntityListInstanceFilters, readPersistedEntityListStylingRules, resetPagingForTreeChildrenLoad, resolveAttachmentFieldPath, resolveEntityCardBadgeColorValue, resolveEntityCardHeaderValue, resolveEntityMasterFieldStylingClass, resolveEntityMasterRecordStylingClass, resolveEntityMasterStylingClass, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, resolveLookupEntityCacheKey, resolveLookupEntityKey, resolveMasterInterfacePropertyOrder, restoreEntityListExpandedRows, runEntityMiddlewarePipeline, runEntityQuery, runEntityStorageMiddlewarePipeline, saveAttachmentsThroughEntityUpdate, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry, traceEntityMasterList };
|
|
5402
|
+
export type { AXPClientLocalPluginOptions, AXPDataSeeder, AXPDeleteEntityCommandInput, AXPEntityAccessPort, AXPEntityActionPlugin, AXPEntityBulkPatchPerformInput, AXPEntityCardListHost, AXPEntityCardSecondaryActionItem, AXPEntityCardVariant, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDeletePerformInput, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListExpandRowRef, AXPEntityListInput, AXPEntityListPagingState, AXPEntityListPersistenceMode, AXPEntityListToolbarConvertOptions, AXPEntityMasterListCardLayout, AXPEntityMasterListCardSecondaryActionItem, AXPEntityMasterListViewSortPropViewModel, AXPEntityMiddleware, AXPEntityMiddlewareContext, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityPreloadEntity, AXPEntityStorageBackend, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPFileListLook, AXPFileUploaderEditDialogFieldOptions, AXPFileUploaderEditDialogMode, AXPFileUploaderEditDialogOptions, AXPFileUploaderEntityFilesScope, AXPFileUploaderLoadFilesQueryInput, AXPFileUploaderLoadFilesQueryResult, AXPFileUploaderSaveFilesCommandInput, AXPFileUploaderSaveFilesCommandResult, AXPFileUploaderShowFileListEntityContext, AXPFileUploaderShowFileListOptions, AXPFileUploaderUploadActionDescriptor, AXPFileUploaderWidgetColumnOptions, AXPFileUploaderWidgetDesignerOptions, AXPFileUploaderWidgetEditOptions, AXPFileUploaderWidgetOptions, AXPFileUploaderWidgetPrintOptions, AXPFileUploaderWidgetViewOptions, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupDisplayEvalDeps, AXPMasterListColumnTreeNode, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPOpenEntityListCommandInput, AXPOpenEntityListCondition, AXPPageContextTitleResolver, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, AXPShowFileUploaderPopupCommandInput, AXPUpdateEntityStatusCommandInput, AttachmentsDisplayMode, AttachmentsPluginOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, EntityMasterListTraceArea, GalleryDisplayMode, GalleryPluginOptions, GroupSpanRule, PairSpanRule, ResolveEntityPluginDetailPageOrderOptions, RunEntityQueryAdapters, SectionOrderConfig, SkipEntityComponentPageRef };
|
|
@@ -253,6 +253,7 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
253
253
|
protected readonly unsavedChangesConfirm: AXPUnsavedChangesConfirmService;
|
|
254
254
|
protected readonly browserTitleService: AXPBrowserTitleService;
|
|
255
255
|
protected readonly router: Router;
|
|
256
|
+
private readonly pageLayoutRoute;
|
|
256
257
|
private readonly navTrailService;
|
|
257
258
|
private readonly pageLayoutDestroyRef;
|
|
258
259
|
private _updateTrigger;
|
|
@@ -261,6 +262,15 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
261
262
|
protected updateTrigger: _angular_core.Signal<number>;
|
|
262
263
|
protected recompute(): void;
|
|
263
264
|
ngOnInit(): Promise<void>;
|
|
265
|
+
/**
|
|
266
|
+
* Follows the scoped tab when this instance is the active route (settings scope changes).
|
|
267
|
+
* Cached background pages keep the key captured at init.
|
|
268
|
+
*/
|
|
269
|
+
private syncOwnedPageTabKey;
|
|
270
|
+
/** True when this page's route snapshot is in the active router tree. */
|
|
271
|
+
private isOwningActiveRoute;
|
|
272
|
+
/** True when this page may publish chrome onto its route tab. */
|
|
273
|
+
private canPublishActiveTabChrome;
|
|
264
274
|
/** Maps the home-page route to the pinned home tab key instead of a path-based key. */
|
|
265
275
|
private resolvePageTabKey;
|
|
266
276
|
/** Stable tab key for this cached page instance (tabular mode). */
|
|
@@ -294,6 +304,11 @@ declare abstract class AXPPageLayoutBaseComponent implements AXPPageLayoutBase {
|
|
|
294
304
|
/** True when this cached page should publish crumbs for details-to-details wayfinding. */
|
|
295
305
|
private isActivePageForNavTrail;
|
|
296
306
|
protected getPageBreadcrumbs(): AXPBreadcrumbItem[] | Promise<AXPBreadcrumbItem[]>;
|
|
307
|
+
/**
|
|
308
|
+
* Route-tab label for this page. Return a scope title when child routes are internal
|
|
309
|
+
* (settings groups). Null keeps the breadcrumb / page-title fallback.
|
|
310
|
+
*/
|
|
311
|
+
protected getRouteTabTitle(): string | string[] | null | Promise<string | string[] | null>;
|
|
297
312
|
/** Collects resolved breadcrumb labels (Home excluded upstream) for tab chrome. */
|
|
298
313
|
protected resolveBreadcrumbTabTitleSegments(pageBreadcrumbs: AXPBreadcrumbItem[]): Promise<string[]>;
|
|
299
314
|
/** Joins breadcrumb segments as the stored tab title string. */
|
|
@@ -4,7 +4,7 @@ import * as _acorex_platform_framework_shared_widget_core from '@acorex-platform
|
|
|
4
4
|
import { AXPWidgetStatus, AXPPageStatus, AXPWidgetNodeToken, AXPWidgetNode, AXPWidgetRenderMode, AXPLayoutProfileContext, AXPLayoutProfileValues, AXPWidgetPropertyGroup, AXPWidgetProperty, AXPLayoutSize, AXPWidgetConfig, AXPExtendedWidget, AXPWidgetColumnNode } from '@acorex-platform/framework-shared/widget-core';
|
|
5
5
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
6
6
|
import * as _acorex_platform_framework_shared_core from '@acorex-platform/framework-shared/core';
|
|
7
|
-
import { AXPOptionsData, AXPValidationRules, AXPGridLayoutOptions, AXPProperty, AXPContextChangeEvent, AXPMetaData, AXPWidgetNode as AXPWidgetNode$1 } from '@acorex-platform/framework-shared/core';
|
|
7
|
+
import { AXPOptionsData, AXPValidationRules, AXPGridLayoutOptions, AXPProperty, AXPContextChangeEvent, AXPMetaData, AXPValidationRule, AXPExpressionEvaluatorScope, AXPWidgetNode as AXPWidgetNode$1 } from '@acorex-platform/framework-shared/core';
|
|
8
8
|
import { AXPQueryRegistryRecord } from '@acorex-platform/framework-shared/domain';
|
|
9
9
|
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
10
10
|
import { AXPQueryService } from '@acorex-platform/framework-client/runtime';
|
|
@@ -205,6 +205,7 @@ declare abstract class AXPLayoutBaseWidgetComponent<TOptions extends AXPOptionsD
|
|
|
205
205
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutBaseWidgetComponent<any>>;
|
|
206
206
|
}
|
|
207
207
|
declare abstract class AXPValueWidgetComponent<T = any | null, TOptions extends AXPOptionsData = AXPOptionsData> extends AXPLayoutBaseWidgetComponent<TOptions> implements OnInit {
|
|
208
|
+
#private;
|
|
208
209
|
protected readonly path: string | undefined;
|
|
209
210
|
protected readonly defaultValue: any;
|
|
210
211
|
private _isValueWidget;
|
|
@@ -214,8 +215,12 @@ declare abstract class AXPValueWidgetComponent<T = any | null, TOptions extends
|
|
|
214
215
|
}>;
|
|
215
216
|
fullPath: _angular_core.WritableSignal<string | null>;
|
|
216
217
|
parentPath: _angular_core.WritableSignal<string | null>;
|
|
218
|
+
private readonly validationExpressionEvaluator;
|
|
219
|
+
private readonly validationDisabledByIndex;
|
|
220
|
+
private validationDisabledGeneration;
|
|
217
221
|
ngOnInit(): void;
|
|
218
222
|
getValue: _angular_core.Signal<T>;
|
|
223
|
+
protected readonly validationRulesWithDisabled: _angular_core.Signal<AXPValidationRules>;
|
|
219
224
|
protected validationRules: _angular_core.Signal<AXPValidationRules>;
|
|
220
225
|
protected hasRequiredValidation: _angular_core.Signal<boolean>;
|
|
221
226
|
/**
|
|
@@ -493,6 +498,27 @@ declare class AXPWidgetSerializationHelper {
|
|
|
493
498
|
static removeMeta(node: AXPWidgetNode): AXPWidgetNode;
|
|
494
499
|
}
|
|
495
500
|
|
|
501
|
+
type AXPWidgetExposeMapping = string | {
|
|
502
|
+
source: string;
|
|
503
|
+
target: string;
|
|
504
|
+
};
|
|
505
|
+
interface AXPWidgetExposeHydrateWrite {
|
|
506
|
+
path: string;
|
|
507
|
+
value: unknown;
|
|
508
|
+
}
|
|
509
|
+
interface ResolveWidgetExposeHydrateWritesInput {
|
|
510
|
+
expose: readonly AXPWidgetExposeMapping[] | null | undefined;
|
|
511
|
+
items: readonly unknown[];
|
|
512
|
+
multiple: boolean;
|
|
513
|
+
widgetPath: string | null;
|
|
514
|
+
readTarget: (path: string) => unknown;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Leaf writes for opening a form. Skips empty sources, the widget's own path,
|
|
518
|
+
* and targets that already hold a different value.
|
|
519
|
+
*/
|
|
520
|
+
declare function resolveWidgetExposeHydrateWrites(input: ResolveWidgetExposeHydrateWritesInput): AXPWidgetExposeHydrateWrite[];
|
|
521
|
+
|
|
496
522
|
declare abstract class AXPFlexBaseLayoutWidgetComponent extends AXPBlockBaseLayoutWidgetComponent {
|
|
497
523
|
protected flex: _angular_core.Signal<AXPFlexBoxString | undefined>;
|
|
498
524
|
hostFlexStyle: _angular_core.Signal<Record<string, string | number>>;
|
|
@@ -659,6 +685,17 @@ declare class AXPWidgetContainerComponent {
|
|
|
659
685
|
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>;
|
|
660
686
|
}
|
|
661
687
|
|
|
688
|
+
/** Asks the owning data-table column to measure its width again. */
|
|
689
|
+
interface AXPWidgetColumnAutoFitHandle {
|
|
690
|
+
/**
|
|
691
|
+
* Coalesces calls from every cell in the column.
|
|
692
|
+
* `settle` stops further passes after this one, so a later user resize is kept.
|
|
693
|
+
*/
|
|
694
|
+
scheduleContentAutoFit(request?: {
|
|
695
|
+
settle?: boolean;
|
|
696
|
+
}): void;
|
|
697
|
+
}
|
|
698
|
+
|
|
662
699
|
/**
|
|
663
700
|
* Provider interface for widget definitions.
|
|
664
701
|
* Implement this interface and register via AXP_WIDGET_DEFINITION_PROVIDER to contribute widgets.
|
|
@@ -701,17 +738,6 @@ declare class AXPWidgetRegistryService {
|
|
|
701
738
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPWidgetRegistryService>;
|
|
702
739
|
}
|
|
703
740
|
|
|
704
|
-
/** Asks the owning data-table column to measure its width again. */
|
|
705
|
-
interface AXPWidgetColumnAutoFitHandle {
|
|
706
|
-
/**
|
|
707
|
-
* Coalesces calls from every cell in the column.
|
|
708
|
-
* `settle` stops further passes after this one, so a later user resize is kept.
|
|
709
|
-
*/
|
|
710
|
-
scheduleContentAutoFit(request?: {
|
|
711
|
-
settle?: boolean;
|
|
712
|
-
}): void;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
741
|
declare class AXPWidgetColumnRendererComponent extends AXDataTableColumnComponent implements OnChanges, AfterContentInit, AXPWidgetColumnAutoFitHandle {
|
|
716
742
|
protected widgetRegistery: AXPWidgetRegistryService;
|
|
717
743
|
private grid;
|
|
@@ -920,6 +946,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
920
946
|
private hasInitialRender;
|
|
921
947
|
private onContextChanged;
|
|
922
948
|
private onLoadEvent;
|
|
949
|
+
/** Path → whether `onContextChanged` (triggers) should fire. Hydrate writes stay false. */
|
|
923
950
|
private contextUpdateQueue;
|
|
924
951
|
private contextUpdateTimeout;
|
|
925
952
|
private readonly CONTEXT_UPDATE_DEBOUNCE_MS;
|
|
@@ -927,6 +954,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
927
954
|
private readonly EXPRESSION_CACHE_TTL;
|
|
928
955
|
private lastAppliedOptions;
|
|
929
956
|
private lastExpressionResults;
|
|
957
|
+
/** Path → whether buffered pre-render changes should fire triggers. `*` marks a full context init. */
|
|
930
958
|
private preRenderContextQueue;
|
|
931
959
|
/**
|
|
932
960
|
* Last context {@link AXPContextChangeEvent} handled by this renderer.
|
|
@@ -945,6 +973,7 @@ declare class AXPWidgetRendererDirective {
|
|
|
945
973
|
* the previous `lastChange` object.
|
|
946
974
|
*/
|
|
947
975
|
private markContextChangeHandled;
|
|
976
|
+
private rememberQueuedPath;
|
|
948
977
|
private queueContextUpdate;
|
|
949
978
|
private processBatchedUpdates;
|
|
950
979
|
private isRelevantContextChange;
|
|
@@ -1028,6 +1057,26 @@ declare class AXPWidgetCoreModule {
|
|
|
1028
1057
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPWidgetCoreModule>;
|
|
1029
1058
|
}
|
|
1030
1059
|
|
|
1060
|
+
declare function collectAuthoredValidationRules(validationsRaw: unknown): AXPValidationRule[];
|
|
1061
|
+
declare function assumedValidationDisabled(disabled: AXPValidationRule['disabled'], isExpression: (value: string) => boolean): boolean;
|
|
1062
|
+
declare function resolveValidationContextPath(path: string, parentPath: string | null): string;
|
|
1063
|
+
declare function validationExpressionScope(readPath: (path: string) => unknown): AXPExpressionEvaluatorScope;
|
|
1064
|
+
declare function resolveValidationDisabledFlags(rules: readonly AXPValidationRule[], isExpression: (value: string) => boolean, evaluate: (expression: string) => Promise<unknown>): Promise<boolean[]>;
|
|
1065
|
+
declare function isRequiredRuleActive(disabledSources: readonly (boolean | string | undefined)[], isExpression: (value: string) => boolean, evaluate: (expression: string) => Promise<unknown>): Promise<boolean>;
|
|
1066
|
+
interface RequiredStarNode {
|
|
1067
|
+
options?: Record<string, unknown> | null;
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* Live required indicator: a `required` rule counts only while its `disabled` flag is not true.
|
|
1071
|
+
* Expression `disabled` stays off until the expression resolves.
|
|
1072
|
+
*/
|
|
1073
|
+
declare function syncRequiredIndicator(args: {
|
|
1074
|
+
nodes: () => readonly RequiredStarNode[];
|
|
1075
|
+
trackContext: () => unknown;
|
|
1076
|
+
isExpression: (value: string) => boolean;
|
|
1077
|
+
evaluate: (expression: string) => Promise<unknown>;
|
|
1078
|
+
}): Signal<boolean>;
|
|
1079
|
+
|
|
1031
1080
|
/**
|
|
1032
1081
|
* Standalone cell renderer using the same column-mode widget pipeline as {@link AXPWidgetColumnRendererComponent}.
|
|
1033
1082
|
*/
|
|
@@ -1145,6 +1194,7 @@ declare const AXP_ICON_PROPERTY: AXPWidgetProperty;
|
|
|
1145
1194
|
declare const AXP_IS_LOADING_PROPERTY: AXPWidgetProperty;
|
|
1146
1195
|
declare const AXP_HAS_CLEAR_BUTTON_PROPERTY: AXPWidgetProperty;
|
|
1147
1196
|
declare const AXP_ALLOW_SEARCH_PROPERTY: AXPWidgetProperty;
|
|
1197
|
+
declare const AXP_PREFETCH_PROPERTY: AXPWidgetProperty;
|
|
1148
1198
|
declare const AXP_HAS_COPY_ICON_PROPERTY: AXPWidgetProperty;
|
|
1149
1199
|
declare const AXP_HAS_EYE_ICON_PROPERTY: AXPWidgetProperty;
|
|
1150
1200
|
declare const AXP_DOWNLOADABLE_PROPERTY: AXPWidgetProperty;
|
|
@@ -1302,5 +1352,5 @@ declare function createReadonlyLocalDataSourceStore(read: () => readonly AXPLoca
|
|
|
1302
1352
|
*/
|
|
1303
1353
|
declare function createWritableLocalDataSourceStore(initial?: readonly AXPLocalDataSource[]): AXPLocalDataSourceStore;
|
|
1304
1354
|
|
|
1305
|
-
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnTruncatedTextComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPPropertyEditorHelper, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPTableItemOpsBaseLayoutWidgetComponent, AXPValueWidgetComponent, AXPWidgetColumnCellComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetCoreElement, AXPWidgetCoreModule, AXPWidgetCoreService, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetSerializationHelper, 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_EMPTY_SPACING_BOX, 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_PROFILE, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LAYOUT_TABLE_PROPERTY_GROUP, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_LOCAL_DATA_SOURCES_OPTION, AXP_LOCAL_DATA_SOURCE_PREFIX, AXP_LOCAL_DATA_SOURCE_STORE, 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_QUERY_OPTIONS_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_WIDGET_DEFINITION_PROVIDER, AXP_WIDGET_PROPERTY_GROUP, LOCAL_DATA_SOURCE_SHEET_BUFFER_ROWS, LOCAL_DATA_SOURCE_SHEET_MIN_ROWS, WIDGET_CASCADE_TRACE_NS, booleanDefaultProperty, buildLocalDataSourceListRows, buildQuerySelectorNode, buildQueryTabsNode, buildWidgetRegistryMapFromProviders, coerceGridProfile, coerceSpacingProfile, createDefaultLocalDataSourceColumns, createQueryOptionsProperty, createReadonlyLocalDataSourceStore, createWritableLocalDataSourceStore, ensureLocalDataSourceRowValues, findNonEmptyBreakpoints, isFlatSpacingBox, isLocalDataSourceRef, isLocalDataSourceRowEmpty, largeTextDefaultProperty, layoutSizeFromDevice, mapAXPPropertyToWidgetProperty, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, padLocalDataSourceSheetRows, parseLocalDataSourceId, plainTextDefaultProperty, readLocalDataSourcesFromNode, resolveWidgetModeComponent, richTextDefaultProperty, selectEditorDefaultValueProperty, selectionListEditorDefaultValueProperty, spacingBoxOrEmpty, toLocalDataSourceRef, toLocalDataSourceSheet };
|
|
1306
|
-
export type { AXPBorderBox, AXPBorderBoxString, AXPBreakpointValues, AXPBreakpoints, AXPClassMap, AXPFlexBoxString, AXPFlexItemBoxString, AXPGridBoxString, AXPGridBreakpointValues, AXPGridItemBoxString, AXPLocalDataSource, AXPLocalDataSourceColumn, AXPLocalDataSourceItem, AXPLocalDataSourcePatch, AXPLocalDataSourceSheet, AXPLocalDataSourceStore, AXPPropertyCorners, AXPPropertyEditorCornerValues, AXPPropertyEditorSideGeneric, AXPPropertyEditorSideValues, AXPPropertySides, AXPSpacingBox, AXPSpacingBoxString, AXPStyleMap, AXPWidgetCoreElementAPI, AXPWidgetCoreElementAction, AXPWidgetCoreModuleConfigs, AXPWidgetDefinitionProvider, AXPWidgetRendererDirectiveOptions, MapAXPPropertyToWidgetPropertyOptions };
|
|
1355
|
+
export { AXPBaseWidgetComponent, AXPBlockBaseLayoutWidgetComponent, AXPBoxModelLayoutWidgetComponent, AXPColumnTruncatedTextComponent, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPFlexBaseLayoutWidgetComponent, AXPFlexItemBaseLayoutWidgetComponent, AXPGridBaseLayoutWidgetComponent, AXPGridItemBaseLayoutWidgetComponent, AXPInlineBaseLayoutWidgetComponent, AXPLayoutBaseWidgetComponent, AXPPropertyEditorHelper, AXPTableBaseLayoutWidgetComponent, AXPTableItemBaseLayoutWidgetComponent, AXPTableItemOpsBaseLayoutWidgetComponent, AXPValueWidgetComponent, AXPWidgetColumnCellComponent, AXPWidgetColumnRendererComponent, AXPWidgetContainerComponent, AXPWidgetCoreElement, AXPWidgetCoreModule, AXPWidgetCoreService, AXPWidgetRegistryService, AXPWidgetRendererDirective, AXPWidgetSerializationHelper, 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_EMPTY_SPACING_BOX, 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_PROFILE, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LAYOUT_TABLE_PROPERTY_GROUP, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_LOCAL_DATA_SOURCES_OPTION, AXP_LOCAL_DATA_SOURCE_PREFIX, AXP_LOCAL_DATA_SOURCE_STORE, 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_PREFETCH_PROPERTY, AXP_QUERY_OPTIONS_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_WIDGET_DEFINITION_PROVIDER, AXP_WIDGET_PROPERTY_GROUP, LOCAL_DATA_SOURCE_SHEET_BUFFER_ROWS, LOCAL_DATA_SOURCE_SHEET_MIN_ROWS, WIDGET_CASCADE_TRACE_NS, assumedValidationDisabled, booleanDefaultProperty, buildLocalDataSourceListRows, buildQuerySelectorNode, buildQueryTabsNode, buildWidgetRegistryMapFromProviders, coerceGridProfile, coerceSpacingProfile, collectAuthoredValidationRules, createDefaultLocalDataSourceColumns, createQueryOptionsProperty, createReadonlyLocalDataSourceStore, createWritableLocalDataSourceStore, ensureLocalDataSourceRowValues, findNonEmptyBreakpoints, isFlatSpacingBox, isLocalDataSourceRef, isLocalDataSourceRowEmpty, isRequiredRuleActive, largeTextDefaultProperty, layoutSizeFromDevice, mapAXPPropertyToWidgetProperty, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, padLocalDataSourceSheetRows, parseLocalDataSourceId, plainTextDefaultProperty, readLocalDataSourcesFromNode, resolveValidationContextPath, resolveValidationDisabledFlags, resolveWidgetExposeHydrateWrites, resolveWidgetModeComponent, richTextDefaultProperty, selectEditorDefaultValueProperty, selectionListEditorDefaultValueProperty, spacingBoxOrEmpty, syncRequiredIndicator, toLocalDataSourceRef, toLocalDataSourceSheet, validationExpressionScope };
|
|
1356
|
+
export type { AXPBorderBox, AXPBorderBoxString, AXPBreakpointValues, AXPBreakpoints, AXPClassMap, AXPFlexBoxString, AXPFlexItemBoxString, AXPGridBoxString, AXPGridBreakpointValues, AXPGridItemBoxString, AXPLocalDataSource, AXPLocalDataSourceColumn, AXPLocalDataSourceItem, AXPLocalDataSourcePatch, AXPLocalDataSourceSheet, AXPLocalDataSourceStore, AXPPropertyCorners, AXPPropertyEditorCornerValues, AXPPropertyEditorSideGeneric, AXPPropertyEditorSideValues, AXPPropertySides, AXPSpacingBox, AXPSpacingBoxString, AXPStyleMap, AXPWidgetCoreElementAPI, AXPWidgetCoreElementAction, AXPWidgetCoreModuleConfigs, AXPWidgetDefinitionProvider, AXPWidgetExposeHydrateWrite, AXPWidgetExposeMapping, AXPWidgetRendererDirectiveOptions, MapAXPPropertyToWidgetPropertyOptions, RequiredStarNode, ResolveWidgetExposeHydrateWritesInput };
|