@praxisui/table 10.0.0-rc.51 → 10.0.0-rc.52

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-11-18T10:31:41.556Z",
3
+ "generatedAt": "2026-11-18T17:22:47.772Z",
4
4
  "packageName": "@praxisui/table",
5
- "packageVersion": "10.0.0-rc.51",
5
+ "packageVersion": "10.0.0-rc.52",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 3,
@@ -12,7 +12,7 @@ import * as i14 from '@angular/material/tooltip';
12
12
  import { MatTooltipModule } from '@angular/material/tooltip';
13
13
  import { PraxisFilterForm } from '@praxisui/dynamic-form';
14
14
  import { PraxisIconButtonComponent } from '@praxisui/core';
15
- import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-BpCO8h4l.mjs';
15
+ import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-BBwRRA0m.mjs';
16
16
 
17
17
  class FilterFormDialogHostComponent {
18
18
  data;
@@ -20342,7 +20342,7 @@ class PraxisFilter {
20342
20342
  this.advancedOpen = true;
20343
20343
  this.saveConfig();
20344
20344
  try {
20345
- const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-C-4lrgNv.mjs');
20345
+ const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-CUQ6-pDZ.mjs');
20346
20346
  const formId = this.formId || this.filterId || 'filter';
20347
20347
  const ref = this.dialog.open(FilterFormDialogHostComponent, {
20348
20348
  width: '780px',
@@ -25512,6 +25512,7 @@ class PraxisTable {
25512
25512
  hostDeclaredAppearanceDensity = false;
25513
25513
  hostDeclaredAppearanceSpacing = false;
25514
25514
  hostDeclaredAppearanceTypography = false;
25515
+ densityOverrodeAppearance = false;
25515
25516
  resolveAppearanceDensity() {
25516
25517
  const configuredDensity = this.config?.appearance?.density;
25517
25518
  const raw = String(configuredDensity || '')
@@ -27404,7 +27405,7 @@ class PraxisTable {
27404
27405
  if (this.aiAdapter || this.aiAdapterLoadStarted)
27405
27406
  return;
27406
27407
  this.aiAdapterLoadStarted = true;
27407
- import('./praxisui-table-table-ai.adapter-D3nv4f_i.mjs')
27408
+ import('./praxisui-table-table-ai.adapter-TFUVk41H.mjs')
27408
27409
  .then(({ TableAiAdapter }) => {
27409
27410
  if (!this.isAiAssistantEnabled()) {
27410
27411
  this.aiAssistantOpenAfterAdapterLoad = false;
@@ -28176,7 +28177,7 @@ class PraxisTable {
28176
28177
  initializeAiAssistantController() {
28177
28178
  if (!this.aiAdapter || this.aiAssistantController)
28178
28179
  return;
28179
- import('./praxisui-table-table-agentic-authoring-turn-flow-DWsHIZ-2.mjs')
28180
+ import('./praxisui-table-table-agentic-authoring-turn-flow-BIgxOVxZ.mjs')
28180
28181
  .then(({ TableAgenticAuthoringTurnFlow }) => {
28181
28182
  if (this.aiAssistantController || !this.aiAdapter)
28182
28183
  return;
@@ -36697,12 +36698,30 @@ class PraxisTable {
36697
36698
  if (this.resolveAppearanceDensity() === density)
36698
36699
  return;
36699
36700
  this.hostDeclaredAppearanceDensity = true;
36701
+ this.densityOverrodeAppearance = true;
36702
+ const prevAppearance = this.config?.appearance || {};
36703
+ const nextAppearance = { ...prevAppearance, density };
36704
+ if (prevAppearance.spacing) {
36705
+ const { cellPadding: _cp, headerPadding: _hp, headerHeight: _hh, ...restSpacing } = prevAppearance.spacing;
36706
+ if (Object.keys(restSpacing).length > 0) {
36707
+ nextAppearance.spacing = restSpacing;
36708
+ }
36709
+ else {
36710
+ delete nextAppearance.spacing;
36711
+ }
36712
+ }
36713
+ if (prevAppearance.typography) {
36714
+ const { fontSize: _fs, headerFontSize: _hfs, ...restTypography } = prevAppearance.typography;
36715
+ if (Object.keys(restTypography).length > 0) {
36716
+ nextAppearance.typography = restTypography;
36717
+ }
36718
+ else {
36719
+ delete nextAppearance.typography;
36720
+ }
36721
+ }
36700
36722
  this.config = {
36701
36723
  ...this.config,
36702
- appearance: {
36703
- ...(this.config?.appearance || {}),
36704
- density,
36705
- },
36724
+ appearance: nextAppearance,
36706
36725
  };
36707
36726
  this.applyAppearanceVariables();
36708
36727
  this.cdr.markForCheck();
@@ -36817,6 +36836,7 @@ class PraxisTable {
36817
36836
  const currPageSize = cfg?.behavior?.pagination?.pageSize ?? 10;
36818
36837
  this.config = { ...cfg };
36819
36838
  this.localPageSizeRuntimeOverride = false;
36839
+ this.densityOverrodeAppearance = false;
36820
36840
  if (currPageSize !== prevPageSize) {
36821
36841
  this.pageIndex = 0;
36822
36842
  }
@@ -45347,7 +45367,8 @@ class PraxisTable {
45347
45367
  }
45348
45368
  el.style.setProperty(name, String(rawValue));
45349
45369
  };
45350
- if (typeof spacing.headerHeight === 'number'
45370
+ if (!this.densityOverrodeAppearance
45371
+ && typeof spacing.headerHeight === 'number'
45351
45372
  && isFinite(spacing.headerHeight)
45352
45373
  && spacing.headerHeight > 0) {
45353
45374
  setOrClearVar('--p-table-header-height-default', `${spacing.headerHeight}px`);
@@ -45357,10 +45378,10 @@ class PraxisTable {
45357
45378
  setOrClearVar('--p-table-header-height-default', null);
45358
45379
  setOrClearVar('--mat-table-header-container-height', null);
45359
45380
  }
45360
- setOrClearVar('--p-cell-padding-default', this.shouldApplyAppearanceDefaultValue('spacing', 'cellPadding', spacing.cellPadding, this.hostDeclaredAppearanceSpacing) ? spacing.cellPadding : null);
45361
- setOrClearVar('--p-cell-font-size-default', this.shouldApplyAppearanceDefaultValue('typography', 'fontSize', typo.fontSize, this.hostDeclaredAppearanceTypography) ? typo.fontSize : null);
45362
- setOrClearVar('--p-header-padding-default', this.shouldApplyAppearanceDefaultValue('spacing', 'headerPadding', spacing.headerPadding, this.hostDeclaredAppearanceSpacing) ? spacing.headerPadding : null);
45363
- setOrClearVar('--p-header-font-size-default', this.shouldApplyAppearanceDefaultValue('typography', 'headerFontSize', typo.headerFontSize, this.hostDeclaredAppearanceTypography) ? typo.headerFontSize : null);
45381
+ setOrClearVar('--p-cell-padding-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('spacing', 'cellPadding', spacing.cellPadding, this.hostDeclaredAppearanceSpacing) ? spacing.cellPadding : null);
45382
+ setOrClearVar('--p-cell-font-size-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('typography', 'fontSize', typo.fontSize, this.hostDeclaredAppearanceTypography) ? typo.fontSize : null);
45383
+ setOrClearVar('--p-header-padding-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('spacing', 'headerPadding', spacing.headerPadding, this.hostDeclaredAppearanceSpacing) ? spacing.headerPadding : null);
45384
+ setOrClearVar('--p-header-font-size-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('typography', 'headerFontSize', typo.headerFontSize, this.hostDeclaredAppearanceTypography) ? typo.headerFontSize : null);
45364
45385
  setOrClearVar('--p-header-font-weight', typo.headerFontWeight);
45365
45386
  setOrClearVar('--p-header-letter-spacing', typo.letterSpacing);
45366
45387
  if (typo.headerCase) {
@@ -1,6 +1,6 @@
1
1
  import { Observable, firstValueFrom } from 'rxjs';
2
2
  import { withAuthoringScopePolicy } from '@praxisui/ai';
3
- import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-BpCO8h4l.mjs';
3
+ import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-BBwRRA0m.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-BpCO8h4l.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-BBwRRA0m.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, 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-BpCO8h4l.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-BBwRRA0m.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.51",
3
+ "version": "10.0.0-rc.52",
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.51",
10
- "@praxisui/core": "^10.0.0-rc.51",
11
- "@praxisui/dynamic-fields": "^10.0.0-rc.51",
12
- "@praxisui/dynamic-form": "^10.0.0-rc.51",
13
- "@praxisui/metadata-editor": "^10.0.0-rc.51",
14
- "@praxisui/rich-content": "^10.0.0-rc.51",
15
- "@praxisui/settings-panel": "^10.0.0-rc.51",
16
- "@praxisui/table-rule-builder": "^10.0.0-rc.51",
9
+ "@praxisui/ai": "^10.0.0-rc.52",
10
+ "@praxisui/core": "^10.0.0-rc.52",
11
+ "@praxisui/dynamic-fields": "^10.0.0-rc.52",
12
+ "@praxisui/dynamic-form": "^10.0.0-rc.52",
13
+ "@praxisui/metadata-editor": "^10.0.0-rc.52",
14
+ "@praxisui/rich-content": "^10.0.0-rc.52",
15
+ "@praxisui/settings-panel": "^10.0.0-rc.52",
16
+ "@praxisui/table-rule-builder": "^10.0.0-rc.52",
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.51",
21
+ "@praxisui/dialog": "^10.0.0-rc.52",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -1832,6 +1832,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1832
1832
  private hostDeclaredAppearanceDensity;
1833
1833
  private hostDeclaredAppearanceSpacing;
1834
1834
  private hostDeclaredAppearanceTypography;
1835
+ private densityOverrodeAppearance;
1835
1836
  resolveAppearanceDensity(): 'compact' | 'comfortable' | 'spacious';
1836
1837
  get hostDensityCompactClass(): boolean;
1837
1838
  get hostDensityComfortableClass(): boolean;