@praxisui/table 10.0.0-rc.17 → 10.0.0-rc.18

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-10-14T22:05:37.957Z",
3
+ "generatedAt": "2026-10-14T22:59:57.823Z",
4
4
  "packageName": "@praxisui/table",
5
- "packageVersion": "10.0.0-rc.17",
5
+ "packageVersion": "10.0.0-rc.18",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 3,
@@ -13819,6 +13819,26 @@ class PraxisFilter {
13819
13819
  if (changes['i18n']) {
13820
13820
  this.mergeI18n();
13821
13821
  }
13822
+ if (changes['enableCustomization']) {
13823
+ if (!this.enableCustomization) {
13824
+ if (this.activeFilterSettingsRef) {
13825
+ try {
13826
+ this.activeFilterSettingsRef.close();
13827
+ }
13828
+ catch { }
13829
+ this.activeFilterSettingsRef = undefined;
13830
+ }
13831
+ if (this.activeFieldEditorRef) {
13832
+ try {
13833
+ this.activeFieldEditorRef.close();
13834
+ }
13835
+ catch { }
13836
+ this.activeFieldEditorRef = undefined;
13837
+ }
13838
+ this.activeEditableFieldName = null;
13839
+ }
13840
+ this.cdr.markForCheck();
13841
+ }
13822
13842
  if (changes['notifyIfOutdated'] ||
13823
13843
  changes['snoozeMs'] ||
13824
13844
  changes['autoOpenSettingsOnOutdated']) {
@@ -13955,6 +13975,8 @@ class PraxisFilter {
13955
13975
  }
13956
13976
  this.cdr.markForCheck();
13957
13977
  }
13978
+ activeFilterSettingsRef;
13979
+ activeFieldEditorRef;
13958
13980
  openSettings() {
13959
13981
  if (this.destroyRef.destroyed)
13960
13982
  return;
@@ -14021,6 +14043,7 @@ class PraxisFilter {
14021
14043
  },
14022
14044
  } },
14023
14045
  });
14046
+ this.activeFilterSettingsRef = ref;
14024
14047
  const applyChanges = (cfg) => {
14025
14048
  this.presentation = cfg.presentation;
14026
14049
  this.alwaysVisibleFields = cfg.alwaysVisibleFields ?? [];
@@ -15992,6 +16015,7 @@ class PraxisFilter {
15992
16015
  });
15993
16016
  if (!ref)
15994
16017
  return;
16018
+ this.activeFieldEditorRef = ref;
15995
16019
  const baselineOverrides = this.cloneFieldMetadataOverrides(this.fieldMetadataOverrides);
