@acorex/platform 21.0.0-next.24 → 21.0.0-next.33
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 +121 -27
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-gyb6ohAE.mjs → acorex-platform-common-common-settings.provider-G9XcXXOG.mjs} +46 -4
- package/fesm2022/acorex-platform-common-common-settings.provider-G9XcXXOG.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +677 -267
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +393 -111
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +554 -826
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +345 -59
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-components-binding-expression-editor-popup.component-Cb6Lk4Ch.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 +3373 -872
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +169 -154
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +14645 -11533
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +244 -170
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +367 -408
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-layout-widgets-button-widget-designer.component-Dnbx_uY7.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-B0omAUil.mjs → acorex-platform-layout-widgets-file-list-popup.component-9uCkMxcc.mjs} +30 -22
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-9uCkMxcc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-image-preview.popup-D-HFZHNZ.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-q30grR3z.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-BGQqY5Mw.mjs +111 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-BGQqY5Mw.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-BJh1QJqp.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-DmzNTYiS.mjs} +7 -7
- 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--rzP7scF.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-BNG_588B.mjs} +5 -5
- 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-DHlgsHa7.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 +5924 -4049
- 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 +220 -169
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cvvr4HnL.mjs +160 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Cvvr4HnL.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-TYoLN1Jq.mjs +120 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-TYoLN1Jq.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-di5w_3K2.mjs → acorex-platform-themes-default-entity-master-single-view.component-C2z5Lq9y.mjs} +15 -22
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-C2z5Lq9y.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D9NZ-6L_.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-CgB_tlPU.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 +1667 -61
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-column.component-Cmju9l91.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-Cp5Th57U.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.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BQxoUmYL.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-CHfrTtol.mjs} +4 -4
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-CHfrTtol.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-CTGy2kjJ.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-BSmvnUVq.mjs} +9 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BSmvnUVq.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +231 -227
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +208 -91
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/fesm2022/acorex-platform.mjs.map +1 -1
- package/package.json +34 -34
- package/{auth/index.d.ts → types/acorex-platform-auth.d.ts} +14 -2
- package/{common/index.d.ts → types/acorex-platform-common.d.ts} +189 -16
- package/{core/index.d.ts → types/acorex-platform-core.d.ts} +178 -15
- package/{domain/index.d.ts → types/acorex-platform-domain.d.ts} +719 -413
- package/{layout/builder/index.d.ts → types/acorex-platform-layout-builder.d.ts} +91 -42
- package/{layout/components/index.d.ts → types/acorex-platform-layout-components.d.ts} +893 -138
- package/{layout/designer/index.d.ts → types/acorex-platform-layout-designer.d.ts} +9 -3
- package/{layout/entity/index.d.ts → types/acorex-platform-layout-entity.d.ts} +515 -26
- package/{layout/views/index.d.ts → types/acorex-platform-layout-views.d.ts} +44 -9
- package/{layout/widget-core/index.d.ts → types/acorex-platform-layout-widget-core.d.ts} +146 -95
- package/{layout/widgets/index.d.ts → types/acorex-platform-layout-widgets.d.ts} +506 -98
- package/{native/index.d.ts → types/acorex-platform-native.d.ts} +0 -7
- package/{runtime/index.d.ts → types/acorex-platform-runtime.d.ts} +237 -74
- package/{themes/default/index.d.ts → types/acorex-platform-themes-default.d.ts} +104 -4
- package/{workflow/index.d.ts → types/acorex-platform-workflow.d.ts} +33 -30
- package/fesm2022/acorex-platform-common-common-settings.provider-gyb6ohAE.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-components-binding-expression-editor-popup.component-Cb6Lk4Ch.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-Dnbx_uY7.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-B0omAUil.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-image-preview.popup-D-HFZHNZ.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-q30grR3z.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-fcCirNxz.mjs +0 -111
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-fcCirNxz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-BJh1QJqp.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component--rzP7scF.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-DHlgsHa7.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D_ex0nL2.mjs +0 -160
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-D_ex0nL2.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BhDLyC5P.mjs +0 -1611
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BhDLyC5P.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CgLUnYRq.mjs +0 -99
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-CgLUnYRq.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-di5w_3K2.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-401.component-D9NZ-6L_.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-404.component-CgB_tlPU.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DlUrqVmj.mjs +0 -19
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DlUrqVmj.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-column.component-Cmju9l91.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Cp5Th57U.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BQxoUmYL.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CTGy2kjJ.mjs.map +0 -1
- /package/{themes/shared/index.d.ts → types/acorex-platform-themes-shared.d.ts} +0 -0
- /package/{index.d.ts → types/acorex-platform.d.ts} +0 -0
|
@@ -1,41 +1,108 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _acorex_platform_core from '@acorex/platform/core';
|
|
2
|
+
import { AXPExecuteCommandResult, AXPMetaData, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPGridLayoutOptions, AXPBreadcrumbItem, AXPFilterQuery, AXPFilterDefinition, AXPExecuteCommand, AXPUserReference, AXPQueryRequest, AXPPagedListResult, AXPCategoryEntity as AXPCategoryEntity$1, AXPEntityOp, AXPMiddlewareErrorResponse, AXHighlightService, AXPExpression, AXPMultiLanguageString, AXPColumnQuery, AXPSortDefinition, AXPDeviceService, AXPBroadcastEventService, AXPActionMenuItem, AXPContextChangeEvent } from '@acorex/platform/core';
|
|
2
3
|
import { AXPCommand, AXPQueryExecutor, AXPCommandService, AXPQuery } from '@acorex/platform/runtime';
|
|
3
4
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { ElementRef, InjectionToken, Injector, Type, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
5
|
+
import { ElementRef, InjectionToken, Injector, Type, EnvironmentProviders, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
5
6
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
6
7
|
import * as i3 from '@acorex/platform/layout/widget-core';
|
|
7
8
|
import { AXPWidgetNode, AXPWidgetColumnNode, AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetConfig, AXPWidgetRendererDirective } from '@acorex/platform/layout/widget-core';
|
|
8
|
-
import {
|
|
9
|
+
import { AXPPreloadFiltersApplyEvent, AXPColumnItemListItem, AXPDataSelectorAllowCreate, AXPCategoryTreeDataSource } from '@acorex/platform/layout/components';
|
|
10
|
+
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
11
|
+
import { AXStyleColorType, AXDataSource, AXDataSourceFilterOption, AXDataSourceSortOption, AXValueChangedEvent, AXClickEvent, AXFocusEvent, AXHtmlEvent } from '@acorex/cdk/common';
|
|
9
12
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
10
|
-
import { AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPRelatedEntity, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPEntityPropertyLayoutConfig, AXPQueryView, AXPEntityPropertyView, AXPCategoryEntity, AXPEntityPropertyGroup, AXPEntityMasterCreateLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterListView, AXPEntityDetailListView, AXPQueryFilter } from '@acorex/platform/common';
|
|
13
|
+
import { AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPRelatedEntity, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPEntityPropertyLayoutConfig, AXPQueryView, AXPEntityPropertyView, AXPCategoryEntity, AXPEntityPropertyGroup, AXPEntityMasterCreateLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterListView, AXPEntityDetailListView, AXPEntityPage, AXPQueryFilter } from '@acorex/platform/common';
|
|
11
14
|
import * as i1 from '@angular/router';
|
|
12
15
|
import { ResolveFn } from '@angular/router';
|
|
13
16
|
import * as rxjs from 'rxjs';
|
|
14
17
|
import { Subject } from 'rxjs';
|
|
18
|
+
export { AXPEntityDefinitionCrudService, AXP_ENTITY_DEFINITION_CRUD_SERVICE } from '@acorex/platform/domain';
|
|
15
19
|
import * as i2 from '@acorex/platform/workflow';
|
|
16
|
-
import { AXPWorkflowService, AXPWorkflowAction, AXPWorkflowContext
|
|
20
|
+
import { AXPWorkflowService, AXPWorkflow, AXPWorkflowAction, AXPWorkflowContext } from '@acorex/platform/workflow';
|
|
21
|
+
import * as i4 from '@acorex/platform/layout/builder';
|
|
22
|
+
import { IActionBuilder, AXPDialogRef, IFormFieldBuilder } from '@acorex/platform/layout/builder';
|
|
17
23
|
import { AXPSessionService } from '@acorex/platform/auth';
|
|
18
24
|
import { AXTreeViewNode, AXTreeViewComponent, AXTreeViewNodeSelectEvent } from '@acorex/components/tree-view';
|
|
19
|
-
import { AXTranslationService } from '@acorex/core/translation';
|
|
20
25
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
21
|
-
import { IActionBuilder, AXPDialogRef, IFormFieldBuilder } from '@acorex/platform/layout/builder';
|
|
22
26
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
23
27
|
import { AXFormatService } from '@acorex/core/format';
|
|
24
|
-
import { AXPColumnItemListItem, AXPDataSelectorAllowCreate, AXPCategoryTreeDataSource } from '@acorex/platform/layout/components';
|
|
25
28
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
26
|
-
import { AXPDataListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
29
|
+
import { AXPProviderSelectWidgetEditBase, AXPDataListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
27
30
|
|
|
28
31
|
declare class AXPCreateEntityCommand implements AXPCommand<any, any> {
|
|
29
32
|
private entityForm;
|
|
30
33
|
private entityService;
|
|
31
34
|
private toastService;
|
|
32
35
|
private translationService;
|
|
36
|
+
private settingsService;
|
|
37
|
+
private openEntityDetailsCommand;
|
|
33
38
|
protected context: {};
|
|
34
39
|
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
35
40
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPCreateEntityCommand, never>;
|
|
36
41
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPCreateEntityCommand>;
|
|
37
42
|
}
|
|
38
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Merged into AI/tool payloads for `Entity:Create` so post-create navigation does not run from agent flows.
|
|
46
|
+
* Applied in the AI module when normalizing tool arguments (not in the generic command executor).
|
|
47
|
+
*/
|
|
48
|
+
declare const axpCreateEntityAiToolInputDefaults: {
|
|
49
|
+
readonly __context__: {
|
|
50
|
+
readonly options: {
|
|
51
|
+
readonly process: {
|
|
52
|
+
readonly redirect: false;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
declare const axpCreateEntityCommandDefinition: {
|
|
58
|
+
key: string;
|
|
59
|
+
title: string;
|
|
60
|
+
description: string;
|
|
61
|
+
executionMode: "frontend";
|
|
62
|
+
inputs: ({
|
|
63
|
+
name: string;
|
|
64
|
+
title: string;
|
|
65
|
+
description: string;
|
|
66
|
+
interface: {
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
validations?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
name: string;
|
|
72
|
+
title: string;
|
|
73
|
+
description: string;
|
|
74
|
+
interface: {
|
|
75
|
+
name: string;
|
|
76
|
+
};
|
|
77
|
+
validations: {
|
|
78
|
+
rule: string;
|
|
79
|
+
}[];
|
|
80
|
+
})[];
|
|
81
|
+
outcomes: {
|
|
82
|
+
mode: "dynamic";
|
|
83
|
+
summary: string;
|
|
84
|
+
derivesFrom: string;
|
|
85
|
+
};
|
|
86
|
+
ai: {
|
|
87
|
+
shortDescription: string;
|
|
88
|
+
usage: {
|
|
89
|
+
whenToUse: string[];
|
|
90
|
+
avoidWhen: string[];
|
|
91
|
+
followUpTools: string[];
|
|
92
|
+
};
|
|
93
|
+
tags: string[];
|
|
94
|
+
toolInputDefaults: {
|
|
95
|
+
__context__: {
|
|
96
|
+
readonly options: {
|
|
97
|
+
readonly process: {
|
|
98
|
+
readonly redirect: false;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
|
|
39
106
|
declare class AXPUpdateEntityCommand implements AXPCommand<any, any> {
|
|
40
107
|
private readonly entityForm;
|
|
41
108
|
private readonly settingsService;
|
|
@@ -161,6 +228,25 @@ declare class AXPEntityDetailPopoverService {
|
|
|
161
228
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityDetailPopoverService>;
|
|
162
229
|
}
|
|
163
230
|
|
|
231
|
+
declare class AXPEntityPreloadFiltersContainerComponent extends AXPPageLayoutBaseComponent {
|
|
232
|
+
private readonly route;
|
|
233
|
+
private readonly router;
|
|
234
|
+
private readonly entityService;
|
|
235
|
+
private readonly filterOperatorMiddleware;
|
|
236
|
+
protected readonly noMatchText: _angular_core.WritableSignal<string | null>;
|
|
237
|
+
private vm;
|
|
238
|
+
preloadFiltersDef: _angular_core.Signal<_acorex_platform_core.AXPFilterDefinition[]>;
|
|
239
|
+
hasNoRequiredFilters: _angular_core.Signal<boolean>;
|
|
240
|
+
protected getPageTitle(): string;
|
|
241
|
+
protected getPageDescription(): string | null;
|
|
242
|
+
onApply(event: AXPPreloadFiltersApplyEvent): Promise<void>;
|
|
243
|
+
onShowAll(): Promise<void>;
|
|
244
|
+
private buildPreloadFilterQueries;
|
|
245
|
+
private buildListQueryFilter;
|
|
246
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityPreloadFiltersContainerComponent, never>;
|
|
247
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityPreloadFiltersContainerComponent, "axp-entity-preload-filters-container", never, {}, {}, never, never, true, never>;
|
|
248
|
+
}
|
|
249
|
+
|
|
164
250
|
interface AXPDataSeeder {
|
|
165
251
|
seed(): Promise<void>;
|
|
166
252
|
}
|
|
@@ -206,7 +292,7 @@ declare class AXPEntityListViewColumnViewModel {
|
|
|
206
292
|
constructor(property: AXPEntityProperty, column: AXPEntityTableColumn);
|
|
207
293
|
name: string;
|
|
208
294
|
title: string;
|
|
209
|
-
visible: boolean;
|
|
295
|
+
visible: string | boolean;
|
|
210
296
|
dir: "asc" | "desc" | undefined;
|
|
211
297
|
sortEnabled: boolean | undefined;
|
|
212
298
|
width: '';
|
|
@@ -378,6 +464,7 @@ declare class AXPEntityMasterListViewModel {
|
|
|
378
464
|
private readonly destroyed;
|
|
379
465
|
private lastAppliedSortKey;
|
|
380
466
|
private lastAppliedFilterKey;
|
|
467
|
+
private hasQueryParamsFilters;
|
|
381
468
|
events$: Subject<{
|
|
382
469
|
action: string;
|
|
383
470
|
meta?: any;
|
|
@@ -424,8 +511,24 @@ declare class AXPEntityMasterListViewModel {
|
|
|
424
511
|
primaryRowActions: _angular_core.Signal<AXPEntityCommandTriggerViewModel[]>;
|
|
425
512
|
secondaryRowActions(rowData: any): Promise<AXPEntityCommandTriggerViewModel[]>;
|
|
426
513
|
filterQueries: _angular_core.WritableSignal<AXPFilterQuery[]>;
|
|
514
|
+
private static readonly URL_FILTER_OPERATOR_TYPES;
|
|
427
515
|
get properties(): AXPEntityProperty[];
|
|
516
|
+
/**
|
|
517
|
+
* Canonical JSON for the `filters` query param (sorted by field), or null when there are no active value filters.
|
|
518
|
+
*/
|
|
519
|
+
filtersQueryParamCanonical(queries: AXPFilterQuery[]): string | null;
|
|
520
|
+
/**
|
|
521
|
+
* Parse a `filters` query string to the same canonical form used by {@link filtersQueryParamCanonical}.
|
|
522
|
+
*/
|
|
523
|
+
static parseQueryParamFiltersToCanonical(filtersJson: string | null): string | null;
|
|
524
|
+
private toUrlFilterPayloadItems;
|
|
525
|
+
private static coerceFilterOperatorFromUrl;
|
|
526
|
+
/**
|
|
527
|
+
* Apply filters from query params
|
|
528
|
+
*/
|
|
529
|
+
applyFiltersFromQueryParams(filtersJson: string | null): boolean;
|
|
428
530
|
get filtersDef(): AXPFilterDefinition[];
|
|
531
|
+
get preloadFiltersDef(): AXPFilterDefinition[];
|
|
429
532
|
applyViewFilters(): Promise<void>;
|
|
430
533
|
resetFilters(): void;
|
|
431
534
|
applyFilterAndSort(): Promise<void>;
|
|
@@ -561,6 +664,7 @@ declare class AXPEntityMasterUpdateElementViewModel {
|
|
|
561
664
|
title: _angular_core.WritableSignal<string>;
|
|
562
665
|
description: _angular_core.WritableSignal<string | undefined>;
|
|
563
666
|
editable: _angular_core.Signal<boolean>;
|
|
667
|
+
isVisible: _angular_core.Signal<string | boolean>;
|
|
564
668
|
isRequired: _angular_core.Signal<boolean>;
|
|
565
669
|
layout: _angular_core.Signal<AXPEntityPropertyLayoutConfig>;
|
|
566
670
|
node: _angular_core.Signal<AXPWidgetNode>;
|
|
@@ -594,6 +698,35 @@ declare class AXPEntityMasterUpdateViewModelFactory {
|
|
|
594
698
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityMasterUpdateViewModelFactory>;
|
|
595
699
|
}
|
|
596
700
|
|
|
701
|
+
declare class AXPEntityPreloadFiltersViewModel {
|
|
702
|
+
private injector;
|
|
703
|
+
private config;
|
|
704
|
+
readonly entityDef: AXPEntity;
|
|
705
|
+
private readonly widgetResolver;
|
|
706
|
+
constructor(injector: Injector, config: AXPEntity);
|
|
707
|
+
/**
|
|
708
|
+
* Entity title
|
|
709
|
+
*/
|
|
710
|
+
title: _angular_core.Signal<string>;
|
|
711
|
+
/**
|
|
712
|
+
* Entity description
|
|
713
|
+
*/
|
|
714
|
+
description: _angular_core.Signal<string | null>;
|
|
715
|
+
/**
|
|
716
|
+
* All filter definitions for properties with preload enabled
|
|
717
|
+
*/
|
|
718
|
+
preloadFiltersDef: _angular_core.Signal<AXPFilterDefinition[]>;
|
|
719
|
+
/**
|
|
720
|
+
* Required filter definitions only
|
|
721
|
+
*/
|
|
722
|
+
requiredFiltersDef: _angular_core.Signal<AXPFilterDefinition[]>;
|
|
723
|
+
/**
|
|
724
|
+
* Serialize filter values to plain objects (remove signals, functions, etc.)
|
|
725
|
+
*/
|
|
726
|
+
serializeFilters(filters: any): AXPFilterQuery[];
|
|
727
|
+
}
|
|
728
|
+
declare const AXPEntityPreloadFiltersViewModelResolver: ResolveFn<Promise<AXPEntityPreloadFiltersViewModel>>;
|
|
729
|
+
|
|
597
730
|
interface AXPEntityModifierContext {
|
|
598
731
|
readonly entity: AXPEntity;
|
|
599
732
|
title: {
|
|
@@ -973,9 +1106,51 @@ declare class AXPEntityResolver {
|
|
|
973
1106
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityResolver>;
|
|
974
1107
|
}
|
|
975
1108
|
|
|
1109
|
+
/**
|
|
1110
|
+
* Built-in entity detail tabs from plugins. Sidebar order (after related page-list / page-detail
|
|
1111
|
+
* tabs): meta-data-builder → attachments → documents → comments → history.
|
|
1112
|
+
*/
|
|
1113
|
+
type EntityDetailPluginPageSlot = 'meta-data-builder' | 'attachments' | 'documents' | 'comments' | 'history';
|
|
1114
|
+
/** Identifies an `entity.pages` entry when skipping its order during recomputation. */
|
|
1115
|
+
interface SkipEntityComponentPageRef {
|
|
1116
|
+
componentKey: string;
|
|
1117
|
+
/** When set, only the page with this `field` is skipped (e.g. attachments / meta-data per field). */
|
|
1118
|
+
field?: string;
|
|
1119
|
+
}
|
|
1120
|
+
interface ResolveEntityPluginDetailPageOrderOptions {
|
|
1121
|
+
/** Component key of the page being added or updated (used to count sibling tabs in the same slot). */
|
|
1122
|
+
componentKey: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* Ignore this page when counting siblings / recomputing (the page currently being updated).
|
|
1125
|
+
*/
|
|
1126
|
+
skipPage?: SkipEntityComponentPageRef;
|
|
1127
|
+
/**
|
|
1128
|
+
* Field name for multi-page slots (`attachments`, `meta-data-builder`). Omit for single-tab slots.
|
|
1129
|
+
*/
|
|
1130
|
+
field?: string;
|
|
1131
|
+
/** Gap between auto-assigned related tab orders. Default: 10. */
|
|
1132
|
+
relatedOrderStep?: number;
|
|
1133
|
+
/** Minimum start of the plugin zone (after related tabs). Default: 100_000. */
|
|
1134
|
+
pluginZoneFloor?: number;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* Resolves `layout.order` for a built-in plugin detail tab (`entity.pages`).
|
|
1138
|
+
*
|
|
1139
|
+
* 1. Assigns finite `layout.order` values to related `page-list` / `page-detail` rows that omit
|
|
1140
|
+
* `order` (the composer otherwise treats them as +Infinity).
|
|
1141
|
+
* 2. Places plugin tabs in a fixed relative order: meta-data-builder → attachments → documents →
|
|
1142
|
+
* comments → history, after all related tabs.
|
|
1143
|
+
*/
|
|
1144
|
+
declare function resolveEntityPluginDetailPageOrder(input: {
|
|
1145
|
+
relatedEntities?: AXPRelatedEntity[];
|
|
1146
|
+
pages?: Array<AXPEntityPage & {
|
|
1147
|
+
field?: string;
|
|
1148
|
+
}>;
|
|
1149
|
+
}, slot: EntityDetailPluginPageSlot, options: ResolveEntityPluginDetailPageOrderOptions): number;
|
|
1150
|
+
|
|
976
1151
|
declare class AXPEntityModule {
|
|
977
1152
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityModule, never>;
|
|
978
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPEntityModule, never, [typeof i1.RouterModule, typeof i2.AXPWorkflowModule, typeof i3.AXPWidgetCoreModule], never>;
|
|
1153
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPEntityModule, never, [typeof i1.RouterModule, typeof i2.AXPWorkflowModule, typeof i3.AXPWidgetCoreModule, typeof i4.LayoutBuilderModule], never>;
|
|
979
1154
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPEntityModule>;
|
|
980
1155
|
}
|
|
981
1156
|
|
|
@@ -1144,6 +1319,26 @@ declare const columnWidthMiddleware: AXPEntityModifier;
|
|
|
1144
1319
|
*/
|
|
1145
1320
|
declare const columnWidthMiddlewareProvider: AXPEntityModifierProvider;
|
|
1146
1321
|
|
|
1322
|
+
/**
|
|
1323
|
+
* Default order for common list view columns.
|
|
1324
|
+
* Lower numbers appear first. Columns not in this map get order 500 (middle).
|
|
1325
|
+
* Use high numbers (990+) for columns that should appear at the end.
|
|
1326
|
+
*/
|
|
1327
|
+
declare const DEFAULT_COLUMN_ORDER: Record<string, number>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Entity modifier that sorts list view columns by default order.
|
|
1330
|
+
* Similar to layout-ordering for sections/properties, but for list columns.
|
|
1331
|
+
*/
|
|
1332
|
+
declare const columnOrderingMiddleware: AXPEntityModifier;
|
|
1333
|
+
/**
|
|
1334
|
+
* Factory to create a column ordering middleware with custom order config
|
|
1335
|
+
*/
|
|
1336
|
+
declare const createColumnOrderingMiddlewareProvider: (columnOrder?: Record<string, number>, entityName?: string | RegExp) => AXPEntityModifierProvider;
|
|
1337
|
+
/**
|
|
1338
|
+
* Default provider that applies column ordering to all entities
|
|
1339
|
+
*/
|
|
1340
|
+
declare const columnOrderingMiddlewareProvider: AXPEntityModifierProvider;
|
|
1341
|
+
|
|
1147
1342
|
/**
|
|
1148
1343
|
* Configuration for section ordering
|
|
1149
1344
|
*/
|
|
@@ -1182,6 +1377,22 @@ declare const createLayoutOrderingMiddlewareProvider: (config?: Partial<SectionO
|
|
|
1182
1377
|
*/
|
|
1183
1378
|
declare const layoutOrderingMiddlewareProvider: AXPEntityModifierProvider;
|
|
1184
1379
|
|
|
1380
|
+
/**
|
|
1381
|
+
* Provides synchronous access to the ApplyLayoutOrdering setting.
|
|
1382
|
+
* Used by layout ordering middleware to avoid async in the modifier and prevent startup deadlocks.
|
|
1383
|
+
* Value is updated on onLoaded/onChanged; first read can trigger a one-time background get (no await).
|
|
1384
|
+
*/
|
|
1385
|
+
declare class AXPLayoutOrderingConfigService {
|
|
1386
|
+
private readonly settingsService;
|
|
1387
|
+
private readonly _applyOrdering;
|
|
1388
|
+
private syncScheduled;
|
|
1389
|
+
constructor();
|
|
1390
|
+
getApplyOrdering(): boolean;
|
|
1391
|
+
private syncFromSettings;
|
|
1392
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLayoutOrderingConfigService, never>;
|
|
1393
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPLayoutOrderingConfigService>;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1185
1396
|
/**
|
|
1186
1397
|
* Ensures all entities have a searchResult.description.
|
|
1187
1398
|
* Uses @{i18nScope}:module.title when missing (guaranteed to exist in i18n).
|
|
@@ -1189,6 +1400,21 @@ declare const layoutOrderingMiddlewareProvider: AXPEntityModifierProvider;
|
|
|
1189
1400
|
declare const searchResultDescriptionMiddleware: AXPEntityModifier;
|
|
1190
1401
|
declare const searchResultDescriptionMiddlewareProvider: AXPEntityModifierProvider;
|
|
1191
1402
|
|
|
1403
|
+
/**
|
|
1404
|
+
* When enabled in regional settings ({@link AXPRegionalSetting.MultiLanguageSupport}), walks each
|
|
1405
|
+
* property's `schema.interface` widget tree and sets `options.multiLanguage` on matching text-like
|
|
1406
|
+
* editors (including nested GridLayout leaves such as `pre.content` / `post.summaryContent`), unless
|
|
1407
|
+
* the node already specifies `multiLanguage` (including explicit false to opt out).
|
|
1408
|
+
*/
|
|
1409
|
+
declare const defaultMultiLanguageMiddleware: AXPEntityModifier;
|
|
1410
|
+
declare const defaultMultiLanguageMiddlewareProvider: AXPEntityModifierProvider;
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Registers entity CRUD commands and queries for the given entity keys.
|
|
1414
|
+
* Use in app/module providers; consumes AXPEntityService from this package.
|
|
1415
|
+
*/
|
|
1416
|
+
declare function provideEntity(entityKeys: string[]): EnvironmentProviders;
|
|
1417
|
+
|
|
1192
1418
|
interface AXPGetEntityDetailsQueryInput {
|
|
1193
1419
|
entity: string;
|
|
1194
1420
|
id: string;
|
|
@@ -1222,9 +1448,14 @@ declare class AXPGetEntityDetailsQuery implements AXPQuery<AXPGetEntityDetailsQu
|
|
|
1222
1448
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPGetEntityDetailsQuery>;
|
|
1223
1449
|
}
|
|
1224
1450
|
|
|
1451
|
+
/**
|
|
1452
|
+
* i18n key for the synthetic root node ("all categories"). Resolve in templates with the translate pipe.
|
|
1453
|
+
*/
|
|
1454
|
+
declare const AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY = "@general:terms.interface.selection.all-items";
|
|
1225
1455
|
interface CategoryQueryEvent {
|
|
1226
1456
|
skip: number;
|
|
1227
1457
|
take: number;
|
|
1458
|
+
sort?: AXDataSourceSortOption[];
|
|
1228
1459
|
filter?: {
|
|
1229
1460
|
field?: string;
|
|
1230
1461
|
value?: unknown;
|
|
@@ -1254,7 +1485,14 @@ interface CategoryTreeNodeData {
|
|
|
1254
1485
|
}
|
|
1255
1486
|
declare class AXPCategoryTreeService {
|
|
1256
1487
|
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1257
|
-
|
|
1488
|
+
private readonly translation;
|
|
1489
|
+
/** Sort field for list queries (backend); matches configured category display field. */
|
|
1490
|
+
private getAlphabeticalSortOptions;
|
|
1491
|
+
/**
|
|
1492
|
+
* Sort tree nodes by resolved display title (locale-aware).
|
|
1493
|
+
* Ensures correct order for multi-language titles when storage order differs from UI order.
|
|
1494
|
+
*/
|
|
1495
|
+
private sortTreeNodesByDisplayTitle;
|
|
1258
1496
|
/**
|
|
1259
1497
|
* Initialize category tree data source
|
|
1260
1498
|
*/
|
|
@@ -1351,6 +1589,8 @@ interface IPropertyFilterStage {
|
|
|
1351
1589
|
include(...propertyNames: string[]): IPropertyFilterStage;
|
|
1352
1590
|
/** Exclude provided property names (by AXPEntityProperty.name). Ignored if include() was already set. */
|
|
1353
1591
|
exclude(...propertyNames: string[]): IPropertyFilterStage;
|
|
1592
|
+
/** Mark provided property names as readonly. Overrides property schema for display. */
|
|
1593
|
+
readonlyProperties(...propertyNames: string[]): IPropertyFilterStage;
|
|
1354
1594
|
/** Optionally override dialog title */
|
|
1355
1595
|
title(text: string): IPropertyFilterStage;
|
|
1356
1596
|
/** Provide initial dialog context/model data */
|
|
@@ -1470,7 +1710,10 @@ declare function detectEntityChanges(oldObj: any, newObj: any): AXPEntityChangeS
|
|
|
1470
1710
|
|
|
1471
1711
|
declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent implements OnInit {
|
|
1472
1712
|
protected readonly categoryTreeService: AXPCategoryTreeService;
|
|
1713
|
+
/** i18n key for the synthetic "all items" root row; resolved in the template with the translate pipe. */
|
|
1714
|
+
protected readonly categoryTreeRootTitleI18nKey = "@general:terms.interface.selection.all-items";
|
|
1473
1715
|
private readonly translationService;
|
|
1716
|
+
private readonly mlsResolver;
|
|
1474
1717
|
protected readonly highlightService: AXHighlightService;
|
|
1475
1718
|
private readonly changeDetectorRef;
|
|
1476
1719
|
entityKey: _angular_core.WritableSignal<string>;
|
|
@@ -1581,6 +1824,7 @@ declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent
|
|
|
1581
1824
|
/**
|
|
1582
1825
|
* Expands parent nodes, collects all LEAF descendants, and selects them visually.
|
|
1583
1826
|
* If the parent itself is a leaf (no children), it will be added.
|
|
1827
|
+
* When prefetchedChildren is provided, avoids an extra datasource(parentId) call.
|
|
1584
1828
|
*/
|
|
1585
1829
|
private selectAllLeafDescendants;
|
|
1586
1830
|
/**
|
|
@@ -1592,6 +1836,8 @@ declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent
|
|
|
1592
1836
|
/**
|
|
1593
1837
|
* Recursively expands parent nodes and collects LEAF node IDs.
|
|
1594
1838
|
* When treeComponent is provided, expands each parent node before loading children.
|
|
1839
|
+
* When prefetchedChildren is provided, uses it instead of calling datasource(parentId) (one less API call).
|
|
1840
|
+
* Fetches each node's children at most once by passing grandchildren when recursing.
|
|
1595
1841
|
*/
|
|
1596
1842
|
private collectLeafNodes;
|
|
1597
1843
|
/**
|
|
@@ -1609,6 +1855,7 @@ declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent
|
|
|
1609
1855
|
/**
|
|
1610
1856
|
* Builds complete ancestor chains for all selected node IDs.
|
|
1611
1857
|
* Returns a Map where key is the selected node ID and value is array of ancestor IDs from root to parent.
|
|
1858
|
+
* Batch-fetches missing node and ancestor data in parallel to minimize API calls.
|
|
1612
1859
|
*/
|
|
1613
1860
|
private buildAncestorChains;
|
|
1614
1861
|
/**
|
|
@@ -1632,11 +1879,13 @@ declare class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent
|
|
|
1632
1879
|
/**
|
|
1633
1880
|
* Loads node data for IDs that are selected but not yet in the cache.
|
|
1634
1881
|
* This is critical for pre-selected values in collapsed branches.
|
|
1882
|
+
* Fetches all missing IDs in parallel to minimize API calls and latency.
|
|
1635
1883
|
*/
|
|
1636
1884
|
private loadMissingNodeData;
|
|
1637
1885
|
/**
|
|
1638
1886
|
* For each selected id, if cached item has no parent (e.g. batch query returned minimal fields),
|
|
1639
1887
|
* re-fetch by id so we have parent/parentId for building ancestor chains.
|
|
1888
|
+
* Fetches all needing refresh in parallel.
|
|
1640
1889
|
*/
|
|
1641
1890
|
private ensureParentDataInCache;
|
|
1642
1891
|
/**
|
|
@@ -1803,14 +2052,14 @@ declare class AXPEntityCategoryWidgetEditComponent extends AXPValueWidgetCompone
|
|
|
1803
2052
|
private singleOrMultiple;
|
|
1804
2053
|
protected getItemLabel(item: any): string;
|
|
1805
2054
|
/**
|
|
1806
|
-
* Get item path as array for breadcrumb component
|
|
2055
|
+
* Get item path as array for breadcrumb component (raw MLS or string per segment).
|
|
1807
2056
|
*/
|
|
1808
|
-
protected getItemPath(item: any):
|
|
2057
|
+
protected getItemPath(item: any): AXPMultiLanguageString[];
|
|
1809
2058
|
/**
|
|
1810
2059
|
* Join path array with separator.
|
|
1811
2060
|
* Override this method to customize the separator (e.g., " > ", " -> ", " / ")
|
|
1812
2061
|
*/
|
|
1813
|
-
protected joinPath(path:
|
|
2062
|
+
protected joinPath(path: unknown[]): string;
|
|
1814
2063
|
protected getItemId(item: any): string;
|
|
1815
2064
|
/**
|
|
1816
2065
|
* Calculate the full path from root to the item.
|
|
@@ -1822,7 +2071,6 @@ declare class AXPEntityCategoryWidgetEditComponent extends AXPValueWidgetCompone
|
|
|
1822
2071
|
}
|
|
1823
2072
|
|
|
1824
2073
|
declare class AXPEntityCategoryWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
1825
|
-
protected readonly formatService: AXFormatService;
|
|
1826
2074
|
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
1827
2075
|
protected entity: _angular_core.Signal<string>;
|
|
1828
2076
|
protected multiple: _angular_core.Signal<boolean>;
|
|
@@ -1834,12 +2082,11 @@ declare class AXPEntityCategoryWidgetViewComponent extends AXPValueWidgetCompone
|
|
|
1834
2082
|
private entityDef;
|
|
1835
2083
|
protected displayItems: _angular_core.WritableSignal<{
|
|
1836
2084
|
id: string;
|
|
1837
|
-
|
|
2085
|
+
titleRaw: AXPMultiLanguageString | null | undefined;
|
|
1838
2086
|
}[]>;
|
|
1839
2087
|
private efEntity;
|
|
1840
2088
|
private efDisplay;
|
|
1841
2089
|
private extractItem;
|
|
1842
|
-
private getDisplayText;
|
|
1843
2090
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityCategoryWidgetViewComponent, never>;
|
|
1844
2091
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityCategoryWidgetViewComponent, "axp-entity-category-widget-view", never, {}, {}, never, never, true, never>;
|
|
1845
2092
|
}
|
|
@@ -1847,7 +2094,9 @@ declare class AXPEntityCategoryWidgetViewComponent extends AXPValueWidgetCompone
|
|
|
1847
2094
|
declare const AXPEntityCategoryWidget: AXPWidgetConfig;
|
|
1848
2095
|
|
|
1849
2096
|
declare class AXPTruncatedBreadcrumbComponent implements OnDestroy {
|
|
1850
|
-
|
|
2097
|
+
private readonly mlsResolver;
|
|
2098
|
+
/** Plain string or locale map per segment; truncation uses resolved text (see {@link resolvedSectionTexts}). */
|
|
2099
|
+
sections: _angular_core.InputSignal<readonly (AXPMultiLanguageString | null | undefined)[]>;
|
|
1851
2100
|
characterLimit: _angular_core.InputSignal<number | "auto">;
|
|
1852
2101
|
sectionLimit: _angular_core.InputSignal<number | "auto">;
|
|
1853
2102
|
separatorIcon: _angular_core.InputSignal<string>;
|
|
@@ -1857,6 +2106,8 @@ declare class AXPTruncatedBreadcrumbComponent implements OnDestroy {
|
|
|
1857
2106
|
protected isExpanded: _angular_core.WritableSignal<boolean>;
|
|
1858
2107
|
private containerWidth;
|
|
1859
2108
|
private resizeObserver;
|
|
2109
|
+
/** Resolved display strings for length / ellipsis (same rules as the pipe). */
|
|
2110
|
+
protected resolvedSectionTexts: _angular_core.Signal<string[]>;
|
|
1860
2111
|
protected effectiveCharacterLimit: _angular_core.Signal<number>;
|
|
1861
2112
|
protected effectiveSectionLimit: _angular_core.Signal<number>;
|
|
1862
2113
|
protected hasTruncatedText: _angular_core.Signal<boolean>;
|
|
@@ -1888,6 +2139,45 @@ declare class AXPTruncatedBreadcrumbComponent implements OnDestroy {
|
|
|
1888
2139
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPTruncatedBreadcrumbComponent, "axp-truncated-breadcrumb", never, { "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "characterLimit": { "alias": "characterLimit"; "required": false; "isSignal": true; }; "sectionLimit": { "alias": "sectionLimit"; "required": false; "isSignal": true; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; "isSignal": true; }; "ellipsisIcon": { "alias": "ellipsisIcon"; "required": false; "isSignal": true; }; "eyeIcon": { "alias": "eyeIcon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1889
2140
|
}
|
|
1890
2141
|
|
|
2142
|
+
declare const AXPEntityDefinitionProviderWidget: AXPWidgetConfig;
|
|
2143
|
+
declare module '@acorex/platform/layout/widget-core' {
|
|
2144
|
+
interface AXPWidgetTypesMap {
|
|
2145
|
+
entityDefinitionProvider: 'entity-definition-provider-editor';
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
declare class AXPEntityDefinitionProviderWidgetEditComponent extends AXPProviderSelectWidgetEditBase {
|
|
2150
|
+
private readonly entityRegistry;
|
|
2151
|
+
/**
|
|
2152
|
+
* Last applied module filter (from context) to avoid redundant reloads.
|
|
2153
|
+
*/
|
|
2154
|
+
private readonly lastModuleFilterKey;
|
|
2155
|
+
/**
|
|
2156
|
+
* Reloads entity options when `filterModuleField` changes in form context (not only via `widget.refresh()`).
|
|
2157
|
+
*/
|
|
2158
|
+
private readonly reloadWhenModuleContextChanges;
|
|
2159
|
+
/**
|
|
2160
|
+
* Options:
|
|
2161
|
+
* - `filterModuleField`: sibling context field name (e.g. `entityListModule`); when set, only entities in that module are listed.
|
|
2162
|
+
* - `valueFormat`: `fullKey` (`module.name`, default) or `entityName` (short name only, for menus that store `entityListRef.entity`).
|
|
2163
|
+
*/
|
|
2164
|
+
protected loadDataSourceRows(): Promise<Array<{
|
|
2165
|
+
value: string;
|
|
2166
|
+
title: string;
|
|
2167
|
+
}>>;
|
|
2168
|
+
refresh(): void;
|
|
2169
|
+
/**
|
|
2170
|
+
* Reads sibling field from context store data (same shape as `lodash/get` paths).
|
|
2171
|
+
*/
|
|
2172
|
+
private readModuleFromContext;
|
|
2173
|
+
/**
|
|
2174
|
+
* Resolves a sibling field path relative to the current widget's parent path.
|
|
2175
|
+
*/
|
|
2176
|
+
private resolveSiblingContextPath;
|
|
2177
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityDefinitionProviderWidgetEditComponent, never>;
|
|
2178
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPEntityDefinitionProviderWidgetEditComponent, "axp-entity-definition-provider-widget-edit", never, {}, {}, never, never, true, never>;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
1891
2181
|
declare class AXPEntityListTableService {
|
|
1892
2182
|
private readonly workflow;
|
|
1893
2183
|
private readonly commandService;
|
|
@@ -1912,6 +2202,12 @@ declare class AXPEntityListTableService {
|
|
|
1912
2202
|
* Convert Entity Actions to Row Commands
|
|
1913
2203
|
*/
|
|
1914
2204
|
private createRowCommands;
|
|
2205
|
+
/**
|
|
2206
|
+
* Wraps string values with AXP_ROW_EXPR_PREFIX so widget-renderer does not
|
|
2207
|
+
* evaluate them (it only treats {{ ... }} as expressions). Data-list will
|
|
2208
|
+
* unwrap and evaluate per row with row data. Only used for secondary commands.
|
|
2209
|
+
*/
|
|
2210
|
+
private wrapRowExpr;
|
|
1915
2211
|
/**
|
|
1916
2212
|
* Check if entity has Selected Scope Actions
|
|
1917
2213
|
*/
|
|
@@ -1929,16 +2225,31 @@ declare class AXPEntityListTableService {
|
|
|
1929
2225
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPEntityListTableService>;
|
|
1930
2226
|
}
|
|
1931
2227
|
|
|
2228
|
+
interface AXPEntityListToolbarConvertOptions {
|
|
2229
|
+
excludeColumns?: string[];
|
|
2230
|
+
includeColumns?: string[];
|
|
2231
|
+
/** Related list: evaluated `AXPEntityTableColumn[]` from `AXPRelatedEntity.columns` */
|
|
2232
|
+
relatedTableColumns?: AXPEntityTableColumn[];
|
|
2233
|
+
customFilterDefinitions?: Partial<AXPFilterDefinition>[];
|
|
2234
|
+
}
|
|
1932
2235
|
declare class AXPEntityListToolbarService {
|
|
1933
2236
|
private readonly widgetResolver;
|
|
1934
2237
|
/**
|
|
1935
2238
|
* Convert Entity to Toolbar Options
|
|
1936
2239
|
*/
|
|
1937
|
-
convertEntityToolbarOptions(entity: AXPEntity, options:
|
|
2240
|
+
convertEntityToolbarOptions(entity: AXPEntity, options: AXPEntityListToolbarConvertOptions | undefined): Promise<{
|
|
1938
2241
|
filterDefinitions: AXPFilterDefinition[];
|
|
1939
2242
|
columnDefinitions: AXPColumnQuery[];
|
|
1940
2243
|
sortDefinitions: AXPSortDefinition[];
|
|
1941
2244
|
}>;
|
|
2245
|
+
/**
|
|
2246
|
+
* Merges custom filter definitions into the entity-derived list by `field`.
|
|
2247
|
+
* Matching fields: custom properties are applied on top of the base definition.
|
|
2248
|
+
* Non-matching custom entries are appended.
|
|
2249
|
+
*/
|
|
2250
|
+
private mergeFilterDefinitions;
|
|
2251
|
+
private filterFieldKey;
|
|
2252
|
+
private mergeFilterDefinition;
|
|
1942
2253
|
/**
|
|
1943
2254
|
* Create Filter Definitions for Toolbar
|
|
1944
2255
|
*/
|
|
@@ -1966,6 +2277,7 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
1966
2277
|
protected deviceService: AXPDeviceService;
|
|
1967
2278
|
protected commandService: AXPCommandService;
|
|
1968
2279
|
protected eventService: AXPBroadcastEventService;
|
|
2280
|
+
private readonly expressionEvaluator;
|
|
1969
2281
|
protected isMounted: _angular_core.WritableSignal<boolean>;
|
|
1970
2282
|
readonly entity: _angular_core.WritableSignal<AXPEntity | null>;
|
|
1971
2283
|
protected listNode: _angular_core.WritableSignal<AXPWidgetNode | null>;
|
|
@@ -1979,6 +2291,8 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
1979
2291
|
protected entitySource: _angular_core.Signal<any>;
|
|
1980
2292
|
protected excludeColumns: _angular_core.Signal<string[]>;
|
|
1981
2293
|
protected includeColumns: _angular_core.Signal<string[]>;
|
|
2294
|
+
protected relatedTableColumns: _angular_core.Signal<AXPEntityTableColumn[] | undefined>;
|
|
2295
|
+
protected customFilterDefinitions: _angular_core.Signal<Partial<AXPFilterDefinition>[] | undefined>;
|
|
1982
2296
|
protected externalActions: _angular_core.Signal<AXPEntityAction[]>;
|
|
1983
2297
|
protected maxHeight: _angular_core.Signal<string>;
|
|
1984
2298
|
protected showEntityActions: _angular_core.Signal<any>;
|
|
@@ -1989,7 +2303,8 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
1989
2303
|
protected secondaryActions: _angular_core.Signal<AXPActionMenuItem[]>;
|
|
1990
2304
|
protected handleActionClick(item: AXPActionMenuItem): void;
|
|
1991
2305
|
protected handleSecondaryActionClick(item: AXPActionMenuItem): void;
|
|
1992
|
-
protected execute(commandName: string,
|
|
2306
|
+
protected execute(commandName: string, _data: unknown): Promise<void>;
|
|
2307
|
+
private evaluateToolbarExpressions;
|
|
1993
2308
|
protected queries: undefined;
|
|
1994
2309
|
/**
|
|
1995
2310
|
* Validates that all required dependencies are available
|
|
@@ -2043,7 +2358,10 @@ declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any>
|
|
|
2043
2358
|
private efEntity;
|
|
2044
2359
|
private efDisplay;
|
|
2045
2360
|
private extractItem;
|
|
2046
|
-
|
|
2361
|
+
/**
|
|
2362
|
+
* Raw label for {@link AXPResolveMultiLanguageStringPipe} (handles {@link AXPMultiLanguageString} and plain strings).
|
|
2363
|
+
*/
|
|
2364
|
+
private getDisplayRaw;
|
|
2047
2365
|
private get __class();
|
|
2048
2366
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetViewComponent, never>;
|
|
2049
2367
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetViewComponent, "axp-lookup-widget-view", never, {}, {}, never, never, true, never>;
|
|
@@ -2165,6 +2483,7 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
2165
2483
|
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
2166
2484
|
protected readonly entityService: AXPEntityService;
|
|
2167
2485
|
protected readonly entityDataSelectorService: AXPEntityDataSelectorService;
|
|
2486
|
+
private readonly mlsResolver;
|
|
2168
2487
|
protected componentLook: _angular_core.Signal<LookupWidgetLookBase | undefined>;
|
|
2169
2488
|
protected expose: _angular_core.Signal<string | any[] | undefined>;
|
|
2170
2489
|
protected entity: _angular_core.Signal<string>;
|
|
@@ -2172,13 +2491,13 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
2172
2491
|
protected columns: _angular_core.Signal<string[]>;
|
|
2173
2492
|
protected textField: _angular_core.Signal<string>;
|
|
2174
2493
|
protected hasClearButton: _angular_core.Signal<boolean>;
|
|
2175
|
-
protected allowCreate: _angular_core.Signal<"full" | "none" | "quick">;
|
|
2176
2494
|
protected customFilter: _angular_core.Signal<AXDataSourceFilterOption>;
|
|
2177
2495
|
protected filterMode: _angular_core.Signal<boolean>;
|
|
2178
2496
|
protected multiple: _angular_core.Signal<boolean>;
|
|
2179
2497
|
protected look: _angular_core.Signal<AXPLookupWidgetLookType>;
|
|
2180
2498
|
protected defaultTextField: _angular_core.Signal<string>;
|
|
2181
2499
|
protected displayField: _angular_core.Signal<string>;
|
|
2500
|
+
protected allowCreate: _angular_core.Signal<"full" | "none" | "quick">;
|
|
2182
2501
|
protected valueField: _angular_core.Signal<string>;
|
|
2183
2502
|
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
2184
2503
|
protected conditions?: AXPQueryFilter[];
|
|
@@ -2210,6 +2529,7 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
2210
2529
|
|
|
2211
2530
|
declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<any> {
|
|
2212
2531
|
private readonly entityDetailPopoverService;
|
|
2532
|
+
private readonly mlResolver;
|
|
2213
2533
|
private readonly formatService;
|
|
2214
2534
|
protected moreButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2215
2535
|
protected morePopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
@@ -2235,7 +2555,8 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
2235
2555
|
private openMorePopover;
|
|
2236
2556
|
private closeMorePopover;
|
|
2237
2557
|
private extractItem;
|
|
2238
|
-
protected
|
|
2558
|
+
protected getDisplayRaw(item: any): string;
|
|
2559
|
+
private resolveDisplayValue;
|
|
2239
2560
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLookupWidgetColumnComponent, never>;
|
|
2240
2561
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLookupWidgetColumnComponent, "ng-component", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
2241
2562
|
}
|
|
@@ -2567,6 +2888,174 @@ declare class AXPMultiSourceSelectorWidgetColumnComponent extends AXPColumnWidge
|
|
|
2567
2888
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPMultiSourceSelectorWidgetColumnComponent, "axp-multi-source-selector-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
2568
2889
|
}
|
|
2569
2890
|
|
|
2891
|
+
declare class AXPSelectorStructureWidgetColumnComponent extends AXPValueWidgetComponent {
|
|
2892
|
+
protected identityField: _angular_core.Signal<string>;
|
|
2893
|
+
protected textField: _angular_core.Signal<string>;
|
|
2894
|
+
protected valueField: _angular_core.Signal<string>;
|
|
2895
|
+
protected previewIcon: _angular_core.Signal<string>;
|
|
2896
|
+
protected cellText: _angular_core.Signal<string>;
|
|
2897
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectorStructureWidgetColumnComponent, never>;
|
|
2898
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectorStructureWidgetColumnComponent, "axp-selector-structure-widget-column", never, {}, {}, never, never, true, never>;
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
type AXPSelectorStructureSelectorMode = 'select' | 'lookup';
|
|
2902
|
+
type AXPSelectorStructureStructureMode = 'schema' | 'freeform';
|
|
2903
|
+
type AXPSelectorStructureIdentityDisplay = 'readonly' | 'hidden';
|
|
2904
|
+
/** UI layout: standard = global multi-select + collapse rows; compactPanel = per-row select (address-style). */
|
|
2905
|
+
type AXPSelectorStructurePresentationMode = 'standard' | 'compactPanel';
|
|
2906
|
+
interface AXPSelectorStructureFieldDef {
|
|
2907
|
+
name: string;
|
|
2908
|
+
title: string;
|
|
2909
|
+
widgetType: string;
|
|
2910
|
+
options?: Record<string, unknown>;
|
|
2911
|
+
}
|
|
2912
|
+
declare const AXPSelectorStructureWidget: AXPWidgetConfig;
|
|
2913
|
+
interface AXPSelectorStructureWidgetDesignerOptions {
|
|
2914
|
+
selectorMode?: AXPSelectorStructureSelectorMode;
|
|
2915
|
+
structureMode?: AXPSelectorStructureStructureMode;
|
|
2916
|
+
presentation?: AXPSelectorStructurePresentationMode;
|
|
2917
|
+
previewIcon?: string;
|
|
2918
|
+
placeholder?: string;
|
|
2919
|
+
contextSiblingPath?: string;
|
|
2920
|
+
identityField?: string;
|
|
2921
|
+
identityDisplay?: AXPSelectorStructureIdentityDisplay;
|
|
2922
|
+
valueField?: string;
|
|
2923
|
+
textField?: string;
|
|
2924
|
+
dataSource?: unknown;
|
|
2925
|
+
multiple?: boolean;
|
|
2926
|
+
lookup?: {
|
|
2927
|
+
entity?: string;
|
|
2928
|
+
look?: 'select' | 'lookup';
|
|
2929
|
+
filter?: unknown;
|
|
2930
|
+
hasClearButton?: boolean;
|
|
2931
|
+
};
|
|
2932
|
+
structureFields?: AXPSelectorStructureFieldDef[];
|
|
2933
|
+
freeformPath?: string;
|
|
2934
|
+
}
|
|
2935
|
+
interface AXPSelectorStructureWidgetViewOptions extends AXPSelectorStructureWidgetDesignerOptions {
|
|
2936
|
+
}
|
|
2937
|
+
interface AXPSelectorStructureWidgetEditOptions extends AXPSelectorStructureWidgetDesignerOptions {
|
|
2938
|
+
}
|
|
2939
|
+
interface AXPSelectorStructureWidgetColumnOptions {
|
|
2940
|
+
identityField?: string;
|
|
2941
|
+
textField?: string;
|
|
2942
|
+
previewIcon?: string;
|
|
2943
|
+
}
|
|
2944
|
+
interface AXPSelectorStructureWidgetPrintOptions {
|
|
2945
|
+
}
|
|
2946
|
+
interface AXPSelectorStructureWidgetOptions {
|
|
2947
|
+
designer: AXPSelectorStructureWidgetDesignerOptions;
|
|
2948
|
+
view: AXPSelectorStructureWidgetViewOptions;
|
|
2949
|
+
edit: AXPSelectorStructureWidgetEditOptions;
|
|
2950
|
+
print: AXPSelectorStructureWidgetPrintOptions;
|
|
2951
|
+
column: AXPSelectorStructureWidgetColumnOptions;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
declare class AXPSelectorStructureWidgetEditComponent extends AXPValueWidgetComponent {
|
|
2955
|
+
#private;
|
|
2956
|
+
private readonly entityRegistry;
|
|
2957
|
+
protected selectorMode: _angular_core.Signal<"select" | "lookup">;
|
|
2958
|
+
protected structureMode: _angular_core.Signal<"schema" | "freeform">;
|
|
2959
|
+
protected contextSiblingPath: _angular_core.Signal<string>;
|
|
2960
|
+
protected identityField: _angular_core.Signal<string>;
|
|
2961
|
+
protected identityDisplay: _angular_core.Signal<"readonly" | "hidden">;
|
|
2962
|
+
protected valueField: _angular_core.Signal<string>;
|
|
2963
|
+
protected textField: _angular_core.Signal<string>;
|
|
2964
|
+
protected multiple: _angular_core.Signal<boolean>;
|
|
2965
|
+
protected freeformPath: _angular_core.Signal<string>;
|
|
2966
|
+
protected lookupEntityKey: _angular_core.Signal<string | undefined>;
|
|
2967
|
+
protected lookupHasClearButton: _angular_core.Signal<boolean>;
|
|
2968
|
+
protected lookupCustomFilter: _angular_core.Signal<AXDataSourceFilterOption | undefined>;
|
|
2969
|
+
protected disabled: _angular_core.Signal<boolean>;
|
|
2970
|
+
protected presentationMode: _angular_core.Signal<"standard" | "compactPanel">;
|
|
2971
|
+
/** Compact panel (address-style) applies only to sibling select mode; lookup falls back to standard layout. */
|
|
2972
|
+
protected useCompactLayout: _angular_core.Signal<boolean>;
|
|
2973
|
+
protected previewIcon: _angular_core.Signal<string>;
|
|
2974
|
+
protected placeholder: _angular_core.Signal<string>;
|
|
2975
|
+
protected compactSelectPlaceholder: _angular_core.Signal<string>;
|
|
2976
|
+
protected addCompactItemLabel: _angular_core.Signal<string>;
|
|
2977
|
+
protected clearRowTitle: _angular_core.Signal<string>;
|
|
2978
|
+
protected removeRowTitle: _angular_core.Signal<string>;
|
|
2979
|
+
protected resolvedSiblingPath(): string;
|
|
2980
|
+
/**
|
|
2981
|
+
* Items shown in the selector: sibling context array when path is set, otherwise optional static `dataSource` array.
|
|
2982
|
+
*/
|
|
2983
|
+
protected contextItems: _angular_core.Signal<unknown[]>;
|
|
2984
|
+
protected contextSelectDataSource: _angular_core.Signal<AXDataSource<unknown>>;
|
|
2985
|
+
protected selectedSourceItems: _angular_core.WritableSignal<unknown[]>;
|
|
2986
|
+
protected compactRowDataSources: _angular_core.Signal<AXDataSource<unknown>[]>;
|
|
2987
|
+
protected compactRowSelectedItems: _angular_core.Signal<unknown[][]>;
|
|
2988
|
+
protected lookupEntityDef: _angular_core.WritableSignal<AXPEntity | null>;
|
|
2989
|
+
protected defaultLookupSorts: _angular_core.Signal<AXDataSourceSortOption[]>;
|
|
2990
|
+
protected lookupDataSource: _angular_core.Signal<AXDataSource<unknown> | null>;
|
|
2991
|
+
protected lookupTextField: _angular_core.Signal<string>;
|
|
2992
|
+
protected lookupSelectedItems: _angular_core.WritableSignal<unknown[]>;
|
|
2993
|
+
protected rows: _angular_core.Signal<Record<string, unknown>[]>;
|
|
2994
|
+
protected structureFields: _angular_core.Signal<AXPSelectorStructureFieldDef[]>;
|
|
2995
|
+
protected structureFieldNodes: _angular_core.Signal<{
|
|
2996
|
+
name: string;
|
|
2997
|
+
title: string;
|
|
2998
|
+
node: AXPWidgetNode;
|
|
2999
|
+
}[]>;
|
|
3000
|
+
protected identityLabel: _angular_core.Signal<string>;
|
|
3001
|
+
protected identityNode: _angular_core.Signal<AXPWidgetNode | null>;
|
|
3002
|
+
protected freeformHeading: _angular_core.Signal<string>;
|
|
3003
|
+
protected keyPlaceholder: _angular_core.Signal<string>;
|
|
3004
|
+
protected valuePlaceholder: _angular_core.Signal<string>;
|
|
3005
|
+
protected addPairLabel: _angular_core.Signal<string>;
|
|
3006
|
+
protected removePairTitle: _angular_core.Signal<string>;
|
|
3007
|
+
protected disabledHint: _angular_core.Signal<string>;
|
|
3008
|
+
protected trackRow(row: Record<string, unknown>): unknown;
|
|
3009
|
+
protected rowCaption(row: Record<string, unknown>): string;
|
|
3010
|
+
protected isDraftRow(row: Record<string, unknown>): boolean;
|
|
3011
|
+
protected isRowSelectLocked(row: Record<string, unknown>): boolean;
|
|
3012
|
+
/**
|
|
3013
|
+
* Items available for row `index`: all source items minus keys already chosen on other committed rows;
|
|
3014
|
+
* always includes the current row's selected item so the select can display it.
|
|
3015
|
+
*/
|
|
3016
|
+
protected exclusiveItemsForRow(index: number): unknown[];
|
|
3017
|
+
private newRowUid;
|
|
3018
|
+
protected handleCompactSelectChange(index: number, e: AXValueChangedEvent): void;
|
|
3019
|
+
protected applyCompactRowFromItem(index: number, rawItem: unknown | undefined): void;
|
|
3020
|
+
protected clearCompactRow(index: number): void;
|
|
3021
|
+
protected removeCompactRow(index: number): void;
|
|
3022
|
+
protected addCompactRow(): void;
|
|
3023
|
+
protected handleSelectValueChange(e: AXValueChangedEvent): void;
|
|
3024
|
+
protected handleLookupValueChange(e: AXValueChangedEvent): void;
|
|
3025
|
+
protected applyRowsFromSourceItems(items: unknown[]): void;
|
|
3026
|
+
protected handleSchemaContextChange(rowKey: unknown, e: AXPContextChangeEvent): void;
|
|
3027
|
+
protected freeformEntries(row: Record<string, unknown>): {
|
|
3028
|
+
key: string;
|
|
3029
|
+
value: string;
|
|
3030
|
+
index: number;
|
|
3031
|
+
}[];
|
|
3032
|
+
private serializeFreeformValue;
|
|
3033
|
+
protected onFreeformKeyInput(row: Record<string, unknown>, entry: {
|
|
3034
|
+
key: string;
|
|
3035
|
+
value: string;
|
|
3036
|
+
index: number;
|
|
3037
|
+
}, nextKey: string): void;
|
|
3038
|
+
protected patchFreeformValue(row: Record<string, unknown>, key: string, raw: string): void;
|
|
3039
|
+
protected removeFreeformKey(row: Record<string, unknown>, key: string): void;
|
|
3040
|
+
protected addFreeformPair(row: Record<string, unknown>): void;
|
|
3041
|
+
private renameFreeformKey;
|
|
3042
|
+
private patchFreeformMap;
|
|
3043
|
+
private tryParseFreeformString;
|
|
3044
|
+
private mergeListFilter;
|
|
3045
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectorStructureWidgetEditComponent, never>;
|
|
3046
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectorStructureWidgetEditComponent, "axp-selector-structure-widget-edit", never, {}, {}, never, never, true, never>;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
declare class AXPSelectorStructureWidgetViewComponent extends AXPValueWidgetComponent {
|
|
3050
|
+
protected identityField: _angular_core.Signal<string>;
|
|
3051
|
+
protected textField: _angular_core.Signal<string>;
|
|
3052
|
+
protected valueField: _angular_core.Signal<string>;
|
|
3053
|
+
protected previewIcon: _angular_core.Signal<string>;
|
|
3054
|
+
protected summaries: _angular_core.Signal<string[]>;
|
|
3055
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPSelectorStructureWidgetViewComponent, never>;
|
|
3056
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPSelectorStructureWidgetViewComponent, "axp-selector-structure-widget-view", never, {}, {}, never, never, true, never>;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
2570
3059
|
declare const AXPEntityCreateEvent: {
|
|
2571
3060
|
(payload: {
|
|
2572
3061
|
entity: string;
|
|
@@ -2697,5 +3186,5 @@ declare class AXPShowListViewAction extends AXPWorkflowAction {
|
|
|
2697
3186
|
}
|
|
2698
3187
|
declare const AXPShowListViewWorkflow: AXPWorkflow;
|
|
2699
3188
|
|
|
2700
|
-
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntitiesListDataSourceDefinition, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityEventsKeys, AXPEntityFormBuilderService, AXPEntityListTableService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_MULTI_SOURCE_DEFINITION_PROVIDER, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, EntityBuilder, EntityDataAccessor, actionExists, cloneLayoutArrays, columnWidthMiddleware, columnWidthMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityDetailsCreateActions, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, isAXPMiddlewareAbortError, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider };
|
|
2701
|
-
export type { AXPAuditEvent, AXPDataSeeder, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityCreateDto, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailDto, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListInput, AXPEntityListItemDto, AXPEntityMasterListViewSortPropViewModel, AXPEntityModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityOutputDto, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPEntityUpdateDto, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPRecordAuditInfo, AXPRecordOwnershipInfo, AXPRecordStateInfo, AXPRelatedColumnMetadata, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, SectionOrderConfig };
|
|
3189
|
+
export { AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEntitiesListDataSourceDefinition, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityEventsKeys, AXPEntityFormBuilderService, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPModifyEntitySectionWorkflow, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPQuickEntityModifyPopupAction, AXPQuickModifyEntityWorkflow, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowDetailViewAction, AXPShowDetailsViewWorkflow, AXPShowListViewAction, AXPShowListViewWorkflow, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_DATA_SEEDER_TOKEN, AXP_ENTITY_ACTION_PLUGIN, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER, AXP_ENTITY_MODIFIER, AXP_ENTITY_STORAGE_BACKEND, AXP_ENTITY_STORAGE_MIDDLEWARE, AXP_MULTI_SOURCE_DEFINITION_PROVIDER, DEFAULT_COLUMN_ORDER, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, EntityBuilder, EntityDataAccessor, actionExists, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityDetailsCreateActions, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, isAXPMiddlewareAbortError, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, provideEntity, resolveEntityPluginDetailPageOrder, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider };
|
|
3190
|
+
export type { AXPAuditEvent, AXPDataSeeder, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityCreateDto, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailDto, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListInput, AXPEntityListItemDto, AXPEntityListToolbarConvertOptions, AXPEntityMasterListViewSortPropViewModel, AXPEntityModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityOutputDto, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPEntityUpdateDto, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPRecordAuditInfo, AXPRecordOwnershipInfo, AXPRecordStateInfo, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, ResolveEntityPluginDetailPageOrderOptions, SectionOrderConfig, SkipEntityComponentPageRef };
|