@praxisui/table 9.0.0-beta.84 → 9.0.0-beta.86

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,6 +1,6 @@
1
1
  import { Observable, firstValueFrom } from 'rxjs';
2
2
  import { withAuthoringScopePolicy } from '@praxisui/ai';
3
- import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-7iWPoCFj.mjs';
3
+ import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-NNfpT0jj.mjs';
4
4
 
5
5
  class TableAgenticAuthoringTurnFlow {
6
6
  adapter;
@@ -1,7 +1,7 @@
1
1
  import { firstValueFrom } from 'rxjs';
2
2
  import { BaseAiAdapter, sanitizePraxisAssistantText, createComponentAuthoringContext } from '@praxisui/ai';
3
3
  import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
4
- import { I as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, l as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, Z as coerceTableComponentEditPlans, $ as compileTableComponentEditPlans, L as TASK_PRESETS, a4 as getTableComponentEditPlanCapabilities, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, H as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-7iWPoCFj.mjs';
4
+ import { I as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, l as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, Z as coerceTableComponentEditPlans, $ as compileTableComponentEditPlans, L as TASK_PRESETS, a4 as getTableComponentEditPlanCapabilities, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, H as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-NNfpT0jj.mjs';
5
5
 
6
6
  const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
7
7
  mode: 'expression',
@@ -1 +1 @@
1
- export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticsTableConfigAdapterService, b as AnalyticsTableContractService, c as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, d as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, e as ColumnsConfigEditorComponent, D as DATE_PRESETS, f as DataFormatterComponent, g as DataFormattingService, F as FORMULA_TEMPLATES, h as FilterConfigService, i as FilterSettingsComponent, j as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, k as PRAXIS_FILTER_COMPONENT_METADATA, l as PRAXIS_TABLE_AUTHORING_MANIFEST, m as PRAXIS_TABLE_COMPONENT_METADATA, n as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, o as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, p as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, q as PraxisFilter, r as PraxisFilterWidgetConfigEditor, s as PraxisTable, t as PraxisTableConfigEditor, u as PraxisTableInlineAuthoringEditorComponent, v as PraxisTableToolbar, w as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, x as TABLE_COMPONENT_AI_CAPABILITIES, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, H as TABLE_COMPONENT_EDIT_PLAN_KIND, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, L as TASK_PRESETS, O as TableDefaultsProvider, Q as TableRulesEditorComponent, R as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, U as VisualFormulaBuilderComponent, W as analyticsComparisonMetricField, X as buildTableApplyPlan, Y as coerceTableComponentEditPlan, Z as coerceTableComponentEditPlans, _ as compileTableComponentEditPlan, $ as compileTableComponentEditPlans, a0 as createTableAuthoringDocument, a1 as getActionId, a2 as getEnum, a3 as getTableCapabilities, a4 as getTableComponentEditPlanCapabilities, a5 as isTableRendererSupportedByRichContentP0, a6 as mapTableRendererToRichContentP0, a7 as normalizeTableAuthoringDocument, a8 as parseLegacyOrTableDocument, a9 as providePraxisFilterMetadata, aa as providePraxisTableMetadata, ab as providePraxisTableToolbarAppearance, ac as serializeTableAuthoringDocument, ae as toCanonicalTableConfig, af as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-7iWPoCFj.mjs';
1
+ export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticsTableConfigAdapterService, b as AnalyticsTableContractService, c as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, d as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, e as ColumnsConfigEditorComponent, D as DATE_PRESETS, f as DataFormatterComponent, g as DataFormattingService, F as FORMULA_TEMPLATES, h as FilterConfigService, i as FilterSettingsComponent, j as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, k as PRAXIS_FILTER_COMPONENT_METADATA, l as PRAXIS_TABLE_AUTHORING_MANIFEST, m as PRAXIS_TABLE_COMPONENT_METADATA, n as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, o as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, p as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, q as PraxisFilter, r as PraxisFilterWidgetConfigEditor, s as PraxisTable, t as PraxisTableConfigEditor, u as PraxisTableInlineAuthoringEditorComponent, v as PraxisTableToolbar, w as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, x as TABLE_COMPONENT_AI_CAPABILITIES, y as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, z as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, E as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, G as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, H as TABLE_COMPONENT_EDIT_PLAN_KIND, K as TABLE_COMPONENT_EDIT_PLAN_VERSION, L as TASK_PRESETS, O as TableDefaultsProvider, Q as TableRulesEditorComponent, R as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, U as VisualFormulaBuilderComponent, W as analyticsComparisonMetricField, X as buildTableApplyPlan, Y as coerceTableComponentEditPlan, Z as coerceTableComponentEditPlans, _ as compileTableComponentEditPlan, $ as compileTableComponentEditPlans, a0 as createTableAuthoringDocument, a1 as getActionId, a2 as getEnum, a3 as getTableCapabilities, a4 as getTableComponentEditPlanCapabilities, a5 as isTableRendererSupportedByRichContentP0, a6 as mapTableRendererToRichContentP0, a7 as normalizeTableAuthoringDocument, a8 as parseLegacyOrTableDocument, a9 as providePraxisFilterMetadata, aa as providePraxisTableMetadata, ab as providePraxisTableToolbarAppearance, ac as serializeTableAuthoringDocument, ae as toCanonicalTableConfig, af as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-NNfpT0jj.mjs';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "9.0.0-beta.84",
3
+ "version": "9.0.0-beta.86",
4
4
  "description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
8
  "@angular/platform-browser": "^21.0.0",
9
- "@praxisui/ai": "^9.0.0-beta.84",
10
- "@praxisui/core": "^9.0.0-beta.84",
11
- "@praxisui/dynamic-fields": "^9.0.0-beta.84",
12
- "@praxisui/dynamic-form": "^9.0.0-beta.84",
13
- "@praxisui/metadata-editor": "^9.0.0-beta.84",
14
- "@praxisui/rich-content": "^9.0.0-beta.84",
15
- "@praxisui/settings-panel": "^9.0.0-beta.84",
16
- "@praxisui/table-rule-builder": "^9.0.0-beta.84",
9
+ "@praxisui/ai": "^9.0.0-beta.86",
10
+ "@praxisui/core": "^9.0.0-beta.86",
11
+ "@praxisui/dynamic-fields": "^9.0.0-beta.86",
12
+ "@praxisui/dynamic-form": "^9.0.0-beta.86",
13
+ "@praxisui/metadata-editor": "^9.0.0-beta.86",
14
+ "@praxisui/rich-content": "^9.0.0-beta.86",
15
+ "@praxisui/settings-panel": "^9.0.0-beta.86",
16
+ "@praxisui/table-rule-builder": "^9.0.0-beta.86",
17
17
  "@angular/cdk": "^21.0.0",
18
18
  "@angular/forms": "^21.0.0",
19
19
  "@angular/material": "^21.0.0",
20
20
  "@angular/router": "^21.0.0",
21
- "@praxisui/dialog": "^9.0.0-beta.84",
21
+ "@praxisui/dialog": "^9.0.0-beta.86",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -985,8 +985,8 @@ row selection through table affordances.
985
985
  | `--p-table-drag-preview-scale` | escala visual do preview durante drag |
986
986
  | `--p-table-drag-preview-shadow` | sombra do preview durante drag |
987
987
  | `--p-table-drag-status-enter-duration` | duracao da entrada da mensagem visual de reorder |
988
- | `--p-actions-btn-size` | tamanho de botoes de acao |
989
- | `--p-actions-icon-size` | tamanho de icones de acao |
988
+ | `--p-actions-btn-size` | tamanho da superfície visível dos botões de ação; o alvo interativo permanece em 44px |
989
+ | `--p-actions-icon-size` | tamanho dos ícones de ação dentro da superfície canônica |
990
990
  | `--p-table-paginator-container-min-height` | altura minima do paginator |
991
991
  | `--p-table-paginator-container-padding` | padding do paginator |
992
992
  | `--p-table-paginator-container-gap` | espaçamento entre controles do paginator |
@@ -1029,7 +1029,16 @@ A superficie usa `horizontalScroll` com classes:
1029
1029
  #### Row/cell conditional styling
1030
1030
  - `rowConditionalStyles` aplica classes/estilo por linha.
1031
1031
  - `columns[].conditionalStyles` aplica por celula.
1032
- - Presets uteis no SCSS: `row--success`, `row--warning`, `row--danger`, `row--highlight`, `row--muted`.
1032
+ - Para intenções semânticas cobertas pelo catálogo oficial, use `surfacePresetRef`, por exemplo `{ "id": "warning", "catalogVersion": "0.2.0" }`. A versão `0.2.0` oferece `success`, `warning`, `danger` e `highlight` nos escopos de linha e célula.
1033
+ - Fundo sólido determinístico sem `color` usa foreground acessível derivado no runtime; a cor derivada não é persistida no `TableConfig`.
1034
+ - `color` explícito continua sendo intenção autorada e deve atingir contraste WCAG AA (`4.5:1`) contra o fundo sólido efetivo.
1035
+ - O authoring bloqueia pares explícitos abaixo de AA. Para configuração legada ou manual que bypassou esse gate, o runtime substitui apenas o foreground renderizado por um fallback acessível e preserva o documento original para diagnóstico/correção governada.
1036
+ - Hover e zebra não apagam uma superfície condicional. Seleção possui precedência explícita com seu próprio par `--p-table-row-selected-bg`/`--p-table-row-selected-fg`.
1037
+ - Alpha, `var(...)`, `cssClass` externa, gradiente e shorthand não determinístico exigem preview contextual e não devem ser declarados acessíveis apenas por validação estrutural. O fundo contextual fica adiado no HTML inicial. Após o render, o runtime aplica fundo e foreground no mesmo frame e emite evidência DOM `derived-contextual` somente quando uma transparência ou variável CSS puder ser composta até uma base opaca e reduzida a uma única cor sólida. Gradientes, imagens e composições sem base opaca permanecem `unresolved-suppressed`, sem pintar o fundo inseguro.
1038
+ - Em CSP estrito, estilos condicionais inline são desativados e o runtime não faz reparos via CSSOM. Apenas um `surfacePresetRef` válido é convertido na classe privada correspondente; `cssClass` arbitrária falha fechado. Os nomes dessas classes são detalhe interno e não fazem parte do contrato de authoring.
1039
+ - A observação runtime publica `affordances.visualMaterialization.inlineStyle`, `governedClass` e `surfacePresetCatalog` (ID, versão, tema, modo, escopos e presets instalados), sem expor nonce ou a política CSP bruta. O backend usa essa evidência somente para restringir o preview: estilos inline exigem `inlineStyle=supported`; presets exigem instalação compatível comprovada. Capability ausente, `unknown`, versão/escopo/preset divergente ou modo de tema ainda não certificado falham fechado.
1040
+ - `muted` não integra o catálogo acessível: opacidade aplicada à linha pode compor com descendentes e invalidar o contraste. O modo `high-contrast` é observado pelo runtime, mas permanece não aplicável pelo authoring até ter evidência visual certificada; o catálogo `0.2.0` está certificado para `light` e `dark`.
1041
+ - Quando a cor comunicar estado ou classificação de negócio, materialize também uma pista visível independente de cor, como marcador lateral, ícone ou label.
1033
1042
 
1034
1043
  ### Examples
1035
1044
 
@@ -1446,6 +1446,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1446
1446
  private resizeObserver;
1447
1447
  private resizeObserverRefreshFrameId;
1448
1448
  private removeViewportChangeListeners;
1449
+ private conditionalSurfaceObserver;
1450
+ private conditionalSurfaceFrameId;
1449
1451
  private readonly warnedUnsupportedFeatures;
1450
1452
  private warnedStrictCspStyleMode;
1451
1453
  private fallbackLogger?;
@@ -1570,6 +1572,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1570
1572
  private buildAiAssistantContextSnapshot;
1571
1573
  buildRuntimeComponentObservation(): PraxisRuntimeComponentObservationEnvelope;
1572
1574
  private registerRuntimeComponentObservationProvider;
1575
+ private resolveRuntimeThemeMode;
1573
1576
  private getRuntimeObservationSelectedRecordsContext;
1574
1577
  private getActiveRuntimeObservationSelectedRows;
1575
1578
  private buildRuntimeObservationSelectionDigest;
@@ -2113,8 +2116,12 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
2113
2116
  private resolveImplicitFormat;
2114
2117
  getCellClasses(rowData: any, column: ColumnDefinition): string[] | undefined;
2115
2118
  getCellNgStyle(rowData: any, column: ColumnDefinition): Record<string, string> | undefined;
2119
+ private applyAccessibleCellSurface;
2120
+ private deferUnresolvedConditionalSurface;
2121
+ private resolveRuntimeConditionalForeground;
2116
2122
  private normalizeInlineStyleRecord;
2117
2123
  private normalizeConditionalStyleRules;
2124
+ private normalizeConditionalSurfacePresetRef;
2118
2125
  private normalizeConditionalStyleRecord;
2119
2126
  getCellTooltip(rowData: any, column: ColumnDefinition): string | null;
2120
2127
  getCellTooltipPosition(rowData: any, column: ColumnDefinition): 'above' | 'below' | 'left' | 'right' | 'before' | 'after';
@@ -2164,6 +2171,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
2164
2171
  private logActionConditionFallback;
2165
2172
  getRowClasses(rowData: any): string[] | undefined;
2166
2173
  getRowNgStyle(rowData: any): Record<string, string> | undefined;
2174
+ private setupContextualConditionalSurfaceObserver;
2175
+ private scheduleContextualConditionalSurfaceResolution;
2176
+ private resolveContextualConditionalSurfaces;
2177
+ private resolveContextualConditionalSurfaceForElement;
2167
2178
  private getRowRenderer;
2168
2179
  private isMotionReductionRequested;
2169
2180
  private isRowAnimationRuntimeEnabled;
@@ -2500,6 +2511,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
2500
2511
  getActionTooltip(action: RuntimeRowAction | any, row: any): string | null;
2501
2512
  getRowMenuTooltip(row: any): string;
2502
2513
  getRowMenuButtonColor(): any;
2514
+ getCanonicalIconActionColor(color: unknown): string | null;
2503
2515
  getRowMenuIcon(): string;
2504
2516
  private scheduleRowDiscoveryMarkForCheck;
2505
2517
  ngOnDestroy(): void;
@@ -3151,6 +3163,7 @@ declare class ToolbarActionsEditorComponent implements OnInit, OnDestroy, OnChan
3151
3163
  toolbarActions: ToolbarAction[];
3152
3164
  rowActions: RowAction[];
3153
3165
  bulkActions: BulkAction[];
3166
+ getActionTrackKey(action: ToolbarAction | RowAction | BulkAction, index: number): string;
3154
3167
  editingToolbarActionIndex: number | null;
3155
3168
  editingRowActionIndex: number | null;
3156
3169
  editingBulkActionIndex: number | null;
@@ -3576,6 +3589,10 @@ declare class RuleCompilerService {
3576
3589
  }
3577
3590
 
3578
3591
  type RuleItem = Omit<PraxisRuntimeConditionalEffectRule<RuleEffectDefinition>, 'effects'> & {
3592
+ surfacePresetRef?: {
3593
+ id: string;
3594
+ catalogVersion: string;
3595
+ };
3579
3596
  cssClass?: string;
3580
3597
  style?: Record<string, string>;
3581
3598
  effects?: RuleEffectDefinition[];
@@ -3600,6 +3617,10 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
3600
3617
  draftCondition: string;
3601
3618
  draftCssClass: string;
3602
3619
  draftStyleText: string;
3620
+ draftSurfacePresetRef?: {
3621
+ id: string;
3622
+ catalogVersion: string;
3623
+ };
3603
3624
  sanitizedStyle: Record<string, string>;
3604
3625
  manualMode: boolean;
3605
3626
  manualErrors: string[];
@@ -3612,6 +3633,7 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
3612
3633
  editIndex: number;
3613
3634
  get currentRules(): RuleItem[];
3614
3635
  set currentRules(v: RuleItem[]);
3636
+ getRuleTrackKey(rule: RuleItem, index: number): string;
3615
3637
  rulesRow: RuleItem[];
3616
3638
  rulesColumn: RuleItem[];
3617
3639
  objectKeys: {
@@ -3685,6 +3707,7 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
3685
3707
  onExportRules(): void;
3686
3708
  onImportRules(): void;
3687
3709
  private sanitizeRule;
3710
+ private normalizeSurfacePresetRef;
3688
3711
  private normalizeRuleEffects;
3689
3712
  getPrimaryEffect(r: RuleItem | null | undefined): RuleEffectDefinition | undefined;
3690
3713
  getAnimationLabel(r: RuleItem): string | null;
@@ -4550,7 +4573,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_KIND = "praxis.table.component-edit-plan
4550
4573
  declare const TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND = "praxis.table.component-edit-plan.batch";
4551
4574
  declare const TABLE_COMPONENT_EDIT_PLAN_VERSION = "1.0";
4552
4575
  type TableComponentEditChangeKind = 'add_column' | 'set_column_format' | 'set_column_header' | 'set_column_visibility' | 'set_column_filterable' | 'set_column_sortable' | 'set_column_width' | 'set_column_order' | 'set_column_align' | 'set_column_style' | 'set_column_header_style' | 'set_column_sticky' | 'set_column_conditional_style' | 'set_row_conditional_style' | 'set_column_computed' | 'set_column_value_mapping' | 'set_column_renderer' | 'set_column_badge_renderer' | 'set_column_conditional_badge_renderers' | 'set_row_conditional_renderer' | 'configure_table_filtering' | 'configure_advanced_filters' | 'add_advanced_filter_fields' | 'remove_advanced_filter_fields' | 'configure_table_pagination' | 'configure_table_selection' | 'configure_table_sorting' | 'configure_toolbar' | 'add_toolbar_action' | 'add_row_action' | 'add_bulk_action' | 'configure_export' | 'set_table_density' | 'set_toolbar_visibility';
4553
- type TableComponentEditOperationId = 'column.add' | 'column.format.set' | 'column.header.set' | 'column.visibility.set' | 'column.filterable.set' | 'column.sortable.set' | 'column.width.set' | 'column.order.set' | 'column.align.set' | 'column.style.set' | 'column.headerStyle.set' | 'column.sticky.set' | 'column.renderer.set' | 'column.valueMapping.set' | 'column.conditionalStyle.add' | 'row.styleRule.add' | 'column.conditionalRenderer.add' | 'column.computed.add' | 'row.conditionalRenderer.add' | 'behavior.filtering.configure' | 'filter.advanced.configure' | 'filter.advanced.fields.add' | 'filter.advanced.fields.remove' | 'behavior.pagination.configure' | 'behavior.selection.configure' | 'behavior.sorting.configure' | 'toolbar.configure' | 'toolbar.action.add' | 'rowAction.add' | 'bulkAction.add' | 'export.configure' | 'appearance.density.set' | 'toolbar.visibility.set';
4576
+ type TableComponentEditOperationId = 'column.add' | 'column.format.set' | 'column.header.set' | 'column.visibility.set' | 'column.filterable.set' | 'column.sortable.set' | 'column.width.set' | 'column.order.set' | 'column.align.set' | 'column.style.set' | 'column.headerStyle.set' | 'column.sticky.set' | 'column.renderer.set' | 'column.valueMapping.set' | 'column.conditionalStyle.add' | 'row.styleRule.add' | 'row.styleRule.update' | 'column.conditionalRenderer.add' | 'column.computed.add' | 'row.conditionalRenderer.add' | 'behavior.filtering.configure' | 'filter.advanced.configure' | 'filter.advanced.fields.add' | 'filter.advanced.fields.remove' | 'behavior.pagination.configure' | 'behavior.selection.configure' | 'behavior.sorting.configure' | 'toolbar.configure' | 'toolbar.action.add' | 'rowAction.add' | 'bulkAction.add' | 'export.configure' | 'appearance.density.set' | 'toolbar.visibility.set';
4554
4577
  declare const TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS: readonly ["add_column", "set_column_format", "set_column_header", "set_column_visibility", "set_column_filterable", "set_column_sortable", "set_column_width", "set_column_order", "set_column_align", "set_column_style", "set_column_header_style", "set_column_sticky", "set_column_conditional_style", "set_row_conditional_style", "set_column_computed", "set_column_value_mapping", "set_column_renderer", "set_column_badge_renderer", "set_column_conditional_badge_renderers", "set_row_conditional_renderer", "configure_table_filtering", "configure_advanced_filters", "add_advanced_filter_fields", "remove_advanced_filter_fields", "configure_table_pagination", "configure_table_selection", "configure_table_sorting", "configure_toolbar", "add_toolbar_action", "add_row_action", "add_bulk_action", "configure_export", "set_table_density", "set_toolbar_visibility"];
4555
4578
  declare const TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS: Record<TableComponentEditChangeKind, string>;
4556
4579
  interface TableComponentEditPlan {
@@ -4569,6 +4592,7 @@ interface TableComponentEditPlan {
4569
4592
  value?: unknown;
4570
4593
  condition?: unknown;
4571
4594
  style?: unknown;
4595
+ surfacePresetRef?: unknown;
4572
4596
  cssClass?: unknown;
4573
4597
  description?: unknown;
4574
4598
  explanation?: string;
@@ -4699,6 +4723,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
4699
4723
  readonly value: true;
4700
4724
  readonly condition: true;
4701
4725
  readonly style: true;
4726
+ readonly surfacePresetRef: true;
4702
4727
  readonly cssClass: true;
4703
4728
  readonly description: {
4704
4729
  readonly type: "string";
@@ -4732,6 +4757,19 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
4732
4757
  readonly condition: {
4733
4758
  readonly $ref: "#/$defs/jsonLogicExpression";
4734
4759
  };
4760
+ readonly surfacePresetRef: {
4761
+ readonly type: "object";
4762
+ readonly additionalProperties: false;
4763
+ readonly required: readonly ["id", "catalogVersion"];
4764
+ readonly properties: {
4765
+ readonly id: {
4766
+ readonly enum: readonly ["success", "warning", "danger", "highlight"];
4767
+ };
4768
+ readonly catalogVersion: {
4769
+ readonly const: "0.2.0";
4770
+ };
4771
+ };
4772
+ };
4735
4773
  readonly cssClass: {
4736
4774
  readonly type: "string";
4737
4775
  readonly minLength: 1;
@@ -4745,6 +4783,8 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
4745
4783
  };
4746
4784
  };
4747
4785
  readonly anyOf: readonly [{
4786
+ readonly required: readonly ["surfacePresetRef"];
4787
+ }, {
4748
4788
  readonly required: readonly ["cssClass"];
4749
4789
  }, {
4750
4790
  readonly required: readonly ["style"];