@praxisui/table 10.0.0-rc.5 → 10.0.0-rc.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.
@@ -1,8 +1,8 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
3
1
  import * as _praxisui_core from '@praxisui/core';
4
- import { TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceSurfaceCatalogItem, ResourceCapabilityOperation, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, TableConfigService, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, PraxisAnalyticalDrawerTab, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition } from '@praxisui/core';
2
+ import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, ResourceQuickViewBinding, ApiEndpoint, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, DiscoveredResourceOption, TableConfigService, PraxisResourceQuickFilter, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
5
3
  export { DynamicDataCollection, DynamicDataRecord, DynamicRecordMeta, ResourceLinkItem, ResourceLinks, createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
4
+ import * as i0 from '@angular/core';
5
+ import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
6
6
  import { ActivatedRoute } from '@angular/router';
7
7
  import { SafeHtml } from '@angular/platform-browser';
8
8
  import { MatTable, MatTableDataSource } from '@angular/material/table';
@@ -40,6 +40,32 @@ interface TableCollectionOutcome {
40
40
  }>;
41
41
  }
42
42
 
43
+ interface TableBulkSyncSelection {
44
+ id: BulkWireId;
45
+ links: RestApiLinks;
46
+ }
47
+ /** Detached, one-invocation context owned by the table. */
48
+ interface TableBulkSyncContext {
49
+ resourcePath: string;
50
+ resourceKey: string;
51
+ tableId: string;
52
+ identityPath: string;
53
+ contract: BulkExecutionContract;
54
+ options?: ResourceDiscoveryRequestOptions;
55
+ selection: readonly TableBulkSyncSelection[];
56
+ }
57
+ /** Private, table-owned custody for one evaluated intent in this component instance. */
58
+ interface TableBulkSyncHandle {
59
+ context: TableBulkSyncContext;
60
+ session: BulkSyncSession;
61
+ confirmationKey: string | null;
62
+ /** Await an already dispatched session request before a remount authorizes projections. */
63
+ pendingSessionWork?: Promise<unknown> | null;
64
+ requestedChanges: readonly BulkFieldChange[] | null;
65
+ enterpriseIdentity: string | undefined;
66
+ operationalIdentity: string;
67
+ }
68
+
43
69
  interface ActionLike {
44
70
  action?: string;
45
71
  id?: string;
@@ -67,7 +93,7 @@ interface PraxisTableQueryContextClearEvent {
67
93
  remainingFilters?: Record<string, unknown>;
68
94
  remainingFilterCount?: number;
69
95
  tableId?: string;
70
- source?: 'toolbar-chip';
96
+ source?: 'toolbar-chip' | 'quick-filter' | 'advanced-filter';
71
97
  }
72
98
  declare const PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS: Record<string, TableToolbarAppearanceConfig>;
73
99
  declare const PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE: InjectionToken<TableToolbarAppearanceConfig>;
@@ -81,6 +107,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
81
107
  private tokenPresets?;
82
108
  private toolbarRoot?;
83
109
  private toolbarIdentity?;
110
+ private toolbarScope?;
84
111
  private fullActionsGroup?;
85
112
  private endActionsGroup?;
86
113
  activeOverflowMenuTrigger?: MatMenuTrigger;
@@ -105,6 +132,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
105
132
  activeQuickFilterId: string | null;
106
133
  activeDensity: TableToolbarAppearanceDensity | null;
107
134
  activeCrossFilters: PraxisTableCrossFilterItem[];
135
+ lockedFilterFields: readonly string[] | null | undefined;
108
136
  /** @internal Used by PraxisTable so toolbar menu decisions materialize through the table runtime. */
109
137
  columnVisibilityController?: (field: string, visible: boolean) => void;
110
138
  readonly clearCrossFilter: EventEmitter<PraxisTableCrossFilterItem>;
@@ -172,8 +200,9 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
172
200
  label: string;
173
201
  filter: Record<string, unknown>;
174
202
  icon?: string;
203
+ tone?: PraxisQuickFilterTone;
204
+ tooltip?: string;
175
205
  }>;
176
- private normalizeQuickFilterExpression;
177
206
  shouldShowQuickFilters(): boolean;
178
207
  getQuickFiltersLabel(): string;
