@acorex/platform 20.8.13 → 20.8.15
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/{types/acorex-platform-auth.d.ts → auth/index.d.ts} +2 -14
- package/{types/acorex-platform-common.d.ts → common/index.d.ts} +30 -302
- package/{types/acorex-platform-core.d.ts → core/index.d.ts} +44 -188
- package/{types/acorex-platform-domain.d.ts → domain/index.d.ts} +412 -744
- package/fesm2022/acorex-platform-auth.mjs +27 -125
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-Bi1RYif5.mjs → acorex-platform-common-common-settings.provider-DVvuLUfF.mjs} +32 -30
- package/fesm2022/acorex-platform-common-common-settings.provider-DVvuLUfF.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +205 -711
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +127 -420
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +830 -561
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +114 -634
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +877 -3362
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +204 -456
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +10062 -14672
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +171 -413
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +441 -507
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs → acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs → acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs} +76 -21
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs → acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs} +7 -6
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs → acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs} +12 -12
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +3429 -5632
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -8
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +166 -391
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs +1716 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs → acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs} +23 -16
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs → acorex-platform-themes-default-error-401.component-53VB-PS_.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs → acorex-platform-themes-default-error-404.component-DVF9soT5.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +61 -1784
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs → acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs → acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs} +25 -24
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs +65 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs +64 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +305 -408
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +100 -359
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/{types/acorex-platform-layout-builder.d.ts → layout/builder/index.d.ts} +38 -160
- package/{types/acorex-platform-layout-components.d.ts → layout/components/index.d.ts} +125 -854
- package/{types/acorex-platform-layout-designer.d.ts → layout/designer/index.d.ts} +18 -96
- package/{types/acorex-platform-layout-entity.d.ts → layout/entity/index.d.ts} +65 -848
- package/{types/acorex-platform-layout-views.d.ts → layout/views/index.d.ts} +47 -80
- package/{types/acorex-platform-layout-widget-core.d.ts → layout/widget-core/index.d.ts} +197 -274
- package/{types/acorex-platform-layout-widgets.d.ts → layout/widgets/index.d.ts} +124 -608
- package/{types/acorex-platform-native.d.ts → native/index.d.ts} +7 -0
- package/package.json +33 -33
- package/runtime/index.d.ts +307 -0
- package/{types/acorex-platform-themes-default.d.ts → themes/default/index.d.ts} +4 -113
- package/{types/acorex-platform-themes-shared.d.ts → themes/shared/index.d.ts} +4 -5
- package/{types/acorex-platform-workflow.d.ts → workflow/index.d.ts} +81 -162
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs +0 -116
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs +0 -120
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs +0 -94
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs +0 -86
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs.map +0 -1
- package/types/acorex-platform-runtime.d.ts +0 -571
- /package/{types/acorex-platform.d.ts → index.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, TemplateRef, ViewContainerRef, ModuleWithProviders, Injector, Type } from '@angular/core';
|
|
3
|
-
import { AXPLogoConfig,
|
|
3
|
+
import { AXPLogoConfig, AXPOptionsData, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
4
4
|
import { CanActivateFn } from '@angular/router';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
|
|
@@ -107,18 +107,6 @@ interface AXPPermissionLoader {
|
|
|
107
107
|
}
|
|
108
108
|
declare const AXP_PERMISSION_LOADER: InjectionToken<AXPPermissionLoader>;
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* Registered permission definitions for select widgets via dataSource name {@link PERMISSION_DEFINITIONS_DATASOURCE_NAME}.
|
|
112
|
-
*/
|
|
113
|
-
declare const PERMISSION_DEFINITIONS_DATASOURCE_NAME = "platform-permission-definitions";
|
|
114
|
-
/**
|
|
115
|
-
* Data source definition for leaf permissions from {@link AXPPermissionDefinitionService#getGroups}.
|
|
116
|
-
*/
|
|
117
|
-
declare class AXPPermissionDefinitionsDataSourceDefinition implements AXPDataSourceDefinitionProvider {
|
|
118
|
-
private readonly permissionDefinitionService;
|
|
119
|
-
items(): Promise<AXPDataSourceDefinition[]>;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
110
|
declare class AXPPermissionDefinitionProviderContext {
|
|
123
111
|
private builders;
|
|
124
112
|
addGroup(name: string, title: string, description?: string): AXPPermissionDefinitionGroupBuilder;
|
|
@@ -676,5 +664,5 @@ declare abstract class AXPLoginChallengeProvider {
|
|
|
676
664
|
*/
|
|
677
665
|
declare const AXP_LOGIN_CHALLENGE_PROVIDER: InjectionToken<AXPLoginChallengeProvider>;
|
|
678
666
|
|
|
679
|
-
export { AXPAuthGuard, AXPAuthModule, AXPAuthStrategy, AXPAuthStrategyRegistryService, AXPFeatureDirective, AXPFeatureGuard, AXPLoginChallengeComponentBase, AXPLoginChallengeProvider, AXPPermissionDefinitionBuilder, AXPPermissionDefinitionGroupBuilder, AXPPermissionDefinitionProviderContext, AXPPermissionDefinitionService,
|
|
667
|
+
export { AXPAuthGuard, AXPAuthModule, AXPAuthStrategy, AXPAuthStrategyRegistryService, AXPFeatureDirective, AXPFeatureGuard, AXPLoginChallengeComponentBase, AXPLoginChallengeProvider, AXPPermissionDefinitionBuilder, AXPPermissionDefinitionGroupBuilder, AXPPermissionDefinitionProviderContext, AXPPermissionDefinitionService, AXPPermissionDirective, AXPPermissionEvaluatorScopeProvider, AXPPermissionGuard, AXPSessionContext, AXPSessionService, AXPSessionStatus, AXPUnauthenticatedError, AXPUnauthorizedError, AXP_APPLICATION_LOADER, AXP_FEATURE_CHECKER, AXP_FEATURE_LOADER, AXP_LOGIN_CHALLENGE_PROVIDER, AXP_PERMISSION_CHECKER, AXP_PERMISSION_DEFINITION_PROVIDER, AXP_PERMISSION_LOADER, AXP_TENANT_LOADER, JwtUtil, PkceUtil, TimeUtil, initializeAppState };
|
|
680
668
|
export type { AXPApplication, AXPApplicationLoader, AXPAuthModuleConfigs, AXPBaseCredentials, AXPChallengeCheckResult, AXPChallengeContentType, AXPEdition, AXPFeature, AXPFeatureChecker, AXPFeatureLoader, AXPLoginChallengeData, AXPPermission, AXPPermissionChecker, AXPPermissionDefinition, AXPPermissionDefinitionProvider, AXPPermissionGroupDefinition, AXPPermissionLoader, AXPSessionData, AXPSignInResult, AXPTenant, AXPTenantLoader, AXPTokenResult, AXPUser };
|
|
@@ -4,8 +4,8 @@ import { AXDataSourceOperator, AXStyleColorType, AXDataSourceFilterOption } from
|
|
|
4
4
|
import * as i2 from '@acorex/components/popup';
|
|
5
5
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
6
6
|
import * as i5 from '@acorex/platform/core';
|
|
7
|
-
import { AXPValueTransformerFunctions,
|
|
8
|
-
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode
|
|
7
|
+
import { AXPValueTransformerFunctions, AXPOptionsData, AXPExpression, AXPFilterDefinition, AXPMetaData, AXPSystemActionType, AXPValidationRules, AXPGridLayoutOptions, AXPLogoConfig, AXPFileListItem, AXPNavigateActionCommand, AXPExecuteCommand, AXPApplicationUserReference, AXPEntityReference, AXPPlatformScopeKey, AXPWidgetTriggers, AXPPlatformScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
8
|
+
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
9
9
|
import * as i6 from '@angular/router';
|
|
10
10
|
import { Route, Routes } from '@angular/router';
|
|
11
11
|
import * as i1 from '@acorex/platform/workflow';
|
|
@@ -38,6 +38,7 @@ interface AXEntityPropertyWidget {
|
|
|
38
38
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
39
39
|
path?: string;
|
|
40
40
|
id?: string;
|
|
41
|
+
formula?: string;
|
|
41
42
|
children?: AXEntityPropertyWidget[];
|
|
42
43
|
mode: 'view' | 'edit';
|
|
43
44
|
options?: Record<string, any>;
|
|
@@ -80,7 +81,6 @@ interface AXPEntityPropertyLayoutConfig extends AXPGridLayoutOptions {
|
|
|
80
81
|
visible?: boolean;
|
|
81
82
|
};
|
|
82
83
|
order?: number;
|
|
83
|
-
visible?: boolean | AXPExpression;
|
|
84
84
|
}
|
|
85
85
|
interface AXPEntityPropertyGroup {
|
|
86
86
|
id: string;
|
|
@@ -215,7 +215,7 @@ interface AXPCommandActionDisplay extends Partial<AXPCommandActionLook> {
|
|
|
215
215
|
command: AXPCommandActionCallback;
|
|
216
216
|
title: string;
|
|
217
217
|
type: AXPSystemActionType | string;
|
|
218
|
-
priority: 'primary' | 'secondary'
|
|
218
|
+
priority: 'primary' | 'secondary';
|
|
219
219
|
separated?: boolean;
|
|
220
220
|
permissions?: string[];
|
|
221
221
|
hidden?: boolean | string;
|
|
@@ -225,8 +225,6 @@ interface AXPCommandActionDisplay extends Partial<AXPCommandActionLook> {
|
|
|
225
225
|
}
|
|
226
226
|
interface AXPEntityAction extends AXPCommandActionDisplay {
|
|
227
227
|
scope: AXPEntityCommandScope;
|
|
228
|
-
/** Child actions for dropdown submenu */
|
|
229
|
-
items?: AXPEntityAction[];
|
|
230
228
|
}
|
|
231
229
|
interface AXPEntity {
|
|
232
230
|
plugins?: {
|
|
@@ -267,7 +265,6 @@ interface AXPEntity {
|
|
|
267
265
|
};
|
|
268
266
|
};
|
|
269
267
|
relatedEntities?: AXPRelatedEntity[];
|
|
270
|
-
pages?: AXPEntityPage[];
|
|
271
268
|
groups?: AXPEntityPropertyGroup[];
|
|
272
269
|
properties: AXPEntityProperty[];
|
|
273
270
|
columns?: AXPEntityTableColumn[];
|
|
@@ -321,30 +318,25 @@ interface AXPRelatedEntity {
|
|
|
321
318
|
entity: string;
|
|
322
319
|
title?: string;
|
|
323
320
|
icon?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Either a list of property names, or full table column metadata (`AXPEntityTableColumn`).
|
|
323
|
+
* For table columns, use `options.visible` as boolean or expression string (evaluated on parent detail).
|
|
324
|
+
*/
|
|
324
325
|
columns?: string[] | AXPEntityTableColumn[];
|
|
325
326
|
properties?: string[];
|
|
326
|
-
excludeProperties?: string[];
|
|
327
327
|
layout?: {
|
|
328
328
|
type: 'tab-detail' | 'tab-list' | 'page-detail' | 'page-list' | 'merge-detail';
|
|
329
329
|
order?: number;
|
|
330
330
|
position?: 'before' | 'after' | 'middle';
|
|
331
331
|
};
|
|
332
332
|
conditions?: AXPQueryFilter[];
|
|
333
|
-
customFilterDefinitions?: Partial<AXPFilterDefinition>[];
|
|
334
|
-
hidden?: boolean | AXPExpression;
|
|
335
|
-
actions?: AXPEntityAction[];
|
|
336
333
|
/**
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
* - **merge-detail**: omitted flags behave as **true** (opt-out with `false`).
|
|
340
|
-
* - **tab-list** / **page-list**: omitted flags behave as **false** (opt-in with `true`).
|
|
334
|
+
* Optional toolbar filter definitions merged when the related list is built.
|
|
335
|
+
* Entries matching an existing property `field` override/extend that filter definition.
|
|
341
336
|
*/
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
/** Include on host update form (see defaults above per layout type). */
|
|
346
|
-
update?: boolean;
|
|
347
|
-
};
|
|
337
|
+
customFilterDefinitions?: Partial<AXPFilterDefinition>[];
|
|
338
|
+
hidden?: boolean | string;
|
|
339
|
+
actions?: AXPEntityAction[];
|
|
348
340
|
/**
|
|
349
341
|
* Relationship-level persistence strategy for merge-detail data.
|
|
350
342
|
* Defaults:
|
|
@@ -363,53 +355,7 @@ interface AXPRelatedEntity {
|
|
|
363
355
|
cascade?: {
|
|
364
356
|
delete?: 'none' | 'orphans' | 'all';
|
|
365
357
|
};
|
|
366
|
-
foreignKeyField?: string;
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
interface AXPEntityPage {
|
|
370
|
-
/**
|
|
371
|
-
* Key to identify the component in the page component registry
|
|
372
|
-
*/
|
|
373
|
-
componentKey: string;
|
|
374
|
-
/**
|
|
375
|
-
* Property name to render when the page component displays an entity field (e.g. 'questions', 'attachments').
|
|
376
|
-
* Passed to the page component as pageConfig.field.
|
|
377
|
-
*/
|
|
378
|
-
field?: string;
|
|
379
|
-
/**
|
|
380
|
-
* Title of the page (displayed in navigation)
|
|
381
|
-
*/
|
|
382
|
-
title?: AXPMultiLanguageString;
|
|
383
|
-
/**
|
|
384
|
-
* Icon for the page (displayed in navigation)
|
|
385
|
-
*/
|
|
386
|
-
icon?: string;
|
|
387
|
-
/**
|
|
388
|
-
* Description of the page
|
|
389
|
-
*/
|
|
390
|
-
description?: AXPMultiLanguageString;
|
|
391
|
-
/**
|
|
392
|
-
* Layout configuration for page positioning
|
|
393
|
-
*/
|
|
394
|
-
layout?: {
|
|
395
|
-
/**
|
|
396
|
-
* Order of the page (lower numbers appear first)
|
|
397
|
-
*/
|
|
398
|
-
order?: number;
|
|
399
|
-
/**
|
|
400
|
-
* Position relative to the main page
|
|
401
|
-
*/
|
|
402
|
-
position?: 'before' | 'after' | 'middle';
|
|
403
358
|
};
|
|
404
|
-
/**
|
|
405
|
-
* Visibility condition (boolean or expression string)
|
|
406
|
-
*/
|
|
407
|
-
hidden?: boolean | string;
|
|
408
|
-
/**
|
|
409
|
-
* Permissions required to view this page
|
|
410
|
-
*/
|
|
411
|
-
permissions?: string[];
|
|
412
|
-
options?: Record<string, any>;
|
|
413
359
|
}
|
|
414
360
|
interface AXPCategoryEntity {
|
|
415
361
|
entity: string;
|
|
@@ -427,18 +373,18 @@ interface AXPEntityVersionHistory {
|
|
|
427
373
|
interface AXPAggregate {
|
|
428
374
|
id: string;
|
|
429
375
|
name: string;
|
|
430
|
-
title:
|
|
376
|
+
title: string;
|
|
431
377
|
entities: AXPEntity[];
|
|
432
378
|
}
|
|
433
379
|
interface AXPModule {
|
|
434
380
|
name: string;
|
|
435
|
-
title:
|
|
381
|
+
title: string;
|
|
436
382
|
aggregates: AXPAggregate[];
|
|
437
383
|
relationships?: AXPRelationship[];
|
|
438
384
|
}
|
|
439
385
|
interface AXPApplication {
|
|
440
386
|
name: string;
|
|
441
|
-
title:
|
|
387
|
+
title: string;
|
|
442
388
|
modules: AXPModule[];
|
|
443
389
|
}
|
|
444
390
|
interface AXPEntityMasterLayoutView {
|
|
@@ -446,23 +392,12 @@ interface AXPEntityMasterLayoutView {
|
|
|
446
392
|
sections: AXPEntitySectionView[];
|
|
447
393
|
properties?: AXPEntityPropertyView[];
|
|
448
394
|
}
|
|
449
|
-
/** Quick create config for lookup widgets (+ button) - uses subset of create form */
|
|
450
|
-
interface AXPEntityQuickCreate {
|
|
451
|
-
enabled?: boolean;
|
|
452
|
-
properties?: string[];
|
|
453
|
-
layout?: {
|
|
454
|
-
size?: AXPopupSizeType;
|
|
455
|
-
};
|
|
456
|
-
excludeProperties?: string[];
|
|
457
|
-
}
|
|
458
395
|
interface AXPEntityMasterCreateLayoutView extends AXPEntityMasterLayoutView {
|
|
459
396
|
steps?: {
|
|
460
397
|
id: string;
|
|
461
398
|
title: string;
|
|
462
399
|
description?: string;
|
|
463
400
|
};
|
|
464
|
-
/** Quick create config for lookup widgets - uses subset of create form */
|
|
465
|
-
quickCreate?: AXPEntityQuickCreate;
|
|
466
401
|
}
|
|
467
402
|
interface AXPEntityMasterUpdateLayoutView extends AXPEntityMasterLayoutView {
|
|
468
403
|
}
|
|
@@ -509,51 +444,6 @@ interface AXPQuerySort {
|
|
|
509
444
|
name: string;
|
|
510
445
|
dir: 'asc' | 'desc';
|
|
511
446
|
}
|
|
512
|
-
declare enum AXPEntityType {
|
|
513
|
-
Entity = 0,
|
|
514
|
-
AggregateRoot = 1,
|
|
515
|
-
ValueObject = 2
|
|
516
|
-
}
|
|
517
|
-
interface AXPEntityV2 {
|
|
518
|
-
version: 2;
|
|
519
|
-
module: string;
|
|
520
|
-
aggregate: string;
|
|
521
|
-
name: string;
|
|
522
|
-
type: AXPEntityType;
|
|
523
|
-
icon?: string;
|
|
524
|
-
title: string;
|
|
525
|
-
description?: string;
|
|
526
|
-
plugins?: {
|
|
527
|
-
name: string;
|
|
528
|
-
options?: AXPOptionsData;
|
|
529
|
-
}[];
|
|
530
|
-
pages?: AXPEntityPage[];
|
|
531
|
-
groups?: AXPEntityPropertyGroup[];
|
|
532
|
-
properties: AXPEntityProperty[];
|
|
533
|
-
formats: {
|
|
534
|
-
individual: string;
|
|
535
|
-
plural: string;
|
|
536
|
-
lookup?: string;
|
|
537
|
-
displayName?: string;
|
|
538
|
-
searchResult?: {
|
|
539
|
-
title: string;
|
|
540
|
-
description?: string;
|
|
541
|
-
};
|
|
542
|
-
};
|
|
543
|
-
columns?: AXPEntityTableColumn[];
|
|
544
|
-
validations?: AXPValidationRules;
|
|
545
|
-
interfaces?: {
|
|
546
|
-
master?: {
|
|
547
|
-
single?: AXPEntityMasterSingleLayoutView;
|
|
548
|
-
list?: AXPEntityMasterListView;
|
|
549
|
-
create?: AXPEntityMasterCreateLayoutView;
|
|
550
|
-
update?: AXPEntityMasterUpdateLayoutView;
|
|
551
|
-
};
|
|
552
|
-
detail?: {
|
|
553
|
-
list?: AXPEntityDetailListView;
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
}
|
|
557
447
|
|
|
558
448
|
interface AXPFilterOperator {
|
|
559
449
|
name: string;
|
|
@@ -695,7 +585,6 @@ declare enum AXPCommonSettings {
|
|
|
695
585
|
ApplyLayoutOrdering = "Common:Setting:Entity.ApplyLayoutOrdering",
|
|
696
586
|
RedirectToDetailsAfterCreate = "Common:Setting:Entity.RedirectToDetailsAfterCreate",
|
|
697
587
|
ShowPageBadge = "Common:Setting:Entity.ShowPageBadge",
|
|
698
|
-
DebugMode = "PlatformDevTools:Setting:Developer.DebugMode",
|
|
699
588
|
ShowRowIndexColumn = "Common:Setting:Entity.ShowRowIndexColumn",
|
|
700
589
|
EntityListPersistenceMode = "Common:Setting:Entity.ListPersistenceMode"
|
|
701
590
|
}
|
|
@@ -1277,23 +1166,16 @@ declare class AXPStickyDirective {
|
|
|
1277
1166
|
private _isSticky;
|
|
1278
1167
|
get isSticky(): boolean;
|
|
1279
1168
|
set isSticky(value: boolean);
|
|
1169
|
+
private topOffset;
|
|
1280
1170
|
private parentElement;
|
|
1281
1171
|
private targetElement;
|
|
1282
1172
|
private mutationObserver;
|
|
1283
|
-
private readonly onWindowResize;
|
|
1284
1173
|
stickyParent: string | HTMLElement;
|
|
1285
1174
|
stickyTarget: string;
|
|
1286
1175
|
constructor(element: ElementRef<HTMLDivElement>, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
1287
1176
|
ngAfterViewInit(): void;
|
|
1288
1177
|
private initSticky;
|
|
1289
|
-
private
|
|
1290
|
-
/**
|
|
1291
|
-
* Toggle stuck styling only while this element is visually pinned (matches `position: sticky; top: 0`).
|
|
1292
|
-
* Scroll-offset thresholds would stay true for every section already passed, so multiple stacked stickies
|
|
1293
|
-
* would all keep `--stuck`; geometry fixes that.
|
|
1294
|
-
*/
|
|
1295
|
-
private computeShouldStick;
|
|
1296
|
-
private applyStickyStateFromScrollPosition;
|
|
1178
|
+
private updateTopOffset;
|
|
1297
1179
|
private onParentScroll;
|
|
1298
1180
|
private toggleStickyClasses;
|
|
1299
1181
|
ngOnDestroy(): void;
|
|
@@ -1301,18 +1183,6 @@ declare class AXPStickyDirective {
|
|
|
1301
1183
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXPStickyDirective, "[axpSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
1302
1184
|
}
|
|
1303
1185
|
|
|
1304
|
-
/**
|
|
1305
|
-
* Registered menu items (raw tree flattened) for select widgets via dataSource name {@link MENU_ITEMS_DATASOURCE_NAME}.
|
|
1306
|
-
*/
|
|
1307
|
-
declare const MENU_ITEMS_DATASOURCE_NAME = "platform-menu-items";
|
|
1308
|
-
/**
|
|
1309
|
-
* Data source definition for menu items from {@link AXPMenuProviderService#rawItems}.
|
|
1310
|
-
*/
|
|
1311
|
-
declare class AXPMenuItemsDataSourceDefinition implements AXPDataSourceDefinitionProvider {
|
|
1312
|
-
private readonly menuProviderService;
|
|
1313
|
-
items(): Promise<AXPDataSourceDefinition[]>;
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
1186
|
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
1317
1187
|
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
1318
1188
|
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
@@ -1704,8 +1574,8 @@ interface AXPSearchResult {
|
|
|
1704
1574
|
id?: string;
|
|
1705
1575
|
group: string;
|
|
1706
1576
|
data?: any;
|
|
1707
|
-
title?: string
|
|
1708
|
-
description?: string
|
|
1577
|
+
title?: string;
|
|
1578
|
+
description?: string;
|
|
1709
1579
|
icon?: string;
|
|
1710
1580
|
command: AXPExecuteCommand;
|
|
1711
1581
|
parent?: AXPSearchParentResult;
|
|
@@ -1721,8 +1591,8 @@ interface AXPSearchDisplayResult {
|
|
|
1721
1591
|
definitionName?: string;
|
|
1722
1592
|
definitionTitle?: string;
|
|
1723
1593
|
name: string;
|
|
1724
|
-
title: string
|
|
1725
|
-
description?: string
|
|
1594
|
+
title: string;
|
|
1595
|
+
description?: string;
|
|
1726
1596
|
icon: string;
|
|
1727
1597
|
data?: any;
|
|
1728
1598
|
order?: any;
|
|
@@ -1794,7 +1664,6 @@ interface AXPSearchProvider {
|
|
|
1794
1664
|
search(text: string): Promise<AXPSearchResult[]>;
|
|
1795
1665
|
}
|
|
1796
1666
|
declare abstract class AXPSearchCommandProvider {
|
|
1797
|
-
private readonly translationService;
|
|
1798
1667
|
abstract commands: AXPSearchResult[];
|
|
1799
1668
|
search(text: string): Promise<AXPSearchResult[]>;
|
|
1800
1669
|
}
|
|
@@ -1804,39 +1673,11 @@ declare class AXPSearchService {
|
|
|
1804
1673
|
private providers;
|
|
1805
1674
|
private definitionService;
|
|
1806
1675
|
private formatService;
|
|
1807
|
-
private translationService;
|
|
1808
1676
|
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
1809
1677
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchService, never>;
|
|
1810
1678
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchService>;
|
|
1811
1679
|
}
|
|
1812
1680
|
|
|
1813
|
-
/**
|
|
1814
|
-
* Shared utility for creating Entity:Create command options used in search command providers.
|
|
1815
|
-
* Use with command: { name: 'Entity:Create', options: createEntityCommandOptions(...) }
|
|
1816
|
-
*/
|
|
1817
|
-
declare function createEntityCommandOptions(entityKey: string, entityInfo: {
|
|
1818
|
-
name: string;
|
|
1819
|
-
module: string;
|
|
1820
|
-
title: string;
|
|
1821
|
-
}): Record<string, unknown>;
|
|
1822
|
-
/**
|
|
1823
|
-
* Creates a search command for "Create {Entity}" with consistent i18n pattern.
|
|
1824
|
-
* Use titleKey/descriptionKey from module (e.g. @module:entity.permissions.create.title).
|
|
1825
|
-
* Standard: "Create {Entity}" for title, "Create new {entities}" for description.
|
|
1826
|
-
*/
|
|
1827
|
-
declare function createEntitySearchCommand(config: {
|
|
1828
|
-
id: string;
|
|
1829
|
-
entityKey: string;
|
|
1830
|
-
entityInfo: {
|
|
1831
|
-
name: string;
|
|
1832
|
-
module: string;
|
|
1833
|
-
title: string;
|
|
1834
|
-
};
|
|
1835
|
-
titleKey: string;
|
|
1836
|
-
descriptionKey?: string;
|
|
1837
|
-
icon: string;
|
|
1838
|
-
}): AXPSearchResult;
|
|
1839
|
-
|
|
1840
1681
|
declare class AXPMenuSearchDefinitionProvider implements AXPSearchDefinitionProvider {
|
|
1841
1682
|
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1842
1683
|
}
|
|
@@ -1909,65 +1750,10 @@ declare abstract class AXPLockService {
|
|
|
1909
1750
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPLockService>;
|
|
1910
1751
|
}
|
|
1911
1752
|
|
|
1912
|
-
/**
|
|
1913
|
-
* Synchronous access to default multi-language behavior for named entity fields and widget
|
|
1914
|
-
* property bindings. Mirrors {@link AXPLayoutOrderingConfigService}: avoids async in entity
|
|
1915
|
-
* modifiers and startup deadlocks.
|
|
1916
|
-
*/
|
|
1917
|
-
declare class AXPDefaultMultiLanguageConfigService {
|
|
1918
|
-
private readonly settingsService;
|
|
1919
|
-
private readonly _applyDefault;
|
|
1920
|
-
private syncScheduled;
|
|
1921
|
-
constructor();
|
|
1922
|
-
getApplyDefaultMultiLanguage(): boolean;
|
|
1923
|
-
private syncFromSettings;
|
|
1924
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDefaultMultiLanguageConfigService, never>;
|
|
1925
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDefaultMultiLanguageConfigService>;
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
/**
|
|
1929
|
-
* Shared multi-language defaults for entity properties and widget property bindings.
|
|
1930
|
-
*
|
|
1931
|
-
* **Circular dependencies:** use only `import type` for `AXPWidgetProperty` and
|
|
1932
|
-
* `AXPEntityProperty` so this module has no runtime imports from widget-core or application
|
|
1933
|
-
* types — `@acorex/platform/layout/widget-core` does not import `@acorex/platform/common`.
|
|
1934
|
-
*/
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* Widget types that support the multiLanguage option (text / rich text editors).
|
|
1938
|
-
*/
|
|
1939
|
-
declare const MULTILANGUAGE_CAPABLE_WIDGET_TYPES: Set<string>;
|
|
1940
|
-
/**
|
|
1941
|
-
* Common property names / binding path segments that are usually translatable when the feature is
|
|
1942
|
-
* enabled in settings. Explicit `multiLanguage` on the property still wins.
|
|
1943
|
-
*/
|
|
1944
|
-
declare const DEFAULT_MULTILANGUAGE_FIELD_NAMES: Set<string>;
|
|
1945
|
-
declare function shouldApplyDefaultMultiLanguageToEntityProperty(prop: AXPEntityProperty): boolean;
|
|
1946
|
-
declare function shouldApplyDefaultMultiLanguageToWidgetProperty(prop: AXPWidgetProperty): boolean;
|
|
1947
|
-
/**
|
|
1948
|
-
* Leaf widget nodes in entity `schema.interface` trees (e.g. GridLayout → RichText under `pre` /
|
|
1949
|
-
* `post`) — same path/type rules as {@link shouldApplyDefaultMultiLanguageToWidgetProperty}, without
|
|
1950
|
-
* `schema.dataType` (nodes do not carry entity schema).
|
|
1951
|
-
*/
|
|
1952
|
-
declare function shouldApplyDefaultMultiLanguageToWidgetNode(node: AXPWidgetNode): boolean;
|
|
1953
|
-
/**
|
|
1954
|
-
* When {@link AXPDefaultMultiLanguageConfigService#getApplyDefaultMultiLanguage} is true, sets
|
|
1955
|
-
* `options.multiLanguage` on eligible editor leaves inside an entity property's widget tree
|
|
1956
|
-
* (including nested layouts). Used by entity middleware so object fields (e.g. `pre`, `post`) are
|
|
1957
|
-
* covered, not only top-level string properties.
|
|
1958
|
-
*/
|
|
1959
|
-
declare function withDefaultMultiLanguageOnWidgetNodeTree(root: AXPWidgetNode | undefined | null, applyDefault: boolean): AXPWidgetNode | undefined | null;
|
|
1960
|
-
/**
|
|
1961
|
-
* When {@link AXPDefaultMultiLanguageConfigService#getApplyDefaultMultiLanguage} is true, sets
|
|
1962
|
-
* `schema.interface.options.multiLanguage` for eligible string widget properties (same rules as
|
|
1963
|
-
* entity middleware), unless the property already specifies `multiLanguage`.
|
|
1964
|
-
*/
|
|
1965
|
-
declare function withDefaultMultiLanguageOnWidgetProperty(prop: AXPWidgetProperty, applyDefault: boolean): AXPWidgetProperty;
|
|
1966
|
-
|
|
1967
1753
|
declare class AXPSettingDefinitionProviderContext {
|
|
1968
1754
|
private rootGroups;
|
|
1969
1755
|
private groupMap;
|
|
1970
|
-
addGroup(name: string, title: string, description?: string, icon?: string
|
|
1756
|
+
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
1971
1757
|
group(name: string): AXPSettingDefinitionGroupBuilder | null;
|
|
1972
1758
|
getGroups(): AXPSettingDefinitionGroup[];
|
|
1973
1759
|
hasGroup(name: string): boolean;
|
|
@@ -1979,7 +1765,7 @@ declare class AXPSettingDefinitionGroupBuilder {
|
|
|
1979
1765
|
constructor(context: AXPSettingDefinitionProviderContext, group: AXPSettingDefinitionGroup);
|
|
1980
1766
|
addSection(name: string, title: string, description?: string): AXPSettingDefinitionSectionBuilder;
|
|
1981
1767
|
section(name: string): AXPSettingDefinitionSectionBuilder | null;
|
|
1982
|
-
addGroup(name: string, title: string, description?: string, icon?: string
|
|
1768
|
+
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
1983
1769
|
endGroup(): AXPSettingDefinitionProviderContext;
|
|
1984
1770
|
}
|
|
1985
1771
|
declare class AXPSettingDefinitionSectionBuilder {
|
|
@@ -1997,7 +1783,6 @@ declare class AXPSettingDefinitionSectionBuilder {
|
|
|
1997
1783
|
layout?: AXPGridLayoutOptions;
|
|
1998
1784
|
};
|
|
1999
1785
|
description?: string;
|
|
2000
|
-
searchTagKeys?: string[];
|
|
2001
1786
|
isRequired?: boolean;
|
|
2002
1787
|
isInherited?: boolean;
|
|
2003
1788
|
isEncrypted?: boolean;
|
|
@@ -2038,8 +1823,6 @@ interface AXPSettingDefinition {
|
|
|
2038
1823
|
name: string;
|
|
2039
1824
|
title: string;
|
|
2040
1825
|
description?: string;
|
|
2041
|
-
/** Optional i18n keys (e.g. `@scope:key`) whose translated values are included in settings search. */
|
|
2042
|
-
searchTagKeys?: string[];
|
|
2043
1826
|
widget: AXPWidgetNode;
|
|
2044
1827
|
layout?: AXPGridLayoutOptions;
|
|
2045
1828
|
scope: AXPPlatformScopeKey;
|
|
@@ -2051,10 +1834,7 @@ interface AXPSettingDefinition {
|
|
|
2051
1834
|
}
|
|
2052
1835
|
interface AXPSettingDefinitionGroup {
|
|
2053
1836
|
name: string;
|
|
2054
|
-
/** Short label (e.g. sidebar); i18n key when using the translation pipe. */
|
|
2055
1837
|
title: string;
|
|
2056
|
-
/** Optional fuller page heading; i18n key. When omitted, `title` is used for the page header. */
|
|
2057
|
-
pageTitle?: string;
|
|
2058
1838
|
icon?: string;
|
|
2059
1839
|
description?: string;
|
|
2060
1840
|
groups: AXPSettingDefinitionGroup[];
|
|
@@ -2105,25 +1885,6 @@ declare class AXPSettingDefaultValuesAggregatorService {
|
|
|
2105
1885
|
|
|
2106
1886
|
declare const AXP_SETTING_VALUE_PROVIDER: InjectionToken<AXPSettingValueProvider[]>;
|
|
2107
1887
|
|
|
2108
|
-
/**
|
|
2109
|
-
* Supported primitive coercions for persisted setting values (including `{ value: ... }` wrappers).
|
|
2110
|
-
*/
|
|
2111
|
-
type AXPSettingCoercionKind = 'string' | 'boolean' | 'number' | 'date';
|
|
2112
|
-
/**
|
|
2113
|
-
* If the payload uses the common `{ value: T }` shape from setting widgets, returns the inner value; otherwise returns `raw`.
|
|
2114
|
-
*/
|
|
2115
|
-
declare function peelSettingValueKey(raw: unknown): unknown;
|
|
2116
|
-
/**
|
|
2117
|
-
* Picks a primitive coercion kind from the setting definition default and/or the effective stored value.
|
|
2118
|
-
* Type argument `T` on the settings service `get` method is compile-time only; runtime behavior follows this inference.
|
|
2119
|
-
*/
|
|
2120
|
-
declare function inferSettingCoercionKind(defaultSample: unknown, effective: unknown): AXPSettingCoercionKind | null;
|
|
2121
|
-
declare function coerceAXPSettingRawValueByKind(raw: unknown, kind: AXPSettingCoercionKind): string | boolean | number | Date;
|
|
2122
|
-
declare function coerceAXPSettingRawValue(raw: unknown, kind: 'string'): string;
|
|
2123
|
-
declare function coerceAXPSettingRawValue(raw: unknown, kind: 'boolean'): boolean;
|
|
2124
|
-
declare function coerceAXPSettingRawValue(raw: unknown, kind: 'number'): number;
|
|
2125
|
-
declare function coerceAXPSettingRawValue(raw: unknown, kind: 'date'): Date;
|
|
2126
|
-
|
|
2127
1888
|
interface AXPSettingsServiceInterface {
|
|
2128
1889
|
load(): Promise<AXPSettingValue[]>;
|
|
2129
1890
|
get<T = any>(key: string): Promise<T>;
|
|
@@ -2141,16 +1902,7 @@ declare class AXPSettingsService implements AXPSettingsServiceInterface {
|
|
|
2141
1902
|
constructor();
|
|
2142
1903
|
reload(): Promise<void>;
|
|
2143
1904
|
load(): Promise<AXPSettingValue[]>;
|
|
2144
|
-
/**
|
|
2145
|
-
* Returns the effective setting value. Primitive coercion (string, boolean, number, date) is inferred from the
|
|
2146
|
-
* definition default and/or the stored shape (including `{ value: ... }`). Type argument `T` is compile-time only;
|
|
2147
|
-
* it is not read at runtime—use it to document the expected result (e.g. `get<boolean>(key)`).
|
|
2148
|
-
*/
|
|
2149
1905
|
get<T = any>(key: string): Promise<T>;
|
|
2150
|
-
/**
|
|
2151
|
-
* Effective value (user → tenant → platform) when set; otherwise the definition default. Used for reads and coercion hints.
|
|
2152
|
-
*/
|
|
2153
|
-
private resolveEffectiveAndDefault;
|
|
2154
1906
|
defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
|
|
2155
1907
|
scope(scope: AXPPlatformScope): ScopedSettingService;
|
|
2156
1908
|
invokeChangeEvent(event: AXPSettingChangedEvent): void;
|
|
@@ -2172,17 +1924,9 @@ declare class ScopedSettingService {
|
|
|
2172
1924
|
}
|
|
2173
1925
|
|
|
2174
1926
|
/**
|
|
2175
|
-
*
|
|
2176
|
-
*
|
|
2177
|
-
|
|
2178
|
-
declare class AXPSettingsEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {
|
|
2179
|
-
private readonly settingsService;
|
|
2180
|
-
provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void>;
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
/**
|
|
2184
|
-
* Regional and locale-related setting keys used by platform widgets and components.
|
|
2185
|
-
* Most values use the `LocaleManagement:Setting:Regional.*` prefix; definitions live in the locale-management module where applicable.
|
|
1927
|
+
* Regional settings keys for date, time, and locale formatting.
|
|
1928
|
+
* These keys are used by platform widgets and components to access regional settings.
|
|
1929
|
+
* The actual setting definitions and providers are implemented in the locale-management module.
|
|
2186
1930
|
*/
|
|
2187
1931
|
declare enum AXPRegionalSetting {
|
|
2188
1932
|
LocaleProfile = "LocaleManagement:Setting:Regional.LocaleProfile",
|
|
@@ -2204,9 +1948,7 @@ declare enum AXPRegionalSetting {
|
|
|
2204
1948
|
WeightUnits = "LocaleManagement:Setting:Regional.WeightUnits",
|
|
2205
1949
|
VolumeUnits = "LocaleManagement:Setting:Regional.VolumeUnits",
|
|
2206
1950
|
SpeedUnits = "LocaleManagement:Setting:Regional.SpeedUnits",
|
|
2207
|
-
AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits"
|
|
2208
|
-
/** Default multi-language behavior for standard text field names; defined in locale-management `AXMRegionalSettingProvider`. */
|
|
2209
|
-
MultiLanguageSupport = "LocaleManagement:Setting:Regional.MultiLanguageSupport"
|
|
1951
|
+
AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits"
|
|
2210
1952
|
}
|
|
2211
1953
|
|
|
2212
1954
|
/**
|
|
@@ -2414,10 +2156,6 @@ declare class AXPStatusDefinitionProviderService {
|
|
|
2414
2156
|
* Checks if the transition exists in the provider's transitions list
|
|
2415
2157
|
*/
|
|
2416
2158
|
private isValidTransition;
|
|
2417
|
-
/**
|
|
2418
|
-
* Best-effort plain string for {@link Error} messages (no i18n lookup).
|
|
2419
|
-
*/
|
|
2420
|
-
private commandMessageTextForError;
|
|
2421
2159
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStatusDefinitionProviderService, never>;
|
|
2422
2160
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPStatusDefinitionProviderService>;
|
|
2423
2161
|
}
|
|
@@ -2821,16 +2559,6 @@ interface AXPCurrency {
|
|
|
2821
2559
|
format: string;
|
|
2822
2560
|
}
|
|
2823
2561
|
|
|
2824
|
-
/**
|
|
2825
|
-
* Narrow API for reading app locale profiles and active languages.
|
|
2826
|
-
* Implemented by locale-management; consumed by platform layout without importing the module (avoids circular deps).
|
|
2827
|
-
*/
|
|
2828
|
-
interface AXPLocaleManagementPort {
|
|
2829
|
-
getLocaleProfiles(): Promise<AXPLocaleProfile[]>;
|
|
2830
|
-
getLanguages(): Promise<AXPLanguage[]>;
|
|
2831
|
-
}
|
|
2832
|
-
declare const AXP_LOCALE_MANAGEMENT_PORT: InjectionToken<AXPLocaleManagementPort>;
|
|
2833
|
-
|
|
2834
2562
|
interface AXPVersionStream {
|
|
2835
2563
|
id: string;
|
|
2836
2564
|
entityType: string;
|
|
@@ -2984,5 +2712,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
2984
2712
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
2985
2713
|
}
|
|
2986
2714
|
|
|
2987
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService,
|
|
2988
|
-
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView,
|
|
2715
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalSetting, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPStickyDirective, AXPSystemStatusType, AXPSystemStatuses, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TOKEN_DEFINITION_PROVIDER, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, configPlatform, createAllQueryView, createMenuContext, createMenuMiddleware, createQueryView, getEntityInfo, getStatusInfo, getSystemStatus, provideDynamicHomePage, provideMenuMiddleware, resolveStatusLook, systemStatusToDefinition };
|
|
2716
|
+
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXEntityPropertyWidget, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityVersionHistory, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|