@acorex/platform 20.8.9 → 20.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-auth.mjs +125 -27
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-DVvuLUfF.mjs → acorex-platform-common-common-settings.provider-Bi1RYif5.mjs} +30 -32
- package/fesm2022/acorex-platform-common-common-settings.provider-Bi1RYif5.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +711 -205
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +420 -127
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +557 -826
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +634 -114
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs → acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs} +9 -9
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CXEdvDTf.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-components.mjs +3365 -880
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +456 -204
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +18667 -14048
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +413 -171
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +507 -441
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs → acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dy7jF-oD.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs → acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs} +21 -76
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs → acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs} +6 -7
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-C_EPAvCU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs → acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs} +12 -12
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-D10yO28c.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs +116 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGO75IMz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-Vo4fWHtX.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +6578 -4314
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +8 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +391 -166
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs → acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs} +16 -23
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-53VB-PS_.mjs → acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-401.component-C7EYJzSr.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DVF9soT5.mjs → acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-default-error-404.component-7MVLMwIa.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs +19 -0
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DR6G8gPC.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +1784 -61
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs → acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-CqkWJYdv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs} +6 -6
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BOTuLdWN.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs → acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs} +24 -25
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs +94 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-D566Kdvy.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs +86 -0
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-D7-rCGl7.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +408 -305
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +359 -100
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/package.json +31 -31
- package/{auth/index.d.ts → types/acorex-platform-auth.d.ts} +14 -2
- package/{common/index.d.ts → types/acorex-platform-common.d.ts} +302 -30
- package/{core/index.d.ts → types/acorex-platform-core.d.ts} +188 -44
- package/{domain/index.d.ts → types/acorex-platform-domain.d.ts} +744 -412
- package/{layout/builder/index.d.ts → types/acorex-platform-layout-builder.d.ts} +160 -38
- package/{layout/components/index.d.ts → types/acorex-platform-layout-components.d.ts} +854 -125
- package/{layout/designer/index.d.ts → types/acorex-platform-layout-designer.d.ts} +96 -18
- package/{layout/entity/index.d.ts → types/acorex-platform-layout-entity.d.ts} +848 -63
- package/{layout/views/index.d.ts → types/acorex-platform-layout-views.d.ts} +80 -47
- package/{layout/widget-core/index.d.ts → types/acorex-platform-layout-widget-core.d.ts} +274 -197
- package/{layout/widgets/index.d.ts → types/acorex-platform-layout-widgets.d.ts} +608 -122
- package/{native/index.d.ts → types/acorex-platform-native.d.ts} +0 -7
- package/types/acorex-platform-runtime.d.ts +571 -0
- package/{themes/default/index.d.ts → types/acorex-platform-themes-default.d.ts} +113 -4
- package/{themes/shared/index.d.ts → types/acorex-platform-themes-shared.d.ts} +5 -4
- package/{workflow/index.d.ts → types/acorex-platform-workflow.d.ts} +162 -81
- package/fesm2022/acorex-platform-common-common-settings.provider-DVvuLUfF.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-CSxCnzwU.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-CPBzE96V.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-Dtv6U3df.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-QxJfswhK.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-CVdssZBD.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs +0 -111
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BCxE0RTB.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DVaZN9QN.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DPGHgXa6.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-CdiNW691.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D4hU2SCE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs +0 -1716
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D2CtNrSn.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs +0 -120
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BVTklnzs.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-rGsMVAZj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-53VB-PS_.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-DVF9soT5.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-CwNNHzZn.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-TJ9PWHMY.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BHcKkIx0.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DSs1o1M6.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs +0 -65
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BUPs84MI.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs +0 -64
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BotknoHn.mjs.map +0 -1
- package/runtime/index.d.ts +0 -307
- /package/{index.d.ts → types/acorex-platform.d.ts} +0 -0
|
@@ -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, 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';
|
|
7
|
+
import { AXPValueTransformerFunctions, AXPMultiLanguageString, AXPOptionsData, AXPExpression, AXPFilterDefinition, AXPMetaData, AXPSystemActionType, AXPValidationRules, AXPGridLayoutOptions, AXPLogoConfig, AXPFileListItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPNavigateActionCommand, AXPExecuteCommand, AXPApplicationUserReference, AXPEntityReference, AXPPlatformScopeKey, AXPWidgetTriggers, AXPPlatformScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext } from '@acorex/platform/core';
|
|
8
|
+
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode, AXPWidgetProperty } 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,7 +38,6 @@ interface AXEntityPropertyWidget {
|
|
|
38
38
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
39
39
|
path?: string;
|
|
40
40
|
id?: string;
|
|
41
|
-
formula?: string;
|
|
42
41
|
children?: AXEntityPropertyWidget[];
|
|
43
42
|
mode: 'view' | 'edit';
|
|
44
43
|
options?: Record<string, any>;
|
|
@@ -81,6 +80,7 @@ interface AXPEntityPropertyLayoutConfig extends AXPGridLayoutOptions {
|
|
|
81
80
|
visible?: boolean;
|
|
82
81
|
};
|
|
83
82
|
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' | 'none';
|
|
219
219
|
separated?: boolean;
|
|
220
220
|
permissions?: string[];
|
|
221
221
|
hidden?: boolean | string;
|
|
@@ -225,6 +225,8 @@ 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[];
|
|
228
230
|
}
|
|
229
231
|
interface AXPEntity {
|
|
230
232
|
plugins?: {
|
|
@@ -265,6 +267,7 @@ interface AXPEntity {
|
|
|
265
267
|
};
|
|
266
268
|
};
|
|
267
269
|
relatedEntities?: AXPRelatedEntity[];
|
|
270
|
+
pages?: AXPEntityPage[];
|
|
268
271
|
groups?: AXPEntityPropertyGroup[];
|
|
269
272
|
properties: AXPEntityProperty[];
|
|
270
273
|
columns?: AXPEntityTableColumn[];
|
|
@@ -318,25 +321,30 @@ interface AXPRelatedEntity {
|
|
|
318
321
|
entity: string;
|
|
319
322
|
title?: string;
|
|
320
323
|
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
|
-
*/
|
|
325
324
|
columns?: string[] | AXPEntityTableColumn[];
|
|
326
325
|
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
|
-
/**
|
|
334
|
-
* Optional toolbar filter definitions merged when the related list is built.
|
|
335
|
-
* Entries matching an existing property `field` override/extend that filter definition.
|
|
336
|
-
*/
|
|
337
333
|
customFilterDefinitions?: Partial<AXPFilterDefinition>[];
|
|
338
|
-
hidden?: boolean |
|
|
334
|
+
hidden?: boolean | AXPExpression;
|
|
339
335
|
actions?: AXPEntityAction[];
|
|
336
|
+
/**
|
|
337
|
+
* Controls inclusion on the host entity master **create** / **update** form.
|
|
338
|
+
* Defaults depend on layout:
|
|
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`).
|
|
341
|
+
*/
|
|
342
|
+
appearOn?: {
|
|
343
|
+
/** Include on host create form (see defaults above per layout type). */
|
|
344
|
+
create?: boolean;
|
|
345
|
+
/** Include on host update form (see defaults above per layout type). */
|
|
346
|
+
update?: boolean;
|
|
347
|
+
};
|
|
340
348
|
/**
|
|
341
349
|
* Relationship-level persistence strategy for merge-detail data.
|
|
342
350
|
* Defaults:
|
|
@@ -355,7 +363,53 @@ interface AXPRelatedEntity {
|
|
|
355
363
|
cascade?: {
|
|
356
364
|
delete?: 'none' | 'orphans' | 'all';
|
|
357
365
|
};
|
|
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';
|
|
358
403
|
};
|
|
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>;
|
|
359
413
|
}
|
|
360
414
|
interface AXPCategoryEntity {
|
|
361
415
|
entity: string;
|
|
@@ -373,18 +427,18 @@ interface AXPEntityVersionHistory {
|
|
|
373
427
|
interface AXPAggregate {
|
|
374
428
|
id: string;
|
|
375
429
|
name: string;
|
|
376
|
-
title:
|
|
430
|
+
title: AXPMultiLanguageString;
|
|
377
431
|
entities: AXPEntity[];
|
|
378
432
|
}
|
|
379
433
|
interface AXPModule {
|
|
380
434
|
name: string;
|
|
381
|
-
title:
|
|
435
|
+
title: AXPMultiLanguageString;
|
|
382
436
|
aggregates: AXPAggregate[];
|
|
383
437
|
relationships?: AXPRelationship[];
|
|
384
438
|
}
|
|
385
439
|
interface AXPApplication {
|
|
386
440
|
name: string;
|
|
387
|
-
title:
|
|
441
|
+
title: AXPMultiLanguageString;
|
|
388
442
|
modules: AXPModule[];
|
|
389
443
|
}
|
|
390
444
|
interface AXPEntityMasterLayoutView {
|
|
@@ -392,12 +446,23 @@ interface AXPEntityMasterLayoutView {
|
|
|
392
446
|
sections: AXPEntitySectionView[];
|
|
393
447
|
properties?: AXPEntityPropertyView[];
|
|
394
448
|
}
|
|
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
|
+
}
|
|
395
458
|
interface AXPEntityMasterCreateLayoutView extends AXPEntityMasterLayoutView {
|
|
396
459
|
steps?: {
|
|
397
460
|
id: string;
|
|
398
461
|
title: string;
|
|
399
462
|
description?: string;
|
|
400
463
|
};
|
|
464
|
+
/** Quick create config for lookup widgets - uses subset of create form */
|
|
465
|
+
quickCreate?: AXPEntityQuickCreate;
|
|
401
466
|
}
|
|
402
467
|
interface AXPEntityMasterUpdateLayoutView extends AXPEntityMasterLayoutView {
|
|
403
468
|
}
|
|
@@ -444,6 +509,51 @@ interface AXPQuerySort {
|
|
|
444
509
|
name: string;
|
|
445
510
|
dir: 'asc' | 'desc';
|
|
446
511
|
}
|
|
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
|
+
}
|
|
447
557
|
|
|
448
558
|
interface AXPFilterOperator {
|
|
449
559
|
name: string;
|
|
@@ -585,6 +695,7 @@ declare enum AXPCommonSettings {
|
|
|
585
695
|
ApplyLayoutOrdering = "Common:Setting:Entity.ApplyLayoutOrdering",
|
|
586
696
|
RedirectToDetailsAfterCreate = "Common:Setting:Entity.RedirectToDetailsAfterCreate",
|
|
587
697
|
ShowPageBadge = "Common:Setting:Entity.ShowPageBadge",
|
|
698
|
+
DebugMode = "PlatformDevTools:Setting:Developer.DebugMode",
|
|
588
699
|
ShowRowIndexColumn = "Common:Setting:Entity.ShowRowIndexColumn",
|
|
589
700
|
EntityListPersistenceMode = "Common:Setting:Entity.ListPersistenceMode"
|
|
590
701
|
}
|
|
@@ -1166,16 +1277,23 @@ declare class AXPStickyDirective {
|
|
|
1166
1277
|
private _isSticky;
|
|
1167
1278
|
get isSticky(): boolean;
|
|
1168
1279
|
set isSticky(value: boolean);
|
|
1169
|
-
private topOffset;
|
|
1170
1280
|
private parentElement;
|
|
1171
1281
|
private targetElement;
|
|
1172
1282
|
private mutationObserver;
|
|
1283
|
+
private readonly onWindowResize;
|
|
1173
1284
|
stickyParent: string | HTMLElement;
|
|
1174
1285
|
stickyTarget: string;
|
|
1175
1286
|
constructor(element: ElementRef<HTMLDivElement>, renderer: Renderer2, zone: NgZone, cdr: ChangeDetectorRef);
|
|
1176
1287
|
ngAfterViewInit(): void;
|
|
1177
1288
|
private initSticky;
|
|
1178
|
-
private
|
|
1289
|
+
private getScrollTop;
|
|
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;
|
|
1179
1297
|
private onParentScroll;
|
|
1180
1298
|
private toggleStickyClasses;
|
|
1181
1299
|
ngOnDestroy(): void;
|
|
@@ -1183,6 +1301,18 @@ declare class AXPStickyDirective {
|
|
|
1183
1301
|
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>;
|
|
1184
1302
|
}
|
|
1185
1303
|
|
|
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
|
+
|
|
1186
1316
|
type AXPMenuInsertion = 'before' | 'after' | 'inside';
|
|
1187
1317
|
type AXPMenuType = 'menu' | 'group' | 'break';
|
|
1188
1318
|
type AXPMenuItemCommand = AXPNavigateActionCommand<'modal' | 'router'> | AXPExecuteCommand;
|
|
@@ -1574,8 +1704,8 @@ interface AXPSearchResult {
|
|
|
1574
1704
|
id?: string;
|
|
1575
1705
|
group: string;
|
|
1576
1706
|
data?: any;
|
|
1577
|
-
title?: string;
|
|
1578
|
-
description?: string;
|
|
1707
|
+
title?: string | AXPMultiLanguageString;
|
|
1708
|
+
description?: string | AXPMultiLanguageString;
|
|
1579
1709
|
icon?: string;
|
|
1580
1710
|
command: AXPExecuteCommand;
|
|
1581
1711
|
parent?: AXPSearchParentResult;
|
|
@@ -1591,8 +1721,8 @@ interface AXPSearchDisplayResult {
|
|
|
1591
1721
|
definitionName?: string;
|
|
1592
1722
|
definitionTitle?: string;
|
|
1593
1723
|
name: string;
|
|
1594
|
-
title: string;
|
|
1595
|
-
description?: string;
|
|
1724
|
+
title: string | AXPMultiLanguageString;
|
|
1725
|
+
description?: string | AXPMultiLanguageString;
|
|
1596
1726
|
icon: string;
|
|
1597
1727
|
data?: any;
|
|
1598
1728
|
order?: any;
|
|
@@ -1664,6 +1794,7 @@ interface AXPSearchProvider {
|
|
|
1664
1794
|
search(text: string): Promise<AXPSearchResult[]>;
|
|
1665
1795
|
}
|
|
1666
1796
|
declare abstract class AXPSearchCommandProvider {
|
|
1797
|
+
private readonly translationService;
|
|
1667
1798
|
abstract commands: AXPSearchResult[];
|
|
1668
1799
|
search(text: string): Promise<AXPSearchResult[]>;
|
|
1669
1800
|
}
|
|
@@ -1673,11 +1804,39 @@ declare class AXPSearchService {
|
|
|
1673
1804
|
private providers;
|
|
1674
1805
|
private definitionService;
|
|
1675
1806
|
private formatService;
|
|
1807
|
+
private translationService;
|
|
1676
1808
|
search(text: string): Promise<AXPSearchDisplayGroupResult[]>;
|
|
1677
1809
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPSearchService, never>;
|
|
1678
1810
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPSearchService>;
|
|
1679
1811
|
}
|
|
1680
1812
|
|
|
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
|
+
|
|
1681
1840
|
declare class AXPMenuSearchDefinitionProvider implements AXPSearchDefinitionProvider {
|
|
1682
1841
|
provide(context: AXPSearchDefinitionProviderContext): Promise<void>;
|
|
1683
1842
|
}
|
|
@@ -1750,10 +1909,65 @@ declare abstract class AXPLockService {
|
|
|
1750
1909
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPLockService>;
|
|
1751
1910
|
}
|
|
1752
1911
|
|
|
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
|
+
|
|
1753
1967
|
declare class AXPSettingDefinitionProviderContext {
|
|
1754
1968
|
private rootGroups;
|
|
1755
1969
|
private groupMap;
|
|
1756
|
-
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
1970
|
+
addGroup(name: string, title: string, description?: string, icon?: string, pageTitle?: string): AXPSettingDefinitionGroupBuilder;
|
|
1757
1971
|
group(name: string): AXPSettingDefinitionGroupBuilder | null;
|
|
1758
1972
|
getGroups(): AXPSettingDefinitionGroup[];
|
|
1759
1973
|
hasGroup(name: string): boolean;
|
|
@@ -1765,7 +1979,7 @@ declare class AXPSettingDefinitionGroupBuilder {
|
|
|
1765
1979
|
constructor(context: AXPSettingDefinitionProviderContext, group: AXPSettingDefinitionGroup);
|
|
1766
1980
|
addSection(name: string, title: string, description?: string): AXPSettingDefinitionSectionBuilder;
|
|
1767
1981
|
section(name: string): AXPSettingDefinitionSectionBuilder | null;
|
|
1768
|
-
addGroup(name: string, title: string, description?: string, icon?: string): AXPSettingDefinitionGroupBuilder;
|
|
1982
|
+
addGroup(name: string, title: string, description?: string, icon?: string, pageTitle?: string): AXPSettingDefinitionGroupBuilder;
|
|
1769
1983
|
endGroup(): AXPSettingDefinitionProviderContext;
|
|
1770
1984
|
}
|
|
1771
1985
|
declare class AXPSettingDefinitionSectionBuilder {
|
|
@@ -1783,6 +1997,7 @@ declare class AXPSettingDefinitionSectionBuilder {
|
|
|
1783
1997
|
layout?: AXPGridLayoutOptions;
|
|
1784
1998
|
};
|
|
1785
1999
|
description?: string;
|
|
2000
|
+
searchTagKeys?: string[];
|
|
1786
2001
|
isRequired?: boolean;
|
|
1787
2002
|
isInherited?: boolean;
|
|
1788
2003
|
isEncrypted?: boolean;
|
|
@@ -1823,6 +2038,8 @@ interface AXPSettingDefinition {
|
|
|
1823
2038
|
name: string;
|
|
1824
2039
|
title: string;
|
|
1825
2040
|
description?: string;
|
|
2041
|
+
/** Optional i18n keys (e.g. `@scope:key`) whose translated values are included in settings search. */
|
|
2042
|
+
searchTagKeys?: string[];
|
|
1826
2043
|
widget: AXPWidgetNode;
|
|
1827
2044
|
layout?: AXPGridLayoutOptions;
|
|
1828
2045
|
scope: AXPPlatformScopeKey;
|
|
@@ -1834,7 +2051,10 @@ interface AXPSettingDefinition {
|
|
|
1834
2051
|
}
|
|
1835
2052
|
interface AXPSettingDefinitionGroup {
|
|
1836
2053
|
name: string;
|
|
2054
|
+
/** Short label (e.g. sidebar); i18n key when using the translation pipe. */
|
|
1837
2055
|
title: string;
|
|
2056
|
+
/** Optional fuller page heading; i18n key. When omitted, `title` is used for the page header. */
|
|
2057
|
+
pageTitle?: string;
|
|
1838
2058
|
icon?: string;
|
|
1839
2059
|
description?: string;
|
|
1840
2060
|
groups: AXPSettingDefinitionGroup[];
|
|
@@ -1885,6 +2105,25 @@ declare class AXPSettingDefaultValuesAggregatorService {
|
|
|
1885
2105
|
|
|
1886
2106
|
declare const AXP_SETTING_VALUE_PROVIDER: InjectionToken<AXPSettingValueProvider[]>;
|
|
1887
2107
|
|
|
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
|
+
|
|
1888
2127
|
interface AXPSettingsServiceInterface {
|
|
1889
2128
|
load(): Promise<AXPSettingValue[]>;
|
|
1890
2129
|
get<T = any>(key: string): Promise<T>;
|
|
@@ -1902,7 +2141,16 @@ declare class AXPSettingsService implements AXPSettingsServiceInterface {
|
|
|
1902
2141
|
constructor();
|
|
1903
2142
|
reload(): Promise<void>;
|
|
1904
2143
|
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
|
+
*/
|
|
1905
2149
|
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;
|
|
1906
2154
|
defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
|
|
1907
2155
|
scope(scope: AXPPlatformScope): ScopedSettingService;
|
|
1908
2156
|
invokeChangeEvent(event: AXPSettingChangedEvent): void;
|
|
@@ -1924,9 +2172,17 @@ declare class ScopedSettingService {
|
|
|
1924
2172
|
}
|
|
1925
2173
|
|
|
1926
2174
|
/**
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
1929
|
-
|
|
2175
|
+
* Exposes platform settings in expression strings, e.g.
|
|
2176
|
+
* `{{ settings.get('Common:Setting:Entity.ShowPageBadge') }}`.
|
|
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.
|
|
1930
2186
|
*/
|
|
1931
2187
|
declare enum AXPRegionalSetting {
|
|
1932
2188
|
LocaleProfile = "LocaleManagement:Setting:Regional.LocaleProfile",
|
|
@@ -1948,7 +2204,9 @@ declare enum AXPRegionalSetting {
|
|
|
1948
2204
|
WeightUnits = "LocaleManagement:Setting:Regional.WeightUnits",
|
|
1949
2205
|
VolumeUnits = "LocaleManagement:Setting:Regional.VolumeUnits",
|
|
1950
2206
|
SpeedUnits = "LocaleManagement:Setting:Regional.SpeedUnits",
|
|
1951
|
-
AreaUnits = "LocaleManagement:Setting:Regional.AreaUnits"
|
|
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"
|
|
1952
2210
|
}
|
|
1953
2211
|
|
|
1954
2212
|
/**
|
|
@@ -2156,6 +2414,10 @@ declare class AXPStatusDefinitionProviderService {
|
|
|
2156
2414
|
* Checks if the transition exists in the provider's transitions list
|
|
2157
2415
|
*/
|
|
2158
2416
|
private isValidTransition;
|
|
2417
|
+
/**
|
|
2418
|
+
* Best-effort plain string for {@link Error} messages (no i18n lookup).
|
|
2419
|
+
*/
|
|
2420
|
+
private commandMessageTextForError;
|
|
2159
2421
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStatusDefinitionProviderService, never>;
|
|
2160
2422
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPStatusDefinitionProviderService>;
|
|
2161
2423
|
}
|
|
@@ -2559,6 +2821,16 @@ interface AXPCurrency {
|
|
|
2559
2821
|
format: string;
|
|
2560
2822
|
}
|
|
2561
2823
|
|
|
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
|
+
|
|
2562
2834
|
interface AXPVersionStream {
|
|
2563
2835
|
id: string;
|
|
2564
2836
|
entityType: string;
|
|
@@ -2712,5 +2984,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
2712
2984
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
2713
2985
|
}
|
|
2714
2986
|
|
|
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 };
|
|
2987
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDefaultMultiLanguageConfigService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPEntityType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuItemsDataSourceDefinition, 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, AXPSettingsEvaluatorScopeProvider, 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_LOCALE_MANAGEMENT_PORT, 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, DEFAULT_MULTILANGUAGE_FIELD_NAMES, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, MENU_ITEMS_DATASOURCE_NAME, MULTILANGUAGE_CAPABLE_WIDGET_TYPES, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, coerceAXPSettingRawValue, coerceAXPSettingRawValueByKind, configPlatform, createAllQueryView, createEntityCommandOptions, createEntitySearchCommand, createMenuContext, createMenuMiddleware, createQueryView, getEntityInfo, getStatusInfo, getSystemStatus, inferSettingCoercionKind, peelSettingValueKey, provideDynamicHomePage, provideMenuMiddleware, resolveStatusLook, shouldApplyDefaultMultiLanguageToEntityProperty, shouldApplyDefaultMultiLanguageToWidgetNode, shouldApplyDefaultMultiLanguageToWidgetProperty, systemStatusToDefinition, withDefaultMultiLanguageOnWidgetNodeTree, withDefaultMultiLanguageOnWidgetProperty };
|
|
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, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQuickCreate, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityV2, AXPEntityVersionHistory, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGroupSearchResult, AXPHomePageDefinition, AXPLanguage, AXPLocaleManagementPort, 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, AXPSettingCoercionKind, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|