vxe-table 4.9.30 → 4.9.32
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/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/edit/hook.js +40 -16
- package/es/table/module/export/hook.js +8 -5
- package/es/table/module/filter/panel.js +6 -4
- package/es/table/src/table.js +15 -8
- package/es/table/style.css +3 -25
- 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 +3 -25
- 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/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +85 -35
- 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/edit/hook.js +50 -16
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/module/export/hook.js +7 -4
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/module/filter/panel.js +9 -3
- package/lib/table/module/filter/panel.min.js +1 -1
- package/lib/table/src/table.js +15 -9
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +3 -25
- 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 +3 -25
- 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/edit/hook.ts +41 -17
- package/packages/table/module/export/hook.ts +11 -7
- package/packages/table/module/filter/panel.ts +6 -4
- package/packages/table/src/table.ts +15 -8
- package/packages/ui/index.ts +1 -0
- package/styles/components/table.scss +3 -22
- /package/es/{iconfont.1734489196175.ttf → iconfont.1734659096070.ttf} +0 -0
- /package/es/{iconfont.1734489196175.woff → iconfont.1734659096070.woff} +0 -0
- /package/es/{iconfont.1734489196175.woff2 → iconfont.1734659096070.woff2} +0 -0
- /package/lib/{iconfont.1734489196175.ttf → iconfont.1734659096070.ttf} +0 -0
- /package/lib/{iconfont.1734489196175.woff → iconfont.1734659096070.woff} +0 -0
- /package/lib/{iconfont.1734489196175.woff2 → iconfont.1734659096070.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.32";
|
|
2002
2002
|
core_.VxeUI.version = version;
|
|
2003
2003
|
core_.VxeUI.tableVersion = version;
|
|
2004
2004
|
core_.VxeUI.setConfig({
|
|
@@ -2103,6 +2103,7 @@ core_.VxeUI.setConfig({
|
|
|
2103
2103
|
filterConfig: {
|
|
2104
2104
|
// remote: false,
|
|
2105
2105
|
// filterMethod: null,
|
|
2106
|
+
// destroyOnClose: false,
|
|
2106
2107
|
showIcon: true
|
|
2107
2108
|
},
|
|
2108
2109
|
treeConfig: {
|
|
@@ -2411,7 +2412,7 @@ var es_array_push = __webpack_require__(4114);
|
|
|
2411
2412
|
const {
|
|
2412
2413
|
log: log_log
|
|
2413
2414
|
} = core_.VxeUI;
|
|
2414
|
-
const log_version = `table v${"4.9.
|
|
2415
|
+
const log_version = `table v${"4.9.32"}`;
|
|
2415
2416
|
const warnLog = log_log.create('warn', log_version);
|
|
2416
2417
|
const errLog = log_log.create('error', log_version);
|
|
2417
2418
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -8248,6 +8249,8 @@ const {
|
|
|
8248
8249
|
initStore
|
|
8249
8250
|
} = tableReactData;
|
|
8250
8251
|
const {
|
|
8252
|
+
visible,
|
|
8253
|
+
multiple,
|
|
8251
8254
|
column
|
|
8252
8255
|
} = filterStore;
|
|
8253
8256
|
const filterRender = column ? column.filterRender : null;
|
|
@@ -8257,14 +8260,18 @@ const {
|
|
|
8257
8260
|
$panel,
|
|
8258
8261
|
$table: $xeTable
|
|
8259
8262
|
});
|
|
8263
|
+
const filterOpts = computeFilterOpts.value;
|
|
8264
|
+
const {
|
|
8265
|
+
destroyOnClose
|
|
8266
|
+
} = filterOpts;
|
|
8260
8267
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
8261
8268
|
class: ['vxe-table--filter-wrapper', 'filter--prevent-default', getPropClass(filterClassName, params), {
|
|
8262
8269
|
'is--animat': $xeTable.props.animat,
|
|
8263
|
-
'is--multiple':
|
|
8264
|
-
'is--active':
|
|
8270
|
+
'is--multiple': multiple,
|
|
8271
|
+
'is--active': visible
|
|
8265
8272
|
}],
|
|
8266
8273
|
style: filterStore.style
|
|
8267
|
-
}, initStore.filter && column ? renderOptions(filterRender, compConf).concat(renderFooters()) : []);
|
|
8274
|
+
}, initStore.filter && (destroyOnClose ? visible : true) && column ? renderOptions(filterRender, compConf).concat(renderFooters()) : []);
|
|
8268
8275
|
};
|
|
8269
8276
|
return renderVN;
|
|
8270
8277
|
}
|
|
@@ -14694,7 +14701,7 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14694
14701
|
const rowRest = fullAllDataRowIdData[getRowid($xeTable, row)];
|
|
14695
14702
|
return rowRest && !!rowRest.treeLoaded;
|
|
14696
14703
|
},
|
|
14697
|
-
clearTreeExpandLoaded(
|
|
14704
|
+
clearTreeExpandLoaded(rows) {
|
|
14698
14705
|
const {
|
|
14699
14706
|
treeExpandedMaps
|
|
14700
14707
|
} = reactData;
|
|
@@ -14703,16 +14710,22 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
|
|
|
14703
14710
|
} = internalData;
|
|
14704
14711
|
const treeOpts = computeTreeOpts.value;
|
|
14705
14712
|
const {
|
|
14706
|
-
transform
|
|
14707
|
-
lazy
|
|
14713
|
+
transform
|
|
14708
14714
|
} = treeOpts;
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
rowRest.treeLoaded = false;
|
|
14713
|
-
if (treeExpandedMaps[rowid]) {
|
|
14714
|
-
delete treeExpandedMaps[rowid];
|
|
14715
|
+
if (rows) {
|
|
14716
|
+
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
|
|
14717
|
+
rows = [rows];
|
|
14715
14718
|
}
|
|
14719
|
+
rows.forEach(row => {
|
|
14720
|
+
const rowid = getRowid($xeTable, row);
|
|
14721
|
+
const rowRest = fullAllDataRowIdData[rowid];
|
|
14722
|
+
if (rowRest) {
|
|
14723
|
+
rowRest.treeLoaded = false;
|
|
14724
|
+
if (treeExpandedMaps[rowid]) {
|
|
14725
|
+
delete treeExpandedMaps[rowid];
|
|
14726
|
+
}
|
|
14727
|
+
}
|
|
14728
|
+
});
|
|
14716
14729
|
}
|
|
14717
14730
|
if (transform) {
|
|
14718
14731
|
handleVirtualTreeToList();
|
|
@@ -20095,7 +20108,7 @@ const {
|
|
|
20095
20108
|
hooks: edit_hook_hooks,
|
|
20096
20109
|
getI18n: hook_getI18n
|
|
20097
20110
|
} = core_.VxeUI;
|
|
20098
|
-
const tableEditMethodKeys = ['insert', 'insertAt', 'insertNextAt', 'remove', 'removeCheckboxRow', 'removeRadioRow', 'removeCurrentRow', 'getRecordset', 'getInsertRecords', 'getRemoveRecords', 'getUpdateRecords', 'getEditRecord', 'getActiveRecord', 'getSelectedCell', 'clearEdit', 'clearActived', 'clearSelected', 'isEditByRow', 'isActiveByRow', 'setEditRow', 'setActiveRow', 'setEditCell', 'setActiveCell', 'setSelectCell'];
|
|
20111
|
+
const tableEditMethodKeys = ['insert', 'insertAt', 'insertNextAt', 'insertChild', 'insertChildAt', 'insertChildNextAt', 'remove', 'removeCheckboxRow', 'removeRadioRow', 'removeCurrentRow', 'getRecordset', 'getInsertRecords', 'getRemoveRecords', 'getUpdateRecords', 'getEditRecord', 'getActiveRecord', 'getSelectedCell', 'clearEdit', 'clearActived', 'clearSelected', 'isEditByRow', 'isActiveByRow', 'setEditRow', 'setActiveRow', 'setEditCell', 'setActiveCell', 'setSelectCell'];
|
|
20099
20112
|
edit_hook_hooks.add('tableEditModule', {
|
|
20100
20113
|
setupTable($xeTable) {
|
|
20101
20114
|
const {
|
|
@@ -20242,7 +20255,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20242
20255
|
}
|
|
20243
20256
|
});
|
|
20244
20257
|
}
|
|
20245
|
-
const handleInsertRowAt = (records,
|
|
20258
|
+
const handleInsertRowAt = (records, targetRow, isInsertNextRow) => {
|
|
20246
20259
|
const {
|
|
20247
20260
|
treeConfig
|
|
20248
20261
|
} = props;
|
|
@@ -20271,7 +20284,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20271
20284
|
[mapChildrenField]: [],
|
|
20272
20285
|
[childrenField]: []
|
|
20273
20286
|
} : {}, record))));
|
|
20274
|
-
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(
|
|
20287
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(targetRow)) {
|
|
20275
20288
|
// 如果为虚拟树
|
|
20276
20289
|
if (treeConfig && transform) {
|
|
20277
20290
|
insertTreeRow(newRecords, false);
|
|
@@ -20306,7 +20319,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20306
20319
|
});
|
|
20307
20320
|
}
|
|
20308
20321
|
} else {
|
|
20309
|
-
if (
|
|
20322
|
+
if (targetRow === -1) {
|
|
20310
20323
|
// 如果为虚拟树
|
|
20311
20324
|
if (treeConfig && transform) {
|
|
20312
20325
|
insertTreeRow(newRecords, true);
|
|
@@ -20344,7 +20357,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20344
20357
|
} else {
|
|
20345
20358
|
// 如果为虚拟树
|
|
20346
20359
|
if (treeConfig && transform) {
|
|
20347
|
-
const matchMapObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item =>
|
|
20360
|
+
const matchMapObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item => targetRow[rowField] === item[rowField], {
|
|
20348
20361
|
children: mapChildrenField
|
|
20349
20362
|
});
|
|
20350
20363
|
if (matchMapObj) {
|
|
@@ -20388,7 +20401,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20388
20401
|
});
|
|
20389
20402
|
// 源
|
|
20390
20403
|
if (parentRow) {
|
|
20391
|
-
const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item =>
|
|
20404
|
+
const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item => targetRow[rowField] === item[rowField], {
|
|
20392
20405
|
children: childrenField
|
|
20393
20406
|
});
|
|
20394
20407
|
if (matchObj) {
|
|
@@ -20412,12 +20425,12 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20412
20425
|
}
|
|
20413
20426
|
let afIndex = -1;
|
|
20414
20427
|
// 如果是可视索引
|
|
20415
|
-
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(
|
|
20416
|
-
if (
|
|
20417
|
-
afIndex =
|
|
20428
|
+
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(targetRow)) {
|
|
20429
|
+
if (targetRow < afterFullData.length) {
|
|
20430
|
+
afIndex = targetRow;
|
|
20418
20431
|
}
|
|
20419
20432
|
} else {
|
|
20420
|
-
afIndex = $xeTable.findRowIndexOf(afterFullData,
|
|
20433
|
+
afIndex = $xeTable.findRowIndexOf(afterFullData, targetRow);
|
|
20421
20434
|
}
|
|
20422
20435
|
// 如果是插入指定行的下一行
|
|
20423
20436
|
if (isInsertNextRow) {
|
|
@@ -20427,7 +20440,7 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20427
20440
|
throw new Error(hook_getI18n('vxe.error.unableInsert'));
|
|
20428
20441
|
}
|
|
20429
20442
|
afterFullData.splice(afIndex, 0, ...newRecords);
|
|
20430
|
-
tableFullData.splice($xeTable.findRowIndexOf(tableFullData,
|
|
20443
|
+
tableFullData.splice($xeTable.findRowIndexOf(tableFullData, targetRow), 0, ...newRecords);
|
|
20431
20444
|
// 刷新单元格合并
|
|
20432
20445
|
mergeList.forEach(mergeItem => {
|
|
20433
20446
|
const {
|
|
@@ -20471,6 +20484,31 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20471
20484
|
};
|
|
20472
20485
|
});
|
|
20473
20486
|
};
|
|
20487
|
+
const handleInsertChildRowAt = (records, parentRow, targetRow, isInsertNextRow) => {
|
|
20488
|
+
const {
|
|
20489
|
+
treeConfig
|
|
20490
|
+
} = props;
|
|
20491
|
+
const treeOpts = computeTreeOpts.value;
|
|
20492
|
+
const {
|
|
20493
|
+
transform,
|
|
20494
|
+
rowField,
|
|
20495
|
+
parentField
|
|
20496
|
+
} = treeOpts;
|
|
20497
|
+
if (treeConfig && transform) {
|
|
20498
|
+
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(records)) {
|
|
20499
|
+
records = [records];
|
|
20500
|
+
}
|
|
20501
|
+
return handleInsertRowAt(records.map(item => Object.assign({}, item, {
|
|
20502
|
+
[parentField]: parentRow[rowField]
|
|
20503
|
+
})), targetRow, isInsertNextRow);
|
|
20504
|
+
} else {
|
|
20505
|
+
errLog('vxe.error.errProp', ['tree-config.treeConfig=false', 'tree-config.treeConfig=true']);
|
|
20506
|
+
}
|
|
20507
|
+
return Promise.resolve({
|
|
20508
|
+
row: null,
|
|
20509
|
+
rows: []
|
|
20510
|
+
});
|
|
20511
|
+
};
|
|
20474
20512
|
const handleClearEdit = (evnt, targetRow) => {
|
|
20475
20513
|
const {
|
|
20476
20514
|
mouseConfig
|
|
@@ -20537,13 +20575,22 @@ edit_hook_hooks.add('tableEditModule', {
|
|
|
20537
20575
|
* 如果 row 为 -1 则从插入到底部,如果为树结构,则插入到目标节点底部
|
|
20538
20576
|
* 如果 row 为有效行则插入到该行的位置,如果为树结构,则有插入到效的目标节点该行的位置
|
|
20539
20577
|
* @param {Object/Array} records 新的数据
|
|
20540
|
-
* @param {Row}
|
|
20578
|
+
* @param {Row} targetRow 指定行
|
|
20541
20579
|
*/
|
|
20542
|
-
insertAt(records,
|
|
20543
|
-
return handleInsertRowAt(records,
|
|
20580
|
+
insertAt(records, targetRow) {
|
|
20581
|
+
return handleInsertRowAt(records, targetRow);
|
|
20582
|
+
},
|
|
20583
|
+
insertNextAt(records, targetRow) {
|
|
20584
|
+
return handleInsertRowAt(records, targetRow, true);
|
|
20585
|
+
},
|
|
20586
|
+
insertChild(records, parentRow) {
|
|
20587
|
+
return handleInsertChildRowAt(records, parentRow, null);
|
|
20544
20588
|
},
|
|
20545
|
-
|
|
20546
|
-
return
|
|
20589
|
+
insertChildAt(records, parentRow, targetRow) {
|
|
20590
|
+
return handleInsertChildRowAt(records, parentRow, targetRow);
|
|
20591
|
+
},
|
|
20592
|
+
insertChildNextAt(records, parentRow, targetRow) {
|
|
20593
|
+
return handleInsertChildRowAt(records, parentRow, targetRow, true);
|
|
20547
20594
|
},
|
|
20548
20595
|
/**
|
|
20549
20596
|
* 删除指定行数据
|
|
@@ -21588,6 +21635,9 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
21588
21635
|
const toBooleanValue = cellValue => {
|
|
21589
21636
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(cellValue) ? cellValue ? 'TRUE' : 'FALSE' : cellValue;
|
|
21590
21637
|
};
|
|
21638
|
+
const toStringValue = cellValue => {
|
|
21639
|
+
return eqEmptyValue(cellValue) ? '' : `${cellValue}`;
|
|
21640
|
+
};
|
|
21591
21641
|
const getBodyLabelData = (opts, columns, datas) => {
|
|
21592
21642
|
const {
|
|
21593
21643
|
isAllExpand,
|
|
@@ -21665,7 +21715,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
21665
21715
|
if (opts.original) {
|
|
21666
21716
|
cellValue = getCellValue(row, column);
|
|
21667
21717
|
} else {
|
|
21668
|
-
cellValue =
|
|
21718
|
+
cellValue = $xeTable.getCellLabel(row, column);
|
|
21669
21719
|
if (column.type === 'html') {
|
|
21670
21720
|
htmlCellElem.innerHTML = cellValue;
|
|
21671
21721
|
cellValue = htmlCellElem.innerText.trim();
|
|
@@ -21678,7 +21728,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
21678
21728
|
}
|
|
21679
21729
|
}
|
|
21680
21730
|
}
|
|
21681
|
-
item[column.id] =
|
|
21731
|
+
item[column.id] = toStringValue(cellValue);
|
|
21682
21732
|
});
|
|
21683
21733
|
expandMaps.set(row, 1);
|
|
21684
21734
|
rest.push(Object.assign(item, row));
|
|
@@ -21735,7 +21785,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
21735
21785
|
if (opts.original) {
|
|
21736
21786
|
cellValue = getCellValue(row, column);
|
|
21737
21787
|
} else {
|
|
21738
|
-
cellValue =
|
|
21788
|
+
cellValue = $xeTable.getCellLabel(row, column);
|
|
21739
21789
|
if (column.type === 'html') {
|
|
21740
21790
|
htmlCellElem.innerHTML = cellValue;
|
|
21741
21791
|
cellValue = htmlCellElem.innerText.trim();
|
|
@@ -21748,7 +21798,7 @@ export_hook_hooks.add('tableExportModule', {
|
|
|
21748
21798
|
}
|
|
21749
21799
|
}
|
|
21750
21800
|
}
|
|
21751
|
-
item[column.id] =
|
|
21801
|
+
item[column.id] = toStringValue(cellValue);
|
|
21752
21802
|
});
|
|
21753
21803
|
return item;
|
|
21754
21804
|
});
|
|
@@ -26045,7 +26095,7 @@ const {
|
|
|
26045
26095
|
GLOBAL_EVENT_KEYS: grid_GLOBAL_EVENT_KEYS
|
|
26046
26096
|
} = core_.VxeUI;
|
|
26047
26097
|
const tableComponentPropKeys = Object.keys(props);
|
|
26048
|
-
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'];
|
|
26098
|
+
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', 'setCheckboxRowKey', 'isCheckedByCheckboxRow', 'isCheckedByCheckboxRowKey', 'isIndeterminateByCheckboxRow', 'isIndeterminateByCheckboxRowKey', 'toggleCheckboxRow', 'setAllCheckboxRow', 'getRadioReserveRecord', 'clearRadioReserve', 'getCheckboxReserveRecords', 'clearCheckboxReserve', 'toggleAllCheckboxRow', 'clearCheckboxRow', 'setCurrentRow', 'isCheckedByRadioRow', 'isCheckedByRadioRowKey', 'setRadioRow', 'setRadioRowKey', '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'];
|
|
26049
26099
|
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'];
|
|
26050
26100
|
/* harmony default export */ var grid = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
26051
26101
|
name: 'VxeGrid',
|