179
208
  getQuickFilterLabel(filter: {
@@ -216,6 +245,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
216
245
  private scheduleActionCapacityCheck;
217
246
  private updateActionCapacity;
218
247
  private getIdentityRequiredWidth;
248
+ private getScopeRequiredWidth;
219
249
  private readPixelValue;
220
250
  getToolbarVariant(): TableToolbarAppearanceVariant;
221
251
  getToolbarDensity(): TableToolbarAppearanceDensity;
@@ -293,7 +323,7 @@ declare class PraxisTableToolbar implements AfterViewInit, OnDestroy {
293
323
  private sortActions;
294
324
  getExportIcon(format: string): string;
295
325
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableToolbar, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
296
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "focusScope": { "alias": "focusScope"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "exportStatusMessage": { "alias": "exportStatusMessage"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; "activeQuickFilterId": { "alias": "activeQuickFilterId"; "required": false; }; "activeDensity": { "alias": "activeDensity"; "required": false; }; "activeCrossFilters": { "alias": "activeCrossFilters"; "required": false; }; "columnVisibilityController": { "alias": "columnVisibilityController"; "required": false; }; }, { "clearCrossFilter": "clearCrossFilter"; "clearAllCrossFilters": "clearAllCrossFilters"; "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; "columnVisibilityToggle": "columnVisibilityToggle"; "quickFilterChange": "quickFilterChange"; "densityChange": "densityChange"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
326
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "focusScope": { "alias": "focusScope"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "exportStatusMessage": { "alias": "exportStatusMessage"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; "activeQuickFilterId": { "alias": "activeQuickFilterId"; "required": false; }; "activeDensity": { "alias": "activeDensity"; "required": false; }; "activeCrossFilters": { "alias": "activeCrossFilters"; "required": false; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "required": false; }; "columnVisibilityController": { "alias": "columnVisibilityController"; "required": false; }; }, { "clearCrossFilter": "clearCrossFilter"; "clearAllCrossFilters": "clearAllCrossFilters"; "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; "columnVisibilityToggle": "columnVisibilityToggle"; "quickFilterChange": "quickFilterChange"; "densityChange": "densityChange"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
297
327
  }
298
328
 
299
329
  type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
@@ -428,9 +458,12 @@ declare class TableDefaultsProvider {
428
458
  constructor(global: GlobalConfigService);
429
459
  /**
430
460
  * Returns default configuration for a given table identifier.
461
+ * Precedence inside defaults: GlobalConfig.table > createDefaultTableConfig().
431
462
  * @param tableId Table identifier
432
463
  */
433
- getDefaults(_tableId: string): TableConfig;
464
+ getDefaults(_tableId: string, options?: {
465
+ includeGlobal?: boolean;
466
+ }): TableConfig;
434
467
  static ɵfac: i0.ɵɵFactoryDeclaration<TableDefaultsProvider, never>;
435
468
  static ɵprov: i0.ɵɵInjectableDeclaration<TableDefaultsProvider>;
436
469
  }
@@ -453,6 +486,8 @@ type FilterConfig = {
453
486
  /** User-selected extra field ids to show before pinned always-visible */
454
487
  selectedFieldIds?: string[];
455
488
  showAdvanced?: boolean;
489
+ showAddButton?: boolean;
490
+ showFilterSettings?: boolean;
456
491
  mode?: 'filter';
457
492
  changeDebounceMs?: number;
458
493
  allowSaveTags?: boolean;
@@ -491,6 +526,14 @@ type FilterConfig = {
491
526
  useInlineTimeRangeVariant?: boolean;
492
527
  /** Opt-out para mapear treeSelect/multiSelectTree na variante compacta inline. */
493
528
  useInlineTreeSelectVariant?: boolean;
529
+ /** Opt-out para mapear select simples na variante compacta inline. */
530
+ useInlineSelectVariant?: boolean;
531
+ /** Opt-out para mapear multiSelect/chipInput na variante compacta inline. */
532
+ useInlineMultiSelectVariant?: boolean;
533
+ /** Opt-out para mapear input/searchInput na variante compacta inline. */
534
+ useInlineInputVariant?: boolean;
535
+ /** Opt-out para mapear toggle/checkbox/switch na variante compacta inline. */
536
+ useInlineToggleVariant?: boolean;
494
537
  overlayVariant?: 'card' | 'frosted';
495
538
  overlayBackdrop?: boolean;
496
539
  advancedOpenMode?: 'overlay' | 'modal' | 'drawer';
@@ -633,6 +676,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
633
676
  private componentKeys;
634
677
  private route?;
635
678
  private logger?;
679
+ private static readonly sharedSchemaMetaCacheByStorage;
680
+ private static readonly schemaMetaPersistenceQueuesByStorage;
636
681
  addManagerOrigin?: ElementRef<HTMLButtonElement>;
637
682
  addManagerSearch?: PdxCollectionSearchComponent;
638
683
  resourcePath: string;
@@ -656,6 +701,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
656
701
  /** Enable edit mode (gates notifications) */
657
702
  enableCustomization: boolean;
658
703
  value?: Record<string, any>;
704
+ lockedFilterFields?: readonly string[] | null;
659
705
  alwaysVisibleFields?: string[];
660
706
  /**
661
707
  * Optional metadata overrides for always-visible fields.
@@ -675,6 +721,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
675
721
  changeDebounceMs: number;
676
722
  /** Controla a exibição do botão de preferências dentro do filtro */
677
723
  showFilterSettings: boolean;
724
+ private hostShowFilterSettings?;
678
725
  /** Controla a exibição do botão de filtro avançado */
679
726
  showAdvancedButton: boolean;
680
727
  /** Projection of FilterConfig.presentation for standalone and embedded hosts. */
@@ -686,6 +733,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
686
733
  get advancedActionDisplay(): string;
687
734
  /** Controla a exibição do botão de adicionar campos */
688
735
  showAddButton: boolean;
736
+ private hostShowAddButton?;
689
737
  /** Controla a exibição do botão de limpar filtros */
690
738
  showClearButton: boolean;
691
739
  /** Controla a exibição do botão de pesquisar/aplicar filtros em fluxos manuais. */
@@ -871,6 +919,9 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
871
919
  private lastSavedConfigJson;
872
920
  private setSchemaLoading;
873
921
  private setActiveFiltersCount;
922
+ private getLockedFilterFieldsSet;
923
+ isLockedFilterField(fieldName: string): boolean;
924
+ private countActiveUnlockedFilters;
874
925
  private loadSavedTagsFromStorage;
875
926
  private resolveInputDto;
876
927
  private emitSubmitDto;
@@ -897,6 +948,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
897
948
  private areMetadataOverrideMapsEqual;
898
949
  /** Force-sync settings coming from parent table config updates. */
899
950
  applyExternalSettings(cfg?: Partial<FilterConfig>): void;
951
+ private activeFilterSettingsRef?;
952
+ private activeFieldEditorRef?;
900
953
  openSettings(): void;
901
954
  createTag(label?: string): void;
902
955
  renameTag(tag: FilterTag, label?: string): void;
@@ -913,11 +966,14 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
913
966
  private toSchemaIdContext;
914
967
  private resetSchemaStateForContextChange;
915
968
  private clearSchemaMetaPersistence;
969
+ private getSharedSchemaMetaCache;
970
+ private getSchemaMetaPersistenceQueues;
916
971
  private clearConfigStorageKey;
917
972
  private loadStoredSchemaMeta;
918
973
  private rememberSchemaMetaContext;
919
974
  private ensureSchemaMetaIndexLoaded;
920
975
  private saveStoredSchemaMeta;
976
+ private reconcileSchemaMetaSave;
921
977
  private stableSerialize;
922
978
  private normalizeStoredSchemaMetaForComparison;
923
979
  private schemaVerificationContextKey;
@@ -941,10 +997,13 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
941
997
  */
942
998
  private restartSchemaLoadForCurrentContext;
943
999
  retrySchemaLoad(): void;
1000
+ private shouldAutoPopulateStandaloneFilterFields;
1001
+ private pickDefaultStandaloneFilterMetas;
944
1002
  private applySchemaMetas;
945
1003
  private applySchemaMetasNow;
946
1004
  private withFilterMaterialDesignPolicy;
947
1005
  private withAdvancedDatePickerTouchPolicy;
1006
+ private withAdvancedEntityLookupPresentationPolicy;
948
1007
  private isAdvancedDatePickerControl;
949
1008
  private buildAdvancedFilterColumn;
950
1009
  private isLongTextFilterField;
@@ -1093,7 +1152,9 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
1093
1152
  private normalizeFilterFieldValue;
1094
1153
  private getFilterFieldMetaByName;
1095
1154
  private isEntityLookupFilterField;
1155
+ private isIncompleteInlineDateRangeValue;
1096
1156
  private isEffectivelyEmptyFilterValue;
1157
+ private projectQueryPayload;
1097
1158
  private syncFormsToDto;
1098
1159
  private updateDisplayedTags;
1099
1160
  private normalizeMode;
@@ -1102,7 +1163,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
1102
1163
  private isEditableElement;
1103
1164
  private focusQuick;
1104
1165
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
1105
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilter, "praxis-filter", never, { "resourcePath": { "alias": "resourcePath"; "required": true; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "value": { "alias": "value"; "required": false; }; "alwaysVisibleFields": { "alias": "alwaysVisibleFields"; "required": false; }; "alwaysVisibleFieldMetadataOverrides": { "alias": "alwaysVisibleFieldMetadataOverrides"; "required": false; }; "selectedFieldIds": { "alias": "selectedFieldIds"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "allowSaveTags": { "alias": "allowSaveTags"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; "disablePersistence": { "alias": "disablePersistence"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "changeDebounceMs": { "alias": "changeDebounceMs"; "required": false; }; "showFilterSettings": { "alias": "showFilterSettings"; "required": false; }; "showAdvancedButton": { "alias": "showAdvancedButton"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "confirmTagDelete": { "alias": "confirmTagDelete"; "required": false; }; "placeBooleansInActions": { "alias": "placeBooleansInActions"; "required": false; }; "showToggleLabels": { "alias": "showToggleLabels"; "required": false; }; "useInlineSelectVariant": { "alias": "useInlineSelectVariant"; "required": false; }; "useInlineSearchableSelectVariant": { "alias": "useInlineSearchableSelectVariant"; "required": false; }; "useInlineMultiSelectVariant": { "alias": "useInlineMultiSelectVariant"; "required": false; }; "useInlineInputVariant": { "alias": "useInlineInputVariant"; "required": false; }; "useInlineToggleVariant": { "alias": "useInlineToggleVariant"; "required": false; }; "useInlineRangeVariant": { "alias": "useInlineRangeVariant"; "required": false; }; "useInlineDateVariant": { "alias": "useInlineDateVariant"; "required": false; }; "useInlineDateRangeVariant": { "alias": "useInlineDateRangeVariant"; "required": false; }; "useInlineTimeVariant": { "alias": "useInlineTimeVariant"; "required": false; }; "useInlineTimeRangeVariant": { "alias": "useInlineTimeRangeVariant"; "required": false; }; "useInlineTreeSelectVariant": { "alias": "useInlineTreeSelectVariant"; "required": false; }; "alwaysMinWidth": { "alias": "alwaysMinWidth"; "required": false; }; "alwaysColsMd": { "alias": "alwaysColsMd"; "required": false; }; "alwaysColsLg": { "alias": "alwaysColsLg"; "required": false; }; "tagColor": { "alias": "tagColor"; "required": false; }; "tagVariant": { "alias": "tagVariant"; "required": false; }; "tagButtonColor": { "alias": "tagButtonColor"; "required": false; }; "actionsButtonColor": { "alias": "actionsButtonColor"; "required": false; }; "actionsVariant": { "alias": "actionsVariant"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; "overlayBackdrop": { "alias": "overlayBackdrop"; "required": false; }; "advancedOpenMode": { "alias": "advancedOpenMode"; "required": false; }; "advancedClearButtonsEnabled": { "alias": "advancedClearButtonsEnabled"; "required": false; }; }, { "submit": "submit"; "change": "change"; "clear": "clear"; "modeChange": "modeChange"; "requestSearch": "requestSearch"; "contextChange": "contextChange"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
1166
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilter, "praxis-filter", never, { "resourcePath": { "alias": "resourcePath"; "required": true; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "value": { "alias": "value"; "required": false; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "required": false; }; "alwaysVisibleFields": { "alias": "alwaysVisibleFields"; "required": false; }; "alwaysVisibleFieldMetadataOverrides": { "alias": "alwaysVisibleFieldMetadataOverrides"; "required": false; }; "selectedFieldIds": { "alias": "selectedFieldIds"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "allowSaveTags": { "alias": "allowSaveTags"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; "disablePersistence": { "alias": "disablePersistence"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "changeDebounceMs": { "alias": "changeDebounceMs"; "required": false; }; "showFilterSettings": { "alias": "showFilterSettings"; "required": false; }; "showAdvancedButton": { "alias": "showAdvancedButton"; "required": false; }; "presentation": { "alias": "presentation"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "confirmTagDelete": { "alias": "confirmTagDelete"; "required": false; }; "placeBooleansInActions": { "alias": "placeBooleansInActions"; "required": false; }; "showToggleLabels": { "alias": "showToggleLabels"; "required": false; }; "useInlineSelectVariant": { "alias": "useInlineSelectVariant"; "required": false; }; "useInlineSearchableSelectVariant": { "alias": "useInlineSearchableSelectVariant"; "required": false; }; "useInlineMultiSelectVariant": { "alias": "useInlineMultiSelectVariant"; "required": false; }; "useInlineInputVariant": { "alias": "useInlineInputVariant"; "required": false; }; "useInlineToggleVariant": { "alias": "useInlineToggleVariant"; "required": false; }; "useInlineRangeVariant": { "alias": "useInlineRangeVariant"; "required": false; }; "useInlineDateVariant": { "alias": "useInlineDateVariant"; "required": false; }; "useInlineDateRangeVariant": { "alias": "useInlineDateRangeVariant"; "required": false; }; "useInlineTimeVariant": { "alias": "useInlineTimeVariant"; "required": false; }; "useInlineTimeRangeVariant": { "alias": "useInlineTimeRangeVariant"; "required": false; }; "useInlineTreeSelectVariant": { "alias": "useInlineTreeSelectVariant"; "required": false; }; "alwaysMinWidth": { "alias": "alwaysMinWidth"; "required": false; }; "alwaysColsMd": { "alias": "alwaysColsMd"; "required": false; }; "alwaysColsLg": { "alias": "alwaysColsLg"; "required": false; }; "tagColor": { "alias": "tagColor"; "required": false; }; "tagVariant": { "alias": "tagVariant"; "required": false; }; "tagButtonColor": { "alias": "tagButtonColor"; "required": false; }; "actionsButtonColor": { "alias": "actionsButtonColor"; "required": false; }; "actionsVariant": { "alias": "actionsVariant"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; "overlayBackdrop": { "alias": "overlayBackdrop"; "required": false; }; "advancedOpenMode": { "alias": "advancedOpenMode"; "required": false; }; "advancedClearButtonsEnabled": { "alias": "advancedClearButtonsEnabled"; "required": false; }; }, { "submit": "submit"; "change": "change"; "clear": "clear"; "modeChange": "modeChange"; "requestSearch": "requestSearch"; "contextChange": "contextChange"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
1106
1167
  }
1107
1168
 
1108
1169
  declare const PRAXIS_FILTER_COMPONENT_METADATA: ComponentDocMeta;
@@ -1151,6 +1212,8 @@ declare class AnalyticsTableStatsApiService {
1151
1212
  constructor(http: HttpClient, apiUrl: ApiUrlConfig);
1152
1213
  execute(projection: PraxisAnalyticsProjection, queryContext?: PraxisDataQueryContext | null): Observable<AnalyticsTableRow[]>;
1153
1214
  private toTableRows;
1215
+ private projectDimensionValues;
1216
+ private resolveDimensionBucketLabel;
1154
1217
  private resolveTimeSeriesCategory;
1155
1218
  private resolveBucketCategory;
1156
1219
  private resolveBucketKey;
@@ -1362,8 +1425,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1362
1425
  private route?;
1363
1426
  private logger?;
1364
1427
  private analyticsStatsApi?;
1428
+ private readonly microTooltipOverlay;
1429
+ private readonly microTooltipHostRef;
1430
+ private readonly microTooltipCleanup;
1365
1431
  activeRowOverflowMenuTrigger?: MatMenuTrigger;
1366
1432
  private activeRowOverflowMenuTriggerElement?;
1433
+ private activeRowOverflowMenuRow?;
1434
+ private activeRowOverflowMenuSignature?;
1435
+ private reattachingRowOverflowMenuTrigger?;
1367
1436
  private openingRowActions;
1368
1437
  private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
1369
1438
  private static readonly AI_SELECTION_ROW_LIMIT;
@@ -1381,19 +1450,29 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1381
1450
  private readonly runtimeObservationRegistry;
1382
1451
  private readonly detailInlineRenderers;
1383
1452
  private readonly drawerRegistry;
1453
+ private readonly quickViewService;
1384
1454
  private collectionLinks;
1455
+ getCollectionSurfacesHref(): string | null;
1385
1456
  private collectionCapabilities;
1386
1457
  private collectionCapabilitiesRequestHref;
1387
1458
  private collectionCapabilitiesResolvedHref;
1388
1459
  private collectionCapabilitiesRequestSeq;
1460
+ bulkSyncHandle: TableBulkSyncHandle | null;
1461
+ private readonly bulkClient;
1462
+ private readonly bulkSessions;
1389
1463
  private readonly detailInlineNodeResolvers;
1390
1464
  private readonly detailResourceResolver;
1391
1465
  private runtimeObservationRegistration;
1392
1466
  readonly paginatorSelectConfig: MatPaginatorSelectConfig;
1393
1467
  private static readonly ROW_ANIMATION_PRESETS;
1394
1468
  private static readonly ROW_ANIMATION_PRESET_ALIASES;
1469
+ static ngAcceptInputType_config: TableConfigInput;
1395
1470
  config: TableConfig;
1471
+ private hostInputConfig?;
1472
+ private persistedUserConfig?;
1396
1473
  resourcePath: string;
1474
+ /** Read-only collection operation materialized from backend discovery. */
1475
+ collectionSurface: ResourceSurfaceCatalogItem | null;
1397
1476
  data: any[] | null;
1398
1477
  tableId: string;
1399
1478
  componentInstanceId?: string;
@@ -1407,12 +1486,26 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1407
1486
  autoOpenSettingsOnOutdated: boolean;
1408
1487
  crudContext: any;
1409
1488
  filterCriteria: Record<string, any>;
1410
- filterTeleport: boolean;
1489
+ readonly filterCriteriaChange: EventEmitter<Record<string, any>>;
1490
+ readonly discoveredQuickFiltersChange: EventEmitter<NormalizedPraxisResourceQuickFilter[]>;
1491
+ /**
1492
+ * Quando `true`, um host (ex.: `praxis-crud` com scope-bar ou `praxis-resource-page`) é o dono do
1493
+ * escopo padrão (`isDefault`) dos filtros rápidos descobertos e o propaga via `[filterCriteria]`.
1494
+ * A tabela então apenas emite `discoveredQuickFiltersChange` sem aplicar o padrão internamente.
1495
+ */
1496
+ hostOwnsDefaultQuickFilter: boolean;
1497
+ private _filterTeleport;
1498
+ set filterTeleport(value: boolean);
1499
+ get filterTeleport(): boolean;
1411
1500
  widgetId?: string;
1412
- filterBarTemplate?: TemplateRef<unknown>;
1501
+ readonly filterTemplateSignal: i0.WritableSignal<TemplateRef<unknown> | undefined>;
1502
+ private _filterBarTemplate?;
1503
+ set filterBarTemplate(tpl: TemplateRef<unknown> | undefined);
1504
+ get filterBarTemplate(): TemplateRef<unknown> | undefined;
1413
1505
  get filterTemplate(): TemplateRef<unknown> | undefined;
1414
1506
  private readonly widgetEventBus;
1415
1507
  queryContext: PraxisDataQueryContextBridge | null;
1508
+ lockedFilterFields: readonly string[] | null | undefined;
1416
1509
  readonly queryContextClear: EventEmitter<PraxisTableQueryContextClearEvent>;
1417
1510
  readonly queryContextChange: EventEmitter<PraxisDataQueryContextBridge | null>;
1418
1511
  activeCrossFilters: PraxisTableCrossFilterItem[];
@@ -1475,6 +1568,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1475
1568
  selection: SelectionModel<any>;
1476
1569
  dataSubject: BehaviorSubject<any[]>;
1477
1570
  subscriptions: Subscription[];
1571
+ private surfaceOutcomeOwnerDestroyed;
1478
1572
  showToolbar: boolean;
1479
1573
  hasInitialized: boolean;
1480
1574
  pageIndex: number;
@@ -1504,6 +1598,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1504
1598
  private columnReorderUndoSubscription;
1505
1599
  private columnRuntimeMutationOperationCounter;
1506
1600
  private latestColumnRuntimeMutationOperationId;
1601
+ private persistenceContextEpoch;
1602
+ private schemaPrefsContextEpoch;
1603
+ private persistenceContextDestroyed;
1604
+ /** Fence delayed work; requests already sent are not retroactively canceled. */
1605
+ private persistenceGuard;
1507
1606
  private columnRuntimePersistenceInFlight;
1508
1607
  private columnRuntimePersistencePending;
1509
1608
  private columnResizeTransientWidths;
@@ -1524,6 +1623,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1524
1623
  private localFilterFieldMetadataCacheKey;
1525
1624
  private remoteSchemaLoadSequence;
1526
1625
  private enterpriseContextIdentity;
1626
+ private enterpriseContextReady;
1527
1627
  private staleEnterpriseLocalData;
1528
1628
  private remoteDataLoadSequence;
1529
1629
  private analyticsLoadSequence;
@@ -1559,8 +1659,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1559
1659
  private rowContextRuntimeByRef;
1560
1660
  private rowDiscoveryQueue;
1561
1661
  private rowDiscoveryActiveRequests;
1662
+ private rowDiscoveryActivePrefetchRequests;
1562
1663
  private rowDiscoveryEpoch;
1563
1664
  private rowDiscoveryMarkForCheckScheduled;
1665
+ private pendingRowDiscoveryRefresh?;
1666
+ private pendingMarkForCheckRows;
1564
1667
  private lastRowDiscoveryScopeKey;
1565
1668
  private readonly i18n;
1566
1669
  private readonly sanitizer;
@@ -1577,6 +1680,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1577
1680
  idField: string;
1578
1681
  horizontalScroll: 'auto' | 'wrap' | 'none';
1579
1682
  private horizontalScrollOverrideSource;
1683
+ private hostHorizontalScrollInput?;
1580
1684
  getToolbarPosition(): 'top' | 'bottom' | 'both';
1581
1685
  shouldShowToolbarTopPlacement(): boolean;
1582
1686
  shouldShowToolbarBottomPlacement(): boolean;
@@ -1608,6 +1712,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1608
1712
  protected isActionsStickyStartBoundary(): boolean;
1609
1713
  protected isActionsStickyEndBoundary(): boolean;
1610
1714
  getColumnTextAlignStyle(column: ColumnDefinition): string | null;
1715
+ isTabularColumn(column: ColumnDefinition): boolean;
1611
1716
  getColumnWidthStyle(column: ColumnDefinition): string | null;
1612
1717
  getColumnResizeTableWidthStyle(): string | null;
1613
1718
  getColumnHeaderAttrStyle(column: ColumnDefinition): string | null;
@@ -1661,6 +1766,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1661
1766
  getLoadingSurfaceMessage(): string;
1662
1767
  getLoadingSkeletonRows(): number[];
1663
1768
  isLoadingSkeletonAnimated(): boolean;
1769
+ getSetupEmptyStateTitle(): string;
1770
+ getSetupEmptyStateDescription(): string;
1771
+ getSetupEmptyStatePrimaryAction(): EmptyAction | undefined;
1664
1772
  getNoDataStateTitle(): string;
1665
1773
  getNoDataStateDescription(): string | undefined;
1666
1774
  getTableSettingsLabel(): string;
@@ -1694,11 +1802,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1694
1802
  getNoDataStateIconContainer(): 'none' | 'circle' | 'soft';
1695
1803
  getNoDataStatePrimaryAction(): any | null;
1696
1804
  getNoDataStateSecondaryActions(): any[];
1805
+ private isAdvancedFiltersEffectivelyEnabled;
1806
+ private hasExplicitAdvancedFiltersDisable;
1807
+ private hasDiscoveredCollectionFilterCapability;
1697
1808
  shouldRenderAdvancedFilter(): boolean;
1698
1809
  getAdvancedFilterResourcePath(): string;
1699
1810
  getAdvancedFilterPersistenceKey(): string;
1700
1811
  getAdvancedFilterFormId(): string;
1701
1812
  getAdvancedFilterOpenMode(): 'modal' | 'drawer';
1813
+ shouldShowAdvancedFilterAddButton(): boolean;
1814
+ shouldShowAdvancedFilterSettings(): boolean;
1702
1815
  getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
1703
1816
  getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
1704
1817
  getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
@@ -1798,6 +1911,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1798
1911
  private syncLocalPageSizeFromConfig;
1799
1912
  private recomputeLocalView;
1800
1913
  private resolveLocalSortField;
1914
+ private resolveColumnSemanticSourceField;
1801
1915
  private setSchemaFieldsSnapshot;
1802
1916
  private setFilterSchemaFieldsSnapshot;
1803
1917
  private inferFilterSchemaSourceFields;
@@ -1813,13 +1927,18 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1813
1927
  private tableConfigKey;
1814
1928
  private filterConfigKey;
1815
1929
  private ensureConfigDefaults;
1930
+ private recomposeEffectiveTableConfig;
1816
1931
  private hasDeclaredAppearanceDensity;
1817
1932
  private hasDeclaredAppearanceSection;
1818
1933
  private shouldApplyAppearanceDefaultValue;
1819
1934
  private mergePersistedTableConfigWithInput;
1935
+ private reconcileTableConfigInputChange;
1820
1936
  private reconcileHostDeclaredTableContract;
1937
+ private refreshSchemaColumnsFromSnapshot;
1821
1938
  private reconcileHostDeclaredColumns;
1822
1939
  private reconcileHostDeclaredRowActions;
1940
+ private reconcileHostDeclaredBulkActions;
1941
+ private reconcileHostDeclaredFiltering;
1823
1942
  private reconcileHostDeclaredExport;
1824
1943
  private normalizePersistedExportFormats;
1825
1944
  private normalizePersistedRowActionIds;
@@ -1830,9 +1949,17 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1830
1949
  private shouldExposeToolbar;
1831
1950
  private resolveCollectionDiscoveryOptions;
1832
1951
  private updateCollectionLinks;
1952
+ private syncDiscoveredCollectionFilterToolbarState;
1833
1953
  private resolveCollectionCapabilitiesHref;
1834
1954
  private materializeCollectionCreateToolbarAction;
1835
1955
  private materializeCollectionWorkflowToolbarActions;
1956
+ private materializeCollectionBulkSyncToolbarAction;
1957
+ private hasBulkSyncSelection;
1958
+ private tryHandleBulkSyncToolbarAction;
1959
+ private isBulkSyncPending;
1960
+ canShowBulkSyncHandle(): boolean;
1961
+ closeBulkSync(): void;
1962
+ private bulkSyncOperationalIdentity;
1836
1963
  private isCollectionActionDiscoveryEnabled;
1837
1964
  private ensureToolbarConfigForRuntime;
1838
1965
  private buildCollectionCreateToolbarAction;
@@ -1916,6 +2043,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1916
2043
  private refreshAiAssistantContextAfterSelectionChange;
1917
2044
  private hasAiAssistantSessionState;
1918
2045
  private resolveAiAssistantSessionId;
2046
+ protected aiAssistantShellOwnerKey(): string;
2047
+ protected onAiAssistantShellPromptChange(prompt: string, owner: string): void;
1919
2048
  private resolveAiAssistantOwnerId;
1920
2049
  private runtimeSurfaceInstanceRef;
1921
2050
  private safeRuntimeSurfaceRefSegment;
@@ -1932,8 +2061,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1932
2061
  private getRenderedRowCount;
1933
2062
  private hasActiveDataFilters;
1934
2063
  private hasActiveEmptyStateFilters;
2064
+ getEffectiveLockedFilterFields(): string[];
1935
2065
  private hasMeaningfulFilterCriteria;
1936
2066
  private hasMeaningfulFilterValue;
2067
+ isStructuralQueryContextField(field: string): boolean;
1937
2068
  computeActiveCrossFilters(): PraxisTableCrossFilterItem[];
1938
2069
  onClearCrossFilter(item: PraxisTableCrossFilterItem): void;
1939
2070
  onClearAllCrossFilters(): void;
@@ -2049,6 +2180,15 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2049
2180
  private resolveExpansionDetailTimelineExpressionValue;
2050
2181
  private getExpansionDetailTimelineObjectValue;
2051
2182
  private normalizeExpansionDetailCardGridCardContent;
2183
+ /** `visibleWhen` is canonical Json Logic (object or boolean); string DSL is not a valid rule. */
2184
+ private normalizeExpansionDetailVisibleWhen;
2185
+ /**
2186
+ * Visibility gate for every detail node, including host-mediated ones (cardGrid, list, detailList,
2187
+ * timeline) that are not rendered by PraxisRichContent. Mirrors `PraxisRichContent.evaluateRule`:
2188
+ * same context (`row`, `computed`, `detail`), truthiness of the Json Logic result, fail-closed on error.
2189
+ */
2190
+ isExpansionDetailNodeVisible(node: any, row: any, index: number): boolean;
2191
+ private withExpansionDetailParentVisibleWhen;
2052
2192
  private normalizeExpansionDetailMediaBlockAvatar;
2053
2193
  private normalizeExpansionDetailMediaBlockText;
2054
2194
  private normalizeExpansionDetailMediaBlockMeta;
@@ -2114,6 +2254,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2114
2254
  private mapExpansionDetailNodeToRichContent;
2115
2255
  private mapExpansionDetailMediaBlockNodeToRichContent;
2116
2256
  private mapExpansionDetailCardNodeToRichContent;
2257
+ private expansionDetailVisibleWhenPatch;
2117
2258
  private mapExpansionDetailStackNodeToRichContent;
2118
2259
  private mapExpansionDetailValueNodeToRichContent;
2119
2260
  private mapExpansionDetailTimelineNodeToRichContent;
@@ -2128,6 +2269,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2128
2269
  private getExpansionConfig;
2129
2270
  private getDetailConfig;
2130
2271
  private ensureExpansionDetailPrepared;
2272
+ private resolveEffectiveExpansionSourceMode;
2131
2273
  private resolveExpansionDetailSchemaForRow;
2132
2274
  private resolveExpansionDetailByMode;
2133
2275
  private resolveExpansionDetailInlineSchema;
@@ -2227,7 +2369,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2227
2369
  private showActionFeedbackMessage;
2228
2370
  private emitEventWithActionFeedback;
2229
2371
  private executeConfiguredGlobalAction;
2372
+ private isWritableConfiguredSurfaceOpen;
2230
2373
  private withTableRuntimeContext;
2374
+ private resolveTableSurfaceRuntime;
2231
2375
  private executeSurfaceOpen;
2232
2376
  private resolveConfiguredGlobalActionRef;
2233
2377
  private resolveActionGlobalActionRef;
@@ -2253,6 +2397,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2253
2397
  private unwrapCollectionWorkflowResult;
2254
2398
  private showCollectionWorkflowContractError;
2255
2399
  private tryHandleCollectionCreateToolbarAction;
2400
+ private bindDiscoveredSurfaceOutcome;
2401
+ private applySurfaceActionRefresh;
2256
2402
  private resolveBulkExportFormat;
2257
2403
  private isBulkExportActionKey;
2258
2404
  private normalizeExportFormat;
@@ -2293,8 +2439,39 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2293
2439
  filter: Record<string, unknown>;
2294
2440
  active: boolean;
2295
2441
  }): void;
2442
+ getConfiguredQuickFilters(): Array<{
2443
+ id: string;
2444
+ label: string;
2445
+ filter: Record<string, unknown>;
2446
+ icon?: string;
2447
+ tone?: PraxisQuickFilterTone;
2448
+ isDefault?: boolean;
2449
+ description?: string;
2450
+ tooltip?: string;
2451
+ order?: number;
2452
+ }>;
2453
+ getQuickFilterManagedFields(): string[];
2454
+ private parseQuickFilterDefinition;
2455
+ getEffectiveEditableFilterCriteria(): Record<string, any>;
2456
+ private reconcileEditableQueryContextFilters;
2457
+ private syncQuickFilterStateFromEffectiveCriteria;
2296
2458
  private clearQuickFilterRuntimeState;
2297
2459
  private hasEquivalentFilterCriteria;
2460
+ private lastAppliedFilterCriteria;
2461
+ private hierarchySnapshot;
2462
+ private hierarchyTitleField;
2463
+ private hierarchyTenant;
2464
+ private clearHierarchySnapshot;
2465
+ getHierarchyCell(row: Record<string, unknown>, column: ColumnDefinition): {
2466
+ indent: number;
2467
+ children: number | null;
2468
+ leaf: boolean | null;
2469
+ focusPath: string | null;
2470
+ } | null;
2471
+ hierarchyText(key: 'focus' | 'root' | 'navigation' | 'children'): string;
2472
+ get focusedSubtree(): string | null;
2473
+ focusSubtree(path: string | null): void;
2474
+ private getSubtreeFilterField;
2298
2475
  applyAdvancedFilterCriteria(criteria: Record<string, any> | null | undefined, reason?: string): void;
2299
2476
  private setAdvancedFilterCriteria;
2300
2477
  private syncAdvancedFilterValueFromCriteria;
@@ -2320,6 +2497,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2320
2497
  private emitWidgetInputPatch;
2321
2498
  private cloneInputPatch;
2322
2499
  private executeTableEditorApplyPlan;
2500
+ private normalizeResourcePathIdentity;
2501
+ private areColumnsDerivedFromPreviousResource;
2502
+ private stripResourceBoundTableConfigState;
2323
2503
  private attachRuntimeMetadataToEditorConfig;
2324
2504
  private syncInternalFilterSettings;
2325
2505
  private resetPreferencesToDefaults;
@@ -2441,6 +2621,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2441
2621
  * nunca pode ser substituído pelo consumidor.
2442
2622
  */
2443
2623
  private projectSchemaColumns;
2624
+ private toTableEditorConfig;
2444
2625
  /**
2445
2626
  * Converte a configuração materializada usada pelo renderer de volta ao
2446
2627
  * contrato compacto e persistível. O schema continua sendo a fonte
@@ -2452,6 +2633,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2452
2633
  private toPortableColumnDefinition;
2453
2634
  private arePortableValuesEqual;
2454
2635
  private applySchemaFieldPresentationsToExistingColumns;
2636
+ private applySchemaComposeItemsQuickView;
2455
2637
  private applySchemaFieldPresentation;
2456
2638
  private applySchemaSemanticCellPresentation;
2457
2639
  private resolveSemanticPresentationColor;
@@ -2480,6 +2662,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2480
2662
  private buildRowDiscoveryScopeKey;
2481
2663
  private resetRowContextRuntimeState;
2482
2664
  private enqueueRowDiscoveryRequest;
2665
+ private promoteQueuedRowDiscoveryRequest;
2666
+ private prioritizeQueuedPrefetchRowDiscovery;
2667
+ private canDispatchNextRowDiscoveryTask;
2483
2668
  private drainRowDiscoveryQueue;
2484
2669
  private buildRowDiscoveryOptions;
2485
2670
  private getRowLinks;
@@ -2511,6 +2696,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2511
2696
  private resolveRowDiscoveryRuntimeStatus;
2512
2697
  private resolveRowDiscoveryRuntimeStatusRaw;
2513
2698
  private getRowContextRuntimeState;
2699
+ private scheduleExpiredRowDiscovery;
2514
2700
  private buildRowContextRuntimeState;
2515
2701
  private resolveRowContextRuntimeValidUntil;
2516
2702
  private resolveRowDiscoveryRelValidUntil;
@@ -2547,6 +2733,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2547
2733
  * 3. format (data formatting like dates, numbers, currency)
2548
2734
  */
2549
2735
  getCellValue(rowData: any, column: ColumnDefinition): any;
2736
+ private shouldSuppressIntegerThousandsGrouping;
2550
2737
  private applyImplicitRuntimeCellPresentation;
2551
2738
  private shouldHumanizeRuntimeEnumCell;
2552
2739
  private resolveCellFormattingType;
@@ -2640,6 +2827,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2640
2827
  * Safely access nested properties using dot notation
2641
2828
  */
2642
2829
  private getNestedPropertyValue;
2830
+ private hasNestedProperty;
2643
2831
  /**
2644
2832
  * Verifica se a ordenação está habilitada
2645
2833
  */
@@ -2678,6 +2866,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2678
2866
  private isColumnFiltersSupported;
2679
2867
  private isRowDraggingSupported;
2680
2868
  private isRowExpansionSupported;
2869
+ private isSchemaExpansionModeActive;
2870
+ private getVisibleTableFieldNamesSet;
2871
+ private hasCompanionDenormalizedFieldInSchema;
2872
+ private isComplementarySchemaExpansionField;
2873
+ private isPopulatedExpansionRow;
2874
+ private hasNonEmptyExpansionFieldValue;
2875
+ private getComplementarySchemaExpansionFieldsForRow;
2876
+ private getLoadedTableRowsForExpansionCheck;
2877
+ private reconcileExpansionColumnsAfterDataChange;
2878
+ private hasComplementarySchemaExpansionFields;
2681
2879
  private enforceAppearanceSchemaGuards;
2682
2880
  private enforceUnsupportedFeatureGuards;
2683
2881
  getToolbarEvaluationContext(): Record<string, any>;
@@ -2734,8 +2932,16 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2734
2932
  getBadgeRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
2735
2933
  shouldRenderBadge(row: any, column: ColumnDefinition): boolean;
2736
2934
  getEffectiveRendererType(row: any, column: ColumnDefinition): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | 'rating' | 'microVisualization' | null;
2935
+ private readonly microVisualizationSafeHtmlCache;
2936
+ private readonly microVisualizationPageBoundsCache;
2737
2937
  getMicroVisualizationHtml(row: any, column: ColumnDefinition): SafeHtml;
2938
+ private createMicroVisualizationValueFormatter;
2939
+ onMicroTooltipPointerOver(event: Event): void;
2940
+ onMicroTooltipPointerOut(event: Event): void;
2941
+ onMicroTooltipFocusIn(event: Event): void;
2942
+ onMicroTooltipFocusOut(event: Event): void;
2738
2943
  private resolveMicroVisualizationForRow;
2944
+ private resolvePageMicroVisualizationBounds;
2739
2945
  private applyMicroVisualizationExpression;
2740
2946
  private evaluateMicroVisualizationExpression;
2741
2947
  getComposeItems(row: any, column: ColumnDefinition): any[];
@@ -2748,6 +2954,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2748
2954
  private asComposeValueItemColumn;
2749
2955
  asItemColumn(base: ColumnDefinition, item: any): any;
2750
2956
  getItemEffectiveType(row: any, column: ColumnDefinition, item: any): any;
2957
+ private hasRowQuickViewSourceIdentity;
2958
+ getEffectiveQuickViewBinding(row: any, column: ColumnDefinition): ResourceQuickViewBinding | null;
2959
+ getComposeValueQuickViewBinding(row: any, column: ColumnDefinition, item: any): ResourceQuickViewBinding | null;
2960
+ getQuickViewEndpointKey(): ApiEndpoint | string | null;
2961
+ getRowActionQuickViewBinding(action: any): ResourceQuickViewBinding | null;
2962
+ getQuickViewTriggerAriaLabel(label: string | null | undefined, column?: ColumnDefinition): string;
2751
2963
  private mergeRenderer;
2752
2964
  private hasRenderableColumnOverride;
2753
2965
  private resolveColumnRuleAnimationCandidate;
@@ -2854,7 +3066,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2854
3066
  private emitMetadataChange;
2855
3067
  private emitSchemaStatus;
2856
3068
  getRowId(row: any): any;
3069
+ private preserveSelectionOnNextDataLoad;
2857
3070
  private reconcileSelectionAfterDataChange;
3071
+ private areSelectedRowSnapshotsEquivalent;
3072
+ private serializeSelectedRowSnapshot;
2858
3073
  private getComparableRowIdentity;
2859
3074
  getIdField(): string;
2860
3075
  private getSchemaIdFieldOverride;
@@ -2890,6 +3105,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2890
3105
  getRowSelectionAriaLabel(row: any, index?: number): string;
2891
3106
  getMasterSelectionAriaLabel(): string;
2892
3107
  private selectRowFromUserInteraction;
3108
+ clearSelection(emitEvent?: boolean): void;
2893
3109
  private emitSelectionChange;
2894
3110
  private publishSelectionStatus;
2895
3111
  private getAccessibleRowLabel;
@@ -2926,11 +3142,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2926
3142
  private estimateInlineActionsLimit;
2927
3143
  private parsePixelWidth;
2928
3144
  private getViewportWidth;
2929
- private splitVisibleRowActions;
2930
3145
  getInlineRowActions(row: any): any[];
2931
3146
  getOverflowRowActions(row: any): any[];
2932
3147
  hasOverflowRowActions(row: any): boolean;
3148
+ onRowOverflowMenuTriggerHover(row: any): void;
2933
3149
  onRowOverflowMenuOpened(row: any): void;
3150
+ onRowOverflowMenuClosed(trigger?: MatMenuTrigger): void;
3151
+ private buildRowOverflowMenuSignature;
3152
+ private getCanonicalCrudActionOrderIndex;
2934
3153
  private prepareRowDiscoveryRetry;
2935
3154
  private getVisibleRowActions;
2936
3155
  private getResolvedRowActions;
@@ -2944,6 +3163,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2944
3163
  private getDiscoveredRowCrudActionsFromSnapshot;
2945
3164
  private buildDiscoveredRowCrudAction;
2946
3165
  private getDiscoveredRowSurfaceActionsFromSnapshot;
3166
+ private resolveBaselineCrudActionForRowSurface;
2947
3167
  private getDiscoveredRowWorkflowActionsFromCatalog;
2948
3168
  private getDiscoveredRowWorkflowActionsFromItems;
2949
3169
  private resolveRowCrudCapabilityOperation;
@@ -2984,7 +3204,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2984
3204
  private scheduleRowDiscoveryMarkForCheck;
2985
3205
  ngOnDestroy(): void;
2986
3206
  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; }]>;
2987
- 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; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "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; }; }, { "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "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"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
3207
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "collectionSurface": { "alias": "collectionSurface"; "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; }; "hostOwnsDefaultQuickFilter": { "alias": "hostOwnsDefaultQuickFilter"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "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; }; }, { "filterCriteriaChange": "filterCriteriaChange"; "discoveredQuickFiltersChange": "discoveredQuickFiltersChange"; "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "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"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
3208
+ static ngAcceptInputType_hostOwnsDefaultQuickFilter: unknown;
2988
3209
  static ngAcceptInputType_filterTeleport: unknown;
2989
3210
  static ngAcceptInputType_enableCustomization: unknown;
2990
3211
  }
@@ -3185,10 +3406,11 @@ interface RendererFieldOption {
3185
3406
  isVisible: boolean;
3186
3407
  isHidden?: boolean;
3187
3408
  }
3188
- type ComposePresetId = 'personAvatar' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
3409
+ type ComposePresetId = 'personAvatar' | 'roleDepartment' | 'contactTwoLines' | 'documentEmail' | 'statusChip';
3189
3410
  declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestroy {
3190
3411
  private cdr;
3191
3412
  private readonly i18n;
3413
+ private readonly jsonLogic;
3192
3414
  tx(key: string, fallback: string): string;
3193
3415
  readonly ratingAriaLabelPlaceholder: string;
3194
3416
  readonly ratingRendererHint: string;
@@ -3199,8 +3421,16 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3199
3421
  name?: string;
3200
3422
  label?: string;
3201
3423
  type?: string;
3424
+ numericFormat?: string;
3202
3425
  tableHidden?: boolean;
3203
3426
  hidden?: boolean;
3427
+ options?: Array<{
3428
+ value?: any;
3429
+ key?: any;
3430
+ label?: string;
3431
+ text?: string;
3432
+ }>;
3433
+ enumValues?: Array<string | number>;
3204
3434
  xUi?: Record<string, any>;
3205
3435
  ui?: Record<string, any>;
3206
3436
  }>;
@@ -3231,7 +3461,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3231
3461
  condOverridesSelectedIndex: number;
3232
3462
  getConditionalOverrides(): any[];
3233
3463
  ensureConditionalOverrides(): any[];
3464
+ getColumnActiveRendererIcon(column: ColumnDefinition | null | undefined): string | null;
3465
+ getColumnActiveRendererTooltip(column: ColumnDefinition | null | undefined): string;
3466
+ getFieldDomainOptions(fieldName: string | undefined): Array<{
3467
+ value: string | number | boolean;
3468
+ label: string;
3469
+ }>;
3470
+ getSelectedColumnDomainOptions(): Array<{
3471
+ value: string | number | boolean;
3472
+ label: string;
3473
+ }>;
3474
+ getFilteredOverrideConditionValueOptions(condition: any): Array<{
3475
+ value: string;
3476
+ label: string;
3477
+ }>;
3234
3478
  addConditionalOverride(): void;
3479
+ generateDomainConditionalBadges(): void;
3235
3480
  removeConditionalOverride(index: number): void;
3236
3481
  duplicateConditionalOverride(index: number): void;
3237
3482
  onConditionalOverrideReorder(event: any): void;
@@ -3240,6 +3485,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3240
3485
  getJsonLogicSummary(value: JsonLogicExpression | null | undefined): string;
3241
3486
  private parseJsonLogicText;
3242
3487
  setConditionalOverrideCondition(index: number, raw: string): void;
3488
+ readonly overrideConditionOperators: readonly ["===", "==", "!==", "!=", ">", ">=", "<", "<=", "truthy", "falsy"];
3489
+ private normalizeConditionFieldName;
3490
+ getOverrideConditionField(condition: any): string;
3491
+ getOverrideConditionOperator(condition: any): string;
3492
+ getOverrideConditionValue(condition: any): string;
3493
+ setOverrideGuidedCondition(index: number, patch: {
3494
+ field?: string;
3495
+ operator?: string;
3496
+ value?: string;
3497
+ }): void;
3498
+ private extractGuidedJsonLogicCondition;
3499
+ private coerceGuidedScalar;
3243
3500
  getOverrideField(path: string): any;
3244
3501
  setOverrideField(path: string, value: any): void;
3245
3502
  setOverrideJsonLogicField(path: string, raw: string): void;
@@ -3248,13 +3505,19 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3248
3505
  item: any;
3249
3506
  index: number;
3250
3507
  }>;
3508
+ addOverrideComposeItem(type: 'value' | 'badge' | 'icon' | 'chip' | 'progress' | 'avatar' | 'link' | 'button' | 'rating' | 'html'): void;
3251
3509
  addOverrideComposeValueItem(): void;
3510
+ moveOverrideComposeItem(index: number, delta: -1 | 1): void;
3511
+ duplicateOverrideComposeItem(index: number): void;
3512
+ removeOverrideComposeItem(index: number): void;
3513
+ setOverrideComposeItemProp(index: number, path: string, value: any): void;
3252
3514
  setOverrideComposeValueItemField(index: number, field: string): void;
3253
3515
  setOverrideComposeValueItemEmphasis(index: number, emphasis: string): void;
3254
3516
  getOverrideComposeLayoutProp(key: string): any;
3255
3517
  setOverrideComposeLayoutProp(key: string, value: any): void;
3256
3518
  onOverrideTypeChange(ov: any, val: string): void;
3257
3519
  getOverrideMicroVisualizationProp(path: string): any;
3520
+ private ensureOverrideMicroVisualizationObject;
3258
3521
  setOverrideMicroVisualizationProp(path: string, value: any): void;
3259
3522
  getOverrideMicroVisualizationKind(): PraxisPresentationVisualizationKind;
3260
3523
  getOverrideMicroVisualizationGuidance(): 'recommended' | 'conditional';
@@ -3264,15 +3527,30 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3264
3527
  isOverrideMicroVisualizationSegmentsKind(): boolean;
3265
3528
  isOverrideMicroVisualizationItemsKind(): boolean;
3266
3529
  isOverrideMicroVisualizationTotalKind(): boolean;
3530
+ isOverrideMicroVisualizationTargetKind(): boolean;
3531
+ isOverrideMicroVisualizationBaselineKind(): boolean;
3532
+ isOverrideMicroVisualizationSuffixKind(): boolean;
3533
+ isOverrideMicroVisualizationScaleBoundsKind(): boolean;
3534
+ isOverrideMicroVisualizationScaleScopeKind(): boolean;
3535
+ isOverrideMicroVisualizationThresholdsSupported(): boolean;
3536
+ getOverrideMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
3537
+ addOverrideMicroVisualizationThreshold(): void;
3538
+ applyDefaultOverrideMicroVisualizationThresholds(): void;
3539
+ setOverrideMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
3540
+ setOverrideMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
3541
+ moveOverrideMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
3542
+ removeOverrideMicroVisualizationThreshold(index: number): void;
3267
3543
  getOverrideMicroVisualizationGuidanceText(): string;
3268
3544
  exportOverrideJson(index: number): void;
3269
3545
  importOverrideJson(index: number): void;
3270
3546
  rendererValidationErrors: string[];
3547
+ get validationErrors(): string[];
3271
3548
  rendererImportWarnings: string[];
3272
3549
  rendererIsValid: boolean;
3273
3550
  rendererPreviewEnabled: boolean;
3274
3551
  private rendererAppliedSnapshot;
3275
3552
  previewRows: any[];
3553
+ microVisualizationSampleValuesText: string;
3276
3554
  private refreshRendererFieldOptions;
3277
3555
  getRendererFieldOptions(): RendererFieldOption[];
3278
3556
  formatRendererFieldOption(option: RendererFieldOption): string;
@@ -3305,11 +3583,14 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3305
3583
  isExistingColumn(column: ColumnDefinition): boolean;
3306
3584
  isCalculatedColumn(column: ColumnDefinition): boolean;
3307
3585
  hasValueGetterError(column: ColumnDefinition): boolean;
3586
+ private hydrateApiColumnFlags;
3308
3587
  private generateAvailableDataSchema;
3309
3588
  /**
3310
3589
  * Map ColumnDataType to FieldSchema type
3311
3590
  */
3312
3591
  private mapColumnTypeToFieldType;
3592
+ private _cachedFormulaKey;
3593
+ private _cachedFormulaRef;
3313
3594
  getColumnFormula(column: ColumnDefinition | null): FormulaDefinition | undefined;
3314
3595
  onFormulaChange(formula: FormulaDefinition): void;
3315
3596
  onGeneratedExpressionChange(expression: string): void;
@@ -3367,7 +3648,23 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3367
3648
  setRendererJsonLogicProp(kind: string, path: string, raw: string): void;
3368
3649
  setRendererProp(kind: string, path: string, value: any): void;
3369
3650
  private createDefaultMicroVisualization;
3651
+ private ensureMicroVisualizationObject;
3370
3652
  setMicroVisualizationProp(path: string, value: any): void;
3653
+ isMicroVisualizationThresholdsSupported(): boolean;
3654
+ getMicroVisualizationThresholds(): PraxisPresentationVisualizationThreshold[];
3655
+ addMicroVisualizationThreshold(): void;
3656
+ applyDefaultMicroVisualizationThresholds(): void;
3657
+ setMicroVisualizationThresholdNumber(index: number, bound: 'min' | 'max', raw: string): void;
3658
+ setMicroVisualizationThresholdTone(index: number, tone: PraxisPresentationVisualizationTone): void;
3659
+ moveMicroVisualizationThreshold(index: number, delta: -1 | 1): void;
3660
+ removeMicroVisualizationThreshold(index: number): void;
3661
+ setMicroVisualizationSampleValuesText(raw: string): void;
3662
+ private readonly sanitizer;
3663
+ private readonly microVisualizationPreviewSafeHtmlCache;
3664
+ private memoizeMicroVisualizationSafeHtml;
3665
+ getMicroVisualizationSampleValues(): number[];
3666
+ getPreviewMicroVisualizationSafeHtmlForValue(sampleValue: number): SafeHtml;
3667
+ getPreviewMicroVisualizationHtmlForValue(sampleValue: number): string;
3371
3668
  private _deepClone;
3372
3669
  hasSelectedRenderer(): boolean;
3373
3670
  onApplyRenderer(): void;
@@ -3387,6 +3684,12 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3387
3684
  private stripRowPrefixes;
3388
3685
  private _coerceExpected;
3389
3686
  private getNested;
3687
+ private buildPreviewEvaluationContext;
3688
+ evaluatePreviewOverrideCondition(condition: any, row: any): boolean;
3689
+ private mergePreviewRenderer;
3690
+ private hasRenderablePreviewOverride;
3691
+ getEffectivePreviewRenderer(row: any): any;
3692
+ getPreviewSampleRows(): any[];
3390
3693
  getPreviewRendererType(row: any): 'icon' | 'image' | 'badge' | 'link' | 'button' | 'chip' | 'progress' | 'microVisualization' | 'rating' | 'avatar' | 'toggle' | 'menu' | 'html' | 'compose' | null;
3391
3694
  getPreviewIconName(row: any): string | null;
3392
3695
  getPreviewIconColor(row: any): string | null;
@@ -3398,16 +3701,22 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3398
3701
  getPreviewImageShape(): 'square' | 'rounded' | 'circle' | undefined;
3399
3702
  getPreviewImageFit(): 'cover' | 'contain' | undefined;
3400
3703
  getPreviewBadgeText(row: any): string | null;
3401
- getPreviewBadgeIcon(_row: any): string | null;
3402
- getPreviewBadgeClasses(_row: any): string[];
3704
+ getPreviewBadgeIcon(row: any): string | null;
3705
+ getPreviewBadgeClasses(row: any): string[];
3706
+ private buildBadgeClassesFromConfig;
3403
3707
  getPreviewLinkText(row: any): string;
3404
3708
  getPreviewLinkHref(row: any): string | null;
3405
3709
  getPreviewButtonLabel(row: any): string;
3406
- getPreviewButtonIcon(): string | null;
3710
+ getPreviewButtonIcon(row?: any): string | null;
3407
3711
  getPreviewChipText(row: any): string | null;
3408
- getPreviewChipClasses(): string[];
3712
+ getPreviewChipIcon(row?: any): string | null;
3713
+ getPreviewChipClasses(row?: any): string[];
3714
+ getComposePreviewButtonLabel(item: any, row: any): string;
3409
3715
  getPreviewProgressValue(row: any): number;
3716
+ getPreviewMicroVisualizationSafeHtml(row: any): SafeHtml;
3410
3717
  getPreviewMicroVisualizationHtml(row: any): string;
3718
+ private createPreviewMicroVisualizationValueFormatter;
3719
+ private resolvePreviewMicroVisualizationConfig;
3411
3720
  getMicroVisualizationGuidance(): 'recommended' | 'conditional';
3412
3721
  getMicroVisualizationKind(): PraxisPresentationVisualizationKind;
3413
3722
  isMicroVisualizationValueKind(): boolean;
@@ -3415,6 +3724,11 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3415
3724
  isMicroVisualizationSegmentsKind(): boolean;
3416
3725
  isMicroVisualizationItemsKind(): boolean;
3417
3726
  isMicroVisualizationTotalKind(): boolean;
3727
+ isMicroVisualizationTargetKind(): boolean;
3728
+ isMicroVisualizationBaselineKind(): boolean;
3729
+ isMicroVisualizationSuffixKind(): boolean;
3730
+ isMicroVisualizationScaleBoundsKind(): boolean;
3731
+ isMicroVisualizationScaleScopeKind(): boolean;
3418
3732
  getMicroVisualizationGuidanceText(): string;
3419
3733
  getMicroVisualizationConstraint(): PraxisTableCellVisualizationConstraint;
3420
3734
  getPreviewRatingValue(row: any): number;
@@ -3423,7 +3737,36 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3423
3737
  getPreviewRatingOutlineColor(): string | undefined;
3424
3738
  getPreviewRatingSize(): 'small' | 'medium' | 'large';
3425
3739
  getPreviewRatingAriaLabel(): string | undefined;
3426
- getComposePreviewItems(_row: any): any[];
3740
+ getComposePreviewItems(row: any): any[];
3741
+ isComposePreviewMedia(row: any): boolean;
3742
+ getComposePreviewContainerStyle(row: any): Record<string, string>;
3743
+ getComposePreviewValueText(item: any, row: any): string;
3744
+ getComposePreviewValueClasses(item: any): string[];
3745
+ getComposePreviewBadgeText(item: any, row: any): string;
3746
+ getComposePreviewBadgeClasses(item: any): string[];
3747
+ getComposePreviewChipText(item: any, row: any): string;
3748
+ getComposePreviewChipClasses(item: any): string[];
3749
+ getComposePreviewLinkText(item: any, row: any): string;
3750
+ getComposePreviewLinkHref(item: any, row: any): string | null;
3751
+ getComposePreviewIconName(item: any, row: any): string | null;
3752
+ getComposePreviewIconColor(item: any, _row: any): string | null;
3753
+ getComposePreviewIconStyle(item: any, _row: any): Record<string, string> | null;
3754
+ getComposePreviewAvatarStyle(item: any): Record<string, string>;
3755
+ getComposePreviewAvatarInitials(item: any, row: any): string;
3756
+ getComposePreviewAvatarSrc(item: any, row: any): string | null;
3757
+ getComposePreviewAvatarAlt(item: any, row: any): string;
3758
+ getComposePreviewImageSrc(item: any, row: any): string | null;
3759
+ getComposePreviewImageAlt(item: any, row: any): string;
3760
+ getComposePreviewImageStyle(item: any): Record<string, string>;
3761
+ getComposePreviewProgressColor(item: any): string | null;
3762
+ getComposePreviewHtml(item: any, row: any): string;
3763
+ getComposePreviewToggleState(item: any, row: any): boolean;
3764
+ getComposePreviewMenuCount(item: any, row: any): number;
3765
+ private isValidPreviewMediaUrl;
3766
+ private resolvePreviewSafeSrc;
3767
+ /** Mirrors PraxisTable.getSafeHtml token interpolation: `[[field]]` values are HTML-escaped. */
3768
+ private interpolatePreviewHtml;
3769
+ getComposePreviewProgressValue(item: any, row: any): number;
3427
3770
  getComposePreviewRatingValue(item: any, row: any): number;
3428
3771
  getComposePreviewRatingMax(item: any): number;
3429
3772
  getComposePreviewRatingColor(item: any): string | undefined;
@@ -3439,7 +3782,10 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3439
3782
  getPreviewToggleState(row: any): boolean;
3440
3783
  getPreviewMenuCount(row: any): number;
3441
3784
  getPreviewHtml(row: any): string;
3442
- trackByIdx: (_: number, item: any) => number;
3785
+ getPreviewProgressColor(row: any): string | null;
3786
+ /** Preview rows are re-cloned on every read; the sample slot index is their stable identity. */
3787
+ trackByIdx: (index: number, _item: unknown) => number;
3788
+ private validateMicroVisualizationThresholds;
3443
3789
  private validateRenderer;
3444
3790
  private readonly _emptyMappingRef;
3445
3791
  composeSelectedIndex: number;
@@ -3457,10 +3803,13 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3457
3803
  onComposeReorder(event: any): void;
3458
3804
  selectComposeItem(index: number): void;
3459
3805
  getComposeLayoutProp(key: string): any;
3806
+ hasComposeMediaLeadingItem(): boolean;
3460
3807
  setComposeLayoutProp(key: string, value: any): void;
3461
3808
  getSelectedComposeItem(): any;
3462
3809
  getSelectedComposeItemProp(path: string): any;
3463
3810
  setSelectedComposeItemProp(path: string, value: any): void;
3811
+ getConsolidatedSecondaryColumn(item: any): ExtendedColumnDefinition | null;
3812
+ hideConsolidatedColumn(field: string): void;
3464
3813
  private findRendererFieldByCandidates;
3465
3814
  private normalizeFieldLookup;
3466
3815
  getColumnKeyInputType(column: ColumnDefinition | null): 'text' | 'number' | 'boolean';
@@ -3469,11 +3818,18 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
3469
3818
  }): void;
3470
3819
  get selectedColumnDataType(): ColumnDataType$1;
3471
3820
  set selectedColumnDataType(value: ColumnDataType$1);
3821
+ private findColumnFieldMetadata;
3822
+ private inferColumnDataTypeFromMetadata;
3472
3823
  getColumnDataType(column: ColumnDefinition | null): ColumnDataType$1;
3473
3824
  /**
3474
- * Infer column data type from field name patterns (shared logic with PraxisTable)
3825
+ * Infer column data type from field name patterns (shared logic with PraxisTable, supporting pt-BR and en-US)
3475
3826
  */
3476
3827
  private inferFieldTypeFromFieldName;
3828
+ inferRecommendedColumnAlignment(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): 'left' | 'center' | 'right';
3829
+ inferRecommendedColumnFormat(column: ColumnDefinition | null, explicitType?: ColumnDataType$1): string;
3830
+ private applySmartCalibrationToColumn;
3831
+ calibrateSelectedColumnFromMetadata(): void;
3832
+ calibrateAllColumnsFromMetadata(): void;
3477
3833
  onDataTypeChange(dataType: ColumnDataType$1): void;
3478
3834
  showDataFormatter(column: ColumnDefinition | null): boolean;
3479
3835
  getFormatterIcon(column: ColumnDefinition | null): string;
@@ -3838,6 +4194,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
3838
4194
  presentation: FormControl<FilterConfig['presentation']>;
3839
4195
  alwaysVisibleFields: FormControl<string[]>;
3840
4196
  showAdvanced: FormControl<boolean>;
4197
+ showAddButton: FormControl<boolean>;
4198
+ showFilterSettings: FormControl<boolean>;
3841
4199
  mode: FormControl<'filter'>;
3842
4200
  changeDebounceMs: FormControl<number>;
3843
4201
  allowSaveTags: FormControl<boolean>;
@@ -3943,6 +4301,9 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
3943
4301
  isPresetActive(key: string): boolean;
3944
4302
  hasBooleanFieldMetadata(): boolean;
3945
4303
  getFieldLabel(name: string): string;
4304
+ getFieldTypeBadge(meta?: FieldMetadata | null): string;
4305
+ getFieldDescription(meta?: FieldMetadata | null): string;
4306
+ getSelectedAlwaysVisibleTriggerLabel(): string;
3946
4307
  onAlwaysVisibleFieldSearchChange(value: string): void;
3947
4308
  clearAlwaysVisibleFieldSearch(): void;
3948
4309
  filteredAlwaysVisibleMetadata(): FieldMetadata[];
@@ -4292,6 +4653,12 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
4292
4653
  value: any;
4293
4654
  label: string;
4294
4655
  }>;
4656
+ getDomainRuleTargetField(): string | null;
4657
+ getDomainRuleCandidateOptions(): Array<{
4658
+ value: any;
4659
+ label: string;
4660
+ }>;
4661
+ generateDomainRules(): void;
4295
4662
  isNoValueOperator(op: string): boolean;
4296
4663
  getValuePlaceholder(): string;
4297
4664
  getI18nValuePlaceholder(): string;
@@ -4346,7 +4713,7 @@ declare class TableDetailTreeDraft {
4346
4713
  depth: number;
4347
4714
  } | undefined;
4348
4715
  move(direction: -1 | 1): void;
4349
- add(node: Node, nested?: boolean): void;
4716
+ add(node: Node, nested?: boolean): Node | null;
4350
4717
  }
4351
4718
 
4352
4719
  declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
@@ -4363,6 +4730,7 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
4363
4730
  dirty: boolean;
4364
4731
  }>;
4365
4732
  private readonly i18n;
4733
+ private readonly jsonLogic;
4366
4734
  private baseline?;
4367
4735
  private emitted?;
4368
4736
  private readonly coupledBefore;
@@ -4374,26 +4742,49 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
4374
4742
  jsonTouched: boolean;
4375
4743
  advanced: boolean;
4376
4744
  preset: string;
4745
+ /** True when the last "add inside" was refused because the block cannot live inside a card grid card. */
4746
+ addRejected: boolean;
4377
4747
  readonly presets: string[];
4378
4748
  readonly sourceModes: string[];
4379
4749
  readonly resourceKinds: string[];
4380
4750
  readonly resourcePathMethods: string[];
4751
+ readonly cardGridColumnOptions: Array<'auto' | 1 | 2 | 3 | 4>;
4752
+ readonly cardVariants: Array<'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent'>;
4753
+ readonly cardSizes: Array<'sm' | 'md' | 'lg'>;
4754
+ readonly cardDensities: Array<'compact' | 'comfortable'>;
4755
+ readonly composeLayouts: Array<'flex' | 'grid'>;
4756
+ readonly composeDirections: Array<'row' | 'column'>;
4757
+ readonly composeGaps: Array<'xs' | 'sm' | 'md' | 'lg' | 'xl'>;
4758
+ readonly composeAlignItemsOptions: Array<'' | 'start' | 'center' | 'end' | 'stretch'>;
4759
+ readonly badgePresetOptions: Array<'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'>;
4760
+ readonly iconSurfacePresetOptions: Array<'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'>;
4761
+ readonly semanticTones: Array<'' | 'neutral' | 'info' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger'>;
4762
+ readonly conditionOperators: Array<'===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy'>;
4381
4763
  fallbackModes(): string[];
4382
- sample: string;
4764
+ sample: 'A' | 'B' | 'C';
4383
4765
  get previewContext(): {
4384
- row: {
4385
- id: string;
4386
- note: string;
4387
- status: string;
4388
- progress: number;
4389
- };
4766
+ row: Record<string, unknown>;
4390
4767
  };
4768
+ private projectDetailNodeToRichBlockNodes;
4391
4769
  /** Local presenter projection only; never used as an authoring/save source. */
4392
4770
  previewNodes(): RichBlockNode[];
4771
+ /**
4772
+ * Returns structured preview groups so `cardGrid` blocks render with their real
4773
+ * multi-column CSS Grid (`columns` and `minCardWidth`) and headers in the preview canvas.
4774
+ */
4775
+ previewCardGridGroups(): Array<{
4776
+ isCardGrid: boolean;
4777
+ title?: string;
4778
+ subtitle?: string;
4779
+ gridTemplateColumns?: string;
4780
+ cards?: RichBlockNode[];
4781
+ nodes?: RichBlockNode[];
4782
+ }>;
4393
4783
  previewRichContentDocuments(): RichContentDocument[];
4394
4784
  richContentEditorInputs(): PraxisRichContentEditorInputs | null;
4395
4785
  applyRichContentEditor(): void;
4396
- addPreset(preset: 'callout' | 'richCard'): void;
4786
+ addPreset(preset: 'callout' | 'richCard' | 'richDetailGrid'): void;
4787
+ effectiveNodeType(node?: Record<string, any> | undefined): string;
4397
4788
  nodeLabel(node: Record<string, any>): string;
4398
4789
  nodeIcon(node: Record<string, any>): string;
4399
4790
  canMove(direction: -1 | 1): boolean;
@@ -4432,10 +4823,75 @@ declare class TableDetailEditorComponent implements OnChanges, OnDestroy {
4432
4823
  canNest(): boolean;
4433
4824
  move(direction: -1 | 1): void;
4434
4825
  remove(): void;
4826
+ fieldValue(field: string): string;
4435
4827
  edit(field: string, value: string): void;
4436
4828
  fields(): string[];
4437
4829
  isAdvancedNode(): boolean;
4830
+ availableColumns(): Array<{
4831
+ field: string;
4832
+ label: string;
4833
+ }>;
4834
+ supportsFieldBinding(): boolean;
4835
+ boundColumnField(): string;
4836
+ bindColumnField(fieldName: string): void;
4837
+ cardGridColumnsValue(): 'auto' | 1 | 2 | 3 | 4;
4838
+ setCardGridColumns(value: 'auto' | 1 | 2 | 3 | 4): void;
4839
+ cardGridMinWidthValue(): number;
4840
+ setCardGridMinWidth(value: number | string): void;
4841
+ cardVariantValue(): 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent';
4842
+ setCardVariant(variant: 'outlined' | 'elevated' | 'filled' | 'plain' | 'transparent' | 'soft'): void;
4843
+ cardSizeValue(): 'sm' | 'md' | 'lg';
4844
+ setCardSize(size: 'sm' | 'md' | 'lg'): void;
4845
+ cardDensityValue(): 'compact' | 'comfortable';
4846
+ setCardDensity(density: 'compact' | 'comfortable' | 'spacious'): void;
4847
+ composeLayoutValue(): 'flex' | 'grid';
4848
+ setComposeLayout(layout: 'flex' | 'grid'): void;
4849
+ composeDirectionValue(): 'row' | 'column';
4850
+ setComposeDirection(direction: 'row' | 'column'): void;
4851
+ composeGapValue(): 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4852
+ setComposeGap(gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl'): void;
4853
+ composeAlignItemsValue(): '' | 'start' | 'center' | 'end' | 'stretch';
4854
+ setComposeAlignItems(align: '' | 'start' | 'center' | 'end' | 'stretch' | 'flex-start' | 'flex-end'): void;
4855
+ composeWrapValue(): boolean;
4856
+ setComposeWrap(wrap: boolean): void;
4857
+ supportsTone(): boolean;
4858
+ toneValue(): string;
4859
+ setTone(tone: string): void;
4860
+ supportsStyleControls(): boolean;
4861
+ nodeStyleValue(key: string): string;
4862
+ setNodeStyleValue(key: string, value: string): void;
4863
+ hasNodeAppearanceOverrides(): boolean;
4864
+ resetNodeAppearance(): void;
4865
+ badgeAppearancePreset(): 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom';
4866
+ applyBadgeAppearancePreset(preset: 'default' | 'softPill' | 'solidPill' | 'outlinedTag' | 'compactSquare' | 'custom'): void;
4867
+ iconSurfacePreset(): 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom';
4868
+ applyIconSurfacePreset(preset: 'none' | 'softTile' | 'circleBadge' | 'outlinedTile' | 'elevatedTile' | 'custom'): void;
4869
+ canConvertSelectedToRichContent(): boolean;
4870
+ private isLosslesslyConvertibleToRichContent;
4871
+ /**
4872
+ * Losslessly converts the selected `cardGrid` or `card` block (or its parent `cardGrid`
4873
+ * when a card inside `cardGrid.cards` is selected) into a canonical `richContent` node
4874
+ * so the user can continue authoring in the full embedded `PraxisRichContentConfigEditor`.
4875
+ */
4876
+ convertSelectedToRichContent(): void;
4877
+ supportsVisibleWhen(): boolean;
4878
+ visibleWhenMode(): 'always' | 'conditional' | 'custom';
4879
+ setVisibleWhenMode(mode: 'always' | 'conditional' | 'custom'): void;
4880
+ visibleWhenField(): string;
4881
+ visibleWhenOperator(): '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
4882
+ visibleWhenValue(): string;
4883
+ setVisibleWhenRule(patch: {
4884
+ field?: string;
4885
+ operator?: '===' | '!=' | '>' | '>=' | '<' | '<=' | 'truthy' | 'falsy';
4886
+ value?: string;
4887
+ }): void;
4888
+ private parseConditionScalar;
4889
+ private parseGuidedVisibleWhen;
4890
+ private isPreviewNodeVisible;
4438
4891
  private commitTree;
4892
+ /** Offered next to `cardGridContent`/`composeContent` issues: converts legacy fields into canonical presenters. */
4893
+ canNormalizeRichChildren(): boolean;
4894
+ normalizeRichChildren(): void;
4439
4895
  editJson(value: string): void;
4440
4896
  discard(): void;
4441
4897
  static ɵfac: i0.ɵɵFactoryDeclaration<TableDetailEditorComponent, never>;
@@ -4510,16 +4966,24 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
4510
4966
  isValid$: BehaviorSubject<boolean>;
4511
4967
  isBusy$: BehaviorSubject<boolean>;
4512
4968
  columnMetas: FieldMetadata[];
4969
+ filterSchemaFields: FieldDefinition[];
4513
4970
  filterDtoMetas: FieldMetadata[];
4514
4971
  filterDtoMetasLoading: boolean;
4515
4972
  filterDtoMetasErrorMsg: string;
4973
+ resourceSchemaFields: FieldDefinition[];
4974
+ resourceSchemaMetas: FieldMetadata[];
4975
+ resourceSchemaLoading: boolean;
4976
+ selectedCatalogResource: DiscoveredResourceOption | null;
4516
4977
  private hasCrudOverridesDirty;
4517
4978
  private hasLocalDataInput;
4518
4979
  private filterDtoLoadSeq;
4980
+ private resourceSchemaLoadSeq;
4981
+ private loadedSchemaResourcePath;
4519
4982
  private lastKnownFilterSettings;
4520
4983
  private globalActionValidationIssues;
4521
4984
  private readonly panelData;
4522
4985
  private readonly crudService;
4986
+ private readonly resourceDiscovery;
4523
4987
  private readonly panelRef;
4524
4988
  constructor(cdr: ChangeDetectorRef, configService: TableConfigService);
4525
4989
  tx(key: string, fallback: string): string;
@@ -4536,10 +5000,82 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
4536
5000
  onFilterSettingsChange(cfg: FilterConfig): void;
4537
5001
  private cloneFilterSettings;
4538
5002
  private isEffectivelyEmptyFilterSettings;
5003
+ private enrichFieldMetadataList;
5004
+ /**
5005
+ * Converte o resumo de campos publicado em `/schemas/catalog` (`responseFields` ou `filterFields`)
5006
+ * em `FieldMetadata[]` para alimentar imediatamente os seletores de chave primária, colunas e
5007
+ * filtros rápidos enquanto `/schemas/filtered` ainda está em resolução ou indisponível.
5008
+ */
5009
+ private extractCatalogFieldMetas;
4539
5010
  getFilterSettingsMetas(): FieldMetadata[];
4540
5011
  getColumnAuthoringMetas(): FieldMetadata[];
5012
+ getRulesEditorFields(): FieldDefinition[];
5013
+ getFieldTypeBadge(option?: FieldMetadata | null): string;
5014
+ getFieldDescription(option?: FieldMetadata | null): string;
4541
5015
  get filteredIdFieldOptions(): FieldMetadata[];
5016
+ getFilteredQuickFilterFieldOptions(currentValue?: string): FieldMetadata[];
4542
5017
  isUsingFilterDtoMetas(): boolean;
5018
+ get toolbarFiltersEnabled(): boolean;
5019
+ get toolbarShowQuickFilters(): boolean;
5020
+ get toolbarShowAdvancedButton(): boolean;
5021
+ get advancedFilterShowAddButton(): boolean;
5022
+ get advancedFilterShowFilterSettings(): boolean;
5023
+ get toolbarQuickFilters(): PraxisResourceQuickFilter[];
5024
+ get duplicatedQuickFilterInlineFields(): string[];
5025
+ private inferDefaultStatusFilterField;
5026
+ getQuickFilterValueOptions(fieldName: string, currentValue?: unknown): Array<{
5027
+ value: string;
5028
+ label: string;
5029
+ }>;
5030
+ private updateToolbarFiltersPatch;
5031
+ onToolbarFiltersEnabledChange(enabled: boolean): void;
5032
+ onToolbarShowQuickFiltersChange(show: boolean): void;
5033
+ onToolbarShowAdvancedButtonChange(show: boolean): void;
5034
+ onAdvancedFilterShowAddButtonChange(show: boolean): void;
5035
+ onAdvancedFilterShowFilterSettingsChange(show: boolean): void;
5036
+ applyBooleanQuickFilterPreset(fieldName?: string): void;
5037
+ addQuickFilterScope(): void;
5038
+ removeQuickFilterScope(index: number): void;
5039
+ updateQuickFilterMeta(index: number, patch: {
5040
+ id?: string;
5041
+ label?: string;
5042
+ icon?: string;
5043
+ tone?: PraxisQuickFilterTone | '';
5044
+ isDefault?: boolean;
5045
+ description?: string;
5046
+ order?: number | string | null;
5047
+ }): void;
5048
+ private normalizeEditorQuickFilterObject;
5049
+ private resolveQuickFilterFieldValueKind;
5050
+ private resolveQuickFilterArrayItemKind;
5051
+ private coerceQuickFilterScalarByKind;
5052
+ private inferCriterionMode;
5053
+ getQuickFilterCriteriaEntries(item: {
5054
+ filter?: any;
5055
+ }): Array<{
5056
+ field: string;
5057
+ value: any;
5058
+ mode: 'boolean' | 'equals' | 'in';
5059
+ }>;
5060
+ formatQuickFilterArrayValue(value: unknown): string;
5061
+ getQuickFilterMode(item: {
5062
+ filter?: any;
5063
+ }): 'all' | 'boolean' | 'equals' | 'in';
5064
+ getQuickFilterField(item: {
5065
+ filter?: any;
5066
+ }, criterionIndex?: number): string;
5067
+ getQuickFilterValue(item: {
5068
+ filter?: any;
5069
+ }, criterionIndex?: number): any;
5070
+ addQuickFilterCriterion(qfIndex: number): void;
5071
+ removeQuickFilterCriterion(qfIndex: number, criterionIndex: number): void;
5072
+ onQuickFilterCriterionModeChange(qfIndex: number, criterionIndex: number, mode: 'boolean' | 'equals' | 'in'): void;
5073
+ onQuickFilterModeChange(index: number, mode: 'all' | 'boolean' | 'equals' | 'in'): void;
5074
+ onQuickFilterCriterionFieldChange(qfIndex: number, criterionIndex: number, fieldName: string): void;
5075
+ onQuickFilterFieldChange(index: number, fieldName: string): void;
5076
+ onQuickFilterCriterionValueChange(qfIndex: number, criterionIndex: number, rawValue: any): void;
5077
+ onQuickFilterValueChange(index: number, rawValue: any): void;
5078
+ consolidateDuplicateInlineFilterFields(): void;
4543
5079
  getEffectiveDataMode(): EffectiveDataMode;
4544
5080
  isEffectiveLocalMode(): boolean;
4545
5081
  private resolveLocalDataModeFeatureEnabled;
@@ -4569,8 +5105,16 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
4569
5105
  private syncFilterSettingsFromEditor;
4570
5106
  private hasAdvancedSettingsProperty;
4571
5107
  private syncLastKnownFilterSettingsFromEditedConfig;
5108
+ onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
5109
+ private normalizeResourcePathIdentity;
5110
+ private resetEditedConfigForResourceSwitch;
4572
5111
  onResourcePathChange(val: string): void;
5112
+ get resourceEndpointKey(): any;
5113
+ get resourceApiUrlEntry(): any;
5114
+ private getResourceDiscoveryOptions;
5115
+ private canUseResourceDiscovery;
4573
5116
  private loadFilterDtoMetas;
5117
+ private loadResourceSchemaMetas;
4574
5118
  onIdFieldChange(val: string): void;
4575
5119
  onIdFieldOptionSelected(value: string): void;
4576
5120
  get mobileCardMode(): boolean;
@@ -4635,6 +5179,8 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
4635
5179
  interface PraxisTableWidgetEditorInputs {
4636
5180
  config?: TableConfig | null;
4637
5181
  resourcePath?: string | null;
5182
+ endpointKey?: ApiEndpoint;
5183
+ apiUrlEntry?: ApiUrlEntry | null;
4638
5184
  horizontalScroll?: 'auto' | 'wrap' | 'none';
4639
5185
  tableId?: string;
4640
5186
  componentInstanceId?: string;
@@ -4664,6 +5210,9 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
4664
5210
  getSettingsValue(): PraxisTableWidgetEditorValue;
4665
5211
  onSave(): PraxisTableWidgetEditorValue;
4666
5212
  reset(): void;
5213
+ private normalizeResourcePathIdentity;
5214
+ private stripResourceBoundTableState;
5215
+ private sanitizeEditedConfigForResourceSwitch;
4667
5216
  private buildValue;
4668
5217
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableWidgetConfigEditor, never>;
4669
5218
  static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableWidgetConfigEditor, "praxis-table-widget-config-editor", never, { "inputs": { "alias": "inputs"; "required": false; }; "widgetKey": { "alias": "widgetKey"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
@@ -4672,6 +5221,8 @@ declare class PraxisTableWidgetConfigEditor implements SettingsValueProvider$1,
4672
5221
  interface PraxisFilterWidgetEditorInputs {
4673
5222
  presentation?: FilterConfig['presentation'];
4674
5223
  resourcePath?: string | null;
5224
+ endpointKey?: ApiEndpoint;
5225
+ apiUrlEntry?: ApiUrlEntry | null;
4675
5226
  fieldMetadata?: FieldMetadata[] | null;
4676
5227
  filterId?: string;
4677
5228
  formId?: string;
@@ -4693,6 +5244,10 @@ interface PraxisFilterWidgetEditorInputs {
4693
5244
  actionsButtonColor?: 'primary' | 'accent' | 'warn' | 'basic';
4694
5245
  actionsVariant?: 'standard' | 'outlined';
4695
5246
  useInlineSearchableSelectVariant?: boolean;
5247
+ useInlineSelectVariant?: boolean;
5248
+ useInlineMultiSelectVariant?: boolean;
5249
+ useInlineInputVariant?: boolean;
5250
+ useInlineToggleVariant?: boolean;
4696
5251
  useInlineRangeVariant?: boolean;
4697
5252
  useInlineDateVariant?: boolean;
4698
5253
  useInlineDateRangeVariant?: boolean;
@@ -4704,6 +5259,7 @@ interface PraxisFilterWidgetEditorInputs {
4704
5259
  advancedOpenMode?: 'modal' | 'drawer';
4705
5260
  advancedClearButtonsEnabled?: boolean;
4706
5261
  persistenceKey?: string;
5262
+ showAddButton?: boolean;
4707
5263
  showFilterSettings?: boolean;
4708
5264
  enableCustomization?: boolean;
4709
5265
  [key: string]: unknown;
@@ -4715,6 +5271,7 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
4715
5271
  widgetKey?: string;
4716
5272
  resourceEditor?: ResourceQuickConnectComponent;
4717
5273
  private readonly crud;
5274
+ private readonly resourceDiscovery;
4718
5275
  private readonly cdr;
4719
5276
  private readonly i18n;
4720
5277
  resourceError: boolean;
@@ -4723,8 +5280,17 @@ declare class PraxisFilterWidgetConfigEditor implements SettingsValueProvider$1,
4723
5280
  private settingsDirty;
4724
5281
  private loadingResource;
4725
5282
  private fieldRequest;
5283
+ private selectedCatalogResource;
4726
5284
  tx(key: string): string;
4727
5285
  ngAfterViewInit(): void;
5286
+ /**
5287
+ * Hidrata imediatamente os metadados de filtro a partir do resumo de campos publicado
5288
+ * em `/schemas/catalog` (`filterFields` ou `responseFields`) enquanto o schema completo
5289
+ * (`/schemas/filtered`) ainda está carregando ou indisponível no host.
5290
+ */
5291
+ onCatalogResourceSelected(resource: DiscoveredResourceOption | null): void;
5292
+ private extractCatalogFieldMetas;
5293
+ onResourcePathChange(nextPath: string): void;
4728
5294
  loadResourceFields(markDirty?: boolean): Promise<void>;
4729
5295
  private optionalInject;
4730
5296
  set inputs(value: PraxisFilterWidgetEditorInputs | null);
@@ -4763,7 +5329,8 @@ interface PraxisFilterTeleportHost {
4763
5329
  filterTeleport?: boolean;
4764
5330
  filterTemplate?: TemplateRef<unknown>;
4765
5331
  filterBarTemplate?: TemplateRef<unknown>;
4766
- table?: PraxisFilterTeleportHost;
5332
+ filterTemplateSignal?: () => TemplateRef<unknown> | undefined;
5333
+ internalTable?: PraxisFilterTeleportHost;
4767
5334
  }
4768
5335
  type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown> | null | undefined;
4769
5336
  /**
@@ -4784,11 +5351,14 @@ type PraxisFilterOutletTarget = PraxisFilterTeleportHost | TemplateRef<unknown>
4784
5351
  declare class PraxisFilterOutletComponent implements OnChanges, AfterViewInit, OnDestroy {
4785
5352
  target: PraxisFilterOutletTarget;
4786
5353
  private readonly cdr;
5354
+ private readonly targetSignal;
4787
5355
  private previousHost?;
5356
+ constructor();
4788
5357
  get resolvedTemplate(): TemplateRef<unknown> | null;
4789
5358
  ngOnChanges(changes: SimpleChanges): void;
4790
5359
  ngAfterViewInit(): void;
4791
5360
  ngOnDestroy(): void;
5361
+ private detachPreviousHost;
4792
5362
  private attachTeleportTarget;
4793
5363
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilterOutletComponent, never>;
4794
5364
  static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilterOutletComponent, "praxis-filter-outlet", never, { "target": { "alias": "target"; "required": false; }; }, {}, never, never, true, never>;
@@ -4809,10 +5379,14 @@ declare class PraxisFilterOutletDirective implements OnChanges, AfterViewInit, O
4809
5379
  target: PraxisFilterOutletTarget;
4810
5380
  private readonly viewContainer;
4811
5381
  private readonly cdr;
5382
+ private readonly targetSignal;
4812
5383
  private previousHost?;
5384
+ private renderedTemplate;
5385
+ constructor();
4813
5386
  ngOnChanges(changes: SimpleChanges): void;
4814
5387
  ngAfterViewInit(): void;
4815
5388
  ngOnDestroy(): void;
5389
+ private detachPreviousHost;
4816
5390
  private updateView;
4817
5391
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilterOutletDirective, never>;
4818
5392
  static ɵdir: i0.ɵɵDirectiveDeclaration<PraxisFilterOutletDirective, "[praxisFilterOutlet]", never, { "target": { "alias": "praxisFilterOutlet"; "required": false; }; }, {}, never, never, true, never>;
@@ -4823,10 +5397,18 @@ interface PraxisScopeBarItem {
4823
5397
  label: string;
4824
5398
  filter?: Record<string, unknown> | string;
4825
5399
  count?: number | null;
5400
+ badge?: string | number;
4826
5401
  icon?: string;
4827
- tone?: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'ready';
5402
+ tone?: PraxisQuickFilterTone;
4828
5403
  isDefault?: boolean;
4829
5404
  tooltip?: string;
5405
+ description?: string;
5406
+ }
5407
+ interface PraxisScopeBarActiveBadge {
5408
+ key: string;
5409
+ label: string;
5410
+ valueText: string;
5411
+ source: 'scope' | 'search' | 'external';
4830
5412
  }
4831
5413
  interface PraxisScopeBarConfig {
4832
5414
  items?: PraxisScopeBarItem[];
@@ -4838,18 +5420,37 @@ interface PraxisScopeBarConfig {
4838
5420
  showClearButton?: boolean;
4839
5421
  clearLabel?: string;
4840
5422
  searchField?: string;
5423
+ targetWidgetId?: string;
5424
+ targetWidgetIds?: string[];
5425
+ showActiveFilterSummary?: boolean;
5426
+ filterLabels?: Record<string, string>;
4841
5427
  }
4842
5428
  declare class PraxisScopeBarComponent implements OnInit {
4843
5429
  private readonly eventBus;
5430
+ private readonly i18n;
4844
5431
  private readonly destroyRef;
5432
+ private targetFilterSubscription?;
5433
+ private isApplyingCriteriaToTarget;
5434
+ protected scopeNavigationLabel(): string;
5435
+ protected scopeSearchAriaLabel(): string;
5436
+ protected scopeClearSearchTitle(): string;
5437
+ protected scopeClearSearchAriaLabel(): string;
5438
+ protected scopeFiltersAriaLabel(): string;
5439
+ protected scopeActiveSummaryAriaLabel(): string;
5440
+ protected scopeActiveSummaryLabel(): string;
5441
+ protected scopeRemoveCriterionAriaLabel(label: string): string;
5442
+ protected scopeActiveFilterCountAriaLabel(count: number): string;
4845
5443
  chipsTrack?: ElementRef<HTMLElement>;
5444
+ set config(val: PraxisScopeBarConfig | undefined | null);
4846
5445
  private readonly itemsSignal;
4847
5446
  set items(val: PraxisScopeBarItem[] | undefined);
4848
5447
  get items(): PraxisScopeBarItem[] | undefined;
4849
5448
  set activeId(val: string | undefined);
4850
5449
  get activeId(): string | undefined;
4851
5450
  readonly activeIdChange: EventEmitter<string>;
4852
- showOmnibox: boolean;
5451
+ private readonly showOmniboxSignal;
5452
+ set showOmnibox(val: boolean);
5453
+ get showOmnibox(): boolean;
4853
5454
  omniboxPlaceholder: string;
4854
5455
  set omniboxValue(val: string | undefined);
4855
5456
  get omniboxValue(): string | undefined;
@@ -4859,10 +5460,21 @@ declare class PraxisScopeBarComponent implements OnInit {
4859
5460
  leadLabel?: string;
4860
5461
  showClearButton: boolean;
4861
5462
  clearLabel: string;
5463
+ private readonly showActiveFilterSummarySignal;
5464
+ set showActiveFilterSummary(val: boolean);
5465
+ get showActiveFilterSummary(): boolean;
5466
+ private readonly activeFiltersSignal;
5467
+ set activeFilters(val: Record<string, unknown> | undefined | null);
5468
+ get activeFilters(): Record<string, unknown>;
5469
+ readonly activeFiltersChange: EventEmitter<Record<string, unknown>>;
5470
+ private readonly filterLabelsSignal;
5471
+ set filterLabels(val: Record<string, string> | undefined | null);
5472
+ get filterLabels(): Record<string, string>;
4862
5473
  private readonly targetSignal;
4863
5474
  set target(val: any);
4864
5475
  get target(): any;
4865
5476
  targetWidgetId?: string;
5477
+ targetWidgetIds?: string[];
4866
5478
  scopeBarId: string;
4867
5479
  searchField: string;
4868
5480
  readonly scopeChange: EventEmitter<PraxisScopeBarItem>;
@@ -4873,23 +5485,39 @@ declare class PraxisScopeBarComponent implements OnInit {
4873
5485
  readonly currentActiveId: i0.WritableSignal<string | null>;
4874
5486
  readonly currentSearchText: i0.WritableSignal<string>;
4875
5487
  readonly effectiveItems: i0.Signal<PraxisScopeBarItem[]>;
5488
+ readonly resolvedActiveId: i0.Signal<string | null>;
5489
+ readonly hasMainRow: i0.Signal<boolean>;
5490
+ readonly activeFilterBadges: i0.Signal<PraxisScopeBarActiveBadge[]>;
5491
+ readonly activeFilterCount: i0.Signal<number>;
4876
5492
  ngOnInit(): void;
4877
5493
  isItemActive(item: PraxisScopeBarItem): boolean;
5494
+ /**
5495
+ * Roving tabindex do radiogroup: o item ativo recebe foco; sem item ativo (ex.: filtro inline
5496
+ * sobrescreveu o escopo) o primeiro item permanece alcançável por Tab.
5497
+ */
5498
+ isItemFocusable(item: PraxisScopeBarItem, index: number): boolean;
4878
5499
  selectScope(item: PraxisScopeBarItem): void;
4879
5500
  onSearchInput(event: Event): void;
4880
5501
  clearSearch(): void;
5502
+ removeFilterCriterion(key: string): void;
4881
5503
  resetFilters(): void;
4882
5504
  canClear(): boolean;
4883
5505
  onTrackKeydown(event: KeyboardEvent): void;
5506
+ private resolveTargetWidgetIds;
4884
5507
  private dispatchFilters;
4885
5508
  private applyCriteriaToTarget;
5509
+ private bindTargetFilterCriteria;
5510
+ private getScopeManagedKeys;
4886
5511
  private discoverItemsFromTarget;
5512
+ private humanizeKey;
5513
+ private formatCriterionValue;
4887
5514
  private normalizeFilter;
4888
5515
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisScopeBarComponent, never>;
4889
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisScopeBarComponent, "praxis-scope-bar", never, { "items": { "alias": "items"; "required": false; }; "activeId": { "alias": "activeId"; "required": false; }; "showOmnibox": { "alias": "showOmnibox"; "required": false; }; "omniboxPlaceholder": { "alias": "omniboxPlaceholder"; "required": false; }; "omniboxValue": { "alias": "omniboxValue"; "required": false; }; "omniboxDebounceMs": { "alias": "omniboxDebounceMs"; "required": false; }; "leadIcon": { "alias": "leadIcon"; "required": false; }; "leadLabel": { "alias": "leadLabel"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetWidgetId": { "alias": "targetWidgetId"; "required": false; }; "scopeBarId": { "alias": "scopeBarId"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; }, { "activeIdChange": "activeIdChange"; "omniboxValueChange": "omniboxValueChange"; "scopeChange": "scopeChange"; "searchChange": "searchChange"; "filterCriteriaChange": "filterCriteriaChange"; "clear": "clear"; }, never, never, true, never>;
5516
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisScopeBarComponent, "praxis-scope-bar", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "activeId": { "alias": "activeId"; "required": false; }; "showOmnibox": { "alias": "showOmnibox"; "required": false; }; "omniboxPlaceholder": { "alias": "omniboxPlaceholder"; "required": false; }; "omniboxValue": { "alias": "omniboxValue"; "required": false; }; "omniboxDebounceMs": { "alias": "omniboxDebounceMs"; "required": false; }; "leadIcon": { "alias": "leadIcon"; "required": false; }; "leadLabel": { "alias": "leadLabel"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "showActiveFilterSummary": { "alias": "showActiveFilterSummary"; "required": false; }; "activeFilters": { "alias": "activeFilters"; "required": false; }; "filterLabels": { "alias": "filterLabels"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetWidgetId": { "alias": "targetWidgetId"; "required": false; }; "targetWidgetIds": { "alias": "targetWidgetIds"; "required": false; }; "scopeBarId": { "alias": "scopeBarId"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; }, { "activeIdChange": "activeIdChange"; "omniboxValueChange": "omniboxValueChange"; "activeFiltersChange": "activeFiltersChange"; "scopeChange": "scopeChange"; "searchChange": "searchChange"; "filterCriteriaChange": "filterCriteriaChange"; "clear": "clear"; }, never, ["[scope-bar-filters], praxis-filter-outlet"], true, never>;
4890
5517
  static ngAcceptInputType_showOmnibox: unknown;
4891
5518
  static ngAcceptInputType_omniboxDebounceMs: unknown;
4892
5519
  static ngAcceptInputType_showClearButton: unknown;
5520
+ static ngAcceptInputType_showActiveFilterSummary: unknown;
4893
5521
  }
4894
5522
 
4895
5523
  declare class DataFormatterComponent implements OnInit, OnChanges {
@@ -4966,6 +5594,7 @@ interface AnalyticsTableConfigAdapterOptions {
4966
5594
  }
4967
5595
  declare class AnalyticsTableConfigAdapterService {
4968
5596
  private readonly i18n?;
5597
+ private readonly statsBuilder;
4969
5598
  constructor(i18n?: PraxisI18nService | undefined);
4970
5599
  toTableConfig(projection: PraxisAnalyticsProjection, options?: AnalyticsTableConfigAdapterOptions): TableConfig;
4971
5600
  private buildColumns;
@@ -5032,6 +5661,7 @@ declare const PRAXIS_FILTER_AUTHORING_MANIFEST: ComponentAuthoringManifest;
5032
5661
  declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
5033
5662
  private readonly i18n;
5034
5663
  config: TableConfig;
5664
+ fieldMetadata: FieldMetadata[];
5035
5665
  readonly: boolean;
5036
5666
  configChange: EventEmitter<_praxisui_core.TableConfigModern>;
5037
5667
  workingConfig: TableConfig;
@@ -5051,11 +5681,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
5051
5681
  pageSize: number;
5052
5682
  pageSizeOptionsText: string;
5053
5683
  showFirstLastButtons: boolean;
5054
- paginationStrategy: 'client' | 'server';
5684
+ paginationStrategy: 'client' | 'server' | undefined;
5055
5685
  paginationPosition: 'top' | 'bottom' | 'both';
5056
5686
  paginationStyle: 'default' | 'simple' | 'advanced' | 'compact';
5057
5687
  sortingEnabled: boolean;
5058
- sortingStrategy: 'client' | 'server';
5688
+ sortingStrategy: 'client' | 'server' | undefined;
5059
5689
  allowClearSort: boolean;
5060
5690
  defaultSortField: string;
5061
5691
  defaultSortDirection: 'asc' | 'desc';
@@ -5083,11 +5713,11 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
5083
5713
  setPaginationPageSize(value: number | string): void;
5084
5714
  setPaginationPageSizeOptions(value: string): void;
5085
5715
  setPaginationShowFirstLastButtons(value: boolean): void;
5086
- setPaginationStrategy(value: 'client' | 'server'): void;
5716
+ setPaginationStrategy(value: 'client' | 'server' | undefined): void;
5087
5717
  setPaginationPosition(value: 'top' | 'bottom' | 'both'): void;
5088
5718
  setPaginationStyle(value: 'default' | 'simple' | 'advanced' | 'compact'): void;
5089
5719
  setSortingEnabled(value: boolean): void;
5090
- setSortingStrategy(value: 'client' | 'server'): void;
5720
+ setSortingStrategy(value: 'client' | 'server' | undefined): void;
5091
5721
  setSortingAllowClear(value: boolean): void;
5092
5722
  setSortingDefaultField(value: string): void;
5093
5723
  setSortingDefaultDirection(value: 'asc' | 'desc'): void;
@@ -5117,7 +5747,7 @@ declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
5117
5747
  private getDefaultSortField;
5118
5748
  private getDefaultSortDirection;
5119
5749
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
5120
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableInlineAuthoringEditorComponent, "praxis-table-inline-authoring-editor", never, { "config": { "alias": "config"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
5750
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableInlineAuthoringEditorComponent, "praxis-table-inline-authoring-editor", never, { "config": { "alias": "config"; "required": false; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
5121
5751
  }
5122
5752
 
5123
5753
  interface ValueMappingPair {
@@ -5137,6 +5767,10 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
5137
5767
  keyInputType: 'text' | 'number' | 'boolean';
5138
5768
  labelKey: string;
5139
5769
  labelValue: string;
5770
+ domainOptions: Array<{
5771
+ value: string | number | boolean;
5772
+ label: string;
5773
+ }>;
5140
5774
  mappingChange: EventEmitter<{
5141
5775
  [key: string]: string;
5142
5776
  [key: number]: string;
@@ -5147,6 +5781,8 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
5147
5781
  showImportDialog: boolean;
5148
5782
  importJsonText: string;
5149
5783
  importError: string;
5784
+ private readonly i18n;
5785
+ tx(key: string, fallback: string): string;
5150
5786
  constructor(cdr: ChangeDetectorRef, dialog: MatDialog, snackBar: MatSnackBar);
5151
5787
  ngOnInit(): void;
5152
5788
  ngOnChanges(changes: SimpleChanges): void;
@@ -5156,6 +5792,7 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
5156
5792
  isKeyTruthy(pair: ValueMappingPair): boolean;
5157
5793
  getKeyPlaceholder(): string;
5158
5794
  addNewPair(): void;
5795
+ generateFromDomainOptions(): void;
5159
5796
  removePair(index: number): void;
5160
5797
  onKeyChange(index: number, value: string): void;
5161
5798
  onBooleanKeyChange(index: number, change: MatCheckboxChange): void;
@@ -5165,7 +5802,7 @@ declare class ValueMappingEditorComponent implements OnInit, OnChanges {
5165
5802
  importFromJson(): void;
5166
5803
  cancelImport(): void;
5167
5804
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueMappingEditorComponent, never>;
5168
- static ɵcmp: i0.ɵɵComponentDeclaration<ValueMappingEditorComponent, "value-mapping-editor", never, { "currentMapping": { "alias": "currentMapping"; "required": false; }; "keyInputType": { "alias": "keyInputType"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; }, { "mappingChange": "mappingChange"; }, never, never, true, never>;
5805
+ static ɵcmp: i0.ɵɵComponentDeclaration<ValueMappingEditorComponent, "value-mapping-editor", never, { "currentMapping": { "alias": "currentMapping"; "required": false; }; "keyInputType": { "alias": "keyInputType"; "required": false; }; "labelKey": { "alias": "labelKey"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "domainOptions": { "alias": "domainOptions"; "required": false; }; }, { "mappingChange": "mappingChange"; }, never, never, true, never>;
5169
5806
  }
5170
5807
 
5171
5808
  declare class FormulaGeneratorService {
@@ -5258,6 +5895,12 @@ declare class VisualFormulaBuilderComponent implements OnInit, OnChanges {
5258
5895
  private generateAndEmitExpression;
5259
5896
  get generatedExpression(): string;
5260
5897
  isMultiSelectField(paramKey: string): boolean;
5898
+ onFieldSelectionChange(paramKey: string, nextValue: unknown): void;
5899
+ getOrderedSelectedFields(paramKey: string): string[];
5900
+ moveSelectedField(paramKey: string, index: number, delta: -1 | 1): void;
5901
+ getShortFieldDisplayLabel(fieldName: string): string;
5902
+ formatSelectedFieldLabel(selection: unknown): string;
5903
+ private resolveFieldDisplayLabel;
5261
5904
  getFieldTypeIcon(fieldType: string): string;
5262
5905
  testFormula(): void;
5263
5906
  formatTestResult(result: any): string;
@@ -5711,6 +6354,43 @@ declare function coerceTableComponentEditPlan(value: unknown): TableComponentEdi
5711
6354
  declare function compileTableComponentEditPlans(plans: TableComponentEditPlan[], currentConfig: TableConfig): TableComponentEditPlanCompileResult;
5712
6355
  declare function compileTableComponentEditPlan(plan: TableComponentEditPlan, currentConfig: TableConfig): TableComponentEditPlanCompileResult;
5713
6356
 
6357
+ interface ResolvedCalculationStepViewModel {
6358
+ role: PraxisAnalyticalDrawerCalculationStepRole;
6359
+ label: string;
6360
+ operator: string;
6361
+ value: string;
6362
+ numericValue?: number;
6363
+ hint?: string;
6364
+ legalBasis?: string;
6365
+ icon?: string;
6366
+ tone: string;
6367
+ }
6368
+ interface ResolvedCalculationWaterfallSegment {
6369
+ label: string;
6370
+ formattedValue: string;
6371
+ tone: string;
6372
+ percentWidth: number;
6373
+ }
6374
+ interface ResolvedCalculationTrailViewModel {
6375
+ id: string;
6376
+ title: string;
6377
+ subtitle?: string;
6378
+ icon: string;
6379
+ ruleCode?: string;
6380
+ formula?: string;
6381
+ steps: ResolvedCalculationStepViewModel[];
6382
+ waterfallSegments: ResolvedCalculationWaterfallSegment[];
6383
+ legalBasis?: string;
6384
+ legalPurpose?: string;
6385
+ }
6386
+ interface ResolvedCalculationMemorySectionViewModel {
6387
+ title?: string;
6388
+ subtitle?: string;
6389
+ icon: string;
6390
+ legalBasis?: string;
6391
+ emptyText?: string;
6392
+ trails: ResolvedCalculationTrailViewModel[];
6393
+ }
5714
6394
  declare function isAnalyticalDrawerSchema(schema: unknown): schema is PraxisAnalyticalDrawerSchema;
5715
6395
  declare function interpolateRelationEndpoint(endpoint: string, row: Record<string, unknown> | null | undefined): {
5716
6396
  url: string;
@@ -5720,53 +6400,134 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
5720
6400
  private _isOpen;
5721
6401
  private previousActiveElement;
5722
6402
  handleDocumentEscape(event?: Event): void;
6403
+ handleDocumentSteppingKeydown(event: KeyboardEvent): void;
5723
6404
  set isOpen(value: boolean);
5724
6405
  get isOpen(): boolean;
5725
6406
  private _resourcePath?;
6407
+ private readonly resourcePathSignal;
5726
6408
  set resourcePath(value: string | undefined);
5727
6409
  get resourcePath(): string | undefined;
5728
- surfaceName: string;
5729
6410
  private _drawerConfig;
5730
6411
  set drawerConfig(value: TableDrawerConfig | null);
5731
6412
  get drawerConfig(): TableDrawerConfig | null;
5732
6413
  private _row;
5733
6414
  set row(value: any | null);
5734
6415
  get row(): any | null;
5735
- relations: Record<string, unknown>;
6416
+ private _relations;
6417
+ set relations(value: Record<string, unknown>);
6418
+ get relations(): Record<string, unknown>;
6419
+ private _rows;
6420
+ set rows(value: readonly any[] | null | undefined);
6421
+ get rows(): readonly any[];
5736
6422
  loadingRelations: boolean;
6423
+ surfacesHref?: string | null;
5737
6424
  closeDrawer: EventEmitter<void>;
5738
6425
  tabChange: EventEmitter<string>;
5739
6426
  relationFetch: EventEmitter<{
5740
6427
  key: string;
5741
6428
  endpoint: string;
5742
6429
  }>;
6430
+ rowChange: EventEmitter<any>;
6431
+ ruleClick: EventEmitter<{
6432
+ ruleCode: string;
6433
+ trailId: string;
6434
+ title: string;
6435
+ legalBasis?: string;
6436
+ }>;
6437
+ protected readonly drawerConfigSignal: i0.WritableSignal<TableDrawerConfig | null>;
6438
+ protected readonly rowSignal: i0.WritableSignal<any>;
6439
+ protected readonly rowsSignal: i0.WritableSignal<readonly any[]>;
6440
+ protected readonly relationsSignal: i0.WritableSignal<Record<string, unknown>>;
5743
6441
  protected readonly activeTabId: i0.WritableSignal<string>;
5744
6442
  protected readonly customRelations: i0.WritableSignal<Record<string, unknown>>;
5745
6443
  protected readonly isFetchingRelations: i0.WritableSignal<boolean>;
5746
6444
  protected readonly resolvedRemoteConfig: i0.WritableSignal<TableDrawerConfig | null>;
6445
+ protected readonly resolvedFieldLineage: i0.WritableSignal<Record<string, {
6446
+ attributeId?: string;
6447
+ sourceResourceKey?: string;
6448
+ sourcePaths?: string[];
6449
+ transformation?: string;
6450
+ }>>;
6451
+ protected readonly resolvedSchemaFields: i0.WritableSignal<FieldDefinition[]>;
6452
+ protected readonly resolvedResourceIdentity: i0.WritableSignal<ResourceIdentityContract | null>;
6453
+ protected readonly resolvedResourceTitle: i0.WritableSignal<string>;
6454
+ protected readonly resolvedResourceIcon: i0.WritableSignal<string>;
6455
+ protected readonly resolvedSurfaces: i0.WritableSignal<ResourceSurfaceCatalogItem[]>;
6456
+ protected readonly resolvedSurfaceChildrenState: i0.WritableSignal<Record<string, {
6457
+ loading: boolean;
6458
+ error: boolean;
6459
+ rows: Record<string, unknown>[];
6460
+ }>>;
5747
6461
  protected readonly isResolvingSchema: i0.WritableSignal<boolean>;
6462
+ protected readonly heroIdentity: i0.Signal<MaterializedResourceIdentity | null>;
6463
+ protected readonly resolvedHeroMetadata: i0.Signal<{
6464
+ field: string;
6465
+ label: string;
6466
+ value: string;
6467
+ }[]>;
5748
6468
  private readonly evaluator;
5749
6469
  private readonly http;
6470
+ private readonly injector;
5750
6471
  private readonly drawerRegistry;
6472
+ private readonly schemaNormalizer;
5751
6473
  private readonly apiUrl;
6474
+ private readonly runtimeContext;
5752
6475
  private readonly sanitizer;
5753
6476
  private readonly formattingService;
6477
+ private readonly hostRef;
6478
+ private readonly microTooltipOverlay;
6479
+ private readonly decisionInspector;
6480
+ private readonly assistantLaunch;
6481
+ private readonly i18n;
6482
+ private readonly angularLocale;
6483
+ protected readonly canAskAssistant: i0.Signal<boolean>;
6484
+ protected readonly askDrawerAssistantLabel: i0.Signal<string>;
6485
+ protected readonly askCalculationAssistantLabel: i0.Signal<string>;
5754
6486
  private relationSubs;
5755
6487
  private schemaSub?;
5756
- private static readonly urlCache;
5757
- private static readonly schemaCache;
6488
+ private surfaceDiscoverySub?;
6489
+ private surfaceDataSubs;
6490
+ private contextSub?;
6491
+ private lastSurfacesKey;
6492
+ private lastEndpointResourceKey;
6493
+ private lastEndpointSurfacesHref;
6494
+ private lastSchemaHasExplicitLayout;
6495
+ private static readonly relationCaches;
6496
+ private readonly relationCache;
6497
+ private relationEpoch;
6498
+ constructor();
5758
6499
  private lastFetchedKey;
5759
6500
  private lastResolvingKey;
6501
+ private schemaResolutionEpoch;
6502
+ private destroyed;
5760
6503
  static clearCache(): void;
6504
+ private getContextScopePrefix;
5761
6505
  private resolveUrl;
5762
6506
  ngOnInit(): void;
5763
6507
  ngOnChanges(changes: SimpleChanges): void;
5764
6508
  ngOnDestroy(): void;
6509
+ protected onMicroVizPointerOver(event: Event): void;
6510
+ protected onMicroVizPointerOut(event: Event): void;
6511
+ protected onMicroVizFocusIn(event: Event): void;
6512
+ protected onMicroVizFocusOut(event: Event): void;
6513
+ private dismissOwnedMicroTooltip;
5765
6514
  getEffectiveDrawerConfig(): TableDrawerConfig | null;
5766
6515
  private mergeTabs;
5767
6516
  private resolveRemoteDrawerMetadata;
6517
+ private shouldHydrateRemoteCalculationMemory;
6518
+ private hasCalculationMemoryConfigured;
6519
+ private mergeRemoteCalculationMemory;
5768
6520
  protected onClose(): void;
5769
6521
  protected onBackdropClick(event: MouseEvent): void;
6522
+ protected readonly totalRowsCount: i0.Signal<number>;
6523
+ protected readonly currentRowIndex: i0.Signal<number>;
6524
+ protected readonly canStepPrevious: i0.Signal<boolean>;
6525
+ protected readonly canStepNext: i0.Signal<boolean>;
6526
+ protected stepToPreviousRow(): void;
6527
+ protected stepToNextRow(): void;
6528
+ protected onRuleBadgeClick(trail: ResolvedCalculationTrailViewModel): void;
6529
+ protected onAskAssistant(): void;
6530
+ protected onAskCalculationMemory(section: ResolvedCalculationMemorySectionViewModel): void;
5770
6531
  protected selectTab(tabId: string): void;
5771
6532
  private getAnalyticalSchema;
5772
6533
  protected resolvedTabs: i0.Signal<PraxisAnalyticalDrawerTab[]>;
@@ -5777,6 +6538,26 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
5777
6538
  protected resolvedClassificationPill: i0.Signal<string>;
5778
6539
  protected resolvedWidth: i0.Signal<string>;
5779
6540
  protected getDrawerIcon(): string;
6541
+ protected isAvatarImageUrl(value: unknown): boolean;
6542
+ protected resolveAvatarInitials(value: unknown): string;
6543
+ protected isLazySurfaceContent(content: unknown): boolean;
6544
+ protected asLazySurfaceConfig(content: unknown): ResourceSurfaceCatalogItem;
6545
+ protected getLazySurfaceState(surfaceId: string): {
6546
+ loading: boolean;
6547
+ error: boolean;
6548
+ rows: Record<string, unknown>[];
6549
+ };
6550
+ protected extractSurfaceRowEntries(row: Record<string, unknown>): Array<{
6551
+ key: string;
6552
+ label: string;
6553
+ value: string;
6554
+ }>;
6555
+ private resetLazySurfaceState;
6556
+ private resolveEffectiveSurfacesHref;
6557
+ private triggerLazySurfacesDiscoveryIfNeeded;
6558
+ protected loadLazySurfaceTabData(surface: ResourceSurfaceCatalogItem, force?: boolean): void;
6559
+ private synthesizeZeroConfigDrawerSchema;
6560
+ private inferDrawerMetricFormat;
5780
6561
  protected getEvaluationContext(): Record<string, unknown>;
5781
6562
  protected isCardGridContent(content: unknown): boolean;
5782
6563
  protected asCardGrid(content: unknown): {
@@ -5789,14 +6570,34 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
5789
6570
  protected isPropertyGrid(content: unknown): boolean;
5790
6571
  protected asPropertyGrid(content: unknown): any[];
5791
6572
  protected isArray(val: unknown): boolean;
6573
+ protected isCalculationMemoryContent(content: unknown): boolean;
6574
+ protected hasRootCalculationMemory(): boolean;
6575
+ protected resolveRootCalculationMemorySection(): ResolvedCalculationMemorySectionViewModel | null;
6576
+ protected resolveCalculationMemorySection(raw: PraxisAnalyticalDrawerCalculationMemoryContent | PraxisAnalyticalDrawerCalculationTrail[] | unknown): ResolvedCalculationMemorySectionViewModel | null;
6577
+ private isCalculationTrailVisible;
6578
+ private resolveCalculationTrail;
6579
+ private resolveTrailWaterfallSegments;
6580
+ private resolveCalculationSteps;
6581
+ private evaluateCalculationValueWithNumeric;
6582
+ private evaluateAndFormatCalculationValue;
6583
+ private parsePrecisionDigits;
6584
+ private evalRawExpression;
6585
+ private evalStringText;
5792
6586
  protected evaluateAndFormatMetric(item: any): string;
5793
6587
  protected evaluatePropertyValue(item: any): string;
6588
+ protected getItemLineage(item: any): {
6589
+ label: string;
6590
+ tooltip: string;
6591
+ } | null;
6592
+ private readonly microVizSafeHtmlCache;
5794
6593
  protected renderMicroViz(viz: PraxisPresentationVisualizationConfig | undefined, item: any): SafeHtml;
5795
6594
  private syncActiveTab;
5796
6595
  private fetchConfiguredRelations;
6596
+ private invalidateRelations;
5797
6597
  private cancelRelationRequests;
6598
+ private postCanonicalFilterRelation;
5798
6599
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
5799
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisAnalyticalDrawerComponent, "praxis-analytical-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "surfaceName": { "alias": "surfaceName"; "required": false; }; "drawerConfig": { "alias": "drawerConfig"; "required": false; }; "row": { "alias": "row"; "required": false; }; "relations": { "alias": "relations"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; }, never, never, true, never>;
6600
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisAnalyticalDrawerComponent, "praxis-analytical-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "drawerConfig": { "alias": "drawerConfig"; "required": false; }; "row": { "alias": "row"; "required": false; }; "relations": { "alias": "relations"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; "surfacesHref": { "alias": "surfacesHref"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; "rowChange": "rowChange"; "ruleClick": "ruleClick"; }, never, never, true, never>;
5800
6601
  }
5801
6602
 
5802
6603
  type AnalyticalDrawerSchemaOrConfig = PraxisAnalyticalDrawerSchema | TableDrawerConfig;
@@ -5840,5 +6641,33 @@ declare function formatComputedFieldValue(value: unknown, format?: string, type?
5840
6641
  */
5841
6642
  declare function applyComputedFieldsToRows<T extends Record<string, any> = Record<string, any>>(rows: T[], computedFieldsConfig?: PraxisComputedFieldsConfig | null, options?: ComputedFieldsEvaluationOptions): T[];
5842
6643
 
5843
- export { ANALYTICS_TABLE_ROW_KEY_FIELD, AnalyticalDrawerRegistryService, 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_ANALYTICAL_DRAWER_SCHEMAS, PRAXIS_FILTER_AUTHORING_MANIFEST, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisAnalyticalDrawerComponent, PraxisFilter, PraxisFilterOutletComponent, PraxisFilterOutletDirective, PraxisFilterWidgetConfigEditor, PraxisScopeBarComponent, 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, applyComputedFieldsToRows, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
5844
- export type { ActionLike, AnalyticalDrawerSchemaOrConfig, 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, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, 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 };
6644
+ /** Raw compact schema authorship only; native normalization remains an editor/runtime projection. */
6645
+ declare function decodeTablePageInputs(value: unknown): {
6646
+ document: TableAuthoringDocument | null;
6647
+ diagnostics: EditorDiagnostic[];
6648
+ };
6649
+ /** Core prefixes these widget-relative JSON Pointers; this callback never resolves a source/latest. */
6650
+ declare function validateTablePageWidget(widget: WidgetInstance): readonly {
6651
+ code: string;
6652
+ path: string;
6653
+ }[];
6654
+ declare function encodeTablePageInputs(value: unknown): {
6655
+ inputs: Record<string, unknown> | null;
6656
+ diagnostics: EditorDiagnostic[];
6657
+ };
6658
+ /** No-change values in a materialized native editor cannot author defaults or erase absent keys. */
6659
+ declare function projectTablePageEditorChanges(authoredInputs: unknown, editorBaseline: unknown, editorValue: unknown): {
6660
+ inputs: Record<string, unknown> | null;
6661
+ diagnostics: EditorDiagnostic[];
6662
+ };
6663
+ /** Derive execution-only identity and disable independent preferences. Never persist this projection. */
6664
+ declare function materializeTablePageRuntimeInputs(value: unknown, pageId: string, widgetKey: string, options?: {
6665
+ preview?: boolean;
6666
+ }): {
6667
+ inputs: Record<string, unknown> | null;
6668
+ diagnostics: EditorDiagnostic[];
6669
+ };
6670
+ declare const TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER: GovernedPagePreviewWidgetAdapter;
6671
+
6672
+ export { ANALYTICS_TABLE_ROW_KEY_FIELD, AnalyticalDrawerRegistryService, 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_ANALYTICAL_DRAWER_SCHEMAS, PRAXIS_FILTER_AUTHORING_MANIFEST, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, PRAXIS_TABLE_AUTHORING_MANIFEST, PRAXIS_TABLE_COMPONENT_METADATA, PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, PraxisAnalyticalDrawerComponent, PraxisFilter, PraxisFilterOutletComponent, PraxisFilterOutletDirective, PraxisFilterWidgetConfigEditor, PraxisScopeBarComponent, 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, TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, analyticsComparisonMetricField, applyComputedFieldsToRows, buildTableApplyPlan, coerceTableComponentEditPlan, coerceTableComponentEditPlans, compileTableComponentEditPlan, compileTableComponentEditPlans, createTableAuthoringDocument, decodeTablePageInputs, encodeTablePageInputs, formatComputedFieldValue, getActionId, getEnum, getTableCapabilities, getTableComponentEditPlanCapabilities, interpolateRelationEndpoint, isAnalyticalDrawerSchema, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, materializeTablePageRuntimeInputs, normalizeComputedFieldDefinition, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, projectTablePageEditorChanges, providePraxisAnalyticalDrawerSchemas, providePraxisFilterMetadata, providePraxisTableMetadata, providePraxisTableToolbarAppearance, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument, validateTablePageWidget };
6673
+ export type { ActionLike, AnalyticalDrawerSchemaOrConfig, 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, ComputedFieldsEvaluationOptions, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, DrawerOpenEvent, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, PraxisFilterOutletTarget, PraxisFilterTeleportHost, PraxisFilterViewContext, PraxisFilterViewField, PraxisFilterWidgetEditorInputs, PraxisFilterWidgetEditorValue, PraxisScopeBarActiveBadge, PraxisScopeBarConfig, PraxisScopeBarItem, PraxisTableCrossFilterItem, PraxisTableQueryContextClearEvent, PraxisTableWidgetEditorInputs, PraxisTableWidgetEditorValue, ResolvedCalculationMemorySectionViewModel, ResolvedCalculationStepViewModel, ResolvedCalculationTrailViewModel, ResolvedCalculationWaterfallSegment, ResourcePathIntent, RowAction, RowClickEvent, RowDoubleClickEvent, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, RowSelectionChangeEvent, 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 };