@acorex/platform 21.0.0-next.42 → 21.0.0-next.43
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-common-common-settings.provider-G9XcXXOG.mjs → acorex-platform-common-common-settings.provider-lWz_f-Ia.mjs} +22 -24
- package/fesm2022/acorex-platform-common-common-settings.provider-lWz_f-Ia.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +115 -23
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +172 -19
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +164 -24
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +235 -15
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +40 -5
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +166 -8
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +161 -130
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +65 -2
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-D13QB3Hr.mjs → acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs} +23 -24
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DK6R87Lf.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +2 -2
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +38 -4
- package/types/acorex-platform-core.d.ts +20 -2
- package/types/acorex-platform-layout-builder.d.ts +63 -21
- package/types/acorex-platform-layout-components.d.ts +54 -3
- package/types/acorex-platform-layout-entity.d.ts +19 -2
- package/types/acorex-platform-layout-widgets.d.ts +19 -5
- package/types/acorex-platform-runtime.d.ts +6 -0
- package/fesm2022/acorex-platform-common-common-settings.provider-G9XcXXOG.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-D13QB3Hr.mjs.map +0 -1
|
@@ -1668,7 +1668,9 @@ class PropertyFilter {
|
|
|
1668
1668
|
d.setActions((a) => a.submit('@general:actions.close.title'));
|
|
1669
1669
|
}
|
|
1670
1670
|
else {
|
|
1671
|
-
d.setActions((a) => a
|
|
1671
|
+
d.setActions((a) => a
|
|
1672
|
+
.cancel('@general:actions.cancel.title')
|
|
1673
|
+
.submit(this.kind === 'create' ? '@general:actions.create.title' : '@general:actions.apply.title'));
|
|
1672
1674
|
}
|
|
1673
1675
|
if (useListWizard && this.onActionHandler) {
|
|
1674
1676
|
d.onAction(this.createWizardOnActionWrapper(this.onActionHandler));
|
|
@@ -2416,7 +2418,7 @@ class AXPCreateEntityCommand {
|
|
|
2416
2418
|
const entityRef = await this.entityService.resolve(moduleName, entityName);
|
|
2417
2419
|
let chain = this.entityForm.entity(`${moduleName}.${entityName}`).create(data);
|
|
2418
2420
|
chain.actions((actions) => {
|
|
2419
|
-
actions.submit('@general:actions.create.title');
|
|
2421
|
+
actions.cancel('@general:actions.cancel.title').submit('@general:actions.create.title');
|
|
2420
2422
|
});
|
|
2421
2423
|
if (excludeProperties && excludeProperties.length > 0) {
|
|
2422
2424
|
chain = chain.exclude(...excludeProperties);
|
|
@@ -2440,6 +2442,9 @@ class AXPCreateEntityCommand {
|
|
|
2440
2442
|
}
|
|
2441
2443
|
const result = await chain
|
|
2442
2444
|
.onAction(async (dialogRef) => {
|
|
2445
|
+
if (dialogRef.action() === 'cancel') {
|
|
2446
|
+
return { success: false };
|
|
2447
|
+
}
|
|
2443
2448
|
const createFn = entityRef.commands?.create?.execute;
|
|
2444
2449
|
const updateFn = entityRef.commands?.update?.execute;
|
|
2445
2450
|
const context = dialogRef.context();
|
|
@@ -2633,7 +2638,7 @@ class AXPUpdateEntityCommand {
|
|
|
2633
2638
|
}
|
|
2634
2639
|
let chain = this.entityForm.entity(`${moduleName}.${entityName}`).update(data);
|
|
2635
2640
|
chain.actions((actions) => {
|
|
2636
|
-
actions.submit('@general:actions.apply.title');
|
|
2641
|
+
actions.cancel('@general:actions.cancel.title').submit('@general:actions.apply.title');
|
|
2637
2642
|
});
|
|
2638
2643
|
if (excludeProperties && excludeProperties.length > 0) {
|
|
2639
2644
|
chain = chain.exclude(...excludeProperties);
|
|
@@ -2655,6 +2660,9 @@ class AXPUpdateEntityCommand {
|
|
|
2655
2660
|
}
|
|
2656
2661
|
return (await chain
|
|
2657
2662
|
.onAction(async (dialogRef) => {
|
|
2663
|
+
if (dialogRef.action() === 'cancel') {
|
|
2664
|
+
return { success: false };
|
|
2665
|
+
}
|
|
2658
2666
|
const updateFn = entityRef.commands?.update?.execute;
|
|
2659
2667
|
if (!updateFn) {
|
|
2660
2668
|
const msg = await this.translationService.translateAsync('@general:messages.entity.update-command-unavailable');
|
|
@@ -5085,7 +5093,6 @@ class AXPEntityMasterListViewModel {
|
|
|
5085
5093
|
const type = (e.options?.filter?.advance?.widgetType ||
|
|
5086
5094
|
widgetConfig?.defaultFilterWidgetName ||
|
|
5087
5095
|
e.schema.interface?.type);
|
|
5088
|
-
const disabled = e.schema.interface?.options?.['disabled'];
|
|
5089
5096
|
const iface = e.schema.interface ?? {};
|
|
5090
5097
|
return {
|
|
5091
5098
|
title: e.title,
|
|
@@ -5102,7 +5109,7 @@ class AXPEntityMasterListViewModel {
|
|
|
5102
5109
|
inline: e.options?.filter?.inline?.enabled ?? false,
|
|
5103
5110
|
preload: e.options?.filter?.preload,
|
|
5104
5111
|
},
|
|
5105
|
-
disabled
|
|
5112
|
+
// `interface.options.disabled` is for edit forms only; do not gray out advance filters.
|
|
5106
5113
|
triggers: e.schema.interface?.triggers,
|
|
5107
5114
|
};
|
|
5108
5115
|
});
|
|
@@ -6100,6 +6107,150 @@ const AXPEntityDetailViewModelResolver = (route, state, service = inject(AXPEnti
|
|
|
6100
6107
|
return service.create(moduleName, entityName, id);
|
|
6101
6108
|
};
|
|
6102
6109
|
|
|
6110
|
+
//#endregion
|
|
6111
|
+
//#region ---- Quick search: schema-driven field paths ----
|
|
6112
|
+
const NON_TEXT_DATATYPES = new Set([
|
|
6113
|
+
'number',
|
|
6114
|
+
'integer',
|
|
6115
|
+
'int',
|
|
6116
|
+
'long',
|
|
6117
|
+
'float',
|
|
6118
|
+
'double',
|
|
6119
|
+
'decimal',
|
|
6120
|
+
'money',
|
|
6121
|
+
'currency',
|
|
6122
|
+
'boolean',
|
|
6123
|
+
'bool',
|
|
6124
|
+
'date',
|
|
6125
|
+
'datetime',
|
|
6126
|
+
'time',
|
|
6127
|
+
'object',
|
|
6128
|
+
'array',
|
|
6129
|
+
'json',
|
|
6130
|
+
'image',
|
|
6131
|
+
'file',
|
|
6132
|
+
'binary',
|
|
6133
|
+
]);
|
|
6134
|
+
/**
|
|
6135
|
+
* Whether an entity property likely stores free text worth a `contains` quick-search clause.
|
|
6136
|
+
*/
|
|
6137
|
+
function isTextLikeDataType(dataType) {
|
|
6138
|
+
const dt = (dataType ?? 'string').toLowerCase().trim();
|
|
6139
|
+
if (!dt || NON_TEXT_DATATYPES.has(dt)) {
|
|
6140
|
+
return false;
|
|
6141
|
+
}
|
|
6142
|
+
return true;
|
|
6143
|
+
}
|
|
6144
|
+
/**
|
|
6145
|
+
* Lodash-get paths for quick search from a single entity definition: string-like property names
|
|
6146
|
+
* plus lookup `expose[].target` paths (e.g. `brand.title`).
|
|
6147
|
+
*/
|
|
6148
|
+
function collectQuickSearchPathsFromSingleEntityDefinition(entity) {
|
|
6149
|
+
if (!entity?.properties?.length) {
|
|
6150
|
+
return [];
|
|
6151
|
+
}
|
|
6152
|
+
const paths = new Set();
|
|
6153
|
+
for (const p of entity.properties) {
|
|
6154
|
+
if (isTextLikeDataType(p.schema?.dataType)) {
|
|
6155
|
+
paths.add(p.name);
|
|
6156
|
+
}
|
|
6157
|
+
const opts = p.schema?.interface?.options;
|
|
6158
|
+
const expose = opts?.['expose'];
|
|
6159
|
+
if (!Array.isArray(expose)) {
|
|
6160
|
+
continue;
|
|
6161
|
+
}
|
|
6162
|
+
for (const row of expose) {
|
|
6163
|
+
if (row && typeof row === 'object' && typeof row.target === 'string') {
|
|
6164
|
+
const t = (row.target).trim();
|
|
6165
|
+
if (t) {
|
|
6166
|
+
paths.add(t);
|
|
6167
|
+
}
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
}
|
|
6171
|
+
return [...paths];
|
|
6172
|
+
}
|
|
6173
|
+
//#endregion
|
|
6174
|
+
//#region ---- Column-derived nested paths ----
|
|
6175
|
+
/**
|
|
6176
|
+
* Adds dotted paths from master columns (`name` or `options.dataPath`), e.g. `person.fullName`, `jobDefinition.title`.
|
|
6177
|
+
*/
|
|
6178
|
+
function collectNestedFieldPathsFromEntityColumns(entity) {
|
|
6179
|
+
if (!entity?.columns?.length) {
|
|
6180
|
+
return [];
|
|
6181
|
+
}
|
|
6182
|
+
const paths = new Set();
|
|
6183
|
+
for (const col of entity.columns) {
|
|
6184
|
+
const name = col.name.trim();
|
|
6185
|
+
if (name.includes('.')) {
|
|
6186
|
+
paths.add(name);
|
|
6187
|
+
}
|
|
6188
|
+
const rawDp = col.options?.['dataPath'];
|
|
6189
|
+
if (typeof rawDp === 'string') {
|
|
6190
|
+
const dp = rawDp.trim();
|
|
6191
|
+
if (dp.includes('.')) {
|
|
6192
|
+
paths.add(dp);
|
|
6193
|
+
}
|
|
6194
|
+
}
|
|
6195
|
+
}
|
|
6196
|
+
return [...paths];
|
|
6197
|
+
}
|
|
6198
|
+
//#endregion
|
|
6199
|
+
//#region ---- Related merge-detail paths ----
|
|
6200
|
+
function parseRelatedEntityFullName(fullName) {
|
|
6201
|
+
const t = fullName.trim();
|
|
6202
|
+
const idx = t.indexOf('.');
|
|
6203
|
+
if (idx <= 0 || idx >= t.length - 1) {
|
|
6204
|
+
return null;
|
|
6205
|
+
}
|
|
6206
|
+
return {
|
|
6207
|
+
moduleName: t.slice(0, idx),
|
|
6208
|
+
entityName: t.slice(idx + 1),
|
|
6209
|
+
};
|
|
6210
|
+
}
|
|
6211
|
+
//#endregion
|
|
6212
|
+
//#region ---- Public API ----
|
|
6213
|
+
/**
|
|
6214
|
+
* Collects lodash-get field paths used for mock/API quick search (`contains` / OR filters):
|
|
6215
|
+
* host properties and lookup expose targets, dotted column paths, and merge-detail related entities
|
|
6216
|
+
* prefixed with the related entity merge `persistence.dataPath` (e.g. `person.firstName`).
|
|
6217
|
+
*/
|
|
6218
|
+
async function collectEntityQuickSearchFieldPaths(entity, resolveRelatedDefinition) {
|
|
6219
|
+
if (!entity) {
|
|
6220
|
+
return [];
|
|
6221
|
+
}
|
|
6222
|
+
const paths = new Set();
|
|
6223
|
+
for (const p of collectQuickSearchPathsFromSingleEntityDefinition(entity)) {
|
|
6224
|
+
paths.add(p);
|
|
6225
|
+
}
|
|
6226
|
+
for (const p of collectNestedFieldPathsFromEntityColumns(entity)) {
|
|
6227
|
+
paths.add(p);
|
|
6228
|
+
}
|
|
6229
|
+
const related = entity.relatedEntities ?? [];
|
|
6230
|
+
for (const rel of related) {
|
|
6231
|
+
const dataPath = rel.persistence?.dataPath?.trim();
|
|
6232
|
+
if (!dataPath || rel.layout?.type !== 'merge-detail') {
|
|
6233
|
+
continue;
|
|
6234
|
+
}
|
|
6235
|
+
const parsed = rel.entity ? parseRelatedEntityFullName(rel.entity) : null;
|
|
6236
|
+
if (!parsed) {
|
|
6237
|
+
continue;
|
|
6238
|
+
}
|
|
6239
|
+
const relatedDef = await resolveRelatedDefinition(parsed.moduleName, parsed.entityName);
|
|
6240
|
+
if (!relatedDef) {
|
|
6241
|
+
continue;
|
|
6242
|
+
}
|
|
6243
|
+
for (const p of collectQuickSearchPathsFromSingleEntityDefinition(relatedDef)) {
|
|
6244
|
+
paths.add(`${dataPath}.${p}`);
|
|
6245
|
+
}
|
|
6246
|
+
for (const p of collectNestedFieldPathsFromEntityColumns(relatedDef)) {
|
|
6247
|
+
paths.add(`${dataPath}.${p}`);
|
|
6248
|
+
}
|
|
6249
|
+
}
|
|
6250
|
+
return [...paths];
|
|
6251
|
+
}
|
|
6252
|
+
//#endregion
|
|
6253
|
+
|
|
6103
6254
|
class AXPEntityPreloadFiltersViewModel {
|
|
6104
6255
|
//#region ---- Constructor ----
|
|
6105
6256
|
constructor(injector, config) {
|
|
@@ -8370,7 +8521,7 @@ class AXPEntityCategoryTreeSelectorComponent extends AXBasePageComponent {
|
|
|
8370
8521
|
></ax-button>
|
|
8371
8522
|
</ax-suffix>
|
|
8372
8523
|
</ax-footer>
|
|
8373
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i4$1.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type", "autoSearch"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXSkeletonModule }, { kind: "component", type: i5$1.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }, { kind: "component", type: AXTreeViewComponent, selector: "ax-tree-view", inputs: ["datasource", "selectMode", "selectionBehavior", "dragArea", "dragBehavior", "showIcons", "showChildrenBadge", "expandedIcon", "collapsedIcon", "indentSize", "look", "nodeTemplate", "idField", "titleField", "tooltipField", "iconField", "expandedField", "selectedField", "indeterminateField", "disabledField", "hiddenField", "childrenField", "childrenCountField", "dataField", "inheritDisabled", "expandOnDoubleClick", "doubleClickDuration", "tooltipDelay"], outputs: ["datasourceChange", "onBeforeDrop", "onNodeToggle", "onNodeSelect", "onNodeDoubleClick", "onNodeClick", "onSelectionChange", "onOrderChange", "onMoveChange", "onItemsChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "
|
|
8524
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i4$1.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type", "autoSearch"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXSkeletonModule }, { kind: "component", type: i5$1.AXSkeletonComponent, selector: "ax-skeleton", inputs: ["animated"] }, { kind: "component", type: AXTreeViewComponent, selector: "ax-tree-view", inputs: ["datasource", "selectMode", "selectionBehavior", "dragArea", "dragBehavior", "showIcons", "showChildrenBadge", "expandedIcon", "collapsedIcon", "indentSize", "look", "nodeTemplate", "idField", "titleField", "tooltipField", "iconField", "expandedField", "selectedField", "indeterminateField", "disabledField", "hiddenField", "childrenField", "childrenCountField", "dataField", "inheritDisabled", "expandOnDoubleClick", "doubleClickDuration", "tooltipDelay"], outputs: ["datasourceChange", "onBeforeDrop", "onNodeToggle", "onNodeSelect", "onNodeDoubleClick", "onNodeClick", "onSelectionChange", "onOrderChange", "onMoveChange", "onItemsChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "look"] }, { kind: "ngmodule", type: FormsModule }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "pipe", type: i6.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8374
8525
|
}
|
|
8375
8526
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPEntityCategoryTreeSelectorComponent, decorators: [{
|
|
8376
8527
|
type: Component,
|
|
@@ -12016,6 +12167,7 @@ class AXPEntityDataSelectorService {
|
|
|
12016
12167
|
options['layout'] = quickCreate.layout;
|
|
12017
12168
|
}
|
|
12018
12169
|
}
|
|
12170
|
+
options['process'] = { redirect: false };
|
|
12019
12171
|
const result = await this.commandService.execute('Entity:Create', {
|
|
12020
12172
|
__context__: {
|
|
12021
12173
|
entity: `${entity.module}.${entity.name}`,
|
|
@@ -13131,7 +13283,7 @@ class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
13131
13283
|
this.componentLook()?.focus();
|
|
13132
13284
|
}
|
|
13133
13285
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPLookupWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
13134
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "axp-lookup-widget-edit", viewQueries: [{ propertyName: "componentLook", first: true, predicate: LookupWidgetLookBase, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
13286
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXPLookupWidgetEditComponent, isStandalone: true, selector: "axp-lookup-widget-edit", host: { classAttribute: "ax-w-full" }, viewQueries: [{ propertyName: "componentLook", first: true, predicate: LookupWidgetLookBase, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
13135
13287
|
@if (entityDef()) {
|
|
13136
13288
|
<div class="ax-flex ax-items-center ax-gap-1 ax-w-full">
|
|
13137
13289
|
@switch (look()) {
|
|
@@ -13256,6 +13408,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
13256
13408
|
</div>
|
|
13257
13409
|
}
|
|
13258
13410
|
`,
|
|
13411
|
+
host: {
|
|
13412
|
+
class: 'ax-w-full',
|
|
13413
|
+
},
|
|
13259
13414
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13260
13415
|
imports: [
|
|
13261
13416
|
CommonModule,
|
|
@@ -18061,6 +18216,9 @@ class AXPMainEntityContentBuilder {
|
|
|
18061
18216
|
isOpen: !s.collapsed,
|
|
18062
18217
|
look: 'card',
|
|
18063
18218
|
showTitle: s.layout?.label?.visible !== false,
|
|
18219
|
+
...(s.layout?.visible != null && String(s.layout.visible).trim() !== ''
|
|
18220
|
+
? { visible: s.layout.visible }
|
|
18221
|
+
: {}),
|
|
18064
18222
|
},
|
|
18065
18223
|
children: [
|
|
18066
18224
|
{
|
|
@@ -20335,5 +20493,5 @@ var getEntityDetails_query = /*#__PURE__*/Object.freeze({
|
|
|
20335
20493
|
* Generated bundle index. Do not edit.
|
|
20336
20494
|
*/
|
|
20337
20495
|
|
|
20338
|
-
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_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, EntityBuilder, EntityDataAccessor, actionExists, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, cloneLayoutArrays, collectNestedCreateHiddenProperties, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, getMasterInterfacePropertySortKey, isAXPMiddlewareAbortError, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mergeForeignKeyFieldIntoCreateActions, provideEntity, resolveEntityPluginDetailPageOrder, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider };
|
|
20496
|
+
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_PAIR_SPAN_RULES, DEFAULT_PROPERTY_ORDER, DEFAULT_SECTION_ORDER, EntityBuilder, EntityDataAccessor, actionExists, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, cloneLayoutArrays, collectEntityQuickSearchFieldPaths, collectNestedCreateHiddenProperties, collectNestedFieldPathsFromEntityColumns, collectQuickSearchPathsFromSingleEntityDefinition, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, eventDispatchMiddleware, getMasterInterfacePropertySortKey, isAXPMiddlewareAbortError, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mergeForeignKeyFieldIntoCreateActions, provideEntity, resolveEntityPluginDetailPageOrder, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider };
|
|
20339
20497
|
//# sourceMappingURL=acorex-platform-layout-entity.mjs.map
|