vxe-table 4.15.3 → 4.15.4
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/es/grid/src/grid.js +8 -0
- package/es/style.css +1 -1
- package/es/table/src/table.js +7 -121
- package/es/table/src/util.js +116 -0
- package/es/toolbar/src/toolbar.js +10 -4
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +8 -0
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +139 -48
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +4 -43
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +117 -0
- package/lib/table/src/util.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +9 -3
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/grid/src/grid.ts +11 -1
- package/packages/table/src/table.ts +10 -125
- package/packages/table/src/util.ts +121 -1
- package/packages/toolbar/src/toolbar.ts +12 -4
- /package/es/{iconfont.1754441841476.ttf → iconfont.1754457119712.ttf} +0 -0
- /package/es/{iconfont.1754441841476.woff → iconfont.1754457119712.woff} +0 -0
- /package/es/{iconfont.1754441841476.woff2 → iconfont.1754457119712.woff2} +0 -0
- /package/lib/{iconfont.1754441841476.ttf → iconfont.1754457119712.ttf} +0 -0
- /package/lib/{iconfont.1754441841476.woff → iconfont.1754457119712.woff} +0 -0
- /package/lib/{iconfont.1754441841476.woff2 → iconfont.1754457119712.woff2} +0 -0
package/es/grid/src/grid.js
CHANGED
|
@@ -28,6 +28,11 @@ const gridComponentEmits = [
|
|
|
28
28
|
'toolbar-tool-click',
|
|
29
29
|
'zoom'
|
|
30
30
|
];
|
|
31
|
+
function createInternalData() {
|
|
32
|
+
return {
|
|
33
|
+
connectTable: null
|
|
34
|
+
};
|
|
35
|
+
}
|
|
31
36
|
export default defineVxeComponent({
|
|
32
37
|
name: 'VxeGrid',
|
|
33
38
|
props: Object.assign(Object.assign({}, tableComponentProps), { layouts: Array, columns: Array, pagerConfig: Object, proxyConfig: Object, toolbarConfig: Object, formConfig: Object, zoomConfig: Object, size: {
|
|
@@ -59,6 +64,7 @@ export default defineVxeComponent({
|
|
|
59
64
|
currentPage: 1
|
|
60
65
|
}
|
|
61
66
|
});
|
|
67
|
+
const internalData = createInternalData();
|
|
62
68
|
const refElem = ref();
|
|
63
69
|
const refTable = ref();
|
|
64
70
|
const refForm = ref();
|
|
@@ -235,6 +241,7 @@ export default defineVxeComponent({
|
|
|
235
241
|
props: props,
|
|
236
242
|
context,
|
|
237
243
|
reactData,
|
|
244
|
+
internalData,
|
|
238
245
|
getRefMaps: () => refMaps,
|
|
239
246
|
getComputeMaps: () => computeMaps
|
|
240
247
|
};
|
|
@@ -1478,6 +1485,7 @@ export default defineVxeComponent({
|
|
|
1478
1485
|
});
|
|
1479
1486
|
onUnmounted(() => {
|
|
1480
1487
|
globalEvents.off($xeGrid, 'keydown');
|
|
1488
|
+
XEUtils.assign(internalData, createInternalData());
|
|
1481
1489
|
});
|
|
1482
1490
|
$xeGrid.renderVN = renderVN;
|
|
1483
1491
|
provide('$xeGrid', $xeGrid);
|