@praxisui/table 8.0.0-beta.103 → 8.0.0-beta.105
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/README.md +2 -0
- package/docs/dynamic-filter-host-integration-guide.md +7 -0
- package/fesm2022/{praxisui-table-praxisui-table-CIG9G2ku.mjs → praxisui-table-praxisui-table-CunEk0vb.mjs} +2224 -474
- package/fesm2022/{praxisui-table-table-ai.adapter-Mv-J6ECy.mjs → praxisui-table-table-ai.adapter-BvaMq2CS.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +162 -138
- package/types/praxisui-table.d.ts +121 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _praxisui_core from '@praxisui/core';
|
|
2
|
-
import { TableToolbarAppearanceConfig, TableConfig, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceDensity, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, GlobalConfigService, AsyncConfigStorage, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, PraxisLoadingRenderer, TableDetailRichListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, PraxisExportScope, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceSurfaceCatalogItem, JsonLogicExpression, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, TableConfigService, SettingsValueProvider as SettingsValueProvider$1, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog } from '@praxisui/core';
|
|
2
|
+
import { TableToolbarAppearanceConfig, TableConfig, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceDensity, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, GlobalConfigService, AsyncConfigStorage, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, PraxisExportScope, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceSurfaceCatalogItem, JsonLogicExpression, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, TableConfigService, SettingsValueProvider as SettingsValueProvider$1, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog } from '@praxisui/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, AfterViewInit, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterContentInit, Injector } from '@angular/core';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -55,6 +55,8 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
55
55
|
showMobileActions: boolean;
|
|
56
56
|
exportBusy: boolean;
|
|
57
57
|
evaluationContext: Record<string, any> | null;
|
|
58
|
+
/** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
|
|
59
|
+
columnVisibilityController?: (field: string, visible: boolean) => void;
|
|
58
60
|
toolbarAction: EventEmitter<{
|
|
59
61
|
action: string;
|
|
60
62
|
actionConfig?: any;
|
|
@@ -62,6 +64,10 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
62
64
|
exportAction: EventEmitter<{
|
|
63
65
|
format: string;
|
|
64
66
|
}>;
|
|
67
|
+
columnVisibilityToggle: EventEmitter<{
|
|
68
|
+
field: string;
|
|
69
|
+
visible: boolean;
|
|
70
|
+
}>;
|
|
65
71
|
readonly getActionId: typeof getActionId;
|
|
66
72
|
private readonly jsonLogic;
|
|
67
73
|
private readonly validToolbarActionTypes;
|
|
@@ -78,9 +84,24 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
78
84
|
getToolbarLeadingLabel(): string;
|
|
79
85
|
getToolbarActionsLabel(): string;
|
|
80
86
|
getToolbarConfigurationLabel(): string;
|
|
87
|
+
getToolbarIdentityLabel(): string;
|
|
88
|
+
getToolbarIdentityTooltip(): string | null;
|
|
89
|
+
hasToolbarIdentity(): boolean;
|
|
90
|
+
getToolbarTitle(): string;
|
|
91
|
+
getToolbarSubtitle(): string;
|
|
92
|
+
getToolbarIcon(): string | null;
|
|
93
|
+
getToolbarTextAlign(): 'start' | 'center' | 'end';
|
|
81
94
|
getExportDataLabel(): string;
|
|
82
95
|
getMoreActionsLabel(): string;
|
|
83
96
|
emitExportAction(event: Event, format: string): void;
|
|
97
|
+
getColumnsVisibilityLabel(): string;
|
|
98
|
+
isColumnsVisibilityEnabled(): boolean;
|
|
99
|
+
getVisibleColumnsCount(): number;
|
|
100
|
+
isColumnVisibilityToggleDisabled(column: {
|
|
101
|
+
visible?: boolean;
|
|
102
|
+
} | null | undefined): boolean;
|
|
103
|
+
onColumnVisibilityMenuToggle(event: Event, field: string, currentlyVisible: boolean): void;
|
|
104
|
+
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
84
105
|
private tx;
|
|
85
106
|
ngOnDestroy(): void;
|
|
86
107
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
@@ -137,7 +158,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
137
158
|
private sortActions;
|
|
138
159
|
getExportIcon(format: string): string;
|
|
139
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableToolbar, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
140
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; }, { "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; "columnVisibilityController": { "alias": "columnVisibilityController"; "required": false; }; }, { "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; "columnVisibilityToggle": "columnVisibilityToggle"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
141
162
|
}
|
|
142
163
|
|
|
143
164
|
type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
|
|
@@ -410,6 +431,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
410
431
|
private route?;
|
|
411
432
|
private logger?;
|
|
412
433
|
resourcePath: string;
|
|
434
|
+
/** Resolved API entry carried by detached hosts when route-scoped API_URL is not inherited. */
|
|
435
|
+
apiUrlEntry?: ApiUrlEntry | null;
|
|
413
436
|
/**
|
|
414
437
|
* Optional static metadata for offline/showcase usage.
|
|
415
438
|
* When this input is provided (including an empty array), server schema loading is bypassed.
|
|
@@ -637,6 +660,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
637
660
|
private updateOverlayWidth;
|
|
638
661
|
private computeIsMobile;
|
|
639
662
|
ngOnChanges(changes: SimpleChanges): void;
|
|
663
|
+
private configureCrud;
|
|
640
664
|
private areStringArraysEqual;
|
|
641
665
|
private normalizeFieldIdList;
|
|
642
666
|
private areMetadataOverrideMapsEqual;
|
|
@@ -722,13 +746,15 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
722
746
|
onAddQuery(q: string): void;
|
|
723
747
|
openAddSelect(select: MatSelect): void;
|
|
724
748
|
hasAddableFields(): boolean;
|
|
725
|
-
|
|
749
|
+
hasManageableFilterFields(): boolean;
|
|
750
|
+
private getManageableFilterItems;
|
|
726
751
|
private updateAddItems;
|
|
727
752
|
trackById(_idx: number, it: {
|
|
728
753
|
id: string;
|
|
729
754
|
}): string;
|
|
730
755
|
private isFilterFieldHidden;
|
|
731
756
|
onAddSelectionChange(values: string[] | null | undefined): void;
|
|
757
|
+
private normalizeManagedFieldSelection;
|
|
732
758
|
private mergeSelectedFieldIds;
|
|
733
759
|
private formatWithCount;
|
|
734
760
|
getAddAriaLabel(): string;
|
|
@@ -738,6 +764,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
738
764
|
isAllSelected(): boolean;
|
|
739
765
|
isSomeSelected(): boolean;
|
|
740
766
|
toggleSelectAll(): void;
|
|
767
|
+
private clearRemovedSelectedFieldValues;
|
|
741
768
|
onAdvancedSubmit(event: {
|
|
742
769
|
formData: Record<string, any>;
|
|
743
770
|
}): void;
|
|
@@ -804,7 +831,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
804
831
|
private isEditableElement;
|
|
805
832
|
private focusQuick;
|
|
806
833
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
807
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilter, "praxis-filter", never, { "resourcePath": { "alias": "resourcePath"; "required": true; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "value": { "alias": "value"; "required": false; }; "alwaysVisibleFields": { "alias": "alwaysVisibleFields"; "required": false; }; "alwaysVisibleFieldMetadataOverrides": { "alias": "alwaysVisibleFieldMetadataOverrides"; "required": false; }; "selectedFieldIds": { "alias": "selectedFieldIds"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "allowSaveTags": { "alias": "allowSaveTags"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; "disablePersistence": { "alias": "disablePersistence"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "changeDebounceMs": { "alias": "changeDebounceMs"; "required": false; }; "showFilterSettings": { "alias": "showFilterSettings"; "required": false; }; "showAdvancedButton": { "alias": "showAdvancedButton"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "confirmTagDelete": { "alias": "confirmTagDelete"; "required": false; }; "placeBooleansInActions": { "alias": "placeBooleansInActions"; "required": false; }; "showToggleLabels": { "alias": "showToggleLabels"; "required": false; }; "useInlineSelectVariant": { "alias": "useInlineSelectVariant"; "required": false; }; "useInlineSearchableSelectVariant": { "alias": "useInlineSearchableSelectVariant"; "required": false; }; "useInlineMultiSelectVariant": { "alias": "useInlineMultiSelectVariant"; "required": false; }; "useInlineInputVariant": { "alias": "useInlineInputVariant"; "required": false; }; "useInlineToggleVariant": { "alias": "useInlineToggleVariant"; "required": false; }; "useInlineRangeVariant": { "alias": "useInlineRangeVariant"; "required": false; }; "useInlineDateVariant": { "alias": "useInlineDateVariant"; "required": false; }; "useInlineDateRangeVariant": { "alias": "useInlineDateRangeVariant"; "required": false; }; "useInlineTimeVariant": { "alias": "useInlineTimeVariant"; "required": false; }; "useInlineTimeRangeVariant": { "alias": "useInlineTimeRangeVariant"; "required": false; }; "useInlineTreeSelectVariant": { "alias": "useInlineTreeSelectVariant"; "required": false; }; "alwaysMinWidth": { "alias": "alwaysMinWidth"; "required": false; }; "alwaysColsMd": { "alias": "alwaysColsMd"; "required": false; }; "alwaysColsLg": { "alias": "alwaysColsLg"; "required": false; }; "tagColor": { "alias": "tagColor"; "required": false; }; "tagVariant": { "alias": "tagVariant"; "required": false; }; "tagButtonColor": { "alias": "tagButtonColor"; "required": false; }; "actionsButtonColor": { "alias": "actionsButtonColor"; "required": false; }; "actionsVariant": { "alias": "actionsVariant"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; "overlayBackdrop": { "alias": "overlayBackdrop"; "required": false; }; "advancedOpenMode": { "alias": "advancedOpenMode"; "required": false; }; "advancedClearButtonsEnabled": { "alias": "advancedClearButtonsEnabled"; "required": false; }; }, { "submit": "submit"; "change": "change"; "clear": "clear"; "modeChange": "modeChange"; "requestSearch": "requestSearch"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
|
|
834
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilter, "praxis-filter", never, { "resourcePath": { "alias": "resourcePath"; "required": true; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "value": { "alias": "value"; "required": false; }; "alwaysVisibleFields": { "alias": "alwaysVisibleFields"; "required": false; }; "alwaysVisibleFieldMetadataOverrides": { "alias": "alwaysVisibleFieldMetadataOverrides"; "required": false; }; "selectedFieldIds": { "alias": "selectedFieldIds"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "allowSaveTags": { "alias": "allowSaveTags"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; "disablePersistence": { "alias": "disablePersistence"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "changeDebounceMs": { "alias": "changeDebounceMs"; "required": false; }; "showFilterSettings": { "alias": "showFilterSettings"; "required": false; }; "showAdvancedButton": { "alias": "showAdvancedButton"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "confirmTagDelete": { "alias": "confirmTagDelete"; "required": false; }; "placeBooleansInActions": { "alias": "placeBooleansInActions"; "required": false; }; "showToggleLabels": { "alias": "showToggleLabels"; "required": false; }; "useInlineSelectVariant": { "alias": "useInlineSelectVariant"; "required": false; }; "useInlineSearchableSelectVariant": { "alias": "useInlineSearchableSelectVariant"; "required": false; }; "useInlineMultiSelectVariant": { "alias": "useInlineMultiSelectVariant"; "required": false; }; "useInlineInputVariant": { "alias": "useInlineInputVariant"; "required": false; }; "useInlineToggleVariant": { "alias": "useInlineToggleVariant"; "required": false; }; "useInlineRangeVariant": { "alias": "useInlineRangeVariant"; "required": false; }; "useInlineDateVariant": { "alias": "useInlineDateVariant"; "required": false; }; "useInlineDateRangeVariant": { "alias": "useInlineDateRangeVariant"; "required": false; }; "useInlineTimeVariant": { "alias": "useInlineTimeVariant"; "required": false; }; "useInlineTimeRangeVariant": { "alias": "useInlineTimeRangeVariant"; "required": false; }; "useInlineTreeSelectVariant": { "alias": "useInlineTreeSelectVariant"; "required": false; }; "alwaysMinWidth": { "alias": "alwaysMinWidth"; "required": false; }; "alwaysColsMd": { "alias": "alwaysColsMd"; "required": false; }; "alwaysColsLg": { "alias": "alwaysColsLg"; "required": false; }; "tagColor": { "alias": "tagColor"; "required": false; }; "tagVariant": { "alias": "tagVariant"; "required": false; }; "tagButtonColor": { "alias": "tagButtonColor"; "required": false; }; "actionsButtonColor": { "alias": "actionsButtonColor"; "required": false; }; "actionsVariant": { "alias": "actionsVariant"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; "overlayBackdrop": { "alias": "overlayBackdrop"; "required": false; }; "advancedOpenMode": { "alias": "advancedOpenMode"; "required": false; }; "advancedClearButtonsEnabled": { "alias": "advancedClearButtonsEnabled"; "required": false; }; }, { "submit": "submit"; "change": "change"; "clear": "clear"; "modeChange": "modeChange"; "requestSearch": "requestSearch"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
|
|
808
835
|
}
|
|
809
836
|
|
|
810
837
|
declare const PRAXIS_FILTER_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -898,6 +925,7 @@ type PraxisDataQueryContextBridge = {
|
|
|
898
925
|
meta?: Record<string, unknown> | null;
|
|
899
926
|
};
|
|
900
927
|
type DataMode = 'remote' | 'local' | 'empty';
|
|
928
|
+
type TableConfigPersistenceStrategy = 'local-first' | 'input-first' | 'volatile';
|
|
901
929
|
type RowExpansionTrigger = 'icon' | 'row' | 'keyboard' | 'api' | 'restore';
|
|
902
930
|
type RowExpansionReasonCode = 'user' | 'policy' | 'restore' | 'api';
|
|
903
931
|
type RowExpansionChangeBase = {
|
|
@@ -1008,6 +1036,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1008
1036
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1009
1037
|
private _resourceDiscovery?;
|
|
1010
1038
|
private _resourceSurfaceOpenAdapter?;
|
|
1039
|
+
private readonly runtimeObservationRegistry;
|
|
1040
|
+
private runtimeObservationRegistration;
|
|
1011
1041
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1012
1042
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
1013
1043
|
private static readonly ROW_ANIMATION_PRESET_ALIASES;
|
|
@@ -1016,6 +1046,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1016
1046
|
data: any[] | null;
|
|
1017
1047
|
tableId: string;
|
|
1018
1048
|
componentInstanceId?: string;
|
|
1049
|
+
configPersistenceStrategy: TableConfigPersistenceStrategy;
|
|
1019
1050
|
title: string;
|
|
1020
1051
|
subtitle: string;
|
|
1021
1052
|
icon: string;
|
|
@@ -1096,6 +1127,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1096
1127
|
private lastResolvedDataMode;
|
|
1097
1128
|
private localFilterFieldMetadataCache;
|
|
1098
1129
|
private localFilterFieldMetadataCacheKey;
|
|
1130
|
+
private remoteSchemaLoadSequence;
|
|
1099
1131
|
private remoteDataLoadSequence;
|
|
1100
1132
|
private analyticsLoadSequence;
|
|
1101
1133
|
private uncontrolledExpandedRowKeys;
|
|
@@ -1233,6 +1265,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1233
1265
|
ensureAiAssistantRecordSurfaceContext(): Promise<void>;
|
|
1234
1266
|
getAiAssistantRecordSurfacesContext(): RecordRelatedSurfaceContextPack | null;
|
|
1235
1267
|
getAiAssistantSelectedRowsContext(): Record<string, any> | null;
|
|
1268
|
+
private buildAiAssistantSelectedRowsContext;
|
|
1236
1269
|
private ensureAiAssistantRowCapabilitySnapshot;
|
|
1237
1270
|
private buildCapabilitySnapshotFromSurfaceCatalog;
|
|
1238
1271
|
private buildAiAssistantResourceSurfaceContexts;
|
|
@@ -1271,6 +1304,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1271
1304
|
private readonly cellAnimationPreviousValuesByRowId;
|
|
1272
1305
|
private readonly cellAnimationPreviousValuesByRowRef;
|
|
1273
1306
|
private readonly cellAnimationPreviousRowIdOrder;
|
|
1307
|
+
private readonly progressRichContentContextByRowRef;
|
|
1274
1308
|
private getLogger;
|
|
1275
1309
|
private buildLogOptions;
|
|
1276
1310
|
private debugLog;
|
|
@@ -1301,6 +1335,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1301
1335
|
private clearSchemaFieldsSnapshot;
|
|
1302
1336
|
private componentKeyId;
|
|
1303
1337
|
private storageKey;
|
|
1338
|
+
private isVolatileConfigPersistence;
|
|
1304
1339
|
private tableConfigKey;
|
|
1305
1340
|
private filterConfigKey;
|
|
1306
1341
|
private ensureConfigDefaults;
|
|
@@ -1355,12 +1390,27 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1355
1390
|
private interpolateAiAssistantContextValue;
|
|
1356
1391
|
private aiAssistantSelectedRecordsValue;
|
|
1357
1392
|
private buildAiAssistantContextSnapshot;
|
|
1393
|
+
buildRuntimeComponentObservation(): PraxisRuntimeComponentObservationEnvelope;
|
|
1394
|
+
private registerRuntimeComponentObservationProvider;
|
|
1395
|
+
private getRuntimeObservationSelectedRecordsContext;
|
|
1396
|
+
private getActiveRuntimeObservationSelectedRows;
|
|
1397
|
+
private buildRuntimeObservationSelectionDigest;
|
|
1398
|
+
private buildRuntimeObservationStateDigest;
|
|
1399
|
+
private buildRuntimeObservationDataProfileDigest;
|
|
1400
|
+
private getRuntimeObservationSchemaFieldRefs;
|
|
1401
|
+
private getRuntimeObservationSchemaFieldDescriptors;
|
|
1402
|
+
private getRuntimeObservationSurfaceRefs;
|
|
1403
|
+
private getRuntimeObservationActionRefs;
|
|
1404
|
+
private buildRuntimeObservationClaims;
|
|
1405
|
+
private isRuntimeObservationVisible;
|
|
1358
1406
|
private syncAiAssistantSession;
|
|
1359
1407
|
private assistantContextRuntimeLocale;
|
|
1360
1408
|
private refreshAiAssistantContextAfterSelectionChange;
|
|
1361
1409
|
private hasAiAssistantSessionState;
|
|
1362
1410
|
private resolveAiAssistantSessionId;
|
|
1363
1411
|
private resolveAiAssistantOwnerId;
|
|
1412
|
+
private runtimeSurfaceInstanceRef;
|
|
1413
|
+
private safeRuntimeSurfaceRefSegment;
|
|
1364
1414
|
private resolveAiAssistantRouteKey;
|
|
1365
1415
|
private resolveAiAssistantSummary;
|
|
1366
1416
|
private resolveAiAssistantBadge;
|
|
@@ -1651,9 +1701,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1651
1701
|
private persistHorizontalScrollInput;
|
|
1652
1702
|
private showPersistenceFailureFeedback;
|
|
1653
1703
|
private showResetSuccessFeedback;
|
|
1704
|
+
readonly toolbarColumnVisibilityController: (field: string, visible: boolean) => void;
|
|
1705
|
+
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
1654
1706
|
openTableSettings(): void;
|
|
1655
1707
|
private applyTableConfig;
|
|
1656
1708
|
private buildTableEditorRuntimeContext;
|
|
1709
|
+
private emitWidgetInputPatch;
|
|
1710
|
+
private scheduleWidgetInputPatch;
|
|
1711
|
+
private cloneInputPatch;
|
|
1657
1712
|
private executeTableEditorApplyPlan;
|
|
1658
1713
|
private attachRuntimeMetadataToEditorConfig;
|
|
1659
1714
|
private syncInternalFilterSettings;
|
|
@@ -1808,6 +1863,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1808
1863
|
private applyImplicitRuntimeCellPresentation;
|
|
1809
1864
|
private shouldHumanizeRuntimeEnumCell;
|
|
1810
1865
|
private resolveCellFormattingType;
|
|
1866
|
+
private isCanonicalNumericFormat;
|
|
1811
1867
|
private normalizeReadonlyEntityLookupCellValue;
|
|
1812
1868
|
private toEntityLookupDisplayToken;
|
|
1813
1869
|
private isEntityLookupDisplayCandidate;
|
|
@@ -1975,8 +2031,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1975
2031
|
getBadgeIcon(row: any, column: ColumnDefinition): string | null;
|
|
1976
2032
|
getBadgeClasses(row: any, column: ColumnDefinition): string[];
|
|
1977
2033
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2034
|
+
shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
|
|
1978
2035
|
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | null;
|
|
1979
2036
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
2037
|
+
trackComposeItem(index: number, item: any): string;
|
|
1980
2038
|
getComposeClasses(row: any, column: ColumnDefinition): string[];
|
|
1981
2039
|
getComposeGapStyle(row: any, column: ColumnDefinition): any;
|
|
1982
2040
|
private getComposeItemField;
|
|
@@ -2013,7 +2071,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2013
2071
|
onButtonClick(row: any, column: ColumnDefinition, event: Event): void;
|
|
2014
2072
|
getChipText(row: any, column: ColumnDefinition): string | null;
|
|
2015
2073
|
private getRendererTextFieldValue;
|
|
2074
|
+
private normalizeRendererText;
|
|
2016
2075
|
getChipRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2076
|
+
shouldRenderChip(row: any, column: ColumnDefinition): boolean;
|
|
2017
2077
|
getChipIcon(row: any, column: ColumnDefinition): string | null;
|
|
2018
2078
|
getChipClasses(row: any, column: ColumnDefinition): string[];
|
|
2019
2079
|
getProgressValue(row: any, column: ColumnDefinition): number;
|
|
@@ -2092,6 +2152,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2092
2152
|
private getComparableRowIdentity;
|
|
2093
2153
|
getIdField(): string;
|
|
2094
2154
|
private resolveConfigMetaIdField;
|
|
2155
|
+
private normalizeIdField;
|
|
2095
2156
|
private syncRuntimeSchemaMetaFromConfig;
|
|
2096
2157
|
private getEffectiveMetadataSnapshot;
|
|
2097
2158
|
getActionId(action: any): string;
|
|
@@ -2104,10 +2165,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2104
2165
|
getVirtMinHeightStyle(): string;
|
|
2105
2166
|
getVirtMinHeightHostStyle(): string | null;
|
|
2106
2167
|
getVirtualTableWidthStyle(): string | null;
|
|
2168
|
+
isSelectionColumnEnabled(): boolean;
|
|
2169
|
+
isRowClickSelectable(): boolean;
|
|
2107
2170
|
canSelectAll(): boolean;
|
|
2108
2171
|
masterToggle(): void;
|
|
2109
2172
|
isAllSelected(): boolean;
|
|
2110
2173
|
toggleRow(row: any): void;
|
|
2174
|
+
getRowSelectionAriaLabel(row: any, index?: number): string;
|
|
2175
|
+
getMasterSelectionAriaLabel(): string;
|
|
2111
2176
|
private selectRowFromUserInteraction;
|
|
2112
2177
|
private emitSelectionChange;
|
|
2113
2178
|
private getSelectedRowsSnapshot;
|
|
@@ -2180,7 +2245,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2180
2245
|
private scheduleRowDiscoveryMarkForCheck;
|
|
2181
2246
|
ngOnDestroy(): void;
|
|
2182
2247
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTable, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
2183
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
2248
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
2184
2249
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
2185
2250
|
}
|
|
2186
2251
|
|
|
@@ -2372,7 +2437,15 @@ interface ExtendedColumnDefinition extends ColumnDefinition {
|
|
|
2372
2437
|
resizable?: boolean;
|
|
2373
2438
|
filterable?: boolean;
|
|
2374
2439
|
}
|
|
2375
|
-
|
|
2440
|
+
interface RendererFieldOption {
|
|
2441
|
+
name: string;
|
|
2442
|
+
label: string;
|
|
2443
|
+
type?: string;
|
|
2444
|
+
isVisible: boolean;
|
|
2445
|
+
isHidden?: boolean;
|
|
2446
|
+
}
|
|
2447
|
+
type ComposePresetId = 'personAvatar' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
|
|
2448
|
+
declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
2376
2449
|
private cdr;
|
|
2377
2450
|
private readonly i18n;
|
|
2378
2451
|
tx(key: string, fallback: string): string;
|
|
@@ -2380,6 +2453,15 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2380
2453
|
readonly ratingRendererHint: string;
|
|
2381
2454
|
readonly composeRatingRendererHint: string;
|
|
2382
2455
|
config: TableConfig;
|
|
2456
|
+
fieldMetadata: Array<{
|
|
2457
|
+
name?: string;
|
|
2458
|
+
label?: string;
|
|
2459
|
+
type?: string;
|
|
2460
|
+
tableHidden?: boolean;
|
|
2461
|
+
hidden?: boolean;
|
|
2462
|
+
xUi?: Record<string, any>;
|
|
2463
|
+
ui?: Record<string, any>;
|
|
2464
|
+
}>;
|
|
2383
2465
|
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
2384
2466
|
columnChange: EventEmitter<ColumnChange>;
|
|
2385
2467
|
columns: ExtendedColumnDefinition[];
|
|
@@ -2402,12 +2484,7 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2402
2484
|
onlyVisibleRendererFields: boolean;
|
|
2403
2485
|
uiRendererType: 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'rating' | 'html' | 'compose' | null;
|
|
2404
2486
|
private _rendererApplyTimer;
|
|
2405
|
-
rendererFieldOptions:
|
|
2406
|
-
name: string;
|
|
2407
|
-
label: string;
|
|
2408
|
-
type?: string;
|
|
2409
|
-
isVisible: boolean;
|
|
2410
|
-
}>;
|
|
2487
|
+
rendererFieldOptions: RendererFieldOption[];
|
|
2411
2488
|
uiRendererConditional: boolean;
|
|
2412
2489
|
condOverridesSelectedIndex: number;
|
|
2413
2490
|
getConditionalOverrides(): any[];
|
|
@@ -2433,15 +2510,14 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2433
2510
|
private rendererAppliedSnapshot;
|
|
2434
2511
|
previewRows: any[];
|
|
2435
2512
|
private refreshRendererFieldOptions;
|
|
2436
|
-
getRendererFieldOptions():
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
isVisible: boolean;
|
|
2441
|
-
}>;
|
|
2513
|
+
getRendererFieldOptions(): RendererFieldOption[];
|
|
2514
|
+
formatRendererFieldOption(option: RendererFieldOption): string;
|
|
2515
|
+
private buildRendererFieldOptions;
|
|
2516
|
+
private sortRendererFieldOptions;
|
|
2442
2517
|
onRendererFieldToggleChange(): void;
|
|
2443
2518
|
constructor(cdr: ChangeDetectorRef);
|
|
2444
2519
|
ngOnInit(): void;
|
|
2520
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2445
2521
|
ngOnDestroy(): void;
|
|
2446
2522
|
private updateGlobalSettings;
|
|
2447
2523
|
private updateVisibilityState;
|
|
@@ -2580,6 +2656,7 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2580
2656
|
private normalizePreviewRatingValue;
|
|
2581
2657
|
getPreviewAvatarSrc(row: any): string | null;
|
|
2582
2658
|
getPreviewAvatarInitials(row: any): string;
|
|
2659
|
+
private derivePreviewAvatarInitials;
|
|
2583
2660
|
getPreviewAvatarStyle(): Record<string, string>;
|
|
2584
2661
|
getPreviewAvatarShape(): 'square' | 'rounded' | 'circle' | undefined;
|
|
2585
2662
|
getPreviewToggleState(row: any): boolean;
|
|
@@ -2597,6 +2674,7 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2597
2674
|
}>;
|
|
2598
2675
|
private getComposeItemSummary;
|
|
2599
2676
|
addComposeItem(kind: string): void;
|
|
2677
|
+
applyComposePreset(preset: ComposePresetId): void;
|
|
2600
2678
|
removeComposeItem(index: number): void;
|
|
2601
2679
|
duplicateComposeItem(index: number): void;
|
|
2602
2680
|
onComposeReorder(event: any): void;
|
|
@@ -2606,6 +2684,8 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2606
2684
|
getSelectedComposeItem(): any;
|
|
2607
2685
|
getSelectedComposeItemProp(path: string): any;
|
|
2608
2686
|
setSelectedComposeItemProp(path: string, value: any): void;
|
|
2687
|
+
private findRendererFieldByCandidates;
|
|
2688
|
+
private normalizeFieldLookup;
|
|
2609
2689
|
getColumnKeyInputType(column: ColumnDefinition | null): 'text' | 'number' | 'boolean';
|
|
2610
2690
|
onMappingChange(mapping: {
|
|
2611
2691
|
[key: string | number]: string;
|
|
@@ -2642,7 +2722,7 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnDestroy {
|
|
|
2642
2722
|
}): void;
|
|
2643
2723
|
private updateFieldSchemasForStyleRules;
|
|
2644
2724
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsConfigEditorComponent, never>;
|
|
2645
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnsConfigEditorComponent, "columns-config-editor", never, { "config": { "alias": "config"; "required": false; }; }, { "configChange": "configChange"; "columnChange": "columnChange"; }, never, never, true, never>;
|
|
2725
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnsConfigEditorComponent, "columns-config-editor", never, { "config": { "alias": "config"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; }, { "configChange": "configChange"; "columnChange": "columnChange"; }, never, never, true, never>;
|
|
2646
2726
|
}
|
|
2647
2727
|
|
|
2648
2728
|
interface BehaviorConfigChange {
|
|
@@ -2904,6 +2984,9 @@ declare class ToolbarActionsEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
2904
2984
|
private getActionDraftKey;
|
|
2905
2985
|
private getActionDedupeKey;
|
|
2906
2986
|
pickAddButtonIcon(): Promise<void>;
|
|
2987
|
+
pickToolbarIcon(): Promise<void>;
|
|
2988
|
+
private normalizeToolbarIcon;
|
|
2989
|
+
private normalizeToolbarTextAlign;
|
|
2907
2990
|
pickActionIcon(index: number): Promise<void>;
|
|
2908
2991
|
pickRowActionIcon(index: number): Promise<void>;
|
|
2909
2992
|
pickBulkActionIcon(index: number): Promise<void>;
|
|
@@ -3299,6 +3382,7 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3299
3382
|
ngOnDestroy(): void;
|
|
3300
3383
|
get columnFields(): string[];
|
|
3301
3384
|
getOperatorsForField(fieldName: string | null): string[];
|
|
3385
|
+
getFieldDisplayLabel(fieldName: string | null): string;
|
|
3302
3386
|
onScopeChange(scope: 'row' | 'column'): void;
|
|
3303
3387
|
onColumnSelect(field: string): void;
|
|
3304
3388
|
private initFromConfig;
|
|
@@ -3508,6 +3592,7 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
3508
3592
|
private readonly panelRef;
|
|
3509
3593
|
constructor(cdr: ChangeDetectorRef, configService: TableConfigService);
|
|
3510
3594
|
tx(key: string, fallback: string): string;
|
|
3595
|
+
private normalizeSearchText;
|
|
3511
3596
|
private isDebugLoggingEnabled;
|
|
3512
3597
|
private debugLog;
|
|
3513
3598
|
ngOnInit(): void;
|
|
@@ -3521,6 +3606,8 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
3521
3606
|
private cloneFilterSettings;
|
|
3522
3607
|
private isEffectivelyEmptyFilterSettings;
|
|
3523
3608
|
getFilterSettingsMetas(): FieldMetadata[];
|
|
3609
|
+
getColumnAuthoringMetas(): FieldMetadata[];
|
|
3610
|
+
get filteredIdFieldOptions(): FieldMetadata[];
|
|
3524
3611
|
isUsingFilterDtoMetas(): boolean;
|
|
3525
3612
|
getEffectiveDataMode(): EffectiveDataMode;
|
|
3526
3613
|
isEffectiveLocalMode(): boolean;
|
|
@@ -3554,6 +3641,7 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
3554
3641
|
onResourcePathChange(val: string): void;
|
|
3555
3642
|
private loadFilterDtoMetas;
|
|
3556
3643
|
onIdFieldChange(val: string): void;
|
|
3644
|
+
onIdFieldOptionSelected(value: string): void;
|
|
3557
3645
|
onHorizontalScrollChange(val: 'auto' | 'wrap' | 'none'): void;
|
|
3558
3646
|
onReconcileIdField(): void;
|
|
3559
3647
|
onAcceptServerHash(): void;
|
|
@@ -3621,6 +3709,8 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
3621
3709
|
readonly isDirty$: BehaviorSubject<boolean>;
|
|
3622
3710
|
readonly isValid$: BehaviorSubject<boolean>;
|
|
3623
3711
|
readonly isBusy$: BehaviorSubject<boolean>;
|
|
3712
|
+
private readonly cdr;
|
|
3713
|
+
private readonly crudService;
|
|
3624
3714
|
private readonly subscription;
|
|
3625
3715
|
ngAfterViewInit(): void;
|
|
3626
3716
|
ngOnDestroy(): void;
|
|
@@ -3628,6 +3718,11 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
|
|
|
3628
3718
|
onSave(): PraxisTableWidgetEditorValue;
|
|
3629
3719
|
reset(): void;
|
|
3630
3720
|
private initializeChildEditor;
|
|
3721
|
+
private hydrateColumnsFromSchemaIfNeeded;
|
|
3722
|
+
private fieldToColumn;
|
|
3723
|
+
private resolveColumnType;
|
|
3724
|
+
private humanizeFieldName;
|
|
3725
|
+
private tryInject;
|
|
3631
3726
|
private buildValue;
|
|
3632
3727
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableWidgetConfigEditor, never>;
|
|
3633
3728
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableWidgetConfigEditor, "praxis-table-widget-config-editor", never, { "inputs": { "alias": "inputs"; "required": false; }; "widgetKey": { "alias": "widgetKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -3837,6 +3932,8 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
3837
3932
|
workingConfig: TableConfig;
|
|
3838
3933
|
toolbarTitle: string;
|
|
3839
3934
|
toolbarSubtitle: string;
|
|
3935
|
+
toolbarIcon: string;
|
|
3936
|
+
toolbarTextAlign: 'start' | 'center' | 'end';
|
|
3840
3937
|
toolbarVisible: boolean;
|
|
3841
3938
|
density: 'compact' | 'comfortable' | 'spacious';
|
|
3842
3939
|
toolbarActionsPosition: 'top' | 'bottom' | 'both';
|
|
@@ -3867,6 +3964,8 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
3867
3964
|
ngOnChanges(): void;
|
|
3868
3965
|
setToolbarTitle(value: string): void;
|
|
3869
3966
|
setToolbarSubtitle(value: string): void;
|
|
3967
|
+
setToolbarIcon(value: string): void;
|
|
3968
|
+
setToolbarTextAlign(value: 'start' | 'center' | 'end'): void;
|
|
3870
3969
|
setToolbarVisible(value: boolean): void;
|
|
3871
3970
|
setDensity(value: 'compact' | 'comfortable' | 'spacious'): void;
|
|
3872
3971
|
setToolbarActionsPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
@@ -3896,6 +3995,8 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
|
3896
3995
|
behaviorSummary(): string;
|
|
3897
3996
|
statesSummary(): string;
|
|
3898
3997
|
columnsPreviewSummary(): string;
|
|
3998
|
+
private normalizeToolbarTextAlign;
|
|
3999
|
+
private normalizeToolbarIcon;
|
|
3899
4000
|
serializedConfig(): string;
|
|
3900
4001
|
tx(key: string, fallback: string): string;
|
|
3901
4002
|
private emitConfig;
|
|
@@ -4489,4 +4590,4 @@ declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[],
|
|
|
4489
4590
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4490
4591
|
|
|
4491
4592
|
export { AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisFilter, PraxisFilterWidgetConfigEditor, PraxisTable, PraxisTableConfigEditor, PraxisTableInlineAuthoringEditorComponent, PraxisTableToolbar, PraxisTableWidgetConfigEditor, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, TABLE_COMPONENT_EDIT_PLAN_KIND, TABLE_COMPONENT_EDIT_PLAN_VERSION, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
4492
|
-
export type { ActionLike, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|
|
4593
|
+
export type { ActionLike, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, StringFormatterOptions, TableAiContext, TableAiNavigationContextPack, TableAiNavigationDestinationContext, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, TableComponentEditChangeKind, TableComponentEditPlan, TableComponentEditPlanCompileResult, ValueKind as TableComponentValueKind, TableConfigPersistenceStrategy, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|