@acorex/platform 21.0.0-next.65 → 21.0.0-next.67
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 +94 -18
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +42 -1
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +29 -7
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +282 -108
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-BaTS183I.mjs +383 -0
- package/fesm2022/acorex-platform-layout-entity-attachments-page.component-BaTS183I.mjs.map +1 -0
- package/fesm2022/{acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs → acorex-platform-layout-entity-file-list-popup.component-_yrP5SQe.mjs} +15 -18
- package/fesm2022/acorex-platform-layout-entity-file-list-popup.component-_yrP5SQe.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +3339 -301
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +0 -1
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +1377 -4
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widgets.mjs +9214 -11991
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs → acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Cx1lLUaR.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-CWLfNqV0.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs → acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs} +3 -3
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-AOrcgjDF.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-C7cT82K2.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs → acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BfCeUU5F.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-Br9p5aXT.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +685 -287
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-BgXYCFia.mjs → acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs} +29 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BjuzSe0T.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +94 -24
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +176 -26
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-common.d.ts +73 -9
- package/types/acorex-platform-core.d.ts +63 -2
- package/types/acorex-platform-layout-builder.d.ts +7 -1
- package/types/acorex-platform-layout-components.d.ts +162 -36
- package/types/acorex-platform-layout-entity.d.ts +704 -14
- package/types/acorex-platform-layout-views.d.ts +28 -0
- package/types/acorex-platform-layout-widget-core.d.ts +156 -3
- package/types/acorex-platform-layout-widgets.d.ts +29 -393
- package/types/acorex-platform-themes-default.d.ts +137 -30
- package/types/acorex-platform-themes-shared.d.ts +23 -1
- package/types/acorex-platform-workflow.d.ts +89 -4
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-CDYAGBku.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-BgXYCFia.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/platform",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.67",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@acorex/cdk": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.2-next.0",
|
|
6
6
|
"@acorex/core": "^19.0.0 || ^20.0.0 || ^21.0.0-next.0 || ^21.0.2-next.0",
|
|
@@ -4,7 +4,7 @@ import { AXDataSourceOperator, AXStyleColorType, AXDataSourceFilterOption } from
|
|
|
4
4
|
import * as i2 from '@acorex/components/popup';
|
|
5
5
|
import { AXPopupSizeType, AXPopupService } from '@acorex/components/popup';
|
|
6
6
|
import * as i5 from '@acorex/platform/core';
|
|
7
|
-
import { AXPValueTransformerFunctions, AXPMultiLanguageString, AXPOptionsData, AXPExpression, AXPFilterDefinition, AXPMetaData, AXPSystemActionType, AXPValidationRules, AXPGridLayoutOptions, AXPLogoConfig, AXPFileListItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPNavigateActionCommand, AXPExecuteCommand, AXPApplicationUserReference, AXPEntityReference, AXPPlatformScopeKey, AXPWidgetTriggers, AXPPlatformScope
|
|
7
|
+
import { AXPValueTransformerFunctions, AXPMultiLanguageString, AXPOptionsData, AXPExpression, AXPFilterDefinition, AXPMetaData, AXPSystemActionType, AXPValidationRules, AXPGridLayoutOptions, AXPLogoConfig, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviderContext, AXPFileListItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPNavigateActionCommand, AXPExecuteCommand, AXPApplicationUserReference, AXPEntityReference, AXPPlatformScopeKey, AXPWidgetTriggers, AXPPlatformScope } from '@acorex/platform/core';
|
|
8
8
|
import { AXPWidgetTypesMap, AXPMetaDataDefinition, AXPWidgetNode, AXPWidgetProperty } from '@acorex/platform/layout/widget-core';
|
|
9
9
|
import * as i3 from '@acorex/core/date-time';
|
|
10
10
|
import { AXCalendarService } from '@acorex/core/date-time';
|
|
@@ -247,10 +247,10 @@ type AXPColumnAlign = AXPColumnContentAlign | {
|
|
|
247
247
|
header?: AXPColumnContentAlign;
|
|
248
248
|
cell?: AXPColumnContentAlign;
|
|
249
249
|
};
|
|
250
|
-
|
|
250
|
+
/** Shared field definition for list layouts (table columns, card fields, etc.). */
|
|
251
|
+
interface AXPEntityDisplayField {
|
|
251
252
|
name: string;
|
|
252
253
|
title?: string;
|
|
253
|
-
hidden?: boolean;
|
|
254
254
|
showAs?: {
|
|
255
255
|
type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
|
|
256
256
|
options?: Record<string, any>;
|
|
@@ -258,13 +258,50 @@ interface AXPEntityTableColumn {
|
|
|
258
258
|
options?: {
|
|
259
259
|
/** When string, evaluate against parent detail context (e.g. related list). */
|
|
260
260
|
visible?: boolean | string;
|
|
261
|
+
/** Optional dataPath override for field binding. */
|
|
262
|
+
dataPath?: string;
|
|
263
|
+
[name: string]: any;
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
/** Card layout field presentation in master list card view. */
|
|
267
|
+
type AXPCardFieldDisplay = 'simple' | 'badge';
|
|
268
|
+
/** Badge color: semantic token or per-row expression (`{{ context.eval(...) }}`). */
|
|
269
|
+
type AXPCardBadgeColor = AXStyleColorType | AXPExpression;
|
|
270
|
+
interface AXPCardBadgeDisplayOptions {
|
|
271
|
+
/** Semantic color or expression evaluated against row context. */
|
|
272
|
+
color?: AXPCardBadgeColor;
|
|
273
|
+
}
|
|
274
|
+
interface AXPCardBadgeDisplay {
|
|
275
|
+
type: 'badge';
|
|
276
|
+
options?: AXPCardBadgeDisplayOptions;
|
|
277
|
+
}
|
|
278
|
+
/** Shorthand (`badge` / `simple`) or structured badge config with optional per-row color. */
|
|
279
|
+
type AXPCardFieldDisplayConfig = AXPCardFieldDisplay | AXPCardBadgeDisplay;
|
|
280
|
+
/** Card layout field in master list view. */
|
|
281
|
+
type AXPCardField = AXPEntityDisplayField & {
|
|
282
|
+
layout?: AXPEntityPropertyLayoutConfig;
|
|
283
|
+
/**
|
|
284
|
+
* Field presentation. Default: `simple` (card body).
|
|
285
|
+
* Use `badge` or `{ type: 'badge', options: { color } }` for header chips beside title.
|
|
286
|
+
*/
|
|
287
|
+
display?: AXPCardFieldDisplayConfig;
|
|
288
|
+
/**
|
|
289
|
+
* Badge color when presentation is badge-shaped.
|
|
290
|
+
* Prefer `display: { type: 'badge', options: { color } }` for new definitions.
|
|
291
|
+
* Omit for status fields — color is resolved from the status definition per row.
|
|
292
|
+
*/
|
|
293
|
+
badgeColor?: AXPCardBadgeColor;
|
|
294
|
+
};
|
|
295
|
+
/** Whether the card field is shown as a header badge (not in the card body). */
|
|
296
|
+
declare function isCardFieldBadgeDisplay(display: AXPCardFieldDisplayConfig | undefined): display is 'badge' | AXPCardBadgeDisplay;
|
|
297
|
+
/** Resolves static badge color config from {@link AXPCardField.display} and legacy {@link AXPCardField.badgeColor}. */
|
|
298
|
+
declare function resolveCardFieldBadgeColor(field: Pick<AXPCardField, 'display' | 'badgeColor'>): AXPCardBadgeColor | undefined;
|
|
299
|
+
interface AXPEntityTableColumn extends AXPEntityDisplayField {
|
|
300
|
+
options?: AXPEntityDisplayField['options'] & {
|
|
261
301
|
/** Initial column width (overrides widget column width when set). */
|
|
262
302
|
width?: string;
|
|
263
|
-
/** Optional dataPath override for column binding. */
|
|
264
|
-
dataPath?: string;
|
|
265
303
|
/** Header/cell alignment (shorthand or per-side). */
|
|
266
304
|
align?: AXPColumnAlign;
|
|
267
|
-
[name: string]: any;
|
|
268
305
|
};
|
|
269
306
|
}
|
|
270
307
|
interface AXPEntityCommand {
|
|
@@ -569,11 +606,33 @@ interface AXPEntityMasterListView {
|
|
|
569
606
|
views: AXPQueryView[];
|
|
570
607
|
layouts?: {
|
|
571
608
|
table?: {
|
|
609
|
+
enabled?: boolean;
|
|
572
610
|
columns: AXPEntityTableColumn[];
|
|
573
611
|
};
|
|
574
|
-
card?: {
|
|
612
|
+
card?: {
|
|
613
|
+
enabled?: boolean;
|
|
614
|
+
header: {
|
|
615
|
+
/** Property path, expression (`{{ ... }}`), or literal — evaluated per row. */
|
|
616
|
+
title?: string;
|
|
617
|
+
description?: string;
|
|
618
|
+
icon?: string;
|
|
619
|
+
};
|
|
620
|
+
fields: AXPCardField[];
|
|
621
|
+
};
|
|
575
622
|
};
|
|
576
623
|
}
|
|
624
|
+
type AXPEntityMasterListLayoutType = 'table' | 'card';
|
|
625
|
+
/** Master list presentation: table or card with compact (collapsed) / expanded bodies. */
|
|
626
|
+
type AXPEntityMasterListDisplayMode = 'table' | 'card-compact' | 'card-expanded';
|
|
627
|
+
interface AXPEntityMasterListLayoutOption {
|
|
628
|
+
id: AXPEntityMasterListLayoutType;
|
|
629
|
+
title: string;
|
|
630
|
+
icon?: string;
|
|
631
|
+
}
|
|
632
|
+
/** Resolves master list layouts that are currently enabled. */
|
|
633
|
+
declare function resolveEnabledMasterListLayouts(layouts?: AXPEntityMasterListView['layouts']): AXPEntityMasterListLayoutType[];
|
|
634
|
+
/** First enabled layout; used as the default when no user preference is stored. */
|
|
635
|
+
declare function resolveDefaultMasterListLayout(layouts?: AXPEntityMasterListView['layouts']): AXPEntityMasterListLayoutType;
|
|
577
636
|
interface AXPEntityDetailListView {
|
|
578
637
|
title?: string;
|
|
579
638
|
description?: string;
|
|
@@ -1141,6 +1200,11 @@ declare abstract class AXPFileStorageService {
|
|
|
1141
1200
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXPFileStorageService>;
|
|
1142
1201
|
}
|
|
1143
1202
|
|
|
1203
|
+
declare class AXPFileStorageEvaluatorScopeProvider implements AXPExpressionEvaluatorScopeProvider {
|
|
1204
|
+
fileStorageService: AXPFileStorageService;
|
|
1205
|
+
provide(context: AXPExpressionEvaluatorScopeProviderContext): Promise<void>;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1144
1208
|
/**
|
|
1145
1209
|
* Capabilities API provided to file action providers.
|
|
1146
1210
|
* These methods allow actions to interact with the file uploader widget.
|
|
@@ -3125,5 +3189,5 @@ declare class AXMWorkflowErrorHandler implements AXPErrorHandler {
|
|
|
3125
3189
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMWorkflowErrorHandler>;
|
|
3126
3190
|
}
|
|
3127
3191
|
|
|
3128
|
-
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDefaultMultiLanguageConfigService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPEntityType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuItemsDataSourceDefinition, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPOutputContractTranscriptSegmentService, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalSetting, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsEvaluatorScopeProvider, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPStickyDirective, AXPSystemStatusType, AXPSystemStatuses, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_AGENT_OUTPUT_CONTRACT_DEFAULT_STRUCTURED_RETRIES, AXP_APP_VERSION_PROVIDER, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_LOCALE_MANAGEMENT_PORT, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TOKEN_DEFINITION_PROVIDER, 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, MENU_ITEMS_DATASOURCE_NAME, MULTILANGUAGE_CAPABLE_WIDGET_TYPES, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, applyDateFilterPreset, coerceAXPSettingRawValue, coerceAXPSettingRawValueByKind, configPlatform, createAllQueryView, createEntityCommandOptions, createEntitySearchCommand, createMenuContext, createMenuMiddleware, createQueryView, findManualPresetIdByOperation, getEntityInfo, getStatusInfo, getSystemStatus, inferSettingCoercionKind, peelSettingValueKey, provideDynamicHomePage, provideMenuMiddleware, resolveDateFilterPresets, resolveStatusLook, shouldApplyDefaultMultiLanguageToEntityProperty, shouldApplyDefaultMultiLanguageToWidgetNode, shouldApplyDefaultMultiLanguageToWidgetProperty, systemStatusToDefinition, withDefaultMultiLanguageOnWidgetNodeTree, withDefaultMultiLanguageOnWidgetProperty };
|
|
3129
|
-
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXEntityPropertyWidget, AXPAgentOutputContract, AXPAgentOutputKind, AXPAgentResponseFormat, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCategoryEntity, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDateTimeFilterPreset, AXPDateTimeFilterPresetKind, AXPDateTimeFilterValue, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQuickCreate, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityV2, AXPEntityVersionHistory, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGroupSearchResult, AXPHomePageDefinition, AXPJsonSchemaLike, AXPLanguage, AXPLocaleManagementPort, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPOutputContractTranscriptSegmentDefinition, AXPOutputContractTranscriptSegmentProvider, AXPOutputContractTranscriptSegmentProviderToken, AXPOutputTranscriptSegmentId, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingCoercionKind, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingLayoutOptions, AXPSettingMergedDefaults, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|
|
3192
|
+
export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPAppVersionService, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCommonSettings, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDebugService, AXPDefaultMultiLanguageConfigService, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPEntityType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileActionsService, AXPFileStorageEvaluatorScopeProvider, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPHomePageModule, AXPHomePageService, AXPLockService, AXPMenuItemsDataSourceDefinition, AXPMenuMiddlewareRegistry, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPMenuVisibilityService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPOutputContractTranscriptSegmentService, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalSetting, AXPRelationshipCardinality, AXPRelationshipKind, AXPReloadAction, AXPReloadEvent, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValuesAggregatorService, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingsEvaluatorScopeProvider, AXPSettingsService, AXPStatusDefinitionProviderService, AXPStatusProvider, AXPStickyDirective, AXPSystemStatusType, AXPSystemStatuses, AXPToastAction, AXPTokenDefinitionService, AXPTokenEvaluatorScopeProvider, AXPVersioningService, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_AGENT_OUTPUT_CONTRACT_DEFAULT_STRUCTURED_RETRIES, AXP_APP_VERSION_PROVIDER, AXP_FILE_ACTION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_LOCALE_MANAGEMENT_PORT, AXP_MENU_MIDDLEWARE, AXP_MENU_PROVIDER, AXP_OUTPUT_CONTRACT_TRANSCRIPT_SEGMENT_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFAULT_VALUES_PROVIDERS, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_STATUS_PROVIDERS, AXP_TOKEN_DEFINITION_PROVIDER, 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, MENU_ITEMS_DATASOURCE_NAME, MULTILANGUAGE_CAPABLE_WIDGET_TYPES, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, UploadFromComputerActionProvider, applyDateFilterPreset, coerceAXPSettingRawValue, coerceAXPSettingRawValueByKind, configPlatform, createAllQueryView, createEntityCommandOptions, createEntitySearchCommand, createMenuContext, createMenuMiddleware, createQueryView, findManualPresetIdByOperation, getEntityInfo, getStatusInfo, getSystemStatus, inferSettingCoercionKind, isCardFieldBadgeDisplay, peelSettingValueKey, provideDynamicHomePage, provideMenuMiddleware, resolveCardFieldBadgeColor, resolveDateFilterPresets, resolveDefaultMasterListLayout, resolveEnabledMasterListLayouts, resolveStatusLook, shouldApplyDefaultMultiLanguageToEntityProperty, shouldApplyDefaultMultiLanguageToWidgetNode, shouldApplyDefaultMultiLanguageToWidgetProperty, systemStatusToDefinition, withDefaultMultiLanguageOnWidgetNodeTree, withDefaultMultiLanguageOnWidgetProperty };
|
|
3193
|
+
export type { AXCFileUploaderAction, AXCFileUploaderActionsPayload, AXCFileUploaderCapabilities, AXEntityPropertyWidget, AXPAgentOutputContract, AXPAgentOutputKind, AXPAgentResponseFormat, AXPAggregate, AXPAppVersion, AXPAppVersionProvider, AXPApplication, AXPCardBadgeColor, AXPCardBadgeDisplay, AXPCardBadgeDisplayOptions, AXPCardField, AXPCardFieldDisplay, AXPCardFieldDisplayConfig, AXPCategoryEntity, AXPColumnAlign, AXPColumnContentAlign, AXPCommandActionCallback, AXPCommandActionDisplay, AXPCommandActionLook, AXPCommandActionPriority, AXPCommandActionType, AXPCommonModuleConfigs, AXPCurrency, AXPDateTimeFilterPreset, AXPDateTimeFilterPresetKind, AXPDateTimeFilterValue, AXPDomToImageOptions, AXPEntity, AXPEntityAction, AXPEntityCommand, AXPEntityDetailListView, AXPEntityDisplayField, AXPEntityMasterCreateLayoutView, AXPEntityMasterLayoutView, AXPEntityMasterListDisplayMode, AXPEntityMasterListLayoutOption, AXPEntityMasterListLayoutType, AXPEntityMasterListView, AXPEntityMasterSingleLayoutView, AXPEntityMasterUpdateLayoutView, AXPEntityPage, AXPEntityProperty, AXPEntityPropertyCreateView, AXPEntityPropertyGroup, AXPEntityPropertyLayoutConfig, AXPEntityPropertyUpdateView, AXPEntityPropertyView, AXPEntityQuery, AXPEntityQuickCreate, AXPEntitySectionView, AXPEntityTableColumn, AXPEntityV2, AXPEntityVersionHistory, AXPErrorHandler, AXPFileActionProvider, AXPFileActionProviderToken, AXPFileExtension, AXPFileManyStorageInfo, AXPFileStorageCreateRequest, AXPFileStorageFindRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileType, AXPFileTypeInfoProvider, AXPFilterOperator, AXPGeoLocation, AXPGroupSearchResult, AXPHomePageDefinition, AXPJsonSchemaLike, AXPLanguage, AXPLocaleManagementPort, AXPLocaleProfile, AXPLockGetInfoRequest, AXPLockInfo, AXPLockRequest, AXPLockType, AXPMenuFinderResult, AXPMenuInsertion, AXPMenuItem, AXPMenuItemCommand, AXPMenuItemFinder, AXPMenuItemWithParent, AXPMenuMiddleware, AXPMenuMiddlewareContext, AXPMenuMiddlewareProvider, AXPMenuProvider, AXPMenuProviderContext, AXPMenuType, AXPModule, AXPOutputContractTranscriptSegmentDefinition, AXPOutputContractTranscriptSegmentProvider, AXPOutputContractTranscriptSegmentProviderToken, AXPOutputTranscriptSegmentId, AXPPlatformConfigs, AXPQueryFilter, AXPQuerySort, AXPQueryView, AXPRelatedEntity, AXPRelationship, AXPRootConfigs, AXPSearchAction, AXPSearchDefinition, AXPSearchDefinitionDisplayFormat, AXPSearchDefinitionProvider, AXPSearchDisplayGroupResult, AXPSearchDisplayResult, AXPSearchDisplayResultForSave, AXPSearchParentResult, AXPSearchProvider, AXPSearchResult, AXPSettingChangedEvent, AXPSettingCoercionKind, AXPSettingDefaultValuesProvider, AXPSettingDefinition, AXPSettingDefinitionGroup, AXPSettingDefinitionProvider, AXPSettingDefinitionSection, AXPSettingLayoutOptions, AXPSettingMergedDefaults, AXPSettingValue, AXPSettingValueProvider, AXPSettingsServiceInterface, AXPStatusDefinition, AXPStatusTransition, AXPTimeZone, AXPTokenDefinition, AXPTokenDefinitionProvider, AXPTokenDefinitionProviderToken, AXPUnLockRequest, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, VersionedFileInfo };
|
|
@@ -1977,6 +1977,67 @@ declare class AXPComponentSlotModule {
|
|
|
1977
1977
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXPComponentSlotModule>;
|
|
1978
1978
|
}
|
|
1979
1979
|
|
|
1980
|
+
/**
|
|
1981
|
+
* Compact hints for assembling platform context into LLM system prompts.
|
|
1982
|
+
* Mirrors fields used by {@link AXPAiPlatformRuntimeContext} and the mock engine runtime prompt
|
|
1983
|
+
* formatter — keep labels short and values bounded.
|
|
1984
|
+
*/
|
|
1985
|
+
interface AXPContextDefinitionAiHints {
|
|
1986
|
+
/**
|
|
1987
|
+
* Short English label for bullet lists (e.g. `UI locale`, `Current instant (UTC, ISO 8601)`).
|
|
1988
|
+
*/
|
|
1989
|
+
promptLabel?: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* One-line guidance for the model (when to use this value, what not to ask the user).
|
|
1992
|
+
*/
|
|
1993
|
+
usageHint?: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* When `false`, this definition is omitted from AI system-prompt assembly. Default `true`.
|
|
1996
|
+
*/
|
|
1997
|
+
includeInSystemPrompt?: boolean;
|
|
1998
|
+
/**
|
|
1999
|
+
* How to stringify the value compactly in prompts.
|
|
2000
|
+
*/
|
|
2001
|
+
valueKind?: 'string' | 'number' | 'boolean' | 'instant' | 'locale' | 'dateTime' | 'object';
|
|
2002
|
+
/**
|
|
2003
|
+
* When `true`, the value must not be sent to the model (PII, secrets, tokens).
|
|
2004
|
+
*/
|
|
2005
|
+
sensitive?: boolean;
|
|
2006
|
+
/**
|
|
2007
|
+
* Sort order when rendering the AI context block (lower first).
|
|
2008
|
+
*/
|
|
2009
|
+
order?: number;
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* Describes a named platform context key (e.g. `currentDate`, `language`).
|
|
2013
|
+
*/
|
|
2014
|
+
interface AXPContextDefinition {
|
|
2015
|
+
/** Stable identifier used as the context key and in expressions. */
|
|
2016
|
+
name: string;
|
|
2017
|
+
/** Human-readable title for designers and tooling. */
|
|
2018
|
+
title: string;
|
|
2019
|
+
/** What this context represents and when consumers should use it. */
|
|
2020
|
+
description: string;
|
|
2021
|
+
/** Optional metadata for AI system-prompt assembly. */
|
|
2022
|
+
ai?: AXPContextDefinitionAiHints;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
interface AXPContextDefinitionProvider {
|
|
2026
|
+
items(): Promise<AXPContextDefinition[]>;
|
|
2027
|
+
}
|
|
2028
|
+
declare const AXP_CONTEXT_DEFINITION_PROVIDER: InjectionToken<AXPContextDefinitionProvider[]>;
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* Collects {@link AXPContextDefinition} entries from all registered {@link AXPContextDefinitionProvider} instances.
|
|
2032
|
+
*/
|
|
2033
|
+
declare class AXPContextDefinitionProviderService implements AXPContextDefinitionProvider {
|
|
2034
|
+
private readonly providers;
|
|
2035
|
+
items(): Promise<AXPContextDefinition[]>;
|
|
2036
|
+
get(name: string): Promise<AXPContextDefinition | undefined>;
|
|
2037
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPContextDefinitionProviderService, never>;
|
|
2038
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXPContextDefinitionProviderService>;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
1980
2041
|
declare class AXPDataGenerator {
|
|
1981
2042
|
static uuid(): string;
|
|
1982
2043
|
static number(max: number): number;
|
|
@@ -2902,5 +2963,5 @@ declare function containsHtmlMarkup(value: string | null | undefined): boolean;
|
|
|
2902
2963
|
*/
|
|
2903
2964
|
declare function generateKebabCase(title: string): string;
|
|
2904
2965
|
|
|
2905
|
-
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPImageUrlLogoConfig, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPModuleManifestsDataSourceDefinition, AXPPlatformScope, AXPScreenSize, AXPSystemActionType, AXPSystemActions, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_PROVIDER, AXP_COLOR_PALETTE_PROVIDER, AXP_COLUMN_WIDTH_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, MODULE_MANIFESTS_DATASOURCE_NAME, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, coerceUnknownToBoolean, coerceUnknownToDate, coerceUnknownToFiniteNumber, coerceUnknownToTrimmedString, compareMultiLanguageStrings, containsHtmlMarkup, createProviderWithInjectionContext, defaultColumnWidthProvider, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, generateKebabCase, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, normalizeDefinitionCategories, objectKeyValueTransforms, provideLazyProvider, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, searchInMultiLanguageString, setSmart, sortByMultiLanguageString, unwrapValueProperty };
|
|
2906
|
-
export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPCategoryListItem, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnQuery, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPCommandMessage, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextState, AXPDataSource, AXPDataSourceArray, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataSourceSample, AXPDataSourceType, AXPDataSourceValue, AXPDataType, AXPDefinitionCategory, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityOp, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterClause, AXPFilterDefinition, AXPFilterQuery, AXPFilterTriggerDefinition, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPISessionService, AXPLazyDataSource, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMaybePromise, AXPMetaData, AXPMiddlewareErrorResponse, AXPMinLengthValidationRule, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPMultiLanguageString, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPageStatus, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPProperty, AXPPropertyGroup, AXPPropertyInterface, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPTag, AXPTagFilterOptions, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|
|
2966
|
+
export { AXHighlightService, AXPActivityLogProvider, AXPActivityLogService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPColorPaletteProvider, AXPColorPaletteService, AXPColumnWidthService, AXPComponentLogoConfig, AXPComponentSlot, AXPComponentSlotDirective, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPContentCheckerDirective, AXPContextChangeEvent, AXPContextDefinitionProviderService, AXPContextStore, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPDefaultColorPalettesProvider, AXPDeviceService, AXPDeviceType, AXPDistributedEventListenerService, AXPElementDataDirective, AXPExportTemplateToken, AXPExpressionEvaluatorScopeProviderContext, AXPExpressionEvaluatorScopeProviderService, AXPExpressionEvaluatorService, AXPFeatureDefinitionProviderContext, AXPGridLayoutDirective, AXPHookService, AXPIconLogoConfig, AXPImageUrlLogoConfig, AXPModuleManifestModule, AXPModuleManifestRegistry, AXPModuleManifestsDataSourceDefinition, AXPPlatformScope, AXPScreenSize, AXPSystemActionType, AXPSystemActions, AXPTagProvider, AXPTagService, AXP_ACTIVITY_LOG_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, MODULE_MANIFESTS_DATASOURCE_NAME, applyFilterArray, applyPagination, applyQueryArray, applySortArray, applySystemActionDefault, cleanDeep, coerceUnknownToBoolean, coerceUnknownToDate, coerceUnknownToFiniteNumber, coerceUnknownToTrimmedString, compareMultiLanguageStrings, containsHtmlMarkup, createProviderWithInjectionContext, defaultColumnWidthProvider, extractNestedFieldsWildcard, extractTextFromHtml, extractValue, generateKebabCase, getActionButton, getChangedPaths, getDetailedChanges, getEnumValues, getNestedKeys, getSmart, getSystemActions, normalizeDefinitionCategories, objectKeyValueTransforms, provideLazyProvider, resolveActionLook, resolvePlatformScopeKey, resolvePlatformScopeName, searchInMultiLanguageString, setSmart, sortByMultiLanguageString, unwrapValueProperty };
|
|
2967
|
+
export type { AXPActionMenuItem, AXPActivityLog, AXPActivityLogChange, AXPApplicationUserReference, AXPBackButton, AXPBadge, AXPBreadcrumbItem, AXPCategorizedEntity, AXPCategorizedEntityDto, AXPCategoryEntity, AXPCategoryEntityWithItems, AXPCategoryListItem, AXPColorPalette, AXPColorPaletteFilterOptions, AXPColumnQuery, AXPColumnWidthMatcher, AXPColumnWidthProvider, AXPCommandMessage, AXPComponentSlotConfig, AXPComponentSlotModuleConfigs, AXPContent, AXPContentDirection, AXPContentType, AXPContextData, AXPContextDefinition, AXPContextDefinitionAiHints, AXPContextDefinitionProvider, AXPContextState, AXPDataSource, AXPDataSourceArray, AXPDataSourceDataFieldDefinition, AXPDataSourceDefinition, AXPDataSourceDefinitionProvider, AXPDataSourceSample, AXPDataSourceType, AXPDataSourceValue, AXPDataType, AXPDefinitionCategory, AXPDistributedEventListenerProvider, AXPDistributedEventListenerProviderToken, AXPEntityOp, AXPEntityReference, AXPEqualValidationRule, AXPExecuteCommand, AXPExecuteCommandResult, AXPExportCsvOptions, AXPExportExcelOptions, AXPExportOptions, AXPExportPdfOptions, AXPExportPrintOptions, AXPExpression, AXPExpressionEvaluatorScope, AXPExpressionEvaluatorScopeProvider, AXPExpressionEvaluatorScopeProviders, AXPFeatureDefinition, AXPFeatureDefinitionProvider, AXPFeatureName, AXPFileListItem, AXPFileSource, AXPFileStatus, AXPFilterClause, AXPFilterDefinition, AXPFilterQuery, AXPFilterTriggerDefinition, AXPFlowDirection, AXPGridLayoutOptions, AXPGridPlacement, AXPISessionService, AXPLazyDataSource, AXPLogoConfig, AXPMaxLengthValidationRule, AXPMaybePromise, AXPMetaData, AXPMiddlewareErrorResponse, AXPMinLengthValidationRule, AXPModuleFeatureDefinition, AXPModuleFeatureDefinitionWithKey, AXPModuleManifest, AXPMultiLanguageString, AXPNavigateActionCommand, AXPNavigateActionOptions, AXPOptionsData, AXPPageStatus, AXPPagedListResult, AXPPartialNested, AXPPlatformScopeKey, AXPProperty, AXPPropertyGroup, AXPPropertyInterface, AXPQueryFetchResult, AXPQueryRequest, AXPReqexValidationRule, AXPRequiredValidationRule, AXPSortDefinition, AXPSortQuery, AXPStartUpTask, AXPStringValidationRules, AXPSystemAction, AXPTag, AXPTagFilterOptions, AXPUserReference, AXPValidationRule, AXPValidationRules, AXPValueTransformerFunction, AXPValueTransformerFunctions, AXPValueUnit, AXPValueUnits, AXPViewBlockDefinition, AXPViewDefinition, AXPViewFieldDefinition, AXPViewQuery, AXPWidgetTrigger, AXPWidgetTriggers, ColumnNameMatcher, ColumnWidthValue, IColumnWithWidth, WidgetTypeMatcher };
|
|
@@ -90,6 +90,8 @@ interface AXPDialogRef {
|
|
|
90
90
|
close?: (result?: any) => void;
|
|
91
91
|
}): Promise<void>;
|
|
92
92
|
}
|
|
93
|
+
/** Fallback {@link AXPDialogRef} when the popup is dismissed without a footer action (e.g. header close). */
|
|
94
|
+
declare function createDismissedDialogRef(context?: () => unknown): AXPDialogRef;
|
|
93
95
|
interface LayoutWidgetOptions {
|
|
94
96
|
name?: string;
|
|
95
97
|
}
|
|
@@ -910,6 +912,8 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
910
912
|
private readonly commandService;
|
|
911
913
|
private readonly hookService;
|
|
912
914
|
private dialogResult?;
|
|
915
|
+
/** Ensures `show()` resolves once when the dialog closes (footer action or header close). */
|
|
916
|
+
private callbackInvoked;
|
|
913
917
|
context: _angular_core.WritableSignal<any>;
|
|
914
918
|
callBack: (result: unknown) => void;
|
|
915
919
|
data: any;
|
|
@@ -935,6 +939,8 @@ declare class AXPDialogRendererComponent extends AXBasePageComponent implements
|
|
|
935
939
|
private shouldValidateBeforeAction;
|
|
936
940
|
/** True when a footer handler or command result asks to leave the dialog open (`keepDialogOpen` on the result or `result.data`). */
|
|
937
941
|
private shouldKeepDialogOpenAfterCommandResult;
|
|
942
|
+
/** Resolves the dialog `show()` promise exactly once. */
|
|
943
|
+
private resolveDialog;
|
|
938
944
|
private createDialogRef;
|
|
939
945
|
private closeWithOptionalSkipValidate;
|
|
940
946
|
/** Resolves footer/widget action command to a string (e.g. `cancel`, `submit`, `widget:...`). */
|
|
@@ -995,5 +1001,5 @@ declare class AXPPreviewWidgetFieldCommand implements AXPCommand<AXPPreviewWidge
|
|
|
995
1001
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPPreviewWidgetFieldCommand>;
|
|
996
1002
|
}
|
|
997
1003
|
|
|
998
|
-
export { AXPDialogRendererComponent, AXPLayoutBuilderService, AXPLayoutConversionService, AXPLayoutRendererComponent, AXPPreviewWidgetFieldCommand, AXP_LAYOUT_BUILDER_DIALOG_BEFORE_OPEN_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONFIG_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONTEXT_CHANGED_HOOK_KEY, AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY, LayoutBuilderModule };
|
|
1004
|
+
export { AXPDialogRendererComponent, AXPLayoutBuilderService, AXPLayoutConversionService, AXPLayoutRendererComponent, AXPPreviewWidgetFieldCommand, AXP_LAYOUT_BUILDER_DIALOG_BEFORE_OPEN_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONFIG_HOOK_KEY, AXP_LAYOUT_BUILDER_DIALOG_CONTEXT_CHANGED_HOOK_KEY, AXP_PREVIEW_WIDGET_FIELD_COMMAND_KEY, LayoutBuilderModule, createDismissedDialogRef };
|
|
999
1005
|
export type { AXPDialogContainerOptions, AXPDialogRef, AXPDynamicFormDefinition, AXPDynamicFormDirection, AXPDynamicFormFieldDefinition, AXPDynamicFormGroupDefinition, AXPDynamicFormLook, AXPDynamicFormMode, AXPFieldsetContainerOptions, AXPFlexContainerOptions, AXPFormFieldHintDisplayMode, AXPFormFieldOptions, AXPGridContainerOptions, AXPLayoutBuilderDialogBeforeOpenPayload, AXPLayoutBuilderDialogConfig, AXPLayoutBuilderDialogContextChangedPayload, AXPListWidgetColumn, AXPListWidgetOptions, AXPListWidgetRowCommand, AXPPageContainerOptions, AXPPanelContainerOptions, AXPPreviewWidgetFieldCommandInput, AXPStepDefinition, AXPStepWizardContainerOptions, AXPStepWizardDefinition, AXPStepWizardGuardPayload, AXPStepWizardStatus, AXPTabsetContainerOptions, AXPWidgetConfiguration, AXPWidgetNodeExtendedProperties, AXPWizardActionDefinition, AXPWizardActions, ColorBoxOptions, DateTimeBoxOptions, DialogBuilderState, DialogRendererConfig, DialogRendererResult, FormFieldBuilderState, IActionBuilder, IBaseContainerBuilder, IChildContainerBuilder, IDialogBuilder, IFieldsetContainerBuilder, IFlexContainerBuilder, IFormFieldBuilder, IGridContainerBuilder, ILayoutBuilder, ILayoutContainerBuilder, IListWidgetBuilder, IPageContainerBuilder, IPanelContainerBuilder, IStepBuilder, IStepWizardBuilder, ITabsetContainerBuilder, IWidgetBuilder, IWidgetContainerBuilder, InheritanceContext, InheritedProperties, LargeTextBoxOptions, LayoutBuilderState, LayoutWidgetOptions, LookupBoxOptions, NumberBoxOptions, PasswordBoxOptions, RichTextOptions, SelectBoxOptions, SelectionListOptions, TextBoxOptions, ToggleSwitchOptions, ValueWidgetOptions, WidgetBuilderState };
|
|
@@ -2,13 +2,15 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { Signal, InjectionToken, InputSignal, TemplateRef, ElementRef, OnDestroy, OnInit, QueryList, OnChanges, Type, EventEmitter, WritableSignal } from '@angular/core';
|
|
3
3
|
import { AXPActivityLog, AXPSystemActionType, AXPCategoryEntity, AXPColumnQuery, AXPContextData, AXPFilterClause, AXPFilterDefinition, AXPFilterQuery, AXPContextChangeEvent, AXPMultiLanguageString, AXPActionMenuItem, AXPExecuteCommand, AXPExecuteCommandResult, containsHtmlMarkup, AXPSortDefinition, AXPSortQuery, AXPMetaData, AXPViewQuery } from '@acorex/platform/core';
|
|
4
4
|
import { AXHtmlEvent, AXValueChangedEvent, AXClickEvent, AXDataSource, AXDataSourceFilterOption, AXDataSourceOperator, AXFilterLogic, AXEvent, AXRange } from '@acorex/cdk/common';
|
|
5
|
+
import * as _ngrx_signals from '@ngrx/signals';
|
|
6
|
+
import * as _acorex_platform_themes_shared from '@acorex/platform/themes/shared';
|
|
5
7
|
import { AXPMenuItem } from '@acorex/platform/common';
|
|
6
8
|
import { AXTreeViewLegacyComponent, AXTreeItemClickBaseEventLegacy } from '@acorex/components/tree-view-legacy';
|
|
7
9
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
8
10
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
9
11
|
import * as _acorex_platform_layout_widget_core from '@acorex/platform/layout/widget-core';
|
|
10
12
|
import { AXPWidgetNode, AXPWidgetRendererDirective, AXPWidgetProperty, AXPWidgetConfig } from '@acorex/platform/layout/widget-core';
|
|
11
|
-
import { AXDataTableComponent, AXDataTableRowDbClick, AXDataTableRowClick } from '@acorex/components/data-table';
|
|
13
|
+
import { AXDataTableComponent, AXRowCommandItem, AXDataTableRowDbClick, AXDataTableRowClick, AXRowCommandItemClickEvent } from '@acorex/components/data-table';
|
|
12
14
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
13
15
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
14
16
|
import { AXTagBoxComponent } from '@acorex/components/tag-box';
|
|
@@ -140,9 +142,65 @@ declare class AXPTaskBadgeDirective {
|
|
|
140
142
|
private badgeService;
|
|
141
143
|
private host;
|
|
142
144
|
private hostElement;
|
|
145
|
+
protected themeStore: {
|
|
146
|
+
currentMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
147
|
+
currentPalette: _angular_core.Signal<string>;
|
|
148
|
+
systemThemeMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPThemeMode>;
|
|
149
|
+
font: _ngrx_signals.DeepSignal<{
|
|
150
|
+
family: string;
|
|
151
|
+
size: string;
|
|
152
|
+
}>;
|
|
153
|
+
overlayLoading: _angular_core.Signal<boolean>;
|
|
154
|
+
navigationLoading: _angular_core.Signal<boolean>;
|
|
155
|
+
overlayLoadingTaskCount: _angular_core.Signal<number>;
|
|
156
|
+
navigationLoadingTaskCount: _angular_core.Signal<number>;
|
|
157
|
+
sideMenuState: _angular_core.Signal<_acorex_platform_themes_shared.AXPSideMenuState>;
|
|
158
|
+
sideMenuWidth: _angular_core.Signal<number>;
|
|
159
|
+
sideMenuCompactWidth: _angular_core.Signal<number>;
|
|
160
|
+
menuVerticalMode: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuVerticalMode>;
|
|
161
|
+
menuOrientation: _angular_core.Signal<_acorex_platform_themes_shared.AXPMenuOrientation>;
|
|
162
|
+
isPrinting: _angular_core.Signal<boolean>;
|
|
163
|
+
isDarkMode: _angular_core.Signal<boolean>;
|
|
164
|
+
isLightMode: _angular_core.Signal<boolean>;
|
|
165
|
+
isSystemMode: _angular_core.Signal<boolean>;
|
|
166
|
+
isSideMenuOpen: _angular_core.Signal<boolean>;
|
|
167
|
+
isOverlayLoading: _angular_core.Signal<boolean>;
|
|
168
|
+
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
169
|
+
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
170
|
+
sideMenuDrawerWidth: _angular_core.Signal<number>;
|
|
171
|
+
changeThemeMode: (theme: _acorex_platform_themes_shared.AXPThemeMode) => void;
|
|
172
|
+
openSideMenu: () => void;
|
|
173
|
+
closeSideMenu: () => void;
|
|
174
|
+
setSideMenuWidth: (width: number) => void;
|
|
175
|
+
setSideMenuCompactWidth: (width: number) => void;
|
|
176
|
+
setSideMenuDrawerWidth: (width: number) => void;
|
|
177
|
+
toggleSideMenu: () => void;
|
|
178
|
+
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
179
|
+
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
180
|
+
loadSettings: () => Promise<void>;
|
|
181
|
+
} & _ngrx_signals.StateSource<{
|
|
182
|
+
currentMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
183
|
+
currentPalette: string;
|
|
184
|
+
systemThemeMode: _acorex_platform_themes_shared.AXPThemeMode;
|
|
185
|
+
font: {
|
|
186
|
+
family: string;
|
|
187
|
+
size: string;
|
|
188
|
+
};
|
|
189
|
+
overlayLoading: boolean;
|
|
190
|
+
navigationLoading: boolean;
|
|
191
|
+
overlayLoadingTaskCount: number;
|
|
192
|
+
navigationLoadingTaskCount: number;
|
|
193
|
+
sideMenuState: _acorex_platform_themes_shared.AXPSideMenuState;
|
|
194
|
+
sideMenuWidth: number;
|
|
195
|
+
sideMenuCompactWidth: number;
|
|
196
|
+
menuVerticalMode: _acorex_platform_themes_shared.AXPMenuVerticalMode;
|
|
197
|
+
menuOrientation: _acorex_platform_themes_shared.AXPMenuOrientation;
|
|
198
|
+
isPrinting: boolean;
|
|
199
|
+
}>;
|
|
143
200
|
badgeKey: InputSignal<string | undefined>;
|
|
144
201
|
count: InputSignal<number>;
|
|
145
|
-
private readonly
|
|
202
|
+
private readonly actualCount;
|
|
203
|
+
private readonly badgeText;
|
|
146
204
|
private setValueOfInputSignal;
|
|
147
205
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPTaskBadgeDirective, never>;
|
|
148
206
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXPTaskBadgeDirective, "[axp-task-badge]", never, { "badgeKey": { "alias": "badgeKey"; "required": false; "isSignal": true; }; "count": { "alias": "axp-task-badge"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -480,29 +538,69 @@ interface AXPDataSelectorColumn {
|
|
|
480
538
|
options: any;
|
|
481
539
|
};
|
|
482
540
|
}
|
|
483
|
-
interface
|
|
541
|
+
interface AXPDataSelectorRowActionItem {
|
|
542
|
+
name: string;
|
|
543
|
+
text: string;
|
|
544
|
+
icon?: string;
|
|
545
|
+
color?: string;
|
|
546
|
+
disabled?: boolean | string;
|
|
547
|
+
default?: boolean;
|
|
548
|
+
divided?: boolean;
|
|
549
|
+
}
|
|
550
|
+
interface AXPDataSelectorRowActionsHandler {
|
|
551
|
+
hasPrimary: () => boolean;
|
|
552
|
+
hasDropdown: () => boolean;
|
|
553
|
+
getPrimaryItems: () => AXPDataSelectorRowActionItem[];
|
|
554
|
+
getDropdownItems: (rowData: unknown) => Promise<AXPDataSelectorRowActionItem[]>;
|
|
555
|
+
execute: (commandName: string, rowData: unknown) => Promise<void>;
|
|
556
|
+
}
|
|
557
|
+
interface AXPDataSelectorSearchField {
|
|
558
|
+
name: string;
|
|
484
559
|
title: string;
|
|
485
|
-
|
|
560
|
+
}
|
|
561
|
+
interface AXPDataSelectorSelectionConfig {
|
|
562
|
+
mode?: 'single' | 'multiple';
|
|
563
|
+
selectedItemIds?: string[] | number[];
|
|
564
|
+
/** When true, Select stays enabled with no selection so the user can confirm clearing. Default: true. */
|
|
565
|
+
allowUnselect?: boolean;
|
|
566
|
+
}
|
|
567
|
+
interface AXPDataSelectorGridConfig {
|
|
486
568
|
columns: AXPDataSelectorColumn[];
|
|
487
|
-
selectionMode: 'single' | 'multiple';
|
|
488
|
-
searchFields?: {
|
|
489
|
-
name: string;
|
|
490
|
-
title: string;
|
|
491
|
-
}[];
|
|
492
|
-
initialSearchTerm?: string;
|
|
493
569
|
parentField?: string;
|
|
494
|
-
|
|
570
|
+
}
|
|
571
|
+
interface AXPDataSelectorFilterConfig {
|
|
572
|
+
value?: AXDataSourceFilterOption;
|
|
573
|
+
}
|
|
574
|
+
interface AXPDataSelectorSearchConfig {
|
|
575
|
+
fields?: AXPDataSelectorSearchField[];
|
|
576
|
+
initial?: string;
|
|
577
|
+
}
|
|
578
|
+
interface AXPDataSelectorCategoryFilterConfig {
|
|
579
|
+
field: string;
|
|
580
|
+
operator?: 'equal' | 'contains' | 'in';
|
|
581
|
+
}
|
|
582
|
+
interface AXPDataSelectorCategoryConfig {
|
|
583
|
+
enabled?: boolean;
|
|
584
|
+
title: string;
|
|
585
|
+
dataSource: AXPCategoryTreeDataSource;
|
|
586
|
+
filter: AXPDataSelectorCategoryFilterConfig;
|
|
587
|
+
width?: string;
|
|
588
|
+
}
|
|
589
|
+
interface AXPDataSelectorCreateConfig {
|
|
590
|
+
mode?: AXPDataSelectorAllowCreate;
|
|
495
591
|
onCreate?: (mode: 'full' | 'quick') => Promise<any | null>;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
592
|
+
}
|
|
593
|
+
interface AXPDataSelectorConfig {
|
|
594
|
+
title: string;
|
|
595
|
+
dataSource: AXDataSource<any>;
|
|
596
|
+
grid: AXPDataSelectorGridConfig;
|
|
597
|
+
selection?: AXPDataSelectorSelectionConfig;
|
|
598
|
+
filter?: AXPDataSelectorFilterConfig;
|
|
599
|
+
search?: AXPDataSelectorSearchConfig;
|
|
600
|
+
category?: AXPDataSelectorCategoryConfig;
|
|
601
|
+
create?: AXPDataSelectorCreateConfig;
|
|
602
|
+
/** Optional entity row actions (preview, edit, etc.) shown in the grid. */
|
|
603
|
+
rowActions?: AXPDataSelectorRowActionsHandler;
|
|
506
604
|
}
|
|
507
605
|
declare class AXPDataSelectorComponent extends AXBasePageComponent {
|
|
508
606
|
protected config: _angular_core.WritableSignal<AXPDataSelectorConfig>;
|
|
@@ -514,6 +612,8 @@ declare class AXPDataSelectorComponent extends AXBasePageComponent {
|
|
|
514
612
|
private initialSelectionApplied;
|
|
515
613
|
private userHasInteracted;
|
|
516
614
|
private isApplyingInitialSelection;
|
|
615
|
+
/** Suppresses stale grid selection events while a single-mode row click is being applied. */
|
|
616
|
+
private rowClickSelectionSync;
|
|
517
617
|
private initialSelectedItems;
|
|
518
618
|
protected activeCategoryFilter: _angular_core.WritableSignal<{
|
|
519
619
|
node: AXPCategoryEntity;
|
|
@@ -523,9 +623,12 @@ declare class AXPDataSelectorComponent extends AXBasePageComponent {
|
|
|
523
623
|
private initialSearchApplied;
|
|
524
624
|
private readonly translationService;
|
|
525
625
|
constructor();
|
|
626
|
+
protected allowUnselect: _angular_core.Signal<boolean>;
|
|
526
627
|
protected allowSelect: _angular_core.Signal<boolean>;
|
|
527
628
|
protected selectedCount: _angular_core.Signal<number>;
|
|
528
629
|
protected hasSearch: _angular_core.Signal<boolean | undefined>;
|
|
630
|
+
protected selectionMode: _angular_core.Signal<"single" | "multiple">;
|
|
631
|
+
protected categoryEnabled: _angular_core.Signal<boolean>;
|
|
529
632
|
protected categoryTreeConfig: _angular_core.Signal<{
|
|
530
633
|
textField: string;
|
|
531
634
|
valueField: string;
|
|
@@ -542,6 +645,10 @@ declare class AXPDataSelectorComponent extends AXBasePageComponent {
|
|
|
542
645
|
canDelete: boolean;
|
|
543
646
|
canCreateChild: boolean;
|
|
544
647
|
}>;
|
|
648
|
+
protected hasRowActionPrimary: _angular_core.Signal<boolean>;
|
|
649
|
+
protected hasRowActionDropdown: _angular_core.Signal<boolean>;
|
|
650
|
+
protected primaryRowActionItems: _angular_core.Signal<AXRowCommandItem[]>;
|
|
651
|
+
protected primaryRowActionColumnWidth: _angular_core.Signal<string>;
|
|
545
652
|
protected ngOnInit(): void;
|
|
546
653
|
protected ngAfterViewInit(): Promise<void>;
|
|
547
654
|
protected handleRowDbClick(e: AXDataTableRowDbClick): void;
|
|
@@ -552,8 +659,19 @@ declare class AXPDataSelectorComponent extends AXBasePageComponent {
|
|
|
552
659
|
protected handleCloseClick(): void;
|
|
553
660
|
protected handleSelectClick(): void;
|
|
554
661
|
protected handleExpandRow(row: any): Promise<void>;
|
|
662
|
+
protected getDropdownRowActionItems: (rowData: unknown) => Promise<AXRowCommandItem[]>;
|
|
663
|
+
protected handleRowActionClick(event: AXRowCommandItemClickEvent): Promise<void>;
|
|
555
664
|
protected handleCategoryFilterClick(node: AXPCategoryEntity): void;
|
|
556
665
|
protected clearCategoryFilter(): void;
|
|
666
|
+
private getRowKey;
|
|
667
|
+
private isSingleSelectionMode;
|
|
668
|
+
private applySingleSelection;
|
|
669
|
+
private clearRowClickSelectionSync;
|
|
670
|
+
/**
|
|
671
|
+
* Keeps at most one row when single mode uses checkboxes.
|
|
672
|
+
*/
|
|
673
|
+
private clampSingleSelection;
|
|
674
|
+
private syncGridSingleSelection;
|
|
557
675
|
private applySearchFilter;
|
|
558
676
|
private applyFilterAndSort;
|
|
559
677
|
private applyCategoryFilter;
|
|
@@ -577,18 +695,6 @@ declare class AXPDataSelectorService {
|
|
|
577
695
|
open(config: AXPDataSelectorConfig): Promise<{
|
|
578
696
|
items: any[];
|
|
579
697
|
} | null>;
|
|
580
|
-
/**
|
|
581
|
-
* Open data selector with category filter
|
|
582
|
-
*/
|
|
583
|
-
openWithCategoryFilter(config: Omit<AXPDataSelectorConfig, 'categoryFilter'>, categoryFilterConfig: {
|
|
584
|
-
title: string;
|
|
585
|
-
dataSource: AXPCategoryTreeDataSource;
|
|
586
|
-
filterField: string;
|
|
587
|
-
filterOperator?: 'equal' | 'contains' | 'in';
|
|
588
|
-
width?: string;
|
|
589
|
-
}): Promise<{
|
|
590
|
-
items: any[];
|
|
591
|
-
} | null>;
|
|
592
698
|
/**
|
|
593
699
|
* Apply column width resolution to all columns using the column width service
|
|
594
700
|
*/
|
|
@@ -1125,12 +1231,20 @@ declare class AXPLayoutSideDetailPanelComponent {
|
|
|
1125
1231
|
|
|
1126
1232
|
declare class AXPLogoComponent implements OnInit, OnChanges {
|
|
1127
1233
|
source: any;
|
|
1234
|
+
protected activeSource: any;
|
|
1128
1235
|
protected logoType: string;
|
|
1236
|
+
protected isCompactLogo: boolean;
|
|
1237
|
+
protected readonly compactLogoSize = 32;
|
|
1238
|
+
private inputSource;
|
|
1129
1239
|
private platform;
|
|
1240
|
+
private themeStore;
|
|
1241
|
+
private platformConfig;
|
|
1242
|
+
private cdr;
|
|
1243
|
+
constructor();
|
|
1130
1244
|
ngOnInit(): void;
|
|
1131
1245
|
ngOnChanges(): void;
|
|
1132
|
-
|
|
1133
|
-
|
|
1246
|
+
private updateActiveSource;
|
|
1247
|
+
private setLogoType;
|
|
1134
1248
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLogoComponent, never>;
|
|
1135
1249
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLogoComponent, "axp-logo", never, { "source": { "alias": "source"; "required": false; }; }, {}, never, never, true, never>;
|
|
1136
1250
|
}
|
|
@@ -2158,6 +2272,12 @@ declare class AXPSectionItemsBuilderComponent {
|
|
|
2158
2272
|
readonly readonlyMode: _angular_core.InputSignal<boolean>;
|
|
2159
2273
|
readonly valueChange: _angular_core.OutputEmitterRef<AXPBuilderValue>;
|
|
2160
2274
|
private readonly vm;
|
|
2275
|
+
/** Snapshot from the last external `[value]` sync (load, discard, save refresh). */
|
|
2276
|
+
private readonly baseline;
|
|
2277
|
+
/** Set on local {@link commit}; cleared on external sync or {@link markClean}. */
|
|
2278
|
+
private pendingCommitSnapshot;
|
|
2279
|
+
/** True when the live model differs from the external baseline. */
|
|
2280
|
+
readonly isDirty: _angular_core.Signal<boolean>;
|
|
2161
2281
|
protected readonly sectionsModel: _angular_core.Signal<AXPBuilderValue>;
|
|
2162
2282
|
protected readonly sectionRows: _angular_core.Signal<{
|
|
2163
2283
|
section: AXPBuilderSection;
|
|
@@ -2169,6 +2289,8 @@ declare class AXPSectionItemsBuilderComponent {
|
|
|
2169
2289
|
protected readonly itemDropListIds: _angular_core.Signal<string[]>;
|
|
2170
2290
|
protected readonly canRemoveSection: _angular_core.Signal<boolean>;
|
|
2171
2291
|
constructor();
|
|
2292
|
+
/** Align dirty baseline to the current model (call after save). */
|
|
2293
|
+
markClean(): void;
|
|
2172
2294
|
/**
|
|
2173
2295
|
* Opens add-section flow (same as primary "Add section" control). For page commands / ViewChild.
|
|
2174
2296
|
*/
|
|
@@ -2612,6 +2734,10 @@ declare class AXPStandardSectionItemsBuilderComponent {
|
|
|
2612
2734
|
protected readonly mergedDefinition: _angular_core.Signal<AXPBuilderDefinition>;
|
|
2613
2735
|
/** Same entry as page commands / toolbar: open standardized add-section dialog. */
|
|
2614
2736
|
addSection(): Promise<void>;
|
|
2737
|
+
/** Whether the builder model differs from the last external baseline. */
|
|
2738
|
+
isDirty(): boolean;
|
|
2739
|
+
/** Clears dirty state by aligning baseline to the current model. */
|
|
2740
|
+
markClean(): void;
|
|
2615
2741
|
private isDuplicateSectionName;
|
|
2616
2742
|
/**
|
|
2617
2743
|
* `AXPBuilderSection` uses `[key: string]: unknown`; cast to form-bound type without resolving ML.
|
|
@@ -3124,4 +3250,4 @@ declare class AXPWidgetPropertyViewerService {
|
|
|
3124
3250
|
}
|
|
3125
3251
|
|
|
3126
3252
|
export { AXPActivityLogComponent, AXPAvatarComponent, AXPCategoryTreeComponent, AXPColorPalettePickerComponent, AXPColumnItemListComponent, AXPCompareViewComponent, AXPConditionBuilderComponent, AXPConditionBuilderConditionComponent, AXPDataSelectorComponent, AXPDataSelectorService, AXPDragDropListComponent, AXPExpressionFieldDefinitions, AXPImageEditorPopupComponent, AXPImageEditorService, AXPItemConfiguratorComponent, AXPLayoutFloatingZoomBarComponent, AXPLayoutSideDetailPanelComponent, AXPLayoutSideDetailPanelSectionDirective, AXPLogoComponent, AXPMarkdownTemplateDirective, AXPMarkdownViewerComponent, AXPMenuBadgeHelper, AXPMenuCustomizerComponent, AXPMenuCustomizerService, AXPOutcomeResultsViewerComponent, AXPPageComponentRegistryService, AXPPreloadFiltersComponent, AXPPropertyViewerComponent, AXPPropertyViewerPopupComponent, AXPPropertyViewerService, AXPQueryColumnsComponent, AXPQueryFiltersComponent, AXPQuerySortsComponent, AXPQueryViewsComponent, AXPRepeaterRowsLayoutComponent, AXPResourceAppointmentBoardProvider, AXPResourceAppointmentComponent, AXPResourceAppointmentService, AXPSectionItemsBuilderComponent, AXPSpreadsheetComponent, AXPStandardSectionItemsBuilderComponent, AXPStateMessageComponent, AXPStopwatchComponent, AXPTableColumnsEditorComponent, AXPTableColumnsEditorPopupComponent, AXPTableColumnsEditorService, AXPTableDataEditorComponent, AXPTableDataEditorPopupComponent, AXPTableDataEditorService, AXPTaskBadgeDirective, AXPTaskBadgeProvider, AXPTaskBadgeService, AXPTemplateViewerComponent, AXPTemplateViewerService, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutContainerComponent, AXPThemeLayoutEndSideComponent, AXPThemeLayoutFooterComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutListItemsGroupComponent, AXPThemeLayoutPageHeaderComponent, AXPThemeLayoutPagePrimaryActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutSectionComponent, AXPThemeLayoutStartSideComponent, AXPThemeLayoutToolbarComponent, AXPUserAvatarComponent, AXPUserAvatarService, AXPWidgetFieldConfiguratorComponent, AXPWidgetItemComponent, AXPWidgetPropertyViewerComponent, AXPWidgetPropertyViewerPopupComponent, AXPWidgetPropertyViewerService, AXP_EXPRESSION_LOGIC_DEFINITIONS, AXP_EXPRESSION_OPERATION_DEFINITIONS, AXP_MENU_CUSTOMIZER_SERVICE, AXP_PAGE_COMPONENT_PROVIDER, AXP_RESOURCE_APPOINTMENT_PROVIDER, AXP_TASK_BADGE_PROVIDERS, AXP_USER_AVATAR_PROVIDER, STANDARD_SECTION_ITEMS_SECTION_TABS, buildPropertyViewerInitialContextFromProperties, buildPropertyViewerTabsFromProperties, buildTableColumnsEditorLayout, getFieldDefinitions, getLogicDefinition, getOperationDefinition, isPropertyBindingExpressionFormValue, preparePropertyForViewer, preparePropertyViewerTabs, registerFieldDefinitions, withValidationsOnEditorNode };
|
|
3127
|
-
export type { AXPBuilderBadge, AXPBuilderBadgeVariant, AXPBuilderDefinition, AXPBuilderItem, AXPBuilderItemIconTone, AXPBuilderItemViewModel, AXPBuilderSection, AXPBuilderTexts, AXPBuilderValue, AXPCategoryTreeActions, AXPCategoryTreeConfig, AXPCategoryTreeDataSource, AXPCategoryTreeEvents, AXPCategoryTreeNode, AXPColumnItemListItem, AXPCompareViewField, AXPCompareViewInputs, AXPCompareViewMode, AXPCompareViewObject, AXPDataSelectorAllowCreate, AXPDataSelectorColumn, AXPDataSelectorConfig, AXPDragDropListConfig, AXPDragDropListDropEvent, AXPDragDropListItem, AXPExpressionFieldDefinition, AXPExpressionGroupNode, AXPExpressionLogicDefinition, AXPExpressionLogicType, AXPExpressionNode, AXPExpressionNodeId, AXPExpressionOperationDefinition, AXPExpressionOperationNode, AXPExpressionOperationType, AXPExpressionTree, AXPExpressionValueOperand, AXPExpressionValueSourceType, AXPImageEditorOpenOptions, AXPLayoutSideDetailPanelEmptyState, AXPLayoutSideDetailPanelHeader, AXPLayoutSideDetailPanelHeaderIcon, AXPLayoutSideDetailPanelRow, AXPLayoutSideDetailPanelRowFormat, AXPLayoutSideDetailPanelSection, AXPMenuCustomizerAction, AXPMenuCustomizerItem, AXPMenuCustomizerItemType, AXPMenuCustomizerNodeData, AXPMenuCustomizerNodeMetadata, AXPMenuCustomizerState, AXPOutcomeResultRow, AXPOutcomeResultSection, AXPOutcomeResultValuePresentation, AXPOutcomeResultsViewModel, AXPPageComponentDefinition, AXPPageComponentProvider, AXPPreloadFiltersApplyEvent, AXPPropertyViewerActionRef, AXPPropertyViewerChangedEvent, AXPPropertyViewerConfig, AXPPropertyViewerGroup, AXPPropertyViewerResult, AXPPropertyViewerTab, AXPResourceAppointmentActionMenuItem, AXPResourceAppointmentBoardFilter, AXPResourceAppointmentItem, AXPResourceAppointmentResource, AXPResourceAppointmentStatus, AXPSpreadsheetCellChangeEvent, AXPSpreadsheetCellValue, AXPSpreadsheetColumn, AXPSpreadsheetConfig, AXPSpreadsheetData, AXPSpreadsheetItem, AXPSpreadsheetRowChangeEvent, AXPSpreadsheetRowMode, AXPStandardSectionFormContext, AXPStandardSectionItemsBuilderConfig, AXPTableColumnDefinition, AXPTableColumnsEditorOpenOptions, AXPTableDataEditorOpenOptions, AXPTemplateViewerConfig, AXPTemplateViewerResult, AXPUserAvatarData, AXPUserAvatarProvider, AXPUserAvatarSize, AXPUserAvatarStatus, AXPWidgetItemClickEvent, AXPWidgetItemData, AXPWidgetPropertiesChangedEvent, AXPWidgetPropertyInjection, AXPWidgetPropertyViewerConfig, AXPWidgetPropertyViewerResult, ConditionBuilderSelectedField, IAXPPropertyViewerDialogBuilder, IAXPPropertyViewerRoot, IAXPWidgetPropertyViewerDialogBuilder, IAXPWidgetPropertyViewerRoot, ItemConfiguratorListItem, StateMode };
|
|
3253
|
+
export type { AXPBuilderBadge, AXPBuilderBadgeVariant, AXPBuilderDefinition, AXPBuilderItem, AXPBuilderItemIconTone, AXPBuilderItemViewModel, AXPBuilderSection, AXPBuilderTexts, AXPBuilderValue, AXPCategoryTreeActions, AXPCategoryTreeConfig, AXPCategoryTreeDataSource, AXPCategoryTreeEvents, AXPCategoryTreeNode, AXPColumnItemListItem, AXPCompareViewField, AXPCompareViewInputs, AXPCompareViewMode, AXPCompareViewObject, AXPDataSelectorAllowCreate, AXPDataSelectorCategoryConfig, AXPDataSelectorCategoryFilterConfig, AXPDataSelectorColumn, AXPDataSelectorConfig, AXPDataSelectorCreateConfig, AXPDataSelectorFilterConfig, AXPDataSelectorGridConfig, AXPDataSelectorRowActionItem, AXPDataSelectorRowActionsHandler, AXPDataSelectorSearchConfig, AXPDataSelectorSearchField, AXPDataSelectorSelectionConfig, AXPDragDropListConfig, AXPDragDropListDropEvent, AXPDragDropListItem, AXPExpressionFieldDefinition, AXPExpressionGroupNode, AXPExpressionLogicDefinition, AXPExpressionLogicType, AXPExpressionNode, AXPExpressionNodeId, AXPExpressionOperationDefinition, AXPExpressionOperationNode, AXPExpressionOperationType, AXPExpressionTree, AXPExpressionValueOperand, AXPExpressionValueSourceType, AXPImageEditorOpenOptions, AXPLayoutSideDetailPanelEmptyState, AXPLayoutSideDetailPanelHeader, AXPLayoutSideDetailPanelHeaderIcon, AXPLayoutSideDetailPanelRow, AXPLayoutSideDetailPanelRowFormat, AXPLayoutSideDetailPanelSection, AXPMenuCustomizerAction, AXPMenuCustomizerItem, AXPMenuCustomizerItemType, AXPMenuCustomizerNodeData, AXPMenuCustomizerNodeMetadata, AXPMenuCustomizerState, AXPOutcomeResultRow, AXPOutcomeResultSection, AXPOutcomeResultValuePresentation, AXPOutcomeResultsViewModel, AXPPageComponentDefinition, AXPPageComponentProvider, AXPPreloadFiltersApplyEvent, AXPPropertyViewerActionRef, AXPPropertyViewerChangedEvent, AXPPropertyViewerConfig, AXPPropertyViewerGroup, AXPPropertyViewerResult, AXPPropertyViewerTab, AXPResourceAppointmentActionMenuItem, AXPResourceAppointmentBoardFilter, AXPResourceAppointmentItem, AXPResourceAppointmentResource, AXPResourceAppointmentStatus, AXPSpreadsheetCellChangeEvent, AXPSpreadsheetCellValue, AXPSpreadsheetColumn, AXPSpreadsheetConfig, AXPSpreadsheetData, AXPSpreadsheetItem, AXPSpreadsheetRowChangeEvent, AXPSpreadsheetRowMode, AXPStandardSectionFormContext, AXPStandardSectionItemsBuilderConfig, AXPTableColumnDefinition, AXPTableColumnsEditorOpenOptions, AXPTableDataEditorOpenOptions, AXPTemplateViewerConfig, AXPTemplateViewerResult, AXPUserAvatarData, AXPUserAvatarProvider, AXPUserAvatarSize, AXPUserAvatarStatus, AXPWidgetItemClickEvent, AXPWidgetItemData, AXPWidgetPropertiesChangedEvent, AXPWidgetPropertyInjection, AXPWidgetPropertyViewerConfig, AXPWidgetPropertyViewerResult, ConditionBuilderSelectedField, IAXPPropertyViewerDialogBuilder, IAXPPropertyViewerRoot, IAXPWidgetPropertyViewerDialogBuilder, IAXPWidgetPropertyViewerRoot, ItemConfiguratorListItem, StateMode };
|