@praxisui/table 9.0.0-beta.8 → 9.0.0-beta.81
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 +96 -1
- package/ai/component-registry.json +23557 -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 +28 -0
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DbwGIMjF.mjs → praxisui-table-filter-form-dialog-host.component-CStl0VfD.mjs} +2 -2
- package/fesm2022/{praxisui-table-praxisui-table-B-goiuDf.mjs → praxisui-table-praxisui-table-7iWPoCFj.mjs} +3710 -775
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DL9l0XF7.mjs → praxisui-table-table-agentic-authoring-turn-flow-Cl8C90zm.mjs} +243 -19
- package/fesm2022/{praxisui-table-table-ai.adapter-9uRovA63.mjs → praxisui-table-table-ai.adapter-B46F-SpL.mjs} +113 -13
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +16 -11
- package/src/lib/praxis-table.json-api.md +51 -19
- package/types/praxisui-table.d.ts +320 -42
|
@@ -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, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceDensity, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, 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, EnterpriseRuntimeContextService, 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';
|
|
@@ -16,7 +17,6 @@ import { FormGroup, FormControl, FormBuilder } from '@angular/forms';
|
|
|
16
17
|
import { MatDialog } from '@angular/material/dialog';
|
|
17
18
|
import { BaseDynamicFieldComponent } from '@praxisui/dynamic-fields';
|
|
18
19
|
import { CdkOverlayOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
19
|
-
import { MatSelect } from '@angular/material/select';
|
|
20
20
|
import { PraxisDialog } from '@praxisui/dialog';
|
|
21
21
|
import { PraxisAssistantVoiceInputMode, PraxisAssistantTurnViewState, PraxisAssistantShellLayout, PraxisAssistantShellLabels, PraxisAssistantSessionSnapshot, PraxisAssistantShellQuickReply, PraxisAssistantRecommendedIntent, PraxisAssistantShellMessage } from '@praxisui/ai';
|
|
22
22
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -36,6 +36,7 @@ interface ActionLike {
|
|
|
36
36
|
}
|
|
37
37
|
declare function getActionId(action: ActionLike): string;
|
|
38
38
|
|
|
39
|
+
declare const PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS: Record<string, TableToolbarAppearanceConfig>;
|
|
39
40
|
declare const PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE: InjectionToken<TableToolbarAppearanceConfig>;
|
|
40
41
|
declare const PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS: InjectionToken<Record<string, TableToolbarAppearanceConfig>>;
|
|
41
42
|
declare function providePraxisTableToolbarAppearance(appearance: TableToolbarAppearanceConfig, presets?: Record<string, TableToolbarAppearanceConfig>): Provider[];
|
|
@@ -57,12 +58,11 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
57
58
|
evaluationContext: Record<string, any> | null;
|
|
58
59
|
/** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
|
|
59
60
|
columnVisibilityController?: (field: string, visible: boolean) => void;
|
|
60
|
-
toolbarAction: EventEmitter<
|
|
61
|
-
action: string;
|
|
62
|
-
actionConfig?: any;
|
|
63
|
-
}>;
|
|
61
|
+
toolbarAction: EventEmitter<Pick<ToolbarActionEvent<Record<string, unknown>>, "action" | "actionConfig">>;
|
|
64
62
|
exportAction: EventEmitter<{
|
|
65
63
|
format: string;
|
|
64
|
+
scope?: PraxisExportScope;
|
|
65
|
+
localOnly?: boolean;
|
|
66
66
|
}>;
|
|
67
67
|
columnVisibilityToggle: EventEmitter<{
|
|
68
68
|
field: string;
|
|
@@ -74,6 +74,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
74
74
|
private readonly warnedInvalidToolbarActionTypes;
|
|
75
75
|
private readonly warnedMenuWithoutChildren;
|
|
76
76
|
private readonly warnedVisibleWhenFallback;
|
|
77
|
+
private readonly warnedDisabledWhenFallback;
|
|
77
78
|
private readonly warnedInvalidShortcuts;
|
|
78
79
|
private readonly warnedInvalidShortcutScopes;
|
|
79
80
|
private readonly warnedShortcutConflicts;
|
|
@@ -92,8 +93,18 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
92
93
|
getToolbarIcon(): string | null;
|
|
93
94
|
getToolbarTextAlign(): 'start' | 'center' | 'end';
|
|
94
95
|
getExportDataLabel(): string;
|
|
96
|
+
getVisibleExcelExportLabel(): string;
|
|
97
|
+
getVisibleExcelExportDescription(): string;
|
|
98
|
+
getVisibleExcelExportAriaLabel(): string;
|
|
99
|
+
getExportFormatLabel(format: unknown): string;
|
|
100
|
+
getExportFormatTooltip(format: unknown): string;
|
|
101
|
+
getExportFormatAriaLabel(format: unknown): string;
|
|
95
102
|
getMoreActionsLabel(): string;
|
|
96
103
|
emitExportAction(event: Event, format: string): void;
|
|
104
|
+
emitVisibleExcelExportAction(event: Event): void;
|
|
105
|
+
isExcelExportFormat(format: unknown): boolean;
|
|
106
|
+
isVisibleExcelExportEnabled(format: unknown): boolean;
|
|
107
|
+
private normalizeExportFormat;
|
|
97
108
|
getColumnsVisibilityLabel(): string;
|
|
98
109
|
getColumnsVisibilityIcon(): string;
|
|
99
110
|
isColumnsVisibilityEnabled(): boolean;
|
|
@@ -104,6 +115,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
104
115
|
onColumnVisibilityMenuToggle(event: Event, field: string, currentlyVisible: boolean): void;
|
|
105
116
|
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
106
117
|
private tx;
|
|
118
|
+
private interpolateText;
|
|
107
119
|
ngOnDestroy(): void;
|
|
108
120
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
109
121
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -118,7 +130,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
118
130
|
private cloneForEmit;
|
|
119
131
|
private getLogger;
|
|
120
132
|
private warnLog;
|
|
121
|
-
emitToolbarAction(event: Event, action: string, actionConfig?:
|
|
133
|
+
emitToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
|
|
122
134
|
getStartActions(): any[];
|
|
123
135
|
getNonStartActions(): any[];
|
|
124
136
|
getOverflowActions(): any[];
|
|
@@ -129,21 +141,32 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
129
141
|
getActionColor(action: any): any;
|
|
130
142
|
getActionAriaLabel(action: any): string;
|
|
131
143
|
isActionDisabled(action: any): boolean;
|
|
144
|
+
getActionTooltip(action: any): string | null;
|
|
132
145
|
onDocumentKeydown(event: KeyboardEvent): void;
|
|
133
146
|
getBulkActionsPosition(): 'toolbar' | 'floating' | 'both';
|
|
134
147
|
shouldRenderToolbarBulkActions(): boolean;
|
|
135
148
|
getBulkToolbarActions(): any[];
|
|
149
|
+
private isBulkToolbarAction;
|
|
136
150
|
private getVisibleToolbarActions;
|
|
137
151
|
private resolveVisibleToolbarAction;
|
|
138
152
|
private isActionVisible;
|
|
139
153
|
private evaluateVisibleWhen;
|
|
154
|
+
private evaluateDisabledWhen;
|
|
155
|
+
private resolveDisabledWhenFallback;
|
|
140
156
|
private isJsonLogicExpression;
|
|
141
157
|
private resolveVisibleWhenFallback;
|
|
142
158
|
private resolveVisibleWhenFallbackPolicy;
|
|
143
159
|
private resolveRuntimeEnvironment;
|
|
144
|
-
private isDiagnosticsEnvironment;
|
|
145
160
|
private buildEvaluationContext;
|
|
161
|
+
private getSelectedCount;
|
|
162
|
+
private getBulkActionMinSelections;
|
|
163
|
+
private getBulkActionMaxSelections;
|
|
164
|
+
private isSelectionTargetAction;
|
|
165
|
+
private getTargetMinSelections;
|
|
166
|
+
private getTargetMaxSelections;
|
|
167
|
+
private resolveDisabledActionReason;
|
|
146
168
|
private warnVisibleWhenFallback;
|
|
169
|
+
private warnDisabledWhenFallback;
|
|
147
170
|
private collectShortcutBindings;
|
|
148
171
|
private resolveShortcutScope;
|
|
149
172
|
private normalizeShortcutCombo;
|
|
@@ -360,8 +383,9 @@ type FilterConfig = {
|
|
|
360
383
|
};
|
|
361
384
|
declare class FilterConfigService {
|
|
362
385
|
private storage;
|
|
386
|
+
private localStorage;
|
|
363
387
|
private readonly PREFIX;
|
|
364
|
-
constructor(storage: AsyncConfigStorage);
|
|
388
|
+
constructor(storage: AsyncConfigStorage, localStorage: LocalStorageConfigService);
|
|
365
389
|
/**
|
|
366
390
|
* Load a persisted filter configuration for the given key.
|
|
367
391
|
*/
|
|
@@ -370,6 +394,11 @@ declare class FilterConfigService {
|
|
|
370
394
|
* Persist a filter configuration for the given key.
|
|
371
395
|
*/
|
|
372
396
|
save(key: string, config: FilterConfig): void;
|
|
397
|
+
/**
|
|
398
|
+
* Clear the persisted filter configuration from both remote storage and the
|
|
399
|
+
* local fallback cache so reset/reopen cannot revive stale preferences.
|
|
400
|
+
*/
|
|
401
|
+
clear(key: string): void;
|
|
373
402
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterConfigService, never>;
|
|
374
403
|
static ɵprov: i0.ɵɵInjectableDeclaration<FilterConfigService>;
|
|
375
404
|
}
|
|
@@ -379,6 +408,12 @@ type FilterTag = {
|
|
|
379
408
|
label: string;
|
|
380
409
|
patch: Record<string, any>;
|
|
381
410
|
};
|
|
411
|
+
type ManagedFilterItem = {
|
|
412
|
+
id: string;
|
|
413
|
+
label: string;
|
|
414
|
+
/** Domain guidance preserved from FieldMetadata for the field-manager tooltip. */
|
|
415
|
+
description?: string;
|
|
416
|
+
};
|
|
382
417
|
type I18n = {
|
|
383
418
|
searchPlaceholder: string;
|
|
384
419
|
advanced: string;
|
|
@@ -391,6 +426,27 @@ type I18n = {
|
|
|
391
426
|
filtersAdd?: string;
|
|
392
427
|
filtersSearch?: string;
|
|
393
428
|
addCount?: string;
|
|
429
|
+
addCountSingular?: string;
|
|
430
|
+
manageFieldsTitle?: string;
|
|
431
|
+
manageFieldsDescription?: string;
|
|
432
|
+
close?: string;
|
|
433
|
+
clearSearch?: string;
|
|
434
|
+
/** @deprecated Prefer selectedFieldsCount/selectedFieldsCountSingular. */
|
|
435
|
+
selectedFieldsSuffix?: string;
|
|
436
|
+
selectedFieldsCount?: string;
|
|
437
|
+
selectedFieldsCountSingular?: string;
|
|
438
|
+
selectedFieldsSectionTitle?: string;
|
|
439
|
+
availableFieldsSectionTitle?: string;
|
|
440
|
+
manageFieldsApply?: string;
|
|
441
|
+
selectAllResults?: string;
|
|
442
|
+
noFilterFieldsFound?: string;
|
|
443
|
+
fieldSelectionConflict?: string;
|
|
444
|
+
removingActiveFields?: string;
|
|
445
|
+
fieldPendingAddition?: string;
|
|
446
|
+
fieldPendingRemoval?: string;
|
|
447
|
+
fieldAddedAnnouncement?: string;
|
|
448
|
+
fieldRemovedAnnouncement?: string;
|
|
449
|
+
fieldSelectionSummaryAnnouncement?: string;
|
|
394
450
|
addUnavailable?: string;
|
|
395
451
|
pendingCount?: string;
|
|
396
452
|
activeFiltersCount?: string;
|
|
@@ -431,6 +487,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
431
487
|
private componentKeys;
|
|
432
488
|
private route?;
|
|
433
489
|
private logger?;
|
|
490
|
+
addManagerOrigin?: ElementRef<HTMLButtonElement>;
|
|
434
491
|
resourcePath: string;
|
|
435
492
|
/** Resolved API entry carried by detached hosts when route-scoped API_URL is not inherited. */
|
|
436
493
|
apiUrlEntry?: ApiUrlEntry | null;
|
|
@@ -592,12 +649,19 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
592
649
|
advancedTitleId: string;
|
|
593
650
|
advancedPanelId: string;
|
|
594
651
|
addQuery: string;
|
|
595
|
-
addItems:
|
|
652
|
+
addItems: ManagedFilterItem[];
|
|
653
|
+
addDraftSelectedFieldIds: string[];
|
|
654
|
+
addInitialSelectedFieldIds: string[];
|
|
655
|
+
addManagerAnnouncement: string;
|
|
656
|
+
addManagerOpen: boolean;
|
|
657
|
+
addManagerConflict: boolean;
|
|
658
|
+
addManagerItemMotion: {
|
|
596
659
|
id: string;
|
|
597
|
-
|
|
598
|
-
}
|
|
599
|
-
readonly
|
|
600
|
-
readonly
|
|
660
|
+
type: 'added' | 'removed';
|
|
661
|
+
} | null;
|
|
662
|
+
readonly addManagerTitleId: string;
|
|
663
|
+
readonly addManagerDescriptionId: string;
|
|
664
|
+
readonly addOverlayPositions: ConnectedPosition[];
|
|
601
665
|
private applySchemaQueued;
|
|
602
666
|
private fallbackLogger?;
|
|
603
667
|
private fallbackLoggerEnvironment;
|
|
@@ -652,6 +716,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
652
716
|
private resolveInitialDto;
|
|
653
717
|
private syncFormsFromDto;
|
|
654
718
|
private refreshProgrammaticFilterFieldDisplays;
|
|
719
|
+
private getProgrammaticRefreshFieldNames;
|
|
655
720
|
private refreshProgrammaticFilterFieldDisplay;
|
|
656
721
|
ngOnInit(): Promise<void>;
|
|
657
722
|
ngAfterViewInit(): void;
|
|
@@ -744,11 +809,36 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
744
809
|
}): void;
|
|
745
810
|
onAdvancedValidityChange(valid: boolean): void;
|
|
746
811
|
onAddOpened(opened: boolean): void;
|
|
812
|
+
toggleAddManager(): void;
|
|
813
|
+
closeAddManager(): void;
|
|
814
|
+
toggleManagedField(fieldId: string, checked: boolean): void;
|
|
815
|
+
isAddManagerItemInMotion(fieldId: string, type: 'added' | 'removed'): boolean;
|
|
816
|
+
private startAddManagerItemMotion;
|
|
817
|
+
applyAddManager(): void;
|
|
818
|
+
isAddManagerDirty(): boolean;
|
|
819
|
+
getAddManagerChangeCount(): number;
|
|
820
|
+
getAddManagerSelectedFieldsSummary(): string;
|
|
821
|
+
getAddManagerVisibleSelectedFieldsSummary(): string;
|
|
822
|
+
private getAddManagerFieldsSummary;
|
|
823
|
+
getAddManagerSelectedItems(): ManagedFilterItem[];
|
|
824
|
+
getAddManagerAvailableItems(): ManagedFilterItem[];
|
|
825
|
+
isAddManagerFieldSelected(fieldId: string): boolean;
|
|
826
|
+
isAddManagerFieldPendingAddition(fieldId: string): boolean;
|
|
827
|
+
isAddManagerFieldPendingRemoval(fieldId: string): boolean;
|
|
828
|
+
getAddManagerFieldPendingLabel(fieldId: string): string;
|
|
829
|
+
getAddManagerFieldAriaDescription(item: ManagedFilterItem): string | null;
|
|
830
|
+
private announceManagedFieldChange;
|
|
831
|
+
getRemovedActiveFieldLabels(): string[];
|
|
832
|
+
private hasMeaningfulFilterValue;
|
|
747
833
|
onAddQuery(q: string): void;
|
|
748
|
-
openAddSelect(select: MatSelect): void;
|
|
749
834
|
hasAddableFields(): boolean;
|
|
750
835
|
hasManageableFilterFields(): boolean;
|
|
751
836
|
private getManageableFilterItems;
|
|
837
|
+
/**
|
|
838
|
+
* Uses authored field metadata only. The manager must not invent domain help
|
|
839
|
+
* while an operator decides among similar filters (for example, date variants).
|
|
840
|
+
*/
|
|
841
|
+
private getManagedFieldDescription;
|
|
752
842
|
private updateAddItems;
|
|
753
843
|
trackById(_idx: number, it: {
|
|
754
844
|
id: string;
|
|
@@ -840,9 +930,20 @@ declare function providePraxisFilterMetadata(): Provider;
|
|
|
840
930
|
|
|
841
931
|
type AnalyticsTableRow = Record<string, string | number | boolean | null>;
|
|
842
932
|
type AnalyticsTableContractSource = 'remote' | 'fallback';
|
|
933
|
+
/**
|
|
934
|
+
* Stable backend bucket identity retained on analytics rows for cross-filtering.
|
|
935
|
+
* It is intentionally not materialized as a visible table column.
|
|
936
|
+
*/
|
|
937
|
+
declare const ANALYTICS_TABLE_ROW_KEY_FIELD = "__praxisAnalyticsKey";
|
|
938
|
+
type AnalyticsComparisonMetricValueKind = 'current' | 'previous' | 'delta' | 'deltaPercent' | 'baselineMissing';
|
|
939
|
+
/** Returns the deterministic local-data field for one comparison metric value. */
|
|
940
|
+
declare function analyticsComparisonMetricField(metricField: string, valueKind: AnalyticsComparisonMetricValueKind): string;
|
|
843
941
|
interface AnalyticsTableViewModel {
|
|
844
942
|
config: TableConfig;
|
|
845
943
|
data: AnalyticsTableRow[];
|
|
944
|
+
projectionId?: string;
|
|
945
|
+
source?: AnalyticsTableContractSource;
|
|
946
|
+
error?: string;
|
|
846
947
|
}
|
|
847
948
|
interface AnalyticsTableContractDefinition<TKey extends string = string> {
|
|
848
949
|
key: TKey;
|
|
@@ -872,6 +973,9 @@ declare class AnalyticsTableStatsApiService {
|
|
|
872
973
|
private toTableRows;
|
|
873
974
|
private resolveTimeSeriesCategory;
|
|
874
975
|
private resolveBucketCategory;
|
|
976
|
+
private resolveBucketKey;
|
|
977
|
+
private projectComparisonMetricValues;
|
|
978
|
+
private isComparisonResponse;
|
|
875
979
|
private projectMetricValues;
|
|
876
980
|
private resolveMetricValue;
|
|
877
981
|
private buildStatsUrl;
|
|
@@ -996,6 +1100,7 @@ type RuntimeRowAction = {
|
|
|
996
1100
|
overflow?: boolean;
|
|
997
1101
|
__praxisDiscoveredAction?: ResourceActionCatalogItem;
|
|
998
1102
|
__praxisDiscoveredSurface?: ResourceSurfaceCatalogItem;
|
|
1103
|
+
__praxisCrudOperation?: ResourceCapabilityOperation;
|
|
999
1104
|
__praxisCapabilityDenied?: boolean;
|
|
1000
1105
|
};
|
|
1001
1106
|
type ExpansionDetailRuntimeStatus = 'idle' | 'loading' | 'ready' | 'error' | 'blocked';
|
|
@@ -1006,6 +1111,10 @@ type ExpansionDetailViewState = {
|
|
|
1006
1111
|
message: string | null;
|
|
1007
1112
|
source: ExpansionDetailResolvedSource | null;
|
|
1008
1113
|
};
|
|
1114
|
+
type ExpansionDetailInlineRendererView = {
|
|
1115
|
+
component: Type<unknown>;
|
|
1116
|
+
inputs: Record<string, unknown>;
|
|
1117
|
+
};
|
|
1009
1118
|
declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterContentInit, OnDestroy {
|
|
1010
1119
|
private cdr;
|
|
1011
1120
|
private settingsPanel;
|
|
@@ -1023,6 +1132,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1023
1132
|
private componentKeys;
|
|
1024
1133
|
private loadingOrchestrator;
|
|
1025
1134
|
private globalActions;
|
|
1135
|
+
private enterpriseRuntimeContext?;
|
|
1026
1136
|
private loadingRenderer?;
|
|
1027
1137
|
private route?;
|
|
1028
1138
|
private logger?;
|
|
@@ -1037,7 +1147,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1037
1147
|
private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
|
|
1038
1148
|
private _resourceDiscovery?;
|
|
1039
1149
|
private _resourceSurfaceOpenAdapter?;
|
|
1150
|
+
private _crudOperationResolver?;
|
|
1040
1151
|
private readonly runtimeObservationRegistry;
|
|
1152
|
+
private readonly detailInlineRenderers;
|
|
1153
|
+
private collectionLinks;
|
|
1154
|
+
private collectionCapabilities;
|
|
1155
|
+
private collectionCapabilitiesRequestHref;
|
|
1156
|
+
private collectionCapabilitiesResolvedHref;
|
|
1157
|
+
private collectionCapabilitiesRequestSeq;
|
|
1158
|
+
private readonly detailInlineNodeResolvers;
|
|
1041
1159
|
private runtimeObservationRegistration;
|
|
1042
1160
|
readonly paginatorSelectConfig: MatPaginatorSelectConfig;
|
|
1043
1161
|
private static readonly ROW_ANIMATION_PRESETS;
|
|
@@ -1070,14 +1188,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1070
1188
|
private advancedFilterMetadataOverridesCache?;
|
|
1071
1189
|
rowClick: EventEmitter<any>;
|
|
1072
1190
|
widgetEvent: EventEmitter<any>;
|
|
1191
|
+
resourceEvent: EventEmitter<PraxisResourceEvent<unknown>>;
|
|
1073
1192
|
rowDoubleClick: EventEmitter<any>;
|
|
1074
1193
|
rowExpansionChange: EventEmitter<RowExpansionChangeEvent>;
|
|
1075
1194
|
rowAction: EventEmitter<any>;
|
|
1076
|
-
toolbarAction: EventEmitter<any
|
|
1195
|
+
toolbarAction: EventEmitter<ToolbarActionEvent<any>>;
|
|
1077
1196
|
bulkAction: EventEmitter<any>;
|
|
1078
1197
|
exportAction: EventEmitter<any>;
|
|
1079
1198
|
columnReorder: EventEmitter<any>;
|
|
1080
1199
|
columnReorderAttempt: EventEmitter<any>;
|
|
1200
|
+
columnResize: EventEmitter<any>;
|
|
1081
1201
|
beforeDelete: EventEmitter<any>;
|
|
1082
1202
|
afterDelete: EventEmitter<any>;
|
|
1083
1203
|
deleteError: EventEmitter<any>;
|
|
@@ -1119,8 +1239,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1119
1239
|
private columnReorderStatusTimer;
|
|
1120
1240
|
private columnReorderVisualStatusTimer;
|
|
1121
1241
|
private columnReorderUndoSubscription;
|
|
1122
|
-
private
|
|
1123
|
-
private
|
|
1242
|
+
private columnRuntimeMutationOperationCounter;
|
|
1243
|
+
private latestColumnRuntimeMutationOperationId;
|
|
1244
|
+
private columnResizeTransientWidths;
|
|
1245
|
+
private columnResizeTableWidthStyle;
|
|
1246
|
+
private columnResizeLayoutSignature;
|
|
1247
|
+
private isApplyingColumnResizeLayoutMutation;
|
|
1248
|
+
private activeColumnResize;
|
|
1249
|
+
private readonly columnResizePointerMoveListener;
|
|
1250
|
+
private readonly columnResizePointerUpListener;
|
|
1251
|
+
private readonly columnResizePointerCancelListener;
|
|
1252
|
+
private readonly columnResizeKeydownListener;
|
|
1124
1253
|
localSource: any[];
|
|
1125
1254
|
localView: any[];
|
|
1126
1255
|
localTotal: number;
|
|
@@ -1158,8 +1287,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1158
1287
|
private rowDiscoveryMarkForCheckScheduled;
|
|
1159
1288
|
private lastRowDiscoveryScopeKey;
|
|
1160
1289
|
private readonly i18n;
|
|
1290
|
+
private readonly sanitizer;
|
|
1161
1291
|
private readonly collectionExport;
|
|
1162
1292
|
private readonly paginatorIntl;
|
|
1293
|
+
private readonly schemaNormalizer;
|
|
1163
1294
|
private schemaFieldsSnapshot;
|
|
1164
1295
|
private filterSchemaFieldsSnapshot;
|
|
1165
1296
|
private runtimeSchemaMeta;
|
|
@@ -1193,9 +1324,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1193
1324
|
getRowActionsWidthStyle(): string | null;
|
|
1194
1325
|
getColumnTextAlignStyle(column: ColumnDefinition): string | null;
|
|
1195
1326
|
getColumnWidthStyle(column: ColumnDefinition): string | null;
|
|
1327
|
+
getColumnResizeTableWidthStyle(): string | null;
|
|
1196
1328
|
getColumnHeaderAttrStyle(column: ColumnDefinition): string | null;
|
|
1197
1329
|
getColumnHeaderNgStyle(column: ColumnDefinition): Record<string, string> | undefined;
|
|
1198
1330
|
getColumnCellAttrStyle(column: ColumnDefinition): string | null;
|
|
1331
|
+
private mergeColumnWidthIntoInlineStyle;
|
|
1332
|
+
private buildColumnWidthInlineStyle;
|
|
1199
1333
|
getTableElevationClassName(): string;
|
|
1200
1334
|
private normalizeTableElevationLevel;
|
|
1201
1335
|
private resolveRuntimeTableElevationLevel;
|
|
@@ -1226,6 +1360,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1226
1360
|
getNoDataStateTitle(): string;
|
|
1227
1361
|
getNoDataStateDescription(): string | undefined;
|
|
1228
1362
|
getTableSettingsLabel(): string;
|
|
1363
|
+
getTableErrorTitle(): string;
|
|
1364
|
+
getTableErrorMessage(): string;
|
|
1365
|
+
getTableErrorRetryLabel(): string;
|
|
1366
|
+
getTableSelectResourceLabel(): string;
|
|
1367
|
+
isErrorRetryInProgress(): boolean;
|
|
1229
1368
|
getTableSettingsTooltip(): string;
|
|
1230
1369
|
getDisconnectLabel(): string;
|
|
1231
1370
|
getDisconnectTooltip(): string;
|
|
@@ -1233,6 +1372,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1233
1372
|
private configuredLocaleRuntimeText;
|
|
1234
1373
|
private formatPaginatorRangeLabel;
|
|
1235
1374
|
getNoDataStateIcon(): string;
|
|
1375
|
+
getNoDataStateTone(): 'neutral' | 'primary' | 'secondary';
|
|
1376
|
+
getNoDataStateVariant(): 'card' | 'inline' | 'panel' | 'transparent';
|
|
1377
|
+
getNoDataStateAlignment(): 'start' | 'center';
|
|
1378
|
+
getNoDataStateDensity(): 'compact' | 'comfortable';
|
|
1379
|
+
getNoDataStateActionSize(): string;
|
|
1380
|
+
getNoDataStateIconContainer(): 'none' | 'circle' | 'soft';
|
|
1236
1381
|
getNoDataStatePrimaryAction(): any | null;
|
|
1237
1382
|
getNoDataStateSecondaryActions(): any[];
|
|
1238
1383
|
shouldRenderAdvancedFilter(): boolean;
|
|
@@ -1248,10 +1393,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1248
1393
|
private schemaState;
|
|
1249
1394
|
schemaOutdated: boolean;
|
|
1250
1395
|
enableCustomization: boolean;
|
|
1396
|
+
/** Capability publica exigida para materializar configuracao governada. */
|
|
1397
|
+
authoringCapability: string | null;
|
|
1398
|
+
private activeTableSettingsRef;
|
|
1251
1399
|
private _resolvedPrefs;
|
|
1252
1400
|
set resolvedPrefs(val: any);
|
|
1253
1401
|
get resolvedPrefs(): any;
|
|
1254
1402
|
dense: boolean;
|
|
1403
|
+
private hostDeclaredAppearanceDensity;
|
|
1404
|
+
private hostDeclaredAppearanceSpacing;
|
|
1405
|
+
private hostDeclaredAppearanceTypography;
|
|
1255
1406
|
private resolveAppearanceDensity;
|
|
1256
1407
|
get hostDensityCompactClass(): boolean;
|
|
1257
1408
|
get hostDensityComfortableClass(): boolean;
|
|
@@ -1340,6 +1491,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1340
1491
|
private tableConfigKey;
|
|
1341
1492
|
private filterConfigKey;
|
|
1342
1493
|
private ensureConfigDefaults;
|
|
1494
|
+
private hasDeclaredAppearanceDensity;
|
|
1495
|
+
private hasDeclaredAppearanceSection;
|
|
1496
|
+
private shouldApplyAppearanceDefaultValue;
|
|
1343
1497
|
private mergePersistedTableConfigWithInput;
|
|
1344
1498
|
private reconcileHostDeclaredTableContract;
|
|
1345
1499
|
private reconcileHostDeclaredColumns;
|
|
@@ -1348,12 +1502,33 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1348
1502
|
private normalizePersistedExportFormats;
|
|
1349
1503
|
private normalizePersistedRowActionIds;
|
|
1350
1504
|
private normalizePersistedColumnIds;
|
|
1505
|
+
private columnIdentitySetChanged;
|
|
1351
1506
|
private clonePlainObject;
|
|
1352
1507
|
private setShowToolbar;
|
|
1353
1508
|
private shouldExposeToolbar;
|
|
1354
|
-
|
|
1509
|
+
private resolveCollectionDiscoveryOptions;
|
|
1510
|
+
private updateCollectionLinks;
|
|
1511
|
+
private resolveCollectionCapabilitiesHref;
|
|
1512
|
+
private materializeCollectionCreateToolbarAction;
|
|
1513
|
+
private ensureToolbarConfigForRuntime;
|
|
1514
|
+
private buildCollectionCreateToolbarAction;
|
|
1515
|
+
private resolveCollectionCreateRuntime;
|
|
1516
|
+
private resolveCollectionResourcePath;
|
|
1517
|
+
private hasCollectionCreateLink;
|
|
1518
|
+
private resolveCollectionCreateCapabilityOperation;
|
|
1519
|
+
private createSyntheticCollectionCrudOperation;
|
|
1520
|
+
private resolveCollectionCreateSurface;
|
|
1521
|
+
private isWritableCrudSurface;
|
|
1522
|
+
private isCollectionCreateSurface;
|
|
1523
|
+
private getCollectionCreateActionLabel;
|
|
1524
|
+
private getCollectionCreateActionTooltip;
|
|
1525
|
+
private getCollectionCreateUnavailableTooltip;
|
|
1526
|
+
private resolveCollectionCreateDisabled;
|
|
1527
|
+
private isCreateToolbarAction;
|
|
1528
|
+
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, enterpriseRuntimeContext?: EnterpriseRuntimeContextService | undefined, loadingRenderer?: PraxisLoadingRenderer | undefined, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined, analyticsStatsApi?: AnalyticsTableStatsApiService | undefined);
|
|
1355
1529
|
private get resourceDiscovery();
|
|
1356
1530
|
private get resourceSurfaceOpenAdapter();
|
|
1531
|
+
private get crudOperationResolver();
|
|
1357
1532
|
private ensureAiAdapterLoaded;
|
|
1358
1533
|
openAiAssistant(): void;
|
|
1359
1534
|
aiAssistantTriggerTestId(position: string): string;
|
|
@@ -1362,6 +1537,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1362
1537
|
aiAssistantTriggerBadge(): string;
|
|
1363
1538
|
aiAssistantTriggerLabel(): string;
|
|
1364
1539
|
aiAssistantTriggerTooltip(): string;
|
|
1540
|
+
isAiAssistantEnabled(): boolean;
|
|
1541
|
+
shouldShowAiAssistantEntrypoint(): boolean;
|
|
1365
1542
|
openAiAssistantFromSession(session: PraxisAssistantSessionSnapshot): void;
|
|
1366
1543
|
closeAiAssistant(): void;
|
|
1367
1544
|
onAiAssistantPromptChange(prompt: string): void;
|
|
@@ -1397,6 +1574,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1397
1574
|
private getActiveRuntimeObservationSelectedRows;
|
|
1398
1575
|
private buildRuntimeObservationSelectionDigest;
|
|
1399
1576
|
private buildRuntimeObservationStateDigest;
|
|
1577
|
+
private buildRuntimeObservationRendererStateDigest;
|
|
1400
1578
|
private buildRuntimeObservationDataProfileDigest;
|
|
1401
1579
|
private getRuntimeObservationSchemaFieldRefs;
|
|
1402
1580
|
private getRuntimeObservationSchemaFieldDescriptors;
|
|
@@ -1405,6 +1583,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1405
1583
|
private buildRuntimeObservationClaims;
|
|
1406
1584
|
private isRuntimeObservationVisible;
|
|
1407
1585
|
private syncAiAssistantSession;
|
|
1586
|
+
private disableAiAssistantSession;
|
|
1408
1587
|
private assistantContextRuntimeLocale;
|
|
1409
1588
|
private refreshAiAssistantContextAfterSelectionChange;
|
|
1410
1589
|
private hasAiAssistantSessionState;
|
|
@@ -1421,9 +1600,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1421
1600
|
private isTableDataLoading;
|
|
1422
1601
|
private getRenderedRowCount;
|
|
1423
1602
|
private hasActiveDataFilters;
|
|
1603
|
+
private hasActiveEmptyStateFilters;
|
|
1604
|
+
private hasMeaningfulFilterCriteria;
|
|
1424
1605
|
private hasMeaningfulFilterValue;
|
|
1425
1606
|
private resolveNoDataStateConfig;
|
|
1607
|
+
private isEmptyStateTone;
|
|
1608
|
+
private isEmptyStateVariant;
|
|
1426
1609
|
private mapEmptyStateAction;
|
|
1610
|
+
private resolveMatchingEmptyStateToolbarAction;
|
|
1427
1611
|
private onEmptyStateAction;
|
|
1428
1612
|
private buildLoadingContext;
|
|
1429
1613
|
private beginLoading;
|
|
@@ -1512,6 +1696,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1512
1696
|
getExpansionDetailEmbedHeaderNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1513
1697
|
getExpansionDetailEmbedMetaNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1514
1698
|
getExpansionDetailEmbedActionNodes(action: TableDetailEmbedAction | any): RichBlockNode[];
|
|
1699
|
+
getExpansionDetailInlineRendererView(node: TableDetailRefNode | any, row: any, index: number): ExpansionDetailInlineRendererView | null;
|
|
1700
|
+
private resolveExpansionDetailInlineRenderer;
|
|
1701
|
+
private resolveExpansionDetailInlineNode;
|
|
1515
1702
|
getExpansionDetailEmbedAction(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any, row: any, index: number): TableDetailEmbedAction | null;
|
|
1516
1703
|
isExpansionDetailEmbedActionDisabled(action: TableDetailEmbedAction | any, row: any, index: number): boolean;
|
|
1517
1704
|
getExpansionDetailEmbedEmptyText(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): string;
|
|
@@ -1657,8 +1844,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1657
1844
|
private showBulkConfirmDialog;
|
|
1658
1845
|
onToolbarAction(event: {
|
|
1659
1846
|
action: string;
|
|
1660
|
-
actionConfig?:
|
|
1847
|
+
actionConfig?: ToolbarAction$1;
|
|
1661
1848
|
}): Promise<void>;
|
|
1849
|
+
private hasValidToolbarTargetSelection;
|
|
1850
|
+
private tryHandleCollectionCreateToolbarAction;
|
|
1662
1851
|
private resolveBulkExportFormat;
|
|
1663
1852
|
private isBulkExportActionKey;
|
|
1664
1853
|
private normalizeExportFormat;
|
|
@@ -1667,10 +1856,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1667
1856
|
onExportAction(event: {
|
|
1668
1857
|
format: string;
|
|
1669
1858
|
scope?: PraxisExportScope;
|
|
1859
|
+
localOnly?: boolean;
|
|
1670
1860
|
}): Promise<void>;
|
|
1671
1861
|
canRunExportAction(format: unknown): boolean;
|
|
1672
1862
|
private shouldBlockSelectedExportWithoutSelection;
|
|
1673
1863
|
private buildTableExportRequest;
|
|
1864
|
+
private buildVisibleExcelExportRequest;
|
|
1865
|
+
private resolveVisibleExcelExportFileName;
|
|
1866
|
+
private formatExportDate;
|
|
1674
1867
|
private resolveEffectiveExportScope;
|
|
1675
1868
|
private resolveTableExportLoadedItems;
|
|
1676
1869
|
private computeLocalExportRows;
|
|
@@ -1704,6 +1897,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1704
1897
|
private showResetSuccessFeedback;
|
|
1705
1898
|
readonly toolbarColumnVisibilityController: (field: string, visible: boolean) => void;
|
|
1706
1899
|
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
1900
|
+
isCustomizationAvailable(): boolean;
|
|
1901
|
+
private isAuthoringAssistantAvailable;
|
|
1707
1902
|
openTableSettings(): void;
|
|
1708
1903
|
private applyTableConfig;
|
|
1709
1904
|
private buildTableEditorRuntimeContext;
|
|
@@ -1728,6 +1923,46 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1728
1923
|
isColumnDraggingEnabled(): boolean;
|
|
1729
1924
|
isColumnDragIndicatorEnabled(): boolean;
|
|
1730
1925
|
isColumnDraggable(column: ColumnDefinition | null | undefined): boolean;
|
|
1926
|
+
isColumnResizeEnabled(): boolean;
|
|
1927
|
+
isColumnResizable(column: ColumnDefinition | null | undefined): boolean;
|
|
1928
|
+
isColumnResizeActive(column?: ColumnDefinition | null): boolean;
|
|
1929
|
+
getColumnResizeHandleAriaLabel(column: ColumnDefinition): string;
|
|
1930
|
+
getColumnResizeHandleTooltip(column: ColumnDefinition): string;
|
|
1931
|
+
getColumnResizeMinWidthAriaValue(column: ColumnDefinition): number;
|
|
1932
|
+
getColumnResizeMaxWidthAriaValue(column: ColumnDefinition): number | null;
|
|
1933
|
+
getColumnResizeCurrentWidthAriaValue(column: ColumnDefinition): number | null;
|
|
1934
|
+
onColumnResizeHandleClick(event: MouseEvent): void;
|
|
1935
|
+
onColumnResizeHandleKeydown(event: KeyboardEvent, column: ColumnDefinition): void;
|
|
1936
|
+
onColumnResizePointerDown(event: PointerEvent, column: ColumnDefinition): void;
|
|
1937
|
+
private onColumnResizePointerMove;
|
|
1938
|
+
private onColumnResizePointerUp;
|
|
1939
|
+
private onColumnResizePointerCancel;
|
|
1940
|
+
private onColumnResizeDocumentKeydown;
|
|
1941
|
+
private addColumnResizeDocumentListeners;
|
|
1942
|
+
private removeColumnResizeDocumentListeners;
|
|
1943
|
+
private cancelColumnResize;
|
|
1944
|
+
private commitColumnResize;
|
|
1945
|
+
private applyColumnResizeWidth;
|
|
1946
|
+
private emitAndPersistColumnResize;
|
|
1947
|
+
private updateConfigColumnWidth;
|
|
1948
|
+
private updateConfigColumnWidths;
|
|
1949
|
+
private updateColumnResizeTableWidthFromDelta;
|
|
1950
|
+
private captureColumnResizeLockedWidths;
|
|
1951
|
+
private resolveColumnResizeTableWidthPx;
|
|
1952
|
+
private resolveColumnWidthPx;
|
|
1953
|
+
private parseColumnResizePixelWidth;
|
|
1954
|
+
private normalizeColumnResizeWidthStyle;
|
|
1955
|
+
private clampColumnWidthPx;
|
|
1956
|
+
private resolveColumnResizeEffectiveMinWidthPx;
|
|
1957
|
+
private resolveColumnResizeMinWidthPx;
|
|
1958
|
+
private resolveColumnResizeMaxWidthPx;
|
|
1959
|
+
private normalizeColumnResizeConfigWidths;
|
|
1960
|
+
private runColumnResizeLayoutMutation;
|
|
1961
|
+
private reconcileColumnResizeLayoutState;
|
|
1962
|
+
private clearColumnResizeLayoutState;
|
|
1963
|
+
private createColumnResizeLayoutSignature;
|
|
1964
|
+
private formatColumnWidthPx;
|
|
1965
|
+
private isTableRtl;
|
|
1731
1966
|
private resolveColumnReorderHeader;
|
|
1732
1967
|
private isEnglishLocale;
|
|
1733
1968
|
private isEnglishLocaleValue;
|
|
@@ -1744,9 +1979,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1744
1979
|
private emitColumnReorderAttempt;
|
|
1745
1980
|
private createColumnReorderOperationId;
|
|
1746
1981
|
private isLatestColumnReorderOperation;
|
|
1982
|
+
private createColumnRuntimeMutationOperationId;
|
|
1983
|
+
private isLatestColumnRuntimeMutationOperation;
|
|
1747
1984
|
private offerColumnReorderUndo;
|
|
1748
1985
|
private restoreColumnOrderFromUndo;
|
|
1749
|
-
|
|
1986
|
+
onColumnHeaderReorderKeydown(event: KeyboardEvent, column: ColumnDefinition): void;
|
|
1750
1987
|
onColumnDrop(event: CdkDragDrop<ColumnDefinition[]>): void;
|
|
1751
1988
|
onColumnDragStarted(column: ColumnDefinition): void;
|
|
1752
1989
|
onColumnDragEnded(event: CdkDragEnd<ColumnDefinition>, column: ColumnDefinition): void;
|
|
@@ -1766,9 +2003,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1766
2003
|
*/
|
|
1767
2004
|
private verifyServerSchemaVersion;
|
|
1768
2005
|
private loadSchema;
|
|
2006
|
+
private loadOrVerifyRemoteSchema;
|
|
1769
2007
|
private loadFilterSchemaSnapshot;
|
|
1770
2008
|
private convertFieldToColumn;
|
|
2009
|
+
private applySchemaFieldPresentationsToExistingColumns;
|
|
1771
2010
|
private applySchemaFieldPresentation;
|
|
2011
|
+
private applySchemaSemanticCellPresentation;
|
|
2012
|
+
private resolveSemanticPresentationColor;
|
|
2013
|
+
private resolveSemanticPresentationVariant;
|
|
2014
|
+
private resolveSemanticPresentationAffixes;
|
|
1772
2015
|
private resolveSchemaCurrencyFormat;
|
|
1773
2016
|
private resolveSchemaBooleanFormat;
|
|
1774
2017
|
private resolveSchemaValueMapping;
|
|
@@ -1783,10 +2026,6 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1783
2026
|
* Runs only on initial bootstrap (when columns are derived from schema).
|
|
1784
2027
|
*/
|
|
1785
2028
|
private applyAutoRenderer;
|
|
1786
|
-
/**
|
|
1787
|
-
* Check if a value is a valid ColumnDataType
|
|
1788
|
-
*/
|
|
1789
|
-
private isValidColumnDataType;
|
|
1790
2029
|
/**
|
|
1791
2030
|
* Infer column data type from field name patterns when API type is not available
|
|
1792
2031
|
* Refined logic to reduce false positives
|
|
@@ -1853,6 +2092,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1853
2092
|
private getEffectiveFilterCriteria;
|
|
1854
2093
|
retryData(): void;
|
|
1855
2094
|
reloadSchema(): void;
|
|
2095
|
+
retryTableError(): void;
|
|
1856
2096
|
refetch(): void;
|
|
1857
2097
|
/**
|
|
1858
2098
|
* Get the cell value for a given row and column
|
|
@@ -1921,7 +2161,6 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1921
2161
|
private isJsonLogicExpression;
|
|
1922
2162
|
private hasConditionalExpression;
|
|
1923
2163
|
private resolveRuntimeEnvironment;
|
|
1924
|
-
private isDiagnosticsRuntimeEnvironment;
|
|
1925
2164
|
private logActionConditionFallback;
|
|
1926
2165
|
getRowClasses(rowData: any): string[] | undefined;
|
|
1927
2166
|
getRowNgStyle(rowData: any): Record<string, string> | undefined;
|
|
@@ -1994,6 +2233,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1994
2233
|
getIconAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
1995
2234
|
getIconText(row: any, column: ColumnDefinition): string | null;
|
|
1996
2235
|
getIconRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2236
|
+
private getIconRawText;
|
|
1997
2237
|
/**
|
|
1998
2238
|
* Lightweight, controlled evaluator for string/number expressions using row context.
|
|
1999
2239
|
* Accepts values like '= row.status === "OK" ? "primary" : "warn"'.
|
|
@@ -2034,7 +2274,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2034
2274
|
getBadgeClasses(row: any, column: ColumnDefinition): string[];
|
|
2035
2275
|
getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
2036
2276
|
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;
|
|
2277
|
+
getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
|
|
2278
|
+
getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
|
|
2279
|
+
private resolveMicroVisualizationForRow;
|
|
2280
|
+
private applyMicroVisualizationExpression;
|
|
2281
|
+
private evaluateMicroVisualizationExpression;
|
|
2038
2282
|
getComposeItems(row: any, column: ColumnDefinition): any[];
|
|
2039
2283
|
trackComposeItem(index: number, item: any): string;
|
|
2040
2284
|
getComposeClasses(row: any, column: ColumnDefinition): string[];
|
|
@@ -2163,6 +2407,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2163
2407
|
private getVirtualizationSources;
|
|
2164
2408
|
isVirtualized(): boolean;
|
|
2165
2409
|
getVirtItemHeight(): number;
|
|
2410
|
+
private getDefaultDensityRowHeight;
|
|
2166
2411
|
getVirtBufferSize(): number;
|
|
2167
2412
|
getVirtMinHeightStyle(): string;
|
|
2168
2413
|
getVirtMinHeightHostStyle(): string | null;
|
|
@@ -2177,6 +2422,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2177
2422
|
getMasterSelectionAriaLabel(): string;
|
|
2178
2423
|
private selectRowFromUserInteraction;
|
|
2179
2424
|
private emitSelectionChange;
|
|
2425
|
+
private materializeRecordIdentity;
|
|
2426
|
+
private emitResourceEvent;
|
|
2427
|
+
private buildResourceEvent;
|
|
2180
2428
|
private getSelectedRowsSnapshot;
|
|
2181
2429
|
private getAiAssistantSelectionFields;
|
|
2182
2430
|
private buildAiAssistantSelectionFilterCandidates;
|
|
@@ -2215,10 +2463,19 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2215
2463
|
private splitVisibleRowActionsFromVisible;
|
|
2216
2464
|
private decorateConfiguredRowAction;
|
|
2217
2465
|
private getDiscoveredRowWorkflowActions;
|
|
2466
|
+
private getDiscoveredRowCrudActionsFromSnapshot;
|
|
2467
|
+
private buildDiscoveredRowCrudAction;
|
|
2218
2468
|
private getDiscoveredRowSurfaceActionsFromSnapshot;
|
|
2219
2469
|
private getDiscoveredRowWorkflowActionsFromCatalog;
|
|
2470
|
+
private resolveRowCrudCapabilityOperation;
|
|
2471
|
+
private createSyntheticCrudCapabilityOperation;
|
|
2220
2472
|
private supportsRowCrudAction;
|
|
2221
2473
|
private isCapabilityManagedCrudRowAction;
|
|
2474
|
+
private isFailClosedConfiguredRowAction;
|
|
2475
|
+
private getCrudRowActionLabel;
|
|
2476
|
+
private getCrudRowActionIcon;
|
|
2477
|
+
private getCrudRowActionColor;
|
|
2478
|
+
private getUnavailableCrudOperationMessage;
|
|
2222
2479
|
private findItemWorkflowAction;
|
|
2223
2480
|
private findItemSurface;
|
|
2224
2481
|
private isRowSurfaceAction;
|
|
@@ -2246,8 +2503,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
2246
2503
|
getRowMenuIcon(): string;
|
|
2247
2504
|
private scheduleRowDiscoveryMarkForCheck;
|
|
2248
2505
|
ngOnDestroy(): void;
|
|
2249
|
-
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>;
|
|
2506
|
+
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; }, { optional: true; }]>;
|
|
2507
|
+
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; }; "authoringCapability": { "alias": "authoringCapability"; "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
2508
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
2252
2509
|
}
|
|
2253
2510
|
|
|
@@ -2803,6 +3060,13 @@ interface ToolbarAction {
|
|
|
2803
3060
|
/** Material button appearance: filled (flat), outlined (stroked), elevated (raised), text, tonal */
|
|
2804
3061
|
appearance?: 'filled' | 'outlined' | 'elevated' | 'text' | 'tonal';
|
|
2805
3062
|
action: string;
|
|
3063
|
+
target?: {
|
|
3064
|
+
scope: 'collection' | 'selection';
|
|
3065
|
+
cardinality?: {
|
|
3066
|
+
min: number;
|
|
3067
|
+
max?: number;
|
|
3068
|
+
};
|
|
3069
|
+
};
|
|
2806
3070
|
globalAction?: GlobalActionRef;
|
|
2807
3071
|
effects?: PraxisRuntimeGlobalActionEffect[];
|
|
2808
3072
|
position: 'start' | 'end';
|
|
@@ -2960,6 +3224,9 @@ declare class ToolbarActionsEditorComponent implements OnInit, OnDestroy, OnChan
|
|
|
2960
3224
|
private buildGlobalActionPayload;
|
|
2961
3225
|
getToolbarActionShortcutScope(action: ToolbarAction): ToolbarShortcutScope;
|
|
2962
3226
|
onToolbarActionShortcutScopeChange(action: ToolbarAction, value: ToolbarShortcutScope | string): void;
|
|
3227
|
+
onToolbarActionTargetScopeChange(action: ToolbarAction, scope: 'collection' | 'selection'): void;
|
|
3228
|
+
onToolbarActionTargetMinChange(action: ToolbarAction, value: unknown): void;
|
|
3229
|
+
onToolbarActionTargetMaxChange(action: ToolbarAction, value: unknown): void;
|
|
2963
3230
|
addToolbarAction(): void;
|
|
2964
3231
|
editToolbarAction(index: number): void;
|
|
2965
3232
|
removeToolbarAction(index: number): void;
|
|
@@ -3110,6 +3377,7 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3110
3377
|
private scrollTrackingRafId;
|
|
3111
3378
|
readonly layoutPreviewFields: string[];
|
|
3112
3379
|
private readonly storage;
|
|
3380
|
+
private readonly filterConfigService;
|
|
3113
3381
|
private readonly settingsPanel;
|
|
3114
3382
|
private readonly snackBar;
|
|
3115
3383
|
private readonly destroyRef;
|
|
@@ -3299,16 +3567,8 @@ interface RuleGroup {
|
|
|
3299
3567
|
}
|
|
3300
3568
|
type StructuredRuleCondition = JsonLogicExpression | null;
|
|
3301
3569
|
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
3570
|
compileGroupToJsonLogic(group: RuleGroup): StructuredRuleCondition;
|
|
3310
3571
|
compileAtomToJsonLogic(atom: RuleAtom): JsonLogicExpression | null;
|
|
3311
|
-
private stringify;
|
|
3312
3572
|
private toJsonLogicValue;
|
|
3313
3573
|
private toList;
|
|
3314
3574
|
static ɵfac: i0.ɵɵFactoryDeclaration<RuleCompilerService, never>;
|
|
@@ -3344,6 +3604,11 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3344
3604
|
manualMode: boolean;
|
|
3345
3605
|
manualErrors: string[];
|
|
3346
3606
|
testSummary: string;
|
|
3607
|
+
normalizationWarning: string;
|
|
3608
|
+
importStatus: {
|
|
3609
|
+
type: 'success' | 'warning' | 'error';
|
|
3610
|
+
message: string;
|
|
3611
|
+
} | null;
|
|
3347
3612
|
editIndex: number;
|
|
3348
3613
|
get currentRules(): RuleItem[];
|
|
3349
3614
|
set currentRules(v: RuleItem[]);
|
|
@@ -3410,7 +3675,11 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3410
3675
|
removeRule(index: number): void;
|
|
3411
3676
|
duplicateRule(index: number): void;
|
|
3412
3677
|
onRuleToggle(): void;
|
|
3678
|
+
private emitRulesConfigChange;
|
|
3413
3679
|
buildAppliedConfig(baseConfig?: TableConfig): TableConfig;
|
|
3680
|
+
private isGeneratedRendererMatch;
|
|
3681
|
+
private stableRendererSignature;
|
|
3682
|
+
private stripRulesEditorMarker;
|
|
3414
3683
|
onApply(): void;
|
|
3415
3684
|
isValid(): boolean;
|
|
3416
3685
|
onExportRules(): void;
|
|
@@ -3510,9 +3779,14 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3510
3779
|
onDropCondition(evt: CdkDragDrop<RuleAtom[]>): void;
|
|
3511
3780
|
updateDraftFromGroup(): void;
|
|
3512
3781
|
getAtomPreview(a: RuleAtom): string;
|
|
3782
|
+
private stringifyJsonLogicPreview;
|
|
3783
|
+
private stringifyJsonLogicInlinePreview;
|
|
3513
3784
|
addSubgroup(): void;
|
|
3514
3785
|
removeSubgroup(index: number): void;
|
|
3515
3786
|
getGroupPreview(g: RuleGroup): string;
|
|
3787
|
+
private isNumericFieldType;
|
|
3788
|
+
private parseNumericCsv;
|
|
3789
|
+
private toFiniteNumber;
|
|
3516
3790
|
private getActiveGroupRef;
|
|
3517
3791
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRulesEditorComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
3518
3792
|
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>;
|
|
@@ -3874,11 +4148,15 @@ interface AnalyticsTableConfigAdapterOptions {
|
|
|
3874
4148
|
subtitle?: PraxisTextValue;
|
|
3875
4149
|
}
|
|
3876
4150
|
declare class AnalyticsTableConfigAdapterService {
|
|
4151
|
+
private readonly i18n?;
|
|
4152
|
+
constructor(i18n?: PraxisI18nService | undefined);
|
|
3877
4153
|
toTableConfig(projection: PraxisAnalyticsProjection, options?: AnalyticsTableConfigAdapterOptions): TableConfig;
|
|
3878
4154
|
private buildColumns;
|
|
4155
|
+
private buildComparisonMetricColumns;
|
|
4156
|
+
private comparisonValueLabel;
|
|
3879
4157
|
private getDisplayMetrics;
|
|
3880
4158
|
private resolveTextValue;
|
|
3881
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsTableConfigAdapterService,
|
|
4159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnalyticsTableConfigAdapterService, [{ optional: true; }]>;
|
|
3882
4160
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsTableConfigAdapterService>;
|
|
3883
4161
|
}
|
|
3884
4162
|
|
|
@@ -4344,7 +4622,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
|
|
|
4344
4622
|
};
|
|
4345
4623
|
readonly variant: {
|
|
4346
4624
|
readonly type: "string";
|
|
4347
|
-
readonly enum: readonly ["filled", "outlined", "soft"];
|
|
4625
|
+
readonly enum: readonly ["filled", "outlined", "soft", "plain"];
|
|
4348
4626
|
};
|
|
4349
4627
|
readonly icon: {
|
|
4350
4628
|
readonly type: "string";
|
|
@@ -4591,5 +4869,5 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
|
|
|
4591
4869
|
declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4592
4870
|
declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
|
|
4593
4871
|
|
|
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 };
|
|
4595
|
-
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 };
|
|
4872
|
+
export { ANALYTICS_TABLE_ROW_KEY_FIELD, 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, analyticsComparisonMetricField, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
4873
|
+
export type { ActionLike, AnalyticsComparisonMetricValueKind, 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 };
|