@acorex-platform/framework-client 0.0.15 → 0.0.18
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-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-common.mjs +25 -211
- package/fesm2022/acorex-platform-framework-client-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-core.mjs +8 -104
- package/fesm2022/acorex-platform-framework-client-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs +57 -12
- package/fesm2022/acorex-platform-framework-client-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs +494 -561
- package/fesm2022/acorex-platform-framework-client-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-designer.mjs +8 -8
- package/fesm2022/acorex-platform-framework-client-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs +1333 -1023
- package/fesm2022/acorex-platform-framework-client-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs +51 -9
- package/fesm2022/acorex-platform-framework-client-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs +29 -9
- package/fesm2022/acorex-platform-framework-client-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs +48 -15
- package/fesm2022/acorex-platform-framework-client-layout-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs +41 -26
- package/fesm2022/acorex-platform-framework-client-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs +4 -4
- package/fesm2022/acorex-platform-framework-client-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-framework-client-workflow.mjs.map +1 -1
- package/package.json +7 -7
- package/types/acorex-platform-framework-client-auth.d.ts +2 -2
- package/types/acorex-platform-framework-client-common.d.ts +12 -125
- package/types/acorex-platform-framework-client-core.d.ts +5 -22
- package/types/acorex-platform-framework-client-layout-builder.d.ts +10 -0
- package/types/acorex-platform-framework-client-layout-components.d.ts +17 -68
- package/types/acorex-platform-framework-client-layout-entity.d.ts +80 -7
- package/types/acorex-platform-framework-client-layout-views.d.ts +11 -6
- package/types/acorex-platform-framework-client-layout-widgets.d.ts +1 -1
- package/types/acorex-platform-framework-client-workflow.d.ts +1 -2
|
@@ -32,7 +32,7 @@ import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
|
32
32
|
import { AXPProviderSelectWidgetEditBase, AXPDataListWidgetComponentOptions } from '@acorex-platform/framework-client/layout/widgets';
|
|
33
33
|
import * as _acorex_platform_framework_client_workflow from '@acorex-platform/framework-client/workflow';
|
|
34
34
|
import { AXPWorkflowEventService } from '@acorex-platform/framework-client/workflow';
|
|
35
|
-
import { AXCFileUploaderCapabilities, AXPFileStorageService } from '@acorex-platform/framework-client/common';
|
|
35
|
+
import { AXCFileUploaderCapabilities, AXPFileStorageService, AXPEntityModifiedEventPayload } from '@acorex-platform/framework-client/common';
|
|
36
36
|
export { commandMessageTextForError } from '@acorex-platform/framework-client/common';
|
|
37
37
|
import * as _acorex_platform_framework_client_layout_entity from '@acorex-platform/framework-client/layout/entity';
|
|
38
38
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
@@ -750,6 +750,71 @@ declare class AXPUpdateEntityCommand implements AXPCommand<any, any> {
|
|
|
750
750
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPUpdateEntityCommand>;
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
+
interface AXPUpdateEntityStatusCommandInput {
|
|
754
|
+
/** Full entity key, e.g. `SecurityManagement.User`. */
|
|
755
|
+
entity: string;
|
|
756
|
+
/** Target status name/value. */
|
|
757
|
+
status: string;
|
|
758
|
+
/** Field to patch (defaults to `statusId`). */
|
|
759
|
+
statusField?: string;
|
|
760
|
+
/** Single record id. */
|
|
761
|
+
id?: string;
|
|
762
|
+
/** Bulk record ids. */
|
|
763
|
+
ids?: string[];
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Default handler for status-chip transitions when no custom transition.command is set.
|
|
767
|
+
* Patches only the status field via the entity update path (no edit dialog).
|
|
768
|
+
*/
|
|
769
|
+
declare class AXPUpdateEntityStatusCommand implements AXPCommand<AXPUpdateEntityStatusCommandInput, AXPExecuteCommandResult> {
|
|
770
|
+
private readonly entityService;
|
|
771
|
+
private readonly entityRegistry;
|
|
772
|
+
private readonly translationService;
|
|
773
|
+
private readonly workflowEventService;
|
|
774
|
+
execute(input: AXPUpdateEntityStatusCommandInput): Promise<AXPExecuteCommandResult>;
|
|
775
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPUpdateEntityStatusCommand, never>;
|
|
776
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPUpdateEntityStatusCommand>;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Build-time only. Do not import from Angular modules.
|
|
781
|
+
*/
|
|
782
|
+
declare const axpUpdateEntityStatusCommandDefinition: {
|
|
783
|
+
key: string;
|
|
784
|
+
title: string;
|
|
785
|
+
description: string;
|
|
786
|
+
executionMode: "frontend";
|
|
787
|
+
inputs: ({
|
|
788
|
+
name: string;
|
|
789
|
+
title: string;
|
|
790
|
+
description: string;
|
|
791
|
+
interface: {
|
|
792
|
+
name: string;
|
|
793
|
+
};
|
|
794
|
+
validations: {
|
|
795
|
+
rule: string;
|
|
796
|
+
}[];
|
|
797
|
+
} | {
|
|
798
|
+
name: string;
|
|
799
|
+
title: string;
|
|
800
|
+
description: string;
|
|
801
|
+
interface: {
|
|
802
|
+
name: string;
|
|
803
|
+
};
|
|
804
|
+
validations?: undefined;
|
|
805
|
+
})[];
|
|
806
|
+
outcomes: {
|
|
807
|
+
mode: "dynamic";
|
|
808
|
+
summary: string;
|
|
809
|
+
derivesFrom: string;
|
|
810
|
+
};
|
|
811
|
+
capabilities: "ai"[];
|
|
812
|
+
ai: {
|
|
813
|
+
tags: string[];
|
|
814
|
+
};
|
|
815
|
+
categories: node_modules__acorex_platform_framework_shared_core_src_lib.AXPDefinitionCategory[];
|
|
816
|
+
};
|
|
817
|
+
|
|
753
818
|
declare class AXPViewEntityDetailsCommand implements AXPCommand<any, any> {
|
|
754
819
|
private readonly entityForm;
|
|
755
820
|
private readonly entityService;
|
|
@@ -3456,8 +3521,14 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
3456
3521
|
* the grid must be refreshed once (initial #effect may run before the data-list is ready).
|
|
3457
3522
|
*/
|
|
3458
3523
|
private triggerInitialLoadIfNeeded;
|
|
3524
|
+
/**
|
|
3525
|
+
* Parent-scoped related filters must have a real PK. Empty/undefined values would otherwise
|
|
3526
|
+
* load unscoped rows (other employees' assignments) in create wizards.
|
|
3527
|
+
*/
|
|
3528
|
+
private isUsableRelatedFilterValue;
|
|
3459
3529
|
/**
|
|
3460
3530
|
* Re-evaluates related-entity list filters from the live dialog form context (e.g. after create saves the main row id).
|
|
3531
|
+
* When the parent id is not ready yet, installs a never-match filter so the grid cannot leak other rows.
|
|
3461
3532
|
*/
|
|
3462
3533
|
private applyRelatedFiltersFromContext;
|
|
3463
3534
|
/**
|
|
@@ -3474,6 +3545,11 @@ declare class AXPEntityListWidgetViewComponent extends AXPValueWidgetComponent {
|
|
|
3474
3545
|
* Writes toolbar filters from specs and pushes them onto the data source so refresh/reload keeps the parent scope.
|
|
3475
3546
|
*/
|
|
3476
3547
|
private applyRelatedFiltersFromContextAndDatasource;
|
|
3548
|
+
/**
|
|
3549
|
+
* Applies parent-scoped filters then loads/refreshes the grid.
|
|
3550
|
+
* Used when dialog context gains a persisted root id (create-and-continue).
|
|
3551
|
+
*/
|
|
3552
|
+
private syncRelatedFiltersFromContextAndReload;
|
|
3477
3553
|
/**
|
|
3478
3554
|
* Refreshes the embedded data list (toolbar / commands). In wizard mode, `refresh` is patched to re-apply scoped filters first.
|
|
3479
3555
|
*/
|
|
@@ -4512,15 +4588,12 @@ declare const AXPEntityCreateEvent: _acorex_platform_framework_client_workflow.A
|
|
|
4512
4588
|
entity: string;
|
|
4513
4589
|
meta?: unknown;
|
|
4514
4590
|
}>;
|
|
4515
|
-
declare const AXPEntityModifyEvent: _acorex_platform_framework_client_workflow.AXPWorkflowEventCreator<
|
|
4516
|
-
entity: string;
|
|
4517
|
-
values: Record<string, unknown>;
|
|
4518
|
-
}>;
|
|
4591
|
+
declare const AXPEntityModifyEvent: _acorex_platform_framework_client_workflow.AXPWorkflowEventCreator<AXPEntityModifiedEventPayload>;
|
|
4519
4592
|
declare const AXPEntityDeletedEvent: _acorex_platform_framework_client_workflow.AXPWorkflowEventCreator<{
|
|
4520
4593
|
entity: string;
|
|
4521
4594
|
ids: string[];
|
|
4522
4595
|
meta?: unknown;
|
|
4523
4596
|
}>;
|
|
4524
4597
|
|
|
4525
|
-
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPDataSeederService, AXPDeleteEntityCommand, AXPEditFileUploaderCommand, AXPEntitiesListDataSourceDefinition, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityLifecycleHookKeys, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyEvent, AXPEntityModule, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPOpenEntityListCommand, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowFileUploaderPopupCommand, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPViewEntityDetailsCommand, AXP_APPEARANCE_SECTION_ORDER, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_CLASSIFICATION_SECTION_ORDER, 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, ENTITY_MASTER_LIST_TRACE_NS, EntityBuilder, EntityDataAccessor, GALLERY_PAGE_COMPONENT_KEY, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentNeedsHydration, attachmentsPlugin, attachmentsSemanticallyEqual, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, axpDeleteEntityCommandDefinition, axpOpenEntityListCommandDefinition, axpShowFileUploaderPopupCommandDefinition, buildDataSourceTraceSnapshot, canPersistEntityListState, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, committedAttachments, computeEntityAggregates, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, eventDispatchMiddleware, filterSortEntityRows, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, fireEntityLifecycleHook, formatLookupItemDisplay, formatLookupItemDisplayAsync, galleryPlugin, getDataSourcePageIndex, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, hydrateAttachmentFieldToFileList, isAXPMiddlewareAbortError, isAttachmentFieldPresentOnRow, isAttachmentListEntry, isAttachmentStorageRef, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, provideEntity, resolveAttachmentFieldPath, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, resolveLookupEntityKey, restoreEntityListExpandedRows, runEntityQuery, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry, traceEntityMasterList };
|
|
4526
|
-
export type { AXPDataSeeder, AXPDeleteEntityCommandInput, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, 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, AXPLookupDisplayEvalDeps, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPOpenEntityListCommandInput, AXPOpenEntityListCondition, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, AXPShowFileUploaderPopupCommandInput, AttachmentsDisplayMode, AttachmentsPluginOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, EntityMasterListTraceArea, GalleryDisplayMode, GalleryPluginOptions, PairSpanRule, ResolveEntityPluginDetailPageOrderOptions, RunEntityQueryAdapters, SectionOrderConfig, SkipEntityComponentPageRef };
|
|
4598
|
+
export { ATTACHMENTS_PAGE_COMPONENT_KEY, AXMEntityCrudService, AXMEntityCrudServiceImpl, AXPCategoryTreeService, AXPCreateEntityCommand, AXPDataSeederService, AXPDeleteEntityCommand, AXPEditFileUploaderCommand, AXPEntitiesListDataSourceDefinition, AXPEntityCategoryTreeSelectorComponent, AXPEntityCategoryWidget, AXPEntityCategoryWidgetColumnComponent, AXPEntityCategoryWidgetEditComponent, AXPEntityCategoryWidgetViewComponent, AXPEntityCommandTriggerViewModel, AXPEntityCreateEvent, AXPEntityCreateViewElementViewModel, AXPEntityCreateViewModelFactory, AXPEntityCreateViewSectionViewModel, AXPEntityDataProvider, AXPEntityDataProviderImpl, AXPEntityDataSelectorRowActionsService, AXPEntityDataSelectorService, AXPEntityDefinitionProviderWidget, AXPEntityDefinitionProviderWidgetEditComponent, AXPEntityDefinitionRegistryService, AXPEntityDeletedEvent, AXPEntityDetailListViewModel, AXPEntityDetailPopoverComponent, AXPEntityDetailPopoverService, AXPEntityDetailViewModelFactory, AXPEntityDetailViewModelResolver, AXPEntityEventDispatcherService, AXPEntityFormBuilderService, AXPEntityLifecycleHookKeys, AXPEntityListPersistenceModeDefault, AXPEntityListTableService, AXPEntityListToolbarService, AXPEntityListViewCardFieldViewModel, AXPEntityListViewColumnViewModel, AXPEntityListViewModelFactory, AXPEntityListViewModelResolver, AXPEntityListWidget, AXPEntityListWidgetViewComponent, AXPEntityMasterCreateViewModel, AXPEntityMasterListCardSelectActionName, AXPEntityMasterListViewModel, AXPEntityMasterListViewQueryViewModel, AXPEntityMasterSingleElementViewModel, AXPEntityMasterSingleViewGroupViewModel, AXPEntityMasterSingleViewModel, AXPEntityMasterUpdateElementViewModel, AXPEntityMasterUpdateViewModel, AXPEntityMasterUpdateViewModelFactory, AXPEntityMiddleware, AXPEntityModifyEvent, AXPEntityModule, AXPEntityPreloadFiltersContainerComponent, AXPEntityPreloadFiltersViewModel, AXPEntityPreloadFiltersViewModelResolver, AXPEntityResolver, AXPEntityService, AXPEntityStorageService, AXPEntityUpdateViewSectionViewModel, AXPFileListComponent, AXPFileUploaderLoadFilesQuery, AXPFileUploaderSaveFilesCommand, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPGetEntityDetailsQuery, AXPLayoutOrderingConfigService, AXPLookupWidget, AXPLookupWidgetColumnComponent, AXPLookupWidgetEditComponent, AXPLookupWidgetViewComponent, AXPMiddlewareAbortError, AXPMiddlewareEntityStorageService, AXPMultiSourceDefinitionProviderContext, AXPMultiSourceDefinitionProviderService, AXPMultiSourceFederatedSearchService, AXPMultiSourceSelectorComponent, AXPMultiSourceSelectorService, AXPMultiSourceSelectorWidget, AXPMultiSourceSelectorWidgetColumnComponent, AXPMultiSourceSelectorWidgetEditComponent, AXPMultiSourceSelectorWidgetViewComponent, AXPMultiSourceType, AXPOpenEntityDetailsCommand, AXPOpenEntityListCommand, AXPRelatedColumnEnrichmentService, AXPRelatedColumnMetadataResolver, AXPSelectorStructureWidget, AXPSelectorStructureWidgetColumnComponent, AXPSelectorStructureWidgetEditComponent, AXPSelectorStructureWidgetViewComponent, AXPShowFileUploaderPopupCommand, AXPTruncatedBreadcrumbComponent, AXPUpdateEntityCommand, AXPUpdateEntityStatusCommand, AXPViewEntityDetailsCommand, AXP_APPEARANCE_SECTION_ORDER, AXP_CATEGORY_TREE_ROOT_TITLE_I18N_KEY, AXP_CLASSIFICATION_SECTION_ORDER, 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, ENTITY_MASTER_LIST_TRACE_NS, EntityBuilder, EntityDataAccessor, GALLERY_PAGE_COMPONENT_KEY, actionExists, applyDataSourcePagingWithoutLoad, attachmentFieldCount, attachmentNeedsHydration, attachmentsPlugin, attachmentsSemanticallyEqual, axpCreateEntityAiToolInputDefaults, axpCreateEntityCommandDefinition, axpDeleteEntityCommandDefinition, axpOpenEntityListCommandDefinition, axpShowFileUploaderPopupCommandDefinition, axpUpdateEntityStatusCommandDefinition, buildDataSourceTraceSnapshot, canPersistEntityListState, cloneLayoutArrays, columnOrderingMiddleware, columnOrderingMiddlewareProvider, columnWidthMiddleware, columnWidthMiddlewareProvider, committedAttachments, computeEntityAggregates, createColumnOrderingMiddlewareProvider, createLayoutOrderingMiddlewareProvider, createModifierContext, defaultCardLayoutMiddleware, defaultCardLayoutMiddlewareProvider, defaultMultiLanguageMiddleware, defaultMultiLanguageMiddlewareProvider, detectEntityChanges, ensureLayoutPropertyView, ensureLayoutSection, ensureListActions, eventDispatchMiddleware, filterSortEntityRows, findEntityListRowDataInTree, fingerprintAttachmentItem, fingerprintAttachments, fireEntityLifecycleHook, formatLookupItemDisplay, formatLookupItemDisplayAsync, galleryPlugin, getDataSourcePageIndex, getEntityListRowId, getMasterInterfacePropertySortKey, hasFileUploaderTitleOrDescriptionFields, hydrateAttachmentFieldToFileList, isAXPMiddlewareAbortError, isAttachmentFieldPresentOnRow, isAttachmentListEntry, isAttachmentStorageRef, isCategoryEntity, isCategoryFilter, isFileListItem, isFileUploaderEditDialogAuto, isLegacyEntityDataSelectorOptions, layoutOrderingMiddlewareFactory, layoutOrderingMiddlewareProvider, mapEntityStorageErrorToCommandResult, mapLegacyEntityDataSelectorOptions, normalizeEntityDataSelectorOptions, normalizeEntityFieldToFileList, normalizeEntityListPersistenceMode, normalizeListPaging, persistedAttachments, provideEntity, resolveAttachmentFieldPath, resolveEntityPluginDetailPageOrder, resolveFileUploaderEditDialog, resolveFileUploaderEntityScope, resolveLookupDisplayField, resolveLookupDisplayTemplate, resolveLookupEntityKey, restoreEntityListExpandedRows, runEntityQuery, searchResultDescriptionMiddleware, searchResultDescriptionMiddlewareProvider, shouldLoadEntityListStateFromStorage, shouldResetEntityListStateOnRouteEntry, traceEntityMasterList };
|
|
4599
|
+
export type { AXPDataSeeder, AXPDeleteEntityCommandInput, AXPEntityActionPlugin, AXPEntityCategoryWidgetOptions, AXPEntityChangeSet, AXPEntityConfigs, AXPEntityDataSelectorCategoryFilterOptions, AXPEntityDataSelectorCategoryOptions, AXPEntityDataSelectorCreateOptions, AXPEntityDataSelectorFilterOptions, AXPEntityDataSelectorGridOptions, AXPEntityDataSelectorOpenInput, AXPEntityDataSelectorOpenOptions, AXPEntityDataSelectorOptions, AXPEntityDataSelectorResult, AXPEntityDataSelectorRowActionsConfig, AXPEntityDataSelectorSearchOptions, AXPEntityDataSelectorSelectionOptions, AXPEntityDataSelectorSortOptions, AXPEntityDefinitionLoader, AXPEntityDefinitionPreloader, 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, AXPLookupDisplayEvalDeps, AXPMultiSourceDefinition, AXPMultiSourceDefinitionProvider, AXPMultiSourceItem, AXPMultiSourceRef, AXPMultiSourceSearchResult, AXPMultiSourceSearchResultItem, AXPMultiSourceSelectorOpenConfig, AXPMultiSourceSelectorResult, AXPMultiSourceSelectorWidgetOptions, AXPMultiSourceValue, AXPOpenEntityDetailsCommandInput, AXPOpenEntityListCommandInput, AXPOpenEntityListCondition, AXPRelatedColumnMetadata, AXPSelectorStructureFieldDef, AXPSelectorStructureIdentityDisplay, AXPSelectorStructurePresentationMode, AXPSelectorStructureSelectorMode, AXPSelectorStructureStructureMode, AXPSelectorStructureWidgetColumnOptions, AXPSelectorStructureWidgetDesignerOptions, AXPSelectorStructureWidgetEditOptions, AXPSelectorStructureWidgetOptions, AXPSelectorStructureWidgetPrintOptions, AXPSelectorStructureWidgetViewOptions, AXPShowFileUploaderPopupCommandInput, AXPUpdateEntityStatusCommandInput, AttachmentsDisplayMode, AttachmentsPluginOptions, CategoryQueryEvent, CategoryQueryFunction, CategoryQueryResult, CategoryTreeConfig, CategoryTreeNodeData, EntityDetailPluginPageSlot, EntityMasterListTraceArea, GalleryDisplayMode, GalleryPluginOptions, PairSpanRule, ResolveEntityPluginDetailPageOrderOptions, RunEntityQueryAdapters, SectionOrderConfig, SkipEntityComponentPageRef };
|
|
@@ -3,13 +3,12 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { Signal, InjectionToken, OnInit, OnDestroy } from '@angular/core';
|
|
4
4
|
import * as _acorex_platform_framework_client_themes_shared from '@acorex-platform/framework-client/themes/shared';
|
|
5
5
|
import * as _acorex_platform_framework_shared_core from '@acorex-platform/framework-shared/core';
|
|
6
|
-
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPMultiLanguageString, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPWidgetNode, AXPKeyboardShortcut, AXPExecuteCommandResult, AXPContextChangeEvent, AXPKeyboardShortcutChord } from '@acorex-platform/framework-shared/core';
|
|
6
|
+
import { AXPActionMenuItem, AXPBreadcrumbItem, AXPMultiLanguageString, AXPBadge, AXPPageStatus, AXPBackButton, AXPExecuteCommand, AXPWidgetNode, AXPKeyboardShortcut, AXPExecuteCommandResult, AXPExpressionEvaluatorScope, AXPContextChangeEvent, AXPKeyboardShortcutChord } from '@acorex-platform/framework-shared/core';
|
|
7
7
|
import { AXClickEvent } from '@acorex/cdk/common';
|
|
8
8
|
import { AXPTabNavigationService, AXPHomePageService, AXPSettingsService, AXPTabPreviewService, AXPUnsavedChangesConfirmService, AXPBrowserTitleService } from '@acorex-platform/framework-client/common';
|
|
9
9
|
import * as i1 from '@acorex/cdk/drawer';
|
|
10
10
|
import { AXDrawerItemDirective } from '@acorex/cdk/drawer';
|
|
11
|
-
import
|
|
12
|
-
import { AXPDeviceService, AXPExpressionEvaluatorScope, AXPBroadcastEventService } from '@acorex-platform/framework-client/core';
|
|
11
|
+
import { AXPDeviceService, AXPBroadcastEventService } from '@acorex-platform/framework-client/core';
|
|
13
12
|
import { AXPCommandService, AXPPolicyEngineService } from '@acorex-platform/framework-client/runtime';
|
|
14
13
|
import { AXToastService } from '@acorex/components/toast';
|
|
15
14
|
import { AXFormatService } from '@acorex/core/format';
|
|
@@ -653,7 +652,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
653
652
|
savedContext: _angular_core.Signal<Record<string, any>>;
|
|
654
653
|
previousContext: _angular_core.Signal<Record<string, any>>;
|
|
655
654
|
context: _angular_core.Signal<Record<string, any>>;
|
|
656
|
-
scope: _angular_core.Signal<
|
|
655
|
+
scope: _angular_core.Signal<_acorex_platform_framework_shared_core.AXPExpressionEvaluatorScope | null>;
|
|
657
656
|
status: _angular_core.Signal<_acorex_platform_framework_shared_widget_core.AXPPageStatus>;
|
|
658
657
|
currentPage: _angular_core.Signal<AXPLayoutDetailsViewPage | null>;
|
|
659
658
|
currentTab: _angular_core.Signal<_acorex_platform_framework_client_layout_views.AXPLayoutDetailsViewTabItem | null>;
|
|
@@ -706,7 +705,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
706
705
|
savedContext: Record<string, any>;
|
|
707
706
|
previousContext: Record<string, any>;
|
|
708
707
|
context: Record<string, any>;
|
|
709
|
-
scope:
|
|
708
|
+
scope: _acorex_platform_framework_shared_core.AXPExpressionEvaluatorScope | null;
|
|
710
709
|
status: _acorex_platform_framework_shared_widget_core.AXPPageStatus;
|
|
711
710
|
currentPage: AXPLayoutDetailsViewPage | null;
|
|
712
711
|
currentTab: _acorex_platform_framework_client_layout_views.AXPLayoutDetailsViewTabItem | null;
|
|
@@ -786,6 +785,11 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
786
785
|
*/
|
|
787
786
|
protected refreshLayout(): Promise<void>;
|
|
788
787
|
ngOnInit(): Promise<void>;
|
|
788
|
+
/**
|
|
789
|
+
* Merges server-returned field updates (e.g. derived effectiveState after a status transition)
|
|
790
|
+
* into the open record context and live widget form.
|
|
791
|
+
*/
|
|
792
|
+
private handleEntityModified;
|
|
789
793
|
/** Navigates to {@link AXPLayoutDetailsViewAdapter.exitUrl} when the open record was deleted. */
|
|
790
794
|
private handleEntityDeleted;
|
|
791
795
|
ngOnDestroy(): void;
|
|
@@ -833,7 +837,8 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
833
837
|
getPageBadge(): Promise<AXPBadge | null>;
|
|
834
838
|
getPageStatus(): Promise<AXPPageStatus | null>;
|
|
835
839
|
/**
|
|
836
|
-
*
|
|
840
|
+
* Context for header status-chip → default `Entity:UpdateStatus`.
|
|
841
|
+
* Raw record context alone is not enough: executeTransition requires entity key (+ status field).
|
|
837
842
|
*/
|
|
838
843
|
getEntityData(): Record<string, any> | null;
|
|
839
844
|
onBackButtonClick(): Promise<void>;
|
|
@@ -3210,7 +3210,7 @@ declare class AXPStatusWidgetViewComponent extends AXPDataListWidgetComponent {
|
|
|
3210
3210
|
protected onTransitionExecuted(transition: AXPStatusTransitionWithTarget): void;
|
|
3211
3211
|
protected onTransitionError(error: Error): void;
|
|
3212
3212
|
/**
|
|
3213
|
-
*
|
|
3213
|
+
* Build context for default `Entity:UpdateStatus` (entity key, record id, status field path).
|
|
3214
3214
|
*/
|
|
3215
3215
|
protected getEntityData(): Record<string, any> | null;
|
|
3216
3216
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPStatusWidgetViewComponent, never>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { OperatorFunction, Observable } from 'rxjs';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { ModuleWithProviders, InjectionToken } from '@angular/core';
|
|
4
|
-
import { AXPActivityCategory, AXPActivityDefinition, AXPWorkflowContinuationMetadata, AXPWorkflowContinuationBeforeInteractive, AXPWorkflowCategory, AXPWorkflowDefinition } from '@acorex-platform/framework-shared/core';
|
|
4
|
+
import { AXPActivityCategory, AXPActivityDefinition, AXPWorkflowContinuationMetadata, AXPExpressionEvaluatorScope, AXPWorkflowContinuationBeforeInteractive, AXPWorkflowCategory, AXPWorkflowDefinition } from '@acorex-platform/framework-shared/core';
|
|
5
5
|
export { AXPWorkflowCategory } from '@acorex-platform/framework-shared/core';
|
|
6
|
-
import { AXPExpressionEvaluatorScope } from '@acorex-platform/framework-client/core';
|
|
7
6
|
|
|
8
7
|
interface AXPWorkflowEvent<T = unknown> {
|
|
9
8
|
type: string;
|