@praxisui/table 9.0.0-beta.47 → 9.0.0-beta.48
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 +1 -1
- package/ai/component-registry.json +22 -6
- package/fesm2022/{praxisui-table-praxisui-table-DBm9XDi4.mjs → praxisui-table-praxisui-table-D5UThmhh.mjs} +305 -41
- package/fesm2022/{praxisui-table-table-ai.adapter-0cYAJ5hm.mjs → praxisui-table-table-ai.adapter-DE5WpZ-t.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +18 -0
|
@@ -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 { H as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, X as coerceTableComponentEditPlans, Z as compileTableComponentEditPlans, K as TASK_PRESETS, a2 as getTableComponentEditPlanCapabilities, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, G as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-
|
|
4
|
+
import { H as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, k as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, X as coerceTableComponentEditPlans, Z as compileTableComponentEditPlans, K as TASK_PRESETS, a2 as getTableComponentEditPlanCapabilities, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, G as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-D5UThmhh.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as AnalyticsTableConfigAdapterService, a as AnalyticsTableContractService, b as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, c as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, d as ColumnsConfigEditorComponent, D as DATE_PRESETS, e as DataFormatterComponent, f as DataFormattingService, F as FORMULA_TEMPLATES, g as FilterConfigService, h as FilterSettingsComponent, i as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, j as PRAXIS_FILTER_COMPONENT_METADATA, k as PRAXIS_TABLE_AUTHORING_MANIFEST, l as PRAXIS_TABLE_COMPONENT_METADATA, m as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, n as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, o as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, p as PraxisFilter, q as PraxisFilterWidgetConfigEditor, r as PraxisTable, s as PraxisTableConfigEditor, t as PraxisTableInlineAuthoringEditorComponent, u as PraxisTableToolbar, v as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, w as TABLE_COMPONENT_AI_CAPABILITIES, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, G as TABLE_COMPONENT_EDIT_PLAN_KIND, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, K as TASK_PRESETS, L as TableDefaultsProvider, O as TableRulesEditorComponent, Q as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, R as VisualFormulaBuilderComponent, U as buildTableApplyPlan, W as coerceTableComponentEditPlan, X as coerceTableComponentEditPlans, Y as compileTableComponentEditPlan, Z as compileTableComponentEditPlans, _ as createTableAuthoringDocument, $ as getActionId, a0 as getEnum, a1 as getTableCapabilities, a2 as getTableComponentEditPlanCapabilities, a3 as isTableRendererSupportedByRichContentP0, a4 as mapTableRendererToRichContentP0, a5 as normalizeTableAuthoringDocument, a6 as parseLegacyOrTableDocument, a7 as providePraxisFilterMetadata, a8 as providePraxisTableMetadata, a9 as providePraxisTableToolbarAppearance, aa as serializeTableAuthoringDocument, ab as toCanonicalTableConfig, ac as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-
|
|
1
|
+
export { A as AnalyticsTableConfigAdapterService, a as AnalyticsTableContractService, b as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, c as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, d as ColumnsConfigEditorComponent, D as DATE_PRESETS, e as DataFormatterComponent, f as DataFormattingService, F as FORMULA_TEMPLATES, g as FilterConfigService, h as FilterSettingsComponent, i as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, j as PRAXIS_FILTER_COMPONENT_METADATA, k as PRAXIS_TABLE_AUTHORING_MANIFEST, l as PRAXIS_TABLE_COMPONENT_METADATA, m as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, n as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, o as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, p as PraxisFilter, q as PraxisFilterWidgetConfigEditor, r as PraxisTable, s as PraxisTableConfigEditor, t as PraxisTableInlineAuthoringEditorComponent, u as PraxisTableToolbar, v as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, w as TABLE_COMPONENT_AI_CAPABILITIES, x as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, y as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, z as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, E as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, G as TABLE_COMPONENT_EDIT_PLAN_KIND, I as TABLE_COMPONENT_EDIT_PLAN_VERSION, K as TASK_PRESETS, L as TableDefaultsProvider, O as TableRulesEditorComponent, Q as ToolbarActionsEditorComponent, V as ValueMappingEditorComponent, R as VisualFormulaBuilderComponent, U as buildTableApplyPlan, W as coerceTableComponentEditPlan, X as coerceTableComponentEditPlans, Y as compileTableComponentEditPlan, Z as compileTableComponentEditPlans, _ as createTableAuthoringDocument, $ as getActionId, a0 as getEnum, a1 as getTableCapabilities, a2 as getTableComponentEditPlanCapabilities, a3 as isTableRendererSupportedByRichContentP0, a4 as mapTableRendererToRichContentP0, a5 as normalizeTableAuthoringDocument, a6 as parseLegacyOrTableDocument, a7 as providePraxisFilterMetadata, a8 as providePraxisTableMetadata, a9 as providePraxisTableToolbarAppearance, aa as serializeTableAuthoringDocument, ab as toCanonicalTableConfig, ac as validateTableAuthoringDocument } from './praxisui-table-praxisui-table-D5UThmhh.mjs';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.48",
|
|
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.0-beta.
|
|
10
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
11
|
-
"@praxisui/dynamic-fields": "^9.0.0-beta.
|
|
12
|
-
"@praxisui/dynamic-form": "^9.0.0-beta.
|
|
13
|
-
"@praxisui/metadata-editor": "^9.0.0-beta.
|
|
14
|
-
"@praxisui/rich-content": "^9.0.0-beta.
|
|
15
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
16
|
-
"@praxisui/table-rule-builder": "^9.0.0-beta.
|
|
9
|
+
"@praxisui/ai": "^9.0.0-beta.48",
|
|
10
|
+
"@praxisui/core": "^9.0.0-beta.48",
|
|
11
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.48",
|
|
12
|
+
"@praxisui/dynamic-form": "^9.0.0-beta.48",
|
|
13
|
+
"@praxisui/metadata-editor": "^9.0.0-beta.48",
|
|
14
|
+
"@praxisui/rich-content": "^9.0.0-beta.48",
|
|
15
|
+
"@praxisui/settings-panel": "^9.0.0-beta.48",
|
|
16
|
+
"@praxisui/table-rule-builder": "^9.0.0-beta.48",
|
|
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.0-beta.
|
|
21
|
+
"@praxisui/dialog": "^9.0.0-beta.48",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -78,6 +78,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
78
78
|
private readonly warnedInvalidToolbarActionTypes;
|
|
79
79
|
private readonly warnedMenuWithoutChildren;
|
|
80
80
|
private readonly warnedVisibleWhenFallback;
|
|
81
|
+
private readonly warnedDisabledWhenFallback;
|
|
81
82
|
private readonly warnedInvalidShortcuts;
|
|
82
83
|
private readonly warnedInvalidShortcutScopes;
|
|
83
84
|
private readonly warnedShortcutConflicts;
|
|
@@ -97,10 +98,17 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
97
98
|
getToolbarTextAlign(): 'start' | 'center' | 'end';
|
|
98
99
|
getExportDataLabel(): string;
|
|
99
100
|
getVisibleExcelExportLabel(): string;
|
|
101
|
+
getVisibleExcelExportDescription(): string;
|
|
102
|
+
getVisibleExcelExportAriaLabel(): string;
|
|
103
|
+
getExportFormatLabel(format: unknown): string;
|
|
104
|
+
getExportFormatTooltip(format: unknown): string;
|
|
105
|
+
getExportFormatAriaLabel(format: unknown): string;
|
|
100
106
|
getMoreActionsLabel(): string;
|
|
101
107
|
emitExportAction(event: Event, format: string): void;
|
|
102
108
|
emitVisibleExcelExportAction(event: Event): void;
|
|
103
109
|
isExcelExportFormat(format: unknown): boolean;
|
|
110
|
+
isVisibleExcelExportEnabled(format: unknown): boolean;
|
|
111
|
+
private normalizeExportFormat;
|
|
104
112
|
getColumnsVisibilityLabel(): string;
|
|
105
113
|
getColumnsVisibilityIcon(): string;
|
|
106
114
|
isColumnsVisibilityEnabled(): boolean;
|
|
@@ -111,6 +119,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
111
119
|
onColumnVisibilityMenuToggle(event: Event, field: string, currentlyVisible: boolean): void;
|
|
112
120
|
toggleColumnVisibility(field: string, visible: boolean): void;
|
|
113
121
|
private tx;
|
|
122
|
+
private interpolateText;
|
|
114
123
|
ngOnDestroy(): void;
|
|
115
124
|
getToolbarVariant(): TableToolbarAppearanceVariant;
|
|
116
125
|
getToolbarDensity(): TableToolbarAppearanceDensity;
|
|
@@ -136,20 +145,29 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
136
145
|
getActionColor(action: any): any;
|
|
137
146
|
getActionAriaLabel(action: any): string;
|
|
138
147
|
isActionDisabled(action: any): boolean;
|
|
148
|
+
getActionTooltip(action: any): string | null;
|
|
139
149
|
onDocumentKeydown(event: KeyboardEvent): void;
|
|
140
150
|
getBulkActionsPosition(): 'toolbar' | 'floating' | 'both';
|
|
141
151
|
shouldRenderToolbarBulkActions(): boolean;
|
|
142
152
|
getBulkToolbarActions(): any[];
|
|
153
|
+
private isBulkToolbarAction;
|
|
143
154
|
private getVisibleToolbarActions;
|
|
144
155
|
private resolveVisibleToolbarAction;
|
|
145
156
|
private isActionVisible;
|
|
146
157
|
private evaluateVisibleWhen;
|
|
158
|
+
private evaluateDisabledWhen;
|
|
159
|
+
private resolveDisabledWhenFallback;
|
|
147
160
|
private isJsonLogicExpression;
|
|
148
161
|
private resolveVisibleWhenFallback;
|
|
149
162
|
private resolveVisibleWhenFallbackPolicy;
|
|
150
163
|
private resolveRuntimeEnvironment;
|
|
151
164
|
private buildEvaluationContext;
|
|
165
|
+
private getSelectedCount;
|
|
166
|
+
private getBulkActionMinSelections;
|
|
167
|
+
private getBulkActionMaxSelections;
|
|
168
|
+
private resolveDisabledActionReason;
|
|
152
169
|
private warnVisibleWhenFallback;
|
|
170
|
+
private warnDisabledWhenFallback;
|
|
153
171
|
private collectShortcutBindings;
|
|
154
172
|
private resolveShortcutScope;
|
|
155
173
|
private normalizeShortcutCombo;
|