@praxisui/table 10.0.0-rc.40 → 10.0.0-rc.42

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 { aw as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-vjpONc0b.mjs';
3
+ import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-DQZySZjy.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 { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-vjpONc0b.mjs';
4
+ import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-DQZySZjy.mjs';
5
5
 
6
6
  const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
7
7
  mode: 'expression',
@@ -1,2 +1,2 @@
1
- export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, aq as projectTablePageEditorChanges, ar as providePraxisAnalyticalDrawerSchemas, as as providePraxisFilterMetadata, at as providePraxisTableMetadata, au as providePraxisTableToolbarAppearance, av as serializeTableAuthoringDocument, ax as toCanonicalTableConfig, ay as validateTableAuthoringDocument, az as validateTablePageWidget } from './praxisui-table-praxisui-table-vjpONc0b.mjs';
1
+ export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-DQZySZjy.mjs';
2
2
  export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "10.0.0-rc.40",
3
+ "version": "10.0.0-rc.42",
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": "^10.0.0-rc.40",
10
- "@praxisui/core": "^10.0.0-rc.40",
11
- "@praxisui/dynamic-fields": "^10.0.0-rc.40",
12
- "@praxisui/dynamic-form": "^10.0.0-rc.40",
13
- "@praxisui/metadata-editor": "^10.0.0-rc.40",
14
- "@praxisui/rich-content": "^10.0.0-rc.40",
15
- "@praxisui/settings-panel": "^10.0.0-rc.40",
16
- "@praxisui/table-rule-builder": "^10.0.0-rc.40",
9
+ "@praxisui/ai": "^10.0.0-rc.42",
10
+ "@praxisui/core": "^10.0.0-rc.42",
11
+ "@praxisui/dynamic-fields": "^10.0.0-rc.42",
12
+ "@praxisui/dynamic-form": "^10.0.0-rc.42",
13
+ "@praxisui/metadata-editor": "^10.0.0-rc.42",
14
+ "@praxisui/rich-content": "^10.0.0-rc.42",
15
+ "@praxisui/settings-panel": "^10.0.0-rc.42",
16
+ "@praxisui/table-rule-builder": "^10.0.0-rc.42",
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": "^10.0.0-rc.40",
21
+ "@praxisui/dialog": "^10.0.0-rc.42",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -366,10 +366,15 @@ Este arquivo foi adaptado para o padrao canonico atual sem remover conteudo tecn
366
366
  | `toolbar.appearance` | object | No | Material 3 fallback | token-contract | Governa preset, variante, densidade, forma, divisores e tokens públicos da toolbar sem alterar a semântica das ações. |
367
367
  | `actions.collection.discovery.enabled` | boolean | No | `true` | collection-action-discovery | Controla se ações de coleção podem ser materializadas por HATEOAS/capabilities. Configure `false` em lookups/seletores para manter consulta remota e somente ações explicitamente declaradas. |
368
368
  | `actions.row.actions[].recordSurface` | object | No | none | `ResourceSurfaceCatalogItem` | Preserva a identidade canônica da superfície relacionada aberta por uma ação de linha, mantendo `actions.row.actions[].id` como identidade do botão. |
369
+ | `actions.row.actions[].quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Habilita abertura de visualização rápida read-only ancorada ao botão da ação de linha (no hover para ações inline e no clique/teclado para ações inline ou no menu de overflow). |
369
370
  | `actions.row.discovery.enabled` | boolean | No | `true` | row-action-discovery | Controla se row actions podem ser enriquecidas por HATEOAS/capabilities. Configure `false` para manter somente ações declaradas em `actions.row.actions[]`. |
370
371
  | `columns[].quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Habilita Quick View governado na célula via `[praxisQuickView]`, resolvendo leitura e ações somente-leitura pelo catálogo do recurso referenciado. |
371
372
  | `columns[].renderer` | object | No | field-type-driven | renderer-contract | Renderers condicionais, payload expr e ações interativas. |
372
373
  | `columns[].renderer.link.quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Sobrescreve ou habilita Quick View específico para o renderer `link` (`hover-only` quando há `href` navegável; `hover-and-click` quando `href` está ausente). |
374
+ | `columns[].renderer.badge.quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Sobrescreve ou habilita Quick View específico para o renderer `badge`. |
375
+ | `columns[].renderer.chip.quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Sobrescreve ou habilita Quick View específico para o renderer `chip`. |
376
+ | `columns[].renderer.icon.quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Sobrescreve ou habilita Quick View específico para o renderer `icon`. |
377
+ | `columns[].renderer.compose.items[].quickView` | `ResourceQuickViewBinding` | No | none | `recordOpen` obrigatório | Habilita Quick View específico para itens individuais (`value`, `link`, `badge`, `chip`, `icon`) dentro de uma célula `compose`. |
373
378
 
374
379
  Quando `actions.row.discovery.enabled` esta ativo e o item publica
375
380
  capabilities CRUD canonicas, `PraxisTable` pode sintetizar entradas
@@ -1311,6 +1316,11 @@ Em `scroll-auto`, o viewport e uma regiao focalizavel por teclado para que o scr
1311
1316
  | `columns[]` | `TableColumnConfig[]` | Yes | `[]` | Active | Definicao de colunas, renderers e regras de exibicao. |
1312
1317
  | `columns[].quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Binding governado de Quick View (`recordOpen`, `detailPresentation?`, `contentRef?`) na celula. |
1313
1318
  | `columns[].renderer.link.quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Override de Quick View no renderer `link` (`hover-only` com `href` valido). |
1319
+ | `columns[].renderer.badge.quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Override de Quick View no renderer `badge`. |
1320
+ | `columns[].renderer.chip.quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Override de Quick View no renderer `chip`. |
1321
+ | `columns[].renderer.icon.quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Override de Quick View no renderer `icon`. |
1322
+ | `columns[].renderer.compose.items[].quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Binding de Quick View por subitem em celulas `compose`. |
1323
+ | `actions.row.actions[].quickView` | `ResourceQuickViewBinding` | No | `undefined` | Active | Binding de Quick View ancorado ao botao da acao de linha. |
1314
1324
  | `behavior` | `TableBehaviorConfig` | No | defaults do runtime | Partial | Inclui paginacao, filtro, selecao e expansao por blocos. |
1315
1325
  | `behavior.filtering.advancedFilters.settings.showAddButton` | `boolean` | No | `true` | Active | Controla a exibicao do botao `+` de adicionar campos rapidos (`alwaysVisibleFields`) na barra do `PraxisFilter` embutido. |
1316
1326
  | `behavior.filtering.advancedFilters.settings.showFilterSettings` | `boolean` | No | `isCustomizationAvailable()` | Active | Controla a exibicao da engrenagem de preferencias do `PraxisFilter` embutido; quando `enableCustomization` esta desabilitado, permanece oculta. |
@@ -984,6 +984,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
984
984
  */
985
985
  private restartSchemaLoadForCurrentContext;
986
986
  retrySchemaLoad(): void;
987
+ private shouldAutoPopulateStandaloneFilterFields;
988
+ private pickDefaultStandaloneFilterMetas;
987
989
  private applySchemaMetas;
988
990
  private applySchemaMetasNow;
989
991
  private withFilterMaterialDesignPolicy;
@@ -1139,6 +1141,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
1139
1141
  private isEntityLookupFilterField;
1140
1142
  private isIncompleteInlineDateRangeValue;
1141
1143
  private isEffectivelyEmptyFilterValue;
1144
+ private projectQueryPayload;
1142
1145
  private syncFormsToDto;
1143
1146
  private updateDisplayedTags;
1144
1147
  private normalizeMode;
@@ -1569,6 +1572,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1569
1572
  private columnRuntimeMutationOperationCounter;
1570
1573
  private latestColumnRuntimeMutationOperationId;
1571
1574
  private persistenceContextEpoch;
1575
+ private schemaPrefsContextEpoch;
1572
1576
  private persistenceContextDestroyed;
1573
1577
  /** Fence delayed work; requests already sent are not retroactively canceled. */
1574
1578
  private persistenceGuard;
@@ -1770,6 +1774,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1770
1774
  getNoDataStatePrimaryAction(): any | null;
1771
1775
  getNoDataStateSecondaryActions(): any[];
1772
1776
  private isAdvancedFiltersEffectivelyEnabled;
1777
+ private hasExplicitAdvancedFiltersDisable;
1778
+ private hasDiscoveredCollectionFilterCapability;
1773
1779
  shouldRenderAdvancedFilter(): boolean;
1774
1780
  getAdvancedFilterResourcePath(): string;
1775
1781
  getAdvancedFilterPersistenceKey(): string;
@@ -1913,6 +1919,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1913
1919
  private shouldExposeToolbar;
1914
1920
  private resolveCollectionDiscoveryOptions;
1915
1921
  private updateCollectionLinks;
1922
+ private syncDiscoveredCollectionFilterToolbarState;
1916
1923
  private resolveCollectionCapabilitiesHref;
1917
1924
  private materializeCollectionCreateToolbarAction;
1918
1925
  private materializeCollectionWorkflowToolbarActions;
@@ -2006,6 +2013,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2006
2013
  private refreshAiAssistantContextAfterSelectionChange;
2007
2014
  private hasAiAssistantSessionState;
2008
2015
  private resolveAiAssistantSessionId;
2016
+ protected aiAssistantShellOwnerKey(): string;
2017
+ protected onAiAssistantShellPromptChange(prompt: string, owner: string): void;
2009
2018
  private resolveAiAssistantOwnerId;
2010
2019
  private runtimeSurfaceInstanceRef;
2011
2020
  private safeRuntimeSurfaceRefSegment;
@@ -2229,6 +2238,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2229
2238
  private getExpansionConfig;
2230
2239
  private getDetailConfig;
2231
2240
  private ensureExpansionDetailPrepared;
2241
+ private resolveEffectiveExpansionSourceMode;
2232
2242
  private resolveExpansionDetailSchemaForRow;
2233
2243
  private resolveExpansionDetailByMode;
2234
2244
  private resolveExpansionDetailInlineSchema;
@@ -2572,6 +2582,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2572
2582
  private toPortableColumnDefinition;
2573
2583
  private arePortableValuesEqual;
2574
2584
  private applySchemaFieldPresentationsToExistingColumns;
2585
+ private applySchemaComposeItemsQuickView;
2575
2586
  private applySchemaFieldPresentation;
2576
2587
  private applySchemaSemanticCellPresentation;
2577
2588
  private resolveSemanticPresentationColor;
@@ -2887,9 +2898,11 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2887
2898
  private asComposeValueItemColumn;
2888
2899
  asItemColumn(base: ColumnDefinition, item: any): any;
2889
2900
  getItemEffectiveType(row: any, column: ColumnDefinition, item: any): any;
2901
+ private hasRowQuickViewSourceIdentity;
2890
2902
  getEffectiveQuickViewBinding(row: any, column: ColumnDefinition): ResourceQuickViewBinding | null;
2891
2903
  getComposeValueQuickViewBinding(row: any, column: ColumnDefinition, item: any): ResourceQuickViewBinding | null;
2892
2904
  getQuickViewEndpointKey(): ApiEndpoint | string | null;
2905
+ getRowActionQuickViewBinding(action: any): ResourceQuickViewBinding | null;
2893
2906
  getQuickViewTriggerAriaLabel(label: string | null | undefined, column?: ColumnDefinition): string;
2894
2907
  private mergeRenderer;
2895
2908
  private hasRenderableColumnOverride;