@praxisui/table 10.0.0-rc.60 → 10.0.0-rc.62
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.
- package/README.md +843 -836
- package/ai/component-registry.json +26 -4
- package/fesm2022/praxisui-table-authoring.mjs +9 -3
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-DPaKsMcg.mjs → praxisui-table-filter-form-dialog-host.component-DfOXx5lp.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-CHacLhR0.mjs → praxisui-table-praxisui-table-PvwtPvhN.mjs} +516 -135
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-sc4M8KE9.mjs → praxisui-table-table-agentic-authoring-turn-flow-DgbfJI3k.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-lUYWL7AN.mjs → praxisui-table-table-ai.adapter-DWR_lxPJ.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +22 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import { az as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-
|
|
3
|
+
import { az as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-PvwtPvhN.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, a8 as coerceTableComponentEditPlans, aa as compileTableComponentEditPlans, Z as TASK_PRESETS, ai 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-
|
|
4
|
+
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a8 as coerceTableComponentEditPlans, aa as compileTableComponentEditPlans, Z as TASK_PRESETS, ai 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-PvwtPvhN.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 attachAnalyticsTableRowMetadata, a6 as buildTableApplyPlan, a7 as coerceTableComponentEditPlan, a8 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlan, aa as compileTableComponentEditPlans, ab as createTableAuthoringDocument, ac as decodeTablePageInputs, ad as encodeTablePageInputs, ae as formatComputedFieldValue, af as getActionId, ag as getEnum, ah as getTableCapabilities, ai as getTableComponentEditPlanCapabilities, aj as interpolateRelationEndpoint, ak as isAnalyticalDrawerSchema, al as isTableRendererSupportedByRichContentP0, am as mapTableRendererToRichContentP0, an as materializeTablePageRuntimeInputs, ao as normalizeComputedFieldDefinition, ap as normalizeTableAuthoringDocument, aq as parseLegacyOrTableDocument, as as projectTablePageEditorChanges, at as providePraxisAnalyticalDrawerSchemas, au as providePraxisFilterMetadata, av as providePraxisTableMetadata, aw as providePraxisTableToolbarAppearance, ax as readAnalyticsTableRowMetadata, ay as serializeTableAuthoringDocument, aA as toCanonicalTableConfig, aB as validateTableAuthoringDocument, aC as validateTablePageWidget } from './praxisui-table-praxisui-table-
|
|
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 attachAnalyticsTableRowMetadata, a6 as buildTableApplyPlan, a7 as coerceTableComponentEditPlan, a8 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlan, aa as compileTableComponentEditPlans, ab as createTableAuthoringDocument, ac as decodeTablePageInputs, ad as encodeTablePageInputs, ae as formatComputedFieldValue, af as getActionId, ag as getEnum, ah as getTableCapabilities, ai as getTableComponentEditPlanCapabilities, aj as interpolateRelationEndpoint, ak as isAnalyticalDrawerSchema, al as isTableRendererSupportedByRichContentP0, am as mapTableRendererToRichContentP0, an as materializeTablePageRuntimeInputs, ao as normalizeComputedFieldDefinition, ap as normalizeTableAuthoringDocument, aq as parseLegacyOrTableDocument, as as projectTablePageEditorChanges, at as providePraxisAnalyticalDrawerSchemas, au as providePraxisFilterMetadata, av as providePraxisTableMetadata, aw as providePraxisTableToolbarAppearance, ax as readAnalyticsTableRowMetadata, ay as serializeTableAuthoringDocument, aA as toCanonicalTableConfig, aB as validateTableAuthoringDocument, aC as validateTablePageWidget } from './praxisui-table-praxisui-table-PvwtPvhN.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.
|
|
3
|
+
"version": "10.0.0-rc.62",
|
|
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.
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/ai": "^10.0.0-rc.62",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.62",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.62",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.62",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.62",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.62",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.62",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.62",
|
|
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.
|
|
21
|
+
"@praxisui/dialog": "^10.0.0-rc.62",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -1455,6 +1455,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1455
1455
|
private route?;
|
|
1456
1456
|
private logger?;
|
|
1457
1457
|
private analyticsStatsApi?;
|
|
1458
|
+
private readonly destroyRef;
|
|
1458
1459
|
private readonly microTooltipOverlay;
|
|
1459
1460
|
private readonly microTooltipHostRef;
|
|
1460
1461
|
private readonly microTooltipCleanup;
|
|
@@ -1512,7 +1513,9 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1512
1513
|
data: any[] | null;
|
|
1513
1514
|
tableId: string;
|
|
1514
1515
|
componentInstanceId?: string;
|
|
1515
|
-
|
|
1516
|
+
private _configPersistenceStrategy;
|
|
1517
|
+
set configPersistenceStrategy(value: TableConfigPersistenceStrategy | 'storage-first');
|
|
1518
|
+
get configPersistenceStrategy(): TableConfigPersistenceStrategy;
|
|
1516
1519
|
title: string;
|
|
1517
1520
|
subtitle: string;
|
|
1518
1521
|
icon: string;
|
|
@@ -6539,9 +6542,12 @@ declare function interpolateRelationEndpoint(endpoint: string, row: Record<strin
|
|
|
6539
6542
|
url: string;
|
|
6540
6543
|
hasMissingTokens: boolean;
|
|
6541
6544
|
};
|
|
6542
|
-
declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDestroy {
|
|
6545
|
+
declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
6543
6546
|
private _isOpen;
|
|
6544
6547
|
private previousActiveElement;
|
|
6548
|
+
private hostTokenObserver;
|
|
6549
|
+
private static readonly PORTAL_FORWARDED_TOKENS;
|
|
6550
|
+
private lastMirroredTokens;
|
|
6545
6551
|
handleDocumentEscape(event?: Event): void;
|
|
6546
6552
|
handleDocumentSteppingKeydown(event: KeyboardEvent): void;
|
|
6547
6553
|
set isOpen(value: boolean);
|
|
@@ -6617,8 +6623,13 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6617
6623
|
private readonly runtimeContext;
|
|
6618
6624
|
private readonly sanitizer;
|
|
6619
6625
|
private readonly formattingService;
|
|
6626
|
+
private drawerPortal?;
|
|
6620
6627
|
private readonly hostRef;
|
|
6628
|
+
private readonly overlay;
|
|
6629
|
+
private readonly viewContainerRef;
|
|
6630
|
+
private overlayRef;
|
|
6621
6631
|
private readonly microTooltipOverlay;
|
|
6632
|
+
private readonly layerScale;
|
|
6622
6633
|
private readonly decisionInspector;
|
|
6623
6634
|
private readonly assistantLaunch;
|
|
6624
6635
|
private readonly i18n;
|
|
@@ -6648,8 +6659,14 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6648
6659
|
private getContextScopePrefix;
|
|
6649
6660
|
private resolveUrl;
|
|
6650
6661
|
ngOnInit(): void;
|
|
6662
|
+
ngAfterViewInit(): void;
|
|
6651
6663
|
ngOnChanges(changes: SimpleChanges): void;
|
|
6652
6664
|
ngOnDestroy(): void;
|
|
6665
|
+
private resolveDrawerContainerElement;
|
|
6666
|
+
private syncOverlayState;
|
|
6667
|
+
private disposeOverlay;
|
|
6668
|
+
private hasHigherActiveOverlay;
|
|
6669
|
+
private syncOverlayHostTokens;
|
|
6653
6670
|
protected onMicroVizPointerOver(event: Event): void;
|
|
6654
6671
|
protected onMicroVizPointerOut(event: Event): void;
|
|
6655
6672
|
protected onMicroVizFocusIn(event: Event): void;
|
|
@@ -6661,7 +6678,9 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, OnChanges, OnDe
|
|
|
6661
6678
|
private shouldHydrateRemoteCalculationMemory;
|
|
6662
6679
|
private hasCalculationMemoryConfigured;
|
|
6663
6680
|
private mergeRemoteCalculationMemory;
|
|
6664
|
-
protected onClose(
|
|
6681
|
+
protected onClose(options?: {
|
|
6682
|
+
restoreFocus?: boolean;
|
|
6683
|
+
}): void;
|
|
6665
6684
|
protected onBackdropClick(event: MouseEvent): void;
|
|
6666
6685
|
protected readonly totalRowsCount: _angular_core.Signal<number>;
|
|
6667
6686
|
protected readonly currentRowIndex: _angular_core.Signal<number>;
|