vxe-table 4.9.20 → 4.9.22
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 +1 -1
- package/es/{iconfont.1733815980030.ttf → iconfont.1733885894979.ttf} +0 -0
- package/es/iconfont.1733885894979.woff +0 -0
- package/es/iconfont.1733885894979.woff2 +0 -0
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/filter/hook.js +17 -10
- package/es/table/src/table.js +73 -12
- package/es/table/style.css +15 -2
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +15 -2
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +1 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/{iconfont.1733815980030.ttf → iconfont.1733885894979.ttf} +0 -0
- package/lib/iconfont.1733885894979.woff +0 -0
- package/lib/iconfont.1733885894979.woff2 +0 -0
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +118 -32
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/filter/hook.js +20 -12
- package/lib/table/module/filter/hook.min.js +1 -1
- package/lib/table/src/table.js +94 -17
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +15 -2
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +2 -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/lib/vxe-table/style/style.css +15 -2
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/grid/src/grid.ts +1 -1
- package/packages/table/module/filter/hook.ts +19 -12
- package/packages/table/src/table.ts +73 -12
- package/packages/ui/index.ts +1 -0
- package/styles/components/icon.scss +5 -1
- package/styles/components/table.scss +12 -1
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/es/iconfont.1733815980030.woff +0 -0
- package/es/iconfont.1733815980030.woff2 +0 -0
- package/lib/iconfont.1733815980030.woff +0 -0
- package/lib/iconfont.1733815980030.woff2 +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -1998,7 +1998,7 @@ function eqEmptyValue(cellValue) {
|
|
|
1998
1998
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
1999
1999
|
|
|
2000
2000
|
|
|
2001
|
-
const version = "4.9.
|
|
2001
|
+
const version = "4.9.22";
|
|
2002
2002
|
core_.VxeUI.version = version;
|
|
2003
2003
|
core_.VxeUI.tableVersion = version;
|
|
2004
2004
|
core_.VxeUI.setConfig({
|
|
@@ -2248,6 +2248,7 @@ core_.VxeUI.setIcon({
|
|
|
2248
2248
|
TABLE_DRAG_ROW: iconPrefix + 'drag-handle',
|
|
2249
2249
|
TABLE_DRAG_COLUMN: iconPrefix + 'drag-handle',
|
|
2250
2250
|
TABLE_DRAG_STATUS_ROW: iconPrefix + 'sort',
|
|
2251
|
+
TABLE_DRAG_STATUS_SUB_ROW: iconPrefix + 'add-sub',
|
|
2251
2252
|
TABLE_DRAG_STATUS_COLUMN: iconPrefix + 'swap',
|
|
2252
2253
|
TABLE_DRAG_DISABLED: iconPrefix + 'no-drop',
|
|
2253
2254
|
// toolbar
|
|
@@ -2409,7 +2410,7 @@ var es_array_push = __webpack_require__(4114);
|
|
|
2409
2410
|
const {
|
|
2410
2411
|
log: log_log
|
|
2411
2412
|
} = core_.VxeUI;
|
|
2412
|
-
const log_version = `table v${"4.9.
|
|
2413
|
+
const log_version = `table v${"4.9.22"}`;
|
|
2413
2414
|
const warnLog = log_log.create('warn', log_version);
|
|
2414
2415
|
const errLog = log_log.create('error', log_version);
|
|
2415
2416
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -13966,6 +13967,57 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
13966
13967
|
}
|
|
13967
13968
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
13968
13969
|
},
|
|
13970
|
+
setSort(sortConfs, isUpdate) {
|
|
13971
|
+
const sortOpts = computeSortOpts.value;
|
|
13972
|
+
const {
|
|
13973
|
+
multiple,
|
|
13974
|
+
remote,
|
|
13975
|
+
orders
|
|
13976
|
+
} = sortOpts;
|
|
13977
|
+
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(sortConfs)) {
|
|
13978
|
+
sortConfs = [sortConfs];
|
|
13979
|
+
}
|
|
13980
|
+
if (sortConfs && sortConfs.length) {
|
|
13981
|
+
if (!multiple) {
|
|
13982
|
+
sortConfs = [sortConfs[0]];
|
|
13983
|
+
clearAllSort();
|
|
13984
|
+
}
|
|
13985
|
+
let firstColumn = null;
|
|
13986
|
+
sortConfs.forEach((confs, index) => {
|
|
13987
|
+
let {
|
|
13988
|
+
field,
|
|
13989
|
+
order
|
|
13990
|
+
} = confs;
|
|
13991
|
+
let column = field;
|
|
13992
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(field)) {
|
|
13993
|
+
column = tableMethods.getColumnByField(field);
|
|
13994
|
+
}
|
|
13995
|
+
if (!firstColumn) {
|
|
13996
|
+
firstColumn = column;
|
|
13997
|
+
}
|
|
13998
|
+
if (column && column.sortable) {
|
|
13999
|
+
if (orders.indexOf(order) === -1) {
|
|
14000
|
+
order = getNextSortOrder(column);
|
|
14001
|
+
}
|
|
14002
|
+
if (column.order !== order) {
|
|
14003
|
+
column.order = order;
|
|
14004
|
+
}
|
|
14005
|
+
column.sortTime = Date.now() + index;
|
|
14006
|
+
}
|
|
14007
|
+
});
|
|
14008
|
+
if (isUpdate) {
|
|
14009
|
+
if (!remote) {
|
|
14010
|
+
tablePrivateMethods.handleTableData(true);
|
|
14011
|
+
}
|
|
14012
|
+
$xeTable.handleColumnSortEvent(new Event('click'), firstColumn);
|
|
14013
|
+
}
|
|
14014
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
14015
|
+
tableMethods.updateCellAreas();
|
|
14016
|
+
return updateStyle();
|
|
14017
|
+
});
|
|
14018
|
+
}
|
|
14019
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
14020
|
+
},
|
|
13969
14021
|
/**
|
|
13970
14022
|
* 清空指定列的排序条件
|
|
13971
14023
|
* 如果为空则清空所有列的排序条件
|
|
@@ -15612,6 +15664,9 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
15612
15664
|
scrollbarWidth,
|
|
15613
15665
|
scrollbarHeight
|
|
15614
15666
|
} = reactData;
|
|
15667
|
+
const {
|
|
15668
|
+
prevDragToChild
|
|
15669
|
+
} = internalData;
|
|
15615
15670
|
const wrapperRect = el.getBoundingClientRect();
|
|
15616
15671
|
if (trEl) {
|
|
15617
15672
|
const rdLineEl = refDragRowLineElem.value;
|
|
@@ -15623,6 +15678,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
15623
15678
|
rdLineEl.style.height = `${trRect.height}px`;
|
|
15624
15679
|
rdLineEl.style.width = `${wrapperRect.width - scrollbarWidth}px`;
|
|
15625
15680
|
rdLineEl.setAttribute('drag-pos', dragPos);
|
|
15681
|
+
rdLineEl.setAttribute('drag-to-child', prevDragToChild ? 'y' : 'n');
|
|
15626
15682
|
} else {
|
|
15627
15683
|
rdLineEl.style.display = '';
|
|
15628
15684
|
}
|
|
@@ -15647,7 +15703,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
15647
15703
|
rdTipEl.style.display = 'block';
|
|
15648
15704
|
rdTipEl.style.top = `${Math.min(el.clientHeight - el.scrollTop - rdTipEl.clientHeight, evnt.clientY - wrapperRect.y)}px`;
|
|
15649
15705
|
rdTipEl.style.left = `${Math.min(el.clientWidth - el.scrollLeft - rdTipEl.clientWidth - 16, evnt.clientX - wrapperRect.x)}px`;
|
|
15650
|
-
rdTipEl.setAttribute('drag-status', showLine ? 'normal' : 'disabled');
|
|
15706
|
+
rdTipEl.setAttribute('drag-status', showLine ? prevDragToChild ? 'sub' : 'normal' : 'disabled');
|
|
15651
15707
|
}
|
|
15652
15708
|
};
|
|
15653
15709
|
const hideDropTip = () => {
|
|
@@ -16955,28 +17011,16 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16955
17011
|
}, evnt);
|
|
16956
17012
|
}
|
|
16957
17013
|
},
|
|
16958
|
-
|
|
16959
|
-
* 点击排序事件
|
|
16960
|
-
*/
|
|
16961
|
-
triggerSortEvent(evnt, column, order) {
|
|
17014
|
+
handleColumnSortEvent(evnt, column) {
|
|
16962
17015
|
const {
|
|
16963
17016
|
mouseConfig
|
|
16964
17017
|
} = props;
|
|
16965
|
-
const sortOpts = computeSortOpts.value;
|
|
16966
17018
|
const mouseOpts = computeMouseOpts.value;
|
|
16967
17019
|
const {
|
|
16968
17020
|
field,
|
|
16969
17021
|
sortable
|
|
16970
17022
|
} = column;
|
|
16971
17023
|
if (sortable) {
|
|
16972
|
-
if (!order || column.order === order) {
|
|
16973
|
-
tableMethods.clearSort(sortOpts.multiple ? column : null);
|
|
16974
|
-
} else {
|
|
16975
|
-
tableMethods.sort({
|
|
16976
|
-
field,
|
|
16977
|
-
order
|
|
16978
|
-
});
|
|
16979
|
-
}
|
|
16980
17024
|
const params = {
|
|
16981
17025
|
$table: $xeTable,
|
|
16982
17026
|
$event: evnt,
|
|
@@ -16993,6 +17037,27 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
16993
17037
|
dispatchEvent('sort-change', params, evnt);
|
|
16994
17038
|
}
|
|
16995
17039
|
},
|
|
17040
|
+
/**
|
|
17041
|
+
* 点击排序事件
|
|
17042
|
+
*/
|
|
17043
|
+
triggerSortEvent(evnt, column, order) {
|
|
17044
|
+
const sortOpts = computeSortOpts.value;
|
|
17045
|
+
const {
|
|
17046
|
+
field,
|
|
17047
|
+
sortable
|
|
17048
|
+
} = column;
|
|
17049
|
+
if (sortable) {
|
|
17050
|
+
if (!order || column.order === order) {
|
|
17051
|
+
tableMethods.clearSort(sortOpts.multiple ? column : null);
|
|
17052
|
+
} else {
|
|
17053
|
+
tableMethods.sort({
|
|
17054
|
+
field,
|
|
17055
|
+
order
|
|
17056
|
+
});
|
|
17057
|
+
}
|
|
17058
|
+
$xeTable.handleColumnSortEvent(evnt, column);
|
|
17059
|
+
}
|
|
17060
|
+
},
|
|
16996
17061
|
/**
|
|
16997
17062
|
* 行拖拽
|
|
16998
17063
|
*/
|
|
@@ -17009,7 +17074,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17009
17074
|
} = props;
|
|
17010
17075
|
const rowDragOpts = computeRowDragOpts.value;
|
|
17011
17076
|
const {
|
|
17012
|
-
fullAllDataRowIdData
|
|
17077
|
+
fullAllDataRowIdData,
|
|
17078
|
+
prevDragToChild
|
|
17013
17079
|
} = internalData;
|
|
17014
17080
|
const {
|
|
17015
17081
|
isCrossDrag,
|
|
@@ -17019,6 +17085,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17019
17085
|
const treeOpts = computeTreeOpts.value;
|
|
17020
17086
|
const {
|
|
17021
17087
|
transform,
|
|
17088
|
+
rowField,
|
|
17022
17089
|
mapChildrenField,
|
|
17023
17090
|
parentField
|
|
17024
17091
|
} = treeOpts;
|
|
@@ -17034,6 +17101,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17034
17101
|
} = internalData;
|
|
17035
17102
|
const dEndMethod = dragEndMethod || (dragConfig ? dragConfig.dragEndMethod : null);
|
|
17036
17103
|
const dragOffsetIndex = prevDragPos === 'bottom' ? 1 : 0;
|
|
17104
|
+
console.log(evnt.ctrlKey);
|
|
17037
17105
|
if (prevDragRow && dragRow) {
|
|
17038
17106
|
// 判断是否有拖动
|
|
17039
17107
|
if (prevDragRow !== dragRow) {
|
|
@@ -17128,7 +17196,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17128
17196
|
childRow[parentField] = dragRow[parentField];
|
|
17129
17197
|
});
|
|
17130
17198
|
}
|
|
17131
|
-
dragRow[parentField] = prevDragRow[parentField];
|
|
17199
|
+
dragRow[parentField] = prevDragToChild ? prevDragRow[rowField] : prevDragRow[parentField];
|
|
17132
17200
|
internalData.tableFullTreeData = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toArrayTree(fullList, {
|
|
17133
17201
|
key: treeOpts.rowField,
|
|
17134
17202
|
parentKey: treeOpts.parentField,
|
|
@@ -17197,14 +17265,20 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17197
17265
|
const {
|
|
17198
17266
|
dragRow
|
|
17199
17267
|
} = reactData;
|
|
17268
|
+
const treeOpts = computeTreeOpts.value;
|
|
17269
|
+
const {
|
|
17270
|
+
transform
|
|
17271
|
+
} = treeOpts;
|
|
17200
17272
|
const rowDragOpts = computeRowDragOpts.value;
|
|
17201
17273
|
const {
|
|
17202
|
-
isCrossDrag
|
|
17274
|
+
isCrossDrag,
|
|
17275
|
+
isToChildDrag
|
|
17203
17276
|
} = rowDragOpts;
|
|
17204
17277
|
if (!dragRow) {
|
|
17205
17278
|
evnt.preventDefault();
|
|
17206
17279
|
return;
|
|
17207
17280
|
}
|
|
17281
|
+
const hasCtrlKey = evnt.ctrlKey;
|
|
17208
17282
|
const trEl = evnt.currentTarget;
|
|
17209
17283
|
const rowid = trEl.getAttribute('rowid') || '';
|
|
17210
17284
|
const rest = fullAllDataRowIdData[rowid];
|
|
@@ -17220,6 +17294,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17220
17294
|
showDropTip(evnt, trEl, null, false, dragPos);
|
|
17221
17295
|
return;
|
|
17222
17296
|
}
|
|
17297
|
+
internalData.prevDragToChild = !!(treeConfig && transform && isToChildDrag && hasCtrlKey);
|
|
17223
17298
|
internalData.prevDragRow = row;
|
|
17224
17299
|
internalData.prevDragPos = dragPos;
|
|
17225
17300
|
showDropTip(evnt, trEl, null, true, dragPos);
|
|
@@ -17383,6 +17458,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17383
17458
|
showDropTip(evnt, null, thEl, false, dragPos);
|
|
17384
17459
|
return;
|
|
17385
17460
|
}
|
|
17461
|
+
internalData.prevDragToChild = false;
|
|
17386
17462
|
internalData.prevDragCol = column;
|
|
17387
17463
|
internalData.prevDragPos = dragPos;
|
|
17388
17464
|
showDropTip(evnt, null, thEl, true, dragPos);
|
|
@@ -17928,6 +18004,8 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
17928
18004
|
class: 'vxe-table--drag-sort-tip-status'
|
|
17929
18005
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
17930
18006
|
class: ['vxe-table--drag-sort-tip-normal-status', dragRow ? table_getIcon().TABLE_DRAG_STATUS_ROW : table_getIcon().TABLE_DRAG_STATUS_COLUMN]
|
|
18007
|
+
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
18008
|
+
class: ['vxe-table--drag-sort-tip-sub-status', table_getIcon().TABLE_DRAG_STATUS_SUB_ROW]
|
|
17931
18009
|
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
17932
18010
|
class: ['vxe-table--drag-sort-tip-disabled-status', table_getIcon().TABLE_DRAG_DISABLED]
|
|
17933
18011
|
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -18917,25 +18995,16 @@ hook_hooks.add('tableFilterModule', {
|
|
|
18917
18995
|
}
|
|
18918
18996
|
}
|
|
18919
18997
|
},
|
|
18920
|
-
|
|
18921
|
-
* 确认筛选
|
|
18922
|
-
* 当筛选面板中的确定按钮被按下时触发
|
|
18923
|
-
* @param {Event} evnt 事件
|
|
18924
|
-
*/
|
|
18925
|
-
confirmFilterEvent(evnt) {
|
|
18998
|
+
handleColumnConfirmFilter(column, evnt) {
|
|
18926
18999
|
const {
|
|
18927
19000
|
mouseConfig
|
|
18928
19001
|
} = props;
|
|
18929
19002
|
const {
|
|
18930
|
-
filterStore,
|
|
18931
19003
|
scrollXLoad: oldScrollXLoad,
|
|
18932
19004
|
scrollYLoad: oldScrollYLoad
|
|
18933
19005
|
} = reactData;
|
|
18934
19006
|
const filterOpts = computeFilterOpts.value;
|
|
18935
19007
|
const mouseOpts = computeMouseOpts.value;
|
|
18936
|
-
const {
|
|
18937
|
-
column
|
|
18938
|
-
} = filterStore;
|
|
18939
19008
|
const {
|
|
18940
19009
|
field
|
|
18941
19010
|
} = column;
|
|
@@ -18971,7 +19040,7 @@ hook_hooks.add('tableFilterModule', {
|
|
|
18971
19040
|
$xeTable.dispatchEvent('filter-change', params, evnt);
|
|
18972
19041
|
}
|
|
18973
19042
|
$xeTable.closeFilter();
|
|
18974
|
-
$xeTable.updateFooter().then(() => {
|
|
19043
|
+
return $xeTable.updateFooter().then(() => {
|
|
18975
19044
|
const {
|
|
18976
19045
|
scrollXLoad,
|
|
18977
19046
|
scrollYLoad
|
|
@@ -18993,6 +19062,20 @@ hook_hooks.add('tableFilterModule', {
|
|
|
18993
19062
|
setTimeout(() => $xeTable.recalculate(), 50);
|
|
18994
19063
|
});
|
|
18995
19064
|
},
|
|
19065
|
+
/**
|
|
19066
|
+
* 确认筛选
|
|
19067
|
+
* 当筛选面板中的确定按钮被按下时触发
|
|
19068
|
+
* @param {Event} evnt 事件
|
|
19069
|
+
*/
|
|
19070
|
+
confirmFilterEvent(evnt) {
|
|
19071
|
+
const {
|
|
19072
|
+
filterStore
|
|
19073
|
+
} = reactData;
|
|
19074
|
+
const {
|
|
19075
|
+
column
|
|
19076
|
+
} = filterStore;
|
|
19077
|
+
$xeTable.handleColumnConfirmFilter(column, evnt);
|
|
19078
|
+
},
|
|
18996
19079
|
handleFilterChangeRadioOption: changeRadioOption,
|
|
18997
19080
|
handleFilterChangeMultipleOption: changeMultipleOption,
|
|
18998
19081
|
// 筛选发生改变
|
|
@@ -19038,10 +19121,13 @@ hook_hooks.add('tableFilterModule', {
|
|
|
19038
19121
|
* @param {ColumnInfo} fieldOrColumn 列或字段名
|
|
19039
19122
|
* @param {Array} options 选项
|
|
19040
19123
|
*/
|
|
19041
|
-
setFilter(fieldOrColumn, options) {
|
|
19124
|
+
setFilter(fieldOrColumn, options, isUpdate) {
|
|
19042
19125
|
const column = handleFieldOrColumn($xeTable, fieldOrColumn);
|
|
19043
19126
|
if (column && column.filters) {
|
|
19044
19127
|
column.filters = toFilters(options || []);
|
|
19128
|
+
if (isUpdate) {
|
|
19129
|
+
return $xeTable.handleColumnConfirmFilter(column, new Event('click'));
|
|
19130
|
+
}
|
|
19045
19131
|
}
|
|
19046
19132
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
19047
19133
|
},
|
|
@@ -25470,7 +25556,7 @@ const {
|
|
|
25470
25556
|
GLOBAL_EVENT_KEYS: grid_GLOBAL_EVENT_KEYS
|
|
25471
25557
|
} = core_.VxeUI;
|
|
25472
25558
|
const tableComponentPropKeys = Object.keys(props);
|
|
25473
|
-
const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'getPendingRecords', 'clearPendingRow', 'sort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'openTooltip', 'getCellLabel', 'getCellElement', 'focus', 'blur', 'connect'];
|
|
25559
|
+
const tableComponentMethodKeys = ['clearAll', 'syncData', 'updateData', 'loadData', 'reloadData', 'reloadRow', 'loadColumn', 'reloadColumn', 'getRowNode', 'getColumnNode', 'getRowIndex', 'getVTRowIndex', 'getVMRowIndex', 'getColumnIndex', 'getVTColumnIndex', 'getVMColumnIndex', 'setRow', 'createData', 'createRow', 'revertData', 'clearData', 'isInsertByRow', 'isUpdateByRow', 'getColumns', 'getColumnById', 'getColumnByField', 'getTableColumn', 'getFullColumns', 'getData', 'getCheckboxRecords', 'getParentRow', 'getTreeParentRow', 'getRowSeq', 'getRowById', 'getRowid', 'getTableData', 'getFullData', 'setColumnFixed', 'clearColumnFixed', 'setColumnWidth', 'getColumnWidth', 'hideColumn', 'showColumn', 'resetColumn', 'refreshColumn', 'refreshScroll', 'recalculate', 'closeTooltip', 'isAllCheckboxChecked', 'isAllCheckboxIndeterminate', 'getCheckboxIndeterminateRecords', 'setCheckboxRow', 'isCheckedByCheckboxRow', 'isIndeterminateByCheckboxRow', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'setRadioRow', 'clearCurrentRow', 'clearRadioRow', 'getCurrentRecord', 'getRadioRecord', 'getCurrentColumn', 'setCurrentColumn', 'clearCurrentColumn', 'setPendingRow', 'togglePendingRow', 'getPendingRecords', 'clearPendingRow', 'sort', 'setSort', 'clearSort', 'isSort', 'getSortColumns', 'closeFilter', 'isFilter', 'isActiveFilterByColumn', 'isRowExpandLoaded', 'clearRowExpandLoaded', 'reloadRowExpand', 'reloadRowExpand', 'toggleRowExpand', 'setAllRowExpand', 'setRowExpand', 'isExpandByRow', 'isRowExpandByRow', 'clearRowExpand', 'clearRowExpandReserve', 'getRowExpandRecords', 'getTreeExpandRecords', 'isTreeExpandLoaded', 'clearTreeExpandLoaded', 'reloadTreeExpand', 'reloadTreeChilds', 'toggleTreeExpand', 'setAllTreeExpand', 'setTreeExpand', 'isTreeExpandByRow', 'clearTreeExpand', 'clearTreeExpandReserve', 'getScroll', 'scrollTo', 'scrollToRow', 'scrollToColumn', 'clearScroll', 'updateFooter', 'updateStatus', 'setMergeCells', 'removeInsertRow', 'removeMergeCells', 'getMergeCells', 'clearMergeCells', 'setMergeFooterItems', 'removeMergeFooterItems', 'getMergeFooterItems', 'clearMergeFooterItems', 'getCustomStoreData', 'openTooltip', 'getCellLabel', 'getCellElement', 'focus', 'blur', 'connect'];
|
|
25474
25560
|
const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit-invalid', 'form-reset', 'form-collapse', 'form-toggle-collapse', 'proxy-query', 'proxy-delete', 'proxy-save', 'toolbar-button-click', 'toolbar-tool-click', 'zoom'];
|
|
25475
25561
|
/* harmony default export */ var grid = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
25476
25562
|
name: 'VxeGrid',
|