@progress/kendo-vue-grid 7.1.0-develop.4 → 7.1.0-develop.6
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/Grid.js +1 -1
- package/Grid.mjs +647 -588
- package/GridNav.js +1 -1
- package/GridNav.mjs +3 -1
- package/GridState.js +1 -1
- package/GridState.mjs +80 -60
- package/VirtualScroll.js +1 -1
- package/VirtualScroll.mjs +65 -109
- package/cells/GridCell.js +1 -1
- package/cells/GridCell.mjs +24 -19
- package/cells/GridFilterCell.js +1 -1
- package/cells/GridFilterCell.mjs +23 -23
- package/cells/GridHierarchyCell.js +1 -1
- package/cells/GridHierarchyCell.mjs +13 -14
- package/common.js +1 -1
- package/common.mjs +3 -0
- package/{GridNoRecords.js → components/noRecords/GridNoRecords.js} +1 -1
- package/{GridNoRecords.mjs → components/noRecords/GridNoRecords.mjs} +1 -1
- package/components/noRecords/GridNoRecordsContainer.js +8 -0
- package/components/noRecords/GridNoRecordsContainer.mjs +30 -0
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/footer/Footer.js +1 -1
- package/footer/Footer.mjs +9 -16
- package/header/Header.js +1 -1
- package/header/Header.mjs +20 -26
- package/index.d.mts +102 -23
- package/index.d.ts +102 -23
- package/index.js +1 -1
- package/index.mjs +30 -29
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/rows/GridRow.js +1 -1
- package/rows/GridRow.mjs +18 -17
- package/utils/main.js +1 -1
- package/utils/main.mjs +30 -22
- package/VirtualScrollFixed.js +0 -8
- package/VirtualScrollFixed.mjs +0 -86
- package/utils/browser-support.service.js +0 -8
- package/utils/browser-support.service.mjs +0 -21
package/cells/GridFilterCell.mjs
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as v, createVNode as i,
|
|
9
|
-
import { Button as
|
|
8
|
+
import { defineComponent as v, createVNode as i, createTextVNode as b, h as $, inject as s } from "vue";
|
|
9
|
+
import { Button as S } from "@progress/kendo-vue-buttons";
|
|
10
10
|
import { filterClearButton as p, messages as c, filterChooseOperator as h } from "../messages/main.mjs";
|
|
11
11
|
import { DropDownList as g } from "@progress/kendo-vue-dropdowns";
|
|
12
|
-
import { TextBox as
|
|
13
|
-
import { DatePicker as
|
|
14
|
-
import { filterClearIcon as
|
|
15
|
-
import { provideLocalizationService as
|
|
16
|
-
import { cellBoolDropdownChange as
|
|
17
|
-
import { getListeners as
|
|
18
|
-
const
|
|
12
|
+
import { TextBox as L, NumericTextBox as k } from "@progress/kendo-vue-inputs";
|
|
13
|
+
import { DatePicker as z } from "@progress/kendo-vue-dateinputs";
|
|
14
|
+
import { filterClearIcon as x, filterIcon as I } from "@progress/kendo-svg-icons";
|
|
15
|
+
import { provideLocalizationService as w } from "@progress/kendo-vue-intl";
|
|
16
|
+
import { cellBoolDropdownChange as y, cellOperatorChange as D, cellInputChange as F } from "../filterCommon.mjs";
|
|
17
|
+
import { getListeners as T, templateRendering as B, getTemplate as N } from "@progress/kendo-vue-common";
|
|
18
|
+
const H = /* @__PURE__ */ v({
|
|
19
19
|
name: "KendoGridFilterCell",
|
|
20
20
|
inheritAttrs: !1,
|
|
21
21
|
props: {
|
|
@@ -44,15 +44,15 @@ const q = /* @__PURE__ */ v({
|
|
|
44
44
|
},
|
|
45
45
|
methods: {
|
|
46
46
|
inputChange(e, t) {
|
|
47
|
-
const o =
|
|
47
|
+
const o = F(e, t, this.$props);
|
|
48
48
|
this.triggerChange(o);
|
|
49
49
|
},
|
|
50
50
|
operatorChange(e, t) {
|
|
51
|
-
const o =
|
|
51
|
+
const o = D(e.value.operator, t, this.$props.value);
|
|
52
52
|
this.triggerChange(o);
|
|
53
53
|
},
|
|
54
54
|
boolDropdownChange(e, t) {
|
|
55
|
-
const o =
|
|
55
|
+
const o = y(e.value.operator, t);
|
|
56
56
|
this.triggerChange(o);
|
|
57
57
|
},
|
|
58
58
|
clear(e) {
|
|
@@ -74,7 +74,7 @@ const q = /* @__PURE__ */ v({
|
|
|
74
74
|
};
|
|
75
75
|
},
|
|
76
76
|
render() {
|
|
77
|
-
const e =
|
|
77
|
+
const e = w(this), {
|
|
78
78
|
size: t
|
|
79
79
|
} = this.$props, o = this.$props.operators.find((a) => a.operator === this.$props.operator) || null, u = function() {
|
|
80
80
|
if (this.$props.filterType !== "boolean")
|
|
@@ -84,7 +84,7 @@ const q = /* @__PURE__ */ v({
|
|
|
84
84
|
size: t,
|
|
85
85
|
class: "k-dropdown-operator",
|
|
86
86
|
icon: "filter",
|
|
87
|
-
svgIcon:
|
|
87
|
+
svgIcon: I,
|
|
88
88
|
iconClassName: "filter k-button-icon",
|
|
89
89
|
"data-items": this.$props.operators,
|
|
90
90
|
textField: "text",
|
|
@@ -99,7 +99,7 @@ const q = /* @__PURE__ */ v({
|
|
|
99
99
|
let l;
|
|
100
100
|
switch (a) {
|
|
101
101
|
case "numeric":
|
|
102
|
-
return i(
|
|
102
|
+
return i(k, {
|
|
103
103
|
size: t,
|
|
104
104
|
value: n,
|
|
105
105
|
onChange: (r) => {
|
|
@@ -109,7 +109,7 @@ const q = /* @__PURE__ */ v({
|
|
|
109
109
|
ariaLabel: this.ariaLabel
|
|
110
110
|
}, null);
|
|
111
111
|
case "date":
|
|
112
|
-
return i(
|
|
112
|
+
return i(z, {
|
|
113
113
|
size: t,
|
|
114
114
|
value: n,
|
|
115
115
|
onChange: (r) => {
|
|
@@ -129,7 +129,7 @@ const q = /* @__PURE__ */ v({
|
|
|
129
129
|
ariaLabel: this.ariaLabel
|
|
130
130
|
}, null);
|
|
131
131
|
default:
|
|
132
|
-
return i(
|
|
132
|
+
return i(L, {
|
|
133
133
|
value: n || "",
|
|
134
134
|
size: t,
|
|
135
135
|
onInput: (r) => {
|
|
@@ -146,20 +146,20 @@ const q = /* @__PURE__ */ v({
|
|
|
146
146
|
class: "k-filtercell-wrapper"
|
|
147
147
|
}, [d.call(this, this.$props.filterType, this.$props.value), i("div", {
|
|
148
148
|
class: "k-filtercell-operator"
|
|
149
|
-
}, [u.call(this), i(
|
|
149
|
+
}, [u.call(this), b(" "), i(S, {
|
|
150
150
|
type: "button",
|
|
151
151
|
size: t,
|
|
152
152
|
icon: "filter-clear",
|
|
153
|
-
svgIcon:
|
|
153
|
+
svgIcon: x,
|
|
154
154
|
class: {
|
|
155
155
|
/* button is always visible if there is either value or operator */
|
|
156
156
|
"k-disabled": !(!(this.$props.value === null || this.$props.value === "") || this.$props.operator)
|
|
157
157
|
},
|
|
158
158
|
title: e.toLanguageString(p, c[p]),
|
|
159
159
|
onClick: this.clear
|
|
160
|
-
}, null)])])]), m = this.$props.grid ?
|
|
161
|
-
return
|
|
162
|
-
h:
|
|
160
|
+
}, null)])])]), m = this.$props.grid ? T.call(this.$props.grid) : null, C = B.call(this.$props.grid, this.$props.render, m);
|
|
161
|
+
return N.call(this, {
|
|
162
|
+
h: $,
|
|
163
163
|
template: C,
|
|
164
164
|
defaultRendering: f,
|
|
165
165
|
additionalProps: this.$props,
|
|
@@ -170,5 +170,5 @@ const q = /* @__PURE__ */ v({
|
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
172
|
export {
|
|
173
|
-
|
|
173
|
+
H as GridFilterCell
|
|
174
174
|
};
|
|
@@ -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 i=require("vue"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),l=require("@progress/kendo-vue-common"),o=require("@progress/kendo-vue-data-tools"),u=require("@progress/kendo-vue-intl"),r=require("../messages/main.js"),p=require("@progress/kendo-svg-icons"),h=i.defineComponent({name:"KendoGridHierarchyCell",inheritAttrs:!1,props:{id:String,field:String,dataItem:Object,format:String,type:String,className:String,colSpan:Number,columnIndex:Number,columnsCount:Number,rowType:String,level:Number,expanded:Boolean,editor:String,isSelected:Boolean,dataIndex:Number,ariaColumnIndex:Number,render:[String,Function,Object],isRtl:Boolean},emits:{change:null,cellkeydown:null},inject:{kendo:{default:null},kendoIntlService:{default:null},kendoLocalizationService:{default:null},getKeyboardNavigationAttributes:{default:l.noop}},methods:{triggerStateChange(){const e=this.kendo;e.dataItemKey&&this.$props.dataItem[e.dataItemKey]!==void 0&&(e==null||e.dispatchDetailExpand({type:o.DETAIL_EXPAND_ACTION.TOGGLE,id:this.$props.dataItem[e.dataItemKey]}))},triggerKeydown(e,t){this.$emit("cellkeydown",{event:e,dataItem:this.$props.dataItem,field:this.$props.field,expanded:t}),!e.defaultPrevented&&e.keyCode===l.Keys.enter&&(e.preventDefault(),this.$emit("change",{dataItem:this.$props.dataItem,dataIndex:this.$props.dataIndex,event:e,field:this.$props.field,value:!t}),this.triggerStateChange())},clickHandler(e,t,n){e.preventDefault(),this.$emit("change",{dataItem:t,event:e,field:void 0,value:!n}),this.triggerStateChange()}},computed:{wrapperClass(){return{"k-table-td":!0,"k-hierarchy-cell":!0,[this.className||""]:this.className}}},render(){let e=null;const t=this.getKeyboardNavigationAttributes(this.$props.id),n=u.provideLocalizationService(this),d=n.toLanguageString(r.collapseDetailAriaLabel,r.messages[r.collapseDetailAriaLabel]),c=n.toLanguageString(r.expandDetailAriaLabel,r.messages[r.expandDetailAriaLabel]);if(this.$props.rowType==="groupFooter")e=i.createVNode("td",{class:this.wrapperClass},null);else if(this.$props.rowType!=="groupHeader"){const a=this.$props.expanded;e=i.createVNode("td",{style:this.$attrs.style,onKeydown:s=>{this.triggerKeydown(s,a)},class:this.wrapperClass,"aria-expanded":a?"true":"false",role:"gridcell","aria-colindex":this.$props.ariaColumnIndex,tabindex:t.tabIndex,"data-keyboardnavlevel":t[o.KEYBOARD_NAV_DATA_LEVEL],"data-keyboardnavid":t[o.KEYBOARD_NAV_DATA_ID]},[i.createVNode("a",{onClick:s=>{this.clickHandler(s,this.$props.dataItem,a)},href:"#",tabindex:-1,title:a?d:c,"aria-label":a?d:c},[i.createVNode(l.Icon,{name:a?"minus":"plus",icon:a?p.minusIcon:p.plusIcon},null)])])}return l.getTemplate.call(this,{h:i.h,template:this.$props.render,defaultRendering:e,additionalProps:this.$props,additionalListeners:{keydown:this.triggerKeydown,click:this.clickHandler}})}});exports.GridHierarchyCell=h;
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as c, createVNode as r, h as m } from "vue";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { KEYBOARD_NAV_DATA_ID as y, KEYBOARD_NAV_DATA_LEVEL as b, DETAIL_EXPAND_ACTION as $ } from "@progress/kendo-vue-data-tools";
|
|
9
|
+
import { noop as u, Icon as h, getTemplate as g, Keys as f } from "@progress/kendo-vue-common";
|
|
10
|
+
import { KEYBOARD_NAV_DATA_ID as y, KEYBOARD_NAV_DATA_LEVEL as I, DETAIL_EXPAND_ACTION as b } from "@progress/kendo-vue-data-tools";
|
|
12
11
|
import { provideLocalizationService as S } from "@progress/kendo-vue-intl";
|
|
13
12
|
import { collapseDetailAriaLabel as s, messages as d, expandDetailAriaLabel as p } from "../messages/main.mjs";
|
|
14
|
-
import { minusIcon as
|
|
15
|
-
const
|
|
13
|
+
import { minusIcon as $, plusIcon as k } from "@progress/kendo-svg-icons";
|
|
14
|
+
const K = /* @__PURE__ */ c({
|
|
16
15
|
name: "KendoGridHierarchyCell",
|
|
17
16
|
inheritAttrs: !1,
|
|
18
17
|
props: {
|
|
@@ -50,14 +49,14 @@ const L = /* @__PURE__ */ c({
|
|
|
50
49
|
default: null
|
|
51
50
|
},
|
|
52
51
|
getKeyboardNavigationAttributes: {
|
|
53
|
-
default:
|
|
52
|
+
default: u
|
|
54
53
|
}
|
|
55
54
|
},
|
|
56
55
|
methods: {
|
|
57
56
|
triggerStateChange() {
|
|
58
57
|
const e = this.kendo;
|
|
59
58
|
e.dataItemKey && this.$props.dataItem[e.dataItemKey] !== void 0 && (e == null || e.dispatchDetailExpand({
|
|
60
|
-
type:
|
|
59
|
+
type: b.TOGGLE,
|
|
61
60
|
id: this.$props.dataItem[e.dataItemKey]
|
|
62
61
|
}));
|
|
63
62
|
},
|
|
@@ -67,7 +66,7 @@ const L = /* @__PURE__ */ c({
|
|
|
67
66
|
dataItem: this.$props.dataItem,
|
|
68
67
|
field: this.$props.field,
|
|
69
68
|
expanded: t
|
|
70
|
-
}), !e.defaultPrevented && e.keyCode ===
|
|
69
|
+
}), !e.defaultPrevented && e.keyCode === f.enter && (e.preventDefault(), this.$emit("change", {
|
|
71
70
|
dataItem: this.$props.dataItem,
|
|
72
71
|
dataIndex: this.$props.dataIndex,
|
|
73
72
|
event: e,
|
|
@@ -101,7 +100,7 @@ const L = /* @__PURE__ */ c({
|
|
|
101
100
|
class: this.wrapperClass
|
|
102
101
|
}, null);
|
|
103
102
|
else if (this.$props.rowType !== "groupHeader") {
|
|
104
|
-
const a =
|
|
103
|
+
const a = this.$props.expanded;
|
|
105
104
|
e = r("td", {
|
|
106
105
|
style: this.$attrs.style,
|
|
107
106
|
onKeydown: (n) => {
|
|
@@ -112,7 +111,7 @@ const L = /* @__PURE__ */ c({
|
|
|
112
111
|
role: "gridcell",
|
|
113
112
|
"aria-colindex": this.$props.ariaColumnIndex,
|
|
114
113
|
tabindex: t.tabIndex,
|
|
115
|
-
"data-keyboardnavlevel": t[
|
|
114
|
+
"data-keyboardnavlevel": t[I],
|
|
116
115
|
"data-keyboardnavid": t[y]
|
|
117
116
|
}, [r("a", {
|
|
118
117
|
onClick: (n) => {
|
|
@@ -122,12 +121,12 @@ const L = /* @__PURE__ */ c({
|
|
|
122
121
|
tabindex: -1,
|
|
123
122
|
title: a ? l : o,
|
|
124
123
|
"aria-label": a ? l : o
|
|
125
|
-
}, [r(
|
|
124
|
+
}, [r(h, {
|
|
126
125
|
name: a ? "minus" : "plus",
|
|
127
|
-
icon: a ?
|
|
126
|
+
icon: a ? $ : k
|
|
128
127
|
}, null)])]);
|
|
129
128
|
}
|
|
130
|
-
return
|
|
129
|
+
return g.call(this, {
|
|
131
130
|
h: m,
|
|
132
131
|
template: this.$props.render,
|
|
133
132
|
defaultRendering: e,
|
|
@@ -140,5 +139,5 @@ const L = /* @__PURE__ */ c({
|
|
|
140
139
|
}
|
|
141
140
|
});
|
|
142
141
|
export {
|
|
143
|
-
|
|
142
|
+
K as GridHierarchyCell
|
|
144
143
|
};
|
package/common.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"});require("vue");const t=require("@progress/kendo-vue-common"),n={autoProcessData:[Boolean,Object],topCacheCount:{type:Number,default:0},collapsedGroups:{type:Array,default:function(){return[]}},uniqueField:String,totalGroupedHeight:Number,allGroupedItems:Object,alternatePerGroup:Boolean,columns:Array,columnsState:{type:Array,default:function(){}},defaultColumnsState:{type:Array,default:function(){}},columnVirtualization:Boolean,dataItems:[Array,Object],sortable:[Boolean,Object],defaultSort:Array,sort:Array,filterable:Boolean,filterOperators:Object,filterCellRender:[String,Function,Object],headerCellRender:[String,Function,Object],showLoader:{type:Boolean,default:void 0},loader:[String,Function,Object,Boolean],defaultFilter:Object,filter:Object,defaultSearch:Object,search:Object,searchFields:Array,highlight:Object,pageable:[Boolean,Object],pageSize:Number,total:Number,skip:Number,defaultSkip:Number,take:Number,defaultTake:Number,expandField:String,expandColumn:Object,selectedField:String,cellRender:[String,Function,Object],rowRender:[String,Function,Object],resizable:Boolean,reorderable:Boolean,group:Array,defaultGroup:Array,groupable:[Boolean,Object],groupExpand:Array,defaultGroupExpand:Array,detailExpand:Object,defaultDetailExpand:Object,editField:String,rowClass:Function,scrollable:{type:String,default:"scrollable"},size:{type:String,default:"medium",validator:function(e){return["small","medium"].includes(e)}},pager:[String,Function,Object],rowHeight:Number,detailRowHeight:Number,detail:[String,Function,Object],columnMenu:[Boolean,String,Function,Object],columnMenuAnimate:{type:[Boolean,Object],default:function(){return!0}},columnMenuIcon:t.SvgIcon,dataItemKey:String,navigatable:{type:Boolean,default:!1},onItemchange:Function,onExpandchange:Function,onDatastatechange:Function,onPagechange:Function,onSortchange:Function,onFilterchange:Function,onGroupchange:Function,onSearchchange:Function,onGroupexpandchange:Function,onDetailexpandchange:Function};exports.gridProps=n;
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const t=require("@progress/kendo-vue-common"),n={id:String,autoProcessData:[Boolean,Object],topCacheCount:{type:Number,default:0},collapsedGroups:{type:Array,default:function(){return[]}},uniqueField:String,totalGroupedHeight:Number,allGroupedItems:Object,alternatePerGroup:Boolean,columns:Array,columnsState:{type:Array,default:function(){}},defaultColumnsState:{type:Array,default:function(){}},columnVirtualization:Boolean,dataItems:[Array,Object],sortable:[Boolean,Object],defaultSort:Array,sort:Array,filterable:Boolean,filterOperators:Object,filterCellRender:[String,Function,Object],headerCellRender:[String,Function,Object],showLoader:{type:Boolean,default:void 0},loader:[String,Function,Object,Boolean],defaultFilter:Object,filter:Object,defaultSearch:Object,search:Object,searchFields:Array,highlight:Object,pageable:[Boolean,Object],pageSize:Number,total:Number,fixedScroll:Boolean,skip:Number,defaultSkip:Number,take:Number,defaultTake:Number,expandField:String,expandColumn:Object,selectedField:String,cellRender:[String,Function,Object],rowRender:[String,Function,Object],rowSpannable:[Boolean,Object],resizable:Boolean,reorderable:Boolean,group:Array,defaultGroup:Array,groupable:[Boolean,Object],groupExpand:Array,defaultGroupExpand:Array,detailExpand:Object,defaultDetailExpand:Object,editField:String,rowClass:Function,scrollable:{type:String,default:"scrollable"},size:{type:String,default:"medium",validator:function(e){return["small","medium"].includes(e)}},pager:[String,Function,Object],rowHeight:Number,detailRowHeight:Number,detail:[String,Function,Object],columnMenu:[Boolean,String,Function,Object],columnMenuAnimate:{type:[Boolean,Object],default:function(){return!0}},columnMenuIcon:t.SvgIcon,dataItemKey:String,navigatable:{type:Boolean,default:!1},onItemchange:Function,onExpandchange:Function,onDatastatechange:Function,onPagechange:Function,onSortchange:Function,onFilterchange:Function,onGroupchange:Function,onSearchchange:Function,onGroupexpandchange:Function,onDetailexpandchange:Function};exports.gridProps=n;
|
package/common.mjs
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import "vue";
|
|
9
9
|
import { SvgIcon as t } from "@progress/kendo-vue-common";
|
|
10
10
|
const o = {
|
|
11
|
+
id: String,
|
|
11
12
|
autoProcessData: [Boolean, Object],
|
|
12
13
|
topCacheCount: {
|
|
13
14
|
type: Number,
|
|
@@ -57,6 +58,7 @@ const o = {
|
|
|
57
58
|
pageable: [Boolean, Object],
|
|
58
59
|
pageSize: Number,
|
|
59
60
|
total: Number,
|
|
61
|
+
fixedScroll: Boolean,
|
|
60
62
|
skip: Number,
|
|
61
63
|
defaultSkip: Number,
|
|
62
64
|
take: Number,
|
|
@@ -66,6 +68,7 @@ const o = {
|
|
|
66
68
|
selectedField: String,
|
|
67
69
|
cellRender: [String, Function, Object],
|
|
68
70
|
rowRender: [String, Function, Object],
|
|
71
|
+
rowSpannable: [Boolean, Object],
|
|
69
72
|
resizable: Boolean,
|
|
70
73
|
reorderable: Boolean,
|
|
71
74
|
group: Array,
|
|
@@ -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 o=require("vue"),t=require("@progress/kendo-vue-intl"),n=require("
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),t=require("@progress/kendo-vue-intl"),n=require("../../messages/main.js"),r=require("@progress/kendo-vue-common"),c=o.defineComponent({name:"GridNoRecords",inject:{kendoLocalizationService:{default:null}},setup(){return{kendoLocalizationService:o.inject("kendoLocalizationService",{})}},render(){const e=r.getDefaultSlots(this),i=t.provideLocalizationService(this).toLanguageString(n.noRecords,n.messages[n.noRecords]);return e?o.createVNode("div",null,[e]):i}});exports.GridNoRecords=c;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as t, createVNode as n, inject as r } from "vue";
|
|
9
9
|
import { provideLocalizationService as c } from "@progress/kendo-vue-intl";
|
|
10
|
-
import { noRecords as o, messages as a } from "
|
|
10
|
+
import { noRecords as o, messages as a } from "../../messages/main.mjs";
|
|
11
11
|
import { getDefaultSlots as l } from "@progress/kendo-vue-common";
|
|
12
12
|
const v = /* @__PURE__ */ t({
|
|
13
13
|
name: "GridNoRecords",
|
|
@@ -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("vue"),t=require("@progress/kendo-vue-data-tools"),o=require("@progress/kendo-vue-common"),n=e.defineComponent({name:"GridNoRecordsContainer",props:{id:String},render(){const s=o.getDefaultSlots(this),r=o.uGrid;return e.createVNode("div",{key:"no-records",class:o.classNames(r.noRecords({}))},[e.createVNode("div",e.mergeProps({class:o.classNames(r.noRecordsTemplate({}))},{[t.KEYBOARD_NAV_DATA_ID]:this.$props.id}),[s])])}});exports.GridNoRecordsContainer=n;
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { defineComponent as t, createVNode as r, mergeProps as d } from "vue";
|
|
9
|
+
import { KEYBOARD_NAV_DATA_ID as i } from "@progress/kendo-vue-data-tools";
|
|
10
|
+
import { getDefaultSlots as n, classNames as e, uGrid as a } from "@progress/kendo-vue-common";
|
|
11
|
+
const l = /* @__PURE__ */ t({
|
|
12
|
+
name: "GridNoRecordsContainer",
|
|
13
|
+
props: {
|
|
14
|
+
id: String
|
|
15
|
+
},
|
|
16
|
+
render() {
|
|
17
|
+
const s = n(this), o = a;
|
|
18
|
+
return r("div", {
|
|
19
|
+
key: "no-records",
|
|
20
|
+
class: e(o.noRecords({}))
|
|
21
|
+
}, [r("div", d({
|
|
22
|
+
class: e(o.noRecordsTemplate({}))
|
|
23
|
+
}, {
|
|
24
|
+
[i]: this.$props.id
|
|
25
|
+
}), [s])]);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
l as GridNoRecordsContainer
|
|
30
|
+
};
|