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

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.
@@ -42549,7 +42549,7 @@ class PraxisTable {
42549
42549
  if (this.aiAdapter || this.aiAdapterLoadStarted)
42550
42550
  return;
42551
42551
  this.aiAdapterLoadStarted = true;
42552
- import('./praxisui-table-table-ai.adapter-DQzq1nqx.mjs')
42552
+ import('./praxisui-table-table-ai.adapter-DjfE591p.mjs')
42553
42553
  .then(({ TableAiAdapter }) => {
42554
42554
  if (!this.isAiAssistantEnabled()) {
42555
42555
  this.aiAssistantOpenAfterAdapterLoad = false;
@@ -43295,7 +43295,7 @@ class PraxisTable {
43295
43295
  initializeAiAssistantController() {
43296
43296
  if (!this.aiAdapter || this.aiAssistantController)
43297
43297
  return;
43298
- import('./praxisui-table-table-agentic-authoring-turn-flow-BYg5jEWx.mjs')
43298
+ import('./praxisui-table-table-agentic-authoring-turn-flow-Dk7mU6l2.mjs')
43299
43299
  .then(({ TableAgenticAuthoringTurnFlow }) => {
43300
43300
  if (this.aiAssistantController || !this.aiAdapter)
43301
43301
  return;
@@ -58285,6 +58285,7 @@ const FORMAT_PRESETS$1 = [
58285
58285
  'custom|Sim|Nao'
58286
58286
  ];
58287
58287
  const RENDERER_TYPES = ['icon', 'image', 'badge', 'link', 'button', 'chip', 'progress', 'avatar', 'toggle', 'menu', 'rating', 'html', 'compose'];
58288
+ const RENDERER_COLOR_TOKENS = ['primary', 'accent', 'warn', 'danger', 'success', 'info', 'basic'];
58288
58289
  const EXPORT_FORMATS = ['excel', 'pdf', 'csv', 'json', 'print'];
58289
58290
  const EXPORT_SCOPES = ['auto', 'selected', 'filtered', 'currentPage', 'all'];
58290
58291
  const LOCALIZATION_DIRECTIONS = ['ltr', 'rtl'];
@@ -58435,6 +58436,7 @@ const tableVisualRuleEffectSchema = {
58435
58436
  },
58436
58437
  iconBadge: {
58437
58438
  type: 'object',
58439
+ description: 'Adiciona icone e/ou badge ao valor materializado. Nao representa chip; para chip use renderer.type "chip" e renderer.chip.',
58438
58440
  additionalProperties: false,
58439
58441
  properties: {
58440
58442
  icon: { type: 'string' },
@@ -59111,6 +59113,7 @@ const tablePerformanceSchema = {
59111
59113
  };
59112
59114
  const rendererSchema = {
59113
59115
  type: 'object',
59116
+ description: 'Renderizador visual. Quando a intencao pedir chip, use type "chip" e configure chip; efeitos iconBadge materializam badge, nao chip.',
59114
59117
  required: ['type'],
59115
59118
  properties: {
59116
59119
  type: { enum: RENDERER_TYPES },
@@ -59172,7 +59175,7 @@ const rendererSchema = {
59172
59175
  properties: {
59173
59176
  text: { type: 'string' },
59174
59177
  textField: { type: 'string' },
59175
- color: { type: 'string' },
59178
+ color: { enum: RENDERER_COLOR_TOKENS },
59176
59179
  variant: { enum: ['filled', 'outlined', 'soft', 'plain'] },
59177
59180
  icon: { type: 'string' },
59178
59181
  tooltip: {
@@ -59192,7 +59195,7 @@ const rendererSchema = {
59192
59195
  properties: {
59193
59196
  text: { type: 'string' },
59194
59197
  textField: { type: 'string' },
59195
- color: { type: 'string' },
59198
+ color: { enum: RENDERER_COLOR_TOKENS },
59196
59199
  variant: { enum: ['filled', 'outlined'] },
59197
59200
  icon: { type: 'string' },
59198
59201
  tooltip: {
@@ -59709,7 +59712,11 @@ const PRAXIS_TABLE_AUTHORING_MANIFEST = {
59709
59712
  renderer: rendererSchema,
59710
59713
  tooltip: tableTooltipSchema,
59711
59714
  animation: tableConditionalAnimationSchema,
59712
- effects: { type: 'array', items: tableVisualRuleEffectSchema },
59715
+ effects: {
59716
+ type: 'array',
59717
+ description: 'Efeitos complementares de estilo, layout, icone ou badge. Nao substituem renderer quando a intencao exige um tipo visual especifico como chip.',
59718
+ items: tableVisualRuleEffectSchema
59719
+ },
59713
59720
  enabled: { type: 'boolean' },
59714
59721
  description: { type: 'string' }
59715
59722
  },
@@ -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-NNfpT0jj.mjs';
3
+ import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-IDepR7JN.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-NNfpT0jj.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-IDepR7JN.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-NNfpT0jj.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-IDepR7JN.mjs';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "9.0.0-beta.86",
3
+ "version": "9.0.0-beta.88",
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.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",
9
+ "@praxisui/ai": "^9.0.0-beta.88",
10
+ "@praxisui/core": "^9.0.0-beta.88",
11
+ "@praxisui/dynamic-fields": "^9.0.0-beta.88",
12
+ "@praxisui/dynamic-form": "^9.0.0-beta.88",
13
+ "@praxisui/metadata-editor": "^9.0.0-beta.88",
14
+ "@praxisui/rich-content": "^9.0.0-beta.88",
15
+ "@praxisui/settings-panel": "^9.0.0-beta.88",
16
+ "@praxisui/table-rule-builder": "^9.0.0-beta.88",
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.86",
21
+ "@praxisui/dialog": "^9.0.0-beta.88",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {