@praxisui/table 9.0.4-rc.2 → 9.0.4-rc.21

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 { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-D2KDWKwk.mjs';
3
+ import { ad as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-CMgJAkPF.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-D2KDWKwk.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-CMgJAkPF.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-D2KDWKwk.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-CMgJAkPF.mjs';
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@praxisui/table",
3
- "version": "9.0.4-rc.2",
3
+ "version": "9.0.4-rc.21",
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.2",
10
- "@praxisui/core": "^9.0.4-rc.2",
11
- "@praxisui/dynamic-fields": "^9.0.4-rc.2",
12
- "@praxisui/dynamic-form": "^9.0.4-rc.2",
13
- "@praxisui/metadata-editor": "^9.0.4-rc.2",
14
- "@praxisui/rich-content": "^9.0.4-rc.2",
15
- "@praxisui/settings-panel": "^9.0.4-rc.2",
16
- "@praxisui/table-rule-builder": "^9.0.4-rc.2",
9
+ "@praxisui/ai": "^9.0.4-rc.21",
10
+ "@praxisui/core": "^9.0.4-rc.21",
11
+ "@praxisui/dynamic-fields": "^9.0.4-rc.21",
12
+ "@praxisui/dynamic-form": "^9.0.4-rc.21",
13
+ "@praxisui/metadata-editor": "^9.0.4-rc.21",
14
+ "@praxisui/rich-content": "^9.0.4-rc.21",
15
+ "@praxisui/settings-panel": "^9.0.4-rc.21",
16
+ "@praxisui/table-rule-builder": "^9.0.4-rc.21",
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.2",
21
+ "@praxisui/dialog": "^9.0.4-rc.21",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -8,6 +8,7 @@ import { MatTable, MatTableDataSource } from '@angular/material/table';
8
8
  import * as _angular_material_paginator from '@angular/material/paginator';
9
9
  import { MatPaginatorSelectConfig, MatPaginator, PageEvent } from '@angular/material/paginator';
10
10
  import { MatSort, Sort } from '@angular/material/sort';
11
+ import { MatMenuTrigger } from '@angular/material/menu';
11
12
  import { MatSnackBar } from '@angular/material/snack-bar';
12
13
  import { SelectionModel } from '@angular/cdk/collections';
13
14
  import { CdkDragDrop, CdkDragEnd, CdkDrag, CdkDropList } from '@angular/cdk/drag-drop';
@@ -46,6 +47,7 @@ declare class PraxisTableToolbar implements OnDestroy {
46
47
  private i18n?;
47
48
  private defaultAppearance?;
48
49
  private tokenPresets?;
50
+ activeOverflowMenuTrigger?: MatMenuTrigger;
49
51
  config?: TableConfig;
50
52
  appearance?: TableToolbarAppearanceConfig | null;
51
53
  backgroundColor: string | null;
@@ -131,6 +133,7 @@ declare class PraxisTableToolbar implements OnDestroy {
131
133
  private getLogger;
132
134
  private warnLog;
133
135
  emitToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
136
+ emitOverflowToolbarAction(event: Event, action: string, actionConfig?: ToolbarAction$1): void;
134
137
  getStartActions(): any[];
135
138
  getNonStartActions(): any[];
136
139
  getOverflowActions(): any[];
@@ -768,6 +771,13 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
768
771
  private loadSchemaViaClient;
769
772
  private loadSchemaViaCrudFallback;
770
773
  loadSchema(): void;
774
+ /**
775
+ * A Dynamic Page may finish binding resource identity while an earlier schema
776
+ * request is still in flight. Discarding that response must also release the
777
+ * loading state and start a request for the effective context; otherwise the
778
+ * advanced-filter affordance remains permanently busy.
779
+ */
780
+ private restartSchemaLoadForCurrentContext;
771
781
  retrySchemaLoad(): void;
772
782
  private applySchemaMetas;
773
783
  private applySchemaMetasNow;
@@ -1141,6 +1151,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1141
1151
  private route?;
1142
1152
  private logger?;
1143
1153
  private analyticsStatsApi?;
1154
+ activeRowOverflowMenuTrigger?: MatMenuTrigger;
1155
+ private openingRowActions;
1144
1156
  private static readonly CELL_ANIMATION_CHANGE_CACHE_LIMIT;
1145
1157
  private static readonly AI_SELECTION_ROW_LIMIT;
1146
1158
  private static readonly AI_SELECTION_ID_LIMIT;
@@ -1150,6 +1162,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1150
1162
  private static readonly ROW_DISCOVERY_CACHE_LIMIT;
1151
1163
  private static readonly ROW_DISCOVERY_MAX_CONCURRENT_REQUESTS;
1152
1164
  private _resourceDiscovery?;
1165
+ private _resourceActionOpenAdapter?;
1153
1166
  private _resourceSurfaceOpenAdapter?;
1154
1167
  private _crudOperationResolver?;
1155
1168
  private readonly runtimeObservationRegistry;
@@ -1310,6 +1323,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1310
1323
  shouldShowToolbarBottomPlacement(): boolean;
1311
1324
  shouldRenderFooterToolbar(): boolean;
1312
1325
  hasTopToolbarStack(): boolean;
1326
+ hasBottomTableStack(): boolean;
1313
1327
  shouldShowFooterToolbarMain(): boolean;
1314
1328
  shouldShowFooterToolbarEndActions(): boolean;
1315
1329
  getToolbarActionsPosition(): 'top' | 'bottom' | 'both';
@@ -1388,6 +1402,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1388
1402
  shouldRenderAdvancedFilter(): boolean;
1389
1403
  getAdvancedFilterResourcePath(): string;
1390
1404
  getAdvancedFilterPersistenceKey(): string;
1405
+ getAdvancedFilterFormId(): string;
1406
+ getAdvancedFilterOpenMode(): 'modal' | 'drawer';
1391
1407
  getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
1392
1408
  getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
1393
1409
  getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
@@ -1518,6 +1534,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1518
1534
  private updateCollectionLinks;
1519
1535
  private resolveCollectionCapabilitiesHref;
1520
1536
  private materializeCollectionCreateToolbarAction;
1537
+ private materializeCollectionWorkflowToolbarActions;
1521
1538
  private ensureToolbarConfigForRuntime;
1522
1539
  private buildCollectionCreateToolbarAction;
1523
1540
  private resolveCollectionCreateRuntime;
@@ -1536,6 +1553,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1536
1553
  constructor(cdr: ChangeDetectorRef, settingsPanel: SettingsPanelService, crudService: GenericCrudService<any, any>, tableDefaultsProvider: TableDefaultsProvider, filterConfig: FilterConfigService, formattingService: DataFormattingService, pxDialog: PraxisDialog, snackBar: MatSnackBar, asyncConfigStorage: AsyncConfigStorage, connectionStorage: ConnectionStorage, hostRef: ElementRef<HTMLElement>, global: GlobalConfigService, injector: Injector, componentKeys: ComponentKeyService, loadingOrchestrator: LoadingOrchestrator, globalActions: GlobalActionService, enterpriseRuntimeContext?: EnterpriseRuntimeContextService | undefined, loadingRenderer?: PraxisLoadingRenderer | undefined, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined, analyticsStatsApi?: AnalyticsTableStatsApiService | undefined);
1537
1554
  private get resourceDiscovery();
1538
1555
  private get resourceSurfaceOpenAdapter();
1556
+ private get resourceActionOpenAdapter();
1539
1557
  private get crudOperationResolver();
1540
1558
  private ensureAiAdapterLoaded;
1541
1559
  openAiAssistant(): void;
@@ -1828,11 +1846,19 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1828
1846
  private applyExpansionCollapsePolicy;
1829
1847
  onRowDoubleClicked(row: any, index: number): void;
1830
1848
  onRowAction(action: string, row: any, event: RowActionTriggerEvent, runtimeOptions?: RowActionRuntimeOptions): void;
1849
+ onOverflowRowAction(action: string, row: any, event: RowActionTriggerEvent, runtimeOptions?: RowActionRuntimeOptions): void;
1831
1850
  private resolveRowActionRuntimeOptions;
1832
1851
  private emitRowActionEvent;
1833
1852
  private showConfirmDialog;
1853
+ isRowActionOpening(action: string | RuntimeRowAction, row: any): boolean;
1854
+ private dispatchRowActionWithOpening;
1855
+ private getOpeningRowActions;
1834
1856
  private executeDeleteAction;
1835
1857
  private dispatchRowAction;
1858
+ private groundRowActionConfigForDispatch;
1859
+ private isResourceActionCatalogItem;
1860
+ private openResourceWorkflowAction;
1861
+ private applyWorkflowActionRefresh;
1836
1862
  private cloneForEmit;
1837
1863
  private interpolateActionMessageTemplate;
1838
1864
  private buildActionFeedbackContext;
@@ -1856,6 +1882,13 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
1856
1882
  actionConfig?: ToolbarAction$1;
1857
1883
  }): Promise<void>;
1858
1884
  private hasValidToolbarTargetSelection;
1885
+ private tryHandleCollectionWorkflowToolbarAction;
1886
+ private openCollectionWorkflowAction;
1887
+ private bindWorkflowSurfaceOutcome;
1888
+ private handleWorkflowSurfaceFailure;
1889
+ private applyCollectionWorkflowOutcome;
1890
+ private unwrapCollectionWorkflowResult;
1891
+ private showCollectionWorkflowContractError;
1859
1892
  private tryHandleCollectionCreateToolbarAction;
1860
1893
  private resolveBulkExportFormat;
1861
1894
  private isBulkExportActionKey;