@praxisui/table 8.0.0-beta.11 → 8.0.0-beta.13
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 +5 -5
- package/fesm2022/praxisui-table.mjs +649 -108
- package/index.d.ts +25 -2
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -46,11 +46,15 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
46
46
|
showActionsGroup: boolean;
|
|
47
47
|
showEndActions: boolean;
|
|
48
48
|
showMobileActions: boolean;
|
|
49
|
+
exportBusy: boolean;
|
|
49
50
|
evaluationContext: Record<string, any> | null;
|
|
50
51
|
toolbarAction: EventEmitter<{
|
|
51
52
|
action: string;
|
|
52
53
|
actionConfig?: any;
|
|
53
54
|
}>;
|
|
55
|
+
exportAction: EventEmitter<{
|
|
56
|
+
format: string;
|
|
57
|
+
}>;
|
|
54
58
|
readonly getActionId: typeof getActionId;
|
|
55
59
|
private readonly jsonLogic;
|
|
56
60
|
private readonly validToolbarActionTypes;
|
|
@@ -65,6 +69,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
65
69
|
constructor(hostRef?: ElementRef<HTMLElement> | null, logger?: LoggerService | undefined, i18n?: PraxisI18nService | undefined);
|
|
66
70
|
getExportDataLabel(): string;
|
|
67
71
|
getMoreActionsLabel(): string;
|
|
72
|
+
emitExportAction(event: Event, format: string): void;
|
|
68
73
|
private tx;
|
|
69
74
|
ngOnDestroy(): void;
|
|
70
75
|
private getNestedPropertyValue;
|
|
@@ -112,7 +117,7 @@ declare class PraxisTableToolbar implements OnDestroy {
|
|
|
112
117
|
private sortActions;
|
|
113
118
|
getExportIcon(format: string): string;
|
|
114
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableToolbar, [null, { optional: true; }, { optional: true; }]>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; }, { "toolbarAction": "toolbarAction"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableToolbar, "praxis-table-toolbar", never, { "config": { "alias": "config"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "showMain": { "alias": "showMain"; "required": false; }; "showActionsGroup": { "alias": "showActionsGroup"; "required": false; }; "showEndActions": { "alias": "showEndActions"; "required": false; }; "showMobileActions": { "alias": "showMobileActions"; "required": false; }; "exportBusy": { "alias": "exportBusy"; "required": false; }; "evaluationContext": { "alias": "evaluationContext"; "required": false; }; }, { "toolbarAction": "toolbarAction"; "exportAction": "exportAction"; }, never, ["[advancedFilter]", "[toolbar]", "[end-actions]"], true, never>;
|
|
116
121
|
}
|
|
117
122
|
|
|
118
123
|
type ColumnDataType$1 = 'date' | 'number' | 'currency' | 'percentage' | 'string' | 'boolean' | 'custom';
|
|
@@ -903,6 +908,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
903
908
|
rowAction: EventEmitter<any>;
|
|
904
909
|
toolbarAction: EventEmitter<any>;
|
|
905
910
|
bulkAction: EventEmitter<any>;
|
|
911
|
+
exportAction: EventEmitter<any>;
|
|
906
912
|
columnReorder: EventEmitter<any>;
|
|
907
913
|
columnReorderAttempt: EventEmitter<any>;
|
|
908
914
|
beforeDelete: EventEmitter<any>;
|
|
@@ -940,6 +946,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
940
946
|
readonly isExpansionDetailRow: (index: number, row: any) => boolean;
|
|
941
947
|
columnReorderStatusMessage: string;
|
|
942
948
|
columnReorderVisualStatusMessage: string;
|
|
949
|
+
exportBusy: boolean;
|
|
950
|
+
exportStatusMessage: string;
|
|
943
951
|
private columnReorderStatusTimer;
|
|
944
952
|
private columnReorderVisualStatusTimer;
|
|
945
953
|
private columnReorderUndoSubscription;
|
|
@@ -979,6 +987,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
979
987
|
private rowDiscoveryMarkForCheckScheduled;
|
|
980
988
|
private lastRowDiscoveryScopeKey;
|
|
981
989
|
private readonly i18n;
|
|
990
|
+
private readonly collectionExport;
|
|
982
991
|
private readonly paginatorIntl;
|
|
983
992
|
private schemaFieldsSnapshot;
|
|
984
993
|
private runtimeSchemaMeta;
|
|
@@ -1379,6 +1388,20 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1379
1388
|
action: string;
|
|
1380
1389
|
actionConfig?: any;
|
|
1381
1390
|
}): Promise<void>;
|
|
1391
|
+
onExportAction(event: {
|
|
1392
|
+
format: string;
|
|
1393
|
+
}): Promise<void>;
|
|
1394
|
+
private buildTableExportRequest;
|
|
1395
|
+
private resolveEffectiveExportScope;
|
|
1396
|
+
private resolveTableExportLoadedItems;
|
|
1397
|
+
private computeLocalExportRows;
|
|
1398
|
+
private buildTableExportFields;
|
|
1399
|
+
private downloadExportResult;
|
|
1400
|
+
private triggerExportDownload;
|
|
1401
|
+
private resolveExportFileName;
|
|
1402
|
+
private getExportFileExtension;
|
|
1403
|
+
private getExportMimeType;
|
|
1404
|
+
private showExportFeedback;
|
|
1382
1405
|
onAdvancedFilterSubmit(criteria: Record<string, any>): void;
|
|
1383
1406
|
onAdvancedFilterChange(criteria: Record<string, any>): void;
|
|
1384
1407
|
onAdvancedFilterClear(): void;
|
|
@@ -1845,7 +1868,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1845
1868
|
private scheduleRowDiscoveryMarkForCheck;
|
|
1846
1869
|
ngOnDestroy(): void;
|
|
1847
1870
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTable, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
1848
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "rowClick": "rowClick"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
1871
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "rowClick": "rowClick"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
1849
1872
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
1850
1873
|
}
|
|
1851
1874
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.13",
|
|
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": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
|
-
"@praxisui/ai": "^8.0.0-beta.
|
|
9
|
-
"@praxisui/core": "^8.0.0-beta.
|
|
10
|
-
"@praxisui/dynamic-fields": "^8.0.0-beta.
|
|
11
|
-
"@praxisui/dynamic-form": "^8.0.0-beta.
|
|
12
|
-
"@praxisui/metadata-editor": "^8.0.0-beta.
|
|
13
|
-
"@praxisui/rich-content": "^8.0.0-beta.
|
|
14
|
-
"@praxisui/settings-panel": "^8.0.0-beta.
|
|
15
|
-
"@praxisui/table-rule-builder": "^8.0.0-beta.
|
|
8
|
+
"@praxisui/ai": "^8.0.0-beta.13",
|
|
9
|
+
"@praxisui/core": "^8.0.0-beta.13",
|
|
10
|
+
"@praxisui/dynamic-fields": "^8.0.0-beta.13",
|
|
11
|
+
"@praxisui/dynamic-form": "^8.0.0-beta.13",
|
|
12
|
+
"@praxisui/metadata-editor": "^8.0.0-beta.13",
|
|
13
|
+
"@praxisui/rich-content": "^8.0.0-beta.13",
|
|
14
|
+
"@praxisui/settings-panel": "^8.0.0-beta.13",
|
|
15
|
+
"@praxisui/table-rule-builder": "^8.0.0-beta.13"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"tslib": "^2.3.0"
|