@acorex-platform/framework-client 0.0.38 → 0.0.46
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-auth.mjs +212 -44
- package/fesm2022/acorex-platform-framework-client-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-common-common-settings.provider-CzBr0cRi.mjs → acorex-platform-framework-client-common-common-settings.provider-ChU2tvyt.mjs} +31 -1
- package/fesm2022/acorex-platform-framework-client-common-common-settings.provider-ChU2tvyt.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-common.mjs +824 -72
- package/fesm2022/acorex-platform-framework-client-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-core.mjs +212 -94
- package/fesm2022/acorex-platform-framework-client-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs +292 -11
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-Bp2cNCPO.mjs → acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-BqPaHKPM.mjs} +10 -6
- package/fesm2022/acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-BqPaHKPM.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-components-property-viewer-inline-code-editor.component-CcpUTEVQ.mjs +66 -0
- package/fesm2022/acorex-platform-framework-client-layout-components-property-viewer-inline-code-editor.component-CcpUTEVQ.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-components-resource-appointment-board.component-DCkpgsFH.mjs +195 -0
- package/fesm2022/acorex-platform-framework-client-layout-components-resource-appointment-board.component-DCkpgsFH.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs +3987 -1020
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-designer.mjs +1179 -304
- package/fesm2022/acorex-platform-framework-client-layout-designer.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CvaOWbJx.mjs → acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-Dc_NpBx6.mjs} +1619 -246
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-Dc_NpBx6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-Ds63Rt2n.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-Cx-n7ZuA.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-Ds63Rt2n.mjs.map → acorex-platform-framework-client-layout-entity-attachments-page.component-Cx-n7ZuA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-C0pohwdo.mjs → acorex-platform-framework-client-layout-entity-bulk-entity.command-BONV249y.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-C0pohwdo.mjs.map → acorex-platform-framework-client-layout-entity-bulk-entity.command-BONV249y.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-o2HuZrDN.mjs → acorex-platform-framework-client-layout-entity-gallery-page.component-uTG2nFly.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-o2HuZrDN.mjs.map → acorex-platform-framework-client-layout-entity-gallery-page.component-uTG2nFly.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs +3 -3
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs +3854 -3278
- 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-CDpzvn6z.mjs +33191 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-CDpzvn6z.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-button-widget-designer.component-BDOdcoyN.mjs → acorex-platform-framework-client-layout-widgets-button-widget-designer.component-BkrPu1wO.mjs} +8 -5
- package/fesm2022/acorex-platform-framework-client-layout-widgets-button-widget-designer.component-BkrPu1wO.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-value.util-Cb7R1qLO.mjs +45 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-value.util-Cb7R1qLO.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-widget-column.component-BL621E1r.mjs +68 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-widget-column.component-BL621E1r.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-widget-edit.component-CVsPKhNl.mjs +88 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-widget-edit.component-CVsPKhNl.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-widget-view.component-BEq4O4al.mjs +71 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-code-editor-widget-view.component-BEq4O4al.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-condition-builder-edit-popup.component-WpiEHusZ.mjs +81 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-condition-builder-edit-popup.component-WpiEHusZ.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-page-widget-designer.component-WzIiwnGC.mjs → acorex-platform-framework-client-layout-widgets-page-widget-designer.component-Cadl6guA.mjs} +41 -23
- package/fesm2022/acorex-platform-framework-client-layout-widgets-page-widget-designer.component-Cadl6guA.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-4mX8aYzA.mjs → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-Cw3NhWL8.mjs} +3 -3
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-4mX8aYzA.mjs.map → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-Cw3NhWL8.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-scheduler-picker-widget-column.component-Clb27Loe.mjs +71 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-scheduler-picker-widget-column.component-Clb27Loe.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-scheduler-picker-widget-edit.component-l7q8A-D3.mjs +111 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-scheduler-picker-widget-edit.component-l7q8A-D3.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-scheduler-picker-widget-view.component-Cc1AH09b.mjs +77 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-scheduler-picker-widget-view.component-Cc1AH09b.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-TWxthl21.mjs → acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-BCLxS3rS.mjs} +3 -3
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-TWxthl21.mjs.map → acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-BCLxS3rS.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-D6HFPmGC.mjs → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BEa-vD6O.mjs} +21 -8
- package/fesm2022/acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BEa-vD6O.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-trigger-expression-editor-popup.component-C2PGoC7r.mjs +124 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-trigger-expression-editor-popup.component-C2PGoC7r.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-triggers-widget-editor.component-DDDoPoQa.mjs +345 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets-triggers-widget-editor.component-DDDoPoQa.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +1 -31985
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-realtime.mjs +2 -1
- package/fesm2022/acorex-platform-framework-client-realtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-runtime.mjs +2 -2
- package/fesm2022/acorex-platform-framework-client-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-single-view.component-DBUwSzvg.mjs → acorex-platform-framework-client-themes-default-entity-master-single-view.component-CHLsBvBE.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-single-view.component-DBUwSzvg.mjs.map → acorex-platform-framework-client-themes-default-entity-master-single-view.component-CHLsBvBE.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs +373 -70
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-shared-settings.provider-CpsAIsxj.mjs → acorex-platform-framework-client-themes-shared-settings.provider-DIkjSTU7.mjs} +102 -1
- package/fesm2022/acorex-platform-framework-client-themes-shared-settings.provider-DIkjSTU7.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs +174 -22
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs.map +1 -1
- package/package.json +2 -2
- package/realtime/README.md +1 -1
- package/types/acorex-platform-framework-client-auth.d.ts +18 -1
- package/types/acorex-platform-framework-client-common.d.ts +204 -8
- package/types/acorex-platform-framework-client-core.d.ts +149 -114
- package/types/acorex-platform-framework-client-layout-builder.d.ts +29 -0
- package/types/acorex-platform-framework-client-layout-components.d.ts +699 -146
- package/types/acorex-platform-framework-client-layout-designer.d.ts +192 -14
- package/types/acorex-platform-framework-client-layout-entity.d.ts +155 -91
- package/types/acorex-platform-framework-client-layout-views.d.ts +16 -0
- package/types/acorex-platform-framework-client-layout-widget-core.d.ts +140 -37
- package/types/acorex-platform-framework-client-layout-widgets.d.ts +235 -117
- package/types/acorex-platform-framework-client-realtime.d.ts +16 -3
- package/types/acorex-platform-framework-client-themes-default.d.ts +62 -11
- package/types/acorex-platform-framework-client-themes-shared.d.ts +25 -2
- package/fesm2022/acorex-platform-framework-client-common-common-settings.provider-CzBr0cRi.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-Bp2cNCPO.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-BtLEUWAA.mjs +0 -77
- package/fesm2022/acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-BtLEUWAA.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CvaOWbJx.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-button-widget-designer.component-BDOdcoyN.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-page-widget-designer.component-WzIiwnGC.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-D6HFPmGC.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-shared-settings.provider-CpsAIsxj.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Type, OnInit, ViewContainerRef, ModuleWithProviders, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges, OnDestroy, DestroyRef, Provider, Injector, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as _acorex_platform_framework_shared_core from '@acorex-platform/framework-shared/core';
|
|
4
|
-
import { AXPApplicationUserReference, AXPEntityReference, AXPSystemActionType, AXPMultiLanguageString, AXPContextData, AXPOptionsData, AXPContextState, AXPContextChangeEvent, AXPContextUpdateOptions, AXPContextPatchOptions, AXPContextDefinition, AXPGridLayoutOptions, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPKeyboardShortcutDirectionBehavior, AXPKeyboardShortcutChord, AXPKeyboardShortcut, AXPResolvedKeyboardShortcut, AXPKeyboardShortcutRegistration, AXPKeyboardShortcutHelpEntry, AXPPlatformScope, AXPWidgetNode, AXPActionMenuItem } from '@acorex-platform/framework-shared/core';
|
|
4
|
+
import { AXPApplicationUserReference, AXPEntityReference, AXPSystemActionType, AXPMultiLanguageString, AXPContextData, AXPOptionsData, AXPContextState, AXPContextChangeEvent, AXPContextUpdateOptions, AXPContextPatchOptions, AXPContextDefinition, AXPGridLayoutOptions, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPKeyboardShortcutDirectionBehavior, AXPKeyboardShortcutChord, AXPKeyboardShortcut, AXPResolvedKeyboardShortcut, AXPKeyboardShortcutRegistration, AXPKeyboardShortcutHelpEntry, AXPModuleManifest, AXPPlatformScope, AXPWidgetNode, AXPActionMenuItem } from '@acorex-platform/framework-shared/core';
|
|
5
5
|
export { AXPContextCapability, AXPContextDefinition, axpContextDefinitionIsAiPrompt } from '@acorex-platform/framework-shared/core';
|
|
6
6
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
@@ -929,13 +929,21 @@ declare class AXPExpressionEvaluatorScopeProviderService {
|
|
|
929
929
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPExpressionEvaluatorScopeProviderService>;
|
|
930
930
|
}
|
|
931
931
|
|
|
932
|
+
interface AXPHookProvider<TInput = any, TOutput = TInput> {
|
|
933
|
+
key: string;
|
|
934
|
+
execute(data: TInput): Promise<TOutput> | TOutput;
|
|
935
|
+
priority?: number;
|
|
936
|
+
id?: string;
|
|
937
|
+
}
|
|
938
|
+
type AXPHookProviderToken<T> = AXPHookProvider<T> | Promise<AXPHookProvider<T>>;
|
|
939
|
+
declare const AXP_HOOK_PROVIDER: InjectionToken<AXPHookProviderToken<any>[]>;
|
|
940
|
+
|
|
932
941
|
declare class AXPHookService {
|
|
933
|
-
private readonly
|
|
942
|
+
private readonly hookProviders;
|
|
934
943
|
private readonly injector;
|
|
935
|
-
/**
|
|
936
|
-
* Resolve all providers (handle both direct providers and Promise<provider>)
|
|
937
|
-
*/
|
|
938
944
|
private resolveProviders;
|
|
945
|
+
private toHookEntries;
|
|
946
|
+
private hooksForKey;
|
|
939
947
|
/**
|
|
940
948
|
* Fire sync hooks (fire-and-forget).
|
|
941
949
|
* All providers with the given key will be executed.
|
|
@@ -1080,6 +1088,12 @@ declare class AXPKeyboardShortcutRegistry {
|
|
|
1080
1088
|
private unregister;
|
|
1081
1089
|
private ensureListener;
|
|
1082
1090
|
private readonly onDocumentKeyDown;
|
|
1091
|
+
/**
|
|
1092
|
+
* Nested widget panes (select, date picker) still own Esc.
|
|
1093
|
+
* In-dialog editors registered above Modal (e.g. spreadsheet cell edit) may consume it
|
|
1094
|
+
* so the parent popup does not close.
|
|
1095
|
+
*/
|
|
1096
|
+
private resolveInnerOverlayEscapeCandidate;
|
|
1083
1097
|
private resolveActiveCandidates;
|
|
1084
1098
|
private isRegistrationActive;
|
|
1085
1099
|
private isRtlProfile;
|
|
@@ -1325,52 +1339,121 @@ declare const OVERLAY_DETAILS_VIEW_TRACE_NS = "OVERLAY-DETAILS-VIEW";
|
|
|
1325
1339
|
/** Widget tree mount / settle polling ({@link AXPWidgetContainerComponent}). */
|
|
1326
1340
|
declare const OVERLAY_WIDGET_SETTLE_TRACE_NS = "OVERLAY-WIDGET-SETTLE";
|
|
1327
1341
|
|
|
1328
|
-
/**
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
* Business-area domain for edition modules checklist (view mode: By Domain).
|
|
1339
|
-
* Aligns with integration domain ids where applicable.
|
|
1340
|
-
*/
|
|
1341
|
-
declare const AXP_MODULE_DOMAIN: {
|
|
1342
|
-
readonly platform: "platform";
|
|
1343
|
-
readonly humanCapital: "human-capital";
|
|
1344
|
-
readonly projectManagement: "project-management";
|
|
1345
|
-
readonly assetMaintenance: "asset-maintenance";
|
|
1346
|
-
readonly workplaceSafety: "workplace-safety";
|
|
1347
|
-
readonly assessmentLearning: "assessment-learning";
|
|
1348
|
-
readonly financeCommerce: "finance-commerce";
|
|
1349
|
-
readonly customerSupplier: "customer-supplier";
|
|
1350
|
-
readonly communication: "communication";
|
|
1351
|
-
readonly ai: "ai";
|
|
1352
|
-
readonly contentDocuments: "content-documents";
|
|
1353
|
-
readonly data: "data";
|
|
1354
|
-
readonly operations: "operations";
|
|
1355
|
-
readonly weather: "weather";
|
|
1356
|
-
readonly sourceControl: "source-control";
|
|
1357
|
-
readonly general: "general";
|
|
1358
|
-
};
|
|
1359
|
-
type AXPModuleDomain = (typeof AXP_MODULE_DOMAIN)[keyof typeof AXP_MODULE_DOMAIN];
|
|
1360
|
-
/**
|
|
1361
|
-
* Resolves module packaging type with fallbacks when unset on the manifest.
|
|
1362
|
-
*/
|
|
1363
|
-
declare function resolveModuleType(manifest: {
|
|
1364
|
-
type?: AXPModuleType;
|
|
1342
|
+
/** Who owns the live page snapshot. Higher wins when several pages are registered. */
|
|
1343
|
+
declare enum AXPPageContextPriority {
|
|
1344
|
+
Page = 10,
|
|
1345
|
+
Overlay = 100
|
|
1346
|
+
}
|
|
1347
|
+
type AXPPageContextKind = 'entity-list' | 'layout-designer' | 'none';
|
|
1348
|
+
type AXPPageContextStatus = 'ready' | 'loading' | 'empty';
|
|
1349
|
+
interface AXPPageContextActionParam {
|
|
1350
|
+
name: string;
|
|
1365
1351
|
required?: boolean;
|
|
1352
|
+
description?: string;
|
|
1353
|
+
}
|
|
1354
|
+
interface AXPPageContextAction {
|
|
1355
|
+
id: string;
|
|
1356
|
+
title: string;
|
|
1357
|
+
params: AXPPageContextActionParam[];
|
|
1358
|
+
}
|
|
1359
|
+
interface AXPPageContextEntityRef {
|
|
1360
|
+
fullName: string;
|
|
1361
|
+
title: string;
|
|
1362
|
+
}
|
|
1363
|
+
interface AXPPageContextNamedRef {
|
|
1366
1364
|
name: string;
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1365
|
+
title: string;
|
|
1366
|
+
}
|
|
1367
|
+
interface AXPPageContextFilter {
|
|
1368
|
+
field: string;
|
|
1369
|
+
operatorType?: string;
|
|
1370
|
+
value?: unknown;
|
|
1371
|
+
title?: string;
|
|
1372
|
+
hidden?: boolean;
|
|
1373
|
+
}
|
|
1374
|
+
interface AXPPageContextFilterField {
|
|
1375
|
+
field: string;
|
|
1376
|
+
title: string;
|
|
1377
|
+
}
|
|
1378
|
+
/** Selected list row shown to contextual assist (id plus a display title). */
|
|
1379
|
+
interface AXPPageContextSelectedRecord {
|
|
1380
|
+
id: string;
|
|
1381
|
+
title: string;
|
|
1382
|
+
}
|
|
1383
|
+
interface AXPPageContextAppliedQuery {
|
|
1384
|
+
skip?: number;
|
|
1385
|
+
take?: number;
|
|
1386
|
+
sort?: Array<{
|
|
1387
|
+
field: string;
|
|
1388
|
+
dir?: string;
|
|
1389
|
+
}>;
|
|
1390
|
+
filter?: AXPPageContextFilter[];
|
|
1391
|
+
}
|
|
1392
|
+
/** Compact widget pointer on a layout-designer canvas (name / type / path). */
|
|
1393
|
+
interface AXPPageContextOutlineItem {
|
|
1394
|
+
name: string;
|
|
1395
|
+
type: string;
|
|
1396
|
+
path: string;
|
|
1397
|
+
parentName?: string;
|
|
1398
|
+
label?: string;
|
|
1399
|
+
}
|
|
1400
|
+
interface AXPPageContextSnapshot {
|
|
1401
|
+
kind: AXPPageContextKind;
|
|
1402
|
+
title: string;
|
|
1403
|
+
status: AXPPageContextStatus;
|
|
1404
|
+
entity?: AXPPageContextEntityRef;
|
|
1405
|
+
view?: AXPPageContextNamedRef;
|
|
1406
|
+
views?: AXPPageContextNamedRef[];
|
|
1407
|
+
filters?: AXPPageContextFilter[];
|
|
1408
|
+
filterFields?: AXPPageContextFilterField[];
|
|
1409
|
+
quickSearch?: string;
|
|
1410
|
+
selectedIds?: string[];
|
|
1411
|
+
/** Selected rows with display titles. Parallel to {@link selectedIds} when titles are known. */
|
|
1412
|
+
selectedRecords?: AXPPageContextSelectedRecord[];
|
|
1413
|
+
columns?: AXPPageContextNamedRef[];
|
|
1414
|
+
previewTitles?: string[];
|
|
1415
|
+
appliedQuery?: AXPPageContextAppliedQuery;
|
|
1416
|
+
/** Live designer widget index when {@link kind} is `layout-designer`. */
|
|
1417
|
+
outline?: AXPPageContextOutlineItem[];
|
|
1418
|
+
actions: AXPPageContextAction[];
|
|
1419
|
+
}
|
|
1420
|
+
interface AXPPageContextRunResult {
|
|
1421
|
+
success: boolean;
|
|
1422
|
+
message?: string;
|
|
1423
|
+
snapshot: AXPPageContextSnapshot;
|
|
1424
|
+
}
|
|
1425
|
+
type AXPPageContextActionHandler = (actionId: string, args: Record<string, unknown>) => Promise<AXPPageContextRunResult>;
|
|
1426
|
+
type AXPPageContextSnapshotGetter = () => AXPPageContextSnapshot;
|
|
1427
|
+
/** Empty snapshot when no page has registered. */
|
|
1428
|
+
declare const AXP_PAGE_CONTEXT_EMPTY_SNAPSHOT: AXPPageContextSnapshot;
|
|
1429
|
+
|
|
1430
|
+
interface AXPPageContextRegisterOptions {
|
|
1431
|
+
/** Auto-unregister when the owner is destroyed. */
|
|
1432
|
+
owner: DestroyRef;
|
|
1433
|
+
/** Unique per page instance (do not reuse `entity-list` across app tabs). */
|
|
1434
|
+
id: string;
|
|
1435
|
+
priority?: AXPPageContextPriority | number;
|
|
1436
|
+
getSnapshot: AXPPageContextSnapshotGetter;
|
|
1437
|
+
run: AXPPageContextActionHandler;
|
|
1438
|
+
}
|
|
1439
|
+
declare class AXPPageContextRegistry {
|
|
1440
|
+
private readonly registrations;
|
|
1441
|
+
private registrationSeq;
|
|
1442
|
+
/**
|
|
1443
|
+
* Registers a live page snapshot. Unregisters automatically when `owner` is destroyed.
|
|
1444
|
+
* Same `id` replaces the previous entry (same instance re-init). Distinct ids stack for app tabs.
|
|
1445
|
+
*/
|
|
1446
|
+
register(options: AXPPageContextRegisterOptions): void;
|
|
1447
|
+
/** Marks a registration as the current page among the same priority (app-tab focus). */
|
|
1448
|
+
activate(id: string): void;
|
|
1449
|
+
getSnapshot(): AXPPageContextSnapshot;
|
|
1450
|
+
runAction(actionId: string, args?: Record<string, unknown>): Promise<AXPPageContextRunResult>;
|
|
1451
|
+
private unregister;
|
|
1452
|
+
private peekRegistration;
|
|
1453
|
+
private safeSnapshot;
|
|
1454
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPageContextRegistry, never>;
|
|
1455
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPPageContextRegistry>;
|
|
1456
|
+
}
|
|
1374
1457
|
|
|
1375
1458
|
/**
|
|
1376
1459
|
* Feature definition in module manifest.
|
|
@@ -1413,65 +1496,6 @@ interface AXPModuleFeatureDefinitionWithKey extends AXPModuleFeatureDefinition {
|
|
|
1413
1496
|
*/
|
|
1414
1497
|
key: string;
|
|
1415
1498
|
}
|
|
1416
|
-
/**
|
|
1417
|
-
* Module manifest structure.
|
|
1418
|
-
* Defines module metadata and dependencies.
|
|
1419
|
-
* Features are provided via AXP_FEATURE_DEFINITION_PROVIDER token.
|
|
1420
|
-
*/
|
|
1421
|
-
interface AXPModuleManifest {
|
|
1422
|
-
/**
|
|
1423
|
-
* Module name (must match RootConfig.module.name)
|
|
1424
|
-
*/
|
|
1425
|
-
name: string;
|
|
1426
|
-
/**
|
|
1427
|
-
* Module version
|
|
1428
|
-
*/
|
|
1429
|
-
version: string;
|
|
1430
|
-
/**
|
|
1431
|
-
* Module title (can reference const.ts or be translation key)
|
|
1432
|
-
*/
|
|
1433
|
-
title: string;
|
|
1434
|
-
/**
|
|
1435
|
-
* Module description (optional)
|
|
1436
|
-
*/
|
|
1437
|
-
description?: string;
|
|
1438
|
-
/**
|
|
1439
|
-
* Module icon (can reference const.ts)
|
|
1440
|
-
*/
|
|
1441
|
-
icon?: string;
|
|
1442
|
-
/**
|
|
1443
|
-
* i18n scope name (can reference const.ts)
|
|
1444
|
-
*/
|
|
1445
|
-
i18n?: string;
|
|
1446
|
-
/**
|
|
1447
|
-
* Module dependencies.
|
|
1448
|
-
* Simple array format: module names (e.g., "MeasurementCore") or feature keys (e.g., "DataManagement.MetaDataDefinitions").
|
|
1449
|
-
* Features use ModuleName.FeatureKey format (dot separator).
|
|
1450
|
-
*/
|
|
1451
|
-
dependencies?: string[];
|
|
1452
|
-
/**
|
|
1453
|
-
* Whether this module is required (always enabled, cannot be disabled).
|
|
1454
|
-
* Required modules like 'auth' and 'common' are always available.
|
|
1455
|
-
*/
|
|
1456
|
-
required?: boolean;
|
|
1457
|
-
/**
|
|
1458
|
-
* Packaging kind for edition modules UI grouping (By Type).
|
|
1459
|
-
* Falls back via {@link resolveModuleType} when omitted.
|
|
1460
|
-
*/
|
|
1461
|
-
type?: AXPModuleType;
|
|
1462
|
-
/**
|
|
1463
|
-
* Business-area domain id for edition modules UI grouping (By Domain).
|
|
1464
|
-
* Use values from {@link AXP_MODULE_DOMAIN} (or matching integration domain ids).
|
|
1465
|
-
* Falls back via {@link resolveModuleDomain} when omitted.
|
|
1466
|
-
*/
|
|
1467
|
-
domain?: string;
|
|
1468
|
-
/**
|
|
1469
|
-
* Additional metadata
|
|
1470
|
-
*/
|
|
1471
|
-
metadata?: {
|
|
1472
|
-
[key: string]: any;
|
|
1473
|
-
};
|
|
1474
|
-
}
|
|
1475
1499
|
/**
|
|
1476
1500
|
* Full feature name with module prefix.
|
|
1477
1501
|
* Format: ModuleName.FeatureKey
|
|
@@ -1507,14 +1531,18 @@ declare class AXPModuleManifestRegistry {
|
|
|
1507
1531
|
private isInitialized;
|
|
1508
1532
|
/**
|
|
1509
1533
|
* Initialize registry by loading all manifest providers.
|
|
1510
|
-
*
|
|
1511
|
-
*
|
|
1534
|
+
* An empty result is not kept: startup runs before login, and the ModuleDefinition
|
|
1535
|
+
* catalog is empty until a session exists. The next call (feature load after login) retries.
|
|
1512
1536
|
*/
|
|
1513
1537
|
initialize(): Promise<void>;
|
|
1514
1538
|
/**
|
|
1515
1539
|
* Internal initialization logic.
|
|
1516
1540
|
*/
|
|
1517
1541
|
private _doInitialize;
|
|
1542
|
+
/**
|
|
1543
|
+
* Resolves `useValue` manifests and async catalog factories (Promise / array of rows).
|
|
1544
|
+
*/
|
|
1545
|
+
private resolveInjectedManifests;
|
|
1518
1546
|
/**
|
|
1519
1547
|
* Register a module manifest.
|
|
1520
1548
|
*/
|
|
@@ -1601,13 +1629,14 @@ declare const AXP_APP_STARTUP_PRIORITY: {
|
|
|
1601
1629
|
readonly conversationSessionSync: 4;
|
|
1602
1630
|
readonly regionalSettings: 5;
|
|
1603
1631
|
readonly terms: 6;
|
|
1632
|
+
/** After settings: apply User → Tenant → Platform theme before first paint. */
|
|
1633
|
+
readonly layoutTheme: 3.6;
|
|
1604
1634
|
/** Topic handlers / bridges that must exist before the socket connects. */
|
|
1605
1635
|
readonly realtimeHandlers: 40;
|
|
1606
1636
|
/** Long-lived subscriptions that listen to connection/bus streams. */
|
|
1607
1637
|
readonly realtimeSubscriptions: 45;
|
|
1608
1638
|
readonly realtimeConnect: 50;
|
|
1609
1639
|
readonly activityInsight: 80;
|
|
1610
|
-
readonly layoutTheme: 100;
|
|
1611
1640
|
};
|
|
1612
1641
|
/** Register one startup task via the multi token (preferred over APP_INITIALIZER). */
|
|
1613
1642
|
declare function provideAppStartUpTask(factory: () => AXPStartUpTask): Provider;
|
|
@@ -1704,11 +1733,17 @@ interface AXPISessionService {
|
|
|
1704
1733
|
* Implementation: @acorex-platform/framework-client/auth
|
|
1705
1734
|
*/
|
|
1706
1735
|
declare const AXP_SESSION_SERVICE: InjectionToken<AXPISessionService>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Static manifest, a list, a promise, or a loader called on each registry init.
|
|
1738
|
+
* A loader is required for API catalogs: Angular caches `useFactory` results, so a
|
|
1739
|
+
* one-shot promise would keep an empty pre-login response for the whole SPA session.
|
|
1740
|
+
*/
|
|
1741
|
+
type AXPModuleManifestProviderEntry = AXPModuleManifest | AXPModuleManifest[] | Promise<AXPModuleManifest | AXPModuleManifest[] | null> | (() => Promise<AXPModuleManifest | AXPModuleManifest[] | null>);
|
|
1707
1742
|
/**
|
|
1708
1743
|
* Injection token for module manifest providers.
|
|
1709
1744
|
* Modules register their manifest providers using this token.
|
|
1710
1745
|
*/
|
|
1711
|
-
declare const AXP_MODULE_MANIFEST_PROVIDER: InjectionToken<
|
|
1746
|
+
declare const AXP_MODULE_MANIFEST_PROVIDER: InjectionToken<AXPModuleManifestProviderEntry>;
|
|
1712
1747
|
|
|
1713
1748
|
interface AXPIdleSchedulerWaitOptions {
|
|
1714
1749
|
/** Max wait before running anyway (ms). Default 2000. */
|
|
@@ -2129,5 +2164,5 @@ declare function createProviderWithInjectionContext<T>(injector: Injector, loade
|
|
|
2129
2164
|
*/
|
|
2130
2165
|
declare function provideLazyProvider<TProvider>(token: InjectionToken<any>, loader: () => Promise<new (injector?: Injector) => TProvider>, multi?: boolean): Provider;
|
|
2131
2166
|
|
|
2132
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextDefinitionProviderService, AXPContextEvalFactory, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDblClickDirective, AXPDebugService, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPEntityBroadcastService, AXPEntityLogoRegistrationService, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPIdleSchedulerService, AXPImageUrlLogoConfig, AXPKeyboardShortcutRegistry, AXPLogoComponent, AXPLogoRegistryService, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPScreenSize, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_APP_STARTUP_PRIORITY, AXP_APP_STARTUP_TASK, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_PROVIDER, AXP_CONTEXT_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_ENTITY_LOGO_FALLBACK_RESOLVER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_LOGO_IMAGE_SRC_RESOLVER, AXP_LOGO_PROVIDER, AXP_LOGO_THEME_RESOLVER,
|
|
2133
|
-
export type { AXPActivityLog, AXPActivityLogChange, AXPBroadcastPublishPolicy, AXPBroadcastPublishStrategy, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, AXPContextEvalScope, AXPDebugData, AXPDebugDataFactory, AXPDebugDataInput, AXPDialogActionOptions, AXPDialogActionShortcut, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityLogoFallbackResolver, AXPEntityLogoSource, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPISessionService, AXPIdleSchedulerEnqueueOptions, AXPIdleSchedulerWaitOptions, AXPKeyboardShortcutFormatOptions, AXPKeyboardShortcutRegisterOptions, AXPLogoAppearance, AXPLogoFormat, AXPLogoImageSrcResolver, AXPLogoProvider, AXPLogoRequest, AXPLogoResolvedView, AXPLogoThemeResolver, AXPLogoView,
|
|
2167
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextDefinitionProviderService, AXPContextEvalFactory, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDblClickDirective, AXPDebugService, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPEntityBroadcastService, AXPEntityLogoRegistrationService, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPIdleSchedulerService, AXPImageUrlLogoConfig, AXPKeyboardShortcutRegistry, AXPLogoComponent, AXPLogoRegistryService, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPPageContextPriority, AXPPageContextRegistry, AXPScreenSize, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_APP_STARTUP_PRIORITY, AXP_APP_STARTUP_TASK, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_PROVIDER, AXP_CONTEXT_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_ENTITY_LOGO_FALLBACK_RESOLVER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_HOOK_PROVIDER, AXP_LOGO_IMAGE_SRC_RESOLVER, AXP_LOGO_PROVIDER, AXP_LOGO_THEME_RESOLVER, AXP_MODULE_MANIFEST_PROVIDER, AXP_PAGE_CONTEXT_EMPTY_SNAPSHOT, AXP_PLATFORM_LOGO_KEY, AXP_SESSION_SERVICE, AXP_SETTINGS_DEFINITION_DIALOG_OPENER, AXP_TAG_PROVIDER, AX_OVERLAY_CONTAINER_SELECTOR, AX_OVERLAY_PANE_SELECTOR, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS, FORM_DIRTY_TRACE_NS, OVERLAY_DETAILS_VIEW_TRACE_NS, OVERLAY_LAYOUT_TRACE_NS, OVERLAY_ROOT_LAYOUT_TRACE_NS, OVERLAY_WIDGET_SETTLE_TRACE_NS, applyContextEvalPipes, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, axpApplicationLogoKey, axpExtractLogoUrl, axpSsoLogoKey, axpTenantLogoKey, chordToKbdItemKeys, contextEvalWithPipes, createCommandExpressionScope, createProviderWithInjectionContext, defaultColumnWidthProvider, ensureRuntimeSurfaceClass, ensureRuntimeSurfaceClasses, findOverlayContainerAncestor, formatKeyboardShortcutChord, formatKeyboardShortcutChords, getNestedVisibleOverlayPanes, getPrimaryKeyboardShortcutChord, getTopVisibleOverlayContainer, getVisibleAnchoredOverlayPanes, getVisibleOverlayContainers, hasForegroundOverlayLayer, instantiateWithInjectionContext, isDialogShortcutAllowedInEditableField, isHorizontalDirectionalShortcutKey, isKeyboardTargetInsideEditableField, isMacPlatform, isVisibleOverlayElement, matchesDialogActionShortcut, matchesKeyboardShortcutChord, mirrorHorizontalDirectionalKey, normalizeContextEvalPipes, normalizeDialogActionShortcutChord, normalizeExpressionTemplate, normalizeKeyboardShortcut, normalizeKeyboardShortcuts, objectKeyValueTransforms, parseDialogActionShortcut, parseKeyboardShortcutChord, provideAppStartUpTask, provideLazyProvider, registerPopupFooterKeyboardShortcuts, resolveCommandExpressionData, resolveConfiguredFooterActionShortcuts, resolveDialogActionShortcuts, resolveDisplayShortcutChord, resolveEffectiveDirectionBehavior, resolveSemanticDirectionalKey, setupPopupFooterKeyboardShortcuts, shouldDeferEscapeToOpenOverlay, shouldTriggerDialogActionShortcut, toExpressionRecord };
|
|
2168
|
+
export type { AXPActivityLog, AXPActivityLogChange, AXPBroadcastPublishPolicy, AXPBroadcastPublishStrategy, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, AXPContextEvalScope, AXPDebugData, AXPDebugDataFactory, AXPDebugDataInput, AXPDialogActionOptions, AXPDialogActionShortcut, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityLogoFallbackResolver, AXPEntityLogoSource, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPHookProvider, AXPHookProviderToken, AXPISessionService, AXPIdleSchedulerEnqueueOptions, AXPIdleSchedulerWaitOptions, AXPKeyboardShortcutFormatOptions, AXPKeyboardShortcutRegisterOptions, AXPLogoAppearance, AXPLogoFormat, AXPLogoImageSrcResolver, AXPLogoProvider, AXPLogoRequest, AXPLogoResolvedView, AXPLogoThemeResolver, AXPLogoView, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifestProviderEntry, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOpenSettingsDefinitionDialogConfig, AXPPageContextAction, AXPPageContextActionHandler, AXPPageContextActionParam, AXPPageContextAppliedQuery, AXPPageContextEntityRef, AXPPageContextFilter, AXPPageContextFilterField, AXPPageContextKind, AXPPageContextNamedRef, AXPPageContextOutlineItem, AXPPageContextRegisterOptions, AXPPageContextRunResult, AXPPageContextSelectedRecord, AXPPageContextSnapshot, AXPPageContextSnapshotGetter, AXPPageContextStatus, AXPPopupFooterKeyboardShortcutsOptions, AXPPopupFooterKeyboardShortcutsSetupConfig, AXPPopupFooterShortcutAction, AXPSettingsDefinitionDialogOpenRequest, AXPSettingsDefinitionDialogOpener, AXPSettingsDefinitionDialogScope, AXPSettingsDefinitionDialogSection, AXPSettingsDefinitionDialogSetting, AXPSettingsDefinitionDialogSize, AXPStartUpTask, AXPTag, AXPTagFilterOptions, AXPValueTransformerFunction, AXPValueTransformerFunctions, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|
|
@@ -274,6 +274,8 @@ interface AXPDialogContainerOptions extends LayoutWidgetOptions {
|
|
|
274
274
|
message?: string;
|
|
275
275
|
size?: AXPopupSizeType;
|
|
276
276
|
closeButton?: boolean;
|
|
277
|
+
/** Header drag. Defaults to true when the dialog opens. */
|
|
278
|
+
draggable?: boolean;
|
|
277
279
|
context?: any;
|
|
278
280
|
metadata?: AXPMetaData;
|
|
279
281
|
/**
|
|
@@ -640,6 +642,7 @@ interface IDialogBuilder<T = AXPDialogRef> {
|
|
|
640
642
|
setMessage(message?: string): IDialogBuilder<T>;
|
|
641
643
|
setSize(size: AXPopupSizeType): IDialogBuilder<T>;
|
|
642
644
|
setCloseButton(closeButton: boolean): IDialogBuilder<T>;
|
|
645
|
+
setDraggable(draggable: boolean): IDialogBuilder<T>;
|
|
643
646
|
setContext(context: any): IDialogBuilder<T>;
|
|
644
647
|
content(delegate: (layoutBuilder: IFlexContainerBuilder) => void): IDialogBuilder<T>;
|
|
645
648
|
setActions(delegate?: (actions: IActionBuilder) => void): IDialogBuilder<T>;
|
|
@@ -995,6 +998,9 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
995
998
|
private readonly document;
|
|
996
999
|
private readonly host;
|
|
997
1000
|
private readonly shortcutRegistry;
|
|
1001
|
+
private readonly loadingDialog;
|
|
1002
|
+
private readonly widgetRegistry;
|
|
1003
|
+
private readonly debug;
|
|
998
1004
|
private dialogResult?;
|
|
999
1005
|
/** Ensures `show()` resolves once when the dialog closes (footer action or header close). */
|
|
1000
1006
|
private callbackInvoked;
|
|
@@ -1004,6 +1010,16 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
1004
1010
|
private skipNextOnClosingDirtyCheck;
|
|
1005
1011
|
/** Blocks re-entrant {@link onClosing} while the first close gate is still resolving. */
|
|
1006
1012
|
private closeGateInProgress;
|
|
1013
|
+
/** Loading dialog shown while the popup shell is held hidden. */
|
|
1014
|
+
private revealLoading?;
|
|
1015
|
+
/** Deferred open of the loading dialog when the tree is predicted to be fast. */
|
|
1016
|
+
private revealLoadingTimer?;
|
|
1017
|
+
/** Predicted first-paint cost from the widget tree, used for the loading decision and debug trace. */
|
|
1018
|
+
private estimatedRenderMs;
|
|
1019
|
+
/** `performance.now()` at `ngOnInit`, for estimated-vs-measured traces. */
|
|
1020
|
+
private revealStartedAt;
|
|
1021
|
+
/** Keeps the reveal pipeline to a single run (widget debounce and fallback timer both call it). */
|
|
1022
|
+
private revealRequested;
|
|
1007
1023
|
private readonly destroyRef;
|
|
1008
1024
|
context: i0.WritableSignal<any>;
|
|
1009
1025
|
callBack: (result: unknown) => void;
|
|
@@ -1011,6 +1027,7 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
1011
1027
|
private isDialogLoading;
|
|
1012
1028
|
footerPrefix: i0.WritableSignal<AXPWidgetCoreElementAction[]>;
|
|
1013
1029
|
footerSuffix: i0.WritableSignal<AXPWidgetCoreElementAction[]>;
|
|
1030
|
+
protected readonly hasDefaultFooterActions: i0.Signal<boolean>;
|
|
1014
1031
|
/**
|
|
1015
1032
|
* Correlate layout context snapshots for distributed hooks (`layout-builder.dialog.context-changed`).
|
|
1016
1033
|
*/
|
|
@@ -1070,6 +1087,18 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
1070
1087
|
}): Promise<void>;
|
|
1071
1088
|
private footerActionsEvalSeq;
|
|
1072
1089
|
private aggregateAndEvaluateActions;
|
|
1090
|
+
/**
|
|
1091
|
+
* AX popup lifts `:scope > ax-footer` once after first paint. Widget footer
|
|
1092
|
+
* actions can appear later — move the footer into chrome when it is created.
|
|
1093
|
+
*/
|
|
1094
|
+
private scheduleRelocateFooterToPopupChrome;
|
|
1095
|
+
/**
|
|
1096
|
+
* The popup box is on screen before widgets and footer chrome are laid out, so it is held
|
|
1097
|
+
* hidden by the reveal panel class. Wait for the shell to stop resizing, then fade it in.
|
|
1098
|
+
*/
|
|
1099
|
+
private revealWhenLayoutStable;
|
|
1100
|
+
private openRevealLoading;
|
|
1101
|
+
private closeRevealLoading;
|
|
1073
1102
|
private collectWidgetActions;
|
|
1074
1103
|
private collectDialogActionsFromConfig;
|
|
1075
1104
|
private evaluatePredicates;
|