@praxisui/table 9.0.0-beta.5 → 9.0.0-beta.51
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 +56 -1
- package/ai/component-registry.json +22256 -0
- package/docs/column-resize-reorder-implementation-plan.md +42 -34
- package/docs/local-data-support-implementation-plan.md +17 -17
- package/docs/local-data-support-pr-package.md +12 -12
- package/docs/release-notes-p1-hardening.md +1 -3
- package/docs/resource-events.md +26 -0
- package/fesm2022/{praxisui-table-praxisui-table-B-goiuDf.mjs → praxisui-table-praxisui-table-D5UThmhh.mjs} +2756 -632
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DL9l0XF7.mjs → praxisui-table-table-agentic-authoring-turn-flow-Ch_ORcol.mjs} +241 -17
- package/fesm2022/{praxisui-table-table-ai.adapter-9uRovA63.mjs → praxisui-table-table-ai.adapter-DE5WpZ-t.mjs} +113 -13
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +16 -11
- package/src/lib/praxis-table.json-api.md +47 -17
- package/types/praxisui-table.d.ts +192 -24
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _praxisui_core 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,
|
|
2
|
+
import { TableToolbarAppearanceConfig, TableConfig, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceDensity, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, GlobalConfigService, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceSurfaceCatalogItem, ResourceCapabilityOperation, 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
|
-
import { InjectionToken, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, AfterViewInit, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterContentInit, Injector } from '@angular/core';
|
|
4
|
+
import { InjectionToken, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, AfterViewInit, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterContentInit, Injector, Type } from '@angular/core';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
6
7
|
import { MatTable, MatTableDataSource } from '@angular/material/table';
|
|
7
8
|
import * as _angular_material_paginator from '@angular/material/paginator';
|
|
8
9
|
import { MatPaginatorSelectConfig, MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
@@ -36,6 +37,7 @@ interface ActionLike {
|
|
|
36
37
|
}
|
|
37
38
|
declare function getActionId(action: ActionLike): string;
|
|
38
39
|
|
|
40
|
+
declare const PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS: Record<string, TableToolbarAppearanceConfig>;
|
|
39
41
|
declare const PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE: InjectionToken<TableToolbarAppearanceConfig>;
|
|
40
42
|
declare const PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS: InjectionToken<Record<string, TableToolbarAppearanceConfig>>;
|
|
41
43
|
declare function providePraxisTableToolbarAppearance(appearance: TableToolbarAppearanceConfig, presets?: Record<string, TableToolbarAppearanceConfig>): Provider[];
|
|
@@ -63,6 +65,8 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
63
65
|
}>;
|
|
64
66
|
exportAction: EventEmitter<{
|
|
65
67
|
format: string;
|
|
68
|
+
scope?: PraxisExportScope;
|
|
69
|
+
localOnly?: boolean;
|
|
66
70
|
}>;
|
|
67
71
|
columnVisibilityToggle: EventEmitter<{
|
|
68
72
|
field: string;
|
|
@@ -74,6 +78,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
74
78
|
private readonly warnedInvalidToolbarActionTypes;
|
|
75
79
|
private readonly warnedMenuWithoutChildren;
|
|
76
80
|
private readonly warnedVisibleWhenFallback;
|
|
81
|
+
private readonly warnedDisabledWhenFallback;
|
|
77
82
|
private readonly warnedInvalidShortcuts;
|
|
78
83
|
private readonly warnedInvalidShortcutScopes;
|
|
79
84
|
private readonly warnedShortcutConflicts;
|
|
@@ -92,8 +97,18 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
92
97
|
getToolbarIcon(): string | null;
|
|
93
98
|
getToolbarTextAlign(): 'start' | 'center' | 'end';
|
|
94
99
|
getExportDataLabel(): string;
|
|
100
|
+
getVisibleExcelExportLabel(): string;
|
|
101
|
+
getVisibleExcelExportDescription(): string;
|
|
102
|
+
getVisibleExcelExportAriaLabel(): string;
|
|
103
|
+
getExportFormatLabel(format: unknown): string;
|
|
104
|
+
getExportFormatTooltip(format: unknown): string;
|
|
105
|
+
getExportFormatAriaLabel(format: unknown): string;
|
|
95
106
|
getMoreActionsLabel(): string;
|
|
96
107
|
emitExportAction(event: Event, format: string): void;
|
|
108
|
+
emitVisibleExcelExportAction(event: Event): void;
|
|
109
|
+
isExcelExportFormat(format: unknown): boolean;
|
|
110
|
+
isVisibleExcelExportEnabled(format: unknown): boolean;
|
|
111
|
+
private normalizeExportFormat;
|
|
97
112
|
getColumnsVisibilityLabel(): string;
|
|
98
113
|
getColumnsVisibilityIcon(): string;
|
|
99
114
|
isColumnsVisibilityEnabled(): boolean;
|
|
@@ -104,6 +119,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
104
119
|
onColumnVisibilityMenuToggle(event: Event, field: string, currentlyVisible: boolean): void;
|
|
105
120
|
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
106
121
|
private tx;
|
|
122
|
+
private interpolateText;
|
|
107
123
|
ngOnDestroy(): void;
|
|
108
124
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
109
125
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -129,21 +145,29 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
129
145
|
getActionColor(action: any): any;
|
|
130
146
|
getActionAriaLabel(action: any): string;
|
|
131
147
|
isActionDisabled(action: any): boolean;
|
|
148
|
+
getActionTooltip(action: any): string | null;
|
|
132
149
|
onDocumentKeydown(event: KeyboardEvent): void;
|
|
133
150
|
getBulkActionsPosition(): 'toolbar' | 'floating' | 'both';
|
|
134
151
|
shouldRenderToolbarBulkActions(): boolean;
|
|
135
152
|
getBulkToolbarActions(): any[];
|
|
153
|
+
private isBulkToolbarAction;
|
|
136
154
|
private getVisibleToolbarActions;
|
|
137
155
|
private resolveVisibleToolbarAction;
|
|
138
156
|
private isActionVisible;
|
|
139
157
|
private evaluateVisibleWhen;
|
|
158
|
+
private evaluateDisabledWhen;
|
|
159
|
+
private resolveDisabledWhenFallback;
|
|
140
160
|
private isJsonLogicExpression;
|
|
141
161
|
private resolveVisibleWhenFallback;
|
|
142
162
|
private resolveVisibleWhenFallbackPolicy;
|
|
143
163
|
private resolveRuntimeEnvironment;
|
|
144
|
-
private isDiagnosticsEnvironment;
|
|
145
164
|
private buildEvaluationContext;
|
|
165
|
+
private getSelectedCount;
|
|
166
|
+
private getBulkActionMinSelections;
|
|
167
|
+
private getBulkActionMaxSelections;
|
|
168
|
+
private resolveDisabledActionReason;
|
|
146
169
|
private warnVisibleWhenFallback;
|
|
170
|
+
private warnDisabledWhenFallback;
|
|
147
171
|
private collectShortcutBindings;
|
|
148
172
|
private resolveShortcutScope;
|
|
149
173
|
private normalizeShortcutCombo;
|
|
@@ -360,8 +384,9 @@ type FilterConfig = {
|
|
|
360
384
|
};
|
|
361
385
|
declare class FilterConfigService {
|
|
362
386
|
private storage;
|
|
387
|
+
private localStorage;
|
|
363
388
|
private readonly PREFIX;
|
|
364
|
-
constructor(storage: AsyncConfigStorage);
|
|
389
|
+
constructor(storage: AsyncConfigStorage, localStorage: LocalStorageConfigService);
|
|
365
390
|
/**
|
|
366
391
|
* Load a persisted filter configuration for the given key.
|
|
367
392
|
*/
|
|
@@ -370,6 +395,11 @@ declare class FilterConfigService {
|
|
|
370
395
|
* Persist a filter configuration for the given key.
|
|
371
396
|
*/
|
|
372
397
|
save(key: string, config: FilterConfig): void;
|
|
398
|
+
/**
|
|
399
|
+
* Clear the persisted filter configuration from both remote storage and the
|
|
400
|
+
* local fallback cache so reset/reopen cannot revive stale preferences.
|
|
401
|
+
*/
|
|
402
|
+
clear(key: string): void;
|
|
373
403
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterConfigService, never>;
|
|
374
404
|
static ɵprov: i0.ɵɵInjectableDeclaration<FilterConfigService>;
|
|
375
405
|
}
|
|
@@ -652,6 +682,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
652
682
|
private resolveInitialDto;
|
|
653
683
|
private syncFormsFromDto;
|
|
654
684
|
private refreshProgrammaticFilterFieldDisplays;
|
|
685
|
+
private getProgrammaticRefreshFieldNames;
|
|
655
686
|
private refreshProgrammaticFilterFieldDisplay;
|
|
656
687
|
ngOnInit(): Promise<void>;
|
|
657
688
|
ngAfterViewInit(): void;
|
|
@@ -996,6 +1027,7 @@ type RuntimeRowAction = {
|
|
|
996
1027
|
overflow?: boolean;
|
|
997
1028
|
__praxisDiscoveredAction?: ResourceActionCatalogItem;
|
|
998
1029
|
__praxisDiscoveredSurface?: ResourceSurfaceCatalogItem;
|
|
1030
|
+
__praxisCrudOperation?: ResourceCapabilityOperation;
|
|
999
1031
|
__praxisCapabilityDenied?: boolean;
|
|
1000
1032
|
};
|
|
1001
1033
|
type ExpansionDetailRuntimeStatus = 'idle' | 'loading' | 'ready' | 'error' | 'blocked';
|
|
@@ -1006,6 +1038,10 @@ type ExpansionDetailViewState = {
|
|
|
1006
1038
|
message: string | null;
|
|
1007
1039
|
source: ExpansionDetailResolvedSource | null;
|
|
1008
1040
|
};
|
|
1041
|
+
type ExpansionDetailInlineRendererView = {
|
|
1042
|
+
component: Type<unknown>;
|
|
1043
|
+
inputs: Record<string, unknown>;
|
|
1044
|
+
};
|
|
1009
1045
|
declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterContentInit, OnDestroy {
|
|
1010
1046
|
private cdr;
|
|
1011
1047
|
private settingsPanel;
|
|
@@ -1037,7 +1073,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1037
1073
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1038
1074
|
private _resourceDiscovery?;
|
|
1039
1075
|
private _resourceSurfaceOpenAdapter?;
|
|
1076
|
+
private _crudOperationResolver?;
|
|
1040
1077
|
private readonly runtimeObservationRegistry;
|
|
1078
|
+
private readonly detailInlineRenderers;
|
|
1079
|
+
private collectionLinks;
|
|
1080
|
+
private collectionCapabilities;
|
|
1081
|
+
private collectionCapabilitiesRequestHref;
|
|
1082
|
+
private collectionCapabilitiesResolvedHref;
|
|
1083
|
+
private collectionCapabilitiesRequestSeq;
|
|
1084
|
+
private readonly detailInlineNodeResolvers;
|
|
1041
1085
|
private runtimeObservationRegistration;
|
|
1042
1086
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1043
1087
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
@@ -1070,6 +1114,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1070
1114
|
private advancedFilterMetadataOverridesCache?;
|
|
1071
1115
|
rowClick: EventEmitter<any>;
|
|
1072
1116
|
widgetEvent: EventEmitter<any>;
|
|
1117
|
+
resourceEvent: EventEmitter<PraxisResourceEvent<unknown>>;
|
|
1073
1118
|
rowDoubleClick: EventEmitter<any>;
|
|
1074
1119
|
rowExpansionChange: EventEmitter<RowExpansionChangeEvent>;
|
|
1075
1120
|
rowAction: EventEmitter<any>;
|
|
@@ -1078,6 +1123,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1078
1123
|
exportAction: EventEmitter<any>;
|
|
1079
1124
|
columnReorder: EventEmitter<any>;
|
|
1080
1125
|
columnReorderAttempt: EventEmitter<any>;
|
|
1126
|
+
columnResize: EventEmitter<any>;
|
|
1081
1127
|
beforeDelete: EventEmitter<any>;
|
|
1082
1128
|
afterDelete: EventEmitter<any>;
|
|
1083
1129
|
deleteError: EventEmitter<any>;
|
|
@@ -1119,8 +1165,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1119
1165
|
private columnReorderStatusTimer;
|
|
1120
1166
|
private columnReorderVisualStatusTimer;
|
|
1121
1167
|
private columnReorderUndoSubscription;
|
|
1122
|
-
private
|
|
1123
|
-
private
|
|
1168
|
+
private columnRuntimeMutationOperationCounter;
|
|
1169
|
+
private latestColumnRuntimeMutationOperationId;
|
|
1170
|
+
private columnResizeTransientWidths;
|
|
1171
|
+
private columnResizeTableWidthStyle;
|
|
1172
|
+
private columnResizeLayoutSignature;
|
|
1173
|
+
private isApplyingColumnResizeLayoutMutation;
|
|
1174
|
+
private activeColumnResize;
|
|
1175
|
+
private readonly columnResizePointerMoveListener;
|
|
1176
|
+
private readonly columnResizePointerUpListener;
|
|
1177
|
+
private readonly columnResizePointerCancelListener;
|
|
1178
|
+
private readonly columnResizeKeydownListener;
|
|
1124
1179
|
localSource: any[];
|
|
1125
1180
|
localView: any[];
|
|
1126
1181
|
localTotal: number;
|
|
@@ -1158,8 +1213,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1158
1213
|
private rowDiscoveryMarkForCheckScheduled;
|
|
1159
1214
|
private lastRowDiscoveryScopeKey;
|
|
1160
1215
|
private readonly i18n;
|
|
1216
|
+
private readonly sanitizer;
|
|
1161
1217
|
private readonly collectionExport;
|
|
1162
1218
|
private readonly paginatorIntl;
|
|
1219
|
+
private readonly schemaNormalizer;
|
|
1163
1220
|
private schemaFieldsSnapshot;
|
|
1164
1221
|
private filterSchemaFieldsSnapshot;
|
|
1165
1222
|
private runtimeSchemaMeta;
|
|
@@ -1193,9 +1250,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1193
1250
|
getRowActionsWidthStyle(): string | null;
|
|
1194
1251
|
getColumnTextAlignStyle(column: ColumnDefinition): string | null;
|
|
1195
1252
|
getColumnWidthStyle(column: ColumnDefinition): string | null;
|
|
1253
|
+
getColumnResizeTableWidthStyle(): string | null;
|
|
1196
1254
|
getColumnHeaderAttrStyle(column: ColumnDefinition): string | null;
|
|
1197
1255
|
getColumnHeaderNgStyle(column: ColumnDefinition): Record<string, string> | undefined;
|
|
1198
1256
|
getColumnCellAttrStyle(column: ColumnDefinition): string | null;
|
|
1257
|
+
private mergeColumnWidthIntoInlineStyle;
|
|
1258
|
+
private buildColumnWidthInlineStyle;
|
|
1199
1259
|
getTableElevationClassName(): string;
|
|
1200
1260
|
private normalizeTableElevationLevel;
|
|
1201
1261
|
private resolveRuntimeTableElevationLevel;
|
|
@@ -1233,6 +1293,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1233
1293
|
private configuredLocaleRuntimeText;
|
|
1234
1294
|
private formatPaginatorRangeLabel;
|
|
1235
1295
|
getNoDataStateIcon(): string;
|
|
1296
|
+
getNoDataStateTone(): 'neutral' | 'primary' | 'secondary';
|
|
1297
|
+
getNoDataStateVariant(): 'card' | 'inline' | 'panel' | 'transparent';
|
|
1298
|
+
getNoDataStateAlignment(): 'start' | 'center';
|
|
1299
|
+
getNoDataStateDensity(): 'compact' | 'comfortable';
|
|
1300
|
+
getNoDataStateIconContainer(): 'none' | 'circle' | 'soft';
|
|
1236
1301
|
getNoDataStatePrimaryAction(): any | null;
|
|
1237
1302
|
getNoDataStateSecondaryActions(): any[];
|
|
1238
1303
|
shouldRenderAdvancedFilter(): boolean;
|
|
@@ -1252,6 +1317,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1252
1317
|
set resolvedPrefs(val: any);
|
|
1253
1318
|
get resolvedPrefs(): any;
|
|
1254
1319
|
dense: boolean;
|
|
1320
|
+
private hostDeclaredAppearanceDensity;
|
|
1321
|
+
private hostDeclaredAppearanceSpacing;
|
|
1322
|
+
private hostDeclaredAppearanceTypography;
|
|
1255
1323
|
private resolveAppearanceDensity;
|
|
1256
1324
|
get hostDensityCompactClass(): boolean;
|
|
1257
1325
|
get hostDensityComfortableClass(): boolean;
|
|
@@ -1340,6 +1408,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1340
1408
|
private tableConfigKey;
|
|
1341
1409
|
private filterConfigKey;
|
|
1342
1410
|
private ensureConfigDefaults;
|
|
1411
|
+
private hasDeclaredAppearanceDensity;
|
|
1412
|
+
private hasDeclaredAppearanceSection;
|
|
1413
|
+
private shouldApplyAppearanceDefaultValue;
|
|
1343
1414
|
private mergePersistedTableConfigWithInput;
|
|
1344
1415
|
private reconcileHostDeclaredTableContract;
|
|
1345
1416
|
private reconcileHostDeclaredColumns;
|
|
@@ -1348,12 +1419,33 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1348
1419
|
private normalizePersistedExportFormats;
|
|
1349
1420
|
private normalizePersistedRowActionIds;
|
|
1350
1421
|
private normalizePersistedColumnIds;
|
|
1422
|
+
private columnIdentitySetChanged;
|
|
1351
1423
|
private clonePlainObject;
|
|
1352
1424
|
private setShowToolbar;
|
|
1353
1425
|
private shouldExposeToolbar;
|
|
1426
|
+
private resolveCollectionDiscoveryOptions;
|
|
1427
|
+
private updateCollectionLinks;
|
|
1428
|
+
private resolveCollectionCapabilitiesHref;
|
|
1429
|
+
private materializeCollectionCreateToolbarAction;
|
|
1430
|
+
private ensureToolbarConfigForRuntime;
|
|
1431
|
+
private buildCollectionCreateToolbarAction;
|
|
1432
|
+
private resolveCollectionCreateRuntime;
|
|
1433
|
+
private resolveCollectionResourcePath;
|
|
1434
|
+
private hasCollectionCreateLink;
|
|
1435
|
+
private resolveCollectionCreateCapabilityOperation;
|
|
1436
|
+
private createSyntheticCollectionCrudOperation;
|
|
1437
|
+
private resolveCollectionCreateSurface;
|
|
1438
|
+
private isWritableCrudSurface;
|
|
1439
|
+
private isCollectionCreateSurface;
|
|
1440
|
+
private getCollectionCreateActionLabel;
|
|
1441
|
+
private getCollectionCreateActionTooltip;
|
|
1442
|
+
private getCollectionCreateUnavailableTooltip;
|
|
1443
|
+
private resolveCollectionCreateDisabled;
|
|
1444
|
+
private isCreateToolbarAction;
|
|
1354
1445
|
constructor(cdr: ChangeDetectorRef, settingsPanel: SettingsPanelService, crudService: GenericCrudService<any, any>, tableDefaultsProvider: TableDefaultsProvider, filterConfig: FilterConfigService, formattingService: DataFormattingService, pxDialog: PraxisDialog, snackBar: MatSnackBar, asyncConfigStorage: AsyncConfigStorage, connectionStorage: ConnectionStorage, hostRef: ElementRef<HTMLElement>, global: GlobalConfigService, injector: Injector, componentKeys: ComponentKeyService, loadingOrchestrator: LoadingOrchestrator, globalActions: GlobalActionService, loadingRenderer?: PraxisLoadingRenderer | undefined, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined, analyticsStatsApi?: AnalyticsTableStatsApiService | undefined);
|
|
1355
1446
|
private get resourceDiscovery();
|
|
1356
1447
|
private get resourceSurfaceOpenAdapter();
|
|
1448
|
+
private get crudOperationResolver();
|
|
1357
1449
|
private ensureAiAdapterLoaded;
|
|
1358
1450
|
openAiAssistant(): void;
|
|
1359
1451
|
aiAssistantTriggerTestId(position: string): string;
|
|
@@ -1362,6 +1454,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1362
1454
|
aiAssistantTriggerBadge(): string;
|
|
1363
1455
|
aiAssistantTriggerLabel(): string;
|
|
1364
1456
|
aiAssistantTriggerTooltip(): string;
|
|
1457
|
+
isAiAssistantEnabled(): boolean;
|
|
1458
|
+
shouldShowAiAssistantEntrypoint(): boolean;
|
|
1365
1459
|
openAiAssistantFromSession(session: PraxisAssistantSessionSnapshot): void;
|
|
1366
1460
|
closeAiAssistant(): void;
|
|
1367
1461
|
onAiAssistantPromptChange(prompt: string): void;
|
|
@@ -1405,6 +1499,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1405
1499
|
private buildRuntimeObservationClaims;
|
|
1406
1500
|
private isRuntimeObservationVisible;
|
|
1407
1501
|
private syncAiAssistantSession;
|
|
1502
|
+
private disableAiAssistantSession;
|
|
1408
1503
|
private assistantContextRuntimeLocale;
|
|
1409
1504
|
private refreshAiAssistantContextAfterSelectionChange;
|
|
1410
1505
|
private hasAiAssistantSessionState;
|
|
@@ -1423,6 +1518,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1423
1518
|
private hasActiveDataFilters;
|
|
1424
1519
|
private hasMeaningfulFilterValue;
|
|
1425
1520
|
private resolveNoDataStateConfig;
|
|
1521
|
+
private isEmptyStateTone;
|
|
1522
|
+
private isEmptyStateVariant;
|
|
1426
1523
|
private mapEmptyStateAction;
|
|
1427
1524
|
private onEmptyStateAction;
|
|
1428
1525
|
private buildLoadingContext;
|
|
@@ -1512,6 +1609,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1512
1609
|
getExpansionDetailEmbedHeaderNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1513
1610
|
getExpansionDetailEmbedMetaNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1514
1611
|
getExpansionDetailEmbedActionNodes(action: TableDetailEmbedAction | any): RichBlockNode[];
|
|
1612
|
+
getExpansionDetailInlineRendererView(node: TableDetailRefNode | any, row: any, index: number): ExpansionDetailInlineRendererView | null;
|
|
1613
|
+
private resolveExpansionDetailInlineRenderer;
|
|
1614
|
+
private resolveExpansionDetailInlineNode;
|
|
1515
1615
|
getExpansionDetailEmbedAction(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any, row: any, index: number): TableDetailEmbedAction | null;
|
|
1516
1616
|
isExpansionDetailEmbedActionDisabled(action: TableDetailEmbedAction | any, row: any, index: number): boolean;
|
|
1517
1617
|
getExpansionDetailEmbedEmptyText(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): string;
|
|
@@ -1659,6 +1759,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1659
1759
|
action: string;
|
|
1660
1760
|
actionConfig?: any;
|
|
1661
1761
|
}): Promise<void>;
|
|
1762
|
+
private tryHandleCollectionCreateToolbarAction;
|
|
1662
1763
|
private resolveBulkExportFormat;
|
|
1663
1764
|
private isBulkExportActionKey;
|
|
1664
1765
|
private normalizeExportFormat;
|
|
@@ -1667,10 +1768,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1667
1768
|
onExportAction(event: {
|
|
1668
1769
|
format: string;
|
|
1669
1770
|
scope?: PraxisExportScope;
|
|
1771
|
+
localOnly?: boolean;
|
|
1670
1772
|
}): Promise<void>;
|
|
1671
1773
|
canRunExportAction(format: unknown): boolean;
|
|
1672
1774
|
private shouldBlockSelectedExportWithoutSelection;
|
|
1673
1775
|
private buildTableExportRequest;
|
|
1776
|
+
private buildVisibleExcelExportRequest;
|
|
1777
|
+
private resolveVisibleExcelExportFileName;
|
|
1778
|
+
private formatExportDate;
|
|
1674
1779
|
private resolveEffectiveExportScope;
|
|
1675
1780
|
private resolveTableExportLoadedItems;
|
|
1676
1781
|
private computeLocalExportRows;
|
|
@@ -1728,6 +1833,46 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1728
1833
|
isColumnDraggingEnabled(): boolean;
|
|
1729
1834
|
isColumnDragIndicatorEnabled(): boolean;
|
|
1730
1835
|
isColumnDraggable(column: ColumnDefinition | null | undefined): boolean;
|
|
1836
|
+
isColumnResizeEnabled(): boolean;
|
|
1837
|
+
isColumnResizable(column: ColumnDefinition | null | undefined): boolean;
|
|
1838
|
+
isColumnResizeActive(column?: ColumnDefinition | null): boolean;
|
|
1839
|
+
getColumnResizeHandleAriaLabel(column: ColumnDefinition): string;
|
|
1840
|
+
getColumnResizeHandleTooltip(column: ColumnDefinition): string;
|
|
1841
|
+
getColumnResizeMinWidthAriaValue(column: ColumnDefinition): number;
|
|
1842
|
+
getColumnResizeMaxWidthAriaValue(column: ColumnDefinition): number | null;
|
|
1843
|
+
getColumnResizeCurrentWidthAriaValue(column: ColumnDefinition): number | null;
|
|
1844
|
+
onColumnResizeHandleClick(event: MouseEvent): void;
|
|
1845
|
+
onColumnResizeHandleKeydown(event: KeyboardEvent, column: ColumnDefinition): void;
|
|
1846
|
+
onColumnResizePointerDown(event: PointerEvent, column: ColumnDefinition): void;
|
|
1847
|
+
private onColumnResizePointerMove;
|
|
1848
|
+
private onColumnResizePointerUp;
|
|
1849
|
+
private onColumnResizePointerCancel;
|
|
1850
|
+
private onColumnResizeDocumentKeydown;
|
|
1851
|
+
private addColumnResizeDocumentListeners;
|
|
1852
|
+
private removeColumnResizeDocumentListeners;
|
|
1853
|
+
private cancelColumnResize;
|
|
1854
|
+
private commitColumnResize;
|
|
1855
|
+
private applyColumnResizeWidth;
|
|
1856
|
+
private emitAndPersistColumnResize;
|
|
1857
|
+
private updateConfigColumnWidth;
|
|
1858
|
+
private updateConfigColumnWidths;
|
|
1859
|
+
private updateColumnResizeTableWidthFromDelta;
|
|
1860
|
+
private captureColumnResizeLockedWidths;
|
|
1861
|
+
private resolveColumnResizeTableWidthPx;
|
|
1862
|
+
private resolveColumnWidthPx;
|
|
1863
|
+
private parseColumnResizePixelWidth;
|
|
1864
|
+
private normalizeColumnResizeWidthStyle;
|
|
1865
|
+
private clampColumnWidthPx;
|
|
1866
|
+
private resolveColumnResizeEffectiveMinWidthPx;
|
|
1867
|
+
private resolveColumnResizeMinWidthPx;
|
|
1868
|
+
private resolveColumnResizeMaxWidthPx;
|
|
1869
|
+
private normalizeColumnResizeConfigWidths;
|
|
1870
|
+
private runColumnResizeLayoutMutation;
|
|
1871
|
+
private reconcileColumnResizeLayoutState;
|
|
1872
|
+
private clearColumnResizeLayoutState;
|
|
1873
|
+
private createColumnResizeLayoutSignature;
|
|
1874
|
+
private formatColumnWidthPx;
|
|
1875
|
+
private isTableRtl;
|
|
1731
1876
|
private resolveColumnReorderHeader;
|
|
1732
1877
|
private isEnglishLocale;
|
|
1733
1878
|
private isEnglishLocaleValue;
|
|
@@ -1744,9 +1889,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1744
1889
|
private emitColumnReorderAttempt;
|
|
1745
1890
|
private createColumnReorderOperationId;
|
|
1746
1891
|
private isLatestColumnReorderOperation;
|
|
1892
|
+
private createColumnRuntimeMutationOperationId;
|
|
1893
|
+
private isLatestColumnRuntimeMutationOperation;
|
|
1747
1894
|
private offerColumnReorderUndo;
|
|
1748
1895
|
private restoreColumnOrderFromUndo;
|
|
1749
|
-
|
|
1896
|
+
onColumnHeaderReorderKeydown(event: KeyboardEvent, column: ColumnDefinition): void;
|
|
1750
1897
|
onColumnDrop(event: CdkDragDrop<ColumnDefinition[]>): void;
|
|
1751
1898
|
onColumnDragStarted(column: ColumnDefinition): void;
|
|
1752
1899
|
onColumnDragEnded(event: CdkDragEnd<ColumnDefinition>, column: ColumnDefinition): void;
|
|
@@ -1766,9 +1913,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1766
1913
|
*/
|
|
1767
1914
|
private verifyServerSchemaVersion;
|
|
1768
1915
|
private loadSchema;
|
|
1916
|
+
private loadOrVerifyRemoteSchema;
|
|
1769
1917
|
private loadFilterSchemaSnapshot;
|
|
1770
1918
|
private convertFieldToColumn;
|
|
1919
|
+
private applySchemaFieldPresentationsToExistingColumns;
|
|
1771
1920
|
private applySchemaFieldPresentation;
|
|
1921
|
+
private applySchemaSemanticCellPresentation;
|
|
1922
|
+
private resolveSemanticPresentationColor;
|
|
1923
|
+
private resolveSemanticPresentationVariant;
|
|
1924
|
+
private resolveSemanticPresentationAffixes;
|
|
1772
1925
|
private resolveSchemaCurrencyFormat;
|
|
1773
1926
|
private resolveSchemaBooleanFormat;
|
|
1774
1927
|
private resolveSchemaValueMapping;
|
|
@@ -1783,10 +1936,6 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1783
1936
|
* Runs only on initial bootstrap (when columns are derived from schema).
|
|
1784
1937
|
*/
|
|
1785
1938
|
private applyAutoRenderer;
|
|
1786
|
-
/**
|
|
1787
|
-
* Check if a value is a valid ColumnDataType
|
|
1788
|
-
*/
|
|
1789
|
-
private isValidColumnDataType;
|
|
1790
1939
|
/**
|
|
1791
1940
|
* Infer column data type from field name patterns when API type is not available
|
|
1792
1941
|
* Refined logic to reduce false positives
|
|
@@ -1921,7 +2070,6 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1921
2070
|
private isJsonLogicExpression;
|
|
1922
2071
|
private hasConditionalExpression;
|
|
1923
2072
|
private resolveRuntimeEnvironment;
|
|
1924
|
-
private isDiagnosticsRuntimeEnvironment;
|
|
1925
2073
|
private logActionConditionFallback;
|
|
1926
2074
|
getRowClasses(rowData: any): string[] | undefined;
|
|
1927
2075
|
getRowNgStyle(rowData: any): Record<string, string> | undefined;
|
|
@@ -1994,6 +2142,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1994
2142
|
getIconAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
1995
2143
|
getIconText(row: any, column: ColumnDefinition): string | null;
|
|
1996
2144
|
getIconRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2145
|
+
private getIconRawText;
|
|
1997
2146
|
/**
|
|
1998
2147
|
* Lightweight, controlled evaluator for string/number expressions using row context.
|
|
1999
2148
|
* Accepts values like '= row.status === "OK" ? "primary" : "warn"'.
|
|
@@ -2034,7 +2183,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2034
2183
|
getBadgeClasses(row: any, column: ColumnDefinition): string[];
|
|
2035
2184
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2036
2185
|
shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
|
|
2037
|
-
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | null;
|
|
2186
|
+
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
|
|
2187
|
+
getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
|
|
2188
|
+
private resolveMicroVisualizationForRow;
|
|
2189
|
+
private applyMicroVisualizationExpression;
|
|
2190
|
+
private evaluateMicroVisualizationExpression;
|
|
2038
2191
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
2039
2192
|
trackComposeItem(index: number, item: any): string;
|
|
2040
2193
|
getComposeClasses(row: any, column: ColumnDefinition): string[];
|
|
@@ -2163,6 +2316,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2163
2316
|
private getVirtualizationSources;
|
|
2164
2317
|
isVirtualized(): boolean;
|
|
2165
2318
|
getVirtItemHeight(): number;
|
|
2319
|
+
private getDefaultDensityRowHeight;
|
|
2166
2320
|
getVirtBufferSize(): number;
|
|
2167
2321
|
getVirtMinHeightStyle(): string;
|
|
2168
2322
|
getVirtMinHeightHostStyle(): string | null;
|
|
@@ -2177,6 +2331,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2177
2331
|
getMasterSelectionAriaLabel(): string;
|
|
2178
2332
|
private selectRowFromUserInteraction;
|
|
2179
2333
|
private emitSelectionChange;
|
|
2334
|
+
private emitResourceEvent;
|
|
2335
|
+
private buildResourceEvent;
|
|
2180
2336
|
private getSelectedRowsSnapshot;
|
|
2181
2337
|
private getAiAssistantSelectionFields;
|
|
2182
2338
|
private buildAiAssistantSelectionFilterCandidates;
|
|
@@ -2215,10 +2371,18 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2215
2371
|
private splitVisibleRowActionsFromVisible;
|
|
2216
2372
|
private decorateConfiguredRowAction;
|
|
2217
2373
|
private getDiscoveredRowWorkflowActions;
|
|
2374
|
+
private getDiscoveredRowCrudActionsFromSnapshot;
|
|
2375
|
+
private buildDiscoveredRowCrudAction;
|
|
2218
2376
|
private getDiscoveredRowSurfaceActionsFromSnapshot;
|
|
2219
2377
|
private getDiscoveredRowWorkflowActionsFromCatalog;
|
|
2378
|
+
private resolveRowCrudCapabilityOperation;
|
|
2379
|
+
private createSyntheticCrudCapabilityOperation;
|
|
2220
2380
|
private supportsRowCrudAction;
|
|
2221
2381
|
private isCapabilityManagedCrudRowAction;
|
|
2382
|
+
private getCrudRowActionLabel;
|
|
2383
|
+
private getCrudRowActionIcon;
|
|
2384
|
+
private getCrudRowActionColor;
|
|
2385
|
+
private getUnavailableCrudOperationMessage;
|
|
2222
2386
|
private findItemWorkflowAction;
|
|
2223
2387
|
private findItemSurface;
|
|
2224
2388
|
private isRowSurfaceAction;
|
|
@@ -2247,7 +2411,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2247
2411
|
private scheduleRowDiscoveryMarkForCheck;
|
|
2248
2412
|
ngOnDestroy(): void;
|
|
2249
2413
|
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; }]>;
|
|
2250
|
-
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>;
|
|
2414
|
+
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"; "resourceEvent": "resourceEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "columnResize": "columnResize"; "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>;
|
|
2251
2415
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
2252
2416
|
}
|
|
2253
2417
|
|
|
@@ -3110,6 +3274,7 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3110
3274
|
private scrollTrackingRafId;
|
|
3111
3275
|
readonly layoutPreviewFields: string[];
|
|
3112
3276
|
private readonly storage;
|
|
3277
|
+
private readonly filterConfigService;
|
|
3113
3278
|
private readonly settingsPanel;
|
|
3114
3279
|
private readonly snackBar;
|
|
3115
3280
|
private readonly destroyRef;
|
|
@@ -3299,16 +3464,8 @@ interface RuleGroup {
|
|
|
3299
3464
|
}
|
|
3300
3465
|
type StructuredRuleCondition = JsonLogicExpression | null;
|
|
3301
3466
|
declare class RuleCompilerService {
|
|
3302
|
-
/**
|
|
3303
|
-
* Compiles a rule group into a single textual expression string, adding
|
|
3304
|
-
* parentheses according to grouping and operator precedence.
|
|
3305
|
-
*/
|
|
3306
|
-
compileGroup(group: RuleGroup): string;
|
|
3307
|
-
/** Compiles a single rule atom to a textual expression. */
|
|
3308
|
-
compileAtom(atom: RuleAtom): string;
|
|
3309
3467
|
compileGroupToJsonLogic(group: RuleGroup): StructuredRuleCondition;
|
|
3310
3468
|
compileAtomToJsonLogic(atom: RuleAtom): JsonLogicExpression | null;
|
|
3311
|
-
private stringify;
|
|
3312
3469
|
private toJsonLogicValue;
|
|
3313
3470
|
private toList;
|
|
3314
3471
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleCompilerService, never>;
|
|
@@ -3344,6 +3501,11 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3344
3501
|
manualMode: boolean;
|
|
3345
3502
|
manualErrors: string[];
|
|
3346
3503
|
testSummary: string;
|
|
3504
|
+
normalizationWarning: string;
|
|
3505
|
+
importStatus: {
|
|
3506
|
+
type: 'success' | 'warning' | 'error';
|
|
3507
|
+
message: string;
|
|
3508
|
+
} | null;
|
|
3347
3509
|
editIndex: number;
|
|
3348
3510
|
get currentRules(): RuleItem[];
|
|
3349
3511
|
set currentRules(v: RuleItem[]);
|
|
@@ -3410,6 +3572,7 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3410
3572
|
removeRule(index: number): void;
|
|
3411
3573
|
duplicateRule(index: number): void;
|
|
3412
3574
|
onRuleToggle(): void;
|
|
3575
|
+
private emitRulesConfigChange;
|
|
3413
3576
|
buildAppliedConfig(baseConfig?: TableConfig): TableConfig;
|
|
3414
3577
|
onApply(): void;
|
|
3415
3578
|
isValid(): boolean;
|
|
@@ -3510,9 +3673,14 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3510
3673
|
onDropCondition(evt: CdkDragDrop<RuleAtom[]>): void;
|
|
3511
3674
|
updateDraftFromGroup(): void;
|
|
3512
3675
|
getAtomPreview(a: RuleAtom): string;
|
|
3676
|
+
private stringifyJsonLogicPreview;
|
|
3677
|
+
private stringifyJsonLogicInlinePreview;
|
|
3513
3678
|
addSubgroup(): void;
|
|
3514
3679
|
removeSubgroup(index: number): void;
|
|
3515
3680
|
getGroupPreview(g: RuleGroup): string;
|
|
3681
|
+
private isNumericFieldType;
|
|
3682
|
+
private parseNumericCsv;
|
|
3683
|
+
private toFiniteNumber;
|
|
3516
3684
|
private getActiveGroupRef;
|
|
3517
3685
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRulesEditorComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
3518
3686
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableRulesEditorComponent, "table-rules-editor", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "i18nRules": { "alias": "i18nRules"; "required": false; }; "debugLogs": { "alias": "debugLogs"; "required": false; }; "debugLevel": { "alias": "debugLevel"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
|
|
@@ -4344,7 +4512,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
|
|
|
4344
4512
|
};
|
|
4345
4513
|
readonly variant: {
|
|
4346
4514
|
readonly type: "string";
|
|
4347
|
-
readonly enum: readonly ["filled", "outlined", "soft"];
|
|
4515
|
+
readonly enum: readonly ["filled", "outlined", "soft", "plain"];
|
|
4348
4516
|
};
|
|
4349
4517
|
readonly icon: {
|
|
4350
4518
|
readonly type: "string";
|
|
@@ -4591,5 +4759,5 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
4591
4759
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4592
4760
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4593
4761
|
|
|
4594
|
-
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 };
|
|
4762
|
+
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_APPEARANCE_PRESETS, 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 };
|
|
4595
4763
|
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 };
|