@acorex/platform 21.0.0-next.85 → 21.0.0-next.88
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 +1 -1
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/{acorex-platform-common-common-settings.provider-Ytey9uhY.mjs → acorex-platform-common-common-settings.provider-VfmZct9H.mjs} +43 -3
- package/fesm2022/acorex-platform-common-common-settings.provider-VfmZct9H.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +1709 -870
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-contracts.mjs +1160 -9
- package/fesm2022/acorex-platform-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +210 -131
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain-contracts.mjs +58 -0
- package/fesm2022/acorex-platform-domain-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-domain.mjs +2 -50
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +59 -23
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +3 -2
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-CwG6n_Yb.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +1114 -0
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component--IeMZLIr.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +661 -742
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +333 -119
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +11 -105
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs +513 -0
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-CFyfix31.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-D4MOHEpI.mjs} +4 -4
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-D4MOHEpI.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-widgets.mjs +868 -57
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs → acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs} +2 -3
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DrUwqKKA.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +740 -96
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs → acorex-platform-themes-shared-settings.provider-BUwPqwUS.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BUwPqwUS.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +4 -3
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +6 -8
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +9 -5
- package/types/acorex-platform-auth.d.ts +2 -1
- package/types/acorex-platform-common.d.ts +419 -1083
- package/types/acorex-platform-contracts.d.ts +1791 -260
- package/types/acorex-platform-core.d.ts +2153 -2806
- package/types/acorex-platform-domain-contracts.d.ts +416 -0
- package/types/acorex-platform-domain.d.ts +4 -415
- package/types/acorex-platform-layout-builder.d.ts +2 -1
- package/types/acorex-platform-layout-components.d.ts +15 -4
- package/types/acorex-platform-layout-designer.d.ts +2 -1
- package/types/acorex-platform-layout-entity-contracts.d.ts +864 -0
- package/types/acorex-platform-layout-entity.d.ts +88 -269
- package/types/acorex-platform-layout-views.d.ts +48 -14
- package/types/acorex-platform-layout-widget-core.d.ts +9 -5
- package/types/acorex-platform-layout-widgets.d.ts +89 -13
- package/types/acorex-platform-runtime.d.ts +1 -1
- package/types/acorex-platform-themes-default.d.ts +173 -70
- package/types/acorex-platform-workflow.d.ts +5 -18
- package/fesm2022/acorex-platform-common-common-settings.provider-Ytey9uhY.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs +0 -116
- package/fesm2022/acorex-platform-layout-widgets-repeater-widget-column.component-J0zcGKBX.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-DjpZU6gz.mjs.map +0 -1
- package/fesm2022/acorex-platform-native.mjs +0 -155
- package/fesm2022/acorex-platform-native.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +0 -1
- package/native/README.md +0 -4
- package/types/acorex-platform-native.d.ts +0 -28
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { AXPExecuteCommandResult,
|
|
1
|
+
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
2
|
+
import { AXPExecuteCommandResult, AXPMetaData, AXPGridLayoutOptions, AXPMultiLanguageString, AXPBreadcrumbItem, AXPFilterQuery, AXPExecuteCommand, AXPFilterDefinition, AXPPagedListResult, AXPCategoryEntity, AXPEntityOp, AXPMiddlewareErrorResponse, AXPExpression, AXPColumnQuery, AXPSortDefinition, AXPFileListItem } from '@acorex/platform/contracts';
|
|
3
3
|
import { AXPCommand, AXPQueryExecutor, AXPCommandService, AXPQuery } from '@acorex/platform/runtime';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { ElementRef, InjectionToken, Injector, Type, EnvironmentProviders, OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
6
|
+
import { AXPEntityListFilterDefinition, AXPEntityAggregateRequest, AXPEntityDetailDto, AXPEntityModel, AXPEntityListItemDto, AXPEntityCreateDto, AXPEntityUpdateDto, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityAggregateOptions, AXPEntityAggregateResult, AXPEntity as AXPEntity$1 } from '@acorex/platform/layout/entity-contracts';
|
|
7
|
+
export * from '@acorex/platform/layout/entity-contracts';
|
|
8
|
+
export { collectNestedCreateHiddenProperties, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, mergeForeignKeyFieldIntoCreateActions } from '@acorex/platform/layout/entity-contracts';
|
|
6
9
|
import * as i4 from '@acorex/platform/layout/widget-core';
|
|
7
10
|
import { AXPWidgetNode, AXPWidgetColumnNode, AXPWidgetCoreService, AXPColumnWidgetComponent, AXPValueWidgetComponent, AXPWidgetConfig, AXPWidgetRendererDirective, AXPWidgetCoreElementAPI } from '@acorex/platform/layout/widget-core';
|
|
8
11
|
import { AXPPreloadFiltersApplyEvent, AXPColumnItemListItem, AXPDataSelectorRowActionsHandler, AXPCategoryTreeDataSource, AXPDataSelectorAllowCreate } from '@acorex/platform/layout/components';
|
|
9
12
|
import { AXPPageLayoutBaseComponent } from '@acorex/platform/layout/views';
|
|
13
|
+
import { AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPQueryRequest, AXHighlightService, AXPDeviceService, AXPBroadcastEventService, AXPActionMenuItem, AXPExpressionEvaluatorService, AXPContextEvalFactory, AXPContextChangeEvent } from '@acorex/platform/core';
|
|
10
14
|
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
11
|
-
import { AXPRelatedEntity, AXPEntityPage, AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPCardField, AXPEntityPropertyLayoutConfig, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPQueryView, AXPEntityMasterListLayoutType, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityPropertyView,
|
|
15
|
+
import { AXPRelatedEntity, AXPEntityPage, AXPEntityCommandScope, AXPEntity, AXPEntityAction, AXPEntityProperty, AXPEntityTableColumn, AXPCardField, AXPEntityPropertyLayoutConfig, AXPEntitySectionView, AXPEntityPropertyCreateView, AXPQueryView, AXPEntityMasterListLayoutType, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityPropertyView, AXPEntityCategoryPlugin, AXPEntityPropertyGroup, AXPEntityMasterCreateLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityMasterSingleLayoutView, AXPEntityMasterListView, AXPEntityDetailListView, AXCFileUploaderCapabilities, AXCFileUploaderAction, AXPQueryFilter } from '@acorex/platform/common';
|
|
12
16
|
export { AXPEntityDefinitionCrudService, AXP_ENTITY_DEFINITION_CRUD_SERVICE } from '@acorex/platform/domain';
|
|
13
17
|
import { AXStyleColorType, AXDataSource, AXDataSourceFilterOption, AXDataSourceSortOption, AXValueChangedEvent, AXClickEvent, AXFocusEvent, AXHtmlEvent } from '@acorex/cdk/common';
|
|
14
18
|
import * as i1 from '@angular/router';
|
|
@@ -25,12 +29,12 @@ import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
|
25
29
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
26
30
|
import { AXFormatService } from '@acorex/core/format';
|
|
27
31
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
28
|
-
import * as _acorex_core_translation from '@acorex/core/translation';
|
|
29
|
-
import { AXTranslationService } from '@acorex/core/translation';
|
|
30
32
|
import { AXPProviderSelectWidgetEditBase, AXPDataListWidgetComponentOptions } from '@acorex/platform/layout/widgets';
|
|
31
33
|
import * as _acorex_platform_layout_entity from '@acorex/platform/layout/entity';
|
|
32
34
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
33
35
|
import { AXFileService } from '@acorex/core/file';
|
|
36
|
+
import * as _acorex_core_translation from '@acorex/core/translation';
|
|
37
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
34
38
|
|
|
35
39
|
declare class AXPCreateEntityCommand implements AXPCommand<any, any> {
|
|
36
40
|
private entityForm;
|
|
@@ -106,7 +110,7 @@ declare const axpCreateEntityCommandDefinition: {
|
|
|
106
110
|
};
|
|
107
111
|
};
|
|
108
112
|
};
|
|
109
|
-
categories:
|
|
113
|
+
categories: _acorex_platform_contracts.AXPDefinitionCategory[];
|
|
110
114
|
};
|
|
111
115
|
|
|
112
116
|
declare class AXPUpdateEntityCommand implements AXPCommand<any, any> {
|
|
@@ -115,6 +119,9 @@ declare class AXPUpdateEntityCommand implements AXPCommand<any, any> {
|
|
|
115
119
|
private readonly entityService;
|
|
116
120
|
private readonly toastService;
|
|
117
121
|
private readonly translationService;
|
|
122
|
+
private readonly formatService;
|
|
123
|
+
private readonly expressionEvaluator;
|
|
124
|
+
private readonly contextEvalFactory;
|
|
118
125
|
private readonly eventService;
|
|
119
126
|
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
120
127
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPUpdateEntityCommand, never>;
|
|
@@ -125,7 +132,11 @@ declare class AXPViewEntityDetailsCommand implements AXPCommand<any, any> {
|
|
|
125
132
|
private readonly entityForm;
|
|
126
133
|
private readonly entityService;
|
|
127
134
|
private readonly translationService;
|
|
135
|
+
private readonly expressionEvaluator;
|
|
136
|
+
private readonly contextEvalFactory;
|
|
128
137
|
execute(input: any): Promise<AXPExecuteCommandResult<any>>;
|
|
138
|
+
private resolveDialogTitle;
|
|
139
|
+
private loadRecordContext;
|
|
129
140
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPViewEntityDetailsCommand, never>;
|
|
130
141
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPViewEntityDetailsCommand>;
|
|
131
142
|
}
|
|
@@ -152,188 +163,13 @@ declare class AXPOpenEntityDetailsCommand implements AXPCommand<AXPOpenEntityDet
|
|
|
152
163
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPOpenEntityDetailsCommand>;
|
|
153
164
|
}
|
|
154
165
|
|
|
155
|
-
/** Platform entity layout datasource registry names. */
|
|
156
|
-
declare const AXPEntityDataSourceKeys: {
|
|
157
|
-
readonly Entities: "entities";
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
declare const AXPEntityEventsKeys: {
|
|
161
|
-
REFRESH_LAYOUT: string;
|
|
162
|
-
REFRESH_DATA: string;
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
type AXPEntityAggregateReducerType = 'count' | 'sum' | 'min' | 'max' | 'avg';
|
|
166
|
-
interface AXPEntityAggregateMeasure {
|
|
167
|
-
reducer: AXPEntityAggregateReducerType;
|
|
168
|
-
/** Required for sum, min, max, and avg. Ignored for count (rows per group). */
|
|
169
|
-
field?: string;
|
|
170
|
-
/** Result column name; defaults are derived from the reducer and field. */
|
|
171
|
-
alias?: string;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Aggregate stored rows after the same filter/sort pipeline as {@link AXPQueryRequest}.
|
|
175
|
-
* Group keys use dotted field paths (same as lodash-style getters).
|
|
176
|
-
*/
|
|
177
|
-
interface AXPEntityAggregateRequest extends Pick<AXPQueryRequest, 'filter' | 'sort'> {
|
|
178
|
-
groupBy: string[];
|
|
179
|
-
measures: AXPEntityAggregateMeasure[];
|
|
180
|
-
}
|
|
181
|
-
interface AXPEntityAggregateResult {
|
|
182
|
-
rows: Record<string, unknown>[];
|
|
183
|
-
}
|
|
184
|
-
interface AXPEntityQueryAllOptions {
|
|
185
|
-
/**
|
|
186
|
-
* Page size for backends that read page-by-page (HTTP API).
|
|
187
|
-
* In-memory backends load the filtered set once and ignore this.
|
|
188
|
-
*/
|
|
189
|
-
pageSize?: number;
|
|
190
|
-
/** Maximum rows to return or scan (safety cap). */
|
|
191
|
-
maxRows?: number;
|
|
192
|
-
}
|
|
193
|
-
interface AXPEntityQueryAllResult<T> {
|
|
194
|
-
items: T[];
|
|
195
|
-
/** Row count matching filter/sort before applying maxRows. */
|
|
196
|
-
total: number;
|
|
197
|
-
/** True when maxRows prevented returning every matching row. */
|
|
198
|
-
truncated: boolean;
|
|
199
|
-
}
|
|
200
|
-
interface AXPEntityAggregateOptions {
|
|
201
|
-
/** Maximum rows to load for aggregation when the backend pages remotely (default 50_000). */
|
|
202
|
-
maxRows?: number;
|
|
203
|
-
/** Page size for remote paging during aggregate (default 500). */
|
|
204
|
-
pageSize?: number;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* One audit point in time for a record lifecycle event.
|
|
209
|
-
*
|
|
210
|
-
* Used inside {@link AXPRecordAuditInfo} (`created`, `updated`, `deleted`).
|
|
211
|
-
* Backends and mock middleware typically set `at` and `by`; `reason` and `source`
|
|
212
|
-
* (for example `api`, `system`, `import`) are optional diagnostic fields.
|
|
213
|
-
*/
|
|
214
|
-
interface AXPAuditEvent {
|
|
215
|
-
at?: Date;
|
|
216
|
-
by?: AXPUserReference;
|
|
217
|
-
/** Optional business or technical reason for the event. */
|
|
218
|
-
reason?: string;
|
|
219
|
-
/** Optional origin of the change (for example `api`, `system`, `import`). */
|
|
220
|
-
source?: string;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Aggregated audit trail for a persisted row.
|
|
224
|
-
*
|
|
225
|
-
* Filled by APIs or connectivity mock middleware when creating, updating, or
|
|
226
|
-
* soft-deleting records. UI surfaces may show these via the history plugin or
|
|
227
|
-
* custom columns. Version snapshot pipelines often **omit** this object from
|
|
228
|
-
* stored snapshots while still applying it to live payloads.
|
|
229
|
-
*
|
|
230
|
-
* @remarks Fields are optional today; callers should tolerate partial data.
|
|
231
|
-
*/
|
|
232
|
-
interface AXPRecordAuditInfo {
|
|
233
|
-
created?: AXPAuditEvent;
|
|
234
|
-
updated?: AXPAuditEvent;
|
|
235
|
-
deleted?: AXPAuditEvent;
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Cross-cutting flags that are not part of the domain schema but affect how a
|
|
239
|
-
* row is shown or edited (visibility, built-in/system rows, immutability).
|
|
240
|
-
*
|
|
241
|
-
* Module entity models sometimes expose only this slice (for example
|
|
242
|
-
* `stateInfo` on business units) when the rest of the row uses a bespoke shape.
|
|
243
|
-
*
|
|
244
|
-
* @remarks Entity list/detail flows should honor these flags where applicable.
|
|
245
|
-
*/
|
|
246
|
-
interface AXPRecordStateInfo {
|
|
247
|
-
isHidden?: boolean;
|
|
248
|
-
isSystem?: boolean;
|
|
249
|
-
isImmutable?: boolean;
|
|
250
|
-
/** @deprecated Prefer explicit domain modeling over this flag. */
|
|
251
|
-
isDistributed?: boolean;
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* Tenancy and actor scope for a row in a multi-tenant application.
|
|
255
|
-
*
|
|
256
|
-
* Used to associate a record with a tenant, application instance, or owning
|
|
257
|
-
* user when the API returns ownership metadata alongside domain fields.
|
|
258
|
-
*/
|
|
259
|
-
interface AXPRecordOwnershipInfo {
|
|
260
|
-
tenantId?: string;
|
|
261
|
-
applicationId?: string;
|
|
262
|
-
userId?: string;
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* Workflow linkage for a domain record (set when a run is started or bound).
|
|
266
|
-
*
|
|
267
|
-
* Populated by workflow engine, middleware, or integration — not declared as
|
|
268
|
-
* entity definition properties. Entities with the `workflow` plugin may carry
|
|
269
|
-
* this object when a {@link WorkflowManagement.WorkflowInstance} drives the row.
|
|
270
|
-
*/
|
|
271
|
-
interface AXPRecordWorkflowInfo {
|
|
272
|
-
/** Workflow instance id for this record's active or last run. */
|
|
273
|
-
instanceId?: string | null;
|
|
274
|
-
/** Logical workflow definition id (same as WorkflowInstance.definitionId). */
|
|
275
|
-
definitionId?: string | null;
|
|
276
|
-
/** Correlation id for idempotent start and related-run lookup (same as WorkflowInstance.correlationId). */
|
|
277
|
-
correlationId?: string | null;
|
|
278
|
-
/** When set, pins the run to a workflow definition version; omit for current default. */
|
|
279
|
-
pinnedVersion?: number | null;
|
|
280
|
-
}
|
|
281
|
-
/** Entity query filter field for {@link AXPRecordWorkflowInfo.instanceId}. */
|
|
282
|
-
declare const AXP_RECORD_WORKFLOW_INFO_INSTANCE_ID_FIELD: "workflowInfo.instanceId";
|
|
283
|
-
/** Entity query filter field for {@link AXPRecordWorkflowInfo.correlationId}. */
|
|
284
|
-
declare const AXP_RECORD_WORKFLOW_INFO_CORRELATION_ID_FIELD: "workflowInfo.correlationId";
|
|
285
|
-
/** Entity query filter field for {@link AXPRecordWorkflowInfo.definitionId}. */
|
|
286
|
-
declare const AXP_RECORD_WORKFLOW_INFO_DEFINITION_ID_FIELD: "workflowInfo.definitionId";
|
|
287
|
-
/** Returns a trimmed workflow instance id from a record, if present. */
|
|
288
|
-
declare function getRecordWorkflowInstanceId(record: {
|
|
289
|
-
workflowInfo?: AXPRecordWorkflowInfo | null;
|
|
290
|
-
} | null | undefined): string | null;
|
|
291
|
-
/** Returns a trimmed workflow correlation id from a record, if present. */
|
|
292
|
-
declare function getRecordWorkflowCorrelationId(record: {
|
|
293
|
-
workflowInfo?: AXPRecordWorkflowInfo | null;
|
|
294
|
-
} | null | undefined): string | null;
|
|
295
|
-
/** Builds canonical workflow metadata for a domain record (engine / middleware). */
|
|
296
|
-
declare function buildAXPRecordWorkflowInfo(params: {
|
|
297
|
-
instanceId: string;
|
|
298
|
-
definitionId?: string | null;
|
|
299
|
-
correlationId?: string | null;
|
|
300
|
-
pinnedVersion?: number | null;
|
|
301
|
-
}): AXPRecordWorkflowInfo;
|
|
302
|
-
/**
|
|
303
|
-
* Base shape for **entity row** TypeScript models across modules: a stable
|
|
304
|
-
* identifier plus optional platform metadata.
|
|
305
|
-
*
|
|
306
|
-
* Module-specific interfaces extend this with domain properties
|
|
307
|
-
* (`extends AXPEntityModel<string>` / `AXPEntityModel<Id>`) while reusing
|
|
308
|
-
* `auditInfo`, `stateInfo`, `ownershipInfo`, and `workflowInfo` when the backend sends them.
|
|
309
|
-
*/
|
|
310
|
-
interface AXPEntityModel<Id> {
|
|
311
|
-
id: Id;
|
|
312
|
-
auditInfo?: AXPRecordAuditInfo;
|
|
313
|
-
stateInfo?: AXPRecordStateInfo;
|
|
314
|
-
ownershipInfo?: AXPRecordOwnershipInfo;
|
|
315
|
-
workflowInfo?: AXPRecordWorkflowInfo;
|
|
316
|
-
}
|
|
317
|
-
interface AXPEntityCreateDto {
|
|
318
|
-
}
|
|
319
|
-
interface AXPEntityUpdateDto<Id> {
|
|
320
|
-
id: Id;
|
|
321
|
-
}
|
|
322
|
-
interface AXPEntityOutputDto<Id> {
|
|
323
|
-
id: Id;
|
|
324
|
-
}
|
|
325
|
-
interface AXPEntityDetailDto<Id> extends AXPEntityOutputDto<Id> {
|
|
326
|
-
}
|
|
327
|
-
interface AXPEntityListItemDto<Id> extends AXPEntityOutputDto<Id> {
|
|
328
|
-
}
|
|
329
|
-
interface AXPMockDto<Id> extends AXPEntityModel<Id> {
|
|
330
|
-
}
|
|
331
|
-
|
|
332
166
|
declare class AXPEntityDetailPopoverComponent {
|
|
333
167
|
private readonly commandService;
|
|
334
168
|
private readonly queryService;
|
|
335
169
|
private readonly formatService;
|
|
336
170
|
private readonly translation;
|
|
171
|
+
private readonly expressionEvaluator;
|
|
172
|
+
private readonly contextEvalFactory;
|
|
337
173
|
private readonly changeDetectorRef;
|
|
338
174
|
entity: _angular_core.InputSignal<string>;
|
|
339
175
|
entityId: _angular_core.InputSignal<string | number>;
|
|
@@ -345,9 +181,11 @@ declare class AXPEntityDetailPopoverComponent {
|
|
|
345
181
|
requestClose: _angular_core.InputSignal<(() => void) | undefined>;
|
|
346
182
|
protected entityDetails: _angular_core.WritableSignal<any>;
|
|
347
183
|
protected isLoadingDetails: _angular_core.WritableSignal<boolean>;
|
|
184
|
+
private headerTitleVersion;
|
|
348
185
|
/** Placeholder rows for the loading skeleton (matches typical property count). */
|
|
349
186
|
protected readonly loadingSkeletonRows: readonly [1, 2, 3, 4, 5];
|
|
350
|
-
protected readonly headerTitle: _angular_core.
|
|
187
|
+
protected readonly headerTitle: _angular_core.WritableSignal<string>;
|
|
188
|
+
constructor();
|
|
351
189
|
/**
|
|
352
190
|
* Stable list of property widgets for the template. Must be a signal (computed), not a method:
|
|
353
191
|
* calling a method from the template rebuilds nodes every CD cycle and can make the widget renderer loop.
|
|
@@ -360,7 +198,8 @@ declare class AXPEntityDetailPopoverComponent {
|
|
|
360
198
|
/** Loads entity details after the overlay panel is created. */
|
|
361
199
|
loadDetails(): Promise<void>;
|
|
362
200
|
protected navigateToDetails(): Promise<void>;
|
|
363
|
-
private
|
|
201
|
+
private resolveHeaderTitle;
|
|
202
|
+
private resolveLookupDisplayLabelAsync;
|
|
364
203
|
/**
|
|
365
204
|
* Returns true if a value is meaningful for display (non-empty/non-null).
|
|
366
205
|
*/
|
|
@@ -403,6 +242,7 @@ declare class AXPEntityDetailPopoverService {
|
|
|
403
242
|
private readonly router;
|
|
404
243
|
private overlayRef;
|
|
405
244
|
private componentRef;
|
|
245
|
+
private anchorElement;
|
|
406
246
|
private outsideClickHandler;
|
|
407
247
|
private keydownHandler;
|
|
408
248
|
private routerSubscription;
|
|
@@ -430,12 +270,11 @@ declare class AXPEntityDetailPopoverService {
|
|
|
430
270
|
|
|
431
271
|
declare class AXPEntityPreloadFiltersContainerComponent extends AXPPageLayoutBaseComponent {
|
|
432
272
|
private readonly route;
|
|
433
|
-
private readonly router;
|
|
434
273
|
private readonly entityService;
|
|
435
274
|
private readonly filterOperatorMiddleware;
|
|
436
275
|
protected readonly noMatchText: _angular_core.WritableSignal<string | null>;
|
|
437
276
|
private vm;
|
|
438
|
-
preloadFiltersDef: _angular_core.Signal<
|
|
277
|
+
preloadFiltersDef: _angular_core.Signal<_acorex_platform_contracts.AXPFilterDefinition[]>;
|
|
439
278
|
hasNoRequiredFilters: _angular_core.Signal<boolean>;
|
|
440
279
|
protected getPageTitle(): string;
|
|
441
280
|
protected getPageDescription(): string | null;
|
|
@@ -570,6 +409,7 @@ declare class AXPEntityDetailListViewModel {
|
|
|
570
409
|
private readonly settingsService;
|
|
571
410
|
private readonly destroyed;
|
|
572
411
|
private readonly showRowIndexColumnEnabled;
|
|
412
|
+
private lastAppliedFilterKey;
|
|
573
413
|
/** Whether the row index column is shown (user setting). */
|
|
574
414
|
readonly showIndexColumn: _angular_core.Signal<boolean>;
|
|
575
415
|
dataSource: AXDataSource<any>;
|
|
@@ -778,6 +618,7 @@ declare class AXPEntityMasterListViewModel {
|
|
|
778
618
|
private readonly settings;
|
|
779
619
|
private readonly widgetResolver;
|
|
780
620
|
private readonly expressionEvaluator;
|
|
621
|
+
private readonly contextEvalFactory;
|
|
781
622
|
private readonly translation;
|
|
782
623
|
private readonly commandService;
|
|
783
624
|
private readonly eventService;
|
|
@@ -858,7 +699,8 @@ declare class AXPEntityMasterListViewModel {
|
|
|
858
699
|
switchListLayout(): AXPEntityMasterListLayoutType;
|
|
859
700
|
private resolveActiveListLayout;
|
|
860
701
|
private applyListLayoutFromSettings;
|
|
861
|
-
private
|
|
702
|
+
private createLogicExpressionScope;
|
|
703
|
+
private createDisplayExpressionScope;
|
|
862
704
|
private resolveCommandNameExpression;
|
|
863
705
|
private resolveTitleExpression;
|
|
864
706
|
/**
|
|
@@ -927,6 +769,7 @@ declare class AXPEntityMasterListViewModel {
|
|
|
927
769
|
} | null): void;
|
|
928
770
|
title: _angular_core.Signal<string>;
|
|
929
771
|
description: _angular_core.Signal<string | null>;
|
|
772
|
+
filterDefinitions: _angular_core.WritableSignal<AXPEntityListFilterDefinition[]>;
|
|
930
773
|
inlineFiltersPlaceholders: _angular_core.Signal<string[]>;
|
|
931
774
|
hasInlineFilters: _angular_core.Signal<boolean>;
|
|
932
775
|
beardcrumbs: _angular_core.Signal<AXPBreadcrumbItem[]>;
|
|
@@ -959,8 +802,12 @@ declare class AXPEntityMasterListViewModel {
|
|
|
959
802
|
* Apply filters from query params
|
|
960
803
|
*/
|
|
961
804
|
applyFiltersFromQueryParams(filtersJson: string | null): boolean;
|
|
962
|
-
|
|
963
|
-
|
|
805
|
+
/**
|
|
806
|
+
* Loads host and merge-detail related filter definitions (async registry resolution).
|
|
807
|
+
*/
|
|
808
|
+
loadFilterDefinitions(): Promise<void>;
|
|
809
|
+
get filtersDef(): AXPEntityListFilterDefinition[];
|
|
810
|
+
get preloadFiltersDef(): AXPEntityListFilterDefinition[];
|
|
964
811
|
applyViewFilters(): Promise<void>;
|
|
965
812
|
resetFilters(): void;
|
|
966
813
|
applyFilterAndSort(): Promise<void>;
|
|
@@ -1197,8 +1044,8 @@ interface AXPEntityModifierContext {
|
|
|
1197
1044
|
set(newKey: string | undefined): AXPEntityModifierContext;
|
|
1198
1045
|
};
|
|
1199
1046
|
category: {
|
|
1200
|
-
get():
|
|
1201
|
-
update(updater: (cat:
|
|
1047
|
+
get(): AXPEntityCategoryPlugin | undefined;
|
|
1048
|
+
update(updater: (cat: AXPEntityCategoryPlugin | undefined) => AXPEntityCategoryPlugin): AXPEntityModifierContext;
|
|
1202
1049
|
};
|
|
1203
1050
|
properties: {
|
|
1204
1051
|
list(): AXPEntityProperty[];
|
|
@@ -1348,6 +1195,8 @@ declare class AXPEntityPreloadFiltersViewModel {
|
|
|
1348
1195
|
private config;
|
|
1349
1196
|
readonly entityDef: AXPEntity;
|
|
1350
1197
|
private readonly widgetResolver;
|
|
1198
|
+
private readonly entityRegistry;
|
|
1199
|
+
filterDefinitions: _angular_core.WritableSignal<AXPEntityListFilterDefinition[]>;
|
|
1351
1200
|
constructor(injector: Injector, config: AXPEntity);
|
|
1352
1201
|
/**
|
|
1353
1202
|
* Entity title
|
|
@@ -1365,30 +1214,14 @@ declare class AXPEntityPreloadFiltersViewModel {
|
|
|
1365
1214
|
* Required filter definitions only
|
|
1366
1215
|
*/
|
|
1367
1216
|
requiredFiltersDef: _angular_core.Signal<AXPFilterDefinition[]>;
|
|
1217
|
+
loadFilterDefinitions(): Promise<void>;
|
|
1368
1218
|
/**
|
|
1369
1219
|
* Serialize filter values to plain objects (remove signals, functions, etc.)
|
|
1370
1220
|
*/
|
|
1371
|
-
serializeFilters(filters:
|
|
1221
|
+
serializeFilters(filters: unknown): AXPFilterQuery[];
|
|
1372
1222
|
}
|
|
1373
1223
|
declare const AXPEntityPreloadFiltersViewModelResolver: ResolveFn<Promise<AXPEntityPreloadFiltersViewModel | RedirectCommand>>;
|
|
1374
1224
|
|
|
1375
|
-
type AXPCollectEntityQuickSearchPathsResolver = (moduleName: string, entityName: string) => Promise<AXPEntity | null>;
|
|
1376
|
-
/**
|
|
1377
|
-
* Lodash-get paths for quick search from a single entity definition: string-like property names
|
|
1378
|
-
* plus lookup `expose[].target` paths (e.g. `brand.title`).
|
|
1379
|
-
*/
|
|
1380
|
-
declare function collectQuickSearchPathsFromSingleEntityDefinition(entity: AXPEntity | null | undefined): string[];
|
|
1381
|
-
/**
|
|
1382
|
-
* Adds dotted paths from master columns (`name` or `options.dataPath`), e.g. `person.fullName`, `jobDefinition.title`.
|
|
1383
|
-
*/
|
|
1384
|
-
declare function collectNestedFieldPathsFromEntityColumns(entity: AXPEntity | null | undefined): string[];
|
|
1385
|
-
/**
|
|
1386
|
-
* Collects lodash-get field paths used for mock/API quick search (`contains` / OR filters):
|
|
1387
|
-
* host properties and lookup expose targets, dotted column paths, and merge-detail related entities
|
|
1388
|
-
* prefixed with the related entity merge `persistence.dataPath` (e.g. `person.firstName`).
|
|
1389
|
-
*/
|
|
1390
|
-
declare function collectEntityQuickSearchFieldPaths(entity: AXPEntity | null | undefined, resolveRelatedDefinition: AXPCollectEntityQuickSearchPathsResolver): Promise<string[]>;
|
|
1391
|
-
|
|
1392
1225
|
interface AXPEntityPreloadEntity {
|
|
1393
1226
|
module: string;
|
|
1394
1227
|
entity: string;
|
|
@@ -1491,10 +1324,7 @@ declare function runEntityQuery<T = unknown>(entityName: string, request: AXPQue
|
|
|
1491
1324
|
|
|
1492
1325
|
declare abstract class AXPEntityStorageService<TKey, TDetailDto extends AXPEntityDetailDto<TKey> = AXPEntityModel<TKey>, TListItemDto extends AXPEntityListItemDto<TKey> = TDetailDto, TCreateDto extends AXPEntityCreateDto = TDetailDto, TUpdateDto extends AXPEntityUpdateDto<TKey> = TDetailDto> {
|
|
1493
1326
|
abstract get dbName(): string;
|
|
1494
|
-
abstract initial(entityName: string, collection: TCreateDto[]
|
|
1495
|
-
mergeType?: 'merge' | 'replace';
|
|
1496
|
-
uniqueKeys?: string[];
|
|
1497
|
-
}): Promise<TCreateDto[]>;
|
|
1327
|
+
abstract initial(entityName: string, collection: TCreateDto[]): Promise<TCreateDto[]>;
|
|
1498
1328
|
abstract getOne(entityName: string, id: TKey): Promise<TDetailDto>;
|
|
1499
1329
|
abstract updateOne(entityName: string, id: TKey, keyValues: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
1500
1330
|
abstract deleteOne(entityName: string, id: TKey): Promise<void>;
|
|
@@ -1577,7 +1407,7 @@ declare class AXMEntityCrudServiceImpl<TKey, TDetailDto extends AXPEntityDetailD
|
|
|
1577
1407
|
categoryId: TKey;
|
|
1578
1408
|
categoryKey?: string;
|
|
1579
1409
|
}): Promise<AXPPagedListResult<TListItemDto>>;
|
|
1580
|
-
getCategoriesList(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXPCategoryEntity
|
|
1410
|
+
getCategoriesList(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXPCategoryEntity<TKey>>>;
|
|
1581
1411
|
get storageService(): AXPEntityStorageService<any, any, any, any, any>;
|
|
1582
1412
|
count(request: Pick<AXPQueryRequest, 'filter' | 'sort'>): Promise<number>;
|
|
1583
1413
|
queryAll(request: Pick<AXPQueryRequest, 'filter' | 'sort'>, options?: AXPEntityQueryAllOptions): Promise<AXPEntityQueryAllResult<TListItemDto>>;
|
|
@@ -1689,7 +1519,7 @@ declare class EntityDataAccessor<TKey = any, TDetailDto extends AXPEntityDetailD
|
|
|
1689
1519
|
* Queries category entities linked to this entity (`{module}.{entity}Category`).
|
|
1690
1520
|
* Falls back to CRUD category storage (same as {@link AXMEntityCrudServiceImpl.getCategoriesList}).
|
|
1691
1521
|
*/
|
|
1692
|
-
getCategoriesList(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXPCategoryEntity
|
|
1522
|
+
getCategoriesList(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXPCategoryEntity<TKey>>>;
|
|
1693
1523
|
/**
|
|
1694
1524
|
* Creates a new entity.
|
|
1695
1525
|
* @param data - The entity data to create
|
|
@@ -2220,10 +2050,7 @@ declare class AXPMiddlewareEntityStorageService<TKey = any, TDetailDto extends A
|
|
|
2220
2050
|
private compose;
|
|
2221
2051
|
private run;
|
|
2222
2052
|
private createCtx;
|
|
2223
|
-
initial(entityName: string, collection: TCreateDto[]
|
|
2224
|
-
mergeType?: 'merge' | 'replace';
|
|
2225
|
-
uniqueKeys?: string[];
|
|
2226
|
-
}): Promise<TCreateDto[]>;
|
|
2053
|
+
initial(entityName: string, collection: TCreateDto[]): Promise<TCreateDto[]>;
|
|
2227
2054
|
getOne(entityName: string, id: TKey): Promise<TDetailDto>;
|
|
2228
2055
|
updateOne(entityName: string, id: TKey, keyValues: Omit<Partial<TUpdateDto>, 'id'>): Promise<TDetailDto>;
|
|
2229
2056
|
deleteOne(entityName: string, id: TKey): Promise<void>;
|
|
@@ -2243,42 +2070,6 @@ declare class AXPMiddlewareEntityStorageService<TKey = any, TDetailDto extends A
|
|
|
2243
2070
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPMiddlewareEntityStorageService<any, any, any, any, any>>;
|
|
2244
2071
|
}
|
|
2245
2072
|
|
|
2246
|
-
declare function entityMasterCreateAction(): AXPEntityAction;
|
|
2247
|
-
declare function entityMasterEditAction(): AXPEntityAction;
|
|
2248
|
-
declare function entityMasterBulkDeleteAction(): AXPEntityAction;
|
|
2249
|
-
declare function entityMasterViewAction(): AXPEntityAction;
|
|
2250
|
-
declare function entityMasterDeleteAction(): AXPEntityAction;
|
|
2251
|
-
declare function entityMasterCrudActions(options?: {
|
|
2252
|
-
create?: boolean;
|
|
2253
|
-
delete?: boolean;
|
|
2254
|
-
view?: boolean;
|
|
2255
|
-
edit?: boolean;
|
|
2256
|
-
}): AXPEntityAction[];
|
|
2257
|
-
declare function entityMasterRecordActions(): AXPEntityAction[];
|
|
2258
|
-
declare function entityDetailsCreateActions(parentId: string): AXPEntityAction;
|
|
2259
|
-
/**
|
|
2260
|
-
* Type-level Create with empty `process.data`; the FK is supplied from `relatedEntity.persistence.foreignKeyField`
|
|
2261
|
-
* when the related list is built (see `mergeForeignKeyFieldIntoCreateActions`).
|
|
2262
|
-
*/
|
|
2263
|
-
declare function entityDetailsCreateActionsDeferredParent(): AXPEntityAction;
|
|
2264
|
-
/**
|
|
2265
|
-
* Ensures each type-level `Entity:Create` action includes `process.data[foreignKeyField]` bound to the parent row id.
|
|
2266
|
-
*/
|
|
2267
|
-
declare function mergeForeignKeyFieldIntoCreateActions(foreignKeyField: string | undefined, actions: AXPEntityAction[] | undefined): AXPEntityAction[];
|
|
2268
|
-
/** Property names hidden on nested Create from a related list (`excludeProperties` plus `foreignKeyField` when set). */
|
|
2269
|
-
declare function collectNestedCreateHiddenProperties(relatedEntity: AXPRelatedEntity): string[] | undefined;
|
|
2270
|
-
declare function entityDetailsSimpleCondition(fk: string): AXPQueryFilter;
|
|
2271
|
-
declare function entityDetailsReferenceCondition(type: string): AXPQueryFilter[];
|
|
2272
|
-
declare function entityDetailsEditAction(): AXPEntityAction;
|
|
2273
|
-
declare function entityDetailsNewEditAction(): AXPEntityAction;
|
|
2274
|
-
declare function entityOverrideDetailsViewAction(): AXPEntityAction;
|
|
2275
|
-
declare function entityDetailsCrudActions(parentId?: string, options?: {
|
|
2276
|
-
create?: boolean;
|
|
2277
|
-
delete?: boolean;
|
|
2278
|
-
view?: boolean;
|
|
2279
|
-
edit?: boolean;
|
|
2280
|
-
}): AXPEntityAction[];
|
|
2281
|
-
declare function entityDetailsReferenceCreateActions(type: string): AXPEntityAction[];
|
|
2282
2073
|
type AXPEntityChangeSet = {
|
|
2283
2074
|
[key: string]: {
|
|
2284
2075
|
oldValue: any;
|
|
@@ -2670,7 +2461,7 @@ declare const AXPEntityCategoryWidget: AXPWidgetConfig;
|
|
|
2670
2461
|
declare class AXPTruncatedBreadcrumbComponent implements OnDestroy {
|
|
2671
2462
|
private readonly mlsResolver;
|
|
2672
2463
|
/** Plain string or locale map per segment; truncation uses resolved text (see {@link resolvedSectionTexts}). */
|
|
2673
|
-
sections: _angular_core.InputSignal<readonly (
|
|
2464
|
+
sections: _angular_core.InputSignal<readonly (AXPMultiLanguageString | null | undefined)[]>;
|
|
2674
2465
|
characterLimit: _angular_core.InputSignal<number | "auto">;
|
|
2675
2466
|
sectionLimit: _angular_core.InputSignal<number | "auto">;
|
|
2676
2467
|
separatorIcon: _angular_core.InputSignal<string>;
|
|
@@ -2810,15 +2601,16 @@ interface AXPEntityListToolbarConvertOptions {
|
|
|
2810
2601
|
includeColumns?: string[];
|
|
2811
2602
|
/** Related list: evaluated `AXPEntityTableColumn[]` from `AXPRelatedEntity.columns` */
|
|
2812
2603
|
relatedTableColumns?: AXPEntityTableColumn[];
|
|
2813
|
-
customFilterDefinitions?: Partial<
|
|
2604
|
+
customFilterDefinitions?: Partial<AXPEntityListFilterDefinition>[];
|
|
2814
2605
|
}
|
|
2815
2606
|
declare class AXPEntityListToolbarService {
|
|
2816
2607
|
private readonly widgetResolver;
|
|
2608
|
+
private readonly entityRegistry;
|
|
2817
2609
|
/**
|
|
2818
2610
|
* Convert Entity to Toolbar Options
|
|
2819
2611
|
*/
|
|
2820
2612
|
convertEntityToolbarOptions(entity: AXPEntity, options: AXPEntityListToolbarConvertOptions | undefined): Promise<{
|
|
2821
|
-
filterDefinitions:
|
|
2613
|
+
filterDefinitions: AXPEntityListFilterDefinition[];
|
|
2822
2614
|
columnDefinitions: AXPColumnQuery[];
|
|
2823
2615
|
sortDefinitions: AXPSortDefinition[];
|
|
2824
2616
|
}>;
|
|
@@ -3188,7 +2980,7 @@ declare class AXPFileUploaderWidgetColumnComponent extends AXPColumnWidgetCompon
|
|
|
3188
2980
|
private popoverLoadRequestId;
|
|
3189
2981
|
private previousRowId;
|
|
3190
2982
|
protected readonly entityScope: _angular_core.Signal<_acorex_platform_layout_entity.AXPFileUploaderEntityFilesScope | undefined>;
|
|
3191
|
-
protected readonly popoverTitle: _angular_core.Signal<
|
|
2983
|
+
protected readonly popoverTitle: _angular_core.Signal<AXPMultiLanguageString>;
|
|
3192
2984
|
constructor();
|
|
3193
2985
|
protected openFileListPopover(): void;
|
|
3194
2986
|
protected onPopoverOpenChange(event: unknown): void;
|
|
@@ -3444,20 +3236,32 @@ interface AXPLookupWidgetOptions {
|
|
|
3444
3236
|
* Priority: explicit `displayFormat` → entity `formats.lookup` (template) → entity `formats.searchResult.title`.
|
|
3445
3237
|
* Returns undefined when `textField` is set or no template applies (use {@link resolveLookupDisplayField} instead).
|
|
3446
3238
|
*/
|
|
3447
|
-
declare function resolveLookupDisplayTemplate(entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions): string | undefined;
|
|
3239
|
+
declare function resolveLookupDisplayTemplate(entity: AXPEntity$1 | null | undefined, options: AXPLookupDisplayOptions): string | undefined;
|
|
3448
3240
|
/**
|
|
3449
3241
|
* Resolves the property path used for lookup display when no template applies.
|
|
3450
3242
|
* Priority: explicit `textField` → entity `formats.lookup` (simple path) → common property names.
|
|
3451
3243
|
*/
|
|
3452
|
-
declare function resolveLookupDisplayField(entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions): string;
|
|
3244
|
+
declare function resolveLookupDisplayField(entity: AXPEntity$1 | null | undefined, options: AXPLookupDisplayOptions): string;
|
|
3245
|
+
interface AXPLookupDisplayEvalDeps {
|
|
3246
|
+
expressionEvaluator: AXPExpressionEvaluatorService;
|
|
3247
|
+
contextEvalFactory: AXPContextEvalFactory;
|
|
3248
|
+
translationService: AXTranslationService;
|
|
3249
|
+
locale: string;
|
|
3250
|
+
}
|
|
3251
|
+
/**
|
|
3252
|
+
* Formats a lookup row for display using template and/or field resolution (display tier).
|
|
3253
|
+
*/
|
|
3254
|
+
declare function formatLookupItemDisplayAsync(item: unknown, entity: AXPEntity$1 | null | undefined, options: AXPLookupDisplayOptions, formatService: AXFormatService, displayDeps: AXPLookupDisplayEvalDeps, resolveMultiLanguage?: (value: AXPMultiLanguageString) => string): Promise<string>;
|
|
3453
3255
|
/**
|
|
3454
|
-
*
|
|
3256
|
+
* @deprecated Prefer {@link formatLookupItemDisplayAsync} for expression templates with `context.eval`.
|
|
3455
3257
|
*/
|
|
3456
|
-
declare function formatLookupItemDisplay(item: unknown, entity: AXPEntity | null | undefined, options: AXPLookupDisplayOptions, formatService: AXFormatService, resolveMultiLanguage?: (value: AXPMultiLanguageString) => string): string | AXPMultiLanguageString;
|
|
3258
|
+
declare function formatLookupItemDisplay(item: unknown, entity: AXPEntity$1 | null | undefined, options: AXPLookupDisplayOptions, formatService: AXFormatService, resolveMultiLanguage?: (value: AXPMultiLanguageString) => string): string | AXPMultiLanguageString;
|
|
3457
3259
|
|
|
3458
3260
|
declare class AXPLookupWidgetViewComponent extends AXPValueWidgetComponent<any> {
|
|
3459
3261
|
protected readonly formatService: AXFormatService;
|
|
3460
3262
|
protected readonly translation: AXTranslationService;
|
|
3263
|
+
protected readonly expressionEvaluator: AXPExpressionEvaluatorService;
|
|
3264
|
+
protected readonly contextEvalFactory: AXPContextEvalFactory;
|
|
3461
3265
|
protected readonly entityResolver: AXPEntityDefinitionRegistryService;
|
|
3462
3266
|
protected entity: _angular_core.Signal<string>;
|
|
3463
3267
|
protected multiple: _angular_core.Signal<boolean>;
|
|
@@ -3737,7 +3541,7 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
3737
3541
|
protected allowUnselect: _angular_core.Signal<boolean>;
|
|
3738
3542
|
protected look: _angular_core.Signal<AXPLookupWidgetLookType>;
|
|
3739
3543
|
protected displayField: _angular_core.Signal<string>;
|
|
3740
|
-
protected allowCreate: _angular_core.Signal<"
|
|
3544
|
+
protected allowCreate: _angular_core.Signal<"full" | "none" | "quick">;
|
|
3741
3545
|
protected selectorRowActions: _angular_core.Signal<AXPLookupSelectorRowActionsConfig | undefined>;
|
|
3742
3546
|
protected valueField: _angular_core.Signal<string>;
|
|
3743
3547
|
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
@@ -3782,6 +3586,8 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
3782
3586
|
private readonly entityService;
|
|
3783
3587
|
private readonly entityResolver;
|
|
3784
3588
|
private readonly queryExecutor;
|
|
3589
|
+
private readonly expressionEvaluator;
|
|
3590
|
+
private readonly contextEvalFactory;
|
|
3785
3591
|
protected moreButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3786
3592
|
protected lazyTrigger: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
3787
3593
|
protected morePopover: _angular_core.Signal<AXPopoverComponent | undefined>;
|
|
@@ -3808,9 +3614,14 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
3808
3614
|
protected resolveError: _angular_core.WritableSignal<string | null>;
|
|
3809
3615
|
protected summaryLabel: _angular_core.WritableSignal<string>;
|
|
3810
3616
|
protected popoverHeader: _angular_core.WritableSignal<string>;
|
|
3617
|
+
protected mainItemLabels: _angular_core.WritableSignal<string[]>;
|
|
3618
|
+
protected lazyPopoverItemLabels: _angular_core.WritableSignal<string[]>;
|
|
3811
3619
|
private entityDef;
|
|
3812
3620
|
private hydratedDisplayItems;
|
|
3813
3621
|
private hydrateRequestId;
|
|
3622
|
+
private mainLabelsVersion;
|
|
3623
|
+
private lazyPopoverLabelsVersion;
|
|
3624
|
+
protected popoverItemLabels: _angular_core.Signal<string[]>;
|
|
3814
3625
|
protected displayItems: _angular_core.Signal<any[]>;
|
|
3815
3626
|
protected allItems: _angular_core.Signal<any[]>;
|
|
3816
3627
|
protected visibleItems: _angular_core.Signal<any[]>;
|
|
@@ -3833,7 +3644,10 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
3833
3644
|
* Uses textField / expose targets on the row — not merely whether column dataPath differs from columnName.
|
|
3834
3645
|
*/
|
|
3835
3646
|
protected hasPreresolvedDisplay(): boolean;
|
|
3836
|
-
protected
|
|
3647
|
+
protected getItemLabel(index: number): string;
|
|
3648
|
+
protected getPopoverItemLabel(index: number): string;
|
|
3649
|
+
private resolveLabelsForItems;
|
|
3650
|
+
private resolveItemLabel;
|
|
3837
3651
|
private refreshSummaryLabel;
|
|
3838
3652
|
private refreshPopoverHeader;
|
|
3839
3653
|
private resetLazyState;
|
|
@@ -3866,7 +3680,6 @@ declare class AXPLookupWidgetColumnComponent extends AXPColumnWidgetComponent<an
|
|
|
3866
3680
|
private getRowDisplayTextFromTextField;
|
|
3867
3681
|
private getExposeTargets;
|
|
3868
3682
|
private hasDisplayTextOnLookupValue;
|
|
3869
|
-
private renderLookupLabel;
|
|
3870
3683
|
private formatDisplayValue;
|
|
3871
3684
|
/** True when a scalar cell value is a stored entity key (uuid/numeric), not pre-resolved display text. */
|
|
3872
3685
|
private isLikelyEntityId;
|
|
@@ -4435,6 +4248,9 @@ declare class AXPQuickEntityModifyPopupAction extends AXPWorkflowAction {
|
|
|
4435
4248
|
private popupService;
|
|
4436
4249
|
private platform;
|
|
4437
4250
|
private translateService;
|
|
4251
|
+
private formatService;
|
|
4252
|
+
private expressionEvaluator;
|
|
4253
|
+
private contextEvalFactory;
|
|
4438
4254
|
private entityRegistery;
|
|
4439
4255
|
private config;
|
|
4440
4256
|
private factory;
|
|
@@ -4467,6 +4283,9 @@ declare class AXPEntityModifySectionPopupAction extends AXPWorkflowAction {
|
|
|
4467
4283
|
private popupService;
|
|
4468
4284
|
private platform;
|
|
4469
4285
|
private translateService;
|
|
4286
|
+
private formatService;
|
|
4287
|
+
private expressionEvaluator;
|
|
4288
|
+
private contextEvalFactory;
|
|
4470
4289
|
private entityRegistery;
|
|
4471
4290
|
private config;
|
|
4472
4291
|
private factory;
|
|
@@ -4508,5 +4327,5 @@ declare class AXPShowListViewAction extends AXPWorkflowAction {
|
|
|
4508
4327
|
}
|
|
4509
4328
|
declare const AXPShowListViewWorkflow: AXPWorkflow;
|
|
4510
4329
|
|
|
4511
|
-
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEditFileUploaderCommand, AXPEntitiesListDataSourceDefinition, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService,
|
|
4512
|
-
export type {
|
|
4330
|
+
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPCreateEntityWorkflow, AXPDataSeederService, AXPDeleteEntityWorkflow, AXPEditFileUploaderCommand, AXPEntitiesListDataSourceDefinition, AXPEntityApplyUpdatesAction, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreatePopupAction, AXPEntityCreateSubmittedAction, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyConfirmedAction, AXPEntityModifyEvent, AXPEntityModifySectionPopupAction, AXPEntityModule, AXPEntityPerformDeleteAction, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, 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_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, ENTITY_LIST_ROUTE_CONTEXT_SESSION_KEY, EntityBuilder, EntityDataAccessor, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentsPlugin, attachmentsSemanticallyEqual, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, canPersistEntityListState, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, commandMessageTextForError, committedAttachments, computeEntityAggregates, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, eventDispatchMiddleware, filterSortEntityRows, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, formatLookupItemDisplay, formatLookupItemDisplayAsync, getDataSourcePageIndex, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, isAXPMiddlewareAbortError, isAttachmentListEntry, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, provideEntity, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, restoreEntityListExpandedRows, runEntityQuery, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry };
|
|
4331
|
+
export type { AXPDataSeeder, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, AXPEntityDeleteOptions, AXPEntityDetailPopoverOptions, AXPEntityLayoutLike, AXPEntityLayoutPropertyLike, AXPEntityLayoutSectionLike, AXPEntityListEntry, AXPEntityListExpandRowRef, AXPEntityListInput, AXPEntityListPagingState, AXPEntityListPersistenceMode, AXPEntityListToolbarConvertOptions, AXPEntityMasterListCardLayout, AXPEntityMasterListCardSecondaryActionItem, AXPEntityMasterListViewSortPropViewModel, AXPEntityModifier, AXPEntityModifierContext, AXPEntityModifierProvider, AXPEntityPreloadEntity, AXPEntityStorageContext, AXPEntityStorageMiddleware, AXPFileListLook, AXPFileUploaderEditDialogFieldOptions, AXPFileUploaderEditDialogMode, AXPFileUploaderEditDialogOptions, AXPFileUploaderEntityFilesScope, AXPFileUploaderLoadFilesInput, AXPFileUploaderLoadFilesResult, AXPFileUploaderSaveFilesInput, AXPFileUploaderSaveFilesResult, AXPFileUploaderShowFileListEntityContext, AXPFileUploaderShowFileListOptions, AXPFileUploaderUploadActionDescriptor, AXPFileUploaderWidgetColumnOptions, AXPFileUploaderWidgetDesignerOptions, AXPFileUploaderWidgetEditOptions, AXPFileUploaderWidgetOptions, AXPFileUploaderWidgetPrintOptions, AXPFileUploaderWidgetViewOptions, AXPGetEntityDetailsQueryInput, AXPGetEntityDetailsQueryResult, AXPLookupColumnResolveOptions, AXPLookupColumnResolveStrategy, AXPLookupDisplayEvalDeps, AXPLookupDisplayOptions, AXPLookupPopoverOptions, AXPLookupSelectorRowActionsConfig, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, AXPShowListViewCondition, AttachmentsDisplayMode, AttachmentsPluginOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, PairSpanRule, ResolveEntityPluginDetailPageOrderOptions, RunEntityQueryAdapters, SectionOrderConfig, SkipEntityComponentPageRef };
|