@praxisui/table 9.0.0-beta.84 → 9.0.0-beta.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/component-registry.json +384 -82
- package/fesm2022/{praxisui-table-praxisui-table-7iWPoCFj.mjs → praxisui-table-praxisui-table-BybbOTKT.mjs} +661 -42
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-Cl8C90zm.mjs → praxisui-table-table-agentic-authoring-turn-flow-CzxjA-Ti.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-B46F-SpL.mjs → praxisui-table-table-ai.adapter-CiMcul73.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +10 -1
- package/types/praxisui-table.d.ts +38 -1
|
@@ -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-
|
|
3
|
+
import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-BybbOTKT.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-
|
|
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-BybbOTKT.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-
|
|
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-BybbOTKT.mjs';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.85",
|
|
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.
|
|
10
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.0-beta.
|
|
12
|
-
"@praxisui/dynamic-form": "^9.0.0-beta.
|
|
13
|
-
"@praxisui/metadata-editor": "^9.0.0-beta.
|
|
14
|
-
"@praxisui/rich-content": "^9.0.0-beta.
|
|
15
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
16
|
-
"@praxisui/table-rule-builder": "^9.0.0-beta.
|
|
9
|
+
"@praxisui/ai": "^9.0.0-beta.85",
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.85",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.85",
|
|
12
|
+
"@praxisui/dynamic-form": "^9.0.0-beta.85",
|
|
13
|
+
"@praxisui/metadata-editor": "^9.0.0-beta.85",
|
|
14
|
+
"@praxisui/rich-content": "^9.0.0-beta.85",
|
|
15
|
+
"@praxisui/settings-panel": "^9.0.0-beta.85",
|
|
16
|
+
"@praxisui/table-rule-builder": "^9.0.0-beta.85",
|
|
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.
|
|
21
|
+
"@praxisui/dialog": "^9.0.0-beta.85",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -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
|
-
-
|
|
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;
|
|
@@ -3576,6 +3587,10 @@ declare class RuleCompilerService {
|
|
|
3576
3587
|
}
|
|
3577
3588
|
|
|
3578
3589
|
type RuleItem = Omit<PraxisRuntimeConditionalEffectRule<RuleEffectDefinition>, 'effects'> & {
|
|
3590
|
+
surfacePresetRef?: {
|
|
3591
|
+
id: string;
|
|
3592
|
+
catalogVersion: string;
|
|
3593
|
+
};
|
|
3579
3594
|
cssClass?: string;
|
|
3580
3595
|
style?: Record<string, string>;
|
|
3581
3596
|
effects?: RuleEffectDefinition[];
|
|
@@ -3600,6 +3615,10 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3600
3615
|
draftCondition: string;
|
|
3601
3616
|
draftCssClass: string;
|
|
3602
3617
|
draftStyleText: string;
|
|
3618
|
+
draftSurfacePresetRef?: {
|
|
3619
|
+
id: string;
|
|
3620
|
+
catalogVersion: string;
|
|
3621
|
+
};
|
|
3603
3622
|
sanitizedStyle: Record<string, string>;
|
|
3604
3623
|
manualMode: boolean;
|
|
3605
3624
|
manualErrors: string[];
|
|
@@ -3685,6 +3704,7 @@ declare class TableRulesEditorComponent implements OnChanges, OnInit, OnDestroy
|
|
|
3685
3704
|
onExportRules(): void;
|
|
3686
3705
|
onImportRules(): void;
|
|
3687
3706
|
private sanitizeRule;
|
|
3707
|
+
private normalizeSurfacePresetRef;
|
|
3688
3708
|
private normalizeRuleEffects;
|
|
3689
3709
|
getPrimaryEffect(r: RuleItem | null | undefined): RuleEffectDefinition | undefined;
|
|
3690
3710
|
getAnimationLabel(r: RuleItem): string | null;
|
|
@@ -4550,7 +4570,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_KIND = "praxis.table.component-edit-plan
|
|
|
4550
4570
|
declare const TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND = "praxis.table.component-edit-plan.batch";
|
|
4551
4571
|
declare const TABLE_COMPONENT_EDIT_PLAN_VERSION = "1.0";
|
|
4552
4572
|
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';
|
|
4573
|
+
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
4574
|
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
4575
|
declare const TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS: Record<TableComponentEditChangeKind, string>;
|
|
4556
4576
|
interface TableComponentEditPlan {
|
|
@@ -4569,6 +4589,7 @@ interface TableComponentEditPlan {
|
|
|
4569
4589
|
value?: unknown;
|
|
4570
4590
|
condition?: unknown;
|
|
4571
4591
|
style?: unknown;
|
|
4592
|
+
surfacePresetRef?: unknown;
|
|
4572
4593
|
cssClass?: unknown;
|
|
4573
4594
|
description?: unknown;
|
|
4574
4595
|
explanation?: string;
|
|
@@ -4699,6 +4720,7 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
|
|
|
4699
4720
|
readonly value: true;
|
|
4700
4721
|
readonly condition: true;
|
|
4701
4722
|
readonly style: true;
|
|
4723
|
+
readonly surfacePresetRef: true;
|
|
4702
4724
|
readonly cssClass: true;
|
|
4703
4725
|
readonly description: {
|
|
4704
4726
|
readonly type: "string";
|
|
@@ -4732,6 +4754,19 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
|
|
|
4732
4754
|
readonly condition: {
|
|
4733
4755
|
readonly $ref: "#/$defs/jsonLogicExpression";
|
|
4734
4756
|
};
|
|
4757
|
+
readonly surfacePresetRef: {
|
|
4758
|
+
readonly type: "object";
|
|
4759
|
+
readonly additionalProperties: false;
|
|
4760
|
+
readonly required: readonly ["id", "catalogVersion"];
|
|
4761
|
+
readonly properties: {
|
|
4762
|
+
readonly id: {
|
|
4763
|
+
readonly enum: readonly ["success", "warning", "danger", "highlight"];
|
|
4764
|
+
};
|
|
4765
|
+
readonly catalogVersion: {
|
|
4766
|
+
readonly const: "0.2.0";
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
};
|
|
4735
4770
|
readonly cssClass: {
|
|
4736
4771
|
readonly type: "string";
|
|
4737
4772
|
readonly minLength: 1;
|
|
@@ -4745,6 +4780,8 @@ declare const TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA: {
|
|
|
4745
4780
|
};
|
|
4746
4781
|
};
|
|
4747
4782
|
readonly anyOf: readonly [{
|
|
4783
|
+
readonly required: readonly ["surfacePresetRef"];
|
|
4784
|
+
}, {
|
|
4748
4785
|
readonly required: readonly ["cssClass"];
|
|
4749
4786
|
}, {
|
|
4750
4787
|
readonly required: readonly ["style"];
|