@progress/kendo-vue-grid 10.2.0-develop.9 → 11.0.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/RootGrid.js CHANGED
@@ -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 u=require("vue"),R=require("./Grid.js"),G=require("./GridState.js"),O=require("./common.js"),n=require("@progress/kendo-vue-common"),x=u.defineComponent({name:"KendoVueGrid",props:O.gridProps,setup(e,{expose:t}){const o=u.ref(null);t({get element(){var a;return((a=o.value)==null?void 0:a.element)||null},get props(){return e},get columns(){var a;return((a=o.value)==null?void 0:a.columns)||[]},scrollIntoView:a=>{var s;(s=o.value)==null||s.scrollIntoView(a)},fitColumns:a=>{var s;(s=o.value)==null||s.fitColumns(a)},exportAsPdf:()=>{var a;(a=o.value)==null||a.exportAsPdf()}})},methods:{transformTemplate(e,t){return e?n.templateRendering.call(this,e,t):void 0},transformGroupTemplates(e,t){if(e)return{groupHeader:this.transformTemplate(e.groupHeader,t),data:this.transformTemplate(e.data,t),groupFooter:this.transformTemplate(e.groupFooter,t)}},transformCellTemplates(e,t){if(e)return{headerCell:this.transformTemplate(e.headerCell,t),filterCell:this.transformTemplate(e.filterCell,t),footerCell:this.transformTemplate(e.footerCell,t),groupHeader:this.transformTemplate(e.groupHeader,t),data:this.transformTemplate(e.data,t),groupFooter:this.transformTemplate(e.groupFooter,t),select:this.transformGroupTemplates(e.select,t),hierarchy:this.transformGroupTemplates(e.hierarchy,t),group:this.transformGroupTemplates(e.group,t),edit:e.edit?{text:this.transformTemplate(e.edit.text,t),numeric:this.transformTemplate(e.edit.numeric,t),boolean:this.transformTemplate(e.edit.boolean,t),date:this.transformTemplate(e.edit.date,t)}:void 0}},transformRowTemplates(e,t){if(e)return{groupHeader:this.transformTemplate(e.groupHeader,t),data:this.transformTemplate(e.data,t),groupFooter:this.transformTemplate(e.groupFooter,t),pinnedData:this.transformTemplate(e.pinnedData,t)}}},computed:{columnsWithTemplates(){const e=n.getListeners.call(this);return n.mapTree(this.$props.columns||[],"children",t=>{const o={...t};return{...o,cell:this.transformTemplate(o.cell,e),headerCell:this.transformTemplate(o.headerCell,e),filterCell:this.transformTemplate(o.filterCell,e),footerCell:this.transformTemplate(o.footerCell,e),columnMenu:o.columnMenu===!1?!1:this.transformTemplate(o.columnMenu,e),cells:this.transformCellTemplates(o.cells,e)}})},cellsWithTemplates(){const e=n.getListeners.call(this);return this.transformCellTemplates(this.$props.cells,e)},rowsWithTemplates(){const e=n.getListeners.call(this);return this.transformRowTemplates(this.$props.rows,e)}},render(){const e=n.getDefaultSlots(this)||[],t=n.getListeners.call(this),o=e.filter(r=>{var m,l,p;return(r==null?void 0:r.tag)&&r.tag.toLowerCase().indexOf("toolbar")!==-1||(r==null?void 0:r.componentOptions)&&((m=r.componentOptions.tag)==null?void 0:m.toLowerCase().indexOf("toolbar"))!==-1||((p=(l=r==null?void 0:r.type)==null?void 0:l.name)==null?void 0:p.toLowerCase().indexOf("toolbar"))!==-1}),a=e.filter(r=>{var m,l,p;return(r==null?void 0:r.tag)&&r.tag.toLowerCase().indexOf("records")!==-1||(r==null?void 0:r.componentOptions)&&((m=r.componentOptions.tag)==null?void 0:m.toLowerCase().indexOf("records"))!==-1||((p=(l=r==null?void 0:r.type)==null?void 0:l.name)==null?void 0:p.toLowerCase().indexOf("records"))!==-1}),{cellRender:s,columnMenu:f,detail:d,columns:L,rowRender:T,pager:h,loader:g,rows:b,...i}=this.$props,c=this.columnsWithTemplates,C=this.cellsWithTemplates,w=this.rowsWithTemplates;return u.createVNode(G.GridStateProvider,i,{default:()=>[u.createVNode(R.Grid,u.mergeProps(i,t,{class:this.$attrs.class,style:this.$attrs.style,columns:c,cells:C,rows:w,cellRender:this.transformTemplate(s,t),columnMenu:this.transformTemplate(f,t),rowRender:this.transformTemplate(T,t),pager:this.transformTemplate(h,t),loader:this.transformTemplate(g,t),detail:this.transformTemplate(d,t),toolbar:o,noRecords:a}),null)]})}});exports.RootGrid=x;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),R=require("./Grid.js"),G=require("./GridState.js"),O=require("./common.js"),n=require("@progress/kendo-vue-common"),L=u.defineComponent({name:"KendoVueGrid",props:O.gridProps,setup(e,{expose:t}){const o=u.ref(null);return t({get element(){var a;return((a=o.value)==null?void 0:a.getElement())||null},get props(){return e},get columns(){var a;return((a=o.value)==null?void 0:a.getColumns())||[]},scrollIntoView:a=>{var s;(s=o.value)==null||s.scrollIntoView(a)},fitColumns:a=>{var s;(s=o.value)==null||s.fitColumns(a)}}),{gridRef:o}},methods:{transformTemplate(e,t){return e?n.templateRendering.call(this,e,t):void 0},transformGroupTemplates(e,t){if(e)return{groupHeader:this.transformTemplate(e.groupHeader,t),data:this.transformTemplate(e.data,t),groupFooter:this.transformTemplate(e.groupFooter,t)}},transformCellTemplates(e,t){if(e)return{headerCell:this.transformTemplate(e.headerCell,t),filterCell:this.transformTemplate(e.filterCell,t),footerCell:this.transformTemplate(e.footerCell,t),groupHeader:this.transformTemplate(e.groupHeader,t),data:this.transformTemplate(e.data,t),groupFooter:this.transformTemplate(e.groupFooter,t),select:this.transformGroupTemplates(e.select,t),hierarchy:this.transformGroupTemplates(e.hierarchy,t),group:this.transformGroupTemplates(e.group,t),edit:e.edit?{text:this.transformTemplate(e.edit.text,t),numeric:this.transformTemplate(e.edit.numeric,t),boolean:this.transformTemplate(e.edit.boolean,t),date:this.transformTemplate(e.edit.date,t)}:void 0}},transformRowTemplates(e,t){if(e)return{groupHeader:this.transformTemplate(e.groupHeader,t),data:this.transformTemplate(e.data,t),groupFooter:this.transformTemplate(e.groupFooter,t),pinnedData:this.transformTemplate(e.pinnedData,t)}}},computed:{columnsWithTemplates(){const e=n.getListeners.call(this);return n.mapTree(this.$props.columns||[],"children",t=>{const o={...t};return{...o,cell:this.transformTemplate(o.cell,e),headerCell:this.transformTemplate(o.headerCell,e),filterCell:this.transformTemplate(o.filterCell,e),footerCell:this.transformTemplate(o.footerCell,e),columnMenu:o.columnMenu===!1?!1:this.transformTemplate(o.columnMenu,e),cells:this.transformCellTemplates(o.cells,e)}})},cellsWithTemplates(){const e=n.getListeners.call(this);return this.transformCellTemplates(this.$props.cells,e)},rowsWithTemplates(){const e=n.getListeners.call(this);return this.transformRowTemplates(this.$props.rows,e)}},render(){const e=n.getDefaultSlots(this)||[],t=n.getListeners.call(this),o=e.filter(r=>{var m,l,p;return(r==null?void 0:r.tag)&&r.tag.toLowerCase().indexOf("toolbar")!==-1||(r==null?void 0:r.componentOptions)&&((m=r.componentOptions.tag)==null?void 0:m.toLowerCase().indexOf("toolbar"))!==-1||((p=(l=r==null?void 0:r.type)==null?void 0:l.name)==null?void 0:p.toLowerCase().indexOf("toolbar"))!==-1}),a=e.filter(r=>{var m,l,p;return(r==null?void 0:r.tag)&&r.tag.toLowerCase().indexOf("records")!==-1||(r==null?void 0:r.componentOptions)&&((m=r.componentOptions.tag)==null?void 0:m.toLowerCase().indexOf("records"))!==-1||((p=(l=r==null?void 0:r.type)==null?void 0:l.name)==null?void 0:p.toLowerCase().indexOf("records"))!==-1}),{cellRender:s,columnMenu:f,detail:T,columns:b,rowRender:d,pager:h,loader:g,rows:W,...i}=this.$props,c=this.columnsWithTemplates,C=this.cellsWithTemplates,w=this.rowsWithTemplates;return u.createVNode(G.GridStateProvider,i,{default:()=>[u.createVNode(R.Grid,u.mergeProps(i,t,{ref:"gridRef",class:this.$attrs.class,style:this.$attrs.style,columns:c,cells:C,rows:w,cellRender:this.transformTemplate(s,t),columnMenu:this.transformTemplate(f,t),rowRender:this.transformTemplate(d,t),pager:this.transformTemplate(h,t),loader:this.transformTemplate(g,t),detail:this.transformTemplate(T,t),toolbar:o,noRecords:a}),null)]})}});exports.RootGrid=L;
package/RootGrid.mjs CHANGED
@@ -5,29 +5,29 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as x, createVNode as u, mergeProps as R, ref as O } from "vue";
8
+ import { defineComponent as R, createVNode as i, mergeProps as O, ref as x } from "vue";
9
9
  import { Grid as W } from "./Grid.mjs";
