@progress/kendo-vue-grid 8.0.0-develop.6 → 8.0.1-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/Grid.js +1 -1
- package/Grid.mjs +130 -130
- package/VirtualScroll.js +1 -1
- package/VirtualScroll.mjs +1 -1
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
package/Grid.mjs
CHANGED
|
@@ -5,46 +5,46 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { isObject as V, cloneArray as
|
|
10
|
-
import { tableKeyboardNavigationTools as z, combineFilters as
|
|
11
|
-
import { Loader as
|
|
12
|
-
import { GridNav as
|
|
13
|
-
import { GridSelectionCell as
|
|
8
|
+
import { defineComponent as ut, createVNode as n, h as Pe, createTextVNode as Me, ref as v, inject as ct, markRaw as E } from "vue";
|
|
9
|
+
import { isObject as V, cloneArray as gt, canUseDOM as X, WatermarkOverlay as ft, getter as Y, getTemplate as Ae, setRef as G, hasListener as P, getRef as $, RowHeightService as mt, setScrollbarWidth as Ct, kendoThemeMaps as Ve, uGrid as bt, isRtl as Ne, validatePackage as $t, shouldShowValidationUI as Rt, getLicenseMessage as xt, guid as Oe, getNestedValue as We } from "@progress/kendo-vue-common";
|
|
10
|
+
import { tableKeyboardNavigationTools as z, combineFilters as vt, Pager as It, normalize as wt, TableKeyboardNavigationProvider as Ke, updateLeft as St, updateRight as yt, groupExpandReducer as Ht, detailExpandReducer as kt, getDetailExpandableOptions as _t, getGroupExpandableOptions as Et } from "@progress/kendo-vue-data-tools";
|
|
11
|
+
import { Loader as zt } from "@progress/kendo-vue-indicators";
|
|
12
|
+
import { GridNav as Ue } from "./GridNav.mjs";
|
|
13
|
+
import { GridSelectionCell as Be } from "./cells/GridSelectionCell.mjs";
|
|
14
14
|
import { GridHierarchyCell as Z } from "./cells/GridHierarchyCell.mjs";
|
|
15
|
-
import { GridDetailHierarchyCell as
|
|
16
|
-
import { GridDetailCell as
|
|
17
|
-
import { GridEditCell as
|
|
18
|
-
import { Header as
|
|
19
|
-
import { HeaderRow as
|
|
20
|
-
import { FilterRow as
|
|
21
|
-
import { GroupPanel as
|
|
22
|
-
import { Footer as
|
|
23
|
-
import { FooterRow as
|
|
24
|
-
import { operators as
|
|
25
|
-
import { VirtualScroll as
|
|
26
|
-
import { ColumnResize as
|
|
27
|
-
import { CommonDragLogic as
|
|
28
|
-
import { DragClue as
|
|
29
|
-
import { DropClue as
|
|
30
|
-
import { applyExpandedState as
|
|
31
|
-
import { GridCell as
|
|
15
|
+
import { GridDetailHierarchyCell as Tt } from "./cells/GridDetailHierarchyCell.mjs";
|
|
16
|
+
import { GridDetailCell as Dt } from "./cells/GridDetailCell.mjs";
|
|
17
|
+
import { GridEditCell as Gt } from "./cells/GridEditCell.mjs";
|
|
18
|
+
import { Header as Ft } from "./header/Header.mjs";
|
|
19
|
+
import { HeaderRow as Lt } from "./header/HeaderRow.mjs";
|
|
20
|
+
import { FilterRow as Pt } from "./header/FilterRow.mjs";
|
|
21
|
+
import { GroupPanel as Mt } from "./header/GroupPanel.mjs";
|
|
22
|
+
import { Footer as At } from "./footer/Footer.mjs";
|
|
23
|
+
import { FooterRow as Vt } from "./footer/FooterRow.mjs";
|
|
24
|
+
import { operators as je } from "./filterCommon.mjs";
|
|
25
|
+
import { VirtualScroll as Nt } from "./VirtualScroll.mjs";
|
|
26
|
+
import { ColumnResize as Ot } from "./drag/ColumnResize.mjs";
|
|
27
|
+
import { CommonDragLogic as Wt } from "./drag/CommonDragLogic.mjs";
|
|
28
|
+
import { DragClue as Kt } from "./drag/DragClue.mjs";
|
|
29
|
+
import { DropClue as Ut } from "./drag/DropClue.mjs";
|
|
30
|
+
import { applyExpandedState as Bt, getColSpan as jt, autoGenerateColumns as qt, mapColumns as Jt, getFlatColumnsState as qe, getRowSpanOptions as Je, groupedFirstItemValue as Qe, calcRowHeight as Qt, flatData as Xt, readColumns as Yt } from "./utils/main.mjs";
|
|
31
|
+
import { GridCell as Zt } from "./cells/GridCell.mjs";
|
|
32
32
|
import { GridGroupCell as ee } from "./cells/GridGroupCell.mjs";
|
|
33
|
-
import { GridRow as
|
|
34
|
-
import { gridProps as
|
|
35
|
-
import { GridHeaderSelectionCell as
|
|
36
|
-
import { GridNoRecords as
|
|
37
|
-
import { GridNoRecordsContainer as
|
|
33
|
+
import { GridRow as ei } from "./rows/GridRow.mjs";
|
|
34
|
+
import { gridProps as ti } from "./common.mjs";
|
|
35
|
+
import { GridHeaderSelectionCell as Xe } from "./header/GridHeaderSelectionCell.mjs";
|
|
36
|
+
import { GridNoRecords as Ye } from "./components/noRecords/GridNoRecords.mjs";
|
|
37
|
+
import { GridNoRecordsContainer as Ze } from "./components/noRecords/GridNoRecordsContainer.mjs";
|
|
38
38
|
import { packageMetadata as te } from "./package-metadata.mjs";
|
|
39
|
-
import { pagerMessagesMap as
|
|
40
|
-
import { process as
|
|
41
|
-
import { KendoKey as
|
|
42
|
-
import { getVirtualCellsToRender as
|
|
43
|
-
const
|
|
39
|
+
import { pagerMessagesMap as et } from "./messages/messagesMap.mjs";
|
|
40
|
+
import { process as ii } from "@progress/kendo-data-query";
|
|
41
|
+
import { KendoKey as si } from "./key.mjs";
|
|
42
|
+
import { getVirtualCellsToRender as ri } from "./utils/virtualColumns.mjs";
|
|
43
|
+
const Oi = /* @__PURE__ */ ut({
|
|
44
44
|
name: "KendoGrid",
|
|
45
45
|
inheritAttrs: !1,
|
|
46
46
|
props: {
|
|
47
|
-
...
|
|
47
|
+
...ti,
|
|
48
48
|
toolbar: {
|
|
49
49
|
type: Object
|
|
50
50
|
},
|
|
@@ -89,18 +89,18 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
created() {
|
|
92
|
-
|
|
92
|
+
$t(te), this.showLicenseWatermark = Rt(te), this.licenseMessage = xt(te), this.initialHeight = null, this._columns = [], this.vsRef = new Nt(), this.dragLogic = new Wt(this.columnReorder.bind(this), this.groupReorder.bind(this), this.columnToGroup.bind(this)), this.columnResize = new Ot(this.onResize.bind(this)), this._columnsMap = [[]], this._header = null, this._footer = null, this.tableBodyRef = null, this.tableRef = null, this.scrollHeightContainerRef = null, this.forceUpdateTimeout = void 0, this._gridId = Oe(), this._gridRoleElementId = Oe(), this.slicedCurrentData = void 0, this._prevTotal = void 0, this._containerHeightRef = 0, this._minRowHeightRef = 0, this._virtualSkipRef = 0, this.wrapperScrollTopRef = 0, this.scrollLeftRef = 0;
|
|
93
93
|
},
|
|
94
94
|
mounted() {
|
|
95
95
|
var t, i;
|
|
96
96
|
this.setRefs();
|
|
97
|
-
const e =
|
|
97
|
+
const e = Ne(this._element);
|
|
98
98
|
this._prevTotal = this.$props.total, this.isRtl = e, this.initialHeight = ((i = (t = this._element) == null ? void 0 : t.style) == null ? void 0 : i.height) || null, this.resizeObserver = X && (window == null ? void 0 : window.ResizeObserver) && new ResizeObserver(this.calculateMedia), document != null && document.body && this.resizeObserver && this.resizeObserver.observe(document.body);
|
|
99
99
|
},
|
|
100
100
|
updated() {
|
|
101
101
|
var t;
|
|
102
102
|
this.setRefs();
|
|
103
|
-
const e =
|
|
103
|
+
const e = Ne(this._element);
|
|
104
104
|
this.isRtl = e, this._prevTotal = this.$props.total, this.vsRef.tableTransform && this.vsRef.table && (this.vsRef.table.style.transform = this.vsRef.tableTransform, this.vsRef.tableTransform = ""), this.isVirtualScroll && (this.setContainerHeight(), this.setMinRowHeight(), (t = this.vsRef) == null || t.update());
|
|
105
105
|
},
|
|
106
106
|
unmounted() {
|
|
@@ -114,16 +114,16 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
114
114
|
return this.$props.navigatable ? this.gridId : "";
|
|
115
115
|
},
|
|
116
116
|
groupExpandable() {
|
|
117
|
-
return
|
|
117
|
+
return Et(typeof this.$props.groupable == "object" && this.$props.groupable.enabled !== !1 ? this.$props.groupable.expandable : this.$props.groupable);
|
|
118
118
|
},
|
|
119
119
|
hierarchClass() {
|
|
120
|
-
return
|
|
120
|
+
return bt.hierarchyCell({});
|
|
121
121
|
},
|
|
122
122
|
computedRowSpannable() {
|
|
123
|
-
return
|
|
123
|
+
return Je(this.$props.rowSpannable);
|
|
124
124
|
},
|
|
125
125
|
detailExpandable() {
|
|
126
|
-
return
|
|
126
|
+
return _t(!!this.$props.detail);
|
|
127
127
|
},
|
|
128
128
|
nonscrollableWrapperClass() {
|
|
129
129
|
const {
|
|
@@ -132,7 +132,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
132
132
|
return {
|
|
133
133
|
"k-grid": !0,
|
|
134
134
|
"k-grid-md": !e,
|
|
135
|
-
[`k-grid-${
|
|
135
|
+
[`k-grid-${Ve.sizeMap[e] || e}`]: e,
|
|
136
136
|
[t]: !!t
|
|
137
137
|
};
|
|
138
138
|
},
|
|
@@ -153,7 +153,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
153
153
|
"k-table": !0,
|
|
154
154
|
"k-grid-table": !0,
|
|
155
155
|
"k-grid-md": !e,
|
|
156
|
-
[`k-table-${
|
|
156
|
+
[`k-table-${Ve.sizeMap[e] || e}`]: e
|
|
157
157
|
};
|
|
158
158
|
},
|
|
159
159
|
getCorrectHeight() {
|
|
@@ -189,7 +189,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
189
189
|
},
|
|
190
190
|
methods: {
|
|
191
191
|
readColumnElements() {
|
|
192
|
-
return
|
|
192
|
+
return Yt(this.$props.columns, this.currentColumnsState, {
|
|
193
193
|
prevId: 0,
|
|
194
194
|
idPrefix: this.idPrefix
|
|
195
195
|
});
|
|
@@ -215,7 +215,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
215
215
|
})];
|
|
216
216
|
},
|
|
217
217
|
getFlatData(e, t, i, s, r, l, d) {
|
|
218
|
-
const h = [], c =
|
|
218
|
+
const h = [], c = Xt(h, e, t, {
|
|
219
219
|
index: i
|
|
220
220
|
}, s !== void 0, r, l, this.groupExpandable.defaultExpand, d, this.$props.expandField);
|
|
221
221
|
return {
|
|
@@ -281,7 +281,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
281
281
|
this.dragLogic.refGroupPanelDiv(l);
|
|
282
282
|
}
|
|
283
283
|
const s = $(this, "dropElementClue"), r = $(this, "dragElementClue");
|
|
284
|
-
this.dragLogic.refDropElementClue(s), this.dragLogic.refDragElementClue(r), this.columnResize.colGroupMain = $(this, "colGroup"), this._header = $(this, "header"), this._footer = $(this, "footer"), this.resetTableWidth(),
|
|
284
|
+
this.dragLogic.refDropElementClue(s), this.dragLogic.refDragElementClue(r), this.columnResize.colGroupMain = $(this, "colGroup"), this._header = $(this, "header"), this._footer = $(this, "footer"), this.resetTableWidth(), Ct();
|
|
285
285
|
},
|
|
286
286
|
gridUnmounted() {
|
|
287
287
|
clearTimeout(this.forceUpdateTimeout), this.columnResize.columns = [], this.dragLogic.columns = [], this.dragLogic && this.dragLogic.dragElementClue && (this.dragLogic.dragElementClue.$el.remove(), this.dragLogic.dropElementClue.$el.remove()), this.currentData = [], this._columns = [], document != null && document.body && this.resizeObserver && this.resizeObserver.disconnect();
|
|
@@ -302,7 +302,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
302
302
|
},
|
|
303
303
|
initializeVirtualization() {
|
|
304
304
|
const e = this.vsRef, t = this.$props.rowHeight || this._minRowHeightRef || 0;
|
|
305
|
-
e && (e.fixedScroll = this.$props.fixedScroll || !1, e.PageChange = this.virtualPageChange, e.pageSize = this._virtualPageSize, e.scrollableVirtual = this.isVirtualScroll, e.container = $(this, "scrollContainer"), e.tableBody = $(this, "tableBody"), e.scrollHeightContainer = $(this, "scrollHeightContainer"), e.table = $(this, "table"), (!e.rowHeightService || e.total !== this._virtualTotal) && t && (e.total = this._virtualTotal, e.rowHeightService = new
|
|
305
|
+
e && (e.fixedScroll = this.$props.fixedScroll || !1, e.PageChange = this.virtualPageChange, e.pageSize = this._virtualPageSize, e.scrollableVirtual = this.isVirtualScroll, e.container = $(this, "scrollContainer"), e.tableBody = $(this, "tableBody"), e.scrollHeightContainer = $(this, "scrollHeightContainer"), e.table = $(this, "table"), (!e.rowHeightService || e.total !== this._virtualTotal) && t && (e.total = this._virtualTotal, e.rowHeightService = new mt(this._virtualTotal, t)));
|
|
306
306
|
},
|
|
307
307
|
setContainerHeight() {
|
|
308
308
|
const e = $(this, "scrollContainer");
|
|
@@ -310,7 +310,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
310
310
|
},
|
|
311
311
|
setMinRowHeight() {
|
|
312
312
|
if (!this._minRowHeightRef && !this.$props.rowHeight) {
|
|
313
|
-
const t =
|
|
313
|
+
const t = Qt($(this, "tableBody"));
|
|
314
314
|
t && (this._minRowHeightRef = t, this.$forceUpdate());
|
|
315
315
|
}
|
|
316
316
|
},
|
|
@@ -345,7 +345,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
345
345
|
let t = this.computedCollapsed, i = t[e.level];
|
|
346
346
|
const s = this.$props.uniqueField, r = function(h, c) {
|
|
347
347
|
return h.value === e.dataItem.value && c === e.level;
|
|
348
|
-
}, l = this.allGroupedItems ? this.loopGroupedItems(this.allGroupedItems.data, r, 0, null) : e.dataItem, d =
|
|
348
|
+
}, l = this.allGroupedItems ? this.loopGroupedItems(this.allGroupedItems.data, r, 0, null) : e.dataItem, d = Qe(l || e.dataItem, s);
|
|
349
349
|
if (e.value) {
|
|
350
350
|
if (i && i.length) {
|
|
351
351
|
const h = i.indexOf(d);
|
|
@@ -469,7 +469,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
469
469
|
handleDetailExpandAction(e, t) {
|
|
470
470
|
var i;
|
|
471
471
|
if (this.detailExpandable.enabled) {
|
|
472
|
-
const s = (i = this.gridContext.detailExpand) == null ? void 0 : i.value, r =
|
|
472
|
+
const s = (i = this.gridContext.detailExpand) == null ? void 0 : i.value, r = kt(s != null ? s : {}, e);
|
|
473
473
|
this.gridContext.detailexpandchange({
|
|
474
474
|
...this.getArguments(t),
|
|
475
475
|
detailExpand: r
|
|
@@ -479,7 +479,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
479
479
|
handleGroupExpandAction(e, t) {
|
|
480
480
|
var i;
|
|
481
481
|
if (this.groupExpandable.enabled) {
|
|
482
|
-
const s = (i = this.gridContext.groupExpand) == null ? void 0 : i.value, r =
|
|
482
|
+
const s = (i = this.gridContext.groupExpand) == null ? void 0 : i.value, r = Ht(s != null ? s : [], e, this.groupExpandable);
|
|
483
483
|
this.$props.expandField || this.gridContext.groupexpandchange({
|
|
484
484
|
...this.getArguments(t),
|
|
485
485
|
groupExpand: r
|
|
@@ -510,7 +510,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
510
510
|
}
|
|
511
511
|
},
|
|
512
512
|
columnReorder(e, t, i) {
|
|
513
|
-
const s = this._columns[e], r =
|
|
513
|
+
const s = this._columns[e], r = qe(this.currentColumnsState), l = s.depth, d = (u) => {
|
|
514
514
|
do
|
|
515
515
|
u++;
|
|
516
516
|
while (u < this._columns.length && this._columns[u].depth > l);
|
|
@@ -522,7 +522,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
522
522
|
R && (R.orderIndex = m);
|
|
523
523
|
});
|
|
524
524
|
const c = this._columns[e].locked && this._columns[t].locked;
|
|
525
|
-
|
|
525
|
+
St(this._columnsMap, this._columns, c || this.shouldUpdateLeftRightRef), yt(this._columnsMap, this._columns, c || this.shouldUpdateLeftRightRef), this.resizedRef && (this.shouldUpdateLeftRightRef = !1, this.resizedRef = !1);
|
|
526
526
|
const f = this.getColumns();
|
|
527
527
|
this.$emit("columnreorder", {
|
|
528
528
|
target: this,
|
|
@@ -595,11 +595,11 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
595
595
|
},
|
|
596
596
|
configureColumns(e, t) {
|
|
597
597
|
e.filter((l) => l.columnType === "checkbox").forEach((l) => {
|
|
598
|
-
l.width = l.width || "50px", l.defaultCell = E(
|
|
598
|
+
l.width = l.width || "50px", l.defaultCell = E(Be), l.defaultHeaderCell = E(Xe), l._type = "edit";
|
|
599
599
|
}), this.$props.selectedField && this._columns.filter((l) => l.field === this.$props.selectedField).forEach((l) => {
|
|
600
|
-
l.width = l.width || "50px", l.internalCell = E(
|
|
600
|
+
l.width = l.width || "50px", l.internalCell = E(Be), l.internalHeaderCell = E(Xe);
|
|
601
601
|
});
|
|
602
|
-
const i =
|
|
602
|
+
const i = qe(this.currentColumnsState);
|
|
603
603
|
this.initColumnsState(e, i);
|
|
604
604
|
const s = {
|
|
605
605
|
id: "",
|
|
@@ -655,21 +655,21 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
655
655
|
e.unshift(d), this.currentColumnsState.unshift(i.find((h) => h.id === d.id) || d);
|
|
656
656
|
}
|
|
657
657
|
e.slice(r).forEach((l) => {
|
|
658
|
-
l.parentIndex >= 0 && (l.parentIndex += r), l.rowSpannable = l.rowSpannable !== void 0 ?
|
|
658
|
+
l.parentIndex >= 0 && (l.parentIndex += r), l.rowSpannable = l.rowSpannable !== void 0 ? Je(l.rowSpannable) : this.computedRowSpannable;
|
|
659
659
|
});
|
|
660
660
|
},
|
|
661
661
|
initColumns(e, t) {
|
|
662
662
|
var l;
|
|
663
663
|
this._columns = this.readColumnElements();
|
|
664
664
|
const i = (l = this.gridContext.group) == null ? void 0 : l.value;
|
|
665
|
-
this._columns.filter((d) => !d.hidden).length === 0 && (this._columns =
|
|
665
|
+
this._columns.filter((d) => !d.hidden).length === 0 && (this._columns = qt(e, i, {
|
|
666
666
|
column: this.$props.expandField ? this.$props.expandField : this.groupExpandable.column
|
|
667
667
|
}, {
|
|
668
668
|
prevId: 0,
|
|
669
669
|
idPrefix: this.idPrefix
|
|
670
670
|
})), this.configureColumns(this._columns, t);
|
|
671
671
|
const [s, r] = this.filterColumns(this._columns);
|
|
672
|
-
this._columns = s, this.hiddenColumnsRef = r, this._columnsMap =
|
|
672
|
+
this._columns = s, this.hiddenColumnsRef = r, this._columnsMap = Jt(this._columns, !0);
|
|
673
673
|
},
|
|
674
674
|
resolveTitle(e) {
|
|
675
675
|
const t = this.findColumnByField(e), i = t && (t.title || t.field);
|
|
@@ -755,7 +755,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
755
755
|
r--, s && (s.width += c);
|
|
756
756
|
return;
|
|
757
757
|
}
|
|
758
|
-
const f = Math.min(
|
|
758
|
+
const f = Math.min(jt(d, e), t.length - h);
|
|
759
759
|
r = f - 1, s = {
|
|
760
760
|
width: c,
|
|
761
761
|
colSpan: f,
|
|
@@ -763,7 +763,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
763
763
|
}, i.push(s);
|
|
764
764
|
}), this.$props.columnVirtualization) {
|
|
765
765
|
const d = this.scrollLeftRef || 0, h = this.tableWidth || parseFloat((((l = this.$attrs.style) == null ? void 0 : l.width) || "").toString());
|
|
766
|
-
return
|
|
766
|
+
return ri({
|
|
767
767
|
cellModels: i,
|
|
768
768
|
columns: t,
|
|
769
769
|
tableViewPortWidth: h,
|
|
@@ -801,7 +801,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
801
801
|
};
|
|
802
802
|
},
|
|
803
803
|
setup(e) {
|
|
804
|
-
const t = v(null), i = v(null), s = v(null), r = v(null), l = v(null), d = v(null), h = v(null), c = v(null), f = v(null), u = v(null), m = v(!0), R = v(!1), x =
|
|
804
|
+
const t = v(null), i = v(null), s = v(null), r = v(null), l = v(null), d = v(null), h = v(null), c = v(null), f = v(null), u = v(null), m = v(!0), R = v(!1), x = ct(si, {});
|
|
805
805
|
return {
|
|
806
806
|
groupPanelDivRef: t,
|
|
807
807
|
dropElementClueRef: i,
|
|
@@ -820,7 +820,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
820
820
|
};
|
|
821
821
|
},
|
|
822
822
|
render() {
|
|
823
|
-
var fe, me, Ce, be, $e, Re, xe, ve, Ie, we, Se, ye, He, ke;
|
|
823
|
+
var fe, me, Ce, be, $e, Re, xe, ve, Ie, we, Se, ye, He, ke, _e;
|
|
824
824
|
const e = (fe = this.gridContext.sort) == null ? void 0 : fe.value, t = (me = this.gridContext.filter) == null ? void 0 : me.value, i = (Ce = this.gridContext.search) == null ? void 0 : Ce.value, s = (be = this.gridContext.skip) == null ? void 0 : be.value, r = ($e = this.gridContext.take) == null ? void 0 : $e.value, l = (Re = this.gridContext.group) == null ? void 0 : Re.value, d = (xe = this.gridContext.groupExpand) == null ? void 0 : xe.value, h = (ve = this.gridContext.detailExpand) == null ? void 0 : ve.value, c = !!(l != null && l.length);
|
|
825
825
|
let f;
|
|
826
826
|
this.currentColumnsState = (Ie = this.gridContext.columnsState) == null ? void 0 : Ie.value;
|
|
@@ -834,30 +834,30 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
834
834
|
let m;
|
|
835
835
|
const R = z.getIdPrefix(this.navigation);
|
|
836
836
|
let x = [];
|
|
837
|
-
Array.isArray(this.$props.dataItems) ? (x = this.$props.dataItems, m = (we = this.$props.total) != null ? we : x.length) : (x = ((Se =
|
|
837
|
+
Array.isArray(this.$props.dataItems) ? (x = this.$props.dataItems, m = (we = this.$props.total) != null ? we : x.length) : (x = ((Se = Bt(this.$props.dataItems, this.$props.collapsedGroups.length ? this.computedCollapsed : [], this.$props.uniqueField)) == null ? void 0 : Se.data) || [], m = (ke = (He = this.$props.total) != null ? He : (ye = this.$props.dataItems) == null ? void 0 : ye.total) != null ? ke : x.length);
|
|
838
838
|
const ie = this.$props.groupable === !0 || V(this.$props.groupable) && this.$props.groupable.enabled !== !1;
|
|
839
839
|
this.dragLogic.reorderable = this.$props.reorderable || !1, this.dragLogic.groupable = ie, this._virtualPageSize = this.calcVirtualPageSize();
|
|
840
|
-
const N = x.length === m,
|
|
840
|
+
const N = x.length === m, tt = V(this.$props.groupable) && this.$props.groupable.footer || "none";
|
|
841
841
|
if (this.currentData = [], u) {
|
|
842
842
|
const a = u.page && !(this.isVirtualScroll && !this.$props.pageable), {
|
|
843
843
|
data: C,
|
|
844
844
|
total: S
|
|
845
|
-
} =
|
|
845
|
+
} = ii(x, {
|
|
846
846
|
group: u.group ? l : void 0,
|
|
847
847
|
sort: u.sort ? e : void 0,
|
|
848
|
-
filter:
|
|
848
|
+
filter: vt(u.filter ? t : void 0, u.search ? i : void 0),
|
|
849
849
|
...a ? {
|
|
850
850
|
take: this.$props.pageable ? r || 10 : r,
|
|
851
851
|
skip: s || 0
|
|
852
852
|
} : {}
|
|
853
853
|
});
|
|
854
|
-
x = C, m = S;
|
|
854
|
+
x = C, m = (_e = this.$props.total) != null ? _e : S;
|
|
855
855
|
}
|
|
856
856
|
const {
|
|
857
|
-
resolvedGroupsCount:
|
|
858
|
-
flattedData:
|
|
859
|
-
} = this.getFlatData(x,
|
|
860
|
-
this.currentData =
|
|
857
|
+
resolvedGroupsCount: it,
|
|
858
|
+
flattedData: st
|
|
859
|
+
} = this.getFlatData(x, tt, N ? 0 : this.$props.skip || 0, l, h, d, this.$props.dataItemKey);
|
|
860
|
+
this.currentData = st;
|
|
861
861
|
const O = this._virtualSkipRef || 0;
|
|
862
862
|
if (this._virtualTotal = m, this.isVirtualScroll) {
|
|
863
863
|
let a = s || 0;
|
|
@@ -868,8 +868,8 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
868
868
|
} else
|
|
869
869
|
f = this.currentData.slice(a, a + this._virtualPageSize);
|
|
870
870
|
}
|
|
871
|
-
this.initializeVirtualization(), this.initColumns(this.$props.dataItems,
|
|
872
|
-
const se = this.$props.toolbar, M = this.$props.noRecords, k = this._columns.filter((a) => a.children.length === 0), re = ie && n(
|
|
871
|
+
this.initializeVirtualization(), this.initColumns(this.$props.dataItems, it), this.columnResize.resizable = this.$props.resizable || !1, this.columnResize.columns = this._columns, this.columnResize.columnsState = gt(this.currentColumnsState || []), this.dragLogic.columns = this._columns;
|
|
872
|
+
const se = this.$props.toolbar, M = this.$props.noRecords, k = this._columns.filter((a) => a.children.length === 0), re = ie && n(Mt, {
|
|
873
873
|
ref: (a) => {
|
|
874
874
|
this.groupPanelDivRef = a;
|
|
875
875
|
},
|
|
@@ -880,18 +880,18 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
880
880
|
onDragHandler: this.dragLogic.dragHandler,
|
|
881
881
|
onReleaseHandler: this.dragLogic.releaseHandler,
|
|
882
882
|
resolveTitle: this.resolveTitle
|
|
883
|
-
}, null), le = (this.dragLogic.reorderable || this.dragLogic.groupable) && X && document && document.body, ae = [le && n(
|
|
883
|
+
}, null), le = (this.dragLogic.reorderable || this.dragLogic.groupable) && X && document && document.body, ae = [le && n(Ut, {
|
|
884
884
|
ref: (a) => {
|
|
885
885
|
this.dropElementClueRef = a;
|
|
886
886
|
}
|
|
887
|
-
}, null), le && n(
|
|
887
|
+
}, null), le && n(Kt, {
|
|
888
888
|
ref: (a) => {
|
|
889
889
|
this.dragElementClueRef = a;
|
|
890
890
|
}
|
|
891
|
-
}, null)],
|
|
891
|
+
}, null)], rt = this.showLicenseWatermark ? n(ft, {
|
|
892
892
|
message: this.licenseMessage
|
|
893
|
-
}, null) : null, W = this.$attrs.style,
|
|
894
|
-
this.tableWidth = parseFloat(
|
|
893
|
+
}, null) : null, W = this.$attrs.style, lt = W && V(W) && W["width"] || "";
|
|
894
|
+
this.tableWidth = parseFloat(lt.toString());
|
|
895
895
|
const oe = k.findIndex((a) => typeof a.colSpan == "function") > -1;
|
|
896
896
|
let F;
|
|
897
897
|
oe || (F = this.getCellsToRender(null, k));
|
|
@@ -902,14 +902,14 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
902
902
|
key: a.id || `col-${C}`,
|
|
903
903
|
width: a.width !== void 0 ? Math.floor(parseFloat(a.width.toString())) : void 0
|
|
904
904
|
}, null);
|
|
905
|
-
}, this), de = n(
|
|
905
|
+
}, this), de = n(Ft, {
|
|
906
906
|
size: this.$props.size,
|
|
907
907
|
columnResize: this.columnResize,
|
|
908
908
|
staticHeaders: this.$props.scrollable !== "none",
|
|
909
909
|
ref: (a) => {
|
|
910
910
|
this.headerRef = a;
|
|
911
911
|
},
|
|
912
|
-
headerRow: n(
|
|
912
|
+
headerRow: n(Lt, {
|
|
913
913
|
grid: this,
|
|
914
914
|
sort: e,
|
|
915
915
|
groupable: this.$props.groupable,
|
|
@@ -918,7 +918,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
918
918
|
onSortChange: this.sortChangeHandler,
|
|
919
919
|
filter: t,
|
|
920
920
|
filterable: this.$props.filterable,
|
|
921
|
-
filterOperators: this.$props.filterOperators ||
|
|
921
|
+
filterOperators: this.$props.filterOperators || je,
|
|
922
922
|
onFilterChange: this.filterChangeHandler,
|
|
923
923
|
columnMenu: this.$props.columnMenu,
|
|
924
924
|
columnMenuIcon: this.$props.columnMenuIcon,
|
|
@@ -936,14 +936,14 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
936
936
|
cellRender: this.$props.headerCellRender,
|
|
937
937
|
isRtl: this.isRtl,
|
|
938
938
|
isColCountDefined: this.getAriaColCount !== void 0,
|
|
939
|
-
filterRow: this.$props.filterable && n(
|
|
939
|
+
filterRow: this.$props.filterable && n(Pt, {
|
|
940
940
|
grid: this,
|
|
941
941
|
size: this.$props.size,
|
|
942
942
|
columns: this._columns,
|
|
943
943
|
cellsToRender: F,
|
|
944
944
|
columnVirtualization: this.$props.columnVirtualization,
|
|
945
945
|
filter: t,
|
|
946
|
-
filterOperators: this.$props.filterOperators ||
|
|
946
|
+
filterOperators: this.$props.filterOperators || je,
|
|
947
947
|
onFilterchange: this.filterChangeHandler,
|
|
948
948
|
sort: this.$props.sort,
|
|
949
949
|
cellRender: this.$props.filterCellRender,
|
|
@@ -952,36 +952,36 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
952
952
|
}, null) || void 0
|
|
953
953
|
}, null),
|
|
954
954
|
cols: ne
|
|
955
|
-
}, null), he = this._columns.some((a) => !!a.footerCell) ? n(
|
|
955
|
+
}, null), he = this._columns.some((a) => !!a.footerCell) ? n(At, {
|
|
956
956
|
size: this.$props.size,
|
|
957
957
|
columnResize: this.columnResize,
|
|
958
958
|
staticHeaders: this.$props.scrollable !== "none",
|
|
959
959
|
ref: (a) => {
|
|
960
960
|
this.footerRef = a;
|
|
961
961
|
},
|
|
962
|
-
row: n(
|
|
962
|
+
row: n(Vt, {
|
|
963
963
|
isRtl: this.isRtl,
|
|
964
964
|
rowIndex: this.getAriaRowCount + 1,
|
|
965
965
|
columns: this._columns
|
|
966
966
|
}, null),
|
|
967
967
|
cols: ne
|
|
968
|
-
}, null) : n("span", null, null),
|
|
968
|
+
}, null) : n("span", null, null), at = function(a, C, S, Ee, _) {
|
|
969
969
|
let p = !1;
|
|
970
|
-
const T = this.$props.selectedField, y = T ?
|
|
970
|
+
const T = this.$props.selectedField, y = T ? We(T, a.dataItem) : void 0, I = this.$props.highlight && this.$props.dataItemKey && Y(this.$props.dataItemKey)(a.dataItem) !== void 0 ? this.$props.highlight[Y(this.$props.dataItemKey)(a.dataItem)] : void 0;
|
|
971
971
|
return oe && (F = this.getCellsToRender(a.dataItem, k)), {
|
|
972
972
|
row: F.map(function({
|
|
973
973
|
columnIndex: b,
|
|
974
974
|
colSpan: D
|
|
975
975
|
}) {
|
|
976
|
-
var
|
|
976
|
+
var De, Ge, Fe, Le;
|
|
977
977
|
const o = k[b];
|
|
978
978
|
let w;
|
|
979
|
-
if ((
|
|
980
|
-
const g = o.field ? (
|
|
979
|
+
if ((De = o.rowSpannable) != null && De.enabled && a.rowType === "data" && o.field && _) {
|
|
980
|
+
const g = o.field ? (Fe = (Ge = o.rowSpannable).valueGetter) == null ? void 0 : Fe.call(Ge, a.dataItem, o.field) : null;
|
|
981
981
|
w = {
|
|
982
982
|
value: g,
|
|
983
983
|
count: 1
|
|
984
|
-
}, _[o.field] && ((
|
|
984
|
+
}, _[o.field] && ((Le = _[o.field]) == null ? void 0 : Le.value) === g && _[o.field] !== null ? (_[o.field].count++, w.count = null) : _[o.field] = w;
|
|
985
985
|
}
|
|
986
986
|
const L = `${o.className ? o.className + " " : ""}${o.locked ? "k-grid-content-sticky" : ""}`, H = o.locked && o.left !== void 0 ? this.isRtl ? {
|
|
987
987
|
left: o.right + "px",
|
|
@@ -990,14 +990,14 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
990
990
|
left: o.left + "px",
|
|
991
991
|
right: o.right + "px"
|
|
992
992
|
} : void 0;
|
|
993
|
-
let
|
|
993
|
+
let ze = !1;
|
|
994
994
|
if (o.editable && this.$props.editField) {
|
|
995
|
-
const g =
|
|
996
|
-
(g === !0 || g === o.field) && (p = !0,
|
|
995
|
+
const g = We(this.$props.editField, a.dataItem);
|
|
996
|
+
(g === !0 || g === o.field) && (p = !0, ze = !0);
|
|
997
997
|
}
|
|
998
998
|
let A;
|
|
999
999
|
o.cell && (A = o.cell);
|
|
1000
|
-
const
|
|
1000
|
+
const Te = this.computedCollapsed && this.computedCollapsed[a.level] && this.computedCollapsed[a.level].some((g) => g === Qe(a.dataItem, this.$props.uniqueField)), q = o.id ? o.id : b, J = Te ? !Te : a.expanded || a.dataItem.expanded, pt = o._type === "expand", Q = z.generateNavigatableId(`${C}-${String(b)}`, R, pt || a.rowType === "groupHeader" || a.rowType === "groupFooter" || o.field === "value" ? "nodata" : "cell");
|
|
1001
1001
|
return o.internalCell ? n(o.internalCell, {
|
|
1002
1002
|
key: q,
|
|
1003
1003
|
id: Q,
|
|
@@ -1030,7 +1030,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1030
1030
|
isHighlighted: !!(typeof I != "boolean" && I && o.field && I[o.field] === !0),
|
|
1031
1031
|
group: a.group,
|
|
1032
1032
|
rowSpan: w
|
|
1033
|
-
}, null) :
|
|
1033
|
+
}, null) : ze ? n(Gt, {
|
|
1034
1034
|
id: Q,
|
|
1035
1035
|
key: q,
|
|
1036
1036
|
colSpan: D,
|
|
@@ -1054,7 +1054,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1054
1054
|
expanded: J,
|
|
1055
1055
|
dataIndex: a.dataIndex,
|
|
1056
1056
|
style: H
|
|
1057
|
-
}, null) : n(
|
|
1057
|
+
}, null) : n(Zt, {
|
|
1058
1058
|
key: q,
|
|
1059
1059
|
id: Q,
|
|
1060
1060
|
colSpan: D,
|
|
@@ -1096,12 +1096,12 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1096
1096
|
isHighlighted: typeof I == "boolean" && I
|
|
1097
1097
|
};
|
|
1098
1098
|
};
|
|
1099
|
-
let
|
|
1100
|
-
const U = !this.currentData.length, pe = (a) => a >= this.currentData.length -
|
|
1099
|
+
let ot = 0, K = [];
|
|
1100
|
+
const U = !this.currentData.length, pe = (a) => a >= this.currentData.length - ot;
|
|
1101
1101
|
let B = 0;
|
|
1102
1102
|
if (this.currentData.length) {
|
|
1103
1103
|
const a = this._columnsMap.length + (this.$props.filterable ? 1 : 0) + 1;
|
|
1104
|
-
let C = this.$props.skip || 0, S = -1,
|
|
1104
|
+
let C = this.$props.skip || 0, S = -1, Ee = 0;
|
|
1105
1105
|
const _ = this.computedRowSpannable.enabled ? {} : void 0;
|
|
1106
1106
|
if (this.isVirtualScroll) {
|
|
1107
1107
|
if (O > 0) {
|
|
@@ -1112,8 +1112,8 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1112
1112
|
}
|
|
1113
1113
|
K = (f || this.currentData).map(function(p, T) {
|
|
1114
1114
|
p.rowType === "data" && S++;
|
|
1115
|
-
const y = p.dataIndex % 2 !== 0, I = this.$props.dataItemKey && Y(this.$props.dataItemKey)(p.dataItem), b = T + C, D = I || "ai" + b, o = D + "_1", w =
|
|
1116
|
-
return B = b + a +
|
|
1115
|
+
const y = p.dataIndex % 2 !== 0, I = this.$props.dataItemKey && Y(this.$props.dataItemKey)(p.dataItem), b = T + C, D = I || "ai" + b, o = D + "_1", w = at.call(this, p, D, S, y, _), L = k.length - (this.detailExpandable.enabled ? 1 : 0) - ((l == null ? void 0 : l.length) || 0) || 1;
|
|
1116
|
+
return B = b + a + Ee, [n(ei, {
|
|
1117
1117
|
key: D,
|
|
1118
1118
|
item: p,
|
|
1119
1119
|
dataIndex: S,
|
|
@@ -1150,9 +1150,9 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1150
1150
|
key: `group-${H.field}-${p.dataIndex}`,
|
|
1151
1151
|
group: p.group
|
|
1152
1152
|
}, null);
|
|
1153
|
-
}, this), (this.$props.expandField || this.detailExpandable.enabled) && n(
|
|
1153
|
+
}, this), (this.$props.expandField || this.detailExpandable.enabled) && n(Tt, {
|
|
1154
1154
|
id: z.generateNavigatableId(`${o}-dhcell`, R)
|
|
1155
|
-
}, null), n(
|
|
1155
|
+
}, null), n(Dt, {
|
|
1156
1156
|
dataItem: p.dataItem,
|
|
1157
1157
|
dataIndex: p.dataIndex,
|
|
1158
1158
|
colSpan: L,
|
|
@@ -1162,7 +1162,7 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1162
1162
|
}, null)])];
|
|
1163
1163
|
}, this);
|
|
1164
1164
|
}
|
|
1165
|
-
const
|
|
1165
|
+
const nt = this.$props.pageable && n(It, {
|
|
1166
1166
|
class: "k-grid-pager",
|
|
1167
1167
|
onPagesizechange: this.pageChangeHandler,
|
|
1168
1168
|
onPagechange: this.pageChangeHandler,
|
|
@@ -1170,33 +1170,33 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1170
1170
|
total: m,
|
|
1171
1171
|
skip: s || 0,
|
|
1172
1172
|
pageSize: (r !== void 0 ? r : this.$props.pageSize) || 10,
|
|
1173
|
-
messagesMap:
|
|
1174
|
-
settings:
|
|
1175
|
-
}, null), ue =
|
|
1176
|
-
h:
|
|
1173
|
+
messagesMap: et,
|
|
1174
|
+
settings: wt(this.$props.pageable || {})
|
|
1175
|
+
}, null), ue = Ae.call(this, {
|
|
1176
|
+
h: Pe,
|
|
1177
1177
|
template: this.$props.pager,
|
|
1178
|
-
defaultRendering:
|
|
1178
|
+
defaultRendering: nt,
|
|
1179
1179
|
additionalProps: {
|
|
1180
1180
|
...this.$props,
|
|
1181
1181
|
skip: this.$props.skip || 0,
|
|
1182
|
-
messagesMap:
|
|
1182
|
+
messagesMap: et
|
|
1183
1183
|
},
|
|
1184
1184
|
additionalListeners: {
|
|
1185
1185
|
pagesizechange: this.pageChangeHandler,
|
|
1186
1186
|
pagechange: this.pageChangeHandler
|
|
1187
1187
|
}
|
|
1188
|
-
}),
|
|
1188
|
+
}), dt = (a) => e && e.filter((C) => C.field === a).length > 0, ce = n("colgroup", {
|
|
1189
1189
|
ref: G(this, "colGroup")
|
|
1190
1190
|
}, [k.map(function(a, C) {
|
|
1191
1191
|
return n("col", {
|
|
1192
1192
|
key: a.id || `col-${C}`,
|
|
1193
|
-
class:
|
|
1193
|
+
class: dt(a.field) ? "k-sorted" : void 0,
|
|
1194
1194
|
width: a.width !== void 0 ? a.width.toString().indexOf("%") !== -1 ? a.width : Math.floor(parseFloat(a.width.toString())) + "px" : void 0
|
|
1195
1195
|
}, null);
|
|
1196
1196
|
}, this)]), ge = {
|
|
1197
1197
|
height: this.getCorrectHeight,
|
|
1198
1198
|
...this.$attrs.style
|
|
1199
|
-
},
|
|
1199
|
+
}, ht = n("div", {
|
|
1200
1200
|
class: "k-loading-mask"
|
|
1201
1201
|
}, [n("div", {
|
|
1202
1202
|
class: "k-loading-color"
|
|
@@ -1207,20 +1207,20 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1207
1207
|
justifyContent: "center",
|
|
1208
1208
|
alignItems: "center"
|
|
1209
1209
|
}
|
|
1210
|
-
}, [n(
|
|
1210
|
+
}, [n(zt, {
|
|
1211
1211
|
size: "large",
|
|
1212
1212
|
type: "converging-spinner"
|
|
1213
|
-
}, null)])]), j = this.$props.showLoader &&
|
|
1214
|
-
h:
|
|
1213
|
+
}, null)])]), j = this.$props.showLoader && Ae.call(this, {
|
|
1214
|
+
h: Pe,
|
|
1215
1215
|
template: this.$props.loader,
|
|
1216
|
-
defaultRendering:
|
|
1216
|
+
defaultRendering: ht
|
|
1217
1217
|
});
|
|
1218
|
-
return this.$props.scrollable === "none" ? n(
|
|
1218
|
+
return this.$props.scrollable === "none" ? n(Ke, {
|
|
1219
1219
|
ref: "navRef",
|
|
1220
1220
|
id: this._gridId,
|
|
1221
1221
|
navigatable: this.$props.navigatable
|
|
1222
1222
|
}, {
|
|
1223
|
-
default: () => [n(
|
|
1223
|
+
default: () => [n(Ue, {
|
|
1224
1224
|
ref: (a) => {
|
|
1225
1225
|
this.gridNavRef = a;
|
|
1226
1226
|
},
|
|
@@ -1242,21 +1242,21 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1242
1242
|
},
|
|
1243
1243
|
ref: G(this, "table"),
|
|
1244
1244
|
role: "none"
|
|
1245
|
-
}, [
|
|
1245
|
+
}, [Me(" "), ce, de, n("tbody", {
|
|
1246
1246
|
class: "k-table-tbody",
|
|
1247
1247
|
"data-keyboardnavbody": !0
|
|
1248
|
-
}, [K,
|
|
1248
|
+
}, [K, Me(" "), j]), he]), U && n(Ze, {
|
|
1249
1249
|
id: z.generateNavigatableId("no-records", R)
|
|
1250
1250
|
}, {
|
|
1251
|
-
default: () => [M.length ? M : n(
|
|
1251
|
+
default: () => [M.length ? M : n(Ye, null, null)]
|
|
1252
1252
|
})]), ue, j, ae]
|
|
1253
1253
|
})]
|
|
1254
|
-
}) : n(
|
|
1254
|
+
}) : n(Ke, {
|
|
1255
1255
|
ref: "navRef",
|
|
1256
1256
|
id: this._gridId,
|
|
1257
1257
|
navigatable: this.$props.navigatable
|
|
1258
1258
|
}, {
|
|
1259
|
-
default: () => [n(
|
|
1259
|
+
default: () => [n(Ue, {
|
|
1260
1260
|
ref: (a) => {
|
|
1261
1261
|
this.gridNavRef = a;
|
|
1262
1262
|
},
|
|
@@ -1291,10 +1291,10 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1291
1291
|
role: "rowgroup",
|
|
1292
1292
|
"data-keyboardnavbody": !0,
|
|
1293
1293
|
ref: G(this, "tableBody")
|
|
1294
|
-
}, [K])]), U && n(
|
|
1294
|
+
}, [K])]), U && n(Ze, {
|
|
1295
1295
|
id: z.generateNavigatableId("no-records", R)
|
|
1296
1296
|
}, {
|
|
1297
|
-
default: () => [M.length ? M : n(
|
|
1297
|
+
default: () => [M.length ? M : n(Ye, null, null)]
|
|
1298
1298
|
})]), !U && n("div", {
|
|
1299
1299
|
class: "k-height-container",
|
|
1300
1300
|
role: "presentation"
|
|
@@ -1303,11 +1303,11 @@ const Ni = /* @__PURE__ */ pt({
|
|
|
1303
1303
|
style: this.$props.scrollable === "virtual" ? {
|
|
1304
1304
|
height: this._containerHeightRef + "px"
|
|
1305
1305
|
} : {}
|
|
1306
|
-
}, null)])])]), he,
|
|
1306
|
+
}, null)])])]), he, rt]), ue, j, ae]
|
|
1307
1307
|
})]
|
|
1308
1308
|
});
|
|
1309
1309
|
}
|
|
1310
1310
|
});
|
|
1311
1311
|
export {
|
|
1312
|
-
|
|
1312
|
+
Oi as Grid
|
|
1313
1313
|
};
|