@praxisui/table 9.0.4-rc.6 → 9.0.4-rc.7

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,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-08-02T02:22:50.306Z",
3
+ "generatedAt": "2026-08-02T02:54:19.460Z",
4
4
  "packageName": "@praxisui/table",
5
- "packageVersion": "9.0.4-rc.6",
5
+ "packageVersion": "9.0.4-rc.7",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 3,
@@ -43643,7 +43643,7 @@ class PraxisTable {
43643
43643
  if (this.aiAdapter || this.aiAdapterLoadStarted)
43644
43644
  return;
43645
43645
  this.aiAdapterLoadStarted = true;
43646
- import('./praxisui-table-table-ai.adapter-DxoKgP62.mjs')
43646
+ import('./praxisui-table-table-ai.adapter-Nk2Ha6Qc.mjs')
43647
43647
  .then(({ TableAiAdapter }) => {
43648
43648
  if (!this.isAiAssistantEnabled()) {
43649
43649
  this.aiAssistantOpenAfterAdapterLoad = false;
@@ -44389,7 +44389,7 @@ class PraxisTable {
44389
44389
  initializeAiAssistantController() {
44390
44390
  if (!this.aiAdapter || this.aiAssistantController)
44391
44391
  return;
44392
- import('./praxisui-table-table-agentic-authoring-turn-flow-DlUfB4Ia.mjs')
44392
+ import('./praxisui-table-table-agentic-authoring-turn-flow-CeJX5SUj.mjs')
44393
44393
  .then(({ TableAgenticAuthoringTurnFlow }) => {
44394
44394
  if (this.aiAssistantController || !this.aiAdapter)
44395
44395
  return;
@@ -48842,7 +48842,7 @@ class PraxisTable {
48842
48842
  });
48843
48843
  }
48844
48844
  async dispatchRowAction(action, row, runtimeOptions, extra) {
48845
- const actionConfig = runtimeOptions?.actionConfig;
48845
+ const actionConfig = await this.groundRowActionConfigForDispatch(action, row, runtimeOptions?.actionConfig);
48846
48846
  if (this.isResourceActionCatalogItem(actionConfig)) {
48847
48847
  await this.openResourceWorkflowAction(actionConfig, row);
48848
48848
  return;
@@ -48878,6 +48878,43 @@ class PraxisTable {
48878
48878
  }
48879
48879
  this.emitRowActionEvent(action, row, runtimeOptions, extra);
48880
48880
  }
48881
+ async groundRowActionConfigForDispatch(actionId, row, actionConfig) {
48882
+ if (this.isResourceActionCatalogItem(actionConfig)
48883
+ || this.isResourceSurfaceCatalogItem(actionConfig)
48884
+ || !this.hasRowContextualDiscoveryEntryPointRaw(row)) {
48885
+ return actionConfig;
48886
+ }
48887
+ const rowLinks = this.getRowLinks(row);
48888
+ if (!rowLinks) {
48889
+ return actionConfig;
48890
+ }
48891
+ this.ensureRowDiscovery(row, 'row-action');
48892
+ const pending = [];
48893
+ const actionsHref = this.resolveRowDiscoveryHref(rowLinks, 'actions');
48894
+ const capabilitiesHref = this.resolveRowDiscoveryHref(rowLinks, 'capabilities');
48895
+ if (actionsHref) {
48896
+ const request = this.rowActionInFlightByHref.get(actionsHref);
48897
+ if (request)
48898
+ pending.push(request);
48899
+ }
48900
+ if (capabilitiesHref) {
48901
+ const request = this.rowCapabilityInFlightByHref.get(capabilitiesHref);
48902
+ if (request)
48903
+ pending.push(request);
48904
+ }
48905
+ if (pending.length) {
48906
+ await Promise.allSettled(pending);
48907
+ }
48908
+ if (row && typeof row === 'object') {
48909
+ this.rowContextRuntimeByRef.delete(row);
48910
+ }
48911
+ const normalizedId = this.normalizeActionId({ id: actionId, action: actionId });
48912
+ const grounded = this.buildResolvedRowActions(row).find((candidate) => this.normalizeActionId(candidate) === normalizedId);
48913
+ return grounded?.__praxisDiscoveredAction
48914
+ || grounded?.__praxisDiscoveredSurface
48915
+ || grounded?.__praxisCrudOperation
48916
+ || actionConfig;
48917
+ }
48881
48918
  isResourceActionCatalogItem(value) {
48882
48919
  if (!value || typeof value !== 'object' || Array.isArray(value)) {
48883
48920
  return false;
@@ -53244,8 +53281,8 @@ class PraxisTable {
53244
53281
  return this.rowActionCatalogByHref.get(href) || null;
53245
53282
  }
53246
53283
  shouldUseRowDiscovery() {
53247
- const rowActionDiscoveryEnabled = this.config.actions?.row?.discovery?.enabled !== false;
53248
- if (this.config.actions?.row?.enabled === true && rowActionDiscoveryEnabled) {
53284
+ const rowActionDiscoveryEnabled = this.config?.actions?.row?.discovery?.enabled !== false;
53285
+ if (this.config?.actions?.row?.enabled === true && rowActionDiscoveryEnabled) {
53249
53286
  return true;
53250
53287
  }
53251
53288
  const expansionMode = String((this.getExpansionConfig()?.detail?.source || {}).mode || '')
@@ -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-CHCOPGiS.mjs';
3
+ import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-yvAGe6_R.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-CHCOPGiS.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-yvAGe6_R.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-CHCOPGiS.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-yvAGe6_R.mjs';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "9.0.4-rc.6",
3
+ "version": "9.0.4-rc.7",
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.4-rc.6",
10
- "@praxisui/core": "^9.0.4-rc.6",
11
- "@praxisui/dynamic-fields": "^9.0.4-rc.6",
12
- "@praxisui/dynamic-form": "^9.0.4-rc.6",
13
- "@praxisui/metadata-editor": "^9.0.4-rc.6",
14
- "@praxisui/rich-content": "^9.0.4-rc.6",
15
- "@praxisui/settings-panel": "^9.0.4-rc.6",
16
- "@praxisui/table-rule-builder": "^9.0.4-rc.6",
9
+ "@praxisui/ai": "^9.0.4-rc.7",
10
+ "@praxisui/core": "^9.0.4-rc.7",
11
+ "@praxisui/dynamic-fields": "^9.0.4-rc.7",
12
+ "@praxisui/dynamic-form": "^9.0.4-rc.7",
13
+ "@praxisui/metadata-editor": "^9.0.4-rc.7",
14
+ "@praxisui/rich-content": "^9.0.4-rc.7",
15
+ "@praxisui/settings-panel": "^9.0.4-rc.7",
16
+ "@praxisui/table-rule-builder": "^9.0.4-rc.7",
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.4-rc.6",
21
+ "@praxisui/dialog": "^9.0.4-rc.7",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -1845,6 +1845,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1845
1845
  private showConfirmDialog;
1846
1846
  private executeDeleteAction;
1847
1847
  private dispatchRowAction;
1848
+ private groundRowActionConfigForDispatch;
1848
1849
  private isResourceActionCatalogItem;
1849
1850
  private openResourceWorkflowAction;
1850
1851
  private applyWorkflowActionRefresh;