10
10
  import { GridStateProvider as G } from "./GridState.mjs";
11
11
  import { gridProps as b } from "./common.mjs";
12
- import { getDefaultSlots as L, getListeners as l, mapTree as P, templateRendering as v } from "@progress/kendo-vue-common";
13
- const S = /* @__PURE__ */ x({
12
+ import { getDefaultSlots as L, getListeners as l, mapTree as y, templateRendering as F } from "@progress/kendo-vue-common";
13
+ const S = /* @__PURE__ */ R({
14
14
  name: "KendoVueGrid",
15
15
  props: b,
16
16
  setup(e, {
17
17
  expose: t
18
18
  }) {
19
- const o = O(null);
20
- t({
19
+ const o = x(null);
20
+ return t({
21
21
  get element() {
22
22
  var a;
23
- return ((a = o.value) == null ? void 0 : a.element) || null;
23
+ return ((a = o.value) == null ? void 0 : a.getElement()) || null;
24
24
  },
25
25
  get props() {
26
26
  return e;
27
27
  },
28
28
  get columns() {
29
29
  var a;
30
- return ((a = o.value) == null ? void 0 : a.columns) || [];
30
+ return ((a = o.value) == null ? void 0 : a.getColumns()) || [];
31
31
  },
32
32
  scrollIntoView: (a) => {
33
33
  var s;
@@ -36,16 +36,14 @@ const S = /* @__PURE__ */ x({
36
36
  fitColumns: (a) => {
37
37
  var s;
38
38
  (s = o.value) == null || s.fitColumns(a);
39
- },
40
- exportAsPdf: () => {
41
- var a;
42
- (a = o.value) == null || a.exportAsPdf();
43
39
  }
44
- });
40
+ }), {
41
+ gridRef: o
42
+ };
45
43
  },
46
44
  methods: {
47
45
  transformTemplate(e, t) {
48
- return e ? v.call(this, e, t) : void 0;
46
+ return e ? F.call(this, e, t) : void 0;
49
47
  },
50
48
  transformGroupTemplates(e, t) {
51
49
  if (e)
@@ -88,7 +86,7 @@ const S = /* @__PURE__ */ x({
88
86
  computed: {
89
87
  columnsWithTemplates() {
90
88
  const e = l.call(this);
91
- return P(this.$props.columns || [], "children", (t) => {
89
+ return y(this.$props.columns || [], "children", (t) => {
92
90
  const o = {
93
91
  ...t
94
92
  };
@@ -121,24 +119,25 @@ const S = /* @__PURE__ */ x({
121
119
  return (r == null ? void 0 : r.tag) && r.tag.toLowerCase().indexOf("records") !== -1 || (r == null ? void 0 : r.componentOptions) && ((n = r.componentOptions.tag) == null ? void 0 : n.toLowerCase().indexOf("records")) !== -1 || ((p = (m = r == null ? void 0 : r.type) == null ? void 0 : m.name) == null ? void 0 : p.toLowerCase().indexOf("records")) !== -1;
122
120
  }), {
123
121
  cellRender: s,
124
- columnMenu: i,
122
+ columnMenu: u,
125
123
  detail: T,
126
- columns: y,
124
+ columns: H,
127
125
  rowRender: d,
128
126
  pager: h,
129
127
  loader: g,
130
- rows: F,
128
+ rows: $,
131
129
  ...f
132
130
  } = this.$props, C = this.columnsWithTemplates, c = this.cellsWithTemplates, w = this.rowsWithTemplates;
133
- return u(G, f, {
134
- default: () => [u(W, R(f, t, {
131
+ return i(G, f, {
132
+ default: () => [i(W, O(f, t, {
133
+ ref: "gridRef",
135
134
  class: this.$attrs.class,
136
135
  style: this.$attrs.style,
137
136
  columns: C,
138
137
  cells: c,
139
138
  rows: w,
140
139
  cellRender: this.transformTemplate(s, t),
141
- columnMenu: this.transformTemplate(i, t),
140
+ columnMenu: this.transformTemplate(u, t),
142
141
  rowRender: this.transformTemplate(d, t),
143
142
  pager: this.transformTemplate(h, t),
144
143
  loader: this.transformTemplate(g, t),
@@ -0,0 +1,12 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@progress/kendo-vue-common/codemods"),r=`The non-working exportAsPdf() method was removed from the GridHandle, which is the type of the Grid template ref.
9
+ Review the code that calls exportAsPdf() on a Grid template ref (for example gridRef.value.exportAsPdf()) or that declares it on a GridHandle type, and the tests that mock it.
10
+ Before: the Grid template ref exposed exportAsPdf(), which did not export the Grid.
11
+ After: GridHandle no longer has exportAsPdf(); calling it throws a TypeError or fails type checking. Export the Grid to PDF by wrapping it in the GridPdfExport component from @progress/kendo-vue-pdf and calling the save() method of its template ref.
12
+ Replace the exportAsPdf() calls with the save() method of a GridPdfExport ref.`,o=/\bexportAsPdf\b/,s=/\.(?:css|scss|sass|less)$/;function a(e){return t.isRenderingChangeTarget(e.path)&&!s.test(e.path)&&o.test(e.source)&&t.writeInstructionMarker(r,__filename,e.path),e.source}exports.aiInstructions=r;exports.default=a;
@@ -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 e=require("./grid-handle-export-as-pdf.js");exports.GridHandleExportAsPdf=e.default;
@@ -0,0 +1,21 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@progress/kendo-vue-common/codemods"),a=require("@progress/kendo-vue-common/codemods/detect"),n=require("./utils.js"),t=`The rendering of the Grid changed. The GridToolbar no longer applies a default size, so k-toolbar-md is not rendered unless size is set explicitly ('none' is now also accepted). The size default of the Grid itself ('medium') was not removed, so k-grid-md and k-table-md are still rendered, and the GridFilterCell never applied a default size.
9
+ Other markup changes of the Grid:
10
+ - the inline scrollbar-compensation padding (style="padding: 0 <scrollbar width>px 0 0", mirrored in RTL) is no longer set on k-grid-header and k-grid-footer;
11
+ - header th elements no longer have style="top: 0px";
12
+ - the header td cells (for example the filter row cells) now render the id, colspan and rowspan attributes;
13
+ - the k-filtercell-operator wrapper of the GridFilterCell now contains an &nbsp; before the clear button;
14
+ - the k-selected class of a row now follows the isSelected state computed by the Grid instead of the value of selectedField on the data item;
15
+ - each row tr now renders an absolute-row-index attribute;
16
+ - the no-records message is no longer rendered as a tr.k-table-row.k-grid-norecords with a td.k-table-td inside the tbody. It is rendered as a div.k-grid-norecords with a div.k-grid-norecords-template, a sibling of the table (inside the k-grid-table-wrap element of a scrollable Grid), and the k-height-container is not rendered while there are no records;
17
+ - the default loader changed from div.k-loader-container.k-loader-container-md.k-loader-top (with k-loader-container-overlay and k-loader-container-inner children and an infinite-spinner Loader) to div.k-loading-mask with a k-loading-color child and a centered converging-spinner Loader, it is rendered only when showLoader is true, and it is a child of the Grid root after the pager instead of being inside k-grid-container.
18
+ Review your stylesheets, tests, snapshots and templates that reference the classes, inline styles and elements above.
19
+ Before: <GridToolbar> rendered k-toolbar k-grid-toolbar k-toolbar-solid k-toolbar-md.
20
+ After: <GridToolbar> renders k-toolbar k-grid-toolbar k-toolbar-solid; set size="medium" to keep k-toolbar-md.
21
+ Update the CSS selectors, test queries and snapshots that depend on the previous markup.`,d={imports:["Grid","GridToolbar","GridNoRecords","GridFilterCell"],classes:["k-toolbar-md","k-grid-norecords","k-loader-container","k-loader-container-md","k-loader-container-overlay","k-loader-container-inner","k-loader-top"]};function i(e,o){return r.isRenderingChangeTarget(e.path)&&a.detectChange(e,o,n.GRID_PACKAGE,d)&&r.writeInstructionMarker(t,__filename,e.path),e.source}exports.aiInstructions=t;exports.default=i;
@@ -0,0 +1,14 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("@progress/kendo-vue-common/codemods"),a=require("./utils.js"),r=`The boolean form of the Grid loader prop was removed: showLoader now controls whether the loader is displayed, and loader only supplies a custom loader template (slot name, render function or component). A custom loader template is rendered only when showLoader is true. The Grid in this file receives a loader binding that is not a literal boolean or a plain slot name, so the codemod could not migrate it.
9
+ Review each such Grid:
10
+ - if the bound value is a boolean (for example :loader="isLoading", loader={loading} or :loader="isLoading && !error"), rename the prop to showLoader (:show-loader in templates);
11
+ - if the bound value is a custom template (a function, component or slot-name variable), keep loader and add showLoader driven by the state that previously decided whether the loader was shown;
12
+ - if the value can be either, split it into a showLoader boolean and a loader template.
13
+ Before: <Grid :loader="isLoading" /> displayed the default loader while isLoading was true; <Grid :loader="LoaderTemplate" /> displayed the custom loader whenever the prop was set.
14
+ After: <Grid :show-loader="isLoading" /> displays the default loader; <Grid :loader="LoaderTemplate" :show-loader="isLoading" /> displays the custom loader while showLoader is true; a boolean loader value no longer shows the loader.`;function d(e,t){return o.isRenderingChangeTarget(e.path)&&a.hasDynamicProp(e,t,a.GRID_PACKAGE,"Grid","loader","showLoader")&&o.writeInstructionMarker(r,__filename,e.path),e.source}exports.aiInstructions=r;exports.default=d;
@@ -0,0 +1,15 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./utils.js"),r=`The boolean form of the Grid loader prop was removed: the new showLoader prop controls whether the loader is displayed, and loader only accepts a custom template (slot name, render function or component). The codemod renamed the literal boolean values (loader, :loader="true", :loader="false", loader={true}, loader={false}) to showLoader (show-loader in templates) that it could locate statically.
9
+ Review the places the codemod cannot reach and update them manually:
10
+ - dynamic bindings such as :loader="loading" or :loader="isLoading && !error" that hold a boolean (rename the prop to :show-loader);
11
+ - props passed through v-bind="obj" or JSX spreads, and wrappers that forward a loader prop to the Grid;
12
+ - custom loader templates (loader="'myLoader'", :loader="LoaderTemplate" or a render function): the custom loader is now rendered only when showLoader is true, so add :show-loader to the Grid and drive it with the state that previously decided whether the loader was shown.
13
+ Before: <Grid :loader="isLoading" /> displayed the default loader while isLoading was true, and <Grid :loader="'myLoader'" /> displayed the custom loader whenever the prop was set.
14
+ After: <Grid :show-loader="isLoading" /> displays the default loader, and <Grid :loader="'myLoader'" :show-loader="isLoading" /> displays the custom loader while showLoader is true; a boolean loader value no longer shows the loader.
15
+ Also review styles and tests that depend on the default loader markup; see the Grid default rendering changes.`;function d(o,a){return e.renameBooleanProp(o,a,e.GRID_PACKAGE,"Grid","loader","showLoader")}exports.aiInstructions=r;exports.default=d;
@@ -0,0 +1,12 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@progress/kendo-vue-common/codemods"),o=require("@progress/kendo-vue-common/codemods/detect"),s=require("./utils.js"),r=`getColumns() is no longer available on the Grid template ref. The columns property (a property, not a function call) is its replacement. The codemod already rewrote the calls on refs that it could prove to be Grid refs; the remaining getColumns() calls must be migrated manually, including template expressions (@click="gridRef.getColumns()", {{ gridRef.getColumns() }}) and refs that the codemod could not prove to be Grid refs.
9
+ The Grid ref exposes only element, props, columns, scrollIntoView, fitColumns and exportAsPdf (the GridHandle interface), plus the standard Vue instance properties such as $el and $props. The other methods and data of the previous Grid instance are no longer reachable through the ref.
10
+ Before: gridRef.value.getColumns() returned the current columns with their widths and any other GridColumnProps.
11
+ After: gridRef.value.columns (gridRef.value.getColumns is undefined).
12
+ Replace the remaining getColumns() calls on Grid refs with the columns property, and check any other member that the code reads from the Grid ref against the list above.`,a={gatedPatterns:[new RegExp("(?<!\\bthis)\\.getColumns\\s*\\(")]};function i(e,n){return t.isRenderingChangeTarget(e.path)&&o.detectChange(e,n,s.GRID_PACKAGE,a)&&t.writeInstructionMarker(r,__filename,e.path),e.source}exports.aiInstructions=r;exports.default=i;
@@ -0,0 +1,11 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const G=require("node:path"),d=require("@progress/kendo-vue-common/codemods/sfc"),v=require("./utils.js");function R(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const w=R(G),A=`The getColumns() method of the Grid template ref was replaced by the columns property of the GridHandle.
9
+ The codemod rewrote the getColumns() calls on refs that it could prove to be Grid refs.
10
+ Before: gridRef.value.getColumns()
11
+ After: gridRef.value.columns (a property, not a function call)`,C=new Set([".ts",".tsx",".js",".jsx",".vue"]),S="Grid",g=e=>e&&["TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion","ParenthesizedExpression"].includes(e.type)?g(e.expression):e,I=e=>e?.type==="MemberExpression"||e?.type==="OptionalMemberExpression",h=e=>e?.type==="StringLiteral"||e?.type==="Literal"&&typeof e.value=="string",E=e=>e.computed?h(e.property)?String(e.property.value):void 0:e.property.type==="Identifier"?e.property.name:void 0,T=e=>(e.typeParameters??e.typeArguments)?.params??[];function M(e,o){const r=new Set,a=new Set;o.find(e.ImportDeclaration,{source:{value:v.GRID_PACKAGE}}).forEach(t=>{for(const s of t.node.specifiers??[])s.type==="ImportSpecifier"&&s.imported.name===S?r.add(s.local?.name??s.imported.name):s.type==="ImportNamespaceSpecifier"&&s.local&&a.add(s.local.name)});const u=(t,s)=>t.type==="JSXIdentifier"?r.has(t.name)&&d.isModuleLevelReference(s,t.name):t.type==="JSXMemberExpression"&&t.object.type==="JSXIdentifier"&&a.has(t.object.name)&&d.isModuleLevelReference(s,t.object.name)&&t.property.name===S,f=(t,s)=>t?.type==="Identifier"?r.has(t.name)&&d.isModuleLevelReference(s,t.name):t?.type==="TSQualifiedName"&&t.left.type==="Identifier"&&a.has(t.left.name)&&d.isModuleLevelReference(s,t.left.name)&&t.right.name===S,l=(t,s)=>t?.type==="TSUnionType"?t.types.some(y=>l(y,s)):t?.type==="TSTypeReference"&&t.typeName.type==="Identifier"&&t.typeName.name==="InstanceType"&&T(t)[0]?.type==="TSTypeQuery"&&f(T(t)[0].exprName,s);return{found:r.size>0||a.size>0,isGridJsx:u,isGridInstanceType:l}}function j(e,o,r){const{found:a,isGridJsx:u,isGridInstanceType:f}=M(e,o);if(!a)return;const l=new Map,t=new Set,s=(n,c)=>{const i=c.scope?.lookup(n);i&&l.set(n,(l.get(n)??new Set).add(i))};o.find(e.JSXOpeningElement).forEach(n=>{if(u(n.node.name,n))for(const c of n.node.attributes??[]){if(c.type!=="JSXAttribute"||c.name.type!=="JSXIdentifier"||c.name.name!=="ref")continue;const i=c.value;h(i)?r.add(i.value):i?.type==="JSXExpressionContainer"&&(i.expression.type==="Identifier"?s(i.expression.name,n):h(i.expression)&&r.add(i.expression.value))}}),r.forEach(n=>t.add(n)),o.find(e.VariableDeclarator).forEach(n=>{const{id:c,init:i}=n.node;if(c?.type!=="Identifier"||i?.type!=="CallExpression"||i.callee.type!=="Identifier")return;const[p]=i.arguments,[m]=T(i),b=f(m,n);switch(i.callee.name){case"useTemplateRef":(b||h(p)&&r.has(p.value))&&s(c.name,n);break;case"ref":case"shallowRef":b&&s(c.name,n);break}});const y=(n,c)=>{const i=g(n);if(!I(i))return!1;const p=g(i.object),m=E(i);return I(p)&&g(p.object)?.type==="ThisExpression"&&E(p)==="$refs"?m!==void 0&&r.has(m):m!=="value"||p?.type!=="Identifier"?!1:l.get(p.name)?.has(c.scope?.lookup(p.name))?!0:t.has(p.name)&&d.isModuleLevelReference(c,p.name)};o.find(e.CallExpression).filter(n=>n.node.optional!==!0).forEach(n=>x(n,y)),o.find(e.OptionalCallExpression).filter(n=>n.node.optional!==!0).forEach(n=>x(n,y))}function x(e,o){const{callee:r,arguments:a}=e.node;a.length||!I(r)||E(r)!=="getColumns"||r.computed||o(r.object,e)&&(r.property.name="columns",e.node.comments&&(r.comments=e.node.comments),e.replace(r))}function O(e,o){if(!C.has(w.extname(e.path))||!e.source.includes(v.GRID_PACKAGE))return e.source;const r=new Set;try{return d.transformFile(e,o,{template:a=>{for(const u of a.findElements(S,v.GRID_PACKAGE))for(const f of u.props)f.type===6&&f.name==="ref"&&f.value&&r.add(f.value.content)},script:(a,u)=>j(a,u,r)})}catch{return e.source}}exports.aiInstructions=A;exports.default=O;
@@ -0,0 +1,12 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@progress/kendo-vue-common/codemods"),s=require("@progress/kendo-vue-common/codemods/detect"),a=require("./utils.js"),r=`The row props that the Grid passes to a custom row render changed. The GridRowProps interface (and the GridRow component) no longer declares dataItem; it declares item, the row model of the Grid, which holds the data item in item.dataItem together with the row type, level, expanded state and index. The cell props (GridCellProps) still use dataItem. At runtime the Grid still adds dataItem (the value of item.dataItem) to the props of a custom rowRender, but it is no longer part of the typed GridRowProps, and the selectedField prop is no longer passed to the row (use isSelected).
9
+ Review every Grid that sets rowRender (row-render in templates) and every function, component or slot that uses GridRowProps, and read the data item from props.item.dataItem instead of props.dataItem.
10
+ Before: rowRender: (h, trElement, defaultSlots, props) => ... props.dataItem.ProductName; props: GridRowProps with props.dataItem.
11
+ After: the same code reads props.item.dataItem.ProductName; props.item replaces props.dataItem in GridRowProps.
12
+ Update row render functions, slot templates, wrapper components and their TypeScript types accordingly.`,d={props:[{components:["Grid"],names:["rowRender"]}],patterns:[/\bGridRowProps\b/]};function n(e,o){return t.isRenderingChangeTarget(e.path)&&s.detectChange(e,o,a.GRID_PACKAGE,d)&&t.writeInstructionMarker(r,__filename,e.path),e.source}exports.aiInstructions=r;exports.default=n;
@@ -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 e=require("./grid-default-appearance-rendering-changes.js"),r=require("./grid-loader-binding.js"),d=require("./grid-loader-show-loader.js"),i=require("./grid-ref-api.js"),n=require("./grid-ref-get-columns.js"),t=require("./grid-row-render-item.js");exports.GridDefaultAppearanceRenderingChanges=e.default;exports.GridLoaderBinding=r.default;exports.GridLoaderShowLoader=d.default;exports.GridRefApi=i.default;exports.GridRefGetColumns=n.default;exports.GridRowRenderItem=t.default;
@@ -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 L=require("node:path"),d=require("@progress/kendo-vue-common/codemods/sfc");function O(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const p in e)if(p!=="default"){const f=Object.getOwnPropertyDescriptor(e,p);Object.defineProperty(r,p,f.get?f:{enumerable:!0,get:()=>e[p]})}}return r.default=e,Object.freeze(r)}const g=O(L),P="@progress/kendo-vue-grid",x=new Set([".ts",".tsx",".js",".jsx",".vue"]),v=e=>e?.type==="BooleanLiteral"||e?.type==="Literal"&&typeof e.value=="boolean",j=e=>e.type===7&&e.name==="bind"&&/^(?:true|false)$/.test(e.exp?.content.trim()??""),X=e=>e.type===6&&!e.value||j(e),M=e=>e.type===6?e.name:e.arg?.isStatic?e.arg.content:void 0;function A(e,r){const p=e.props.map(M).filter(o=>!!o),f=p.some(o=>o.includes("-"));return p.some(o=>/[a-z][A-Z]/.test(o))&&!f?r:d.hyphenate(r)}function C(e,r,p,f,S,o){const s=new Set,a=new Set;if(r.find(e.ImportDeclaration,{source:{value:p}}).forEach(n=>{const u=n.node;if(u.importKind!=="type")for(const t of u.specifiers??[])t.type==="ImportSpecifier"&&t.importKind!=="type"?t.imported.name===f&&s.add(t.local?.name??t.imported.name):t.type==="ImportNamespaceSpecifier"&&t.local&&a.add(t.local.name)}),!s.size&&!a.size)return;const l=(n,u)=>n.type==="JSXIdentifier"?s.has(n.name)&&d.isModuleLevelReference(u,n.name):n.type==="JSXMemberExpression"&&n.object.type==="JSXIdentifier"&&a.has(n.object.name)&&d.isModuleLevelReference(u,n.object.name)&&n.property.name===f,h=(n,u)=>n?.type==="Identifier"?s.has(n.name)&&d.isModuleLevelReference(u,n.name):n?.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&a.has(n.object.name)&&d.isModuleLevelReference(u,n.object.name)&&n.property.type==="Identifier"&&n.property.name===f;r.find(e.JSXOpeningElement).forEach(n=>{if(!l(n.node.name,n))return;const u=n.node.attributes??[],t=c=>u.find(y=>y.type==="JSXAttribute"&&y.name.type==="JSXIdentifier"&&[c,d.hyphenate(c)].includes(y.name.name)),i=t(S);i&&!t(o)&&(i.value===null||i.value?.type==="JSXExpressionContainer"&&v(i.value.expression))&&(i.name.name=o)}),r.find(e.CallExpression).forEach(n=>{const{callee:u,arguments:t}=n.node;if(u.type!=="Identifier"||!["h","createVNode"].includes(u.name)||!h(t[0],n)||t[1]?.type!=="ObjectExpression")return;const i=t[1].properties,c=m=>{if(!(m.type!=="ObjectProperty"&&m.type!=="Property"||m.computed))return m.key.type==="Identifier"?m.key.name:String(m.key.value)},y=i.find(m=>c(m)===S);y&&v(y.value)&&!i.some(m=>c(m)===o)&&(y.key.type==="Identifier"?y.key.name=o:y.key.value=o)})}function R(e,r,p,f,S,o){if(!x.has(g.extname(e.path))||!e.source.includes(p))return e.source;try{return d.transformFile(e,r,{script:(s,a)=>C(s,a,p,f,S,o),template:s=>{for(const a of s.findElements(f,p)){const l=s.getAttribute(a,S);if(!l||s.getAttribute(a,o)||!X(l))continue;const h=A(a,o);if(l.type===6){const n=l.loc.start.offset;s.replace(n,n+l.name.length,h)}else l.arg?.isStatic&&s.replace(l.arg.loc.start.offset,l.arg.loc.end.offset,h)}}})}catch{return e.source}}const T=/^\s*(?:'[^'\\]*'|"[^"\\]*"|`[^`\\$]*`)\s*$/,J=e=>e?.type==="TSAsExpression"||e?.type==="TSSatisfiesExpression"||e?.type==="TSNonNullExpression"?J(e.expression):e,k=e=>e?.type==="StringLiteral"||e?.type==="Literal"&&typeof e.value=="string"||e?.type==="TemplateLiteral"&&e.expressions.length===0,I=e=>{const r=J(e);return v(r)||k(r)},D=e=>e.type===6||e.type===7&&(j(e)||T.test(e.exp?.content??""));function B(e,r,p,f,S,o){const s=new Set,a=new Set;if(r.find(e.ImportDeclaration,{source:{value:p}}).forEach(t=>{const i=t.node;if(i.importKind!=="type")for(const c of i.specifiers??[])c.type==="ImportSpecifier"&&c.importKind!=="type"?c.imported.name===f&&s.add(c.local?.name??c.imported.name):c.type==="ImportNamespaceSpecifier"&&c.local&&a.add(c.local.name)}),!s.size&&!a.size)return!1;const l=(t,i)=>t.type==="JSXIdentifier"?s.has(t.name)&&d.isModuleLevelReference(i,t.name):t.type==="JSXMemberExpression"&&t.object.type==="JSXIdentifier"&&a.has(t.object.name)&&d.isModuleLevelReference(i,t.object.name)&&t.property.name===f,h=(t,i)=>t?.type==="Identifier"?s.has(t.name)&&d.isModuleLevelReference(i,t.name):t?.type==="MemberExpression"&&!t.computed&&t.object.type==="Identifier"&&a.has(t.object.name)&&d.isModuleLevelReference(i,t.object.name)&&t.property.type==="Identifier"&&t.property.name===f,n=t=>[t,d.hyphenate(t)];let u=!1;return r.find(e.JSXOpeningElement).forEach(t=>{if(!l(t.node.name,t))return;const i=t.node.attributes??[],c=m=>i.find(E=>E.type==="JSXAttribute"&&E.name.type==="JSXIdentifier"&&n(m).includes(E.name.name)),y=c(S);y&&!c(o)&&y.value?.type==="JSXExpressionContainer"&&y.value.expression.type!=="JSXEmptyExpression"&&!I(y.value.expression)&&(u=!0)}),r.find(e.CallExpression).forEach(t=>{const{callee:i,arguments:c}=t.node;if(i.type!=="Identifier"||!["h","createVNode"].includes(i.name)||!h(c[0],t)||c[1]?.type!=="ObjectExpression")return;const y=c[1].properties,m=b=>{if(!(b.type!=="ObjectProperty"&&b.type!=="Property"||b.computed))return b.key.type==="Identifier"?b.key.name:String(b.key.value)},E=y.find(b=>m(b)===S);E&&!y.some(b=>n(o).includes(m(b)??""))&&!I(E.value)&&(u=!0)}),u}function K(e,r,p,f,S,o){if(!x.has(g.extname(e.path))||!e.source.includes(p))return!1;let s=!1;try{d.transformFile(e,r,{script:(a,l)=>{s=B(a,l,p,f,S,o)||s},template:a=>{for(const l of a.findElements(f,p)){const h=a.getAttribute(l,S);h&&!a.getAttribute(l,o)&&!D(h)&&(s=!0)}}})}catch{return!1}return s}exports.GRID_PACKAGE=P;exports.hasDynamicProp=K;exports.renameBooleanProp=R;
@@ -0,0 +1,12 @@
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.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("@progress/kendo-vue-common/codemods"),a=require("@progress/kendo-vue-common/codemods/detect"),r=require("./utils.js"),n=`Default icons of the Grid changed: the group expand/collapse arrow, the pin and unpin icons, the icons of the built-in context menu items and the built-in Pager buttons.
9
+ Review your stylesheets, tests and any code that references these icons through their k-i-* font classes or k-svg-i-* SVG classes, or that reads the icon and svgIcon values of the exported contextMenuItemsMap.
10
+ Before: the group cell uses the caret-alt-down, caret-alt-right (caret-alt-left in RTL) icons; the pin dropdown and the 'Pin row' context menu items use pin-outline, pin-outline-top, pin-outline-bottom and unpin-outline; the 'Reorder row' items use caret-alt-expand, caret-alt-up, caret-alt-down, caret-alt-to-top and caret-alt-to-bottom; the Pager uses caret-alt-left, caret-alt-right, caret-alt-to-left and caret-alt-to-right.
11
+ After: the group cell uses chevron-down, chevron-right (chevron-left in RTL); pin, pin-top, pin-bottom and unpin replace the pin-outline icons; 'Reorder row' uses chevron-down, chevron-up, chevron-down, chevron-double-up and chevron-double-down; the Pager uses chevron-left, chevron-right, chevron-double-left and chevron-double-right. The icon values of contextMenuItemsMap change accordingly (for example 'pin-outline' becomes 'pin' and 'caret-alt-to-top' becomes 'chevron-double-up').
12
+ Update CSS selectors, test queries, snapshots and custom context menu items that depend on the previous icon classes and names.`,s=["caret-alt-down","caret-alt-right","caret-alt-left","caret-alt-up","caret-alt-expand","caret-alt-to-top","caret-alt-to-bottom","caret-alt-to-left","caret-alt-to-right","pin-outline","pin-outline-top","pin-outline-bottom","unpin-outline"],c={imports:["contextMenuItemsMap"],classes:s.flatMap(e=>[`k-i-${e}`,`k-svg-i-${e}`])};function i(e,o){return t.isRenderingChangeTarget(e.path)&&a.detectChange(e,o,r.GRID_PACKAGE,c)&&t.writeInstructionMarker(n,__filename,e.path),e.source}exports.aiInstructions=n;exports.default=i;
@@ -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 e=require("./grid-rendering-changes.js");exports.GridRenderingChanges=e.default;
@@ -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 e="@progress/kendo-vue-grid";exports.GRID_PACKAGE=e;