@acorex-platform/framework-client 0.0.18 → 0.0.20
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 +872 -314
- package/fesm2022/acorex-platform-framework-client-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-common-common-settings.provider-Euotv9l0.mjs → acorex-platform-framework-client-common-common-settings.provider-CLm2BVk-.mjs} +88 -5
- package/fesm2022/acorex-platform-framework-client-common-common-settings.provider-CLm2BVk-.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-common.mjs +2666 -693
- package/fesm2022/acorex-platform-framework-client-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-core.mjs +685 -721
- package/fesm2022/acorex-platform-framework-client-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-domain.mjs +16 -16
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs +124 -72
- 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-CjnQ9hAJ.mjs → acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-oE8CeLE8.mjs} +8 -6
- package/fesm2022/{acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-CjnQ9hAJ.mjs.map → acorex-platform-framework-client-layout-components-binding-expression-editor-popup.component-oE8CeLE8.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-fFen8w8M.mjs → acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-BtLEUWAA.mjs} +4 -4
- package/fesm2022/{acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-fFen8w8M.mjs.map → acorex-platform-framework-client-layout-components-file-provider-picker.popup.component-BtLEUWAA.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs +2988 -857
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-designer.mjs +277 -185
- 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-BXOMs6oD.mjs +29184 -0
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-BXOMs6oD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-BzUM-JMC.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-DCK-qb-F.mjs} +34 -20
- package/fesm2022/acorex-platform-framework-client-layout-entity-attachments-page.component-DCK-qb-F.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-entity-bulk-entity.command-Cs3agnpF.mjs +162 -0
- package/fesm2022/acorex-platform-framework-client-layout-entity-bulk-entity.command-Cs3agnpF.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-file-list-popup.component-Ci_CTFtq.mjs → acorex-platform-framework-client-layout-entity-file-list-popup.component-p0hxDb0W.mjs} +31 -19
- package/fesm2022/acorex-platform-framework-client-layout-entity-file-list-popup.component-p0hxDb0W.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-DmiB__JR.mjs → acorex-platform-framework-client-layout-entity-gallery-page.component-DYV9YPyw.mjs} +30 -18
- package/fesm2022/acorex-platform-framework-client-layout-entity-gallery-page.component-DYV9YPyw.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +2 -27090
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs +382 -154
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs +646 -280
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-button-widget-designer.component-CIwpAXbL.mjs → acorex-platform-framework-client-layout-widgets-button-widget-designer.component-BiWerYcu.mjs} +16 -10
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-button-widget-designer.component-CIwpAXbL.mjs.map → acorex-platform-framework-client-layout-widgets-button-widget-designer.component-BiWerYcu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-image-preview.popup-CazpERbX.mjs → acorex-platform-framework-client-layout-widgets-image-preview.popup-BOrrMm3U.mjs} +9 -8
- package/fesm2022/acorex-platform-framework-client-layout-widgets-image-preview.popup-BOrrMm3U.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-page-widget-designer.component-DKkJi40s.mjs → acorex-platform-framework-client-layout-widgets-page-widget-designer.component-WzIiwnGC.mjs} +20 -12
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-page-widget-designer.component-DKkJi40s.mjs.map → acorex-platform-framework-client-layout-widgets-page-widget-designer.component-WzIiwnGC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DtYZfA79.mjs → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-3CO4xJB3.mjs} +32 -18
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DtYZfA79.mjs.map → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-3CO4xJB3.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-nMUtxAyy.mjs → acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-CRST84ou.mjs} +8 -7
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-nMUtxAyy.mjs.map → acorex-platform-framework-client-layout-widgets-tabular-data-edit-popup.component-CRST84ou.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-DvUSZ4hJ.mjs → acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-FjtSRxIX.mjs} +4 -4
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-DvUSZ4hJ.mjs.map → acorex-platform-framework-client-layout-widgets-tabular-data-view-popup.component-FjtSRxIX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BihIfkZW.mjs → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-D6HFPmGC.mjs} +10 -8
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BihIfkZW.mjs.map → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-D6HFPmGC.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +4868 -2548
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-native.mjs +7 -7
- package/fesm2022/acorex-platform-framework-client-realtime-set-presence-availability.command-CetlUjnM.mjs +29 -0
- package/fesm2022/acorex-platform-framework-client-realtime-set-presence-availability.command-CetlUjnM.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-realtime.mjs +463 -26
- package/fesm2022/acorex-platform-framework-client-realtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-runtime.mjs +300 -137
- package/fesm2022/acorex-platform-framework-client-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-create-view.component-QIFX11dh.mjs → acorex-platform-framework-client-themes-default-entity-master-create-view.component-yeftgJ_K.mjs} +10 -7
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-create-view.component-QIFX11dh.mjs.map → acorex-platform-framework-client-themes-default-entity-master-create-view.component-yeftgJ_K.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BBdellyL.mjs → acorex-platform-framework-client-themes-default-entity-master-modify-view.component-DWE3OWGm.mjs} +10 -7
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-modify-view.component-BBdellyL.mjs.map → acorex-platform-framework-client-themes-default-entity-master-modify-view.component-DWE3OWGm.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-single-view.component-CIf1VWNW.mjs → acorex-platform-framework-client-themes-default-entity-master-single-view.component-C2Abf7Lb.mjs} +21 -19
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-single-view.component-C2Abf7Lb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-themes-default-error-401.component-C_czT_JC.mjs → acorex-platform-framework-client-themes-default-error-401.component-BrTotLx1.mjs} +5 -5
- package/fesm2022/{acorex-platform-framework-client-themes-default-error-401.component-C_czT_JC.mjs.map → acorex-platform-framework-client-themes-default-error-401.component-BrTotLx1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-error-404.component-C2Wu0YtF.mjs → acorex-platform-framework-client-themes-default-error-404.component-DsC7_s59.mjs} +5 -5
- package/fesm2022/{acorex-platform-framework-client-themes-default-error-404.component-C2Wu0YtF.mjs.map → acorex-platform-framework-client-themes-default-error-404.component-DsC7_s59.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-error-offline.component-DRz-kVsT.mjs → acorex-platform-framework-client-themes-default-error-offline.component-CngiQycG.mjs} +6 -6
- package/fesm2022/acorex-platform-framework-client-themes-default-error-offline.component-CngiQycG.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs +421 -265
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-shared-icon-chooser-column.component-Ci_oH7NE.mjs → acorex-platform-framework-client-themes-shared-icon-chooser-column.component-CbZALjB5.mjs} +8 -6
- package/fesm2022/{acorex-platform-framework-client-themes-shared-icon-chooser-column.component-Ci_oH7NE.mjs.map → acorex-platform-framework-client-themes-shared-icon-chooser-column.component-CbZALjB5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-shared-icon-chooser-view.component-Lb1G2Xz7.mjs → acorex-platform-framework-client-themes-shared-icon-chooser-view.component-BRrNT6x2.mjs} +8 -6
- package/fesm2022/{acorex-platform-framework-client-themes-shared-icon-chooser-view.component-Lb1G2Xz7.mjs.map → acorex-platform-framework-client-themes-shared-icon-chooser-view.component-BRrNT6x2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-D4ubvFYf.mjs → acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-BIsQTr6B.mjs} +4 -4
- package/fesm2022/{acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-D4ubvFYf.mjs.map → acorex-platform-framework-client-themes-shared-theme-color-chooser-column.component-BIsQTr6B.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-Br8j_BF_.mjs → acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-ZclmSbt9.mjs} +16 -10
- package/fesm2022/{acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-Br8j_BF_.mjs.map → acorex-platform-framework-client-themes-shared-theme-color-chooser-view.component-ZclmSbt9.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs +538 -133
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-workflow.mjs +26 -66
- package/fesm2022/acorex-platform-framework-client-workflow.mjs.map +1 -1
- package/package.json +10 -10
- package/realtime/README.md +16 -0
- package/runtime/README.md +14 -0
- package/types/acorex-platform-framework-client-auth.d.ts +291 -52
- package/types/acorex-platform-framework-client-common.d.ts +613 -87
- package/types/acorex-platform-framework-client-core.d.ts +213 -206
- package/types/acorex-platform-framework-client-layout-builder.d.ts +14 -8
- package/types/acorex-platform-framework-client-layout-components.d.ts +392 -28
- package/types/acorex-platform-framework-client-layout-entity.d.ts +667 -417
- package/types/acorex-platform-framework-client-layout-views.d.ts +31 -11
- package/types/acorex-platform-framework-client-layout-widget-core.d.ts +66 -17
- package/types/acorex-platform-framework-client-layout-widgets.d.ts +294 -67
- package/types/acorex-platform-framework-client-realtime.d.ts +183 -6
- package/types/acorex-platform-framework-client-runtime.d.ts +134 -28
- package/types/acorex-platform-framework-client-themes-default.d.ts +9 -1
- package/types/acorex-platform-framework-client-themes-shared.d.ts +8 -2
- package/types/acorex-platform-framework-client-workflow.d.ts +11 -35
- package/fesm2022/acorex-platform-framework-client-common-common-settings.provider-Euotv9l0.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity-attachments-page.component-BzUM-JMC.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity-file-list-popup.component-Ci_CTFtq.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity-gallery-page.component-DmiB__JR.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-image-preview.popup-CazpERbX.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-single-view.component-CIf1VWNW.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-error-offline.component-DRz-kVsT.mjs.map +0 -1
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Type, OnInit, ViewContainerRef, ModuleWithProviders, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges, OnDestroy, DestroyRef, Injector, PipeTransform
|
|
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,
|
|
5
|
-
|
|
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';
|
|
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';
|
|
8
|
+
import { AXPEntityRefreshMeta, AXPEntityCreatedPayload, AXPEntityDeletedPayload, AXPEntityModifiedPayload, AXPEntityRefreshLayoutPayload, AXPEntityRefreshDataPayload } from '@acorex-platform/framework-shared/entity';
|
|
8
9
|
import { AXFormatService } from '@acorex/core/format';
|
|
9
10
|
import { AXPopupSizeType } from '@acorex/components/popup';
|
|
10
11
|
import { NavigationExtras } from '@angular/router';
|
|
12
|
+
import { AXDataSourceFilterOption, AXDataSourceQuery, AXDataSourceCallbackResult, AXDataSourceSortOption } from '@acorex/cdk/common';
|
|
11
13
|
|
|
12
14
|
interface AXPActivityLogChange {
|
|
13
15
|
type: AXPSystemActionType;
|
|
@@ -18,6 +20,11 @@ interface AXPActivityLogChange {
|
|
|
18
20
|
fieldKeyParams?: Record<string, string>;
|
|
19
21
|
/** I18n key for action (e.g. @activity-log:changes.replaced). When set with fieldKey, overrides description. */
|
|
20
22
|
actionKey?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Ready-to-display field label (already resolved / server-stamped).
|
|
25
|
+
* When set with {@link summary}, preferred over fieldKey/actionKey.
|
|
26
|
+
*/
|
|
27
|
+
fieldLabel?: string;
|
|
21
28
|
oldValue?: unknown;
|
|
22
29
|
newValue?: unknown;
|
|
23
30
|
/** Short human-readable summary for Change History (e.g. "Updated from 'X' to 'Y'"). Used when layout is present. */
|
|
@@ -107,56 +114,6 @@ declare class AXPCatalogScopeDefinitionProviderService {
|
|
|
107
114
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPCatalogScopeDefinitionProviderService>;
|
|
108
115
|
}
|
|
109
116
|
|
|
110
|
-
interface AXPDataSourceDataFieldDefinition {
|
|
111
|
-
name: string;
|
|
112
|
-
title: string;
|
|
113
|
-
datatype: string;
|
|
114
|
-
type: string;
|
|
115
|
-
options?: AXPOptionsData;
|
|
116
|
-
}
|
|
117
|
-
type AXPLazyDataSource<T = unknown> = AXPMaybePromise<AXDataSource<T>>;
|
|
118
|
-
type AXPDataSourceArray<T = unknown> = AXPMaybePromise<Array<T>>;
|
|
119
|
-
type AXPDataSourceValue<T = unknown> = AXPMaybePromise<T>;
|
|
120
|
-
type AXPDataSourceType<T = any> = AXPLazyDataSource<T> | AXPDataSourceArray<T> | AXPDataSourceValue<T>;
|
|
121
|
-
type AXPDataSourceSample<T = any> = AXPDataSourceArray<T> | AXPDataSourceValue<T>;
|
|
122
|
-
interface AXPDataSourceDefinition<T = any> {
|
|
123
|
-
name: string;
|
|
124
|
-
title: string;
|
|
125
|
-
valueField?: {
|
|
126
|
-
name: string;
|
|
127
|
-
title: string;
|
|
128
|
-
};
|
|
129
|
-
textField?: {
|
|
130
|
-
name: string;
|
|
131
|
-
title: string;
|
|
132
|
-
};
|
|
133
|
-
columns: AXPDataSourceDataFieldDefinition[];
|
|
134
|
-
filters: AXPFilterDefinition[];
|
|
135
|
-
samples?: AXPDataSourceSample<T>;
|
|
136
|
-
visible?: boolean;
|
|
137
|
-
source: () => AXPDataSourceType<T>;
|
|
138
|
-
}
|
|
139
|
-
interface AXPDataSourceDefinitionProvider {
|
|
140
|
-
items(): Promise<AXPDataSourceDefinition[]>;
|
|
141
|
-
}
|
|
142
|
-
declare const AXP_DATASOURCE_DEFINITION_PROVIDER: InjectionToken<AXPDataSourceDefinitionProvider[]>;
|
|
143
|
-
declare class AXPDataSourceDefinitionProviderService implements AXPDataSourceDefinitionProvider {
|
|
144
|
-
private providers;
|
|
145
|
-
items(): Promise<AXPDataSourceDefinition[]>;
|
|
146
|
-
get<T = any>(name: string): Promise<AXPDataSourceDefinition<T> | undefined>;
|
|
147
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDataSourceDefinitionProviderService, never>;
|
|
148
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDataSourceDefinitionProviderService>;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Registered catalog scopes for select / selection-list widgets via {@link AXPPlatformCoreDataSourceKeys.CatalogScopes}.
|
|
153
|
-
*/
|
|
154
|
-
declare class AXPCatalogScopeDefinitionsDataSourceDefinition implements AXPDataSourceDefinitionProvider {
|
|
155
|
-
private readonly catalogScopeRegistry;
|
|
156
|
-
items(): Promise<AXPDataSourceDefinition[]>;
|
|
157
|
-
private readTargetFilter;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
117
|
/**
|
|
161
118
|
* Represents a color palette with a unique identifier and collection of colors
|
|
162
119
|
*/
|
|
@@ -582,51 +539,6 @@ declare const AXPContextStore: i0.Type<{
|
|
|
582
539
|
/** Trace namespace for form dirty-state diagnostics (lookup/select revert, discard, baseline). */
|
|
583
540
|
declare const FORM_DIRTY_TRACE_NS = "FORM STATE";
|
|
584
541
|
|
|
585
|
-
/**
|
|
586
|
-
* Compact hints for assembling platform context into LLM system prompts.
|
|
587
|
-
* Mirrors fields used by {@link AXPAiPlatformRuntimeContext} and the mock engine runtime prompt
|
|
588
|
-
* formatter — keep labels short and values bounded.
|
|
589
|
-
*/
|
|
590
|
-
interface AXPContextDefinitionAiHints {
|
|
591
|
-
/**
|
|
592
|
-
* Short English label for bullet lists (e.g. `UI locale`, `Current instant (UTC, ISO 8601)`).
|
|
593
|
-
*/
|
|
594
|
-
promptLabel?: string;
|
|
595
|
-
/**
|
|
596
|
-
* One-line guidance for the model (when to use this value, what not to ask the user).
|
|
597
|
-
*/
|
|
598
|
-
usageHint?: string;
|
|
599
|
-
/**
|
|
600
|
-
* When `false`, this definition is omitted from AI system-prompt assembly. Default `true`.
|
|
601
|
-
*/
|
|
602
|
-
includeInSystemPrompt?: boolean;
|
|
603
|
-
/**
|
|
604
|
-
* How to stringify the value compactly in prompts.
|
|
605
|
-
*/
|
|
606
|
-
valueKind?: 'string' | 'number' | 'boolean' | 'instant' | 'locale' | 'dateTime' | 'object';
|
|
607
|
-
/**
|
|
608
|
-
* When `true`, the value must not be sent to the model (PII, secrets, tokens).
|
|
609
|
-
*/
|
|
610
|
-
sensitive?: boolean;
|
|
611
|
-
/**
|
|
612
|
-
* Sort order when rendering the AI context block (lower first).
|
|
613
|
-
*/
|
|
614
|
-
order?: number;
|
|
615
|
-
}
|
|
616
|
-
/**
|
|
617
|
-
* Describes a named platform context key (e.g. `currentDate`, `language`).
|
|
618
|
-
*/
|
|
619
|
-
interface AXPContextDefinition {
|
|
620
|
-
/** Stable identifier used as the context key and in expressions. */
|
|
621
|
-
name: string;
|
|
622
|
-
/** Human-readable title for designers and tooling. */
|
|
623
|
-
title: string;
|
|
624
|
-
/** What this context represents and when consumers should use it. */
|
|
625
|
-
description: string;
|
|
626
|
-
/** Optional metadata for AI system-prompt assembly. */
|
|
627
|
-
ai?: AXPContextDefinitionAiHints;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
542
|
interface AXPContextDefinitionProvider {
|
|
631
543
|
items(): Promise<AXPContextDefinition[]>;
|
|
632
544
|
}
|
|
@@ -717,72 +629,6 @@ type AXPValueTransformerFunctions = {
|
|
|
717
629
|
};
|
|
718
630
|
declare function objectKeyValueTransforms(keyName: string): AXPValueTransformerFunctions;
|
|
719
631
|
|
|
720
|
-
interface AXPDataSourceQueryOptions {
|
|
721
|
-
/** Field used as AXDataSource key / widget valueField. Defaults to definition valueField.name or `id`. */
|
|
722
|
-
valueField?: string;
|
|
723
|
-
/** When true, resolve from definition.samples instead of source(). */
|
|
724
|
-
useSamples?: boolean;
|
|
725
|
-
/** Retry definition lookup while registry providers are still loading. */
|
|
726
|
-
waitForRegistry?: boolean;
|
|
727
|
-
/** Max attempts when waitForRegistry is true (default 20). */
|
|
728
|
-
maxRegistryAttempts?: number;
|
|
729
|
-
/** Delay between registry retry attempts in ms (default 50). */
|
|
730
|
-
registryRetryDelayMs?: number;
|
|
731
|
-
}
|
|
732
|
-
interface AXPDataSourceQueryResult {
|
|
733
|
-
name: string;
|
|
734
|
-
ready: boolean;
|
|
735
|
-
dataSource: AXDataSource | null;
|
|
736
|
-
definition?: AXPDataSourceDefinition;
|
|
737
|
-
valueField: string;
|
|
738
|
-
textField: string;
|
|
739
|
-
error?: unknown;
|
|
740
|
-
}
|
|
741
|
-
/**
|
|
742
|
-
* Resolves registry-backed {@link AXDataSource} instances and exposes readiness (`isReady`, `whenReady`)
|
|
743
|
-
* so widgets do not bind selected values before the provider datasource is available.
|
|
744
|
-
*/
|
|
745
|
-
declare class AXPDataSourceQueryService {
|
|
746
|
-
private readonly definitionService;
|
|
747
|
-
private readonly entries;
|
|
748
|
-
/**
|
|
749
|
-
* Returns true when the named registry datasource has been resolved for the given options.
|
|
750
|
-
*/
|
|
751
|
-
isReady(name: string, options?: AXPDataSourceQueryOptions): boolean;
|
|
752
|
-
/**
|
|
753
|
-
* Emits once when the registry datasource is resolved (or fails) for the given options.
|
|
754
|
-
*/
|
|
755
|
-
whenReady(name: string, options?: AXPDataSourceQueryOptions): Observable<AXPDataSourceQueryResult>;
|
|
756
|
-
/**
|
|
757
|
-
* Resolves and returns the {@link AXDataSource} for a registry name, waiting for providers when needed.
|
|
758
|
-
*/
|
|
759
|
-
getDataSource(name: string, options?: AXPDataSourceQueryOptions): Promise<AXDataSource | null>;
|
|
760
|
-
/**
|
|
761
|
-
* Resolves the registry datasource, then looks up one or more keys via `byKey`.
|
|
762
|
-
*/
|
|
763
|
-
queryByKey(name: string, key: unknown, options?: AXPDataSourceQueryOptions): Promise<unknown>;
|
|
764
|
-
/**
|
|
765
|
-
* Fully resolves a registry datasource (definition + AXDataSource instance).
|
|
766
|
-
*/
|
|
767
|
-
resolve(name: string, options?: AXPDataSourceQueryOptions): Promise<AXPDataSourceQueryResult>;
|
|
768
|
-
/**
|
|
769
|
-
* Clears cached query state. Pass a registry name to invalidate one datasource, or omit to clear all.
|
|
770
|
-
*/
|
|
771
|
-
invalidate(name?: string): void;
|
|
772
|
-
private ensureLoading;
|
|
773
|
-
private loadEntry;
|
|
774
|
-
private waitForDefinition;
|
|
775
|
-
private createDataSource;
|
|
776
|
-
private resolveSamples;
|
|
777
|
-
private applyValueFieldAsKey;
|
|
778
|
-
private wrapTranslatedDataSource;
|
|
779
|
-
private translateItem;
|
|
780
|
-
private buildCacheKey;
|
|
781
|
-
private sleep;
|
|
782
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDataSourceQueryService, never>;
|
|
783
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDataSourceQueryService>;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
632
|
declare class AXPContentCheckerDirective {
|
|
787
633
|
viewContainerRef: ViewContainerRef;
|
|
788
634
|
elementRef: ElementRef<HTMLDivElement>;
|
|
@@ -887,15 +733,42 @@ declare class AXPDistributedEventListenerService {
|
|
|
887
733
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDistributedEventListenerService>;
|
|
888
734
|
}
|
|
889
735
|
|
|
736
|
+
type AXPBroadcastPublishStrategy = 'debounce' | 'throttle';
|
|
737
|
+
/**
|
|
738
|
+
* Optional publish-side policy that collapses rapid duplicate dispatches for an event type.
|
|
739
|
+
* Applied before channel post + local Subject echo.
|
|
740
|
+
*/
|
|
741
|
+
interface AXPBroadcastPublishPolicy<T = unknown> {
|
|
742
|
+
/** Collapse window in this window (ms). */
|
|
743
|
+
windowMs: number;
|
|
744
|
+
/**
|
|
745
|
+
* `debounce` (default): trailing — wait for quiet window, then dispatch once (merged).
|
|
746
|
+
* `throttle`: leading — dispatch first immediately; drop/merge later ones until window ends.
|
|
747
|
+
*/
|
|
748
|
+
strategy?: AXPBroadcastPublishStrategy;
|
|
749
|
+
/** Groups publishes that should collapse together. Default: one bucket per event type. */
|
|
750
|
+
key?: (payload: T | undefined) => string;
|
|
751
|
+
/** Combine payloads in the window. Default: last write wins. */
|
|
752
|
+
merge?: (previous: T | undefined, incoming: T | undefined) => T | undefined;
|
|
753
|
+
}
|
|
890
754
|
declare class AXPBroadcastEventService implements OnDestroy {
|
|
891
755
|
private channel;
|
|
892
756
|
private eventSubjects;
|
|
893
757
|
private pendingRequests;
|
|
894
758
|
private multiTabEventHistory;
|
|
895
759
|
private readonly instanceId;
|
|
760
|
+
private readonly publishPolicies;
|
|
761
|
+
private readonly pendingPublishes;
|
|
896
762
|
constructor();
|
|
897
763
|
/**
|
|
898
|
-
*
|
|
764
|
+
* Registers a publish-side debounce/throttle policy for an event type.
|
|
765
|
+
* Prevents duplicate dispatches (channel + local echo) for rapid identical/grouped publishes.
|
|
766
|
+
*/
|
|
767
|
+
setPublishPolicy<T>(type: string, policy: AXPBroadcastPublishPolicy<T>): void;
|
|
768
|
+
clearPublishPolicy(type: string): void;
|
|
769
|
+
/**
|
|
770
|
+
* Publish an event without expecting a response.
|
|
771
|
+
* When a {@link setPublishPolicy} exists for `type`, rapid publishes are collapsed before dispatch.
|
|
899
772
|
*/
|
|
900
773
|
publish<T>(type: string, payload?: T): void;
|
|
901
774
|
/**
|
|
@@ -925,10 +798,51 @@ declare class AXPBroadcastEventService implements OnDestroy {
|
|
|
925
798
|
* Cleanup when the service is destroyed
|
|
926
799
|
*/
|
|
927
800
|
ngOnDestroy(): void;
|
|
801
|
+
private dispatchPublish;
|
|
802
|
+
private publishDebounced;
|
|
803
|
+
private publishThrottled;
|
|
804
|
+
private clearPendingForType;
|
|
928
805
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPBroadcastEventService, never>;
|
|
929
806
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPBroadcastEventService>;
|
|
930
807
|
}
|
|
931
808
|
|
|
809
|
+
/**
|
|
810
|
+
* Typed publish/listen helpers for entity UI events over {@link AXPBroadcastEventService}.
|
|
811
|
+
* Layout refresh publishes are debounced per entity name on the broadcast service
|
|
812
|
+
* so local + realtime echoes collapse before dispatch.
|
|
813
|
+
*/
|
|
814
|
+
declare class AXPEntityBroadcastService {
|
|
815
|
+
private readonly broadcast;
|
|
816
|
+
constructor();
|
|
817
|
+
publishLayoutRefresh(name: string, meta?: AXPEntityRefreshMeta): void;
|
|
818
|
+
publishDataReload(name: string, meta?: AXPEntityRefreshMeta): void;
|
|
819
|
+
publishCreated(payload: AXPEntityCreatedPayload): void;
|
|
820
|
+
publishDeleted(payload: AXPEntityDeletedPayload): void;
|
|
821
|
+
publishModified(payload: AXPEntityModifiedPayload): void;
|
|
822
|
+
listenLayoutRefresh(): Observable<{
|
|
823
|
+
data: AXPEntityRefreshLayoutPayload;
|
|
824
|
+
requestId?: string;
|
|
825
|
+
}>;
|
|
826
|
+
listenDataReload(): Observable<{
|
|
827
|
+
data: AXPEntityRefreshDataPayload;
|
|
828
|
+
requestId?: string;
|
|
829
|
+
}>;
|
|
830
|
+
listenCreated(): Observable<{
|
|
831
|
+
data: AXPEntityCreatedPayload;
|
|
832
|
+
requestId?: string;
|
|
833
|
+
}>;
|
|
834
|
+
listenDeleted(): Observable<{
|
|
835
|
+
data: AXPEntityDeletedPayload;
|
|
836
|
+
requestId?: string;
|
|
837
|
+
}>;
|
|
838
|
+
listenModified(): Observable<{
|
|
839
|
+
data: AXPEntityModifiedPayload;
|
|
840
|
+
requestId?: string;
|
|
841
|
+
}>;
|
|
842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPEntityBroadcastService, never>;
|
|
843
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPEntityBroadcastService>;
|
|
844
|
+
}
|
|
845
|
+
|
|
932
846
|
/** Registered {@link AXFormatService} formatter name (e.g. `date`, `translate`, custom). */
|
|
933
847
|
type AXPContextEvalPipeName = string;
|
|
934
848
|
interface AXPContextEvalPipeSpec {
|
|
@@ -1314,7 +1228,7 @@ declare class AXPLogoRegistryService {
|
|
|
1314
1228
|
|
|
1315
1229
|
interface AXPEntityLogoSource {
|
|
1316
1230
|
id: string;
|
|
1317
|
-
title?:
|
|
1231
|
+
title?: AXPMultiLanguageString;
|
|
1318
1232
|
logo?: string;
|
|
1319
1233
|
}
|
|
1320
1234
|
declare class AXPEntityLogoRegistrationService {
|
|
@@ -1398,6 +1312,53 @@ declare const OVERLAY_DETAILS_VIEW_TRACE_NS = "OVERLAY-DETAILS-VIEW";
|
|
|
1398
1312
|
/** Widget tree mount / settle polling ({@link AXPWidgetContainerComponent}). */
|
|
1399
1313
|
declare const OVERLAY_WIDGET_SETTLE_TRACE_NS = "OVERLAY-WIDGET-SETTLE";
|
|
1400
1314
|
|
|
1315
|
+
/**
|
|
1316
|
+
* Packaging kind for edition modules checklist (view mode: By Type).
|
|
1317
|
+
*/
|
|
1318
|
+
declare const AXP_MODULE_TYPE: {
|
|
1319
|
+
readonly platform: "platform";
|
|
1320
|
+
readonly domain: "domain";
|
|
1321
|
+
readonly integration: "integration";
|
|
1322
|
+
};
|
|
1323
|
+
type AXPModuleType = (typeof AXP_MODULE_TYPE)[keyof typeof AXP_MODULE_TYPE];
|
|
1324
|
+
/**
|
|
1325
|
+
* Business-area domain for edition modules checklist (view mode: By Domain).
|
|
1326
|
+
* Aligns with integration domain ids where applicable.
|
|
1327
|
+
*/
|
|
1328
|
+
declare const AXP_MODULE_DOMAIN: {
|
|
1329
|
+
readonly platform: "platform";
|
|
1330
|
+
readonly humanCapital: "human-capital";
|
|
1331
|
+
readonly projectManagement: "project-management";
|
|
1332
|
+
readonly assetMaintenance: "asset-maintenance";
|
|
1333
|
+
readonly workplaceSafety: "workplace-safety";
|
|
1334
|
+
readonly assessmentLearning: "assessment-learning";
|
|
1335
|
+
readonly financeCommerce: "finance-commerce";
|
|
1336
|
+
readonly customerSupplier: "customer-supplier";
|
|
1337
|
+
readonly communication: "communication";
|
|
1338
|
+
readonly ai: "ai";
|
|
1339
|
+
readonly contentDocuments: "content-documents";
|
|
1340
|
+
readonly data: "data";
|
|
1341
|
+
readonly operations: "operations";
|
|
1342
|
+
readonly weather: "weather";
|
|
1343
|
+
readonly sourceControl: "source-control";
|
|
1344
|
+
readonly general: "general";
|
|
1345
|
+
};
|
|
1346
|
+
type AXPModuleDomain = (typeof AXP_MODULE_DOMAIN)[keyof typeof AXP_MODULE_DOMAIN];
|
|
1347
|
+
/**
|
|
1348
|
+
* Resolves module packaging type with fallbacks when unset on the manifest.
|
|
1349
|
+
*/
|
|
1350
|
+
declare function resolveModuleType(manifest: {
|
|
1351
|
+
type?: AXPModuleType;
|
|
1352
|
+
required?: boolean;
|
|
1353
|
+
name: string;
|
|
1354
|
+
}): AXPModuleType;
|
|
1355
|
+
/**
|
|
1356
|
+
* Resolves module business domain with fallback when unset on the manifest.
|
|
1357
|
+
*/
|
|
1358
|
+
declare function resolveModuleDomain(manifest: {
|
|
1359
|
+
domain?: string;
|
|
1360
|
+
}): string;
|
|
1361
|
+
|
|
1401
1362
|
/**
|
|
1402
1363
|
* Feature definition in module manifest.
|
|
1403
1364
|
* Defines available features with default values.
|
|
@@ -1476,10 +1437,21 @@ interface AXPModuleManifest {
|
|
|
1476
1437
|
*/
|
|
1477
1438
|
dependencies?: string[];
|
|
1478
1439
|
/**
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1440
|
+
* Whether this module is required (always enabled, cannot be disabled).
|
|
1441
|
+
* Required modules like 'auth' and 'common' are always available.
|
|
1442
|
+
*/
|
|
1482
1443
|
required?: boolean;
|
|
1444
|
+
/**
|
|
1445
|
+
* Packaging kind for edition modules UI grouping (By Type).
|
|
1446
|
+
* Falls back via {@link resolveModuleType} when omitted.
|
|
1447
|
+
*/
|
|
1448
|
+
type?: AXPModuleType;
|
|
1449
|
+
/**
|
|
1450
|
+
* Business-area domain id for edition modules UI grouping (By Domain).
|
|
1451
|
+
* Use values from {@link AXP_MODULE_DOMAIN} (or matching integration domain ids).
|
|
1452
|
+
* Falls back via {@link resolveModuleDomain} when omitted.
|
|
1453
|
+
*/
|
|
1454
|
+
domain?: string;
|
|
1483
1455
|
/**
|
|
1484
1456
|
* Additional metadata
|
|
1485
1457
|
*/
|
|
@@ -1510,14 +1482,6 @@ interface AXPFeatureDefinition extends AXPModuleFeatureDefinition {
|
|
|
1510
1482
|
key: string;
|
|
1511
1483
|
}
|
|
1512
1484
|
|
|
1513
|
-
/**
|
|
1514
|
-
* Data source definition for module names/titles from {@link AXPModuleManifestRegistry}.
|
|
1515
|
-
*/
|
|
1516
|
-
declare class AXPModuleManifestsDataSourceDefinition implements AXPDataSourceDefinitionProvider {
|
|
1517
|
-
private readonly manifestRegistry;
|
|
1518
|
-
items(): Promise<AXPDataSourceDefinition[]>;
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
1485
|
/**
|
|
1522
1486
|
* Registry service for module manifests.
|
|
1523
1487
|
* Collects and manages all registered module manifests.
|
|
@@ -1600,20 +1564,67 @@ declare class AXPModuleManifestRegistry {
|
|
|
1600
1564
|
|
|
1601
1565
|
interface AXPStartUpTask {
|
|
1602
1566
|
name: string;
|
|
1603
|
-
|
|
1567
|
+
/** Splash status while this task runs. Omit for silent / registration-only work. */
|
|
1568
|
+
statusText?: AXPMultiLanguageString;
|
|
1604
1569
|
priority: number;
|
|
1605
1570
|
run: () => Promise<void>;
|
|
1606
1571
|
}
|
|
1572
|
+
/**
|
|
1573
|
+
* Multi provider for declarative app-startup tasks.
|
|
1574
|
+
* Collected once by {@link AXPAppStartUpProvider} — do not use APP_INITIALIZER in features.
|
|
1575
|
+
*/
|
|
1576
|
+
/** Multi token — `inject()` yields the full task array (each provider contributes one task). */
|
|
1577
|
+
declare const AXP_APP_STARTUP_TASK: InjectionToken<readonly AXPStartUpTask[]>;
|
|
1578
|
+
/** Suggested priority bands for client startup tasks (lower runs first). */
|
|
1579
|
+
declare const AXP_APP_STARTUP_PRIORITY: {
|
|
1580
|
+
readonly sessionRestore: 0;
|
|
1581
|
+
readonly moduleManifests: 1;
|
|
1582
|
+
/** Platform-scoped settings (no auth); runs before tenant/user settings load. */
|
|
1583
|
+
readonly platformSettings: 2;
|
|
1584
|
+
readonly settings: 3;
|
|
1585
|
+
readonly idleLockRestore: 3;
|
|
1586
|
+
/** After settings: redirect when platform settings bootstrap failed. */
|
|
1587
|
+
readonly platformSettingsFailureRedirect: 3.5;
|
|
1588
|
+
readonly conversationSessionSync: 4;
|
|
1589
|
+
readonly regionalSettings: 5;
|
|
1590
|
+
readonly terms: 6;
|
|
1591
|
+
/** Topic handlers / bridges that must exist before the socket connects. */
|
|
1592
|
+
readonly realtimeHandlers: 40;
|
|
1593
|
+
/** Long-lived subscriptions that listen to connection/bus streams. */
|
|
1594
|
+
readonly realtimeSubscriptions: 45;
|
|
1595
|
+
readonly realtimeConnect: 50;
|
|
1596
|
+
readonly activityInsight: 80;
|
|
1597
|
+
readonly layoutTheme: 100;
|
|
1598
|
+
};
|
|
1599
|
+
/** Register one startup task via the multi token (preferred over APP_INITIALIZER). */
|
|
1600
|
+
declare function provideAppStartUpTask(factory: () => AXPStartUpTask): Provider;
|
|
1607
1601
|
|
|
1608
1602
|
declare class AXPAppStartUpService {
|
|
1609
1603
|
private readonly translationService;
|
|
1610
1604
|
private tasks;
|
|
1605
|
+
/** When true, only {@link PLATFORM_SETTINGS_FAILURE_REDIRECT_TASK} may still run. */
|
|
1606
|
+
private bootstrapAborted;
|
|
1611
1607
|
registerTask(task: AXPStartUpTask): void;
|
|
1608
|
+
/**
|
|
1609
|
+
* Abort remaining startup work after a fatal platform-settings failure.
|
|
1610
|
+
* Keeps {@link PLATFORM_SETTINGS_FAILURE_REDIRECT_TASK} so unavailable navigation can run.
|
|
1611
|
+
* Prevents later tasks (settings / regional / theme) from hanging APP_INITIALIZER on API calls.
|
|
1612
|
+
*/
|
|
1613
|
+
abortRemainingStartupTasks(): void;
|
|
1614
|
+
/**
|
|
1615
|
+
* @deprecated Prefer {@link abortRemainingStartupTasks}.
|
|
1616
|
+
* Skip tasks with priority greater than {@link priority}.
|
|
1617
|
+
*/
|
|
1618
|
+
skipTasksAfter(priority: number): void;
|
|
1612
1619
|
runAllTasks(): Promise<void>;
|
|
1613
1620
|
private updateStatus;
|
|
1614
1621
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPAppStartUpService, never>;
|
|
1615
1622
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPAppStartUpService>;
|
|
1616
1623
|
}
|
|
1624
|
+
/**
|
|
1625
|
+
* Sole Angular APP_INITIALIZER for platform bootstrap.
|
|
1626
|
+
* Collects {@link AXP_APP_STARTUP_TASK} providers, then runs all registered tasks.
|
|
1627
|
+
*/
|
|
1617
1628
|
declare const AXPAppStartUpProvider: i0.EnvironmentProviders;
|
|
1618
1629
|
|
|
1619
1630
|
/**
|
|
@@ -1817,45 +1828,41 @@ declare abstract class AXPTagProvider {
|
|
|
1817
1828
|
declare const AXP_TAG_PROVIDER: InjectionToken<AXPTagProvider[]>;
|
|
1818
1829
|
|
|
1819
1830
|
/**
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1831
|
+
* Aggregates tags from registered providers with an in-memory catalog cache.
|
|
1832
|
+
* Concurrent {@link getTags} / {@link reload} share one in-flight load (no stampede).
|
|
1822
1833
|
*/
|
|
1823
1834
|
declare class AXPTagService {
|
|
1824
1835
|
private providers;
|
|
1825
1836
|
private cache;
|
|
1837
|
+
/** Shared promise while providers are loading; cleared when settled. */
|
|
1838
|
+
private loadPromise;
|
|
1826
1839
|
/**
|
|
1827
|
-
* Get all tags from all providers
|
|
1828
|
-
* @param options Filter options
|
|
1829
|
-
* @returns Promise of tags
|
|
1840
|
+
* Get all tags from all providers (memory cache after first successful load).
|
|
1830
1841
|
*/
|
|
1831
1842
|
getTags(options?: AXPTagFilterOptions): Promise<AXPTag[]>;
|
|
1843
|
+
/** Sync snapshot of the cached catalog (empty until first successful load). */
|
|
1844
|
+
peekCatalog(): AXPTag[];
|
|
1845
|
+
/** True when the in-memory catalog has been loaded at least once. */
|
|
1846
|
+
isCatalogReady(): boolean;
|
|
1832
1847
|
/**
|
|
1833
|
-
* Create a new tag using the appropriate provider
|
|
1834
|
-
* @param tag Tag to create
|
|
1835
|
-
* @param providerName Provider to use (defaults to first writable provider)
|
|
1836
|
-
* @returns Created tag
|
|
1848
|
+
* Create a new tag using the appropriate provider.
|
|
1837
1849
|
*/
|
|
1838
1850
|
createTag(tag: Omit<AXPTag, 'id'>, providerName?: string): Promise<AXPTag>;
|
|
1839
1851
|
/**
|
|
1840
|
-
* Update an existing tag
|
|
1841
|
-
* @param tag Tag to update
|
|
1842
|
-
* @returns Updated tag
|
|
1852
|
+
* Update an existing tag.
|
|
1843
1853
|
*/
|
|
1844
1854
|
updateTag(tag: AXPTag): Promise<AXPTag>;
|
|
1845
1855
|
/**
|
|
1846
|
-
* Delete a tag
|
|
1847
|
-
* @param tagId Tag id to delete
|
|
1848
|
-
* @param scope Tag scope
|
|
1856
|
+
* Delete a tag.
|
|
1849
1857
|
*/
|
|
1850
1858
|
deleteTag(tagId: string, scope: string): Promise<void>;
|
|
1851
1859
|
/**
|
|
1852
|
-
*
|
|
1860
|
+
* Force reload tags from all providers.
|
|
1853
1861
|
*/
|
|
1854
1862
|
reload(): Promise<void>;
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
private loadTags;
|
|
1863
|
+
private invalidateCatalog;
|
|
1864
|
+
private ensureCatalog;
|
|
1865
|
+
private loadTagsFromProviders;
|
|
1859
1866
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTagService, never>;
|
|
1860
1867
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPTagService>;
|
|
1861
1868
|
}
|
|
@@ -2046,15 +2053,15 @@ declare class AXHighlightService {
|
|
|
2046
2053
|
*
|
|
2047
2054
|
* @example
|
|
2048
2055
|
* ```typescript
|
|
2049
|
-
* export class
|
|
2056
|
+
* export class AXMMyFeatureProvider {
|
|
2050
2057
|
* constructor(private readonly injector: Injector) {}
|
|
2051
2058
|
*
|
|
2052
2059
|
* async items() {
|
|
2053
|
-
* const
|
|
2060
|
+
* const nested = instantiateWithInjectionContext(
|
|
2054
2061
|
* this.injector,
|
|
2055
|
-
*
|
|
2062
|
+
* AXMNestedProvider,
|
|
2056
2063
|
* );
|
|
2057
|
-
* return [...(await
|
|
2064
|
+
* return [...(await nested.items())];
|
|
2058
2065
|
* }
|
|
2059
2066
|
* }
|
|
2060
2067
|
* ```
|
|
@@ -2095,8 +2102,8 @@ declare function createProviderWithInjectionContext<T>(injector: Injector, loade
|
|
|
2095
2102
|
* ```typescript
|
|
2096
2103
|
* // Multi-provider (default)
|
|
2097
2104
|
* provideLazyProvider(
|
|
2098
|
-
*
|
|
2099
|
-
* () => import('./
|
|
2105
|
+
* AXP_SOME_MULTI_TOKEN,
|
|
2106
|
+
* () => import('./feature.provider').then(m => m.AXMFeatureProvider)
|
|
2100
2107
|
* )
|
|
2101
2108
|
*
|
|
2102
2109
|
* // Single provider
|
|
@@ -2109,5 +2116,5 @@ declare function createProviderWithInjectionContext<T>(injector: Injector, loade
|
|
|
2109
2116
|
*/
|
|
2110
2117
|
declare function provideLazyProvider<TProvider>(token: InjectionToken<any>, loader: () => Promise<new (injector?: Injector) => TProvider>, multi?: boolean): Provider;
|
|
2111
2118
|
|
|
2112
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService,
|
|
2113
|
-
export type { AXPActivityLog, AXPActivityLogChange, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs,
|
|
2119
|
+
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, AXP_MODULE_DOMAIN, AXP_MODULE_MANIFEST_PROVIDER, AXP_MODULE_TYPE, 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, createProviderWithInjectionContext, defaultColumnWidthProvider, 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, resolveConfiguredFooterActionShortcuts, resolveDialogActionShortcuts, resolveDisplayShortcutChord, resolveEffectiveDirectionBehavior, resolveModuleDomain, resolveModuleType, resolveSemanticDirectionalKey, setupPopupFooterKeyboardShortcuts, shouldDeferEscapeToOpenOverlay, shouldTriggerDialogActionShortcut };
|
|
2120
|
+
export type { AXPActivityLog, AXPActivityLogChange, AXPBroadcastPublishPolicy, AXPBroadcastPublishStrategy, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, 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, AXPModuleDomain, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPModuleType, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOpenSettingsDefinitionDialogConfig, AXPPopupFooterKeyboardShortcutsOptions, AXPPopupFooterKeyboardShortcutsSetupConfig, AXPPopupFooterShortcutAction, AXPSettingsDefinitionDialogOpenRequest, AXPSettingsDefinitionDialogOpener, AXPSettingsDefinitionDialogScope, AXPSettingsDefinitionDialogSection, AXPSettingsDefinitionDialogSetting, AXPSettingsDefinitionDialogSize, AXPStartUpTask, AXPTag, AXPTagFilterOptions, AXPValueTransformerFunction, AXPValueTransformerFunctions, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
|
-
import { AXPActionMenuItem, AXPMultiLanguageString, AXPMetaData, AXPWidgetNode, AXPGridLayoutOptions, AXPWidgetRenderMode, AXPExpression, AXPValidationRules, AXPOptionsData, AXPContextChangeEvent
|
|
4
|
+
import { AXPActionMenuItem, AXPMultiLanguageString, AXPMetaData, AXPWidgetNode, AXPGridLayoutOptions, AXPWidgetRenderMode, AXPExpression, AXPValidationRules, AXPOptionsData, AXPContextChangeEvent } from '@acorex-platform/framework-shared/core';
|
|
5
5
|
import { AXFormComponent } from '@acorex/components/form';
|
|
6
6
|
import { AXValidationSummary } from '@acorex/core/validation';
|
|
7
7
|
import { AXPWidgetContainerComponent, AXPWidgetCoreElementAction } from '@acorex-platform/framework-client/layout/widget-core';
|
|
@@ -11,7 +11,7 @@ import { AXStepWizardLook } from '@acorex/components/step-wizard';
|
|
|
11
11
|
import { AXPDialogActionOptions, AXPSettingsDefinitionDialogOpener, AXPSettingsDefinitionDialogOpenRequest } from '@acorex-platform/framework-client/core';
|
|
12
12
|
export { AXPDialogActionOptions, AXPDialogActionShortcut, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS } from '@acorex-platform/framework-client/core';
|
|
13
13
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
14
|
-
import { AXPCommand } from '@acorex-platform/framework-shared/runtime';
|
|
14
|
+
import { AXPCommand, AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Extended widget node properties (excluding type, path, name, options, children)
|
|
@@ -36,6 +36,11 @@ interface AXPDynamicFormFieldDefinition {
|
|
|
36
36
|
badge?: string;
|
|
37
37
|
description?: AXPMultiLanguageString;
|
|
38
38
|
widget: AXPWidgetNode;
|
|
39
|
+
/**
|
|
40
|
+
* Boolean or expression (e.g. `{{ permission.check("…") }}`).
|
|
41
|
+
* Applied to the form-field widget `options.visible` for layout renderer evaluation.
|
|
42
|
+
*/
|
|
43
|
+
visible?: boolean | string;
|
|
39
44
|
/**
|
|
40
45
|
* Optional per-field rendering mode. Takes precedence over section and form modes.
|
|
41
46
|
*/
|
|
@@ -985,6 +990,7 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
985
990
|
private readonly hookService;
|
|
986
991
|
private readonly unsavedChangesConfirm;
|
|
987
992
|
private readonly overlayService;
|
|
993
|
+
private readonly toastService;
|
|
988
994
|
private readonly translationService;
|
|
989
995
|
private readonly document;
|
|
990
996
|
private readonly host;
|
|
@@ -1039,6 +1045,8 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
1039
1045
|
executeAction(action: AXPWidgetCoreElementAction): Promise<void>;
|
|
1040
1046
|
private isDialogDirty;
|
|
1041
1047
|
private confirmDismissIfDirty;
|
|
1048
|
+
/** Surfaces `onAction` throw messages (validation) without closing the dialog. */
|
|
1049
|
+
private showOnActionError;
|
|
1042
1050
|
/** Whether the layout form should be validated before running this footer command. */
|
|
1043
1051
|
private shouldValidateBeforeAction;
|
|
1044
1052
|
/** True when a footer handler or command result asks to leave the dialog open (`keepDialogOpen` on the result or `result.data`). */
|
|
@@ -1053,6 +1061,7 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
1053
1061
|
private applyDialogContextPatch;
|
|
1054
1062
|
private closeWithOptionalSkipValidate;
|
|
1055
1063
|
/** Resolves footer/widget action command to a string (e.g. `cancel`, `submit`, `widget:...`). */
|
|
1064
|
+
protected resolveDialogActionTestId(action: AXPWidgetCoreElementAction): string;
|
|
1056
1065
|
private resolveActionCommandName;
|
|
1057
1066
|
private parseWidgetCommand;
|
|
1058
1067
|
private invokeWidget;
|
|
@@ -1090,10 +1099,8 @@ interface AXPPreviewWidgetFieldCommandInput {
|
|
|
1090
1099
|
title?: AXPMultiLanguageString;
|
|
1091
1100
|
}
|
|
1092
1101
|
type AXPPreviewWidgetFieldInvocation = AXPPreviewWidgetFieldCommandInput & {
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
options?: Record<string, unknown>;
|
|
1096
|
-
};
|
|
1102
|
+
data?: Record<string, unknown>;
|
|
1103
|
+
options?: Record<string, unknown>;
|
|
1097
1104
|
};
|
|
1098
1105
|
/**
|
|
1099
1106
|
* Opens a dialog that previews a widget configuration (same behavior as the preview button on
|
|
@@ -1104,11 +1111,10 @@ declare class AXPPreviewWidgetFieldCommand implements AXPCommand<AXPPreviewWidge
|
|
|
1104
1111
|
private readonly widgetRegistry;
|
|
1105
1112
|
private readonly translationService;
|
|
1106
1113
|
private readonly crudService;
|
|
1107
|
-
execute(input: AXPPreviewWidgetFieldInvocation):
|
|
1114
|
+
execute(input: AXPPreviewWidgetFieldInvocation): AXPCommandExecuteResultPromise<void>;
|
|
1108
1115
|
private mergeInvocation;
|
|
1109
1116
|
private normalizeWidget;
|
|
1110
1117
|
private resolveFieldTitleLabel;
|
|
1111
|
-
private isCancelDialogOutcome;
|
|
1112
1118
|
private resolveWidgetDisplayTitle;
|
|
1113
1119
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPPreviewWidgetFieldCommand, never>;
|
|
1114
1120
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPPreviewWidgetFieldCommand>;
|