@praxisui/table 9.0.0-beta.90 → 9.0.0-rc.2
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 +225 -216
- package/fesm2022/{praxisui-table-praxisui-table-CWBFPs1H.mjs → praxisui-table-praxisui-table-eK40cyyN.mjs} +24 -6
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-BLNUMwu5.mjs → praxisui-table-table-agentic-authoring-turn-flow-DKPJIb9N.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-CeH1iTVt.mjs → praxisui-table-table-ai.adapter-CpjF1ioP.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +1 -1
|
@@ -42552,7 +42552,7 @@ class PraxisTable {
|
|
|
42552
42552
|
if (this.aiAdapter || this.aiAdapterLoadStarted)
|
|
42553
42553
|
return;
|
|
42554
42554
|
this.aiAdapterLoadStarted = true;
|
|
42555
|
-
import('./praxisui-table-table-ai.adapter-
|
|
42555
|
+
import('./praxisui-table-table-ai.adapter-CpjF1ioP.mjs')
|
|
42556
42556
|
.then(({ TableAiAdapter }) => {
|
|
42557
42557
|
if (!this.isAiAssistantEnabled()) {
|
|
42558
42558
|
this.aiAssistantOpenAfterAdapterLoad = false;
|
|
@@ -43298,7 +43298,7 @@ class PraxisTable {
|
|
|
43298
43298
|
initializeAiAssistantController() {
|
|
43299
43299
|
if (!this.aiAdapter || this.aiAssistantController)
|
|
43300
43300
|
return;
|
|
43301
|
-
import('./praxisui-table-table-agentic-authoring-turn-flow-
|
|
43301
|
+
import('./praxisui-table-table-agentic-authoring-turn-flow-DKPJIb9N.mjs')
|
|
43302
43302
|
.then(({ TableAgenticAuthoringTurnFlow }) => {
|
|
43303
43303
|
if (this.aiAssistantController || !this.aiAdapter)
|
|
43304
43304
|
return;
|
|
@@ -59456,7 +59456,7 @@ const rendererSchema = {
|
|
|
59456
59456
|
* Manifesto de authoring canônico para o componente praxis-table.
|
|
59457
59457
|
* Este arquivo define o contrato executável para que agentes de IA editem tabelas.
|
|
59458
59458
|
*
|
|
59459
|
-
* @version 2.2.
|
|
59459
|
+
* @version 2.2.2
|
|
59460
59460
|
* @status COMPLIANT - Alinhado com o contrato v2 e TableConfig canônico.
|
|
59461
59461
|
*/
|
|
59462
59462
|
const PRAXIS_TABLE_AUTHORING_MANIFEST = {
|
|
@@ -59464,7 +59464,7 @@ const PRAXIS_TABLE_AUTHORING_MANIFEST = {
|
|
|
59464
59464
|
componentId: 'praxis-table',
|
|
59465
59465
|
ownerPackage: '@praxisui/table',
|
|
59466
59466
|
configSchemaId: 'TableConfig',
|
|
59467
|
-
manifestVersion: '2.2.
|
|
59467
|
+
manifestVersion: '2.2.2',
|
|
59468
59468
|
runtimeInputs: [
|
|
59469
59469
|
{ name: 'config', type: 'TableConfig', description: 'Configuração completa da tabela' },
|
|
59470
59470
|
{ name: 'data', type: 'any[]', description: 'Dados a serem exibidos (modo client-side)' },
|
|
@@ -59811,7 +59811,13 @@ const PRAXIS_TABLE_AUTHORING_MANIFEST = {
|
|
|
59811
59811
|
target: { kind: 'renderer', resolver: 'renderer-in-column', ambiguityPolicy: 'fail', required: true },
|
|
59812
59812
|
inputSchema: rendererSchema,
|
|
59813
59813
|
effects: [{ kind: 'merge-object', path: 'columns[].renderer' }],
|
|
59814
|
-
validators: [
|
|
59814
|
+
validators: [
|
|
59815
|
+
'target-column-exists',
|
|
59816
|
+
'renderer-type-supported',
|
|
59817
|
+
'renderer-config-match',
|
|
59818
|
+
'renderer-fields-exist',
|
|
59819
|
+
'editor-round-trip-preserve'
|
|
59820
|
+
],
|
|
59815
59821
|
affectedPaths: ['columns[].renderer'],
|
|
59816
59822
|
submissionImpact: 'visual-only',
|
|
59817
59823
|
preconditions: ['config-initialized', 'target-exists']
|
|
@@ -59870,6 +59876,7 @@ const PRAXIS_TABLE_AUTHORING_MANIFEST = {
|
|
|
59870
59876
|
'renderer-compose-item-exists',
|
|
59871
59877
|
'renderer-type-supported',
|
|
59872
59878
|
'renderer-config-match',
|
|
59879
|
+
'renderer-fields-exist',
|
|
59873
59880
|
'editor-round-trip-preserve'
|
|
59874
59881
|
],
|
|
59875
59882
|
affectedPaths: ['columns[].renderer.compose.items[]'],
|
|
@@ -59902,7 +59909,12 @@ const PRAXIS_TABLE_AUTHORING_MANIFEST = {
|
|
|
59902
59909
|
anyOf: [{ required: ['renderer'] }, { required: ['tooltip'] }, { required: ['animation'] }, { required: ['effects'] }]
|
|
59903
59910
|
},
|
|
59904
59911
|
effects: [{ kind: 'append-unique', path: 'columns[].conditionalRenderers[]', key: 'id' }],
|
|
59905
|
-
validators: [
|
|
59912
|
+
validators: [
|
|
59913
|
+
'target-column-exists',
|
|
59914
|
+
'computed-expression-valid',
|
|
59915
|
+
'renderer-config-match',
|
|
59916
|
+
'renderer-fields-exist'
|
|
59917
|
+
],
|
|
59906
59918
|
affectedPaths: [
|
|
59907
59919
|
'columns[].conditionalRenderers[]',
|
|
59908
59920
|
'columns[].conditionalRenderers[].tooltip',
|
|
@@ -60975,6 +60987,12 @@ const PRAXIS_TABLE_AUTHORING_MANIFEST = {
|
|
|
60975
60987
|
code: 'TB004',
|
|
60976
60988
|
description: 'A configuração do renderizador deve corresponder ao tipo selecionado.'
|
|
60977
60989
|
},
|
|
60990
|
+
{
|
|
60991
|
+
validatorId: 'renderer-fields-exist',
|
|
60992
|
+
level: 'error',
|
|
60993
|
+
code: 'TB023',
|
|
60994
|
+
description: 'Todos os campos referenciados pelo renderizador devem existir na configuração atual da tabela.'
|
|
60995
|
+
},
|
|
60978
60996
|
{
|
|
60979
60997
|
validatorId: 'renderer-compose-exists',
|
|
60980
60998
|
level: 'error',
|
|
@@ -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-eK40cyyN.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-eK40cyyN.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-eK40cyyN.mjs';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "9.0.0-
|
|
3
|
+
"version": "9.0.0-rc.2",
|
|
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-
|
|
10
|
-
"@praxisui/core": "^9.0.0-
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.0-
|
|
12
|
-
"@praxisui/dynamic-form": "^9.0.0-
|
|
13
|
-
"@praxisui/metadata-editor": "^9.0.0-
|
|
14
|
-
"@praxisui/rich-content": "^9.0.0-
|
|
15
|
-
"@praxisui/settings-panel": "^9.0.0-
|
|
16
|
-
"@praxisui/table-rule-builder": "^9.0.0-
|
|
9
|
+
"@praxisui/ai": "^9.0.0-rc.2",
|
|
10
|
+
"@praxisui/core": "^9.0.0-rc.2",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-rc.2",
|
|
12
|
+
"@praxisui/dynamic-form": "^9.0.0-rc.2",
|
|
13
|
+
"@praxisui/metadata-editor": "^9.0.0-rc.2",
|
|
14
|
+
"@praxisui/rich-content": "^9.0.0-rc.2",
|
|
15
|
+
"@praxisui/settings-panel": "^9.0.0-rc.2",
|
|
16
|
+
"@praxisui/table-rule-builder": "^9.0.0-rc.2",
|
|
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-
|
|
21
|
+
"@praxisui/dialog": "^9.0.0-rc.2",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -4225,7 +4225,7 @@ declare function serializeTableAuthoringDocument(doc: TableAuthoringDocument): u
|
|
|
4225
4225
|
* Manifesto de authoring canônico para o componente praxis-table.
|
|
4226
4226
|
* Este arquivo define o contrato executável para que agentes de IA editem tabelas.
|
|
4227
4227
|
*
|
|
4228
|
-
* @version 2.2.
|
|
4228
|
+
* @version 2.2.2
|
|
4229
4229
|
* @status COMPLIANT - Alinhado com o contrato v2 e TableConfig canônico.
|
|
4230
4230
|
*/
|
|
4231
4231
|
declare const PRAXIS_TABLE_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|