@progress/kendo-vue-grid 8.3.0 → 8.4.0-develop.1

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/messages/main.mjs CHANGED
@@ -5,9 +5,9 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o = "grid.pagerFirstPage", l = "grid.pagerPreviousPage", i = "grid.pagerNextPage", a = "grid.pagerLastPage", n = "grid.pagerItemsPerPage", s = "grid.pagerPage", g = "grid.pagerPageSelection", d = "grid.pagerOf", p = "grid.pagerTotalPages", c = "grid.groupPanelEmpty", u = "grid.groupColumn", b = "grid.ungroupColumn", C = "grid.columnMenu", A = "grid.filterApplyButton", m = "grid.filterClearButton", f = "grid.filterClearAllButton", h = "grid.filterResetButton", L = "grid.filterSubmitButton", P = "grid.filterTitle", T = "grid.sortAscending", I = "grid.sortDescending", S = "grid.sortClearButton", B = "grid.sortApplyButton", F = "grid.searchPlaceholder", D = "grid.searchboxPlaceholder", x = "grid.exportPDF", O = "grid.filterCheckAll", y = "grid.filterChooseOperator", w = "grid.filterSelectAll", R = "grid.filterSelectedItems", E = "grid.sortAriaLabel", G = "grid.sortableColumnAriaLabel", v = "grid.sortableColumnAscendingAriaLabel", M = "grid.sortableColumnDescendingAriaLabel", q = "grid.editDialogTitle", N = "grid.editDialogSaveButtonTitle", k = "grid.editDialogCancelButtonTitle", U = "grid.filterAriaLabel", W = "grid.numericFilterAriaLabel", H = "grid.groupPanelAriaLabel", z = "grid.groupExpand", j = "grid.groupCollapse", J = "grid.groupClearButton", K = "grid.groupApplyButton", Q = "grid.detailExpand", V = "grid.detailCollapse", X = "grid.selectRow", Y = "grid.gridAriaLabel", Z = "grid.gridRowReorderAriaLabel", _ = "grid.gridPinCellAriaLabel", $ = "grid.gridPinToTop", ee = "grid.gridPinToBottom", re = "grid.gridUnpin", te = "grid.gridAdaptiveColumnMenuFilterTitle", oe = "grid.columnMenuColumnChooserTitle", le = "grid.columnMenuColumnChooserSelectedItems", ie = "grid.adaptiveColumnMenuChooserTitle", ae = "grid.adaptiveColumnMenuChooserSubTitle", ne = "grid.columnChooserApplyButton", se = "grid.columnChooserResetButton", ge = "grid.adaptiveColumnMenuCheckboxFilterTitle", de = "grid.adaptiveToolbarSortTitle", pe = "grid.adaptiveToolbarGroupTitle", ce = "grid.toolbarSort", ue = "grid.dateFilterAriaLabel", be = "grid.textFilterAriaLabel", Ce = "grid.booleanFilterAriaLabel", Ae = "grid.groupHeaderAriaLabel", me = "grid.groupCaretAriaLabelCollapse", fe = "grid.groupCaretAriaLabelExpand", he = "grid.expandDetailTemplateAriaLabel", Le = "grid.collapseDetailTemplateAriaLabel", Pe = "grid.toolbarAI", Te = "grid.aIResponseData", Ie = "grid.generatedWithAI", Se = "grid.toolbarAIApply", Be = "grid.toolbarGroup", Fe = "grid.toolbarFilter", De = "grid.toolbarColumnsChooser", xe = "grid.toolbarCheckboxFilter", Oe = "grid.headerGroupSpacerAccessibleLabel", ye = "grid.pinnedTopRows", we = "grid.pinnedBottomRows", Re = {
8
+ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o = "grid.pagerFirstPage", l = "grid.pagerPreviousPage", i = "grid.pagerNextPage", a = "grid.pagerLastPage", n = "grid.pagerItemsPerPage", s = "grid.pagerPage", g = "grid.pagerPageSelection", d = "grid.pagerOf", p = "grid.pagerTotalPages", c = "grid.groupPanelEmpty", u = "grid.groupColumn", C = "grid.ungroupColumn", b = "grid.columnMenu", A = "grid.filterApplyButton", m = "grid.filterClearButton", f = "grid.filterClearAllButton", h = "grid.filterResetButton", L = "grid.filterSubmitButton", P = "grid.filterTitle", S = "grid.sortAscending", T = "grid.sortDescending", I = "grid.sortClearButton", B = "grid.sortApplyButton", F = "grid.searchPlaceholder", x = "grid.searchboxPlaceholder", D = "grid.exportPDF", O = "grid.exportCSV", y = "grid.filterCheckAll", w = "grid.filterChooseOperator", E = "grid.filterSelectAll", R = "grid.filterSelectedItems", G = "grid.sortAriaLabel", v = "grid.sortableColumnAriaLabel", M = "grid.sortableColumnAscendingAriaLabel", q = "grid.sortableColumnDescendingAriaLabel", N = "grid.editDialogTitle", k = "grid.editDialogSaveButtonTitle", U = "grid.editDialogCancelButtonTitle", W = "grid.filterAriaLabel", H = "grid.numericFilterAriaLabel", V = "grid.groupPanelAriaLabel", z = "grid.groupExpand", j = "grid.groupCollapse", J = "grid.groupClearButton", K = "grid.groupApplyButton", Q = "grid.detailExpand", X = "grid.detailCollapse", Y = "grid.selectRow", Z = "grid.gridAriaLabel", _ = "grid.gridRowReorderAriaLabel", $ = "grid.gridPinCellAriaLabel", ee = "grid.gridPinToTop", re = "grid.gridPinToBottom", te = "grid.gridUnpin", oe = "grid.gridAdaptiveColumnMenuFilterTitle", le = "grid.columnMenuColumnChooserTitle", ie = "grid.columnMenuColumnChooserSelectedItems", ae = "grid.adaptiveColumnMenuChooserTitle", ne = "grid.adaptiveColumnMenuChooserSubTitle", se = "grid.columnChooserApplyButton", ge = "grid.columnChooserResetButton", de = "grid.adaptiveColumnMenuCheckboxFilterTitle", pe = "grid.adaptiveToolbarSortTitle", ce = "grid.adaptiveToolbarGroupTitle", ue = "grid.toolbarSort", Ce = "grid.dateFilterAriaLabel", be = "grid.textFilterAriaLabel", Ae = "grid.booleanFilterAriaLabel", me = "grid.groupHeaderAriaLabel", fe = "grid.groupCaretAriaLabelCollapse", he = "grid.groupCaretAriaLabelExpand", Le = "grid.expandDetailTemplateAriaLabel", Pe = "grid.collapseDetailTemplateAriaLabel", Se = "grid.toolbarAI", Te = "grid.aIResponseData", Ie = "grid.generatedWithAI", Be = "grid.toolbarAIApply", Fe = "grid.toolbarGroup", xe = "grid.toolbarFilter", De = "grid.toolbarColumnsChooser", Oe = "grid.toolbarCheckboxFilter", ye = "grid.headerGroupSpacerAccessibleLabel", we = "grid.pinnedTopRows", Ee = "grid.pinnedBottomRows", Re = {
9
9
  [Q]: "Expand detail row",
10
- [V]: "Collapse detail row",
10
+ [X]: "Collapse detail row",
11
11
  [z]: "Expand group",
12
12
  [j]: "Collapse Group",
13
13
  [J]: "Clear grouping",
@@ -21,27 +21,27 @@ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o =
21
21
  [h]: "Reset",
22
22
  [L]: "Filter",
23
23
  [P]: "Filter",
24
- [T]: "Sort Ascending",
25
- [I]: "Sort Descending",
26
- [S]: "Clear sorting",
24
+ [S]: "Sort Ascending",
25
+ [T]: "Sort Descending",
26
+ [I]: "Clear sorting",
27
27
  [B]: "Done",
28
- [E]: "Sortable",
29
- [de]: "Sort by",
30
- [pe]: "Group by",
31
- [ce]: "Sort",
32
- [Pe]: "AI Assistant",
33
- [Se]: "Apply",
28
+ [G]: "Sortable",
29
+ [pe]: "Sort by",
30
+ [ce]: "Group by",
31
+ [ue]: "Sort",
32
+ [Se]: "AI Assistant",
33
+ [Be]: "Apply",
34
34
  [Te]: `Operation is successful. Data is:
35
35
  `,
36
36
  [Ie]: "Generated with AI",
37
- [Be]: "Group",
38
- [Fe]: "Filter",
39
- [De]: "Columns",
37
+ [Fe]: "Group",
40
38
  [xe]: "Filter",
39
+ [De]: "Columns",
40
+ [Oe]: "Filter",
41
41
  [u]: "Group Column",
42
- [b]: "Ungroup Column",
43
- [Oe]: "Group",
44
- [C]: "Column menu",
42
+ [C]: "Ungroup Column",
43
+ [ye]: "Group",
44
+ [b]: "Column menu",
45
45
  [n]: "items per page",
46
46
  [t]: "{0} - {1} of {2} items",
47
47
  [o]: "Go to the first page",
@@ -53,46 +53,47 @@ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o =
53
53
  [d]: "of",
54
54
  [p]: "{0}",
55
55
  [F]: "Search",
56
- [D]: "Search...",
57
- [x]: "Export PDF",
58
- [O]: "Check All",
59
- [q]: "Edit Dialog",
60
- [N]: "Save",
61
- [k]: "Cancel",
62
- [y]: "Choose Operator",
56
+ [x]: "Search...",
57
+ [D]: "Export PDF",
58
+ [O]: "Export CSV",
59
+ [y]: "Check All",
60
+ [N]: "Edit Dialog",
61
+ [k]: "Save",
62
+ [U]: "Cancel",
63
+ [w]: "Choose Operator",
63
64
  [R]: "selected items",
64
- [w]: "Select All",
65
- [G]: "Sortable Column",
66
- [v]: "Sorted in ascending order",
67
- [M]: "Sorted in descending order",
68
- [U]: "Filter",
69
- [W]: "Numeric Filter",
70
- [ue]: "Date Filter",
65
+ [E]: "Select All",
66
+ [v]: "Sortable Column",
67
+ [M]: "Sorted in ascending order",
68
+ [q]: "Sorted in descending order",
69
+ [W]: "Filter",
70
+ [H]: "Numeric Filter",
71
+ [Ce]: "Date Filter",
71
72
  [be]: "Text Filter",
72
- [Ce]: "Boolean Filter",
73
- [Ae]: "Group Header",
74
- [me]: "Collapse Group",
75
- [fe]: "Expand Group",
76
- [he]: "Expand Details",
77
- [Le]: "Collapse Details",
78
- [H]: "Group panel",
79
- [Y]: "Table",
80
- [Z]: "Drag row",
81
- [_]: "Pin row",
82
- [$]: "Pin row to top",
83
- [ee]: "Pin row to bottom",
84
- [re]: "Unpin",
85
- [ye]: "Pinned top rows",
86
- [we]: "Pinned bottom rows",
87
- [X]: "Select Row",
88
- [oe]: "Columns Chooser",
89
- [te]: "Filter by",
90
- [ie]: "Columns Chooser",
91
- [ae]: "Selected fields are visible",
92
- [ge]: "Filter by",
93
- [le]: "Selected items",
94
- [ne]: "Apply",
95
- [se]: "Reset",
73
+ [Ae]: "Boolean Filter",
74
+ [me]: "Group Header",
75
+ [fe]: "Collapse Group",
76
+ [he]: "Expand Group",
77
+ [Le]: "Expand Details",
78
+ [Pe]: "Collapse Details",
79
+ [V]: "Group panel",
80
+ [Z]: "Table",
81
+ [_]: "Drag row",
82
+ [$]: "Pin row",
83
+ [ee]: "Pin row to top",
84
+ [re]: "Pin row to bottom",
85
+ [te]: "Unpin",
86
+ [we]: "Pinned top rows",
87
+ [Ee]: "Pinned bottom rows",
88
+ [Y]: "Select Row",
89
+ [le]: "Columns Chooser",
90
+ [oe]: "Filter by",
91
+ [ae]: "Columns Chooser",
92
+ [ne]: "Selected fields are visible",
93
+ [de]: "Filter by",
94
+ [ie]: "Selected items",
95
+ [se]: "Apply",
96
+ [ge]: "Reset",
96
97
  // Filter operators
97
98
  "grid.filterEqOperator": "Is equal to",
98
99
  "grid.filterNotEqOperator": "Is not equal to",
@@ -120,59 +121,60 @@ const e = "grid.noRecords", r = "grid.selectAllRows", t = "grid.pagerInfo", o =
120
121
  };
121
122
  export {
122
123
  Te as aIResponseData,
123
- ge as adaptiveColumnMenuCheckboxFilterTitle,
124
- ae as adaptiveColumnMenuChooserSubTitle,
125
- ie as adaptiveColumnMenuChooserTitle,
126
- te as adaptiveColumnMenuFilterTitle,
127
- pe as adaptiveToolbarGroupTitle,
128
- de as adaptiveToolbarSortTitle,
129
- Ce as booleanFilterAriaLabel,
130
- Le as collapseDetailAriaLabel,
131
- ne as columnChooserApplyButton,
132
- se as columnChooserResetButton,
133
- C as columnMenu,
134
- le as columnMenuColumnChooserSelectedItems,
135
- oe as columnMenuColumnChooserTitle,
136
- ue as dateFilterAriaLabel,
137
- V as detailCollapse,
124
+ de as adaptiveColumnMenuCheckboxFilterTitle,
125
+ ne as adaptiveColumnMenuChooserSubTitle,
126
+ ae as adaptiveColumnMenuChooserTitle,
127
+ oe as adaptiveColumnMenuFilterTitle,
128
+ ce as adaptiveToolbarGroupTitle,
129
+ pe as adaptiveToolbarSortTitle,
130
+ Ae as booleanFilterAriaLabel,
131
+ Pe as collapseDetailAriaLabel,
132
+ se as columnChooserApplyButton,
133
+ ge as columnChooserResetButton,
134
+ b as columnMenu,
135
+ ie as columnMenuColumnChooserSelectedItems,
136
+ le as columnMenuColumnChooserTitle,
137
+ Ce as dateFilterAriaLabel,
138
+ X as detailCollapse,
138
139
  Q as detailExpand,
139
- k as editDialogCancelButtonTitle,
140
- N as editDialogSaveButtonTitle,
141
- q as editDialogTitle,
142
- he as expandDetailAriaLabel,
143
- x as exportPDF,
140
+ U as editDialogCancelButtonTitle,
141
+ k as editDialogSaveButtonTitle,
142
+ N as editDialogTitle,
143
+ Le as expandDetailAriaLabel,
144
+ O as exportCSV,
145
+ D as exportPDF,
144
146
  A as filterApplyButton,
145
- U as filterAriaLabel,
146
- O as filterCheckAll,
147
- y as filterChooseOperator,
147
+ W as filterAriaLabel,
148
+ y as filterCheckAll,
149
+ w as filterChooseOperator,
148
150
  f as filterClearAllButton,
149
151
  m as filterClearButton,
150
152
  h as filterResetButton,
151
- w as filterSelectAll,
153
+ E as filterSelectAll,
152
154
  R as filterSelectedItems,
153
155
  L as filterSubmitButton,
154
156
  P as filterTitle,
155
157
  Ie as generatedWithAI,
156
- Y as gridAriaLabel,
157
- _ as gridPinCellAriaLabel,
158
- ee as gridPinToBottom,
159
- $ as gridPinToTop,
160
- Z as gridRowReorderAriaLabel,
161
- re as gridUnpin,
158
+ Z as gridAriaLabel,
159
+ $ as gridPinCellAriaLabel,
160
+ re as gridPinToBottom,
161
+ ee as gridPinToTop,
162
+ _ as gridRowReorderAriaLabel,
163
+ te as gridUnpin,
162
164
  K as groupApplyButton,
163
- me as groupCaretAriaLabelCollapse,
164
- fe as groupCaretAriaLabelExpand,
165
+ fe as groupCaretAriaLabelCollapse,
166
+ he as groupCaretAriaLabelExpand,
165
167
  J as groupClearButton,
166
168
  j as groupCollapse,
167
169
  u as groupColumn,
168
170
  z as groupExpand,
169
- Ae as groupHeaderAriaLabel,
170
- H as groupPanelAriaLabel,
171
+ me as groupHeaderAriaLabel,
172
+ V as groupPanelAriaLabel,
171
173
  c as groupPanelEmpty,
172
- Oe as headerGroupSpacerAccessibleLabel,
174
+ ye as headerGroupSpacerAccessibleLabel,
173
175
  Re as messages,
174
176
  e as noRecords,
175
- W as numericFilterAriaLabel,
177
+ H as numericFilterAriaLabel,
176
178
  o as pagerFirstPage,
177
179
  t as pagerInfo,
178
180
  n as pagerItemPerPage,
@@ -183,27 +185,27 @@ export {
183
185
  g as pagerPageSelection,
184
186
  l as pagerPreviousPage,
185
187
  p as pagerTotalPages,
186
- we as pinnedBottomRowsAriaLabel,
187
- ye as pinnedTopRowsAriaLabel,
188
+ Ee as pinnedBottomRowsAriaLabel,
189
+ we as pinnedTopRowsAriaLabel,
188
190
  F as searchPlaceholder,
189
- D as searchboxPlaceholder,
191
+ x as searchboxPlaceholder,
190
192
  r as selectAllRows,
191
- X as selectRow,
193
+ Y as selectRow,
192
194
  B as sortApplyButton,
193
- E as sortAriaLabel,
194
- T as sortAscending,
195
- S as sortClearButton,
196
- I as sortDescending,
197
- G as sortableColumnAriaLabel,
198
- v as sortableColumnAscendingAriaLabel,
199
- M as sortableColumnDescendingAriaLabel,
195
+ G as sortAriaLabel,
196
+ S as sortAscending,
197
+ I as sortClearButton,
198
+ T as sortDescending,
199
+ v as sortableColumnAriaLabel,
200
+ M as sortableColumnAscendingAriaLabel,
201
+ q as sortableColumnDescendingAriaLabel,
200
202
  be as textFilterAriaLabel,
201
- Pe as toolbarAI,
202
- Se as toolbarAIApply,
203
- xe as toolbarCheckboxFilter,
203
+ Se as toolbarAI,
204
+ Be as toolbarAIApply,
205
+ Oe as toolbarCheckboxFilter,
204
206
  De as toolbarColumnsChooser,
205
- Fe as toolbarFilter,
206
- Be as toolbarGroup,
207
- ce as toolbarSort,
208
- b as ungroupColumn
207
+ xe as toolbarFilter,
208
+ Fe as toolbarGroup,
209
+ ue as toolbarSort,
210
+ C as ungroupColumn
209
211
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-grid",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1778166380,version:"8.3.0",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-grid",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1778509558,version:"8.4.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1778166380,
14
- version: "8.3.0",
13
+ publishDate: 1778509558,
14
+ version: "8.4.0-develop.1",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-grid",
3
- "version": "8.3.0",
3
+ "version": "8.4.0-develop.1",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -24,20 +24,22 @@
24
24
  },
25
25
  "sideEffects": false,
26
26
  "peerDependencies": {
27
+ "@progress/kendo-csv": "^1.0.0",
27
28
  "@progress/kendo-data-query": "^1.7.0",
28
29
  "@progress/kendo-drawing": "^1.21.1",
30
+ "@progress/kendo-file-saver": "^1.1.2",
29
31
  "@progress/kendo-licensing": "^1.7.2",
30
- "@progress/kendo-vue-animation": "8.3.0",
31
- "@progress/kendo-vue-buttons": "8.3.0",
32
- "@progress/kendo-vue-common": "8.3.0",
33
- "@progress/kendo-vue-data-tools": "8.3.0",
34
- "@progress/kendo-vue-dateinputs": "8.3.0",
35
- "@progress/kendo-vue-indicators": "8.3.0",
36
- "@progress/kendo-vue-dropdowns": "8.3.0",
37
- "@progress/kendo-vue-inputs": "8.3.0",
38
- "@progress/kendo-vue-intl": "8.3.0",
39
- "@progress/kendo-vue-popup": "8.3.0",
40
- "@progress/kendo-vue-layout": "8.3.0",
32
+ "@progress/kendo-vue-animation": "8.4.0-develop.1",
33
+ "@progress/kendo-vue-buttons": "8.4.0-develop.1",
34
+ "@progress/kendo-vue-common": "8.4.0-develop.1",
35
+ "@progress/kendo-vue-data-tools": "8.4.0-develop.1",
36
+ "@progress/kendo-vue-dateinputs": "8.4.0-develop.1",
37
+ "@progress/kendo-vue-indicators": "8.4.0-develop.1",
38
+ "@progress/kendo-vue-dropdowns": "8.4.0-develop.1",
39
+ "@progress/kendo-vue-inputs": "8.4.0-develop.1",
40
+ "@progress/kendo-vue-intl": "8.4.0-develop.1",
41
+ "@progress/kendo-vue-popup": "8.4.0-develop.1",
42
+ "@progress/kendo-vue-layout": "8.4.0-develop.1",
41
43
  "@progress/kendo-svg-icons": "^4.4.0",
42
44
  "vue": "^3.0.2"
43
45
  },
@@ -58,7 +60,7 @@
58
60
  "package": {
59
61
  "productName": "Kendo UI for Vue",
60
62
  "productCode": "KENDOUIVUE",
61
- "publishDate": 1778166380,
63
+ "publishDate": 1778509558,
62
64
  "licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/"
63
65
  }
64
66
  },
@@ -0,0 +1,68 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { CompositeFilterDescriptor, GroupDescriptor, SortDescriptor } from '@progress/kendo-data-query';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export interface AutoProcessDataConfig {
13
+ group?: boolean;
14
+ sort?: boolean;
15
+ filter?: boolean;
16
+ search?: boolean;
17
+ page?: boolean;
18
+ }
19
+ /**
20
+ * Normalizes the autoProcessData prop value to a consistent config object.
21
+ * When `true` is passed, returns all options enabled.
22
+ * When an object is passed, returns it as-is.
23
+ * When falsy, returns `undefined`.
24
+ *
25
+ * @param autoProcessData - The autoProcessData prop value (boolean or config object)
26
+ * @returns Normalized config object or undefined
27
+ *
28
+ * @hidden
29
+ */
30
+ export declare const normalizeAutoProcessData: (autoProcessData: boolean | AutoProcessDataConfig | undefined) => AutoProcessDataConfig | undefined;
31
+ /**
32
+ * @hidden
33
+ */
34
+ export interface ProcessDataOptions {
35
+ autoProcessData: AutoProcessDataConfig;
36
+ group?: GroupDescriptor[];
37
+ defaultGroup?: GroupDescriptor[];
38
+ sort?: SortDescriptor[];
39
+ defaultSort?: SortDescriptor[];
40
+ filter?: CompositeFilterDescriptor;
41
+ defaultFilter?: CompositeFilterDescriptor;
42
+ search?: CompositeFilterDescriptor;
43
+ pageable?: boolean | object;
44
+ take?: number;
45
+ skip?: number;
46
+ /** When provided, overrides the computed total in the result. Used internally by the Grid for virtual scrolling scenarios. */
47
+ total?: number;
48
+ isVirtualScroll?: boolean;
49
+ includePaging?: boolean;
50
+ }
51
+ /**
52
+ * @hidden
53
+ */
54
+ export interface ProcessDataResult {
55
+ data: any[];
56
+ total: number;
57
+ }
58
+ /**
59
+ * Processes data based on autoProcessData configuration.
60
+ * Applies grouping, sorting, filtering, and optionally paging.
61
+ *
62
+ * @param data - The raw data array to process
63
+ * @param options - Processing options including autoProcessData config and descriptors
64
+ * @returns Processed data and total count
65
+ *
66
+ * @hidden
67
+ */
68
+ export declare const processData: (data: any[], options: ProcessDataOptions) => ProcessDataResult;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("@progress/kendo-data-query"),y=require("@progress/kendo-vue-data-tools"),F=t=>t===!0?{group:!0,sort:!0,filter:!0,search:!0,page:!0}:t||void 0,T=(t,a)=>{const{autoProcessData:e,group:i,defaultGroup:u,sort:c,defaultSort:l,filter:n,defaultFilter:p,search:d,pageable:o,take:s,skip:f,total:r,isVirtualScroll:g=!1,includePaging:v=!0}=a,D=v&&e.page&&!(g&&!o),k=e.group?i||u:void 0,P=e.sort?c||l:void 0,S=e.filter?n||p:void 0,{data:b,total:m}=h.process(t,{group:k,sort:P,filter:y.combineFilters(S,e.search?d:void 0),...D?{take:o?s||10:s,skip:f||0}:{}});return{data:b,total:r!=null?r:m}};exports.normalizeAutoProcessData=F;exports.processData=T;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { process as S } from "@progress/kendo-data-query";
9
+ import { combineFilters as b } from "@progress/kendo-vue-data-tools";
10
+ const z = (t) => t === !0 ? {
11
+ group: !0,
12
+ sort: !0,
13
+ filter: !0,
14
+ search: !0,
15
+ page: !0
16
+ } : t || void 0, A = (t, a) => {
17
+ const {
18
+ autoProcessData: e,
19
+ group: i,
20
+ defaultGroup: c,
21
+ sort: u,
22
+ defaultSort: l,
23
+ filter: p,
24
+ defaultFilter: f,
25
+ search: n,
26
+ pageable: o,
27
+ take: s,
28
+ skip: d,
29
+ total: r,
30
+ isVirtualScroll: g = !1,
31
+ includePaging: v = !0
32
+ } = a, m = v && e.page && !(g && !o), k = e.group ? i || c : void 0, h = e.sort ? u || l : void 0, D = e.filter ? p || f : void 0, { data: F, total: P } = S(t, {
33
+ group: k,
34
+ sort: h,
35
+ filter: b(D, e.search ? n : void 0),
36
+ ...m ? {
37
+ take: o ? s || 10 : s,
38
+ skip: d || 0
39
+ } : {}
40
+ });
41
+ return {
42
+ data: F,
43
+ total: r != null ? r : P
44
+ };
45
+ };
46
+ export {
47
+ z as normalizeAutoProcessData,
48
+ A as processData
49
+ };