vxe-table 3.11.34 → 3.11.36

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.
Files changed (49) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/style.css +1 -1
  4. package/es/style.min.css +1 -1
  5. package/es/table/module/edit/mixin.js +57 -33
  6. package/es/table/module/export/mixin.js +23 -20
  7. package/es/table/module/filter/panel.js +10 -7
  8. package/es/table/src/methods.js +17 -10
  9. package/es/table/style.css +3 -25
  10. package/es/table/style.min.css +1 -1
  11. package/es/ui/index.js +2 -1
  12. package/es/ui/src/log.js +1 -1
  13. package/es/vxe-table/style.css +3 -25
  14. package/es/vxe-table/style.min.css +1 -1
  15. package/lib/index.css +1 -1
  16. package/lib/index.min.css +1 -1
  17. package/lib/index.umd.js +121 -71
  18. package/lib/index.umd.min.js +1 -1
  19. package/lib/style.css +1 -1
  20. package/lib/style.min.css +1 -1
  21. package/lib/table/module/edit/mixin.js +67 -33
  22. package/lib/table/module/edit/mixin.min.js +1 -1
  23. package/lib/table/module/export/mixin.js +22 -19
  24. package/lib/table/module/export/mixin.min.js +1 -1
  25. package/lib/table/module/filter/panel.js +12 -6
  26. package/lib/table/module/filter/panel.min.js +1 -1
  27. package/lib/table/src/methods.js +17 -11
  28. package/lib/table/src/methods.min.js +1 -1
  29. package/lib/table/style/style.css +3 -25
  30. package/lib/table/style/style.min.css +1 -1
  31. package/lib/ui/index.js +2 -1
  32. package/lib/ui/index.min.js +1 -1
  33. package/lib/ui/src/log.js +1 -1
  34. package/lib/ui/src/log.min.js +1 -1
  35. package/lib/vxe-table/style/style.css +3 -25
  36. package/lib/vxe-table/style/style.min.css +1 -1
  37. package/package.json +2 -2
  38. package/packages/table/module/edit/mixin.ts +58 -33
  39. package/packages/table/module/export/mixin.ts +24 -20
  40. package/packages/table/module/filter/panel.ts +11 -7
  41. package/packages/table/src/methods.ts +17 -10
  42. package/packages/ui/index.ts +1 -0
  43. package/styles/components/table.scss +3 -22
  44. /package/es/{iconfont.1734489177027.ttf → iconfont.1734659093549.ttf} +0 -0
  45. /package/es/{iconfont.1734489177027.woff → iconfont.1734659093549.woff} +0 -0
  46. /package/es/{iconfont.1734489177027.woff2 → iconfont.1734659093549.woff2} +0 -0
  47. /package/lib/{iconfont.1734489177027.ttf → iconfont.1734659093549.ttf} +0 -0
  48. /package/lib/{iconfont.1734489177027.woff → iconfont.1734659093549.woff} +0 -0
  49. /package/lib/{iconfont.1734489177027.woff2 → iconfont.1734659093549.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
2220
2220
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2221
2221
 
2222
2222
 
2223
- const version = "3.11.34";
2223
+ const version = "3.11.36";
2224
2224
  core_.VxeUI.version = version;
2225
2225
  core_.VxeUI.tableVersion = version;
2226
2226
  core_.VxeUI.setConfig({
@@ -2325,6 +2325,7 @@ core_.VxeUI.setConfig({
2325
2325
  filterConfig: {
2326
2326
  // remote: false,
2327
2327
  // filterMethod: null,
2328
+ // destroyOnClose: false,
2328
2329
  showIcon: true
2329
2330
  },
2330
2331
  treeConfig: {
@@ -2792,7 +2793,7 @@ function isNodeElement(elem) {
2792
2793
  const {
2793
2794
  log: log_log
2794
2795
  } = core_.VxeUI;
2795
- const log_version = `table v${"3.11.34"}`;
2796
+ const log_version = `table v${"3.11.36"}`;
2796
2797
  const warnLog = log_log.create('warn', log_version);
2797
2798
  const errLog = log_log.create('error', log_version);
2798
2799
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -8057,7 +8058,7 @@ const Methods = {
8057
8058
  rceTimeout
8058
8059
  } = internalData;
8059
8060
  const el = $xeTable.$refs.refElem;
8060
- if (!el || !el.clientWidth) {
8061
+ if (el && el.clientWidth) {
8061
8062
  $xeTable.autoCellWidth();
8062
8063
  }
8063
8064
  if (rceTimeout) {
@@ -12293,7 +12294,7 @@ const Methods = {
12293
12294
  const rowRest = fullAllDataRowIdData[getRowid($xeTable, row)];
12294
12295
  return rowRest && !!rowRest.treeLoaded;
12295
12296
  },
12296
- clearTreeExpandLoaded(row) {
12297
+ clearTreeExpandLoaded(rows) {
12297
12298
  const $xeTable = this;
12298
12299
  const {
12299
12300
  treeOpts,
@@ -12301,16 +12302,22 @@ const Methods = {
12301
12302
  fullAllDataRowIdData
12302
12303
  } = this;
12303
12304
  const {
12304
- transform,
12305
- lazy
12305
+ transform
12306
12306
  } = treeOpts;
12307
- const rowid = getRowid($xeTable, row);
12308
- const rowRest = fullAllDataRowIdData[rowid];
12309
- if (lazy && rowRest) {
12310
- rowRest.treeLoaded = false;
12311
- if (treeExpandedMaps[rowid]) {
12312
- delete treeExpandedMaps[rowid];
12307
+ if (rows) {
12308
+ if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
12309
+ rows = [rows];
12313
12310
  }
12311
+ rows.forEach(row => {
12312
+ const rowid = getRowid($xeTable, row);
12313
+ const rowRest = fullAllDataRowIdData[rowid];
12314
+ if (rowRest) {
12315
+ rowRest.treeLoaded = false;
12316
+ if (treeExpandedMaps[rowid]) {
12317
+ delete treeExpandedMaps[rowid];
12318
+ }
12319
+ }
12320
+ });
12314
12321
  }
12315
12322
  if (transform) {
12316
12323
  this.handleVirtualTreeToList();
@@ -13674,7 +13681,7 @@ const Methods = {
13674
13681
  }
13675
13682
  };
13676
13683
  // Module methods
13677
- const funcs = 'setFilter,openFilter,clearFilter,saveFilterPanel,resetFilterPanel,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,fullValidateField,validateField,openExport,closeExport,openPrint,closePrint,getPrintHtml,exportData,openImport,closeImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom,saveCustom,cancelCustom,resetCustom,toggleCustomAllCheckbox,setCustomAllCheckbox'.split(',');
13684
+ const funcs = 'setFilter,openFilter,clearFilter,saveFilterPanel,resetFilterPanel,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,insertChild,insertChildAt,insertChildNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,fullValidateField,validateField,openExport,closeExport,openPrint,closePrint,getPrintHtml,exportData,openImport,closeImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom,saveCustom,cancelCustom,resetCustom,toggleCustomAllCheckbox,setCustomAllCheckbox'.split(',');
13678
13685
  funcs.forEach(name => {
13679
13686
  Methods[name] = function (...args) {
13680
13687
  if (true) {
@@ -17027,28 +17034,34 @@ const {
17027
17034
  }
17028
17035
  },
17029
17036
  render(h) {
17037
+ const $xeTable = this.$parent;
17030
17038
  const {
17031
- $parent: $xetable,
17032
17039
  filterStore
17033
17040
  } = this;
17034
17041
  const {
17035
17042
  args,
17043
+ visible,
17044
+ multiple,
17036
17045
  column
17037
17046
  } = filterStore;
17038
17047
  const filterRender = column ? column.filterRender : null;
17039
17048
  const compConf = isEnableConf(filterRender) ? panel_renderer.get(filterRender.name) : null;
17040
17049
  const filterClassName = compConf ? compConf.tableFilterClassName || compConf.filterClassName : '';
17050
+ const filterOpts = $xeTable.computeFilterOpts;
17051
+ const {
17052
+ destroyOnClose
17053
+ } = filterOpts;
17041
17054
  return h('div', {
17042
17055
  class: ['vxe-table--filter-wrapper', 'filter--prevent-default', compConf && compConf.className ? compConf.className : '', getClass(filterClassName, Object.assign({
17043
17056
  $panel: this,
17044
- $table: $xetable
17057
+ $table: $xeTable
17045
17058
  }, args)), {
17046
- 'is--animat': $xetable.animat,
17047
- 'is--multiple': filterStore.multiple,
17048
- 'is--active': filterStore.visible
17059
+ 'is--animat': $xeTable.animat,
17060
+ 'is--multiple': multiple,
17061
+ 'is--active': visible
17049
17062
  }],
17050
17063
  style: filterStore.style
17051
- }, filterStore.visible && column ? this.renderOptions(h, filterRender, compConf).concat(this.renderFooter(h)) : []);
17064
+ }, filterStore.visible && (destroyOnClose ? visible : true) && column ? this.renderOptions(h, filterRender, compConf).concat(this.renderFooter(h)) : []);
17052
17065
  },
17053
17066
  methods: {
17054
17067
  renderOptions(h, filterRender, compConf) {
@@ -18889,8 +18902,7 @@ function insertTreeRow(_vm, newRecords, isAppend) {
18889
18902
  }
18890
18903
  });
18891
18904
  }
18892
- function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18893
- const $xeTable = _vm;
18905
+ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
18894
18906
  const props = $xeTable;
18895
18907
  const reactData = $xeTable;
18896
18908
  const internalData = $xeTable;
@@ -18918,14 +18930,14 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18918
18930
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(records)) {
18919
18931
  records = [records];
18920
18932
  }
18921
- const newRecords = _vm.defineField(records.map(record => Object.assign(treeConfig && transform ? {
18933
+ const newRecords = $xeTable.defineField(records.map(record => Object.assign(treeConfig && transform ? {
18922
18934
  [mapChildrenField]: [],
18923
18935
  [childrenField]: []
18924
18936
  } : {}, record)));
18925
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(row)) {
18937
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(targetRow)) {
18926
18938
  // 如果为虚拟树
18927
18939
  if (treeConfig && transform) {
18928
- insertTreeRow(_vm, newRecords, false);
18940
+ insertTreeRow($xeTable, newRecords, false);
18929
18941
  } else {
18930
18942
  newRecords.forEach(item => {
18931
18943
  const rowid = getRowid($xeTable, item);
@@ -18957,10 +18969,10 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18957
18969
  });
18958
18970
  }
18959
18971
  } else {
18960
- if (row === -1) {
18972
+ if (targetRow === -1) {
18961
18973
  // 如果为虚拟树
18962
18974
  if (treeConfig && transform) {
18963
- insertTreeRow(_vm, newRecords, true);
18975
+ insertTreeRow($xeTable, newRecords, true);
18964
18976
  } else {
18965
18977
  newRecords.forEach(item => {
18966
18978
  const rowid = getRowid($xeTable, item);
@@ -18995,7 +19007,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
18995
19007
  } else {
18996
19008
  // 如果为虚拟树
18997
19009
  if (treeConfig && transform) {
18998
- const matchMapObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item => row[rowField] === item[rowField], {
19010
+ const matchMapObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item => targetRow[rowField] === item[rowField], {
18999
19011
  children: mapChildrenField
19000
19012
  });
19001
19013
  if (matchMapObj) {
@@ -19003,10 +19015,10 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19003
19015
  parent: parentRow
19004
19016
  } = matchMapObj;
19005
19017
  const parentMapChilds = parentRow ? parentRow[mapChildrenField] : tableFullTreeData;
19006
- const parentRest = fullAllDataRowIdData[getRowid(_vm, parentRow)];
19018
+ const parentRest = fullAllDataRowIdData[getRowid($xeTable, parentRow)];
19007
19019
  const parentLevel = parentRest ? parentRest.level : 0;
19008
19020
  newRecords.forEach((item, i) => {
19009
- const rowid = getRowid(_vm, item);
19021
+ const rowid = getRowid($xeTable, item);
19010
19022
  if (true) {
19011
19023
  if (item[treeOpts.parentField]) {
19012
19024
  if (parentRow && item[treeOpts.parentField] !== parentRow[rowField]) {
@@ -19039,7 +19051,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19039
19051
  });
19040
19052
  // 源
19041
19053
  if (parentRow) {
19042
- const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item => row[rowField] === item[rowField], {
19054
+ const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullTreeData, item => targetRow[rowField] === item[rowField], {
19043
19055
  children: childrenField
19044
19056
  });
19045
19057
  if (matchObj) {
@@ -19055,7 +19067,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19055
19067
  if (true) {
19056
19068
  warnLog('vxe.error.unableInsert');
19057
19069
  }
19058
- insertTreeRow(_vm, newRecords, true);
19070
+ insertTreeRow($xeTable, newRecords, true);
19059
19071
  }
19060
19072
  } else {
19061
19073
  if (treeConfig) {
@@ -19063,12 +19075,12 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19063
19075
  }
19064
19076
  let afIndex = -1;
19065
19077
  // 如果是可视索引
19066
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(row)) {
19067
- if (row < afterFullData.length) {
19068
- afIndex = row;
19078
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(targetRow)) {
19079
+ if (targetRow < afterFullData.length) {
19080
+ afIndex = targetRow;
19069
19081
  }
19070
19082
  } else {
19071
- afIndex = _vm.findRowIndexOf(afterFullData, row);
19083
+ afIndex = $xeTable.findRowIndexOf(afterFullData, targetRow);
19072
19084
  }
19073
19085
  // 如果是插入指定行的下一行
19074
19086
  if (isInsertNextRow) {
@@ -19078,7 +19090,7 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19078
19090
  throw new Error(errLog('vxe.error.unableInsert'));
19079
19091
  }
19080
19092
  afterFullData.splice(afIndex, 0, ...newRecords);
19081
- tableFullData.splice(_vm.findRowIndexOf(tableFullData, row), 0, ...newRecords);
19093
+ tableFullData.splice($xeTable.findRowIndexOf(tableFullData, targetRow), 0, ...newRecords);
19082
19094
  // 刷新单元格合并
19083
19095
  mergeList.forEach(mergeItem => {
19084
19096
  const {
@@ -19101,20 +19113,20 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19101
19113
  const rowid = getRowid($xeTable, newRow);
19102
19114
  insertMaps[rowid] = newRow;
19103
19115
  });
19104
- _vm.cacheRowMap();
19105
- _vm.updateScrollYStatus();
19106
- _vm.handleTableData(treeConfig && transform);
19116
+ $xeTable.cacheRowMap();
19117
+ $xeTable.updateScrollYStatus();
19118
+ $xeTable.handleTableData(treeConfig && transform);
19107
19119
  if (!(treeConfig && transform)) {
19108
- _vm.updateAfterDataIndex();
19120
+ $xeTable.updateAfterDataIndex();
19109
19121
  }
19110
- _vm.updateFooter();
19111
- _vm.checkSelectionStatus();
19112
- if (_vm.scrollYLoad) {
19113
- _vm.updateScrollYSpace();
19122
+ $xeTable.updateFooter();
19123
+ $xeTable.checkSelectionStatus();
19124
+ if ($xeTable.scrollYLoad) {
19125
+ $xeTable.updateScrollYSpace();
19114
19126
  }
19115
- return _vm.$nextTick().then(() => {
19116
- _vm.updateCellAreas();
19117
- return _vm.recalculate();
19127
+ return $xeTable.$nextTick().then(() => {
19128
+ $xeTable.updateCellAreas();
19129
+ return $xeTable.recalculate();
19118
19130
  }).then(() => {
19119
19131
  return {
19120
19132
  row: newRecords.length ? newRecords[newRecords.length - 1] : null,
@@ -19122,6 +19134,32 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19122
19134
  };
19123
19135
  });
19124
19136
  }
19137
+ function handleInsertChildRowAt($xeTable, records, parentRow, targetRow, isInsertNextRow) {
19138
+ const props = $xeTable;
19139
+ const {
19140
+ treeConfig
19141
+ } = props;
19142
+ const treeOpts = $xeTable.computeTreeOpts;
19143
+ const {
19144
+ transform,
19145
+ rowField,
19146
+ parentField
19147
+ } = treeOpts;
19148
+ if (treeConfig && transform) {
19149
+ if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(records)) {
19150
+ records = [records];
19151
+ }
19152
+ return handleInsertRowAt($xeTable, records.map(item => Object.assign({}, item, {
19153
+ [parentField]: parentRow[rowField]
19154
+ })), targetRow, isInsertNextRow);
19155
+ } else {
19156
+ errLog('vxe.error.errProp', ['tree-config.treeConfig=false', 'tree-config.treeConfig=true']);
19157
+ }
19158
+ return Promise.resolve({
19159
+ row: null,
19160
+ rows: []
19161
+ });
19162
+ }
19125
19163
  /* harmony default export */ var edit_mixin = ({
19126
19164
  methods: {
19127
19165
  /**
@@ -19138,14 +19176,23 @@ function handleInsertRowAt(_vm, records, row, isInsertNextRow) {
19138
19176
  * 如果 row 为 -1 则从插入到底部
19139
19177
  * 如果 row 为有效行则插入到该行的位置
19140
19178
  * @param {Object/Array} records 新的数据
19141
- * @param {Row} row 指定行
19179
+ * @param {Row} targetRow 指定行
19142
19180
  * @returns
19143
19181
  */
19144
- _insertAt(records, row) {
19145
- return handleInsertRowAt(this, records, row);
19182
+ _insertAt(records, targetRow) {
19183
+ return handleInsertRowAt(this, records, targetRow);
19184
+ },
19185
+ _insertNextAt(records, targetRow) {
19186
+ return handleInsertRowAt(this, records, targetRow, true);
19187
+ },
19188
+ _insertChild(records, parentRow) {
19189
+ return handleInsertChildRowAt(this, records, parentRow, null);
19190
+ },
19191
+ _insertChildAt(records, parentRow, targetRow) {
19192
+ return handleInsertChildRowAt(this, records, parentRow, targetRow);
19146
19193
  },
19147
- _insertNextAt(records, row) {
19148
- return handleInsertRowAt(this, records, row, true);
19194
+ _insertChildNextAt(records, parentRow, targetRow) {
19195
+ return handleInsertChildRowAt(this, records, parentRow, targetRow, true);
19149
19196
  },
19150
19197
  /**
19151
19198
  * 删除指定行数据
@@ -19992,7 +20039,10 @@ function toTableBorder(border) {
19992
20039
  function toBooleanValue(cellValue) {
19993
20040
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(cellValue) ? cellValue ? 'TRUE' : 'FALSE' : cellValue;
19994
20041
  }
19995
- function getBodyLabelData($xetable, opts, columns, datas) {
20042
+ const toStringValue = cellValue => {
20043
+ return eqEmptyValue(cellValue) ? '' : `${cellValue}`;
20044
+ };
20045
+ function getBodyLabelData($xeTable, opts, columns, datas) {
19996
20046
  const {
19997
20047
  isAllExpand,
19998
20048
  mode
@@ -20003,7 +20053,7 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20003
20053
  radioOpts,
20004
20054
  checkboxOpts,
20005
20055
  columnOpts
20006
- } = $xetable;
20056
+ } = $xeTable;
20007
20057
  const childrenField = treeOpts.children || treeOpts.childrenField;
20008
20058
  if (!htmlCellElem) {
20009
20059
  htmlCellElem = document.createElement('div');
@@ -20015,13 +20065,13 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20015
20065
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(datas, (item, $rowIndex, items, path, parent, nodes) => {
20016
20066
  const row = item._row || item;
20017
20067
  const parentRow = parent && parent._row ? parent._row : parent;
20018
- if (isAllExpand || !parentRow || expandMaps.has(parentRow) && $xetable.isTreeExpandByRow(parentRow)) {
20019
- const hasRowChild = hasTreeChildren($xetable, row);
20068
+ if (isAllExpand || !parentRow || expandMaps.has(parentRow) && $xeTable.isTreeExpandByRow(parentRow)) {
20069
+ const hasRowChild = hasTreeChildren($xeTable, row);
20020
20070
  const item = {
20021
20071
  _row: row,
20022
20072
  _level: nodes.length - 1,
20023
20073
  _hasChild: hasRowChild,
20024
- _expand: hasRowChild && $xetable.isTreeExpandByRow(row)
20074
+ _expand: hasRowChild && $xeTable.isTreeExpandByRow(row)
20025
20075
  };
20026
20076
  columns.forEach((column, $columnIndex) => {
20027
20077
  let cellValue = '';
@@ -20038,7 +20088,7 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20038
20088
  }
20039
20089
  if (bodyExportMethod) {
20040
20090
  cellValue = bodyExportMethod({
20041
- $table: $xetable,
20091
+ $table: $xeTable,
20042
20092
  row,
20043
20093
  column,
20044
20094
  options: opts
@@ -20048,18 +20098,18 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20048
20098
  case 'seq':
20049
20099
  {
20050
20100
  const seqValue = path.map((num, i) => i % 2 === 0 ? Number(num) + 1 : '.').join('');
20051
- cellValue = mode === 'all' ? seqValue : getSeq($xetable, seqValue, row, $rowIndex, column, $columnIndex);
20101
+ cellValue = mode === 'all' ? seqValue : getSeq($xeTable, seqValue, row, $rowIndex, column, $columnIndex);
20052
20102
  break;
20053
20103
  }
20054
20104
  case 'checkbox':
20055
- cellValue = toBooleanValue($xetable.isCheckedByCheckboxRow(row));
20105
+ cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row));
20056
20106
  item._checkboxLabel = checkboxOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkboxOpts.labelField) : '';
20057
20107
  item._checkboxDisabled = checkboxOpts.checkMethod && !checkboxOpts.checkMethod({
20058
20108
  row
20059
20109
  });
20060
20110
  break;
20061
20111
  case 'radio':
20062
- cellValue = toBooleanValue($xetable.isCheckedByRadioRow(row));
20112
+ cellValue = toBooleanValue($xeTable.isCheckedByRadioRow(row));
20063
20113
  item._radioLabel = radioOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, radioOpts.labelField) : '';
20064
20114
  item._radioDisabled = radioOpts.checkMethod && !radioOpts.checkMethod({
20065
20115
  row
@@ -20069,12 +20119,12 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20069
20119
  if (opts.original) {
20070
20120
  cellValue = getCellValue(row, column);
20071
20121
  } else {
20072
- cellValue = $xetable.getCellLabel(row, column);
20122
+ cellValue = $xeTable.getCellLabel(row, column);
20073
20123
  if (column.type === 'html') {
20074
20124
  htmlCellElem.innerHTML = cellValue;
20075
20125
  cellValue = htmlCellElem.innerText.trim();
20076
20126
  } else {
20077
- const cell = $xetable.getCellElement(row, column);
20127
+ const cell = $xeTable.getCellElement(row, column);
20078
20128
  if (cell) {
20079
20129
  cellValue = cell.innerText.trim();
20080
20130
  }
@@ -20082,7 +20132,7 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20082
20132
  }
20083
20133
  }
20084
20134
  }
20085
- item[column.id] = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(cellValue);
20135
+ item[column.id] = toStringValue(cellValue);
20086
20136
  });
20087
20137
  expandMaps.set(row, 1);
20088
20138
  rest.push(Object.assign(item, row));
@@ -20111,7 +20161,7 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20111
20161
  }
20112
20162
  if (bodyExportMethod) {
20113
20163
  cellValue = bodyExportMethod({
20114
- $table: $xetable,
20164
+ $table: $xeTable,
20115
20165
  row,
20116
20166
  column,
20117
20167
  options: opts
@@ -20121,18 +20171,18 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20121
20171
  case 'seq':
20122
20172
  {
20123
20173
  const seqValue = $rowIndex + 1;
20124
- cellValue = mode === 'all' ? seqValue : getSeq($xetable, seqValue, row, $rowIndex, column, $columnIndex);
20174
+ cellValue = mode === 'all' ? seqValue : getSeq($xeTable, seqValue, row, $rowIndex, column, $columnIndex);
20125
20175
  break;
20126
20176
  }
20127
20177
  case 'checkbox':
20128
- cellValue = toBooleanValue($xetable.isCheckedByCheckboxRow(row));
20178
+ cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row));
20129
20179
  item._checkboxLabel = checkboxOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, checkboxOpts.labelField) : '';
20130
20180
  item._checkboxDisabled = checkboxOpts.checkMethod && !checkboxOpts.checkMethod({
20131
20181
  row
20132
20182
  });
20133
20183
  break;
20134
20184
  case 'radio':
20135
- cellValue = toBooleanValue($xetable.isCheckedByRadioRow(row));
20185
+ cellValue = toBooleanValue($xeTable.isCheckedByRadioRow(row));
20136
20186
  item._radioLabel = radioOpts.labelField ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(row, radioOpts.labelField) : '';
20137
20187
  item._radioDisabled = radioOpts.checkMethod && !radioOpts.checkMethod({
20138
20188
  row
@@ -20142,12 +20192,12 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20142
20192
  if (opts.original) {
20143
20193
  cellValue = getCellValue(row, column);
20144
20194
  } else {
20145
- cellValue = $xetable.getCellLabel(row, column);
20195
+ cellValue = $xeTable.getCellLabel(row, column);
20146
20196
  if (column.type === 'html') {
20147
20197
  htmlCellElem.innerHTML = cellValue;
20148
20198
  cellValue = htmlCellElem.innerText.trim();
20149
20199
  } else {
20150
- const cell = $xetable.getCellElement(row, column);
20200
+ const cell = $xeTable.getCellElement(row, column);
20151
20201
  if (cell) {
20152
20202
  cellValue = cell.innerText.trim();
20153
20203
  }
@@ -20155,7 +20205,7 @@ function getBodyLabelData($xetable, opts, columns, datas) {
20155
20205
  }
20156
20206
  }
20157
20207
  }
20158
- item[column.id] = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(cellValue);
20208
+ item[column.id] = toStringValue(cellValue);
20159
20209
  });
20160
20210
  return item;
20161
20211
  });