@praxisui/table 8.0.0-beta.89 → 8.0.0-beta.90

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.
@@ -39945,7 +39945,7 @@ class PraxisTable {
39945
39945
  if (this.aiAdapter || this.aiAdapterLoadStarted)
39946
39946
  return;
39947
39947
  this.aiAdapterLoadStarted = true;
39948
- import('./praxisui-table-table-ai.adapter-D-NfNb_E.mjs')
39948
+ import('./praxisui-table-table-ai.adapter-DBaPq8mg.mjs')
39949
39949
  .then(({ TableAiAdapter }) => {
39950
39950
  this.aiAdapter = new TableAiAdapter(this);
39951
39951
  this.initializeAiAssistantController();
@@ -40391,7 +40391,7 @@ class PraxisTable {
40391
40391
  initializeAiAssistantController() {
40392
40392
  if (!this.aiAdapter || this.aiAssistantController)
40393
40393
  return;
40394
- import('./praxisui-table-table-agentic-authoring-turn-flow-CJG-Gjzu.mjs')
40394
+ import('./praxisui-table-table-agentic-authoring-turn-flow-BZc3KmLG.mjs')
40395
40395
  .then(({ TableAgenticAuthoringTurnFlow }) => {
40396
40396
  if (this.aiAssistantController || !this.aiAdapter)
40397
40397
  return;
@@ -2314,6 +2314,10 @@ class TableAgenticAuthoringTurnFlow {
2314
2314
  if (continuedColumnVisibilityError) {
2315
2315
  return this.compileAdapterResponse(continuedColumnVisibilityError, request);
2316
2316
  }
2317
+ const continuedColumnVisibilityInvalidExecutable = this.columnVisibilityPlanForInvalidExecutableError(response, request, compiledExecutable);
2318
+ if (continuedColumnVisibilityInvalidExecutable) {
2319
+ return this.compileAdapterResponse(continuedColumnVisibilityInvalidExecutable, request);
2320
+ }
2317
2321
  const continuedInvalidExecutable = this.selectedRecordSurfaceRuntimeOperationForInvalidExecutable(response, request, compiledExecutable.warnings);
2318
2322
  if (continuedInvalidExecutable) {
2319
2323
  return continuedInvalidExecutable;
@@ -2437,6 +2441,10 @@ class TableAgenticAuthoringTurnFlow {
2437
2441
  if (continuedColumnVisibilityError) {
2438
2442
  return this.compileAdapterResponse(continuedColumnVisibilityError, request);
2439
2443
  }
2444
+ const continuedColumnVisibilityInvalidExecutable = this.columnVisibilityPlanForInvalidExecutableError(response, request, compiled);
2445
+ if (continuedColumnVisibilityInvalidExecutable) {
2446
+ return this.compileAdapterResponse(continuedColumnVisibilityInvalidExecutable, request);
2447
+ }
2440
2448
  const continuedBulkRouteAction = this.bulkRouteActionPlanForInvalidExecutable(response, request, compiled.warnings);
2441
2449
  if (continuedBulkRouteAction) {
2442
2450
  return this.compileAdapterResponse(continuedBulkRouteAction, request);
@@ -5674,6 +5682,46 @@ class TableAgenticAuthoringTurnFlow {
5674
5682
  'Residual continuity guard acted only after a misrouted surface runtime operation failed validation for a column visibility request.',
5675
5683
  ]);
5676
5684
  }
5685
+ columnVisibilityPlanForInvalidExecutableError(response, request, compiledError) {
5686
+ if (!request)
5687
+ return null;
5688
+ const prompt = this.columnVisibilityPromptForTurn(request);
5689
+ if (!this.promptRequestsColumnVisibilityEdit(this.normalizeLabel(prompt)))
5690
+ return null;
5691
+ const errorText = this.normalizeLabel([
5692
+ response.message,
5693
+ response.explanation,
5694
+ compiledError.message,
5695
+ compiledError.explanation,
5696
+ ...(compiledError.warnings ?? []),
5697
+ ].join(' '));
5698
+ if (!this.normalizedTextIncludesAny(errorText, [
5699
+ 'validacao de capacidades',
5700
+ 'validação de capacidades',
5701
+ 'capability',
5702
+ 'capabilities',
5703
+ 'componenteditplan',
5704
+ 'target field',
5705
+ 'missing capability',
5706
+ 'unsupported',
5707
+ ]))
5708
+ return null;
5709
+ const currentConfig = this.adapter.getCurrentConfig?.();
5710
+ const columns = Array.isArray(currentConfig?.['columns'])
5711
+ ? currentConfig['columns']
5712
+ .map((column) => this.toRecord(column))
5713
+ .filter((column) => !!column && !!this.stringValue(column['field']))
5714
+ : [];
5715
+ const operations = this.columnVisibilityOperationsFromPrompt(prompt, columns);
5716
+ if (!operations.length)
5717
+ return null;
5718
+ return this.componentEditPlanResponse(operations, 'Vou ocultar as colunas indicadas para a visualizacao solicitada.', [
5719
+ ...(response.warnings ?? []),
5720
+ ...(compiledError.warnings ?? []),
5721
+ 'column-visibility-continued-from-invalid-executable-plan',
5722
+ 'Residual continuity guard acted only after a validated authoring attempt failed for a column visibility request already grounded in declared table columns.',
5723
+ ]);
5724
+ }
5677
5725
  columnVisibilityPromptForTurn(request) {
5678
5726
  const currentPrompt = (request.prompt ?? '').trim();
5679
5727
  if (this.promptRequestsColumnVisibilityEdit(this.normalizeLabel(currentPrompt))) {
@@ -1,7 +1,7 @@
1
1
  import { firstValueFrom } from 'rxjs';
2
2
  import { BaseAiAdapter, createComponentAuthoringContext } from '@praxisui/ai';
3
3
  import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
4
- import { G as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, W as coerceTableComponentEditPlans, Y as compileTableComponentEditPlans, I as TASK_PRESETS, a1 as getTableComponentEditPlanCapabilities, y as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, w as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, z as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, H as TABLE_COMPONENT_EDIT_PLAN_VERSION, x as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, E as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-Dl9IfFPG.mjs';
4
+ import { G as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, W as coerceTableComponentEditPlans, Y as compileTableComponentEditPlans, I as TASK_PRESETS, a1 as getTableComponentEditPlanCapabilities, y as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, w as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, z as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, H as TABLE_COMPONENT_EDIT_PLAN_VERSION, x as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, E as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-Db_nPX-d.mjs';
5
5
 
6
6
  const TABLE_COMPONENT_CONTEXT_PACK = {
7
7
  version: 'v1',
@@ -1 +1 @@
1
- export { A as AnalyticsTableConfigAdapterService, a as AnalyticsTableContractService, b as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, c as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, d as ColumnsConfigEditorComponent, D as DATE_PRESETS, e as DataFormatterComponent, f as DataFormattingService, F as FORMULA_TEMPLATES, g as FilterConfigService, h as FilterSettingsComponent, i as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, j as PRAXIS_FILTER_COMPONENT_METADATA, k as PRAXIS_TABLE_AUTHORING_MANIFEST, l as PRAXIS_TABLE_COMPONENT_METADATA, m as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, n as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, o as PraxisFilter, p as PraxisFilterWidgetConfigEditor, q as PraxisTable, r as PraxisTableConfigEditor, s as PraxisTableInlineAuthoringEditorComponent, t as PraxisTableToolbar, u as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, v as TABLE_COMPONENT_AI_CAPABILITIES, w as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, x as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, y as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, z as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, E as TABLE_COMPONENT_EDIT_PLAN_KIND, H as TABLE_COMPONENT_EDIT_PLAN_VERSION, I as TASK_PRESETS, K as TableDefaultsProvider, L as TableRulesEditorComponent, O as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, Q as VisualFormulaBuilderComponent, R as buildTableApplyPlan, U as coerceTableComponentEditPlan, W as coerceTableComponentEditPlans, X as compileTableComponentEditPlan, Y as compileTableComponentEditPlans, Z as createTableAuthoringDocument, _ as getActionId, $ as getEnum, a0 as getTableCapabilities, a1 as getTableComponentEditPlanCapabilities, a2 as isTableRendererSupportedByRichContentP0, a3 as mapTableRendererToRichContentP0, a4 as normalizeTableAuthoringDocument, a5 as parseLegacyOrTableDocument, a6 as providePraxisFilterMetadata, a7 as providePraxisTableMetadata, a8 as providePraxisTableToolbarAppearance, a9 as serializeTableAuthoringDocument, aa as toCanonicalTableConfig, ab as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-Dl9IfFPG.mjs';
1
+ export { A as AnalyticsTableConfigAdapterService, a as AnalyticsTableContractService, b as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, c as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, d as ColumnsConfigEditorComponent, D as DATE_PRESETS, e as DataFormatterComponent, f as DataFormattingService, F as FORMULA_TEMPLATES, g as FilterConfigService, h as FilterSettingsComponent, i as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, j as PRAXIS_FILTER_COMPONENT_METADATA, k as PRAXIS_TABLE_AUTHORING_MANIFEST, l as PRAXIS_TABLE_COMPONENT_METADATA, m as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, n as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, o as PraxisFilter, p as PraxisFilterWidgetConfigEditor, q as PraxisTable, r as PraxisTableConfigEditor, s as PraxisTableInlineAuthoringEditorComponent, t as PraxisTableToolbar, u as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, v as TABLE_COMPONENT_AI_CAPABILITIES, w as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, x as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, y as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, z as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, E as TABLE_COMPONENT_EDIT_PLAN_KIND, H as TABLE_COMPONENT_EDIT_PLAN_VERSION, I as TASK_PRESETS, K as TableDefaultsProvider, L as TableRulesEditorComponent, O as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, Q as VisualFormulaBuilderComponent, R as buildTableApplyPlan, U as coerceTableComponentEditPlan, W as coerceTableComponentEditPlans, X as compileTableComponentEditPlan, Y as compileTableComponentEditPlans, Z as createTableAuthoringDocument, _ as getActionId, $ as getEnum, a0 as getTableCapabilities, a1 as getTableComponentEditPlanCapabilities, a2 as isTableRendererSupportedByRichContentP0, a3 as mapTableRendererToRichContentP0, a4 as normalizeTableAuthoringDocument, a5 as parseLegacyOrTableDocument, a6 as providePraxisFilterMetadata, a7 as providePraxisTableMetadata, a8 as providePraxisTableToolbarAppearance, a9 as serializeTableAuthoringDocument, aa as toCanonicalTableConfig, ab as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-Db_nPX-d.mjs';
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "8.0.0-beta.89",
3
+ "version": "8.0.0-beta.90",
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
- "@praxisui/ai": "^8.0.0-beta.89",
9
- "@praxisui/core": "^8.0.0-beta.89",
10
- "@praxisui/dynamic-fields": "^8.0.0-beta.89",
11
- "@praxisui/dynamic-form": "^8.0.0-beta.89",
12
- "@praxisui/metadata-editor": "^8.0.0-beta.89",
13
- "@praxisui/rich-content": "^8.0.0-beta.89",
14
- "@praxisui/settings-panel": "^8.0.0-beta.89",
15
- "@praxisui/table-rule-builder": "^8.0.0-beta.89",
8
+ "@praxisui/ai": "^8.0.0-beta.90",
9
+ "@praxisui/core": "^8.0.0-beta.90",
10
+ "@praxisui/dynamic-fields": "^8.0.0-beta.90",
11
+ "@praxisui/dynamic-form": "^8.0.0-beta.90",
12
+ "@praxisui/metadata-editor": "^8.0.0-beta.90",
13
+ "@praxisui/rich-content": "^8.0.0-beta.90",
14
+ "@praxisui/settings-panel": "^8.0.0-beta.90",
15
+ "@praxisui/table-rule-builder": "^8.0.0-beta.90",
16
16
  "@angular/cdk": "^21.0.0",
17
17
  "@angular/forms": "^21.0.0",
18
18
  "@angular/material": "^21.0.0",
19
19
  "@angular/router": "^21.0.0",
20
- "@praxisui/dialog": "^8.0.0-beta.89",
20
+ "@praxisui/dialog": "^8.0.0-beta.90",
21
21
  "rxjs": "~7.8.0"
22
22
  },
23
23
  "dependencies": {