@progress/kendo-vue-grid 7.1.0-develop.7 → 8.0.0-develop.2

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.
@@ -5,25 +5,26 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as A, createVNode as r, isVNode as F } from "vue";
9
- import { normalize as z } from "../interfaces/GridSortSettings.mjs";
10
- import { ColumnResizer as v } from "../drag/ColumnResizer.mjs";
11
- import { ColumnDraggable as B } from "../drag/ColumnDraggable.mjs";
12
- import { GridHeaderCell as K } from "./GridHeaderCell.mjs";
13
- import { ColumnMenu as V } from "../columnMenu/ColumnMenu.mjs";
14
- import { noop as N, templateRendering as T, getListeners as _, Keys as H, hasListener as P, Icon as E } from "@progress/kendo-vue-common";
15
- import { HeaderThElement as q } from "@progress/kendo-vue-data-tools";
16
- import { sortableColumnAriaLabel as S, messages as C, sortableColumnAscendingAriaLabel as y, sortableColumnDescendingAriaLabel as M } from "../messages/main.mjs";
17
- import { provideLocalizationService as G } from "@progress/kendo-vue-intl";
18
- import { sortAscSmallIcon as U, sortDescSmallIcon as J } from "@progress/kendo-svg-icons";
19
- function $(t) {
20
- return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !F(t);
8
+ import { defineComponent as _, createVNode as r, isVNode as P } from "vue";
9
+ import { normalize as q } from "../interfaces/GridSortSettings.mjs";
10
+ import { ColumnResizer as E } from "../drag/ColumnResizer.mjs";
11
+ import { ColumnDraggable as G } from "../drag/ColumnDraggable.mjs";
12
+ import { GridHeaderCell as U } from "./GridHeaderCell.mjs";
13
+ import { ColumnMenu as J } from "../columnMenu/ColumnMenu.mjs";
14
+ import { noop as Q, templateRendering as W, getListeners as X, Keys as M, hasListener as Y, Icon as Z } from "@progress/kendo-vue-common";
15
+ import { HeaderThElement as ee } from "@progress/kendo-vue-data-tools";
16
+ import { sortableColumnAriaLabel as O, messages as k, sortableColumnAscendingAriaLabel as I, sortableColumnDescendingAriaLabel as z } from "../messages/main.mjs";
17
+ import { provideLocalizationService as ne } from "@progress/kendo-vue-intl";
18
+ import { sortAscSmallIcon as te, sortDescSmallIcon as le } from "@progress/kendo-svg-icons";
19
+ import { getVirtualHeaderCellsToRender as re } from "../utils/virtualColumns.mjs";
20
+ function H(n) {
21
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !P(n);
21
22
  }
22
- const k = {
23
+ const S = {
23
24
  none: "none",
24
25
  asc: "ascending",
25
26
  desc: "descending"
26
- }, Q = {
27
+ }, oe = {
27
28
  true: {
28
29
  asc: "desc",
29
30
  desc: "",
@@ -34,7 +35,7 @@ const k = {
34
35
  desc: "asc",
35
36
  "": "asc"
36
37
  }
37
- }, ae = /* @__PURE__ */ A({
38
+ }, $e = /* @__PURE__ */ _({
38
39
  name: "KendoHeaderRow",
39
40
  props: {
40
41
  grid: Object,
@@ -51,6 +52,8 @@ const k = {
51
52
  filterChange: Function,
52
53
  filterRow: Object,
53
54
  columns: Array,
55
+ cellsToRender: Array,
56
+ columnVirtualization: Boolean,
54
57
  columnsMap: Array,
55
58
  columnResize: Object,
56
59
  columnMenu: [Boolean, String, Function, Object],
@@ -75,7 +78,7 @@ const k = {
75
78
  },
76
79
  inject: {
77
80
  onNavFocus: {
78
- default: N
81
+ default: Q
79
82
  },
80
83
  kendoLocalizationService: {
81
84
  default: null
@@ -90,51 +93,51 @@ const k = {
90
93
  this.serviceIndex = 0, this.index = -1, this._element = null, this.cellClick = this.cellClick.bind(this);
91
94
  },
92
95
  methods: {
93
- pressHandler(t, n) {
94
- this.$emit("pressHandler", t, n);
96
+ pressHandler(n, t) {
97
+ this.$emit("pressHandler", n, t);
95
98
  },
96
- dragHandler(t, n) {
97
- this.$emit("dragHandler", t, n);
99
+ dragHandler(n, t) {
100
+ this.$emit("dragHandler", n, t);
98
101
  },
99
- releaseHandler(t) {
100
- this.$emit("releaseHandler", t);
102
+ releaseHandler(n) {
103
+ this.$emit("releaseHandler", n);
101
104
  },
102
- selectionChangeHandler(t) {
103
- this.$emit("selectionchange", t);
105
+ selectionChangeHandler(n) {
106
+ this.$emit("selectionchange", n);
104
107
  },
105
- cellClick(t, n) {
106
- if (t.preventDefault(), !P.call(this, "sortChange"))
108
+ cellClick(n, t) {
109
+ if (n.preventDefault(), !Y.call(this, "sortChange"))
107
110
  return;
108
111
  const {
109
112
  allowUnsort: u,
110
113
  mode: h
111
- } = z(this.$props.sortable || !1, n.sortable || !1), o = (this.$props.sort || []).filter((a) => a.field === n.field)[0], s = Q[u][o && o.dir || ""], i = h === "single" ? [] : (this.$props.sort || []).filter((a) => a.field !== n.field);
112
- s !== "" && n.field && i.push({
113
- field: n.field,
114
- dir: s
115
- }), this.sortChangeHandler(i, {
116
- event: t,
117
- field: n.field
114
+ } = q(this.$props.sortable || !1, t.sortable || !1), s = (this.$props.sort || []).filter((o) => o.field === t.field)[0], c = oe[u][s && s.dir || ""], f = h === "single" ? [] : (this.$props.sort || []).filter((o) => o.field !== t.field);
115
+ c !== "" && t.field && f.push({
116
+ field: t.field,
117
+ dir: c
118
+ }), this.sortChangeHandler(f, {
119
+ event: n,
120
+ field: t.field
118
121
  });
119
122
  },
120
- sortChangeHandler(t, n) {
121
- this.$emit("sortChange", t, n);
123
+ sortChangeHandler(n, t) {
124
+ this.$emit("sortChange", n, t);
122
125
  },
123
- filterChangeHandler(t, n) {
124
- this.$emit("filterChange", t, n);
126
+ filterChangeHandler(n, t) {
127
+ this.$emit("filterChange", n, t);
125
128
  },
126
- cellClass(t, n, u) {
127
- const h = n ? " " + n : "";
128
- let o = "k-header" + (u ? " k-grid-header-sticky" : "") + h;
129
- return this.$props.sort && this.$props.sort.filter((s) => s.field === t).length > 0 && (o += " k-sorted"), o;
129
+ cellClass(n, t, u) {
130
+ const h = t ? " " + t : "";
131
+ let s = "k-header" + (u ? " k-grid-header-sticky" : "") + h;
132
+ return this.$props.sort && this.$props.sort.filter((c) => c.field === n).length > 0 && (s += " k-sorted"), s;
130
133
  },
131
- cellKeyDown(t, n) {
132
- t.defaultPrevented || (t.keyCode === H.enter && this.cellClick(t, n), t.altKey && t.keyCode === H.down && n.field && (t.preventDefault(), this.columnMenuOpened = {
133
- [n.field]: !0
134
+ cellKeyDown(n, t) {
135
+ n.defaultPrevented || (n.keyCode === M.enter && this.cellClick(n, t), n.altKey && n.keyCode === M.down && t.field && (n.preventDefault(), this.columnMenuOpened = {
136
+ [t.field]: !0
134
137
  }));
135
138
  },
136
- getTemplate(t) {
137
- return T.call(this.$props.grid, t, _.call(this.$props.grid));
139
+ getTemplate(n) {
140
+ return W.call(this.$props.grid, n, X.call(this.$props.grid));
138
141
  },
139
142
  columnMenuClose() {
140
143
  this.onNavFocus({}), this.columnMenuOpened = {};
@@ -150,70 +153,77 @@ const k = {
150
153
  };
151
154
  }
152
155
  },
153
- render(t) {
154
- const n = G(this), u = n.toLanguageString(S, C[S]), h = n.toLanguageString(y, C[y]), o = n.toLanguageString(M, C[M]);
156
+ render() {
157
+ const n = ne(this), t = n.toLanguageString(O, k[O]), u = n.toLanguageString(I, k[I]), h = n.toLanguageString(z, k[z]);
155
158
  this.serviceIndex = 0, this.index = -1;
156
- const s = function(i) {
157
- return i.map(function(a) {
158
- const e = this.$props.columns[a], f = this.$props.sortable && e.sortable, g = this.$props.sort ? this.$props.sort.findIndex((l) => l.field === e.field) : -1, b = g >= 0 && this.$props.sort[g].dir || "none", d = function(l) {
159
+ const s = this.$props.columnsMap && this.$props.columnsMap.length === 1, c = this.$props.columnVirtualization && s, f = function(o, m) {
160
+ const i = re({
161
+ cellsToRender: this.$props.cellsToRender || [],
162
+ columns: this.$props.columns,
163
+ rowIndex: m,
164
+ enableVirtualization: c
165
+ }), R = i.columnsToRender.length > 0, L = R ? i.columnsToRender : o, w = R ? i.colSpans : [];
166
+ return L.map(function(A, D) {
167
+ var y;
168
+ const e = this.$props.columns[A], g = this.$props.sortable && e.sortable, C = this.$props.sort ? this.$props.sort.findIndex((l) => l.field === e.field) : -1, $ = C >= 0 && this.$props.sort[C].dir || "none", d = function(l) {
159
169
  if (!this.$props.sort)
160
170
  return null;
161
- const m = l >= 0 ? this.$props.sort[l].dir : "";
171
+ const b = l >= 0 ? this.$props.sort[l].dir : "";
162
172
  return l >= 0 && [r("span", {
163
173
  key: 1,
164
174
  class: "k-sort-icon"
165
- }, [r(E, {
166
- name: "sort-" + m + "-small",
167
- icon: m === "asc" ? U : J
175
+ }, [r(Z, {
176
+ name: "sort-" + b + "-small",
177
+ icon: b === "asc" ? te : le
168
178
  }, null)]), this.$props.sort.length > 1 && r("span", {
169
179
  key: 2,
170
180
  class: "k-sort-icon"
171
181
  }, [r("span", {
172
182
  class: "k-sort-order"
173
183
  }, [l + 1])])];
174
- }.call(this, g), c = e.columnMenu || e.columnMenu === !1 ? e.columnMenu : this.$props.columnMenu, R = e.menuIcon || this.$props.columnMenuIcon, O = (e.kFirst ? "k-first " : "") + this.cellClass(e.field, e.headerClassName, e.locked) + (c ? " k-filterable" : ""), I = !c || typeof c == "boolean" ? !!c : this.getTemplate(c), L = e.left !== void 0 ? this.$props.isRtl ? {
184
+ }.call(this, C), a = e.columnMenu || e.columnMenu === !1 ? e.columnMenu : this.$props.columnMenu, j = e.menuIcon || this.$props.columnMenuIcon, x = (e.kFirst ? "k-first " : "") + this.cellClass(e.field, e.headerClassName, e.locked) + (a ? " k-filterable" : ""), F = !a || typeof a == "boolean" ? !!a : this.getTemplate(a), v = e.locked && e.left !== void 0 ? this.$props.isRtl ? {
175
185
  left: e.right + "px",
176
186
  right: e.left + "px"
177
187
  } : {
178
188
  left: e.left + "px",
179
189
  right: e.right + "px"
180
- } : {}, D = k[b] === "none" ? u : k[b] === "ascending" ? h : o;
190
+ } : void 0, T = S[$] === "none" ? t : S[$] === "ascending" ? u : h;
181
191
  let p = e.isAccessible ? {
182
- ariaSort: k[b],
183
- ariaLabel: D,
192
+ ariaSort: S[$],
193
+ ariaLabel: T,
184
194
  role: "columnheader",
185
195
  ariaColumnIndex: this.$props.isColCountDefined ? this.$props.columnsInitial.findIndex((l) => l.field === e.field) + 1 : void 0,
186
196
  ariaSelected: !1,
187
- ariaHaspopup: c ? "menu" : this.$props.filterable && e.filterable ? "dialog" : void 0
197
+ ariaHaspopup: a ? "menu" : this.$props.filterable && e.filterable ? "dialog" : void 0
188
198
  } : {
189
199
  role: "columnheader"
190
200
  };
191
- const j = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, w = e.columnMenuOpened !== void 0 ? e.columnMenuOpened : this.columnMenuOpened[e.field];
192
- return r(q, {
193
- ariaSort: f ? p.ariaSort : void 0,
194
- ariaLabel: f ? p.ariaLabel : void 0,
201
+ const V = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, B = e.columnMenuOpened !== void 0 ? e.columnMenuOpened : this.columnMenuOpened[e.field], K = (y = w[D]) != null ? y : e.headerColSpan;
202
+ return r(ee, {
203
+ ariaSort: g ? p.ariaSort : void 0,
204
+ ariaLabel: g ? p.ariaLabel : void 0,
195
205
  role: p.role,
196
206
  ariaColumnIndex: p.ariaColumnIndex,
197
207
  ariaSelected: p.ariaSelected,
198
208
  ariaHaspopup: p.ariaHaspopup,
199
- key: j,
200
- colSpan: e.headerColSpan,
209
+ key: V,
210
+ colSpan: K,
201
211
  rowSpan: e.rowSpan,
202
- class: O,
203
- style: L,
212
+ class: x,
213
+ style: v,
204
214
  columnId: e.id,
205
215
  navigatable: e.navigatable,
206
216
  onKeydown: (l) => this.cellKeyDown(l, e)
207
217
  }, {
208
- default: () => [[e.children.length === 0 && c && r(V, {
218
+ default: () => [[e.children.length === 0 && a && r(J, {
209
219
  key: 0,
210
220
  column: {
211
221
  field: e.field,
212
222
  filter: e.filter
213
223
  },
214
- opened: w,
224
+ opened: B,
215
225
  animate: this.$props.columnMenuAnimate,
216
- sortable: f,
226
+ sortable: g,
217
227
  sort: this.$props.sort,
218
228
  onClose: this.columnMenuClose,
219
229
  onSortchange: this.sortChangeHandler,
@@ -221,36 +231,36 @@ const k = {
221
231
  filterable: this.$props.filterable && e.filterable,
222
232
  filterOperators: this.$props.filterOperators,
223
233
  onFilterchange: this.filterChangeHandler,
224
- render: I,
225
- columnMenuIcon: R
234
+ render: F,
235
+ columnMenuIcon: j
226
236
  }, null), e.internalHeaderCell && r("span", {
227
237
  class: "k-cell-inner"
228
238
  }, [r(e.internalHeaderCell, {
229
239
  key: 1,
230
240
  field: e.field,
231
- sortable: f,
241
+ sortable: g,
232
242
  onHeadercellclick: (l) => this.cellClick(l, e),
233
243
  onSelectionchange: this.selectionChangeHandler,
234
244
  selectionValue: e.headerSelectionValue,
235
245
  title: e.title,
236
246
  render: (e.headerCell || this.$props.cellRender) && this.getTemplate(e.headerCell || this.$props.cellRender)
237
- }, $(d) ? d : {
247
+ }, H(d) ? d : {
238
248
  default: () => [d]
239
249
  })]) || r("span", {
240
250
  class: "k-cell-inner"
241
- }, [r(K, {
251
+ }, [r(U, {
242
252
  key: 1,
243
253
  field: e.field,
244
- sortable: f,
254
+ sortable: g,
245
255
  onHeadercellclick: (l) => this.cellClick(l, e),
246
256
  selectionValue: e.headerSelectionValue,
247
257
  title: e.title,
248
258
  render: (e.headerCell || this.$props.cellRender) && this.getTemplate(e.headerCell || this.$props.cellRender)
249
- }, $(d) ? d : {
259
+ }, H(d) ? d : {
250
260
  default: () => [d]
251
- })]), this.$props.columnResize && this.$props.columnResize.resizable && e.resizable && r(v, {
261
+ })]), this.$props.columnResize && this.$props.columnResize.resizable && e.resizable && r(E, {
252
262
  key: 2,
253
- onResize: (l, m, x) => this.$props.columnResize && this.$props.columnResize.dragHandler(l, e, m, x)
263
+ onResize: (l, b, N) => this.$props.columnResize && this.$props.columnResize.dragHandler(l, e, b, N)
254
264
  }, null)]]
255
265
  });
256
266
  }, this);
@@ -259,23 +269,23 @@ const k = {
259
269
  role: "rowgroup",
260
270
  class: this.theadClasses,
261
271
  "data-keyboardnavheader": !0
262
- }, [this.$props.columnsMap.map(function(i, a) {
263
- let e;
264
- return (this.$props.groupable || this.$props.reorderable) && r(B, {
265
- key: a,
272
+ }, [this.$props.columnsMap.map(function(o, m) {
273
+ let i;
274
+ return (this.$props.groupable || this.$props.reorderable) && r(G, {
275
+ key: m,
266
276
  onPressHandler: this.pressHandler,
267
277
  onDragHandler: this.dragHandler,
268
278
  onReleaseHandler: this.releaseHandler
269
- }, $(e = s.call(this, i)) ? e : {
270
- default: () => [e]
279
+ }, H(i = f.call(this, o, m)) ? i : {
280
+ default: () => [i]
271
281
  }) || r("tr", {
272
282
  class: "k-table-row",
273
283
  role: "row",
274
284
  "aria-rowindex": this.columnsMap.length
275
- }, [s.call(this, i)]);
285
+ }, [f.call(this, o, m)]);
276
286
  }, this), this.$props.filterRow]);
277
287
  }
278
288
  });
279
289
  export {
280
- ae as HeaderRow
290
+ $e as HeaderRow
281
291
  };
package/index.d.mts CHANGED
@@ -190,9 +190,6 @@ rowIndex: PropType<number>;
190
190
  columnStyles(column: ExtendedColumnProps): {
191
191
  left: string;
192
192
  right: string;
193
- } | {
194
- left?: undefined;
195
- right?: undefined;
196
193
  };
197
194
  }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
198
195
  isRtl: PropType<boolean>;
@@ -294,7 +291,7 @@ showLoader: {
294
291
  type: PropType<boolean>;
295
292
  default: any;
296
293
  };
297
- loader: PropType<string | boolean | Object | Function>;
294
+ loader: PropType<string | Object | Function>;
298
295
  defaultFilter: PropType<CompositeFilterDescriptor>;
299
296
  filter: PropType<CompositeFilterDescriptor>;
300
297
  defaultSearch: PropType<CompositeFilterDescriptor>;
@@ -326,8 +323,8 @@ defaultGroup: PropType<GroupDescriptor[]>;
326
323
  groupable: PropType<boolean | GridGroupableSettings_2>;
327
324
  groupExpand: PropType<GroupExpandDescriptor[]>;
328
325
  defaultGroupExpand: PropType<GroupExpandDescriptor[]>;
329
- detailExpand: PropType<GroupExpandDescriptor>;
330
- defaultDetailExpand: PropType<GroupExpandDescriptor>;
326
+ detailExpand: PropType<DetailExpandDescriptor>;
327
+ defaultDetailExpand: PropType<DetailExpandDescriptor>;
331
328
  editField: PropType<string>;
332
329
  rowClass: PropType<Function>;
333
330
  scrollable: {
@@ -476,7 +473,7 @@ showLoader: {
476
473
  type: PropType<boolean>;
477
474
  default: any;
478
475
  };
479
- loader: PropType<string | boolean | Object | Function>;
476
+ loader: PropType<string | Object | Function>;
480
477
  defaultFilter: PropType<CompositeFilterDescriptor>;
481
478
  filter: PropType<CompositeFilterDescriptor>;
482
479
  defaultSearch: PropType<CompositeFilterDescriptor>;
@@ -508,8 +505,8 @@ defaultGroup: PropType<GroupDescriptor[]>;
508
505
  groupable: PropType<boolean | GridGroupableSettings_2>;
509
506
  groupExpand: PropType<GroupExpandDescriptor[]>;
510
507
  defaultGroupExpand: PropType<GroupExpandDescriptor[]>;
511
- detailExpand: PropType<GroupExpandDescriptor>;
512
- defaultDetailExpand: PropType<GroupExpandDescriptor>;
508
+ detailExpand: PropType<DetailExpandDescriptor>;
509
+ defaultDetailExpand: PropType<DetailExpandDescriptor>;
513
510
  editField: PropType<string>;
514
511
  rowClass: PropType<Function>;
515
512
  scrollable: {
@@ -2600,7 +2597,7 @@ export declare interface GridProps {
2600
2597
  * <Grid :detail-expand="{ 1: true, 3: true }" />
2601
2598
  * ```
2602
2599
  */
2603
- detailExpand?: GroupExpandDescriptor;
2600
+ detailExpand?: DetailExpandDescriptor;
2604
2601
  /**
2605
2602
  * The default `detailExpand` state applied to the Grid when using uncontrolled mode.
2606
2603
  *
@@ -2609,7 +2606,7 @@ export declare interface GridProps {
2609
2606
  * <Grid :default-detail-expand="{ 2: true, 4: true }" />
2610
2607
  * ```
2611
2608
  */
2612
- defaultDetailExpand?: GroupExpandDescriptor;
2609
+ defaultDetailExpand?: DetailExpandDescriptor;
2613
2610
  /**
2614
2611
  * Fires when the user expands or collapses a detail row.
2615
2612
  */
@@ -2688,7 +2685,7 @@ export declare interface GridProps {
2688
2685
  */
2689
2686
  defaultSkip?: number;
2690
2687
  /**
2691
- * Fires when the user tries to expand or collapse a row.
2688
+ * Deprecated. Use 'onDetailexpandchange' or 'onGroupexpandchange' instead.
2692
2689
  */
2693
2690
  onExpandchange?: (event: GridExpandChangeEvent) => void;
2694
2691
  /**
@@ -2813,7 +2810,7 @@ export declare interface GridProps {
2813
2810
  */
2814
2811
  rowHeight?: number;
2815
2812
  /**
2816
- * @hidden
2813
+ * Defines the height of the detail row and forces an equal height to all detail rows
2817
2814
  */
2818
2815
  detailRowHeight?: number;
2819
2816
  /**
@@ -2881,9 +2878,12 @@ export declare interface GridProps {
2881
2878
  */
2882
2879
  showLoader?: boolean;
2883
2880
  /**
2884
- * Defines if the loader will be shown. Defaults to `false`. Accepts a slot name, a `render` function, or a Vue component.
2881
+ *
2882
+ * The boolean option is `Deprecated`. Use 'showLoader' instead.
2883
+ *
2884
+ * Defines if the loader will be shown. Accepts a slot name, a `render` function, or a Vue component.
2885
2885
  */
2886
- loader?: boolean | Object | Function | string;
2886
+ loader?: Object | Function | string;
2887
2887
  /**
2888
2888
  * Defines the custom rendering of the pager. Accepts a slot name, a `render` function, or a Vue component.
2889
2889
  */
@@ -2899,26 +2899,26 @@ export declare interface GridProps {
2899
2899
  */
2900
2900
  navigatable?: boolean;
2901
2901
  /**
2902
- * Passes the number of cached top items needed for the grouping virtualization scenario. Defaults to 4.
2902
+ * Deprecated. Not needed any more.
2903
2903
  */
2904
2904
  topCacheCount?: number;
2905
2905
  /**
2906
- * Passes the calculated height of all the items in the Grid grouped hierarchy.
2906
+ * Deprecated. Not needed any more.
2907
2907
  */
2908
2908
  totalGroupedHeight?: number;
2909
2909
  /**
2910
- * Passes the collection of all grouped items that is needed for the virtualization scenario.
2910
+ * Deprecated. Not needed any more.
2911
2911
  */
2912
2912
  allGroupedItems?: DataResult | null;
2913
2913
  /**
2914
2914
  *
2915
- *`obsolete` Will be removed in the next major release. Use 'groupExpand' instead.
2915
+ *`Deprecated` Use 'groupExpand' instead.
2916
2916
  *
2917
2917
  * Passes the collection of all collapsed groups for every grouped level.
2918
2918
  */
2919
2919
  collapsedGroups?: any[][];
2920
2920
  /**
2921
- * Specifies the name of the field which will provide a unique for every item identifier.
2921
+ * Deprecated. Not needed any more. Use 'dataItemKey' instead.
2922
2922
  */
2923
2923
  uniqueField?: string;
2924
2924
  /**
@@ -3271,6 +3271,7 @@ export declare function mapColumns(columns: Array<{
3271
3271
  right: number;
3272
3272
  rightBorder: boolean;
3273
3273
  ariaColumnIndex: number;
3274
+ virtualColumnOffset?: number;
3274
3275
  }>, changedColumnLength?: boolean): number[][];
3275
3276
 
3276
3277
  /**
package/index.d.ts CHANGED
@@ -190,9 +190,6 @@ rowIndex: PropType<number>;
190
190
  columnStyles(column: ExtendedColumnProps): {
191
191
  left: string;
192
192
  right: string;
193
- } | {
194
- left?: undefined;
195
- right?: undefined;
196
193
  };
197
194
  }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
198
195
  isRtl: PropType<boolean>;
@@ -294,7 +291,7 @@ showLoader: {
294
291
  type: PropType<boolean>;
295
292
  default: any;
296
293
  };
297
- loader: PropType<string | boolean | Object | Function>;
294
+ loader: PropType<string | Object | Function>;
298
295
  defaultFilter: PropType<CompositeFilterDescriptor>;
299
296
  filter: PropType<CompositeFilterDescriptor>;
300
297
  defaultSearch: PropType<CompositeFilterDescriptor>;
@@ -326,8 +323,8 @@ defaultGroup: PropType<GroupDescriptor[]>;
326
323
  groupable: PropType<boolean | GridGroupableSettings_2>;
327
324
  groupExpand: PropType<GroupExpandDescriptor[]>;
328
325
  defaultGroupExpand: PropType<GroupExpandDescriptor[]>;
329
- detailExpand: PropType<GroupExpandDescriptor>;
330
- defaultDetailExpand: PropType<GroupExpandDescriptor>;
326
+ detailExpand: PropType<DetailExpandDescriptor>;
327
+ defaultDetailExpand: PropType<DetailExpandDescriptor>;
331
328
  editField: PropType<string>;
332
329
  rowClass: PropType<Function>;
333
330
  scrollable: {
@@ -476,7 +473,7 @@ showLoader: {
476
473
  type: PropType<boolean>;
477
474
  default: any;
478
475
  };
479
- loader: PropType<string | boolean | Object | Function>;
476
+ loader: PropType<string | Object | Function>;
480
477
  defaultFilter: PropType<CompositeFilterDescriptor>;
481
478
  filter: PropType<CompositeFilterDescriptor>;
482
479
  defaultSearch: PropType<CompositeFilterDescriptor>;
@@ -508,8 +505,8 @@ defaultGroup: PropType<GroupDescriptor[]>;
508
505
  groupable: PropType<boolean | GridGroupableSettings_2>;
509
506
  groupExpand: PropType<GroupExpandDescriptor[]>;
510
507
  defaultGroupExpand: PropType<GroupExpandDescriptor[]>;
511
- detailExpand: PropType<GroupExpandDescriptor>;
512
- defaultDetailExpand: PropType<GroupExpandDescriptor>;
508
+ detailExpand: PropType<DetailExpandDescriptor>;
509
+ defaultDetailExpand: PropType<DetailExpandDescriptor>;
513
510
  editField: PropType<string>;
514
511
  rowClass: PropType<Function>;
515
512
  scrollable: {
@@ -2600,7 +2597,7 @@ export declare interface GridProps {
2600
2597
  * <Grid :detail-expand="{ 1: true, 3: true }" />
2601
2598
  * ```
2602
2599
  */
2603
- detailExpand?: GroupExpandDescriptor;
2600
+ detailExpand?: DetailExpandDescriptor;
2604
2601
  /**
2605
2602
  * The default `detailExpand` state applied to the Grid when using uncontrolled mode.
2606
2603
  *
@@ -2609,7 +2606,7 @@ export declare interface GridProps {
2609
2606
  * <Grid :default-detail-expand="{ 2: true, 4: true }" />
2610
2607
  * ```
2611
2608
  */
2612
- defaultDetailExpand?: GroupExpandDescriptor;
2609
+ defaultDetailExpand?: DetailExpandDescriptor;
2613
2610
  /**
2614
2611
  * Fires when the user expands or collapses a detail row.
2615
2612
  */
@@ -2688,7 +2685,7 @@ export declare interface GridProps {
2688
2685
  */
2689
2686
  defaultSkip?: number;
2690
2687
  /**
2691
- * Fires when the user tries to expand or collapse a row.
2688
+ * Deprecated. Use 'onDetailexpandchange' or 'onGroupexpandchange' instead.
2692
2689
  */
2693
2690
  onExpandchange?: (event: GridExpandChangeEvent) => void;
2694
2691
  /**
@@ -2813,7 +2810,7 @@ export declare interface GridProps {
2813
2810
  */
2814
2811
  rowHeight?: number;
2815
2812
  /**
2816
- * @hidden
2813
+ * Defines the height of the detail row and forces an equal height to all detail rows
2817
2814
  */
2818
2815
  detailRowHeight?: number;
2819
2816
  /**
@@ -2881,9 +2878,12 @@ export declare interface GridProps {
2881
2878
  */
2882
2879
  showLoader?: boolean;
2883
2880
  /**
2884
- * Defines if the loader will be shown. Defaults to `false`. Accepts a slot name, a `render` function, or a Vue component.
2881
+ *
2882
+ * The boolean option is `Deprecated`. Use 'showLoader' instead.
2883
+ *
2884
+ * Defines if the loader will be shown. Accepts a slot name, a `render` function, or a Vue component.
2885
2885
  */
2886
- loader?: boolean | Object | Function | string;
2886
+ loader?: Object | Function | string;
2887
2887
  /**
2888
2888
  * Defines the custom rendering of the pager. Accepts a slot name, a `render` function, or a Vue component.
2889
2889
  */
@@ -2899,26 +2899,26 @@ export declare interface GridProps {
2899
2899
  */
2900
2900
  navigatable?: boolean;
2901
2901
  /**
2902
- * Passes the number of cached top items needed for the grouping virtualization scenario. Defaults to 4.
2902
+ * Deprecated. Not needed any more.
2903
2903
  */
2904
2904
  topCacheCount?: number;
2905
2905
  /**
2906
- * Passes the calculated height of all the items in the Grid grouped hierarchy.
2906
+ * Deprecated. Not needed any more.
2907
2907
  */
2908
2908
  totalGroupedHeight?: number;
2909
2909
  /**
2910
- * Passes the collection of all grouped items that is needed for the virtualization scenario.
2910
+ * Deprecated. Not needed any more.
2911
2911
  */
2912
2912
  allGroupedItems?: DataResult | null;
2913
2913
  /**
2914
2914
  *
2915
- *`obsolete` Will be removed in the next major release. Use 'groupExpand' instead.
2915
+ *`Deprecated` Use 'groupExpand' instead.
2916
2916
  *
2917
2917
  * Passes the collection of all collapsed groups for every grouped level.
2918
2918
  */
2919
2919
  collapsedGroups?: any[][];
2920
2920
  /**
2921
- * Specifies the name of the field which will provide a unique for every item identifier.
2921
+ * Deprecated. Not needed any more. Use 'dataItemKey' instead.
2922
2922
  */
2923
2923
  uniqueField?: string;
2924
2924
  /**
@@ -3271,6 +3271,7 @@ export declare function mapColumns(columns: Array<{
3271
3271
  right: number;
3272
3272
  rightBorder: boolean;
3273
3273
  ariaColumnIndex: number;
3274
+ virtualColumnOffset?: number;
3274
3275
  }>, changedColumnLength?: boolean): number[][];
3275
3276
 
3276
3277
  /**
@@ -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: 1770355607,version:"7.1.0-develop.7",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: 1770620929,version:"8.0.0-develop.2",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: 1770355607,
14
- version: "7.1.0-develop.7",
13
+ publishDate: 1770620929,
14
+ version: "8.0.0-develop.2",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/"
16
16
  };
17
17
  export {