@praxisui/table 9.0.0-beta.65 → 9.0.0-beta.67

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-07-09T19:16:07.213Z",
3
+ "generatedAt": "2026-07-09T21:47:30.990Z",
4
4
  "packageName": "@praxisui/table",
5
- "packageVersion": "9.0.0-beta.65",
5
+ "packageVersion": "9.0.0-beta.67",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 3,
@@ -41860,7 +41860,7 @@ class PraxisTable {
41860
41860
  if (this.aiAdapter || this.aiAdapterLoadStarted)
41861
41861
  return;
41862
41862
  this.aiAdapterLoadStarted = true;
41863
- import('./praxisui-table-table-ai.adapter-l2wfwinc.mjs')
41863
+ import('./praxisui-table-table-ai.adapter-Rr3hpEjl.mjs')
41864
41864
  .then(({ TableAiAdapter }) => {
41865
41865
  if (!this.isAiAssistantEnabled()) {
41866
41866
  this.aiAssistantOpenAfterAdapterLoad = false;
@@ -43218,12 +43218,24 @@ class PraxisTable {
43218
43218
  return value === 'card' || value === 'inline' || value === 'panel' || value === 'transparent';
43219
43219
  }
43220
43220
  mapEmptyStateAction(action) {
43221
+ const toolbarAction = this.resolveMatchingEmptyStateToolbarAction(action.action);
43222
+ const toolbarLabel = typeof toolbarAction?.label === 'string' ? toolbarAction.label.trim() : '';
43223
+ const toolbarIcon = typeof toolbarAction?.icon === 'string' ? toolbarAction.icon.trim() : '';
43221
43224
  return {
43222
- label: action.label,
43223
- icon: action.icon,
43225
+ label: toolbarLabel || action.label,
43226
+ icon: toolbarIcon || action.icon,
43224
43227
  action: () => this.onEmptyStateAction(action.action),
43225
43228
  };
43226
43229
  }
43230
+ resolveMatchingEmptyStateToolbarAction(actionId) {
43231
+ const normalizedActionId = String(actionId || '').trim();
43232
+ if (!normalizedActionId)
43233
+ return null;
43234
+ return (this.config?.toolbar?.actions || []).find((candidate) => {
43235
+ const candidateActionId = this.getActionId(candidate);
43236
+ return candidateActionId === normalizedActionId;
43237
+ }) || null;
43238
+ }
43227
43239
  onEmptyStateAction(actionId) {
43228
43240
  const action = String(actionId || '').trim();
43229
43241
  if (!action)
@@ -54237,10 +54249,12 @@ class PraxisTable {
54237
54249
  const cfg = this.getEffectiveRenderer(row, column)?.chip;
54238
54250
  if (!cfg)
54239
54251
  return null;
54240
- const t = Object.prototype.hasOwnProperty.call(cfg, 'text')
54241
- ? cfg.text
54242
- : cfg.textField ? this.getRendererTextFieldValue(row, column, cfg.textField) : null;
54243
- return this.normalizeRendererText(t);
54252
+ if (Object.prototype.hasOwnProperty.call(cfg, 'text') && cfg.text !== undefined) {
54253
+ return this.normalizeRendererText(cfg.text);
54254
+ }
54255
+ return cfg.textField
54256
+ ? this.normalizeRendererText(this.getRendererTextFieldValue(row, column, cfg.textField))
54257
+ : null;
54244
54258
  }
54245
54259
  getRendererTextFieldValue(row, column, textField) {
54246
54260
  return textField === column.field
@@ -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 { H as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, X as coerceTableComponentEditPlans, Z as compileTableComponentEditPlans, K as TASK_PRESETS, a2 as getTableComponentEditPlanCapabilities, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, G as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-Du0PxQhk.mjs';
4
+ import { H as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, X as coerceTableComponentEditPlans, Z as compileTableComponentEditPlans, K as TASK_PRESETS, a2 as getTableComponentEditPlanCapabilities, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, G as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-BCyWwK7j.mjs';
5
5
 
6
6
  const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
7
7
  mode: 'expression',
@@ -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_APPEARANCE_PRESETS, n as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, o as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, p as PraxisFilter, q as PraxisFilterWidgetConfigEditor, r as PraxisTable, s as PraxisTableConfigEditor, t as PraxisTableInlineAuthoringEditorComponent, u as PraxisTableToolbar, v as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, w as TABLE_COMPONENT_AI_CAPABILITIES, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, G as TABLE_COMPONENT_EDIT_PLAN_KIND, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, K as TASK_PRESETS, L as TableDefaultsProvider, O as TableRulesEditorComponent, Q as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, R as VisualFormulaBuilderComponent, U as buildTableApplyPlan, W as coerceTableComponentEditPlan, X as coerceTableComponentEditPlans, Y as compileTableComponentEditPlan, Z as compileTableComponentEditPlans, _ as createTableAuthoringDocument, $ as getActionId, a0 as getEnum, a1 as getTableCapabilities, a2 as getTableComponentEditPlanCapabilities, a3 as isTableRendererSupportedByRichContentP0, a4 as mapTableRendererToRichContentP0, a5 as normalizeTableAuthoringDocument, a6 as parseLegacyOrTableDocument, a7 as providePraxisFilterMetadata, a8 as providePraxisTableMetadata, a9 as providePraxisTableToolbarAppearance, aa as serializeTableAuthoringDocument, ab as toCanonicalTableConfig, ac as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-Du0PxQhk.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_APPEARANCE_PRESETS, n as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, o as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, p as PraxisFilter, q as PraxisFilterWidgetConfigEditor, r as PraxisTable, s as PraxisTableConfigEditor, t as PraxisTableInlineAuthoringEditorComponent, u as PraxisTableToolbar, v as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, w as TABLE_COMPONENT_AI_CAPABILITIES, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, G as TABLE_COMPONENT_EDIT_PLAN_KIND, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, K as TASK_PRESETS, L as TableDefaultsProvider, O as TableRulesEditorComponent, Q as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, R as VisualFormulaBuilderComponent, U as buildTableApplyPlan, W as coerceTableComponentEditPlan, X as coerceTableComponentEditPlans, Y as compileTableComponentEditPlan, Z as compileTableComponentEditPlans, _ as createTableAuthoringDocument, $ as getActionId, a0 as getEnum, a1 as getTableCapabilities, a2 as getTableComponentEditPlanCapabilities, a3 as isTableRendererSupportedByRichContentP0, a4 as mapTableRendererToRichContentP0, a5 as normalizeTableAuthoringDocument, a6 as parseLegacyOrTableDocument, a7 as providePraxisFilterMetadata, a8 as providePraxisTableMetadata, a9 as providePraxisTableToolbarAppearance, aa as serializeTableAuthoringDocument, ab as toCanonicalTableConfig, ac as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-BCyWwK7j.mjs';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "9.0.0-beta.65",
3
+ "version": "9.0.0-beta.67",
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.65",
10
- "@praxisui/core": "^9.0.0-beta.65",
11
- "@praxisui/dynamic-fields": "^9.0.0-beta.65",
12
- "@praxisui/dynamic-form": "^9.0.0-beta.65",
13
- "@praxisui/metadata-editor": "^9.0.0-beta.65",
14
- "@praxisui/rich-content": "^9.0.0-beta.65",
15
- "@praxisui/settings-panel": "^9.0.0-beta.65",
16
- "@praxisui/table-rule-builder": "^9.0.0-beta.65",
9
+ "@praxisui/ai": "^9.0.0-beta.67",
10
+ "@praxisui/core": "^9.0.0-beta.67",
11
+ "@praxisui/dynamic-fields": "^9.0.0-beta.67",
12
+ "@praxisui/dynamic-form": "^9.0.0-beta.67",
13
+ "@praxisui/metadata-editor": "^9.0.0-beta.67",
14
+ "@praxisui/rich-content": "^9.0.0-beta.67",
15
+ "@praxisui/settings-panel": "^9.0.0-beta.67",
16
+ "@praxisui/table-rule-builder": "^9.0.0-beta.67",
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.65",
21
+ "@praxisui/dialog": "^9.0.0-beta.67",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -1523,6 +1523,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1523
1523
  private isEmptyStateTone;
1524
1524
  private isEmptyStateVariant;
1525
1525
  private mapEmptyStateAction;
1526
+ private resolveMatchingEmptyStateToolbarAction;
1526
1527
  private onEmptyStateAction;
1527
1528
  private buildLoadingContext;
1528
1529
  private beginLoading;