@acorex/platform 20.9.5 → 20.9.8
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.mjs +71 -1
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +244 -4
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +96 -19
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs +19 -1
- package/fesm2022/acorex-platform-layout-entity-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +51 -8
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +65 -19
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +82 -43
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +168 -80
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +18 -2
- package/types/acorex-platform-core.d.ts +68 -2
- package/types/acorex-platform-layout-components.d.ts +12 -0
- package/types/acorex-platform-layout-entity-contracts.d.ts +14 -2
- package/types/acorex-platform-layout-entity.d.ts +2 -1
- package/types/acorex-platform-layout-views.d.ts +6 -13
- package/types/acorex-platform-layout-widget-core.d.ts +11 -4
- package/types/acorex-platform-layout-widgets.d.ts +20 -0
package/package.json
CHANGED
|
@@ -2790,6 +2790,22 @@ declare function axpIsEntityDetailsViewRoute(router: Router): boolean;
|
|
|
2790
2790
|
*/
|
|
2791
2791
|
declare function axpReplaceEntityListRouteQueryParams(router: Router, queryParams: Record<string, string | null | undefined>): void;
|
|
2792
2792
|
|
|
2793
|
+
interface AXPEntityListRouteParts {
|
|
2794
|
+
module: string;
|
|
2795
|
+
entity: string;
|
|
2796
|
+
}
|
|
2797
|
+
interface AXPEntityDetailsRouteParts extends AXPEntityListRouteParts {
|
|
2798
|
+
id: string;
|
|
2799
|
+
}
|
|
2800
|
+
/** Parses an entity master list route (`.../m/{module}/e/{entity}/list`). */
|
|
2801
|
+
declare function axpParseEntityListRoute(url: string): AXPEntityListRouteParts | null;
|
|
2802
|
+
/** Parses an entity details route (`.../m/{module}/e/{entity}/{id}/view`). */
|
|
2803
|
+
declare function axpParseEntityDetailsRoute(url: string): AXPEntityDetailsRouteParts | null;
|
|
2804
|
+
/** Persists the last list URL (including query params) used before opening entity details. */
|
|
2805
|
+
declare function axpSaveEntityListReturnUrl(module: string, entity: string, url: string): void;
|
|
2806
|
+
/** Returns the stored list URL for the entity, or the provided fallback path. */
|
|
2807
|
+
declare function axpGetEntityListReturnUrl(module: string, entity: string, fallbackPath: string): string;
|
|
2808
|
+
|
|
2793
2809
|
/**
|
|
2794
2810
|
* Exposes URL query parameters in expression strings, e.g.
|
|
2795
2811
|
* `{{ queryParams.get('view') }}`.
|
|
@@ -3073,5 +3089,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
3073
3089
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
3074
3090
|
}
|
|
3075
3091
|
|
|
3076
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPBackgroundOperationCompletionService, AXPBackgroundOperationEntityStoreService, AXPBackgroundOperationHandler, AXPBackgroundOperationNotificationService, AXPBackgroundOperationProvider, AXPBackgroundOperationRootConfig, AXPBackgroundOperationService, AXPBackgroundOperationSlotComponent, AXPBrowserTitleService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDefaultMultiLanguageConfigService, AXPDialogConfirmAction, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageEvaluatorScopeProvider, AXPFileStorageService, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPIntegrationOAuthService, AXPIntegrationProviderContext, AXPIntegrationProviderRegistryService, AXPIntegrationRuntimeService, AXPKeyboardShortcutsHelpComponent, AXPKeyboardShortcutsHelpService, AXPLockService, AXPMenuItemsDataSourceDefinition, AXPMenuKeyboardShortcutService, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuRouteAccessService, AXPMenuRouteGuard, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPNotFoundCatchAllRoute, AXPNotFoundError, AXPOutputContractTranscriptSegmentService, AXPPlatformCommonDataSourceKeys, AXPPlatformDefaultConfigs, AXPQueryParamsEvaluatorScopeProvider, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalCalendarService, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsEvaluatorScopeProvider, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStickyDirective, AXPTabNavigationService, AXPTabPreviewService, AXPTabRouteCacheRegistry, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPTranslateFormatter, AXPUnsavedChangesConfirmService, AXPUnsavedChangesPopstateService, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_AGENT_OUTPUT_CONTRACT_DEFAULT_STRUCTURED_RETRIES, AXP_APP_VERSION_PROVIDER, AXP_BACKGROUND_OPERATION_ENTITY_STORAGE, AXP_BACKGROUND_OPERATION_HANDLERS, AXP_BACKGROUND_OPERATION_PROVIDERS, AXP_ENTITY_DELETED_WORKFLOW_EVENT_TYPE, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_HOME_TAB_KEY, AXP_INTEGRATION_CONNECTION_ESTABLISHED, AXP_INTEGRATION_OAUTH_SERVICE, AXP_INTEGRATION_PROVIDER, AXP_INTEGRATION_RUNTIME_PROVIDER, AXP_INTEGRATION_SECRET_STORE, AXP_IN_APP_NOTIFICATION_SERVICE, AXP_LOCALE_MANAGEMENT_PORT, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_NOT_FOUND_CATCH_ALL_ROUTE, AXP_NOT_FOUND_ROUTE, AXP_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_PROTECTED_ROUTE_GUARDS, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_LAZY_RESOLVER, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TAB_BREADCRUMB_JOIN_SEPARATOR, AXP_TAB_ROUTE_DATA_KEY, AXP_TOKEN_DEFINITION_PROVIDER, AXP_UNAUTHORIZED_ROUTE, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, DEFAULT_DATE_FILTER_PRESETS, DEFAULT_MULTILANGUAGE_FIELD_NAMES, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, MULTILANGUAGE_CAPABLE_WIDGET_TYPES, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, applyDateFilterPreset, axpBackgroundOperationCapabilities, axpBackgroundOperationDisplayTime, axpBackgroundOperationEntityName, axpBackgroundOperationEstimateEndDate, axpBackgroundOperationFailurePolicy, axpBackgroundOperationFromEntityModel, axpBackgroundOperationRemainingMs, axpBackgroundOperationToEntityModel, axpBuildBackgroundOperation, axpBuildTabKey, axpCoerceBackgroundOperationDate, axpCreateBackgroundOperationId, axpFallbackTabTitle, axpFindMenuItemByRoute, axpGetLeafRouteSnapshot, axpHasTabScope, axpIsActiveBackgroundOperationStatus, axpIsCompletedBackgroundOperationStatus, axpIsEntityDetailsPath, axpIsEntityDetailsViewRoute, axpIsEntityListPath, axpIsEntityListRoute, axpIsEntityRecordNotFound, axpIsTabEligibleUrl, axpJoinTabTitleSegments, axpMenuPathsMatch, axpNavigateAppPath, axpParseAppPath, axpPathFromSnapshot, axpRedirectToNotFound, axpRedirectToUnauthorized, axpReplaceEntityListRouteQueryParams, axpResolveTabKey, axpResolveTabKeyFromRouteConfig, axpResolveTabKeyFromSnapshot, axpResolveTabTitleParts, backgroundOperationEntityFactory, coerceAXPSettingRawValue, coerceAXPSettingRawValueByKind, configPlatform, createBackgroundOperationStore, createEntityCommandOptions, createEntityRowExpressionScope, createEntitySearchCommand, createMenuContext, createMenuMiddleware, createUnsavedChangesCanDeactivateGuard, downloadGraphicFromElement, evaluateEntityDisplayTemplate, findManualPresetIdByOperation, formatEntityRowDisplayTitle, inferSettingCoercionKind, normalizePositiveNumberOption, normalizeRouterUrl, peelSettingValueKey, printGraphicFromElement, provideDynamicHomePage, provideMenuMiddleware, resolveDateFilterPresets, resolveEntityCreateListBehavior, resolveEntityModifyPopupTitle, resolveEntityRowDisplayText, resolveEntityRowDisplayTitle, resolveEntityRowDisplayTitleFromColumnContext, resolveEntitySearchTitleFallback, resolveGraphicElementSize, resolveGraphicPrintContent, resolveQueryMatchingDisplayText, resolveSearchDisplayTemplate, resolveSearchableText, searchInRecordValues, searchInSearchableValue, serializeSvgElement, shouldApplyDefaultMultiLanguageToEntityProperty, shouldApplyDefaultMultiLanguageToWidgetNode, shouldApplyDefaultMultiLanguageToWidgetProperty, triggerBrowserDownload, withDefaultMultiLanguageOnWidgetNodeTree, withDefaultMultiLanguageOnWidgetProperty };
|
|
3077
|
-
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXPAgentOutputContract, AXPAgentResponseFormat, AXPAppPathParts, AXPAppVersion, AXPAppVersionProvider, AXPBackgroundOperation, AXPBackgroundOperationActionKey, AXPBackgroundOperationCapabilities, AXPBackgroundOperationCreateRequest, AXPBackgroundOperationEntityModel, AXPBackgroundOperationEntityStorageAdapter, AXPBackgroundOperationError, AXPBackgroundOperationFailureMode, AXPBackgroundOperationFailurePolicy, AXPBackgroundOperationProviderStore, AXPBackgroundOperationStatus, AXPCommonModuleConfigs, AXPCurrency, AXPDateTimeFilterPreset, AXPDateTimeFilterPresetKind, AXPDateTimeFilterValue, AXPDomToImageOptions, AXPEntityCreateListBehavior, AXPEntityCreateListBehaviorOptions, AXPEntityDeletedEventPayload, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGraphicDownloadFormat, AXPGraphicDownloadOptions, AXPGraphicPrintContent, AXPGroupSearchResult, AXPHomePageDefinition, AXPInAppNotificationCreateRequest, AXPInAppNotificationPriority, AXPInAppNotificationService, AXPIntegrationConnectionEstablishedHandler, AXPIntegrationOAuthCompleteInput, AXPIntegrationOAuthStartInput, AXPIntegrationProvider, AXPIntegrationRuntimeProvider, AXPIntegrationSecretRefInput, AXPIntegrationSecretStore, AXPIntegrationWithClientOptions, AXPJsonSchemaLike, AXPLanguage, AXPLocaleManagementPort, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuRouteMatchResult, AXPMenuType, AXPNavigationMode, AXPOutputContractTranscriptSegmentDefinition, AXPOutputContractTranscriptSegmentProvider, AXPOutputContractTranscriptSegmentProviderToken, AXPPlatformConfigs, AXPPrintGraphicOptions, AXPResolveEntityRowDisplayTitleOptions, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionLazyResolver, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingCoercionKind, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingLayoutOptions, AXPSettingMergedDefaults, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPTabCloseConfirm, AXPTabDescriptor, AXPTabRouteData, AXPTabSessionState, AXPTabStructuredPreview, AXPTabTitleParts, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPTranslateFormatterOptions, AXPUnLockRequest, AXPUnsavedChangesCanDeactivate, AXPUnsavedChangesConfirmOptions, AXPUnsavedChangesPopstateSource, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|
|
3092
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPBackgroundOperationCompletionService, AXPBackgroundOperationEntityStoreService, AXPBackgroundOperationHandler, AXPBackgroundOperationNotificationService, AXPBackgroundOperationProvider, AXPBackgroundOperationRootConfig, AXPBackgroundOperationService, AXPBackgroundOperationSlotComponent, AXPBrowserTitleService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDefaultMultiLanguageConfigService, AXPDialogConfirmAction, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageEvaluatorScopeProvider, AXPFileStorageService, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPIntegrationOAuthService, AXPIntegrationProviderContext, AXPIntegrationProviderRegistryService, AXPIntegrationRuntimeService, AXPKeyboardShortcutsHelpComponent, AXPKeyboardShortcutsHelpService, AXPLockService, AXPMenuItemsDataSourceDefinition, AXPMenuKeyboardShortcutService, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuRouteAccessService, AXPMenuRouteGuard, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPNotFoundCatchAllRoute, AXPNotFoundError, AXPOutputContractTranscriptSegmentService, AXPPlatformCommonDataSourceKeys, AXPPlatformDefaultConfigs, AXPQueryParamsEvaluatorScopeProvider, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalCalendarService, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsEvaluatorScopeProvider, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStickyDirective, AXPTabNavigationService, AXPTabPreviewService, AXPTabRouteCacheRegistry, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPTranslateFormatter, AXPUnsavedChangesConfirmService, AXPUnsavedChangesPopstateService, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_AGENT_OUTPUT_CONTRACT_DEFAULT_STRUCTURED_RETRIES, AXP_APP_VERSION_PROVIDER, AXP_BACKGROUND_OPERATION_ENTITY_STORAGE, AXP_BACKGROUND_OPERATION_HANDLERS, AXP_BACKGROUND_OPERATION_PROVIDERS, AXP_ENTITY_DELETED_WORKFLOW_EVENT_TYPE, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_HOME_TAB_KEY, AXP_INTEGRATION_CONNECTION_ESTABLISHED, AXP_INTEGRATION_OAUTH_SERVICE, AXP_INTEGRATION_PROVIDER, AXP_INTEGRATION_RUNTIME_PROVIDER, AXP_INTEGRATION_SECRET_STORE, AXP_IN_APP_NOTIFICATION_SERVICE, AXP_LOCALE_MANAGEMENT_PORT, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_NOT_FOUND_CATCH_ALL_ROUTE, AXP_NOT_FOUND_ROUTE, AXP_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_PROTECTED_ROUTE_GUARDS, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_LAZY_RESOLVER, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TAB_BREADCRUMB_JOIN_SEPARATOR, AXP_TAB_ROUTE_DATA_KEY, AXP_TOKEN_DEFINITION_PROVIDER, AXP_UNAUTHORIZED_ROUTE, AXVChangeType, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, DEFAULT_DATE_FILTER_PRESETS, DEFAULT_MULTILANGUAGE_FIELD_NAMES, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IN_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, MULTILANGUAGE_CAPABLE_WIDGET_TYPES, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, applyDateFilterPreset, axpBackgroundOperationCapabilities, axpBackgroundOperationDisplayTime, axpBackgroundOperationEntityName, axpBackgroundOperationEstimateEndDate, axpBackgroundOperationFailurePolicy, axpBackgroundOperationFromEntityModel, axpBackgroundOperationRemainingMs, axpBackgroundOperationToEntityModel, axpBuildBackgroundOperation, axpBuildTabKey, axpCoerceBackgroundOperationDate, axpCreateBackgroundOperationId, axpFallbackTabTitle, axpFindMenuItemByRoute, axpGetEntityListReturnUrl, axpGetLeafRouteSnapshot, axpHasTabScope, axpIsActiveBackgroundOperationStatus, axpIsCompletedBackgroundOperationStatus, axpIsEntityDetailsPath, axpIsEntityDetailsViewRoute, axpIsEntityListPath, axpIsEntityListRoute, axpIsEntityRecordNotFound, axpIsTabEligibleUrl, axpJoinTabTitleSegments, axpMenuPathsMatch, axpNavigateAppPath, axpParseAppPath, axpParseEntityDetailsRoute, axpParseEntityListRoute, axpPathFromSnapshot, axpRedirectToNotFound, axpRedirectToUnauthorized, axpReplaceEntityListRouteQueryParams, axpResolveTabKey, axpResolveTabKeyFromRouteConfig, axpResolveTabKeyFromSnapshot, axpResolveTabTitleParts, axpSaveEntityListReturnUrl, backgroundOperationEntityFactory, coerceAXPSettingRawValue, coerceAXPSettingRawValueByKind, configPlatform, createBackgroundOperationStore, createEntityCommandOptions, createEntityRowExpressionScope, createEntitySearchCommand, createMenuContext, createMenuMiddleware, createUnsavedChangesCanDeactivateGuard, downloadGraphicFromElement, evaluateEntityDisplayTemplate, findManualPresetIdByOperation, formatEntityRowDisplayTitle, inferSettingCoercionKind, normalizePositiveNumberOption, normalizeRouterUrl, peelSettingValueKey, printGraphicFromElement, provideDynamicHomePage, provideMenuMiddleware, resolveDateFilterPresets, resolveEntityCreateListBehavior, resolveEntityModifyPopupTitle, resolveEntityRowDisplayText, resolveEntityRowDisplayTitle, resolveEntityRowDisplayTitleFromColumnContext, resolveEntitySearchTitleFallback, resolveGraphicElementSize, resolveGraphicPrintContent, resolveQueryMatchingDisplayText, resolveSearchDisplayTemplate, resolveSearchableText, searchInRecordValues, searchInSearchableValue, serializeSvgElement, shouldApplyDefaultMultiLanguageToEntityProperty, shouldApplyDefaultMultiLanguageToWidgetNode, shouldApplyDefaultMultiLanguageToWidgetProperty, triggerBrowserDownload, withDefaultMultiLanguageOnWidgetNodeTree, withDefaultMultiLanguageOnWidgetProperty };
|
|
3093
|
+
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXPAgentOutputContract, AXPAgentResponseFormat, AXPAppPathParts, AXPAppVersion, AXPAppVersionProvider, AXPBackgroundOperation, AXPBackgroundOperationActionKey, AXPBackgroundOperationCapabilities, AXPBackgroundOperationCreateRequest, AXPBackgroundOperationEntityModel, AXPBackgroundOperationEntityStorageAdapter, AXPBackgroundOperationError, AXPBackgroundOperationFailureMode, AXPBackgroundOperationFailurePolicy, AXPBackgroundOperationProviderStore, AXPBackgroundOperationStatus, AXPCommonModuleConfigs, AXPCurrency, AXPDateTimeFilterPreset, AXPDateTimeFilterPresetKind, AXPDateTimeFilterValue, AXPDomToImageOptions, AXPEntityCreateListBehavior, AXPEntityCreateListBehaviorOptions, AXPEntityDeletedEventPayload, AXPEntityDetailsRouteParts, AXPEntityListRouteParts, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGraphicDownloadFormat, AXPGraphicDownloadOptions, AXPGraphicPrintContent, AXPGroupSearchResult, AXPHomePageDefinition, AXPInAppNotificationCreateRequest, AXPInAppNotificationPriority, AXPInAppNotificationService, AXPIntegrationConnectionEstablishedHandler, AXPIntegrationOAuthCompleteInput, AXPIntegrationOAuthStartInput, AXPIntegrationProvider, AXPIntegrationRuntimeProvider, AXPIntegrationSecretRefInput, AXPIntegrationSecretStore, AXPIntegrationWithClientOptions, AXPJsonSchemaLike, AXPLanguage, AXPLocaleManagementPort, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuRouteMatchResult, AXPMenuType, AXPNavigationMode, AXPOutputContractTranscriptSegmentDefinition, AXPOutputContractTranscriptSegmentProvider, AXPOutputContractTranscriptSegmentProviderToken, AXPPlatformConfigs, AXPPrintGraphicOptions, AXPResolveEntityRowDisplayTitleOptions, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionLazyResolver, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingCoercionKind, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingLayoutOptions, AXPSettingMergedDefaults, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPTabCloseConfirm, AXPTabDescriptor, AXPTabRouteData, AXPTabSessionState, AXPTabStructuredPreview, AXPTabTitleParts, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPTranslateFormatterOptions, AXPUnLockRequest, AXPUnsavedChangesCanDeactivate, AXPUnsavedChangesConfirmOptions, AXPUnsavedChangesPopstateSource, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|
|
@@ -716,6 +716,72 @@ type AXPValueTransformerFunctions = {
|
|
|
716
716
|
};
|
|
717
717
|
declare function objectKeyValueTransforms(keyName: string): AXPValueTransformerFunctions;
|
|
718
718
|
|
|
719
|
+
interface AXPDataSourceQueryOptions {
|
|
720
|
+
/** Field used as AXDataSource key / widget valueField. Defaults to definition valueField.name or `id`. */
|
|
721
|
+
valueField?: string;
|
|
722
|
+
/** When true, resolve from definition.samples instead of source(). */
|
|
723
|
+
useSamples?: boolean;
|
|
724
|
+
/** Retry definition lookup while registry providers are still loading. */
|
|
725
|
+
waitForRegistry?: boolean;
|
|
726
|
+
/** Max attempts when waitForRegistry is true (default 20). */
|
|
727
|
+
maxRegistryAttempts?: number;
|
|
728
|
+
/** Delay between registry retry attempts in ms (default 50). */
|
|
729
|
+
registryRetryDelayMs?: number;
|
|
730
|
+
}
|
|
731
|
+
interface AXPDataSourceQueryResult {
|
|
732
|
+
name: string;
|
|
733
|
+
ready: boolean;
|
|
734
|
+
dataSource: AXDataSource | null;
|
|
735
|
+
definition?: AXPDataSourceDefinition;
|
|
736
|
+
valueField: string;
|
|
737
|
+
textField: string;
|
|
738
|
+
error?: unknown;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* Resolves registry-backed {@link AXDataSource} instances and exposes readiness (`isReady`, `whenReady`)
|
|
742
|
+
* so widgets do not bind selected values before the provider datasource is available.
|
|
743
|
+
*/
|
|
744
|
+
declare class AXPDataSourceQueryService {
|
|
745
|
+
private readonly definitionService;
|
|
746
|
+
private readonly entries;
|
|
747
|
+
/**
|
|
748
|
+
* Returns true when the named registry datasource has been resolved for the given options.
|
|
749
|
+
*/
|
|
750
|
+
isReady(name: string, options?: AXPDataSourceQueryOptions): boolean;
|
|
751
|
+
/**
|
|
752
|
+
* Emits once when the registry datasource is resolved (or fails) for the given options.
|
|
753
|
+
*/
|
|
754
|
+
whenReady(name: string, options?: AXPDataSourceQueryOptions): Observable<AXPDataSourceQueryResult>;
|
|
755
|
+
/**
|
|
756
|
+
* Resolves and returns the {@link AXDataSource} for a registry name, waiting for providers when needed.
|
|
757
|
+
*/
|
|
758
|
+
getDataSource(name: string, options?: AXPDataSourceQueryOptions): Promise<AXDataSource | null>;
|
|
759
|
+
/**
|
|
760
|
+
* Resolves the registry datasource, then looks up one or more keys via `byKey`.
|
|
761
|
+
*/
|
|
762
|
+
queryByKey(name: string, key: unknown, options?: AXPDataSourceQueryOptions): Promise<unknown>;
|
|
763
|
+
/**
|
|
764
|
+
* Fully resolves a registry datasource (definition + AXDataSource instance).
|
|
765
|
+
*/
|
|
766
|
+
resolve(name: string, options?: AXPDataSourceQueryOptions): Promise<AXPDataSourceQueryResult>;
|
|
767
|
+
/**
|
|
768
|
+
* Clears cached query state. Pass a registry name to invalidate one datasource, or omit to clear all.
|
|
769
|
+
*/
|
|
770
|
+
invalidate(name?: string): void;
|
|
771
|
+
private ensureLoading;
|
|
772
|
+
private loadEntry;
|
|
773
|
+
private waitForDefinition;
|
|
774
|
+
private createDataSource;
|
|
775
|
+
private resolveSamples;
|
|
776
|
+
private applyValueFieldAsKey;
|
|
777
|
+
private wrapTranslatedDataSource;
|
|
778
|
+
private translateItem;
|
|
779
|
+
private buildCacheKey;
|
|
780
|
+
private sleep;
|
|
781
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDataSourceQueryService, never>;
|
|
782
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPDataSourceQueryService>;
|
|
783
|
+
}
|
|
784
|
+
|
|
719
785
|
declare class AXPContentCheckerDirective {
|
|
720
786
|
viewContainerRef: ViewContainerRef;
|
|
721
787
|
elementRef: ElementRef<HTMLDivElement>;
|
|
@@ -1845,5 +1911,5 @@ declare function createProviderWithInjectionContext<T>(loader: () => Promise<new
|
|
|
1845
1911
|
*/
|
|
1846
1912
|
declare function provideLazyProvider<TProvider>(token: InjectionToken<any>, loader: () => Promise<new () => TProvider>, multi?: boolean): Provider;
|
|
1847
1913
|
|
|
1848
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService, AXPCatalogScopeDefinitionsDataSourceDefinition, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextDefinitionProviderService, AXPContextEvalFactory, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDebugService, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPIdleSchedulerService, AXPImageUrlLogoConfig, AXPKeyboardShortcutRegistry, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPModuleManifestsDataSourceDefinition, AXPScreenSize, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_PROVIDER, AXP_CONTEXT_DEFINITION_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, AXP_SESSION_SERVICE, AXP_TAG_PROVIDER, AX_OVERLAY_CONTAINER_SELECTOR, AX_OVERLAY_PANE_SELECTOR, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS, FORM_DIRTY_TRACE_NS, OVERLAY_DETAILS_VIEW_TRACE_NS, OVERLAY_LAYOUT_TRACE_NS, OVERLAY_ROOT_LAYOUT_TRACE_NS, OVERLAY_WIDGET_SETTLE_TRACE_NS, applyContextEvalPipes, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, chordToKbdItemKeys, contextEvalWithPipes, createProviderWithInjectionContext, defaultColumnWidthProvider, findOverlayContainerAncestor, formatKeyboardShortcutChord, formatKeyboardShortcutChords, getNestedVisibleOverlayPanes, getPrimaryKeyboardShortcutChord, getTopVisibleOverlayContainer, getVisibleAnchoredOverlayPanes, getVisibleOverlayContainers, hasForegroundOverlayLayer, isDialogShortcutAllowedInEditableField, isHorizontalDirectionalShortcutKey, isKeyboardTargetInsideEditableField, isMacPlatform, isVisibleOverlayElement, matchesDialogActionShortcut, matchesKeyboardShortcutChord, mirrorHorizontalDirectionalKey, normalizeContextEvalPipes, normalizeDialogActionShortcutChord, normalizeExpressionTemplate, normalizeKeyboardShortcut, normalizeKeyboardShortcuts, objectKeyValueTransforms, parseDialogActionShortcut, parseKeyboardShortcutChord, provideLazyProvider, registerPopupFooterKeyboardShortcuts, resolveConfiguredFooterActionShortcuts, resolveDialogActionShortcuts, resolveDisplayShortcutChord, resolveEffectiveDirectionBehavior, resolveSemanticDirectionalKey, setupPopupFooterKeyboardShortcuts, shouldDeferEscapeToOpenOverlay, shouldTriggerDialogActionShortcut };
|
|
1849
|
-
export type { AXPActivityLog, AXPActivityLogChange, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinition, AXPContextDefinitionAiHints, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, AXPDataSourceArray, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataSourceSample, AXPDataSourceType, AXPDataSourceValue, AXPDebugData, AXPDebugDataFactory, AXPDebugDataInput, AXPDialogActionOptions, AXPDialogActionShortcut, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPISessionService, AXPIdleSchedulerEnqueueOptions, AXPIdleSchedulerWaitOptions, AXPKeyboardShortcutFormatOptions, AXPKeyboardShortcutRegisterOptions, AXPLazyDataSource, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPPopupFooterKeyboardShortcutsOptions, AXPPopupFooterKeyboardShortcutsSetupConfig, AXPPopupFooterShortcutAction, AXPStartUpTask, AXPTag, AXPTagFilterOptions, AXPValueTransformerFunction, AXPValueTransformerFunctions, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|
|
1914
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPCatalogScopeDefinitionProviderService, AXPCatalogScopeDefinitionsDataSourceDefinition, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextDefinitionProviderService, AXPContextEvalFactory, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDataSourceQueryService, AXPDblClickDirective, AXPDebugService, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPIdleSchedulerService, AXPImageUrlLogoConfig, AXPKeyboardShortcutRegistry, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPModuleManifestsDataSourceDefinition, AXPScreenSize, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_PROVIDER, AXP_CONTEXT_DEFINITION_PROVIDER, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_DISTRIBUTED_EVENT_LISTENER_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER, AXP_FEATURE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, AXP_SESSION_SERVICE, AXP_TAG_PROVIDER, AX_OVERLAY_CONTAINER_SELECTOR, AX_OVERLAY_PANE_SELECTOR, DEFAULT_CANCEL_DIALOG_ACTION_SHORTCUTS, DEFAULT_SUBMIT_DIALOG_ACTION_SHORTCUTS, FORM_DIRTY_TRACE_NS, OVERLAY_DETAILS_VIEW_TRACE_NS, OVERLAY_LAYOUT_TRACE_NS, OVERLAY_ROOT_LAYOUT_TRACE_NS, OVERLAY_WIDGET_SETTLE_TRACE_NS, applyContextEvalPipes, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, chordToKbdItemKeys, contextEvalWithPipes, createProviderWithInjectionContext, defaultColumnWidthProvider, findOverlayContainerAncestor, formatKeyboardShortcutChord, formatKeyboardShortcutChords, getNestedVisibleOverlayPanes, getPrimaryKeyboardShortcutChord, getTopVisibleOverlayContainer, getVisibleAnchoredOverlayPanes, getVisibleOverlayContainers, hasForegroundOverlayLayer, isDialogShortcutAllowedInEditableField, isHorizontalDirectionalShortcutKey, isKeyboardTargetInsideEditableField, isMacPlatform, isVisibleOverlayElement, matchesDialogActionShortcut, matchesKeyboardShortcutChord, mirrorHorizontalDirectionalKey, normalizeContextEvalPipes, normalizeDialogActionShortcutChord, normalizeExpressionTemplate, normalizeKeyboardShortcut, normalizeKeyboardShortcuts, objectKeyValueTransforms, parseDialogActionShortcut, parseKeyboardShortcutChord, provideLazyProvider, registerPopupFooterKeyboardShortcuts, resolveConfiguredFooterActionShortcuts, resolveDialogActionShortcuts, resolveDisplayShortcutChord, resolveEffectiveDirectionBehavior, resolveSemanticDirectionalKey, setupPopupFooterKeyboardShortcuts, shouldDeferEscapeToOpenOverlay, shouldTriggerDialogActionShortcut };
|
|
1915
|
+
export type { AXPActivityLog, AXPActivityLogChange, AXPCatalogScopeDefinition, AXPCatalogScopeDefinitionProvider, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContextDefinition, AXPContextDefinitionAiHints, AXPContextDefinitionProvider, AXPContextEvalFn, AXPContextEvalOptions, AXPContextEvalPipe, AXPContextEvalPipeName, AXPContextEvalPipeSpec, AXPDataSourceArray, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataSourceQueryOptions, AXPDataSourceQueryResult, AXPDataSourceSample, AXPDataSourceType, AXPDataSourceValue, AXPDebugData, AXPDebugDataFactory, AXPDebugDataInput, AXPDialogActionOptions, AXPDialogActionShortcut, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPISessionService, AXPIdleSchedulerEnqueueOptions, AXPIdleSchedulerWaitOptions, AXPKeyboardShortcutFormatOptions, AXPKeyboardShortcutRegisterOptions, AXPLazyDataSource, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPPopupFooterKeyboardShortcutsOptions, AXPPopupFooterKeyboardShortcutsSetupConfig, AXPPopupFooterShortcutAction, AXPStartUpTask, AXPTag, AXPTagFilterOptions, AXPValueTransformerFunction, AXPValueTransformerFunctions, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|
|
@@ -946,6 +946,7 @@ declare class AXPQueryFiltersComponent {
|
|
|
946
946
|
private readonly shortcutRegistry;
|
|
947
947
|
private readonly destroyRef;
|
|
948
948
|
private readonly elementRef;
|
|
949
|
+
private readonly dataSourceQueryService;
|
|
949
950
|
protected readonly filterFocusShortcutKeys: string[];
|
|
950
951
|
constructor();
|
|
951
952
|
filtersDefinitions: _angular_core.InputSignal<AXPFilterDefinition[]>;
|
|
@@ -968,6 +969,10 @@ declare class AXPQueryFiltersComponent {
|
|
|
968
969
|
private readonly filterContextPath$;
|
|
969
970
|
private filterContextPathSnapshotReady;
|
|
970
971
|
private previousFilterContextSnapshot;
|
|
972
|
+
/** Committed context entry for the filter being edited; restored when popover closes without Apply. */
|
|
973
|
+
private editingContextSnapshot;
|
|
974
|
+
/** Bumped on locale change so filter chip labels re-resolve i18n keys. */
|
|
975
|
+
private translationEpoch;
|
|
971
976
|
inlineFilters: () => AXPFilterDefinition[];
|
|
972
977
|
protected getDisplayValue: (filter: AXPFilterDefinition, val: any) => Promise<any>;
|
|
973
978
|
protected convertIfISOStringDate: (val: string) => string;
|
|
@@ -1008,6 +1013,13 @@ declare class AXPQueryFiltersComponent {
|
|
|
1008
1013
|
* Resolves filter chip labels; translates i18n keys stored in select `displayText` or datasource titles.
|
|
1009
1014
|
*/
|
|
1010
1015
|
private formatFilterDisplayValue;
|
|
1016
|
+
private translateLabel;
|
|
1017
|
+
private captureEditingContextSnapshot;
|
|
1018
|
+
private restoreEditingContextSnapshot;
|
|
1019
|
+
/**
|
|
1020
|
+
* Returns the committed filter context entry (snapshot while editing, live context otherwise).
|
|
1021
|
+
*/
|
|
1022
|
+
private getCommittedFilterEntry;
|
|
1011
1023
|
private createExpressionScope;
|
|
1012
1024
|
private isObservableLike;
|
|
1013
1025
|
private buildFilterTriggerScope;
|
|
@@ -769,7 +769,7 @@ interface AXPLookupWidgetOptions {
|
|
|
769
769
|
/** Column list: lazy resolve and summary behavior. */
|
|
770
770
|
columnResolve?: AXPLookupColumnResolveOptions;
|
|
771
771
|
/** Lookup selector popup: entity row actions to display. */
|
|
772
|
-
|
|
772
|
+
rowActions?: AXPLookupSelectorRowActionsConfig;
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
declare function entityMasterCreateAction(): AXPEntityAction;
|
|
@@ -958,6 +958,18 @@ declare function resolveLookupWidgetCreateOptions(options: {
|
|
|
958
958
|
allowCreate?: 'none' | 'full' | 'quick';
|
|
959
959
|
}): ResolvedLookupCreateOptions;
|
|
960
960
|
|
|
961
|
+
/** Prefix for related-entity sidebar list widget nodes (`page-list` layout). */
|
|
962
|
+
declare const PAGE_LIST_WIDGET_NAME_PREFIX = "page-list-";
|
|
963
|
+
/**
|
|
964
|
+
* Builds a unique entity-list widget name for a related-entity `page-list` sidebar page.
|
|
965
|
+
* Mirrors the `tab-list` pattern (`${entity}-tab-list`).
|
|
966
|
+
*/
|
|
967
|
+
declare function buildPageListWidgetName(relatedEntityKey: string): string;
|
|
968
|
+
/** Whether a widget node name belongs to a related-entity `page-list` sidebar page. */
|
|
969
|
+
declare function isPageListWidgetName(name: string | undefined | null): boolean;
|
|
970
|
+
/** Registered id of the embedded data-list inside a related-entity `page-list` widget. */
|
|
971
|
+
declare function buildPageListTableWidgetId(widgetName: string): string;
|
|
972
|
+
|
|
961
973
|
/** Row path used when context carries a nested entity layout title. */
|
|
962
974
|
declare const ENTITY_LAYOUT_SINGLE_TITLE_PATH = "entity.layout.single.title";
|
|
963
975
|
/** Widget option for a pre-evaluated or template entity row title (entity list column mappers). */
|
|
@@ -975,5 +987,5 @@ declare const AXPEntityEventsKeys: {
|
|
|
975
987
|
readonly REFRESH_DATA: "entity:refresh-data";
|
|
976
988
|
};
|
|
977
989
|
|
|
978
|
-
export { AXPEntityCommandScope, AXPEntityDataSourceKeys, AXPEntityEventsKeys, AXPEntityQueryType, AXPEntityType, AXPRelationshipCardinality, AXPRelationshipKind, AXP_RECORD_WORKFLOW_INFO_CORRELATION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_DEFINITION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_INSTANCE_ID_FIELD, ENTITY_LAYOUT_SINGLE_TITLE_PATH, ENTITY_ROW_POPUP_TITLE_OPTION, ENTITY_ROW_TITLE_TEMPLATE_OPTION, buildAXPRecordWorkflowInfo, buildEntitySearchTitleContext, collectEntityListFilterDefinitions, collectEntityListSortableFields, collectEntityQuickSearchFieldPaths, collectMergeDetailListPropertyNames, collectNestedCreateHiddenProperties, collectNestedFieldPathsFromEntityColumns, collectPropertyExposeTargetPaths, collectQuickSearchPathsFromSingleEntityDefinition, createAllQueryView, createQueryView, encodeEntityListFilterContextField, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, getEntityInfo, getRecordWorkflowCorrelationId, getRecordWorkflowInstanceId, isCardFieldBadgeDisplay, isEntityPropertySortEnabled, isMeaningfulEntityDisplayTitle, isRowBoundEntityDisplayTemplate, isUnresolvedEntityDisplayTemplate, mergeForeignKeyFieldIntoCreateActions, normalizeEntityDisplayTemplate, normalizeExpressionTemplate, parseDottedFieldPath, parsePropertyExposeEntries, parseRelatedEntityFullName, resolveCardFieldBadgeColor, resolveDefaultMasterListLayout, resolveEnabledMasterListLayouts, resolveEntityColumnDataPath, resolveEntityListFilterContextField, resolveEntityListFilterQueryField, resolveEntityModifyRecordTitleTemplate, resolveEntityPropertyInlineFilterField, resolveEntityRowTitleTemplate, resolveLookupWidgetCreateOptions, resolvePropertyExposeDisplayTarget, sanitizeResolvedEntityDisplayTitle };
|
|
990
|
+
export { AXPEntityCommandScope, AXPEntityDataSourceKeys, AXPEntityEventsKeys, AXPEntityQueryType, AXPEntityType, AXPRelationshipCardinality, AXPRelationshipKind, AXP_RECORD_WORKFLOW_INFO_CORRELATION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_DEFINITION_ID_FIELD, AXP_RECORD_WORKFLOW_INFO_INSTANCE_ID_FIELD, ENTITY_LAYOUT_SINGLE_TITLE_PATH, ENTITY_ROW_POPUP_TITLE_OPTION, ENTITY_ROW_TITLE_TEMPLATE_OPTION, PAGE_LIST_WIDGET_NAME_PREFIX, buildAXPRecordWorkflowInfo, buildEntitySearchTitleContext, buildPageListTableWidgetId, buildPageListWidgetName, collectEntityListFilterDefinitions, collectEntityListSortableFields, collectEntityQuickSearchFieldPaths, collectMergeDetailListPropertyNames, collectNestedCreateHiddenProperties, collectNestedFieldPathsFromEntityColumns, collectPropertyExposeTargetPaths, collectQuickSearchPathsFromSingleEntityDefinition, createAllQueryView, createQueryView, encodeEntityListFilterContextField, entityDetailsCreateActions, entityDetailsCreateActionsDeferredParent, entityDetailsCrudActions, entityDetailsEditAction, entityDetailsNewEditAction, entityDetailsReferenceCondition, entityDetailsReferenceCreateActions, entityDetailsSimpleCondition, entityMasterBulkDeleteAction, entityMasterCreateAction, entityMasterCrudActions, entityMasterDeleteAction, entityMasterEditAction, entityMasterRecordActions, entityMasterViewAction, entityOverrideDetailsViewAction, getEntityInfo, getRecordWorkflowCorrelationId, getRecordWorkflowInstanceId, isCardFieldBadgeDisplay, isEntityPropertySortEnabled, isMeaningfulEntityDisplayTitle, isPageListWidgetName, isRowBoundEntityDisplayTemplate, isUnresolvedEntityDisplayTemplate, mergeForeignKeyFieldIntoCreateActions, normalizeEntityDisplayTemplate, normalizeExpressionTemplate, parseDottedFieldPath, parsePropertyExposeEntries, parseRelatedEntityFullName, resolveCardFieldBadgeColor, resolveDefaultMasterListLayout, resolveEnabledMasterListLayouts, resolveEntityColumnDataPath, resolveEntityListFilterContextField, resolveEntityListFilterQueryField, resolveEntityModifyRecordTitleTemplate, resolveEntityPropertyInlineFilterField, resolveEntityRowTitleTemplate, resolveLookupWidgetCreateOptions, resolvePropertyExposeDisplayTarget, sanitizeResolvedEntityDisplayTitle };
|
|
979
991
|
export type { AXEntityPropertyWidget, AXPAggregate, AXPApplication, AXPAuditEvent, AXPBuildEntityListFilterDefinitionsDeps, AXPCardBadgeColor, AXPCardBadgeDisplay, AXPCardBadgeDisplayOptions, AXPCardField, AXPCardFieldDisplay, AXPCardFieldDisplayConfig, AXPCollectEntityQuickSearchPathsResolver, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPEntity, AXPEntityAction, AXPEntityAggregateMeasure, AXPEntityAggregateOptions, AXPEntityAggregateReducerType, AXPEntityAggregateRequest, AXPEntityAggregateResult, AXPEntityCategoryPlugin, AXPEntityCommand, AXPEntityCreateDto, AXPEntityDetailDto, AXPEntityDetailListView, AXPEntityDisplayField, AXPEntityFormats, AXPEntityListFilterDefinition, AXPEntityListItemDto, AXPEntityListSortableField, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityMasterListLayoutType, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityModel, AXPEntityOutputDto, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyExposeEntry, AXPEntityPropertyFilterOptions, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyLike, AXPEntityPropertyListOptions, AXPEntityPropertySortOptions, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityQuickCreate, AXPEntitySearchResultFormat, AXPEntitySearchTitleContext, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityUpdateDto, AXPEntityV2, AXPEntityVersionHistory, AXPLookupColumnResolveOptions, AXPLookupColumnResolveStrategy, AXPLookupDisplayOptions, AXPLookupPopoverOptions, AXPLookupSelectorRowActionsConfig, AXPLookupWidgetCreateOptions, AXPLookupWidgetLookType, AXPLookupWidgetOptions, AXPMockDto, AXPModule, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRecordAuditInfo, AXPRecordOwnershipInfo, AXPRecordStateInfo, AXPRecordWorkflowInfo, AXPRelatedEntity, AXPRelatedEntityLayout, AXPRelatedEntityPersistence, AXPRelationship, ResolvedLookupCreateOptions };
|
|
@@ -1515,6 +1515,7 @@ declare class AXPAttachmentsPluginModule {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
1517
|
declare class AXPEntityModule {
|
|
1518
|
+
constructor();
|
|
1518
1519
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPEntityModule, never>;
|
|
1519
1520
|
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPEntityModule, never, [typeof i1.RouterModule, typeof AXPAttachmentsPluginModule, typeof i3.AXPWorkflowModule, typeof i4.AXPWidgetCoreModule, typeof i5.LayoutBuilderModule], never>;
|
|
1520
1521
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPEntityModule>;
|
|
@@ -3577,7 +3578,7 @@ declare class AXPLookupWidgetEditComponent extends AXPValueWidgetComponent<any>
|
|
|
3577
3578
|
protected look: _angular_core.Signal<AXPLookupWidgetLookType>;
|
|
3578
3579
|
protected displayField: _angular_core.Signal<string>;
|
|
3579
3580
|
protected resolvedCreate: _angular_core.Signal<_acorex_platform_layout_entity_contracts.ResolvedLookupCreateOptions>;
|
|
3580
|
-
protected
|
|
3581
|
+
protected rowActions: _angular_core.Signal<AXPLookupSelectorRowActionsConfig | undefined>;
|
|
3581
3582
|
protected valueField: _angular_core.Signal<string>;
|
|
3582
3583
|
protected displayFormat: _angular_core.Signal<string | undefined>;
|
|
3583
3584
|
protected conditions?: AXPQueryFilter[];
|
|
@@ -627,12 +627,7 @@ declare const AXPLayoutDetailsViewViewModel: _angular_core.Type<{
|
|
|
627
627
|
getPageStatus: () => Promise<AXPPageStatus | null>;
|
|
628
628
|
primaryActions: () => Promise<any>;
|
|
629
629
|
secondaryActions: () => Promise<any>;
|
|
630
|
-
breadcrumbs: () => Promise<
|
|
631
|
-
title: AXPMultiLanguageString;
|
|
632
|
-
name?: string;
|
|
633
|
-
icon?: string;
|
|
634
|
-
command?: AXPExecuteCommand;
|
|
635
|
-
}[]>;
|
|
630
|
+
breadcrumbs: () => Promise<AXPBreadcrumbItem[]>;
|
|
636
631
|
applySavedState: (context: Record<string, unknown>) => void;
|
|
637
632
|
discard: () => Promise<void>;
|
|
638
633
|
save: (command: AXPExecuteCommand, form: AXFormComponent, liveContext?: Record<string, unknown>) => Promise<boolean>;
|
|
@@ -703,12 +698,7 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
703
698
|
getPageStatus: () => Promise<AXPPageStatus | null>;
|
|
704
699
|
primaryActions: () => Promise<any>;
|
|
705
700
|
secondaryActions: () => Promise<any>;
|
|
706
|
-
breadcrumbs: () => Promise<
|
|
707
|
-
title: AXPMultiLanguageString;
|
|
708
|
-
name?: string;
|
|
709
|
-
icon?: string;
|
|
710
|
-
command?: AXPExecuteCommand;
|
|
711
|
-
}[]>;
|
|
701
|
+
breadcrumbs: () => Promise<AXPBreadcrumbItem[]>;
|
|
712
702
|
applySavedState: (context: Record<string, unknown>) => void;
|
|
713
703
|
discard: () => Promise<void>;
|
|
714
704
|
save: (command: AXPExecuteCommand, form: AXFormComponent, liveContext?: Record<string, unknown>) => Promise<boolean>;
|
|
@@ -803,8 +793,11 @@ declare class AXPLayoutDetailsViewComponent extends AXPPageLayoutBaseComponent i
|
|
|
803
793
|
private handleEntityDeleted;
|
|
804
794
|
ngOnDestroy(): void;
|
|
805
795
|
private refreshFooterActions;
|
|
806
|
-
/** Whether the active page hosts a related-entity list (`page-list` widget). */
|
|
796
|
+
/** Whether the active page hosts a related-entity list (`page-list` layout widget). */
|
|
807
797
|
private pageHasEntityListWidget;
|
|
798
|
+
/** Data-list widget id for the active related-entity `page-list` page, if any. */
|
|
799
|
+
private activePageListTableWidgetId;
|
|
800
|
+
private findPageListWidgetNameInContent;
|
|
808
801
|
/** Subscribes to the live data-list selection stream for Selected-scope header actions. */
|
|
809
802
|
private attachSelectionToListWidget;
|
|
810
803
|
protected handleOnContextChanged(e: AXPContextChangeEvent): void;
|
|
@@ -6,6 +6,7 @@ import * as _ngrx_signals from '@ngrx/signals';
|
|
|
6
6
|
import * as _acorex_platform_contracts from '@acorex/platform/contracts';
|
|
7
7
|
import { AXPOptionsData, AXPValidationRules, AXPProperty, AXPContextChangeEvent, AXPMetaData, AXPDefinitionCategory } from '@acorex/platform/contracts';
|
|
8
8
|
import { AXValueChangedEvent, AXDataSource } from '@acorex/cdk/common';
|
|
9
|
+
import { AXPDataSourceQueryService, AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
9
10
|
import * as rxjs from 'rxjs';
|
|
10
11
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
11
12
|
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
@@ -13,7 +14,6 @@ import { AXDataTableColumnComponent } from '@acorex/components/data-table';
|
|
|
13
14
|
import * as i7 from '@acorex/core/translation';
|
|
14
15
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
15
16
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
|
16
|
-
import { AXPExpressionEvaluatorService } from '@acorex/platform/core';
|
|
17
17
|
import * as i4 from '@angular/common';
|
|
18
18
|
import * as i5 from '@angular/cdk/portal';
|
|
19
19
|
import * as i6 from '@acorex/components/skeleton';
|
|
@@ -224,18 +224,27 @@ declare abstract class AXPValueWidgetComponent<T = any | null, TOptions extends
|
|
|
224
224
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPValueWidgetComponent<any, any>>;
|
|
225
225
|
}
|
|
226
226
|
declare abstract class AXPDataListWidgetComponent extends AXPValueWidgetComponent<any> {
|
|
227
|
-
|
|
227
|
+
protected readonly registryDataSourceQuery: AXPDataSourceQueryService;
|
|
228
228
|
protected textField: _angular_core.Signal<string>;
|
|
229
229
|
protected valueField: _angular_core.Signal<string>;
|
|
230
230
|
protected textTemplate: _angular_core.Signal<string | undefined>;
|
|
231
231
|
protected dataSource: _angular_core.WritableSignal<AXDataSource<any>>;
|
|
232
|
+
/** Registry datasource name from options, when options.dataSource is a string or `{ id }` object. */
|
|
233
|
+
protected registryDataSourceName: _angular_core.Signal<string | null>;
|
|
232
234
|
selectedItems: _angular_core.WritableSignal<any[]>;
|
|
235
|
+
/** Reactive flag: registry datasource finished resolving (success or failure). */
|
|
236
|
+
protected registryDataSourceReady: _angular_core.WritableSignal<boolean>;
|
|
237
|
+
/** Reactive bump to reload registry-backed datasources (e.g. after locale change). */
|
|
238
|
+
protected readonly registryRefreshEpoch: _angular_core.WritableSignal<number>;
|
|
233
239
|
/**
|
|
234
240
|
* Track the last loaded string dataSource reference to prevent infinite loops
|
|
235
241
|
* Only used for string-based datasources (not arrays or AXDataSource instances)
|
|
236
242
|
*/
|
|
237
243
|
private lastStringDataSourceRef;
|
|
244
|
+
private buildRegistryQueryOptions;
|
|
238
245
|
private rf;
|
|
246
|
+
/** Invalidates cached registry datasource and forces a reload on the next effect run. */
|
|
247
|
+
protected refreshRegistryDataSource(): void;
|
|
239
248
|
protected extractItem(item: unknown): Promise<any>;
|
|
240
249
|
/**
|
|
241
250
|
* Value used to resolve `selectedItems`. Defaults to the stored value, but
|
|
@@ -244,8 +253,6 @@ declare abstract class AXPDataListWidgetComponent extends AXPValueWidgetComponen
|
|
|
244
253
|
*/
|
|
245
254
|
protected resolveSelectedItemsValue(): any;
|
|
246
255
|
private effect2;
|
|
247
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDataListWidgetComponent, never>;
|
|
248
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDataListWidgetComponent>;
|
|
249
256
|
}
|
|
250
257
|
declare abstract class AXPColumnWidgetComponent<T = any | null | void> {
|
|
251
258
|
private readonly token;
|
|
@@ -1625,6 +1625,12 @@ declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent
|
|
|
1625
1625
|
private selectBox;
|
|
1626
1626
|
protected widgetsConfigs: StrategyConfig;
|
|
1627
1627
|
private readonly filterOperatorMiddleware;
|
|
1628
|
+
private readonly translationService;
|
|
1629
|
+
private readonly localeService;
|
|
1630
|
+
private readonly destroyRef;
|
|
1631
|
+
/** Toggled to force ax-select-box to re-render after locale / language changes. */
|
|
1632
|
+
protected readonly selectBoxKey: _angular_core.WritableSignal<boolean>;
|
|
1633
|
+
private readonly selectBoxLocaleChanged;
|
|
1628
1634
|
/**
|
|
1629
1635
|
* Expose configuration similar to lookup widget. Can be:
|
|
1630
1636
|
* - string path(s): 'field.path'
|
|
@@ -1652,6 +1658,14 @@ declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent
|
|
|
1652
1658
|
* display value used by the template to avoid resolving items with an `undefined` key.
|
|
1653
1659
|
*/
|
|
1654
1660
|
protected resolveSelectedItemsValue(): any;
|
|
1661
|
+
/** Show skeleton while a registry-backed datasource is still resolving. */
|
|
1662
|
+
protected showSelectBoxSkeleton: _angular_core.Signal<boolean>;
|
|
1663
|
+
/**
|
|
1664
|
+
* Bind resolved row object(s) when available so ax-select-box can render textField labels.
|
|
1665
|
+
* Falls back to primitive key(s) while selectedItems are still loading.
|
|
1666
|
+
* Label translation is handled by ax-select-box (`getDisplayText(item) | translate`).
|
|
1667
|
+
*/
|
|
1668
|
+
protected selectBoxModel: _angular_core.Signal<any>;
|
|
1655
1669
|
protected searchValue: _angular_core.WritableSignal<string | undefined>;
|
|
1656
1670
|
private lastDataSource;
|
|
1657
1671
|
private hasSeenDataSource;
|
|
@@ -1668,9 +1682,15 @@ declare class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent
|
|
|
1668
1682
|
private syncExposePathsToSavedBaseline;
|
|
1669
1683
|
protected handleSearchValueChange(e: AXValueChangedEvent): void;
|
|
1670
1684
|
refresh(): void;
|
|
1685
|
+
/** Re-mount ax-select-box so translate pipe picks up the active locale. */
|
|
1686
|
+
private rerenderSelectBox;
|
|
1671
1687
|
clear(): void;
|
|
1672
1688
|
protected get item(): any;
|
|
1673
1689
|
private get __class();
|
|
1690
|
+
/**
|
|
1691
|
+
* ax-select-box may emit a non-user init event with a placeholder item whose title equals the raw id.
|
|
1692
|
+
*/
|
|
1693
|
+
private isStaleFallbackSelection;
|
|
1674
1694
|
/**
|
|
1675
1695
|
* Return a single value for single-select, or the full list for multi-select
|
|
1676
1696
|
*/
|