15996
16020
  const handlePatch = (patch, persist) => {
15997
16021
  if (!patch)
@@ -23224,7 +23248,7 @@ class PraxisTable {
23224
23248
  if (this.aiAdapter || this.aiAdapterLoadStarted)
23225
23249
  return;
23226
23250
  this.aiAdapterLoadStarted = true;
23227
- import('./praxisui-table-table-ai.adapter-wN02gNyJ.mjs')
23251
+ import('./praxisui-table-table-ai.adapter-z5WUWuqw.mjs')
23228
23252
  .then(({ TableAiAdapter }) => {
23229
23253
  if (!this.isAiAssistantEnabled()) {
23230
23254
  this.aiAssistantOpenAfterAdapterLoad = false;
@@ -23996,7 +24020,7 @@ class PraxisTable {
23996
24020
  initializeAiAssistantController() {
23997
24021
  if (!this.aiAdapter || this.aiAssistantController)
23998
24022
  return;
23999
- import('./praxisui-table-table-agentic-authoring-turn-flow-C3jMNkzA.mjs')
24023
+ import('./praxisui-table-table-agentic-authoring-turn-flow-EStlc402.mjs')
24000
24024
  .then(({ TableAgenticAuthoringTurnFlow }) => {
24001
24025
  if (this.aiAssistantController || !this.aiAdapter)
24002
24026
  return;
@@ -25231,6 +25255,23 @@ class PraxisTable {
25231
25255
  this.applyDataSourceSettings();
25232
25256
  this.applyAppearanceVariables();
25233
25257
  this.scheduleContextualConditionalSurfaceResolution();
25258
+ if (changes['enableCustomization'] || changes['authoringCapability']) {
25259
+ if (!this.isCustomizationAvailable()) {
25260
+ if (this.activeTableSettingsRef) {
25261
+ try {
25262
+ this.activeTableSettingsRef.close();
25263
+ }
25264
+ catch { }
25265
+ this.activeTableSettingsRef = undefined;
25266
+ }
25267
+ this.disableAiAssistantSession();
25268
+ }
25269
+ else if (this.isAiAssistantEnabled()) {
25270
+ this.ensureAiAdapterLoaded();
25271
+ }
25272
+ this.setShowToolbar(this.shouldExposeToolbar(), true);
25273
+ this.cdr.markForCheck();
25274
+ }
25234
25275
  if (changes['notifyIfOutdated'] || changes['snoozeMs'] || changes['autoOpenSettingsOnOutdated']) {
25235
25276
  this.resolveSchemaPrefs();
25236
25277
  }
@@ -40782,6 +40823,13 @@ class PraxisTable {
40782
40823
  });
40783
40824
  }
40784
40825
  ngOnDestroy() {
40826
+ if (this.activeTableSettingsRef) {
40827
+ try {
40828
+ this.activeTableSettingsRef.close();
40829
+ }
40830
+ catch { }
40831
+ this.activeTableSettingsRef = undefined;
40832
+ }
40785
40833
  if (this.loadingIndicatorDelayHandle !== null) {
40786
40834
  clearTimeout(this.loadingIndicatorDelayHandle);
40787
40835
  this.loadingIndicatorDelayHandle = null;
@@ -1,6 +1,6 @@
1
1
  import { Observable, firstValueFrom } from 'rxjs';
2
2
  import { withAuthoringScopePolicy } from '@praxisui/ai';
3
- import { ar as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-BAS3A4Ty.mjs';
3
+ import { ar as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-5YkeOpfU.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, a6 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlans, Y as TASK_PRESETS, ae 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-BAS3A4Ty.mjs';
4
+ import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a6 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlans, Y as TASK_PRESETS, ae 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-5YkeOpfU.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 TASK_PRESETS, Z as TableDefaultsProvider, _ as TableRulesEditorComponent, $ as ToolbarActionsEditorComponent, a0 as ValueMappingEditorComponent, a1 as VisualFormulaBuilderComponent, a2 as analyticsComparisonMetricField, a3 as applyComputedFieldsToRows, a4 as buildTableApplyPlan, a5 as coerceTableComponentEditPlan, a6 as coerceTableComponentEditPlans, a7 as compileTableComponentEditPlan, a8 as compileTableComponentEditPlans, a9 as createTableAuthoringDocument, aa as formatComputedFieldValue, ab as getActionId, ac as getEnum, ad as getTableCapabilities, ae as getTableComponentEditPlanCapabilities, af as interpolateRelationEndpoint, ag as isAnalyticalDrawerSchema, ah as isTableRendererSupportedByRichContentP0, ai as mapTableRendererToRichContentP0, aj as normalizeComputedFieldDefinition, ak as normalizeTableAuthoringDocument, al as parseLegacyOrTableDocument, am as providePraxisAnalyticalDrawerSchemas, an as providePraxisFilterMetadata, ao as providePraxisTableMetadata, ap as providePraxisTableToolbarAppearance, aq as serializeTableAuthoringDocument, as as toCanonicalTableConfig, at as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-BAS3A4Ty.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 TASK_PRESETS, Z as TableDefaultsProvider, _ as TableRulesEditorComponent, $ as ToolbarActionsEditorComponent, a0 as ValueMappingEditorComponent, a1 as VisualFormulaBuilderComponent, a2 as analyticsComparisonMetricField, a3 as applyComputedFieldsToRows, a4 as buildTableApplyPlan, a5 as coerceTableComponentEditPlan, a6 as coerceTableComponentEditPlans, a7 as compileTableComponentEditPlan, a8 as compileTableComponentEditPlans, a9 as createTableAuthoringDocument, aa as formatComputedFieldValue, ab as getActionId, ac as getEnum, ad as getTableCapabilities, ae as getTableComponentEditPlanCapabilities, af as interpolateRelationEndpoint, ag as isAnalyticalDrawerSchema, ah as isTableRendererSupportedByRichContentP0, ai as mapTableRendererToRichContentP0, aj as normalizeComputedFieldDefinition, ak as normalizeTableAuthoringDocument, al as parseLegacyOrTableDocument, am as providePraxisAnalyticalDrawerSchemas, an as providePraxisFilterMetadata, ao as providePraxisTableMetadata, ap as providePraxisTableToolbarAppearance, aq as serializeTableAuthoringDocument, as as toCanonicalTableConfig, at as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-5YkeOpfU.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.17",
3
+ "version": "10.0.0-rc.18",
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.17",
10
- "@praxisui/core": "^10.0.0-rc.17",
11
- "@praxisui/dynamic-fields": "^10.0.0-rc.17",
12
- "@praxisui/dynamic-form": "^10.0.0-rc.17",
13
- "@praxisui/metadata-editor": "^10.0.0-rc.17",
14
- "@praxisui/rich-content": "^10.0.0-rc.17",
15
- "@praxisui/settings-panel": "^10.0.0-rc.17",
16
- "@praxisui/table-rule-builder": "^10.0.0-rc.17",
9
+ "@praxisui/ai": "^10.0.0-rc.18",
10
+ "@praxisui/core": "^10.0.0-rc.18",
11
+ "@praxisui/dynamic-fields": "^10.0.0-rc.18",
12
+ "@praxisui/dynamic-form": "^10.0.0-rc.18",
13
+ "@praxisui/metadata-editor": "^10.0.0-rc.18",
14
+ "@praxisui/rich-content": "^10.0.0-rc.18",
15
+ "@praxisui/settings-panel": "^10.0.0-rc.18",
16
+ "@praxisui/table-rule-builder": "^10.0.0-rc.18",
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.17",
21
+ "@praxisui/dialog": "^10.0.0-rc.18",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -923,6 +923,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
923
923
  private areMetadataOverrideMapsEqual;
924
924
  /** Force-sync settings coming from parent table config updates. */
925
925
  applyExternalSettings(cfg?: Partial<FilterConfig>): void;
926
+ private activeFilterSettingsRef?;
927
+ private activeFieldEditorRef?;
926
928
  openSettings(): void;
927
929
  createTag(label?: string): void;
928
930
  renameTag(tag: FilterTag, label?: string): void;