@praxisui/table 10.0.0-rc.26 → 10.0.0-rc.27
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 +15 -0
- package/ai/component-registry.json +2 -2
- package/fesm2022/{praxisui-table-praxisui-table-YnI6Bi6b.mjs → praxisui-table-praxisui-table-CosVmN5P.mjs} +513 -48
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DU69df4l.mjs → praxisui-table-table-agentic-authoring-turn-flow-CtHAHd7Y.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-BFVh0Uhb.mjs → praxisui-table-table-ai.adapter-DYY3eUYu.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +21 -0
|
@@ -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-
|
|
3
|
+
import { ar as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-CosVmN5P.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-
|
|
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-CosVmN5P.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-
|
|
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-CosVmN5P.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.27",
|
|
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.27",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.27",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.27",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.27",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.27",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.27",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.27",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.27",
|
|
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.27",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -479,6 +479,8 @@ type FilterConfig = {
|
|
|
479
479
|
/** User-selected extra field ids to show before pinned always-visible */
|
|
480
480
|
selectedFieldIds?: string[];
|
|
481
481
|
showAdvanced?: boolean;
|
|
482
|
+
showAddButton?: boolean;
|
|
483
|
+
showFilterSettings?: boolean;
|
|
482
484
|
mode?: 'filter';
|
|
483
485
|
changeDebounceMs?: number;
|
|
484
486
|
allowSaveTags?: boolean;
|
|
@@ -1507,6 +1509,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1507
1509
|
selection: SelectionModel<any>;
|
|
1508
1510
|
dataSubject: BehaviorSubject<any[]>;
|
|
1509
1511
|
subscriptions: Subscription[];
|
|
1512
|
+
private surfaceOutcomeOwnerDestroyed;
|
|
1510
1513
|
showToolbar: boolean;
|
|
1511
1514
|
hasInitialized: boolean;
|
|
1512
1515
|
pageIndex: number;
|
|
@@ -1733,6 +1736,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1733
1736
|
getAdvancedFilterPersistenceKey(): string;
|
|
1734
1737
|
getAdvancedFilterFormId(): string;
|
|
1735
1738
|
getAdvancedFilterOpenMode(): 'modal' | 'drawer';
|
|
1739
|
+
shouldShowAdvancedFilterAddButton(): boolean;
|
|
1740
|
+
shouldShowAdvancedFilterSettings(): boolean;
|
|
1736
1741
|
getAdvancedFilterAlwaysVisibleFields(): string[] | undefined;
|
|
1737
1742
|
getAdvancedFilterAlwaysVisibleFieldMetadataOverrides(): Record<string, Record<string, any>>;
|
|
1738
1743
|
getAdvancedFilterFieldMetadata(): FieldMetadata[] | null | undefined;
|
|
@@ -2273,6 +2278,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2273
2278
|
private emitEventWithActionFeedback;
|
|
2274
2279
|
private executeConfiguredGlobalAction;
|
|
2275
2280
|
private withTableRuntimeContext;
|
|
2281
|
+
private resolveTableSurfaceRuntime;
|
|
2276
2282
|
private executeSurfaceOpen;
|
|
2277
2283
|
private resolveConfiguredGlobalActionRef;
|
|
2278
2284
|
private resolveActionGlobalActionRef;
|
|
@@ -2298,6 +2304,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2298
2304
|
private unwrapCollectionWorkflowResult;
|
|
2299
2305
|
private showCollectionWorkflowContractError;
|
|
2300
2306
|
private tryHandleCollectionCreateToolbarAction;
|
|
2307
|
+
private bindDiscoveredSurfaceOutcome;
|
|
2308
|
+
private applySurfaceActionRefresh;
|
|
2301
2309
|
private resolveBulkExportFormat;
|
|
2302
2310
|
private isBulkExportActionKey;
|
|
2303
2311
|
private normalizeExportFormat;
|
|
@@ -2910,7 +2918,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2910
2918
|
private emitMetadataChange;
|
|
2911
2919
|
private emitSchemaStatus;
|
|
2912
2920
|
getRowId(row: any): any;
|
|
2921
|
+
private preserveSelectionOnNextDataLoad;
|
|
2913
2922
|
private reconcileSelectionAfterDataChange;
|
|
2923
|
+
private areSelectedRowSnapshotsEquivalent;
|
|
2924
|
+
private serializeSelectedRowSnapshot;
|
|
2914
2925
|
private getComparableRowIdentity;
|
|
2915
2926
|
getIdField(): string;
|
|
2916
2927
|
private getSchemaIdFieldOverride;
|
|
@@ -2946,6 +2957,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
2946
2957
|
getRowSelectionAriaLabel(row: any, index?: number): string;
|
|
2947
2958
|
getMasterSelectionAriaLabel(): string;
|
|
2948
2959
|
private selectRowFromUserInteraction;
|
|
2960
|
+
clearSelection(emitEvent?: boolean): void;
|
|
2949
2961
|
private emitSelectionChange;
|
|
2950
2962
|
private publishSelectionStatus;
|
|
2951
2963
|
private getAccessibleRowLabel;
|
|
@@ -3528,6 +3540,8 @@ declare class ColumnsConfigEditorComponent implements OnInit, OnChanges, OnDestr
|
|
|
3528
3540
|
getComposePreviewBadgeClasses(item: any): string[];
|
|
3529
3541
|
getComposePreviewChipText(item: any, row: any): string;
|
|
3530
3542
|
getComposePreviewChipClasses(item: any): string[];
|
|
3543
|
+
getComposePreviewLinkText(item: any, row: any): string;
|
|
3544
|
+
getComposePreviewLinkHref(item: any, row: any): string | null;
|
|
3531
3545
|
getComposePreviewIconName(item: any, row: any): string | null;
|
|
3532
3546
|
getComposePreviewIconColor(item: any, _row: any): string | null;
|
|
3533
3547
|
getComposePreviewIconStyle(item: any, _row: any): Record<string, string> | null;
|
|
@@ -3951,6 +3965,8 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
3951
3965
|
presentation: FormControl<FilterConfig['presentation']>;
|
|
3952
3966
|
alwaysVisibleFields: FormControl<string[]>;
|
|
3953
3967
|
showAdvanced: FormControl<boolean>;
|
|
3968
|
+
showAddButton: FormControl<boolean>;
|
|
3969
|
+
showFilterSettings: FormControl<boolean>;
|
|
3954
3970
|
mode: FormControl<'filter'>;
|
|
3955
3971
|
changeDebounceMs: FormControl<number>;
|
|
3956
3972
|
allowSaveTags: FormControl<boolean>;
|
|
@@ -4689,6 +4705,8 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4689
4705
|
get toolbarFiltersEnabled(): boolean;
|
|
4690
4706
|
get toolbarShowQuickFilters(): boolean;
|
|
4691
4707
|
get toolbarShowAdvancedButton(): boolean;
|
|
4708
|
+
get advancedFilterShowAddButton(): boolean;
|
|
4709
|
+
get advancedFilterShowFilterSettings(): boolean;
|
|
4692
4710
|
get toolbarQuickFilters(): Array<{
|
|
4693
4711
|
id: string;
|
|
4694
4712
|
label: string;
|
|
@@ -4701,6 +4719,8 @@ declare class PraxisTableConfigEditor implements OnInit, OnDestroy, SettingsValu
|
|
|
4701
4719
|
onToolbarFiltersEnabledChange(enabled: boolean): void;
|
|
4702
4720
|
onToolbarShowQuickFiltersChange(show: boolean): void;
|
|
4703
4721
|
onToolbarShowAdvancedButtonChange(show: boolean): void;
|
|
4722
|
+
onAdvancedFilterShowAddButtonChange(show: boolean): void;
|
|
4723
|
+
onAdvancedFilterShowFilterSettingsChange(show: boolean): void;
|
|
4704
4724
|
applyBooleanQuickFilterPreset(fieldName?: string): void;
|
|
4705
4725
|
addQuickFilterScope(): void;
|
|
4706
4726
|
removeQuickFilterScope(index: number): void;
|
|
@@ -4886,6 +4906,7 @@ interface PraxisFilterWidgetEditorInputs {
|
|
|
4886
4906
|
advancedOpenMode?: 'modal' | 'drawer';
|
|
4887
4907
|
advancedClearButtonsEnabled?: boolean;
|
|
4888
4908
|
persistenceKey?: string;
|
|
4909
|
+
showAddButton?: boolean;
|
|
4889
4910
|
showFilterSettings?: boolean;
|
|
4890
4911
|
enableCustomization?: boolean;
|
|
4891
4912
|
[key: string]: unknown;
|