@acorex-platform/framework-client 0.0.46 → 0.0.49
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-framework-client-common.mjs +233 -6
- package/fesm2022/acorex-platform-framework-client-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-core.mjs +25 -38
- package/fesm2022/acorex-platform-framework-client-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs +4 -52
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs +48 -14
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-Dc_NpBx6.mjs → acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CkqVHcl9.mjs} +53 -46
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CkqVHcl9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-Cx-n7ZuA.mjs → acorex-platform-framework-client-layout-entity-attachments-page.component-CEtWy70B.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-attachments-page.component-Cx-n7ZuA.mjs.map → acorex-platform-framework-client-layout-entity-attachments-page.component-CEtWy70B.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-BONV249y.mjs → acorex-platform-framework-client-layout-entity-bulk-entity.command-BnH5XK5M.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-bulk-entity.command-BONV249y.mjs.map → acorex-platform-framework-client-layout-entity-bulk-entity.command-BnH5XK5M.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-uTG2nFly.mjs → acorex-platform-framework-client-layout-entity-gallery-page.component-COjqVu_3.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-entity-gallery-page.component-uTG2nFly.mjs.map → acorex-platform-framework-client-layout-entity-gallery-page.component-COjqVu_3.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +2 -2
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs +46 -7
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs +10 -20
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs.map +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-CDpzvn6z.mjs → acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-BwwxqHzR.mjs} +179 -51
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-BwwxqHzR.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-Cw3NhWL8.mjs → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DYpd-XXJ.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-Cw3NhWL8.mjs.map → acorex-platform-framework-client-layout-widgets-repeater-widget-column.component-DYpd-XXJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BEa-vD6O.mjs → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-DfgIxNyy.mjs} +2 -2
- package/fesm2022/{acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-BEa-vD6O.mjs.map → acorex-platform-framework-client-layout-widgets-text-block-widget-designer.component-DfgIxNyy.mjs.map} +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +1 -1
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-create-view.component-CT7WWWG0.mjs → acorex-platform-framework-client-themes-default-entity-master-create-view.component-Dh_hRxZX.mjs} +3 -3
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-Dh_hRxZX.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-bC_uPN9l.mjs +122 -0
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-bC_uPN9l.mjs.map +1 -0
- package/fesm2022/{acorex-platform-framework-client-themes-default-entity-master-single-view.component-CHLsBvBE.mjs → acorex-platform-framework-client-themes-default-entity-master-single-view.component-CDzBgDt7.mjs} +3 -3
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-single-view.component-CDzBgDt7.mjs.map +1 -0
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs +60 -42
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-platform-framework-client-common.d.ts +41 -3
- package/types/acorex-platform-framework-client-core.d.ts +3 -5
- package/types/acorex-platform-framework-client-layout-components.d.ts +20 -3
- package/types/acorex-platform-framework-client-layout-entity.d.ts +12 -1
- package/types/acorex-platform-framework-client-layout-views.d.ts +7 -1
- package/types/acorex-platform-framework-client-layout-widget-core.d.ts +8 -3
- package/types/acorex-platform-framework-client-layout-widgets.d.ts +27 -3
- package/fesm2022/acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-Dc_NpBx6.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets-acorex-platform-framework-client-layout-widgets-CDpzvn6z.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-create-view.component-CT7WWWG0.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-DienTcPE.mjs +0 -122
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-modify-view.component-DienTcPE.mjs.map +0 -1
- package/fesm2022/acorex-platform-framework-client-themes-default-entity-master-single-view.component-CHLsBvBE.mjs.map +0 -1
|
@@ -4,8 +4,8 @@ import { AXToastService } from '@acorex/components/toast';
|
|
|
4
4
|
import * as i3$1 from '@acorex/core/translation';
|
|
5
5
|
import { AXTranslationService, AXTranslationModule, resolveMultiLanguageString, translateSync } from '@acorex/core/translation';
|
|
6
6
|
import * as i4$3 from '@acorex-platform/framework-client/common';
|
|
7
|
-
import { AXPNotFoundError, AXPMenuRouteAccessService, AXPSettingsService, AXPCommonSettings, resolveEntityCreateListBehavior, platformErrorI18nKey, extractRequestErrorInfo, axpNavigateAppPath, AXPFileTypeProviderService, AXPFileStorageService, resolveFileTypeDisplay, resolveEntityRowDisplayTitle, resolveEntityModifyPopupTitle, commandMessageTextForError, resolveStoredImageDisplayUrl, isStoredImageFileId, AXPFilterOperatorMiddlewareService, AXP_ENTITY_LIST_DISPLAY_MODE_DEFAULT, ENTITY_LIST_DEFAULT_INSTANCE_ID, axpNormalizeEntityListInstanceId, axpGetEntityListInstanceIdFromParamMap, axpRedirectToNotFound, CONTAINS_OPER, toExecuteCommandFailureResult, AXPLocalEntityEngine, AXPLocalEntityRealtimeBridge, AXP_LOCAL_ENTITY_DEFAULT_MAX_ITEMS, resolveSearchableText, evaluateEntityDisplayTemplate, AXPCleanNestedFilters, axpIsEntityRecordNotFound, coerceAXPSettingRawValueByKind, AXPDefaultMultiLanguageConfigService, withDefaultMultiLanguageOnWidgetNodeTree, axpIsEntityListPath, axpIsEntityDetailsPath, axpParseEntityListRoute, axpParseEntityDetailsRoute, axpSaveEntityListReturnUrl, AXPMenuRouteGuard, AXP_NOT_FOUND_ROUTE, AXP_PROTECTED_ROUTE_GUARDS, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_DEFINITION_LAZY_RESOLVER } from '@acorex-platform/framework-client/common';
|
|
8
|
-
import { AXPWidgetsCatalog, runtimeCommandPayloadData, createRandomUuid, AXPRequestError, runtimeQueryPayloadData, runtimeQueryCollectionData, runtimeQueryFailure, runtimeQuerySuccessObject, runtimeCommandFailure, runtimeCommandSuccessObject, resolveActionLook, listThemeSurfaceClasses, parseRuntimeHexSurface, AXP_THEME_SURFACE_STYLES, AXPWidgetsList, AXPSystemActionType, AXPPlatformScope, flattenQueryFilterUserGroups, AXP_QUERY_QUICK_SEARCH_FIELD, wrapQueryFilterRoot, isPersistableFilterQuery, isCompleteFilterCondition, resolveFilterQueryIdentityField, extractValue, setSmart, getChangedPaths, isSelectionValueEqual, runtimeQuerySuccessCollection } from '@acorex-platform/framework-shared/core';
|
|
7
|
+
import { AXPNotFoundError, AXPMenuRouteAccessService, AXPSettingsService, AXPCommonSettings, resolveEntityCreateListBehavior, platformErrorI18nKey, extractRequestErrorInfo, axpNavigateAppPath, AXPFileTypeProviderService, AXPFileStorageService, resolveFileTypeDisplay, resolveEntityRowDisplayTitle, resolveEntityModifyPopupTitle, commandMessageTextForError, resolveStoredImageDisplayUrl, isStoredImageFileId, AXPFilterOperatorMiddlewareService, AXP_ENTITY_LIST_DISPLAY_MODE_DEFAULT, ENTITY_LIST_DEFAULT_INSTANCE_ID, axpNormalizeEntityListInstanceId, axpGetEntityListInstanceIdFromParamMap, axpRedirectToNotFound, CONTAINS_OPER, toExecuteCommandFailureResult, AXPLocalEntityEngine, AXPLocalEntityRealtimeBridge, AXP_LOCAL_ENTITY_DEFAULT_MAX_ITEMS, resolveSearchableText, evaluateEntityDisplayTemplate, AXPCleanNestedFilters, AXPEntityDetailsNavTrailService, axpComposeEntityDetailsNavTrail, axpIsEntityRecordNotFound, coerceAXPSettingRawValueByKind, AXPDefaultMultiLanguageConfigService, withDefaultMultiLanguageOnWidgetNodeTree, axpIsEntityListPath, axpIsEntityDetailsPath, axpParseEntityListRoute, axpParseEntityDetailsRoute, axpSaveEntityListReturnUrl, AXPMenuRouteGuard, AXP_NOT_FOUND_ROUTE, AXP_PROTECTED_ROUTE_GUARDS, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_DEFINITION_LAZY_RESOLVER } from '@acorex-platform/framework-client/common';
|
|
8
|
+
import { AXPWidgetsCatalog, runtimeCommandPayloadData, createRandomUuid, AXPRequestError, runtimeQueryPayloadData, runtimeQueryCollectionData, runtimeQueryFailure, runtimeQuerySuccessObject, runtimeCommandFailure, runtimeCommandSuccessObject, resolveActionLook, listThemeSurfaceClasses, parseRuntimeHexSurface, AXP_THEME_SURFACE_STYLES, AXPWidgetsList, AXPSystemActionType, AXPPlatformScope, flattenQueryFilterUserGroups, AXP_QUERY_QUICK_SEARCH_FIELD, wrapQueryFilterRoot, isPersistableFilterQuery, isCompleteFilterCondition, resolveFilterQueryIdentityField, extractValue, setSmart, getChangedPaths, isSelectionValueEqual, toAxpGridItemWidgetOptions, runtimeQuerySuccessCollection } from '@acorex-platform/framework-shared/core';
|
|
9
9
|
import { AXPDeviceService, AXPExpressionEvaluatorService, AXPEntityBroadcastService, AXPHookService, AXPDebugService, AXPDataGenerator, AXPContextEvalFactory, ensureRuntimeSurfaceClass, applyFilterArray, createCommandExpressionScope, toExpressionRecord, AXPDistributedEventListenerService, applySortArray, AXHighlightService, AXPColumnWidthService, objectKeyValueTransforms, setupPopupFooterKeyboardShortcuts, AXPContextStore, AXPModuleManifestRegistry, provideAppStartUpTask, AXP_APP_STARTUP_PRIORITY, defaultColumnWidthProvider, AXP_COLUMN_WIDTH_PROVIDER } from '@acorex-platform/framework-client/core';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
11
|
import { InjectionToken, inject, Injector, runInInjectionContext, Injectable, signal, output, input, computed, effect, ChangeDetectionStrategy, Component, viewChild, untracked, HostBinding, model, ViewEncapsulation, ElementRef, EnvironmentInjector, NgModule, ChangeDetectorRef, Input, afterNextRender, viewChildren, linkedSignal, DestroyRef, makeEnvironmentProviders } from '@angular/core';
|
|
@@ -10360,6 +10360,7 @@ class AXPEntityMasterListViewModel {
|
|
|
10360
10360
|
currentSorts: this.currentQueryViewSorts(),
|
|
10361
10361
|
currentColumns: this.currentQueryViewColumns(),
|
|
10362
10362
|
defaultColumns: this.defaultQueryViewColumns(),
|
|
10363
|
+
sortableFieldNames: this.sortableFieldDefinitions().map((field) => field.name),
|
|
10363
10364
|
}), /* @ts-ignore */
|
|
10364
10365
|
...(ngDevMode ? [{ debugName: "isActiveQueryViewDirty" }] : /* istanbul ignore next */ []));
|
|
10365
10366
|
this.isActiveQueryViewCustom = computed(() => isCustomQueryView(this.view()), /* @ts-ignore */
|
|
@@ -10463,6 +10464,12 @@ class AXPEntityMasterListViewModel {
|
|
|
10463
10464
|
return this.selectedItems().length > 0;
|
|
10464
10465
|
}, /* @ts-ignore */
|
|
10465
10466
|
...(ngDevMode ? [{ debugName: "hasSelectedItems" }] : /* istanbul ignore next */ []));
|
|
10467
|
+
/**
|
|
10468
|
+
* Category sidebar constraints merged with toolbar filters on every list query.
|
|
10469
|
+
* Empty when "All" is selected. Not persisted as user filters.
|
|
10470
|
+
*/
|
|
10471
|
+
this.categoryListFilters = signal([], /* @ts-ignore */
|
|
10472
|
+
...(ngDevMode ? [{ debugName: "categoryListFilters" }] : /* istanbul ignore next */ []));
|
|
10466
10473
|
//****************** Title ******************//
|
|
10467
10474
|
this.title = computed(() => {
|
|
10468
10475
|
return this._viewDef.title ?? this.entityDef.formats.plural;
|
|
@@ -11140,6 +11147,9 @@ class AXPEntityMasterListViewModel {
|
|
|
11140
11147
|
setSelectedCategory(category) {
|
|
11141
11148
|
this.selectedCategory.set(category);
|
|
11142
11149
|
}
|
|
11150
|
+
setCategoryListFilters(filters) {
|
|
11151
|
+
this.categoryListFilters.set(filters);
|
|
11152
|
+
}
|
|
11143
11153
|
/** Keeps the first action when list definitions repeat the same trigger name. */
|
|
11144
11154
|
dedupeActionsByName(actions) {
|
|
11145
11155
|
const seen = new Set();
|
|
@@ -11491,7 +11501,8 @@ class AXPEntityMasterListViewModel {
|
|
|
11491
11501
|
const sorts = this.sortedFields()
|
|
11492
11502
|
.filter((sf) => sf.dir)
|
|
11493
11503
|
.map((s) => ({ name: s.name, dir: s.dir }));
|
|
11494
|
-
const
|
|
11504
|
+
const toolbarFilters = this.filterQueries();
|
|
11505
|
+
const filters = this.mergeToolbarAndCategoryFilters(toolbarFilters);
|
|
11495
11506
|
const sortKey = JSON.stringify(sorts);
|
|
11496
11507
|
const transformedFilter = this.filterOperatorMiddleware.transformFilter({
|
|
11497
11508
|
field: null,
|
|
@@ -11508,7 +11519,7 @@ class AXPEntityMasterListViewModel {
|
|
|
11508
11519
|
}));
|
|
11509
11520
|
return; // No effective change; avoid redundant refresh
|
|
11510
11521
|
}
|
|
11511
|
-
this.updateAppliedInlineFilterHighlightText(
|
|
11522
|
+
this.updateAppliedInlineFilterHighlightText(toolbarFilters);
|
|
11512
11523
|
const filtersChanged = this.lastAppliedFilterKey != null && filterKey !== this.lastAppliedFilterKey;
|
|
11513
11524
|
const sortsChanged = this.lastAppliedSortKey != null && sortKey !== this.lastAppliedSortKey;
|
|
11514
11525
|
const shouldResetPagination = options?.resetPagination === true || filtersChanged;
|
|
@@ -11541,6 +11552,17 @@ class AXPEntityMasterListViewModel {
|
|
|
11541
11552
|
kind: sortsChanged && !filtersChanged ? 'sort' : filters.some((f) => f.field === 'all' || f.field === AXP_QUERY_QUICK_SEARCH_FIELD) ? 'search' : 'filter',
|
|
11542
11553
|
});
|
|
11543
11554
|
}
|
|
11555
|
+
/**
|
|
11556
|
+
* Toolbar filters stay in `filterQueries`. Category sidebar filters are applied
|
|
11557
|
+
* beside them so a later toolbar change does not drop the selected category.
|
|
11558
|
+
*/
|
|
11559
|
+
mergeToolbarAndCategoryFilters(toolbarFilters) {
|
|
11560
|
+
const categoryFilters = this.categoryListFilters();
|
|
11561
|
+
if (!categoryFilters.length) {
|
|
11562
|
+
return toolbarFilters;
|
|
11563
|
+
}
|
|
11564
|
+
return [...toolbarFilters, ...categoryFilters];
|
|
11565
|
+
}
|
|
11544
11566
|
updateAppliedInlineFilterHighlightText(filters) {
|
|
11545
11567
|
const quickFilter = flattenQueryFilterUserGroups(filters).queries.find((f) => f.field === 'all' || f.field === AXP_QUERY_QUICK_SEARCH_FIELD);
|
|
11546
11568
|
const value = quickFilter?.value;
|
|
@@ -13799,7 +13821,7 @@ class AXMAttachmentsPageComponentProvider {
|
|
|
13799
13821
|
return [
|
|
13800
13822
|
{
|
|
13801
13823
|
key: ATTACHMENTS_PAGE_COMPONENT_KEY,
|
|
13802
|
-
loader: () => import('./acorex-platform-framework-client-layout-entity-attachments-page.component-
|
|
13824
|
+
loader: () => import('./acorex-platform-framework-client-layout-entity-attachments-page.component-CEtWy70B.mjs').then((m) => m.AXMAttachmentsPageComponent),
|
|
13803
13825
|
},
|
|
13804
13826
|
];
|
|
13805
13827
|
}
|
|
@@ -14336,7 +14358,7 @@ class AXMGalleryPageComponentProvider {
|
|
|
14336
14358
|
return [
|
|
14337
14359
|
{
|
|
14338
14360
|
key: GALLERY_PAGE_COMPONENT_KEY,
|
|
14339
|
-
loader: () => import('./acorex-platform-framework-client-layout-entity-gallery-page.component-
|
|
14361
|
+
loader: () => import('./acorex-platform-framework-client-layout-entity-gallery-page.component-COjqVu_3.mjs').then((m) => m.AXMGalleryPageComponent),
|
|
14340
14362
|
},
|
|
14341
14363
|
];
|
|
14342
14364
|
}
|
|
@@ -28214,6 +28236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
28214
28236
|
class AXPLayoutAdapterBuilder {
|
|
28215
28237
|
constructor() {
|
|
28216
28238
|
this.badgeStatusService = inject(AXPDetailsViewBadgeStatusService);
|
|
28239
|
+
this.navTrailService = inject(AXPEntityDetailsNavTrailService);
|
|
28217
28240
|
this.adapter = {};
|
|
28218
28241
|
}
|
|
28219
28242
|
setEntity(entity, rootContext) {
|
|
@@ -28279,26 +28302,26 @@ class AXPLayoutAdapterBuilder {
|
|
|
28279
28302
|
const primaryPageId = this.resolvePrimaryPageId();
|
|
28280
28303
|
// Same-route breadcrumb clicks keep the current `?page=` unless the primary page is explicit.
|
|
28281
28304
|
const entityViewPath = primaryPageId ? `${viewPath}?page=${encodeURIComponent(primaryPageId)}` : viewPath;
|
|
28282
|
-
|
|
28283
|
-
|
|
28284
|
-
|
|
28285
|
-
|
|
28286
|
-
|
|
28287
|
-
|
|
28288
|
-
path: `/${session.application?.name}/m/${moduleName}/e/${entityName}/list`,
|
|
28289
|
-
},
|
|
28305
|
+
const listCrumb = {
|
|
28306
|
+
title: this.entity?.formats.plural ?? '',
|
|
28307
|
+
command: {
|
|
28308
|
+
name: 'navigate',
|
|
28309
|
+
options: {
|
|
28310
|
+
path: `/${session.application?.name}/m/${moduleName}/e/${entityName}/list`,
|
|
28290
28311
|
},
|
|
28291
28312
|
},
|
|
28292
|
-
|
|
28293
|
-
|
|
28294
|
-
|
|
28295
|
-
|
|
28296
|
-
|
|
28297
|
-
|
|
28298
|
-
|
|
28313
|
+
};
|
|
28314
|
+
const recordCrumb = {
|
|
28315
|
+
title: this.rootTitle ?? this.entity?.interfaces?.master?.single?.title ?? '',
|
|
28316
|
+
command: {
|
|
28317
|
+
name: 'navigate',
|
|
28318
|
+
options: {
|
|
28319
|
+
path: entityViewPath,
|
|
28299
28320
|
},
|
|
28300
28321
|
},
|
|
28301
|
-
|
|
28322
|
+
};
|
|
28323
|
+
const origin = this.navTrailService.getOriginTrail(moduleName, entityName, String(this.rootContext?.id ?? ''));
|
|
28324
|
+
return axpComposeEntityDetailsNavTrail(origin, listCrumb, recordCrumb);
|
|
28302
28325
|
}
|
|
28303
28326
|
createExecuteFunction() {
|
|
28304
28327
|
return (command, context) => {
|
|
@@ -28450,11 +28473,7 @@ class AXPBaseRelatedEntityConverter {
|
|
|
28450
28473
|
return {
|
|
28451
28474
|
type: 'grid-item-layout',
|
|
28452
28475
|
name: p.name,
|
|
28453
|
-
options:
|
|
28454
|
-
colSpan: layout?.positions?.lg?.colSpan ?? 12,
|
|
28455
|
-
colStart: layout?.positions?.lg?.colStart,
|
|
28456
|
-
colEnd: layout?.positions?.lg?.colEnd,
|
|
28457
|
-
},
|
|
28476
|
+
options: toAxpGridItemWidgetOptions(layout),
|
|
28458
28477
|
children: [
|
|
28459
28478
|
{
|
|
28460
28479
|
type: 'form-field',
|
|
@@ -28505,11 +28524,7 @@ class AXPBaseRelatedEntityConverter {
|
|
|
28505
28524
|
children: validSections.map((s) => ({
|
|
28506
28525
|
type: 'grid-item-layout',
|
|
28507
28526
|
name: s.id,
|
|
28508
|
-
options:
|
|
28509
|
-
colSpan: s.layout?.positions?.lg?.colSpan ?? 12,
|
|
28510
|
-
colStart: s.layout?.positions?.lg?.colStart,
|
|
28511
|
-
colEnd: s.layout?.positions?.lg?.colEnd,
|
|
28512
|
-
},
|
|
28527
|
+
options: toAxpGridItemWidgetOptions(s.layout),
|
|
28513
28528
|
children: [
|
|
28514
28529
|
{
|
|
28515
28530
|
type: 'fieldset-layout',
|
|
@@ -29818,11 +29833,7 @@ class AXPMainEntityContentBuilder {
|
|
|
29818
29833
|
.map(({ section: s, visibleProperties }) => ({
|
|
29819
29834
|
type: 'grid-item-layout',
|
|
29820
29835
|
name: s.id,
|
|
29821
|
-
options:
|
|
29822
|
-
colSpan: s.layout?.positions?.lg?.colSpan ?? 12,
|
|
29823
|
-
colStart: s.layout?.positions?.lg?.colStart ?? 1,
|
|
29824
|
-
colEnd: s.layout?.positions?.lg?.colEnd ?? 13,
|
|
29825
|
-
},
|
|
29836
|
+
options: toAxpGridItemWidgetOptions(s.layout),
|
|
29826
29837
|
children: [
|
|
29827
29838
|
{
|
|
29828
29839
|
type: 'fieldset-layout',
|
|
@@ -29878,12 +29889,7 @@ class AXPMainEntityContentBuilder {
|
|
|
29878
29889
|
options: {
|
|
29879
29890
|
label: p.title,
|
|
29880
29891
|
showLabel: layout?.label?.visible ?? true,
|
|
29881
|
-
|
|
29882
|
-
colStart: layout?.positions?.lg?.colStart,
|
|
29883
|
-
colEnd: layout?.positions?.lg?.colEnd,
|
|
29884
|
-
rowSpan: layout?.positions?.lg?.rowSpan,
|
|
29885
|
-
rowStart: layout?.positions?.lg?.rowStart,
|
|
29886
|
-
rowEnd: layout?.positions?.lg?.rowEnd,
|
|
29892
|
+
...toAxpGridItemWidgetOptions(layout),
|
|
29887
29893
|
...(formFieldVisible !== undefined ? { visible: formFieldVisible } : {}),
|
|
29888
29894
|
...(hintFormFieldOptionsFromDescription(p.description) ?? {}),
|
|
29889
29895
|
},
|
|
@@ -31708,6 +31714,7 @@ function routesFacory() {
|
|
|
31708
31714
|
class AXPEntityModule {
|
|
31709
31715
|
constructor() {
|
|
31710
31716
|
inject(AXPEntityListReturnUrlCaptureService);
|
|
31717
|
+
inject(AXPEntityDetailsNavTrailService);
|
|
31711
31718
|
}
|
|
31712
31719
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXPEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
31713
31720
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: AXPEntityModule, imports: [AXPAttachmentsPluginModule,
|
|
@@ -31828,7 +31835,7 @@ class AXPEntityModule {
|
|
|
31828
31835
|
},
|
|
31829
31836
|
{
|
|
31830
31837
|
key: 'Entity:Bulk',
|
|
31831
|
-
command: () => import('./acorex-platform-framework-client-layout-entity-bulk-entity.command-
|
|
31838
|
+
command: () => import('./acorex-platform-framework-client-layout-entity-bulk-entity.command-BnH5XK5M.mjs').then((c) => c.AXPBulkEntityCommand),
|
|
31832
31839
|
},
|
|
31833
31840
|
{
|
|
31834
31841
|
key: 'Entity:OpenList',
|
|
@@ -31989,7 +31996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
31989
31996
|
},
|
|
31990
31997
|
{
|
|
31991
31998
|
key: 'Entity:Bulk',
|
|
31992
|
-
command: () => import('./acorex-platform-framework-client-layout-entity-bulk-entity.command-
|
|
31999
|
+
command: () => import('./acorex-platform-framework-client-layout-entity-bulk-entity.command-BnH5XK5M.mjs').then((c) => c.AXPBulkEntityCommand),
|
|
31993
32000
|
},
|
|
31994
32001
|
{
|
|
31995
32002
|
key: 'Entity:OpenList',
|
|
@@ -32315,4 +32322,4 @@ function detectEntityChanges(oldObj, newObj) {
|
|
|
32315
32322
|
*/
|
|
32316
32323
|
|
|
32317
32324
|
export { AXPEntityListViewModelResolver as $, AXPEntityDefinitionRegistryService as A, AXPEntityCategoryWidgetViewComponent as B, AXPEntityCommandTriggerViewModel as C, AXPEntityCreateViewElementViewModel as D, AXPEntityCreateViewModelFactory as E, AXPEntityCreateViewSectionViewModel as F, AXPEntityDataProvider as G, AXPEntityDataProviderImpl as H, AXPEntityDataSelectorRowActionsService as I, AXPEntityDataSelectorService as J, AXPEntityDefinitionProviderWidget as K, AXPEntityDefinitionProviderWidgetEditComponent as L, AXPEntityDeletePerformService as M, AXPEntityDetailListViewModel as N, AXPEntityDetailPopoverComponent as O, AXPEntityDetailPopoverService as P, AXPEntityDetailViewModelFactory as Q, AXPEntityDetailViewModelResolver as R, AXPEntityEventDispatcherService as S, AXPEntityFormBuilderService as T, AXPEntityLifecycleHookKeys as U, AXPEntityListPersistenceModeDefault as V, AXPEntityListTableService as W, AXPEntityListToolbarService as X, AXPEntityListViewCardFieldViewModel as Y, AXPEntityListViewColumnViewModel as Z, AXPEntityListViewModelFactory as _, showOperationResultToast as a, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY as a$, AXPEntityListWidget as a0, AXPEntityListWidgetViewComponent as a1, AXPEntityMasterCreateViewModel as a2, AXPEntityMasterListCardSelectActionName as a3, AXPEntityMasterListViewModel as a4, AXPEntityMasterListViewQueryViewModel as a5, AXPEntityMasterSingleElementViewModel as a6, AXPEntityMasterSingleViewGroupViewModel as a7, AXPEntityMasterSingleViewModel as a8, AXPEntityMasterUpdateElementViewModel as a9, AXPLookupWidgetViewComponent as aA, AXPMiddlewareAbortError as aB, AXPMiddlewareEntityStorageService as aC, AXPMultiSourceDefinitionProviderContext as aD, AXPMultiSourceDefinitionProviderService as aE, AXPMultiSourceFederatedSearchService as aF, AXPMultiSourceSelectorComponent as aG, AXPMultiSourceSelectorService as aH, AXPMultiSourceSelectorWidget as aI, AXPMultiSourceSelectorWidgetColumnComponent as aJ, AXPMultiSourceSelectorWidgetEditComponent as aK, AXPMultiSourceSelectorWidgetViewComponent as aL, AXPMultiSourceType as aM, AXPOpenEntityDetailsCommand as aN, AXPOpenEntityListCommand as aO, AXPRelatedColumnEnrichmentService as aP, AXPRelatedColumnMetadataResolver as aQ, AXPSelectorStructureWidget as aR, AXPSelectorStructureWidgetColumnComponent as aS, AXPSelectorStructureWidgetEditComponent as aT, AXPSelectorStructureWidgetViewComponent as aU, AXPShowFileUploaderPopupCommand as aV, AXPTruncatedBreadcrumbComponent as aW, AXPUpdateEntityCommand as aX, AXPUpdateEntityStatusCommand as aY, AXPViewEntityDetailsCommand as aZ, AXP_APPEARANCE_SECTION_ORDER as a_, AXPEntityMasterUpdateViewModel as aa, AXPEntityMasterUpdateViewModelFactory as ab, AXPEntityMiddlewareSkipContext as ac, AXPEntityModule as ad, AXPEntityPreloadFiltersContainerComponent as ae, AXPEntityPreloadFiltersViewModel as af, AXPEntityPreloadFiltersViewModelResolver as ag, AXPEntityResolver as ah, AXPEntityRuntimeAccessorService as ai, AXPEntityService as aj, AXPEntityStorageService as ak, AXPEntityUpdateViewSectionViewModel as al, AXPFileListComponent as am, AXPFileUploaderLoadFilesQuery as an, AXPFileUploaderSaveFilesCommand as ao, AXPFileUploaderWidget as ap, AXPFileUploaderWidgetColumnComponent as aq, AXPFileUploaderWidgetEditComponent as ar, AXPFileUploaderWidgetService as as, AXPFileUploaderWidgetViewComponent as at, AXPGetEntityDetailsQuery as au, AXPLayoutOrderingConfigService as av, AXPLookupByKeyCacheService as aw, AXPLookupWidget as ax, AXPLookupWidgetColumnComponent as ay, AXPLookupWidgetEditComponent as az, buildSelectedIdsFilter as b, detectEntityChanges as b$, AXP_CLASSIFICATION_SECTION_ORDER as b0, AXP_CLIENT_LOCAL_DEFAULT_MAX_ITEMS as b1, AXP_CLIENT_LOCAL_PLUGIN_NAME as b2, AXP_DATA_SEEDER_TOKEN as b3, AXP_ENTITY_ACTION_PLUGIN as b4, AXP_ENTITY_CONFIG_TOKEN as b5, AXP_ENTITY_DEFINITION_LOADER as b6, AXP_ENTITY_MIDDLEWARE as b7, AXP_ENTITY_MODIFIER as b8, AXP_ENTITY_STORAGE_MIDDLEWARE as b9, axpUpdateEntityStatusCommandDefinition as bA, buildDataSourceTraceSnapshot as bB, canPersistEntityListState as bC, clientLocalPlugin as bD, cloneLayoutArrays as bE, columnOrderingMiddleware as bF, columnOrderingMiddlewareProvider as bG, columnWidthMiddleware as bH, columnWidthMiddlewareProvider as bI, committedAttachments as bJ, composeEntityMiddlewares as bK, composeEntityStorageMiddlewares as bL, computeEntityAggregates as bM, configureEntityListColumnsSettingsMigrateDrop as bN, configureEntityListColumnsSettingsVersion as bO, createColumnOrderingMiddlewareProvider as bP, createEntityCardDisplayScope as bQ, createEntityCardLogicScope as bR, createEntityMiddlewareContext as bS, createEntityStorageContext as bT, createLayoutOrderingMiddlewareProvider as bU, defaultCardLayoutMiddleware as bV, defaultCardLayoutMiddlewareProvider as bW, defaultMultiLanguageMiddleware as bX, defaultMultiLanguageMiddlewareProvider as bY, defaultSortPresetsMiddleware as bZ, defaultSortPresetsMiddlewareProvider as b_, AXP_MULTI_SOURCE_DEFINITION_PROVIDER as ba, DEFAULT_COLUMN_ORDER as bb, DEFAULT_PAIR_SPAN_RULES as bc, DEFAULT_PROPERTY_ORDER as bd, DEFAULT_SECTION_ORDER as be, ENTITY_FORM_ACTION_FIRST_STEP_CONTINUE as bf, ENTITY_LIST_LAYOUT_META as bg, ENTITY_LIST_ROUTE_CONTEXT_SESSION_KEY as bh, ENTITY_MASTER_LIST_TRACE_NS as bi, EntityBuilder as bj, EntityDataAccessor as bk, GALLERY_PAGE_COMPONENT_KEY as bl, TREE_CHILDREN_QUERY_TAKE as bm, actionExists as bn, applyDataSourcePagingWithoutLoad as bo, attachmentFieldCount as bp, attachmentNeedsHydration as bq, attachmentsPlugin as br, attachmentsSemanticallyEqual as bs, axpBuildEntityListPageContextSnapshot as bt, axpCreateEntityAiToolInputDefaults as bu, axpCreateEntityCommandDefinition as bv, axpDeleteEntityCommandDefinition as bw, axpOpenEntityListCommandDefinition as bx, axpRunEntityListPageContextAction as by, axpShowFileUploaderPopupCommandDefinition as bz, ATTACHMENTS_PAGE_COMPONENT_KEY as c, readPersistedEntityListInstanceCurrentView as c$, dispatchEntityModifiedSideEffects as c0, ensureHierarchicalRootFilter as c1, ensureLayoutPropertyView as c2, ensureLayoutSection as c3, ensureListActions as c4, entityCreateBridgeMiddleware as c5, entityDeleteBridgeMiddleware as c6, entityGetOneBridgeMiddleware as c7, entityListInstanceCurrentViewPath as c8, entityListInstanceFilterPath as c9, hydrateAttachmentFieldToFileList as cA, isAXPMiddlewareAbortError as cB, isAttachmentFieldPresentOnRow as cC, isAttachmentListEntry as cD, isAttachmentStorageRef as cE, isCategoryEntity as cF, isCategoryFilter as cG, isFileListItem as cH, isFileUploaderEditDialogAuto as cI, isLegacyEntityDataSelectorOptions as cJ, layoutOrderingMiddlewareFactory as cK, layoutOrderingMiddlewareProvider as cL, mapEntityStorageErrorToCommandResult as cM, mapLegacyEntityDataSelectorOptions as cN, mergeEntityListViewAndPersistedFilters as cO, normalizeEntityCardHeaderDisplayValue as cP, normalizeEntityDataSelectorColumnSpecs as cQ, normalizeEntityDataSelectorOptions as cR, normalizeEntityFieldToFileList as cS, normalizeEntityListPersistenceMode as cT, normalizeListPaging as cU, prefetchClientLocalRelated as cV, provideEntity as cW, provideEntityMiddlewareBridge as cX, provideEntityRealtimeHandlers as cY, provideEntityStorageMiddlewareBridge as cZ, provideLocalEntityCatalog as c_, entityListStylingRulesPath as ca, entityQueryBridgeMiddleware as cb, entityStorageCreateBridgeMiddleware as cc, entityStorageDeleteBridgeMiddleware as cd, entityStorageGetOneBridgeMiddleware as ce, entityStorageQueryBridgeMiddleware as cf, entityStorageUpdateBridgeMiddleware as cg, entityUpdateBridgeMiddleware as ch, eventDispatchMiddleware as ci, filterEntityMiddlewares as cj, filterEntityStorageMiddlewares as ck, filterSortEntityRows as cl, filterTouchesParentKey as cm, findEntityListRowDataInTree as cn, fingerprintAttachmentItem as co, fingerprintAttachments as cp, fireEntityLifecycleHook as cq, formatLookupItemDisplay as cr, formatLookupItemDisplayAsync as cs, galleryPlugin as ct, getDataSourcePageIndex as cu, getEntityListColumnsSettingsMigrateDrop as cv, getEntityListColumnsSettingsVersion as cw, getEntityListRowId as cx, getMasterInterfacePropertySortKey as cy, hasFileUploaderTitleOrDescriptionFields as cz, AXMEntityCrudService as d, readPersistedEntityListInstanceFilters as d0, readPersistedEntityListStylingRules as d1, resetPagingForTreeChildrenLoad as d2, resolveAttachmentFieldPath as d3, resolveEntityCardBadgeColorValue as d4, resolveEntityCardHeaderValue as d5, resolveEntityMasterFieldStylingClass as d6, resolveEntityMasterRecordStylingClass as d7, resolveEntityMasterStylingClass as d8, resolveEntityPluginDetailPageOrder as d9, resolveFileUploaderEditDialog as da, resolveFileUploaderEntityScope as db, resolveLookupDisplayField as dc, resolveLookupDisplayTemplate as dd, resolveLookupEntityCacheKey as de, resolveLookupEntityKey as df, resolveMasterInterfacePropertyOrder as dg, restoreEntityListExpandedRows as dh, runEntityMiddlewarePipeline as di, runEntityQuery as dj, runEntityStorageMiddlewarePipeline as dk, searchResultDescriptionMiddleware as dl, searchResultDescriptionMiddlewareProvider as dm, shouldLoadEntityListStateFromStorage as dn, shouldResetEntityListStateOnRouteEntry as dp, traceEntityMasterList as dq, AXMEntityCrudServiceImpl as e, AXPCategoryTreeService as f, AXPClientLocalPluginModule as g, AXPCreateEntityCommand as h, AXPDataSeederService as i, AXPDeleteEntityCommand as j, AXPDomainQueryEntityDefinitionLoader as k, AXPEditFileUploaderCommand as l, AXPEntityBulkPatchPerformService as m, newBulkExecutionId as n, AXPEntityCardComponent as o, persistedAttachments as p, AXPEntityCardFieldsResolver as q, resolveBulkFailureBody as r, settleAfterLoadingDialog as s, AXPEntityCardSelectActionName as t, AXPEntityCardSkeletonComponent as u, AXPEntityCategoryTreeSelectorComponent as v, watchBulkProgress as w, AXPEntityCategoryWidget as x, AXPEntityCategoryWidgetColumnComponent as y, AXPEntityCategoryWidgetEditComponent as z };
|
|
32318
|
-
//# sourceMappingURL=acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-
|
|
32325
|
+
//# sourceMappingURL=acorex-platform-framework-client-layout-entity-acorex-platform-framework-client-layout-entity-CkqVHcl9.mjs.map
|