vxe-table 4.7.6 → 4.7.7

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 (65) hide show
  1. package/es/grid/src/grid.js +10 -9
  2. package/es/style.css +1 -1
  3. package/es/style.min.css +1 -1
  4. package/es/table/module/custom/hook.js +8 -15
  5. package/es/table/module/custom/panel.js +166 -102
  6. package/es/table/module/edit/hook.js +11 -10
  7. package/es/table/module/export/hook.js +14 -11
  8. package/es/table/module/validator/hook.js +6 -5
  9. package/es/table/render/index.js +3 -2
  10. package/es/table/src/columnInfo.js +10 -8
  11. package/es/table/src/table.js +140 -80
  12. package/es/table/style.css +39 -8
  13. package/es/table/style.min.css +1 -1
  14. package/es/toolbar/src/toolbar.js +12 -11
  15. package/es/ui/index.js +6 -3
  16. package/es/ui/src/log.js +5 -0
  17. package/es/vxe-table/style.css +39 -8
  18. package/es/vxe-table/style.min.css +1 -1
  19. package/lib/grid/src/grid.js +9 -9
  20. package/lib/grid/src/grid.min.js +1 -1
  21. package/lib/index.umd.js +326 -201
  22. package/lib/index.umd.min.js +1 -1
  23. package/lib/style.css +1 -1
  24. package/lib/style.min.css +1 -1
  25. package/lib/table/module/custom/hook.js +8 -17
  26. package/lib/table/module/custom/hook.min.js +1 -1
  27. package/lib/table/module/custom/panel.js +96 -42
  28. package/lib/table/module/custom/panel.min.js +1 -1
  29. package/lib/table/module/edit/hook.js +10 -10
  30. package/lib/table/module/edit/hook.min.js +1 -1
  31. package/lib/table/module/export/hook.js +14 -12
  32. package/lib/table/module/export/hook.min.js +1 -1
  33. package/lib/table/module/validator/hook.js +6 -6
  34. package/lib/table/module/validator/hook.min.js +1 -1
  35. package/lib/table/render/index.js +3 -3
  36. package/lib/table/render/index.min.js +1 -1
  37. package/lib/table/src/columnInfo.js +10 -9
  38. package/lib/table/src/columnInfo.min.js +1 -1
  39. package/lib/table/src/table.js +146 -80
  40. package/lib/table/src/table.min.js +1 -1
  41. package/lib/table/style/style.css +39 -8
  42. package/lib/table/style/style.min.css +1 -1
  43. package/lib/toolbar/src/toolbar.js +11 -11
  44. package/lib/toolbar/src/toolbar.min.js +1 -1
  45. package/lib/ui/index.js +6 -3
  46. package/lib/ui/index.min.js +1 -1
  47. package/lib/ui/src/log.js +13 -0
  48. package/lib/ui/src/log.min.js +1 -0
  49. package/lib/vxe-table/style/style.css +39 -8
  50. package/lib/vxe-table/style/style.min.css +1 -1
  51. package/package.json +2 -2
  52. package/packages/grid/src/grid.ts +10 -9
  53. package/packages/table/module/custom/hook.ts +10 -17
  54. package/packages/table/module/custom/panel.ts +166 -104
  55. package/packages/table/module/edit/hook.ts +11 -10
  56. package/packages/table/module/export/hook.ts +18 -13
  57. package/packages/table/module/validator/hook.ts +6 -5
  58. package/packages/table/render/index.ts +3 -2
  59. package/packages/table/src/columnInfo.ts +11 -8
  60. package/packages/table/src/table.ts +139 -80
  61. package/packages/toolbar/src/toolbar.ts +12 -11
  62. package/packages/ui/index.ts +4 -1
  63. package/packages/ui/src/log.ts +8 -0
  64. package/styles/components/table-module/custom.scss +41 -7
  65. package/styles/components/table.scss +1 -0
package/lib/index.umd.js CHANGED
@@ -1791,8 +1791,8 @@ var external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_ =
1791
1791
  var external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_default = /*#__PURE__*/__webpack_require__.n(external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_);
1792
1792
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
1793
1793
 
1794
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.6";
1795
- external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.6";
1794
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.7";
1795
+ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.7";
1796
1796
  external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig({
1797
1797
  emptyCell: ' ',
1798
1798
  table: {
@@ -1847,9 +1847,12 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
1847
1847
  // visibleMethod () {}
1848
1848
  // },
1849
1849
  customConfig: {
1850
+ allowVisible: true,
1851
+ allowResizable: true,
1850
1852
  allowFixed: true,
1851
1853
  allowSort: true,
1852
- showFooter: true
1854
+ showFooter: true,
1855
+ placement: 'topRight'
1853
1856
  // storage: false,
1854
1857
  // checkMethod () {}
1855
1858
  },
@@ -2233,15 +2236,23 @@ function formatText(value, placeholder) {
2233
2236
  function eqEmptyValue(cellValue) {
2234
2237
  return cellValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(cellValue);
2235
2238
  }
2239
+ ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
2240
+
2241
+ const {
2242
+ log: log_log
2243
+ } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2244
+ const version = `table v${"4.7.7"}`;
2245
+ const warnLog = log_log.create('warn', version);
2246
+ const errLog = log_log.create('error', version);
2236
2247
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
2237
2248
 
2238
2249
 
2239
2250
 
2240
2251
 
2252
+
2241
2253
  const {
2242
2254
  getI18n: columnInfo_getI18n,
2243
- formats: columnInfo_formats,
2244
- log: columnInfo_log
2255
+ formats: columnInfo_formats
2245
2256
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
2246
2257
  class ColumnInfo {
2247
2258
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -2257,16 +2268,16 @@ class ColumnInfo {
2257
2268
  if (true) {
2258
2269
  const types = ['seq', 'checkbox', 'radio', 'expand', 'html'];
2259
2270
  if (_vm.type && types.indexOf(_vm.type) === -1) {
2260
- columnInfo_log.warn('vxe.error.errProp', [`type=${_vm.type}`, types.join(', ')]);
2271
+ warnLog('vxe.error.errProp', [`type=${_vm.type}`, types.join(', ')]);
2261
2272
  }
2262
2273
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(_vm.cellRender) || _vm.cellRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(_vm.cellRender)) {
2263
- columnInfo_log.warn('vxe.error.errProp', [`column.cell-render=${_vm.cellRender}`, 'column.cell-render={}']);
2274
+ warnLog('vxe.error.errProp', [`column.cell-render=${_vm.cellRender}`, 'column.cell-render={}']);
2264
2275
  }
2265
2276
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(_vm.editRender) || _vm.editRender && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isObject(_vm.editRender)) {
2266
- columnInfo_log.warn('vxe.error.errProp', [`column.edit-render=${_vm.editRender}`, 'column.edit-render={}']);
2277
+ warnLog('vxe.error.errProp', [`column.edit-render=${_vm.editRender}`, 'column.edit-render={}']);
2267
2278
  }
2268
2279
  if (_vm.cellRender && _vm.editRender) {
2269
- columnInfo_log.warn('vxe.error.errConflicts', ['column.cell-render', 'column.edit-render']);
2280
+ warnLog('vxe.error.errConflicts', ['column.cell-render', 'column.edit-render']);
2270
2281
  }
2271
2282
  if (_vm.type === 'expand') {
2272
2283
  const {
@@ -2280,19 +2291,19 @@ class ColumnInfo {
2280
2291
  } = $xeTable.getComputeMaps();
2281
2292
  const treeOpts = computeTreeOpts.value;
2282
2293
  if (treeConfig && (treeOpts.showLine || treeOpts.line)) {
2283
- columnInfo_log.err('vxe.error.errConflicts', ['tree-config.showLine', 'column.type=expand']);
2294
+ errLog('vxe.error.errConflicts', ['tree-config.showLine', 'column.type=expand']);
2284
2295
  }
2285
2296
  }
2286
2297
  if (formatter) {
2287
2298
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(formatter)) {
2288
2299
  const gFormatOpts = columnInfo_formats.get(formatter) || (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default())[formatter];
2289
2300
  if (!gFormatOpts || !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(gFormatOpts.cellFormatMethod)) {
2290
- columnInfo_log.err('vxe.error.notFormats', [formatter]);
2301
+ errLog('vxe.error.notFormats', [formatter]);
2291
2302
  }
2292
2303
  } else if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(formatter)) {
2293
2304
  const gFormatOpts = columnInfo_formats.get(formatter[0]) || (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default())[formatter[0]];
2294
2305
  if (!gFormatOpts || !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(gFormatOpts.cellFormatMethod)) {
2295
- columnInfo_log.err('vxe.error.notFormats', [formatter[0]]);
2306
+ errLog('vxe.error.notFormats', [formatter[0]]);
2296
2307
  }
2297
2308
  }
2298
2309
  }
@@ -2367,6 +2378,7 @@ class ColumnInfo {
2367
2378
  renderVisible: false,
2368
2379
  renderWidth: 0,
2369
2380
  renderHeight: 0,
2381
+ renderResizeWidth: 0,
2370
2382
  resizeWidth: 0,
2371
2383
  renderLeft: 0,
2372
2384
  renderArgs: [],
@@ -6434,9 +6446,6 @@ const {
6434
6446
  }
6435
6447
  }, 300);
6436
6448
  };
6437
- const getStoreData = () => {
6438
- return {};
6439
- };
6440
6449
  const handleSaveStore = type => {
6441
6450
  const {
6442
6451
  id
@@ -6450,7 +6459,7 @@ const {
6450
6459
  updateStore({
6451
6460
  id,
6452
6461
  type,
6453
- storeData: getStoreData()
6462
+ storeData: $xeTable.getCustomStoreData()
6454
6463
  });
6455
6464
  }
6456
6465
  };
@@ -6458,11 +6467,33 @@ const {
6458
6467
  const {
6459
6468
  customColumnList
6460
6469
  } = reactData;
6461
- customColumnList.forEach((column, index) => {
6462
- const sortIndex = index + 1;
6463
- column.renderSortNumber = sortIndex;
6464
- column.fixed = column.renderFixed;
6465
- column.visible = column.renderVisible;
6470
+ const customOpts = computeCustomOpts.value;
6471
+ const {
6472
+ allowVisible,
6473
+ allowSort,
6474
+ allowFixed,
6475
+ allowResizable
6476
+ } = customOpts;
6477
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(customColumnList, (column, index, items, path, parent) => {
6478
+ if (!parent) {
6479
+ if (allowSort) {
6480
+ const sortIndex = index + 1;
6481
+ column.renderSortNumber = sortIndex;
6482
+ }
6483
+ if (allowFixed) {
6484
+ column.fixed = column.renderFixed;
6485
+ }
6486
+ }
6487
+ if (allowResizable) {
6488
+ if (column.renderVisible && (!column.children || column.children.length)) {
6489
+ if (column.renderResizeWidth !== column.renderWidth) {
6490
+ column.resizeWidth = column.renderResizeWidth;
6491
+ }
6492
+ }
6493
+ }
6494
+ if (allowVisible) {
6495
+ column.visible = column.renderVisible;
6496
+ }
6466
6497
  });
6467
6498
  $xeTable.closeCustom();
6468
6499
  $xeTable.emitCustomEvent('confirm', evnt);
@@ -6480,15 +6511,31 @@ const {
6480
6511
  oldFixedMaps,
6481
6512
  oldVisibleMaps
6482
6513
  } = customStore;
6514
+ const customOpts = computeCustomOpts.value;
6515
+ const {
6516
+ allowVisible,
6517
+ allowSort,
6518
+ allowFixed,
6519
+ allowResizable
6520
+ } = customOpts;
6483
6521
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(customColumnList, column => {
6484
6522
  const colid = column.getKey();
6485
6523
  const visible = !!oldVisibleMaps[colid];
6486
6524
  const fixed = oldFixedMaps[colid] || '';
6487
- column.renderVisible = visible;
6488
- column.visible = visible;
6489
- column.renderFixed = fixed;
6490
- column.fixed = fixed;
6491
- column.renderSortNumber = oldSortMaps[colid] || 0;
6525
+ if (allowVisible) {
6526
+ column.renderVisible = visible;
6527
+ column.visible = visible;
6528
+ }
6529
+ if (allowFixed) {
6530
+ column.renderFixed = fixed;
6531
+ column.fixed = fixed;
6532
+ }
6533
+ if (allowSort) {
6534
+ column.renderSortNumber = oldSortMaps[colid] || 0;
6535
+ }
6536
+ if (allowResizable) {
6537
+ column.renderResizeWidth = column.renderWidth;
6538
+ }
6492
6539
  }, {
6493
6540
  children: 'children'
6494
6541
  });
@@ -6499,7 +6546,7 @@ const {
6499
6546
  $xeTable.resetColumn(true);
6500
6547
  $xeTable.closeCustom();
6501
6548
  $xeTable.emitCustomEvent('reset', evnt);
6502
- handleSaveStore('confirm');
6549
+ handleSaveStore('reset');
6503
6550
  };
6504
6551
  const resetCustomEvent = evnt => {
6505
6552
  if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.modal) {
@@ -6700,9 +6747,11 @@ const {
6700
6747
  const {
6701
6748
  checkMethod,
6702
6749
  visibleMethod,
6750
+ allowVisible,
6703
6751
  allowSort,
6704
6752
  allowFixed,
6705
- trigger
6753
+ trigger,
6754
+ placement
6706
6755
  } = customOpts;
6707
6756
  const isMaxFixedColumn = computeIsMaxFixedColumn.value;
6708
6757
  const colVNs = [];
@@ -6733,7 +6782,7 @@ const {
6733
6782
  onDragstart: sortDragstartEvent,
6734
6783
  onDragend: sortDragendEvent,
6735
6784
  onDragover: sortDragoverEvent
6736
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6785
+ }, [allowVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6737
6786
  class: ['vxe-table-custom--checkbox-option', {
6738
6787
  'is--checked': isChecked,
6739
6788
  'is--indeterminate': isIndeterminate,
@@ -6747,7 +6796,7 @@ const {
6747
6796
  }
6748
6797
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6749
6798
  class: ['vxe-checkbox--icon', isIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
6750
- })]), allowSort && column.level === 1 ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6799
+ })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowSort && column.level === 1 ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6751
6800
  class: 'vxe-table-custom--sort-option'
6752
6801
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6753
6802
  class: 'vxe-table-custom--sort-btn',
@@ -6787,14 +6836,17 @@ const {
6787
6836
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6788
6837
  ref: refElem,
6789
6838
  key: 'simple',
6790
- class: ['vxe-table-custom-wrapper', {
6839
+ class: ['vxe-table-custom-wrapper', `placement--${placement}`, {
6791
6840
  'is--active': customStore.visible
6792
- }]
6841
+ }],
6842
+ style: maxHeight && !['left', 'right'].includes(placement) ? {
6843
+ maxHeight: `${maxHeight}px`
6844
+ } : {}
6793
6845
  }, customStore.visible ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('ul', {
6794
6846
  class: 'vxe-table-custom--header'
6795
6847
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('li', {
6796
6848
  class: 'vxe-table-custom--option'
6797
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6849
+ }, [allowVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6798
6850
  class: ['vxe-table-custom--checkbox-option', {
6799
6851
  'is--checked': isAllChecked,
6800
6852
  'is--indeterminate': isAllIndeterminate
@@ -6805,16 +6857,15 @@ const {
6805
6857
  class: ['vxe-checkbox--icon', isAllIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
6806
6858
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6807
6859
  class: 'vxe-checkbox--label'
6808
- }, panel_getI18n('vxe.toolbar.customAll'))])])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6860
+ }, panel_getI18n('vxe.toolbar.customAll'))]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6861
+ class: 'vxe-checkbox--label'
6862
+ }, panel_getI18n('vxe.table.customTitle'))])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6809
6863
  ref: bodyElemRef,
6810
6864
  class: 'vxe-table-custom--list-wrapper'
6811
6865
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.TransitionGroup, {
6812
6866
  class: 'vxe-table-custom--body',
6813
6867
  name: 'vxe-table-custom--list',
6814
6868
  tag: 'ul',
6815
- style: maxHeight ? {
6816
- maxHeight: `${maxHeight}px`
6817
- } : {},
6818
6869
  ...customWrapperOns
6819
6870
  }, {
6820
6871
  default: () => colVNs
@@ -6843,8 +6894,10 @@ const {
6843
6894
  } = reactData;
6844
6895
  const customOpts = computeCustomOpts.value;
6845
6896
  const {
6897
+ allowVisible,
6846
6898
  allowSort,
6847
6899
  allowFixed,
6900
+ allowResizable,
6848
6901
  checkMethod,
6849
6902
  visibleMethod
6850
6903
  } = customOpts;
@@ -6872,7 +6925,7 @@ const {
6872
6925
  onDragstart: sortDragstartEvent,
6873
6926
  onDragend: sortDragendEvent,
6874
6927
  onDragover: sortDragoverEvent
6875
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6928
+ }, [allowVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6876
6929
  class: 'vxe-table-custom-popup--column-item col--visible'
6877
6930
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6878
6931
  class: ['vxe-table-custom--checkbox-option', {
@@ -6888,7 +6941,7 @@ const {
6888
6941
  }
6889
6942
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6890
6943
  class: ['vxe-checkbox--icon', isIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
6891
- })])]), allowSort ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6944
+ })])]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowSort ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6892
6945
  class: 'vxe-table-custom-popup--column-item col--sort'
6893
6946
  }, [column.level === 1 ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6894
6947
  class: 'vxe-table-custom-popup--column-sort-btn',
@@ -6897,14 +6950,23 @@ const {
6897
6950
  onMouseup: sortMouseupEvent
6898
6951
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
6899
6952
  class: panel_getIcon().TABLE_CUSTOM_SORT
6900
- })]) : null]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6953
+ })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', '-')]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6901
6954
  class: 'vxe-table-custom-popup--column-item col--name'
6902
6955
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6903
6956
  class: 'vxe-table-custom-popup--name',
6904
6957
  title: colTitle
6905
- }, colTitle)]), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6958
+ }, colTitle)]), allowResizable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6959
+ class: 'vxe-table-custom-popup--column-item col--resizable'
6960
+ }, [!isChecked || column.children && column.children.length ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', '-') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)('vxe-input'), {
6961
+ type: 'integer',
6962
+ min: 40,
6963
+ modelValue: column.renderResizeWidth,
6964
+ 'onUpdate:modelValue'(value) {
6965
+ column.renderResizeWidth = Math.max(40, Number(value));
6966
+ }
6967
+ })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
6906
6968
  class: 'vxe-table-custom-popup--column-item col--fixed'
6907
- }, [!parent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)('vxe-radio-group'), {
6969
+ }, [parent ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', '-') : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)('vxe-radio-group'), {
6908
6970
  modelValue: column.renderFixed || '',
6909
6971
  type: 'button',
6910
6972
  size: 'mini',
@@ -6926,7 +6988,7 @@ const {
6926
6988
  // onChange () {
6927
6989
  // changePopupFixedOption(column)
6928
6990
  // }
6929
- }) : null]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]));
6991
+ })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]));
6930
6992
  }
6931
6993
  });
6932
6994
  const isAllChecked = customStore.isAll;
@@ -6936,10 +6998,10 @@ const {
6936
6998
  className: 'vxe-table-custom-popup-wrapper vxe-table--ignore-clear',
6937
6999
  modelValue: customStore.visible,
6938
7000
  title: panel_getI18n('vxe.custom.cstmTitle'),
6939
- width: '40vw',
6940
- minWidth: 520,
6941
- height: '50vh',
6942
- minHeight: 300,
7001
+ width: 700,
7002
+ minWidth: 700,
7003
+ height: 400,
7004
+ minHeight: 400,
6943
7005
  mask: true,
6944
7006
  lockView: true,
6945
7007
  showFooter: true,
@@ -6956,11 +7018,11 @@ const {
6956
7018
  class: 'vxe-table-custom-popup--body'
6957
7019
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6958
7020
  class: 'vxe-table-custom-popup--table-wrapper'
6959
- }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('colgroup', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
7021
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('colgroup', {}, [allowVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
6960
7022
  style: {
6961
7023
  width: '80px'
6962
7024
  }
6963
- }), allowSort ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
7025
+ }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowSort ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
6964
7026
  style: {
6965
7027
  width: '80px'
6966
7028
  }
@@ -6968,11 +7030,15 @@ const {
6968
7030
  style: {
6969
7031
  minWidth: '120px'
6970
7032
  }
6971
- }), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
7033
+ }), allowResizable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
7034
+ style: {
7035
+ width: '140px'
7036
+ }
7037
+ }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('col', {
6972
7038
  style: {
6973
7039
  width: '200px'
6974
7040
  }
6975
- }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('thead', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
7041
+ }) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('thead', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', {}, [allowVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
6976
7042
  class: ['vxe-table-custom--checkbox-option', {
6977
7043
  'is--checked': isAllChecked,
6978
7044
  'is--indeterminate': isAllIndeterminate
@@ -6983,7 +7049,7 @@ const {
6983
7049
  class: ['vxe-checkbox--icon', isAllIndeterminate ? panel_getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? panel_getIcon().TABLE_CHECKBOX_CHECKED : panel_getIcon().TABLE_CHECKBOX_UNCHECKED]
6984
7050
  }), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6985
7051
  class: 'vxe-checkbox--label'
6986
- }, panel_getI18n('vxe.toolbar.customAll'))])]), allowSort ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
7052
+ }, panel_getI18n('vxe.toolbar.customAll'))])]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowSort ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6987
7053
  class: 'vxe-table-custom-popup--table-sort-help-title'
6988
7054
  }, panel_getI18n('vxe.custom.setting.colSort')), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)('vxe-tooltip'), {
6989
7055
  enterable: true,
@@ -6994,7 +7060,7 @@ const {
6994
7060
  class: 'vxe-table-custom-popup--table-sort-help-icon vxe-icon-question-circle-fill'
6995
7061
  });
6996
7062
  }
6997
- })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colTitle')), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colFixed', [columnOpts.maxFixedSize || 0])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.TransitionGroup, {
7063
+ })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colTitle')), allowResizable ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colResizable')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), allowFixed ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', {}, panel_getI18n('vxe.custom.setting.colFixed', [columnOpts.maxFixedSize || 0])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.TransitionGroup, {
6998
7064
  class: 'vxe-table-custom--body',
6999
7065
  tag: 'tbody',
7000
7066
  name: 'vxe-table-custom--list'
@@ -7940,6 +8006,7 @@ const {
7940
8006
 
7941
8007
 
7942
8008
 
8009
+
7943
8010
  const {
7944
8011
  getConfig: table_getConfig,
7945
8012
  getI18n: table_getI18n,
@@ -7951,7 +8018,6 @@ const {
7951
8018
  hooks: table_hooks,
7952
8019
  globalEvents: table_globalEvents,
7953
8020
  GLOBAL_EVENT_KEYS,
7954
- log: table_log,
7955
8021
  useFns
7956
8022
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
7957
8023
  const isWebkit = browse['-webkit'] && !browse.edge;
@@ -8716,7 +8782,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
8716
8782
  merges = [merges];
8717
8783
  }
8718
8784
  if (treeConfig && merges.length) {
8719
- table_log.err('vxe.error.noTree', ['merge-cells | merge-footer-items']);
8785
+ errLog('vxe.error.noTree', ['merge-cells | merge-footer-items']);
8720
8786
  }
8721
8787
  merges.forEach(item => {
8722
8788
  let {
@@ -8774,7 +8840,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
8774
8840
  merges = [merges];
8775
8841
  }
8776
8842
  if (treeConfig && merges.length) {
8777
- table_log.err('vxe.error.noTree', ['merge-cells | merge-footer-items']);
8843
+ errLog('vxe.error.noTree', ['merge-cells | merge-footer-items']);
8778
8844
  }
8779
8845
  merges.forEach(item => {
8780
8846
  let {
@@ -8852,7 +8918,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
8852
8918
  if (customConfig && (isCustomResizable || isCustomVisible || isCustomFixed || isCustomSort)) {
8853
8919
  const customMap = {};
8854
8920
  if (!id) {
8855
- table_log.err('vxe.error.reqProp', ['id']);
8921
+ errLog('vxe.error.reqProp', ['id']);
8856
8922
  return;
8857
8923
  }
8858
8924
  // 自定义列宽
@@ -9009,7 +9075,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
9009
9075
  if (field) {
9010
9076
  if (true) {
9011
9077
  if (fullColumnFieldData[field]) {
9012
- table_log.warn('vxe.error.colRepet', ['field', field]);
9078
+ warnLog('vxe.error.colRepet', ['field', field]);
9013
9079
  }
9014
9080
  }
9015
9081
  fullColumnFieldData[field] = rest;
@@ -9023,7 +9089,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
9023
9089
  if (treeNode) {
9024
9090
  if (true) {
9025
9091
  if (treeNodeColumn) {
9026
- table_log.warn('vxe.error.colRepet', ['tree-node', treeNode]);
9092
+ warnLog('vxe.error.colRepet', ['tree-node', treeNode]);
9027
9093
  }
9028
9094
  }
9029
9095
  if (!treeNodeColumn) {
@@ -9032,7 +9098,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
9032
9098
  } else if (type === 'expand') {
9033
9099
  if (true) {
9034
9100
  if (expandColumn) {
9035
- table_log.warn('vxe.error.colRepet', ['type', type]);
9101
+ warnLog('vxe.error.colRepet', ['type', type]);
9036
9102
  }
9037
9103
  }
9038
9104
  if (!expandColumn) {
@@ -9042,14 +9108,14 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
9042
9108
  if (true) {
9043
9109
  if (type === 'checkbox') {
9044
9110
  if (checkboxColumn) {
9045
- table_log.warn('vxe.error.colRepet', ['type', type]);
9111
+ warnLog('vxe.error.colRepet', ['type', type]);
9046
9112
  }
9047
9113
  if (!checkboxColumn) {
9048
9114
  checkboxColumn = column;
9049
9115
  }
9050
9116
  } else if (type === 'radio') {
9051
9117
  if (radioColumn) {
9052
- table_log.warn('vxe.error.colRepet', ['type', type]);
9118
+ warnLog('vxe.error.colRepet', ['type', type]);
9053
9119
  }
9054
9120
  if (!radioColumn) {
9055
9121
  radioColumn = column;
@@ -9060,7 +9126,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
9060
9126
  isAllOverflow = false;
9061
9127
  }
9062
9128
  if (fullColumnIdData[colid]) {
9063
- table_log.err('vxe.error.colRepet', ['colId', colid]);
9129
+ errLog('vxe.error.colRepet', ['colId', colid]);
9064
9130
  }
9065
9131
  fullColumnIdData[colid] = rest;
9066
9132
  };
@@ -9074,16 +9140,16 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
9074
9140
  }
9075
9141
  if (true) {
9076
9142
  if (expandColumn && mouseOpts.area) {
9077
- table_log.err('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
9143
+ errLog('vxe.error.errConflicts', ['mouse-config.area', 'column.type=expand']);
9078
9144
  }
9079
9145
  }
9080
9146
  if (true) {
9081
9147
  if (htmlColumn) {
9082
9148
  if (!columnOpts.useKey) {
9083
- table_log.err('vxe.error.reqProp', ['column-config.useKey', 'column.type=html']);
9149
+ errLog('vxe.error.reqProp', ['column-config.useKey', 'column.type=html']);
9084
9150
  }
9085
9151
  if (!rowOpts.useKey) {
9086
- table_log.err('vxe.error.reqProp', ['row-config.useKey', 'column.type=html']);
9152
+ errLog('vxe.error.reqProp', ['row-config.useKey', 'column.type=html']);
9087
9153
  }
9088
9154
  }
9089
9155
  }
@@ -10510,23 +10576,23 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
10510
10576
  // 树结构自动转换
10511
10577
  if (true) {
10512
10578
  if (!treeOpts.rowField) {
10513
- table_log.err('vxe.error.reqProp', ['tree-config.rowField']);
10579
+ errLog('vxe.error.reqProp', ['tree-config.rowField']);
10514
10580
  }
10515
10581
  if (!treeOpts.parentField) {
10516
- table_log.err('vxe.error.reqProp', ['tree-config.parentField']);
10582
+ errLog('vxe.error.reqProp', ['tree-config.parentField']);
10517
10583
  }
10518
10584
  if (!childrenField) {
10519
- table_log.err('vxe.error.reqProp', ['tree-config.childrenField']);
10585
+ errLog('vxe.error.reqProp', ['tree-config.childrenField']);
10520
10586
  }
10521
10587
  if (!treeOpts.mapChildrenField) {
10522
- table_log.err('vxe.error.reqProp', ['tree-config.mapChildrenField']);
10588
+ errLog('vxe.error.reqProp', ['tree-config.mapChildrenField']);
10523
10589
  }
10524
10590
  if (childrenField === treeOpts.mapChildrenField) {
10525
- table_log.err('vxe.error.errConflicts', ['tree-config.childrenField', 'tree-config.mapChildrenField']);
10591
+ errLog('vxe.error.errConflicts', ['tree-config.childrenField', 'tree-config.mapChildrenField']);
10526
10592
  }
10527
10593
  // fullData.forEach(row => {
10528
10594
  // if (row[treeOpts.children] && row[treeOpts.children].length) {
10529
- // log.warn('vxe.error.errConflicts', ['tree-config.transform', `row.${treeOpts.children}`])
10595
+ // warnLog('vxe.error.errConflicts', ['tree-config.transform', `row.${treeOpts.children}`])
10530
10596
  // }
10531
10597
  // })
10532
10598
  }
@@ -10564,13 +10630,13 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
10564
10630
  if (true) {
10565
10631
  if (sYLoad) {
10566
10632
  if (!(props.height || props.maxHeight)) {
10567
- table_log.err('vxe.error.reqProp', ['table.height | table.max-height | table.scroll-y={enabled: false}']);
10633
+ errLog('vxe.error.reqProp', ['table.height | table.max-height | table.scroll-y={enabled: false}']);
10568
10634
  }
10569
10635
  if (!props.showOverflow) {
10570
- table_log.warn('vxe.error.reqProp', ['table.show-overflow']);
10636
+ warnLog('vxe.error.reqProp', ['table.show-overflow']);
10571
10637
  }
10572
10638
  if (props.spanMethod) {
10573
- table_log.warn('vxe.error.scrollErrProp', ['table.span-method']);
10639
+ warnLog('vxe.error.scrollErrProp', ['table.span-method']);
10574
10640
  }
10575
10641
  }
10576
10642
  }
@@ -10726,7 +10792,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
10726
10792
  column.fixed = parent.fixed;
10727
10793
  }
10728
10794
  if (parent && column.fixed !== parent.fixed) {
10729
- table_log.err('vxe.error.groupFixed');
10795
+ errLog('vxe.error.groupFixed');
10730
10796
  }
10731
10797
  if (isColGroup) {
10732
10798
  column.visible = !!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(column.children, subColumn => hasChildrenList(subColumn) ? false : subColumn.visible);
@@ -10778,16 +10844,16 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
10778
10844
  if (scrollXLoad) {
10779
10845
  if (true) {
10780
10846
  // if (props.showHeader && !props.showHeaderOverflow) {
10781
- // log.warn('vxe.error.reqProp', ['show-header-overflow'])
10847
+ // warnLog('vxe.error.reqProp', ['show-header-overflow'])
10782
10848
  // }
10783
10849
  // if (props.showFooter && !props.showFooterOverflow) {
10784
- // log.warn('vxe.error.reqProp', ['show-footer-overflow'])
10850
+ // warnLog('vxe.error.reqProp', ['show-footer-overflow'])
10785
10851
  // }
10786
10852
  if (props.spanMethod) {
10787
- table_log.warn('vxe.error.scrollErrProp', ['span-method']);
10853
+ warnLog('vxe.error.scrollErrProp', ['span-method']);
10788
10854
  }
10789
10855
  if (props.footerSpanMethod) {
10790
- table_log.warn('vxe.error.scrollErrProp', ['footer-span-method']);
10856
+ warnLog('vxe.error.scrollErrProp', ['footer-span-method']);
10791
10857
  }
10792
10858
  }
10793
10859
  const {
@@ -10847,7 +10913,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
10847
10913
  tablePrivateMethods.handleTableData(true);
10848
10914
  if (true) {
10849
10915
  if ((reactData.scrollXLoad || reactData.scrollYLoad) && reactData.expandColumn) {
10850
- table_log.warn('vxe.error.scrollErrProp', ['column.type=expand']);
10916
+ warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
10851
10917
  }
10852
10918
  }
10853
10919
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
@@ -11067,7 +11133,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
11067
11133
  * 对于某些特殊的场景,比如深层树节点元素发生变动时可能会用到
11068
11134
  */
11069
11135
  syncData() {
11070
- table_log.warn('vxe.error.delFunc', ['syncData', 'getData']);
11136
+ warnLog('vxe.error.delFunc', ['syncData', 'getData']);
11071
11137
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
11072
11138
  reactData.tableData = [];
11073
11139
  emit('update:data', internalData.tableFullData);
@@ -11191,7 +11257,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
11191
11257
  reactData.tableData = tableData.slice(0);
11192
11258
  } else {
11193
11259
  if (true) {
11194
- table_log.warn('vxe.error.reqProp', ['keep-source']);
11260
+ warnLog('vxe.error.reqProp', ['keep-source']);
11195
11261
  }
11196
11262
  }
11197
11263
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
@@ -11401,7 +11467,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
11401
11467
  } = internalData;
11402
11468
  if (!keepSource) {
11403
11469
  if (true) {
11404
- table_log.warn('vxe.error.reqProp', ['keep-source']);
11470
+ warnLog('vxe.error.reqProp', ['keep-source']);
11405
11471
  }
11406
11472
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
11407
11473
  }
@@ -11805,6 +11871,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
11805
11871
  })) {
11806
11872
  column.visible = column.defaultVisible;
11807
11873
  }
11874
+ column.renderResizeWidth = column.renderWidth;
11808
11875
  });
11809
11876
  if (opts.resizable) {
11810
11877
  tablePrivateMethods.saveCustomResizable(true);
@@ -12532,7 +12599,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
12532
12599
  },
12533
12600
  reloadExpandContent(row) {
12534
12601
  if (true) {
12535
- table_log.warn('vxe.error.delFunc', ['reloadExpandContent', 'reloadRowExpand']);
12602
+ warnLog('vxe.error.delFunc', ['reloadExpandContent', 'reloadRowExpand']);
12536
12603
  }
12537
12604
  // 即将废弃
12538
12605
  return tableMethods.reloadRowExpand(row);
@@ -12656,7 +12723,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
12656
12723
  isExpandByRow(row) {
12657
12724
  // 已废弃
12658
12725
  if (true) {
12659
- table_log.warn('vxe.error.delFunc', ['isExpandByRow', 'isRowExpandByRow']);
12726
+ warnLog('vxe.error.delFunc', ['isExpandByRow', 'isRowExpandByRow']);
12660
12727
  }
12661
12728
  return tableMethods.isRowExpandByRow(row);
12662
12729
  },
@@ -12772,7 +12839,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
12772
12839
  },
12773
12840
  reloadTreeChilds(row) {
12774
12841
  if (true) {
12775
- table_log.warn('vxe.error.delFunc', ['reloadTreeChilds', 'reloadTreeExpand']);
12842
+ warnLog('vxe.error.delFunc', ['reloadTreeChilds', 'reloadTreeExpand']);
12776
12843
  }
12777
12844
  // 即将废弃
12778
12845
  return tableMethods.reloadTreeExpand(row);
@@ -13075,7 +13142,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13075
13142
  */
13076
13143
  setMergeCells(merges) {
13077
13144
  if (props.spanMethod) {
13078
- table_log.err('vxe.error.errConflicts', ['merge-cells', 'span-method']);
13145
+ errLog('vxe.error.errConflicts', ['merge-cells', 'span-method']);
13079
13146
  }
13080
13147
  setMerges(merges, reactData.mergeList, internalData.afterFullData);
13081
13148
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
@@ -13089,7 +13156,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13089
13156
  */
13090
13157
  removeMergeCells(merges) {
13091
13158
  if (props.spanMethod) {
13092
- table_log.err('vxe.error.errConflicts', ['merge-cells', 'span-method']);
13159
+ errLog('vxe.error.errConflicts', ['merge-cells', 'span-method']);
13093
13160
  }
13094
13161
  const rest = removeMerges(merges, reactData.mergeList, internalData.afterFullData);
13095
13162
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
@@ -13115,7 +13182,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13115
13182
  },
13116
13183
  setMergeFooterItems(merges) {
13117
13184
  if (props.footerSpanMethod) {
13118
- table_log.err('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
13185
+ errLog('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
13119
13186
  }
13120
13187
  setMerges(merges, reactData.mergeFooterList);
13121
13188
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
@@ -13125,7 +13192,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13125
13192
  },
13126
13193
  removeMergeFooterItems(merges) {
13127
13194
  if (props.footerSpanMethod) {
13128
- table_log.err('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
13195
+ errLog('vxe.error.errConflicts', ['merge-footer-items', 'footer-span-method']);
13129
13196
  }
13130
13197
  const rest = removeMerges(merges, reactData.mergeFooterList);
13131
13198
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
@@ -13159,6 +13226,71 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13159
13226
  }
13160
13227
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
13161
13228
  },
13229
+ getCustomStoreData() {
13230
+ const {
13231
+ id
13232
+ } = props;
13233
+ const customOpts = computeCustomOpts.value;
13234
+ const {
13235
+ collectColumn
13236
+ } = internalData;
13237
+ const {
13238
+ checkMethod
13239
+ } = customOpts;
13240
+ const resizableData = {};
13241
+ const sortData = {};
13242
+ const visibleData = {};
13243
+ const fixedData = {};
13244
+ const storeData = {
13245
+ resizableData,
13246
+ sortData,
13247
+ visibleData,
13248
+ fixedData
13249
+ };
13250
+ if (!id) {
13251
+ errLog('vxe.error.reqProp', ['id']);
13252
+ return storeData;
13253
+ }
13254
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(collectColumn, (column, index, items, path, parent) => {
13255
+ // 排序只支持一级
13256
+ if (!parent) {
13257
+ collectColumn.forEach(column => {
13258
+ const colKey = column.getKey();
13259
+ if (colKey) {
13260
+ sortData[colKey] = column.renderSortNumber;
13261
+ }
13262
+ });
13263
+ }
13264
+ if (column.resizeWidth) {
13265
+ const colKey = column.getKey();
13266
+ if (colKey) {
13267
+ resizableData[colKey] = column.renderWidth;
13268
+ }
13269
+ }
13270
+ if (column.fixed && column.fixed !== column.defaultFixed) {
13271
+ const colKey = column.getKey();
13272
+ if (colKey) {
13273
+ fixedData[colKey] = column.fixed;
13274
+ }
13275
+ }
13276
+ if (!checkMethod || checkMethod({
13277
+ column
13278
+ })) {
13279
+ if (!column.visible && column.defaultVisible) {
13280
+ const colKey = column.getKey();
13281
+ if (colKey) {
13282
+ visibleData[colKey] = false;
13283
+ }
13284
+ } else if (column.visible && !column.defaultVisible) {
13285
+ const colKey = column.getKey();
13286
+ if (colKey) {
13287
+ visibleData[colKey] = true;
13288
+ }
13289
+ }
13290
+ }
13291
+ });
13292
+ return storeData;
13293
+ },
13162
13294
  focus() {
13163
13295
  internalData.isActivated = true;
13164
13296
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
@@ -13179,7 +13311,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
13179
13311
  $table: $xeTable
13180
13312
  });
13181
13313
  } else {
13182
- table_log.err('vxe.error.barUnableLink');
13314
+ errLog('vxe.error.barUnableLink');
13183
13315
  }
13184
13316
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
13185
13317
  }
@@ -14080,7 +14212,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
14080
14212
  const columnWidthStorageMap = getCustomStorageMap(resizableStorageKey);
14081
14213
  let columnWidthStorage;
14082
14214
  if (!id) {
14083
- table_log.err('vxe.error.reqProp', ['id']);
14215
+ errLog('vxe.error.reqProp', ['id']);
14084
14216
  return;
14085
14217
  }
14086
14218
  if (!isReset) {
@@ -14117,7 +14249,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
14117
14249
  const columnSortStorageMap = getCustomStorageMap(sortStorageKey);
14118
14250
  let columnWidthStorage;
14119
14251
  if (!id) {
14120
- table_log.err('vxe.error.reqProp', ['id']);
14252
+ errLog('vxe.error.reqProp', ['id']);
14121
14253
  return;
14122
14254
  }
14123
14255
  if (!isReset) {
@@ -14153,7 +14285,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
14153
14285
  const columnFixedStorageMap = getCustomStorageMap(fixedStorageKey);
14154
14286
  const colFixeds = [];
14155
14287
  if (!id) {
14156
- table_log.err('vxe.error.reqProp', ['id']);
14288
+ errLog('vxe.error.reqProp', ['id']);
14157
14289
  return;
14158
14290
  }
14159
14291
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(collectColumn, column => {
@@ -14189,7 +14321,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
14189
14321
  const colHides = [];
14190
14322
  const colShows = [];
14191
14323
  if (!id) {
14192
- table_log.err('vxe.error.reqProp', ['id']);
14324
+ errLog('vxe.error.reqProp', ['id']);
14193
14325
  return;
14194
14326
  }
14195
14327
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(collectColumn, column => {
@@ -14244,7 +14376,7 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
14244
14376
  evntList = table_interceptor.get('event.clearActived');
14245
14377
  if (true) {
14246
14378
  if (evntList.length) {
14247
- table_log.warn('vxe.error.delEvent', ['event.clearActived', 'event.clearEdit']);
14379
+ warnLog('vxe.error.delEvent', ['event.clearActived', 'event.clearEdit']);
14248
14380
  }
14249
14381
  }
14250
14382
  }
@@ -15364,12 +15496,12 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15364
15496
  if (true) {
15365
15497
  'openExport,openPrint,exportData,openImport,importData,saveFile,readFile,importByFile,print'.split(',').forEach(name => {
15366
15498
  $xeTable[name] = function () {
15367
- table_log.err('vxe.error.reqModule', ['VxeTableExportModule']);
15499
+ errLog('vxe.error.reqModule', ['VxeTableExportModule']);
15368
15500
  };
15369
15501
  });
15370
15502
  'clearValidate,fullValidate,validate'.split(',').forEach(name => {
15371
15503
  $xeTable[name] = function () {
15372
- table_log.err('vxe.error.reqModule', ['VxeTableValidatorModule']);
15504
+ errLog('vxe.error.reqModule', ['VxeTableValidatorModule']);
15373
15505
  };
15374
15506
  });
15375
15507
  }
@@ -15470,10 +15602,10 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15470
15602
  // const checkboxOpts = computeCheckboxOpts.value
15471
15603
  // const checkboxColumn = internalData.tableFullColumn.find(column => column.type === 'checkbox')
15472
15604
  // if (checkboxColumn && internalData.tableFullData.length > 300 && !checkboxOpts.checkField) {
15473
- // log.warn('vxe.error.checkProp', ['checkbox-config.checkField'])
15605
+ // warnLog('vxe.error.checkProp', ['checkbox-config.checkField'])
15474
15606
  // }
15475
15607
  if ((scrollXLoad || scrollYLoad) && expandColumn) {
15476
- table_log.warn('vxe.error.scrollErrProp', ['column.type=expand']);
15608
+ warnLog('vxe.error.scrollErrProp', ['column.type=expand']);
15477
15609
  }
15478
15610
  }
15479
15611
  tableMethods.recalculate();
@@ -15621,40 +15753,40 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15621
15753
  const rowOpts = computeRowOpts.value;
15622
15754
  if (true) {
15623
15755
  if (props.rowId) {
15624
- table_log.warn('vxe.error.delProp', ['row-id', 'row-config.keyField']);
15756
+ warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField']);
15625
15757
  }
15626
15758
  if (props.rowKey) {
15627
- table_log.warn('vxe.error.delProp', ['row-key', 'row-config.useKey']);
15759
+ warnLog('vxe.error.delProp', ['row-key', 'row-config.useKey']);
15628
15760
  }
15629
15761
  if (props.columnKey) {
15630
- table_log.warn('vxe.error.delProp', ['column-id', 'column-config.useKey']);
15762
+ warnLog('vxe.error.delProp', ['column-id', 'column-config.useKey']);
15631
15763
  }
15632
15764
  if (!(props.rowId || rowOpts.keyField) && (checkboxOpts.reserve || checkboxOpts.checkRowKeys || radioOpts.reserve || radioOpts.checkRowKey || expandOpts.expandRowKeys || treeOpts.expandRowKeys)) {
15633
- table_log.warn('vxe.error.reqProp', ['row-config.keyField']);
15765
+ warnLog('vxe.error.reqProp', ['row-config.keyField']);
15634
15766
  }
15635
15767
  if (props.editConfig && (editOpts.showStatus || editOpts.showUpdateStatus || editOpts.showInsertStatus) && !props.keepSource) {
15636
- table_log.warn('vxe.error.reqProp', ['keep-source']);
15768
+ warnLog('vxe.error.reqProp', ['keep-source']);
15637
15769
  }
15638
15770
  if (treeConfig && (treeOpts.showLine || treeOpts.line) && (!(props.rowKey || rowOpts.useKey) || !showOverflow)) {
15639
- table_log.warn('vxe.error.reqProp', ['row-config.useKey | show-overflow']);
15771
+ warnLog('vxe.error.reqProp', ['row-config.useKey | show-overflow']);
15640
15772
  }
15641
15773
  if (treeConfig && props.stripe) {
15642
- table_log.warn('vxe.error.noTree', ['stripe']);
15774
+ warnLog('vxe.error.noTree', ['stripe']);
15643
15775
  }
15644
15776
  if (props.showFooter && !(props.footerMethod || props.footerData)) {
15645
- table_log.warn('vxe.error.reqProp', ['footer-data | footer-method']);
15777
+ warnLog('vxe.error.reqProp', ['footer-data | footer-method']);
15646
15778
  }
15647
15779
  // if (props.highlightCurrentRow) {
15648
- // log.warn('vxe.error.delProp', ['highlight-current-row', 'row-config.isCurrent'])
15780
+ // warnLog('vxe.error.delProp', ['highlight-current-row', 'row-config.isCurrent'])
15649
15781
  // }
15650
15782
  // if (props.highlightHoverRow) {
15651
- // log.warn('vxe.error.delProp', ['highlight-hover-row', 'row-config.isHover'])
15783
+ // warnLog('vxe.error.delProp', ['highlight-hover-row', 'row-config.isHover'])
15652
15784
  // }
15653
15785
  // if (props.highlightCurrentColumn) {
15654
- // log.warn('vxe.error.delProp', ['highlight-current-column', 'column-config.isCurrent'])
15786
+ // warnLog('vxe.error.delProp', ['highlight-current-column', 'column-config.isCurrent'])
15655
15787
  // }
15656
15788
  // if (props.highlightHoverColumn) {
15657
- // log.warn('vxe.error.delProp', ['highlight-hover-column', 'column-config.isHover'])
15789
+ // warnLog('vxe.error.delProp', ['highlight-hover-column', 'column-config.isHover'])
15658
15790
  // }
15659
15791
  // 检查导入导出类型,如果自定义导入导出方法,则不校验类型
15660
15792
  const {
@@ -15664,10 +15796,10 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15664
15796
  const exportOpts = computeExportOpts.value;
15665
15797
  const importOpts = computeImportOpts.value;
15666
15798
  if (importConfig && importOpts.types && !importOpts.importMethod && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includeArrays(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(importOpts._typeMaps), importOpts.types)) {
15667
- table_log.warn('vxe.error.errProp', [`export-config.types=${importOpts.types.join(',')}`, importOpts.types.filter(type => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(importOpts._typeMaps), type)).join(',') || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(importOpts._typeMaps).join(',')]);
15799
+ warnLog('vxe.error.errProp', [`export-config.types=${importOpts.types.join(',')}`, importOpts.types.filter(type => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(importOpts._typeMaps), type)).join(',') || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(importOpts._typeMaps).join(',')]);
15668
15800
  }
15669
15801
  if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includeArrays(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps), exportOpts.types)) {
15670
- table_log.warn('vxe.error.errProp', [`export-config.types=${exportOpts.types.join(',')}`, exportOpts.types.filter(type => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps), type)).join(',') || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps).join(',')]);
15802
+ warnLog('vxe.error.errProp', [`export-config.types=${exportOpts.types.join(',')}`, exportOpts.types.filter(type => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps), type)).join(',') || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps).join(',')]);
15671
15803
  }
15672
15804
  }
15673
15805
  if (true) {
@@ -15675,64 +15807,64 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
15675
15807
  const mouseOpts = computeMouseOpts.value;
15676
15808
  const rowOpts = computeRowOpts.value;
15677
15809
  if (!props.id && props.customConfig && (customOpts.storage === true || customOpts.storage && customOpts.storage.resizable || customOpts.storage && customOpts.storage.visible)) {
15678
- table_log.err('vxe.error.reqProp', ['id']);
15810
+ errLog('vxe.error.reqProp', ['id']);
15679
15811
  }
15680
15812
  if (props.treeConfig && checkboxOpts.range) {
15681
- table_log.err('vxe.error.noTree', ['checkbox-config.range']);
15813
+ errLog('vxe.error.noTree', ['checkbox-config.range']);
15682
15814
  }
15683
15815
  if (rowOpts.height && !props.showOverflow) {
15684
- table_log.warn('vxe.error.notProp', ['table.show-overflow']);
15816
+ warnLog('vxe.error.notProp', ['table.show-overflow']);
15685
15817
  }
15686
15818
  if (!$xeTable.handleUpdateCellAreas) {
15687
15819
  if (props.clipConfig) {
15688
- table_log.warn('vxe.error.notProp', ['clip-config']);
15820
+ warnLog('vxe.error.notProp', ['clip-config']);
15689
15821
  }
15690
15822
  if (props.fnrConfig) {
15691
- table_log.warn('vxe.error.notProp', ['fnr-config']);
15823
+ warnLog('vxe.error.notProp', ['fnr-config']);
15692
15824
  }
15693
15825
  if (mouseOpts.area) {
15694
- table_log.err('vxe.error.notProp', ['mouse-config.area']);
15826
+ errLog('vxe.error.notProp', ['mouse-config.area']);
15695
15827
  return;
15696
15828
  }
15697
15829
  }
15698
15830
  if (props.treeConfig && treeOpts.children) {
15699
- table_log.warn('vxe.error.delProp', ['tree-config.children', 'tree-config.childrenField']);
15831
+ warnLog('vxe.error.delProp', ['tree-config.children', 'tree-config.childrenField']);
15700
15832
  }
15701
15833
  if (props.treeConfig && treeOpts.line) {
15702
- table_log.warn('vxe.error.delProp', ['tree-config.line', 'tree-config.showLine']);
15834
+ warnLog('vxe.error.delProp', ['tree-config.line', 'tree-config.showLine']);
15703
15835
  }
15704
15836
  if (mouseOpts.area && mouseOpts.selected) {
15705
- table_log.warn('vxe.error.errConflicts', ['mouse-config.area', 'mouse-config.selected']);
15837
+ warnLog('vxe.error.errConflicts', ['mouse-config.area', 'mouse-config.selected']);
15706
15838
  }
15707
15839
  if (mouseOpts.area && checkboxOpts.range) {
15708
- table_log.warn('vxe.error.errConflicts', ['mouse-config.area', 'checkbox-config.range']);
15840
+ warnLog('vxe.error.errConflicts', ['mouse-config.area', 'checkbox-config.range']);
15709
15841
  }
15710
15842
  if (props.treeConfig && mouseOpts.area) {
15711
- table_log.err('vxe.error.noTree', ['mouse-config.area']);
15843
+ errLog('vxe.error.noTree', ['mouse-config.area']);
15712
15844
  }
15713
15845
  if (props.editConfig && editOpts.activeMethod) {
15714
- table_log.warn('vxe.error.delProp', ['edit-config.activeMethod', 'edit-config.beforeEditMethod']);
15846
+ warnLog('vxe.error.delProp', ['edit-config.activeMethod', 'edit-config.beforeEditMethod']);
15715
15847
  }
15716
15848
  if (props.treeConfig && checkboxOpts.isShiftKey) {
15717
- table_log.err('vxe.error.errConflicts', ['tree-config', 'checkbox-config.isShiftKey']);
15849
+ errLog('vxe.error.errConflicts', ['tree-config', 'checkbox-config.isShiftKey']);
15718
15850
  }
15719
15851
  if (checkboxOpts.halfField) {
15720
- table_log.warn('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField']);
15852
+ warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField']);
15721
15853
  }
15722
15854
  }
15723
15855
  // 检查是否有安装需要的模块
15724
15856
  if (true) {
15725
15857
  if (props.editConfig && !$xeTable.insert) {
15726
- table_log.err('vxe.error.reqModule', ['Edit']);
15858
+ errLog('vxe.error.reqModule', ['Edit']);
15727
15859
  }
15728
15860
  if (props.editRules && !$xeTable.validate) {
15729
- table_log.err('vxe.error.reqModule', ['Validator']);
15861
+ errLog('vxe.error.reqModule', ['Validator']);
15730
15862
  }
15731
15863
  if ((checkboxOpts.range || props.keyboardConfig || props.mouseConfig) && !$xeTable.triggerCellMousedownEvent) {
15732
- table_log.err('vxe.error.reqModule', ['Keyboard']);
15864
+ errLog('vxe.error.reqModule', ['Keyboard']);
15733
15865
  }
15734
15866
  if ((props.printConfig || props.importConfig || props.exportConfig) && !$xeTable.exportData) {
15735
- table_log.err('vxe.error.reqModule', ['Export']);
15867
+ errLog('vxe.error.reqModule', ['Export']);
15736
15868
  }
15737
15869
  }
15738
15870
  Object.assign(scrollYStore, {
@@ -16803,11 +16935,11 @@ menu_hook_hooks.add('tableMenuModule', {
16803
16935
 
16804
16936
 
16805
16937
 
16938
+
16806
16939
  const {
16807
16940
  getConfig: hook_getConfig,
16808
16941
  renderer: edit_hook_renderer,
16809
16942
  hooks: edit_hook_hooks,
16810
- log: hook_log,
16811
16943
  getI18n: hook_getI18n
16812
16944
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
16813
16945
  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'];
@@ -16933,7 +17065,7 @@ edit_hook_hooks.add('tableEditModule', {
16933
17065
  } else {
16934
17066
  if (true) {
16935
17067
  if (parentRowId) {
16936
- hook_log.warn('vxe.error.unableInsert');
17068
+ warnLog('vxe.error.unableInsert');
16937
17069
  }
16938
17070
  }
16939
17071
  afterFullData[funcName](item);
@@ -17037,7 +17169,7 @@ edit_hook_hooks.add('tableEditModule', {
17037
17169
  if (true) {
17038
17170
  if (item[treeOpts.parentField]) {
17039
17171
  if (parentRow && item[treeOpts.parentField] !== parentRow[rowField]) {
17040
- hook_log.err('vxe.error.errProp', [`${treeOpts.parentField}=${item[treeOpts.parentField]}`, `${treeOpts.parentField}=${parentRow[rowField]}`]);
17172
+ errLog('vxe.error.errProp', [`${treeOpts.parentField}=${item[treeOpts.parentField]}`, `${treeOpts.parentField}=${parentRow[rowField]}`]);
17041
17173
  }
17042
17174
  }
17043
17175
  }
@@ -17079,7 +17211,7 @@ edit_hook_hooks.add('tableEditModule', {
17079
17211
  }
17080
17212
  } else {
17081
17213
  if (true) {
17082
- hook_log.warn('vxe.error.unableInsert');
17214
+ warnLog('vxe.error.unableInsert');
17083
17215
  }
17084
17216
  insertTreeRow(newRecords, true);
17085
17217
  }
@@ -17101,7 +17233,7 @@ edit_hook_hooks.add('tableEditModule', {
17101
17233
  afIndex = Math.min(afterFullData.length, afIndex + 1);
17102
17234
  }
17103
17235
  if (afIndex === -1) {
17104
- throw new Error(hook_log.err('vxe.error.unableInsert'));
17236
+ throw new Error(hook_getI18n('vxe.error.unableInsert'));
17105
17237
  }
17106
17238
  afterFullData.splice(afIndex, 0, ...newRecords);
17107
17239
  tableFullData.splice($xeTable.findRowIndexOf(tableFullData, row), 0, ...newRecords);
@@ -17420,7 +17552,7 @@ edit_hook_hooks.add('tableEditModule', {
17420
17552
  },
17421
17553
  getActiveRecord() {
17422
17554
  if (true) {
17423
- hook_log.warn('vxe.error.delFunc', ['getActiveRecord', 'getEditRecord']);
17555
+ warnLog('vxe.error.delFunc', ['getActiveRecord', 'getEditRecord']);
17424
17556
  }
17425
17557
  return this.getEditRecord();
17426
17558
  },
@@ -17460,7 +17592,7 @@ edit_hook_hooks.add('tableEditModule', {
17460
17592
  clearActived(evnt) {
17461
17593
  // 即将废弃
17462
17594
  if (true) {
17463
- hook_log.warn('vxe.error.delFunc', ['clearActived', 'clearEdit']);
17595
+ warnLog('vxe.error.delFunc', ['clearActived', 'clearEdit']);
17464
17596
  }
17465
17597
  return this.clearEdit(evnt);
17466
17598
  },
@@ -17520,7 +17652,7 @@ edit_hook_hooks.add('tableEditModule', {
17520
17652
  },
17521
17653
  isActiveByRow(row) {
17522
17654
  if (true) {
17523
- hook_log.warn('vxe.error.delFunc', ['isActiveByRow', 'isEditByRow']);
17655
+ warnLog('vxe.error.delFunc', ['isActiveByRow', 'isEditByRow']);
17524
17656
  }
17525
17657
  // 即将废弃
17526
17658
  return this.isEditByRow(row);
@@ -17537,7 +17669,7 @@ edit_hook_hooks.add('tableEditModule', {
17537
17669
  },
17538
17670
  setActiveRow(row) {
17539
17671
  if (true) {
17540
- hook_log.warn('vxe.error.delFunc', ['setActiveRow', 'setEditRow']);
17672
+ warnLog('vxe.error.delFunc', ['setActiveRow', 'setEditRow']);
17541
17673
  }
17542
17674
  // 即将废弃
17543
17675
  return editMethods.setEditRow(row);
@@ -17557,7 +17689,7 @@ edit_hook_hooks.add('tableEditModule', {
17557
17689
  },
17558
17690
  setActiveCell(row, fieldOrColumn) {
17559
17691
  if (true) {
17560
- hook_log.warn('vxe.error.delFunc', ['setActiveCell', 'setEditCell']);
17692
+ warnLog('vxe.error.delFunc', ['setActiveCell', 'setEditCell']);
17561
17693
  }
17562
17694
  // 即将废弃
17563
17695
  return editMethods.setEditCell(row, fieldOrColumn);
@@ -17893,11 +18025,11 @@ function createHtmlPage(opts, content) {
17893
18025
 
17894
18026
 
17895
18027
 
18028
+
17896
18029
  const {
17897
18030
  getI18n: export_hook_getI18n,
17898
18031
  hooks: export_hook_hooks,
17899
- renderer: export_hook_renderer,
17900
- log: export_hook_log
18032
+ renderer: export_hook_renderer
17901
18033
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
17902
18034
  let htmlCellElem;
17903
18035
  const csvBOM = '\ufeff';
@@ -18904,7 +19036,7 @@ export_hook_hooks.add('tableExportModule', {
18904
19036
  }, () => {
18905
19037
  const reader = new FileReader();
18906
19038
  reader.onerror = () => {
18907
- export_hook_log.err('vxe.error.notType', [type]);
19039
+ errLog('vxe.error.notType', [type]);
18908
19040
  _importReject({
18909
19041
  status: false
18910
19042
  });
@@ -18918,7 +19050,7 @@ export_hook_hooks.add('tableExportModule', {
18918
19050
  } else {
18919
19051
  // 不支持的浏览器
18920
19052
  if (true) {
18921
- export_hook_log.err('vxe.error.notExp');
19053
+ errLog('vxe.error.notExp');
18922
19054
  }
18923
19055
  _importResolve({
18924
19056
  status: true
@@ -19179,7 +19311,7 @@ export_hook_hooks.add('tableExportModule', {
19179
19311
  // 检查类型,如果为自定义导出,则不需要校验类型
19180
19312
  if (!opts.exportMethod && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().includes(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().keys(exportOpts._typeMaps), type)) {
19181
19313
  if (true) {
19182
- export_hook_log.err('vxe.error.notType', [type]);
19314
+ errLog('vxe.error.notType', [type]);
19183
19315
  }
19184
19316
  const params = {
19185
19317
  status: false
@@ -19209,7 +19341,7 @@ export_hook_hooks.add('tableExportModule', {
19209
19341
  } else if (mode === 'all') {
19210
19342
  if (true) {
19211
19343
  if (!$xeGrid) {
19212
- export_hook_log.warn('vxe.error.errProp', ['all', 'mode=current,selected']);
19344
+ warnLog('vxe.error.errProp', ['all', 'mode=current,selected']);
19213
19345
  }
19214
19346
  }
19215
19347
  if ($xeGrid && !opts.remote) {
@@ -19229,7 +19361,7 @@ export_hook_hooks.add('tableExportModule', {
19229
19361
  const ajaxMethods = ajax.queryAll;
19230
19362
  if (true) {
19231
19363
  if (!ajaxMethods) {
19232
- export_hook_log.warn('vxe.error.notFunc', ['proxy-config.ajax.queryAll']);
19364
+ warnLog('vxe.error.notFunc', ['proxy-config.ajax.queryAll']);
19233
19365
  }
19234
19366
  }
19235
19367
  if (ajaxMethods) {
@@ -19325,14 +19457,16 @@ export_hook_hooks.add('tableExportModule', {
19325
19457
  if (external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.print) {
19326
19458
  if (opts.content) {
19327
19459
  resolve(external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.print({
19328
- content: opts.content
19460
+ title: opts.sheetName,
19461
+ html: opts.content
19329
19462
  }));
19330
19463
  } else {
19331
19464
  resolve(exportMethods.exportData(opts).then(({
19332
19465
  content
19333
19466
  }) => {
19334
19467
  return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.print({
19335
- content
19468
+ title: opts.sheetName,
19469
+ html: content
19336
19470
  });
19337
19471
  }));
19338
19472
  }
@@ -19395,7 +19529,7 @@ export_hook_hooks.add('tableExportModule', {
19395
19529
  return;
19396
19530
  }
19397
19531
  if (!importConfig) {
19398
- export_hook_log.err('vxe.error.reqProp', ['import-config']);
19532
+ errLog('vxe.error.reqProp', ['import-config']);
19399
19533
  }
19400
19534
  // 处理类型
19401
19535
  const typeList = types.map(value => {
@@ -19425,7 +19559,7 @@ export_hook_hooks.add('tableExportModule', {
19425
19559
  const exportOpts = computeExportOpts.value;
19426
19560
  if (true) {
19427
19561
  if (!props.exportConfig) {
19428
- export_hook_log.err('vxe.error.reqProp', ['export-config']);
19562
+ errLog('vxe.error.reqProp', ['export-config']);
19429
19563
  }
19430
19564
  }
19431
19565
  handleExportAndPrint(Object.assign({}, exportOpts, options));
@@ -19434,7 +19568,7 @@ export_hook_hooks.add('tableExportModule', {
19434
19568
  const printOpts = computePrintOpts.value;
19435
19569
  if (true) {
19436
19570
  if (!props.printConfig) {
19437
- export_hook_log.err('vxe.error.reqProp', ['print-config']);
19571
+ errLog('vxe.error.reqProp', ['print-config']);
19438
19572
  }
19439
19573
  }
19440
19574
  handleExportAndPrint(Object.assign({}, printOpts, options), true);
@@ -19912,11 +20046,11 @@ keyboard_hook_hooks.add('tableKeyboardModule', {
19912
20046
 
19913
20047
 
19914
20048
 
20049
+
19915
20050
  const {
19916
20051
  getConfig: validator_hook_getConfig,
19917
20052
  validators: hook_validators,
19918
- hooks: validator_hook_hooks,
19919
- log: validator_hook_log
20053
+ hooks: validator_hook_hooks
19920
20054
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
19921
20055
  /**
19922
20056
  * 校验规则
@@ -20156,7 +20290,7 @@ validator_hook_hooks.add('tableValidatorModule', {
20156
20290
  fullValidate(rows, cb) {
20157
20291
  if (true) {
20158
20292
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cb)) {
20159
- validator_hook_log.warn('vxe.error.notValidators', ['fullValidate(rows, callback)', 'fullValidate(rows)']);
20293
+ warnLog('vxe.error.notValidators', ['fullValidate(rows, callback)', 'fullValidate(rows)']);
20160
20294
  }
20161
20295
  }
20162
20296
  return beginValidate(rows, cb, true);
@@ -20167,7 +20301,7 @@ validator_hook_hooks.add('tableValidatorModule', {
20167
20301
  validate(rows, cb) {
20168
20302
  if (true) {
20169
20303
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cb)) {
20170
- validator_hook_log.warn('vxe.error.notValidators', ['validate(rows, callback)', 'validate(rows)']);
20304
+ warnLog('vxe.error.notValidators', ['validate(rows, callback)', 'validate(rows)']);
20171
20305
  }
20172
20306
  }
20173
20307
  return beginValidate(rows, cb);
@@ -20302,12 +20436,12 @@ validator_hook_hooks.add('tableValidatorModule', {
20302
20436
  customValid = gvItem.cellValidatorMethod(validParams);
20303
20437
  } else {
20304
20438
  if (true) {
20305
- validator_hook_log.warn('vxe.error.notValidators', [validator]);
20439
+ warnLog('vxe.error.notValidators', [validator]);
20306
20440
  }
20307
20441
  }
20308
20442
  } else {
20309
20443
  if (true) {
20310
- validator_hook_log.err('vxe.error.notValidators', [validator]);
20444
+ errLog('vxe.error.notValidators', [validator]);
20311
20445
  }
20312
20446
  }
20313
20447
  } else {
@@ -20504,30 +20638,20 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
20504
20638
  computeCustomOpts
20505
20639
  } = $xeTable.getComputeMaps();
20506
20640
  const {
20507
- refTableHeader,
20508
- refTableBody,
20509
- refTableCustom
20641
+ refElem
20510
20642
  } = $xeTable.getRefMaps();
20511
20643
  const $xeGrid = $xeTable.xegrid;
20512
20644
  const calcMaxHeight = () => {
20513
20645
  const {
20514
20646
  customStore
20515
20647
  } = reactData;
20516
- const tableHeader = refTableHeader.value;
20517
- const tableBody = refTableBody.value;
20518
- const tableCustom = refTableCustom.value;
20519
- const customWrapperElem = tableCustom ? tableCustom.$el : null;
20520
- const headElem = tableHeader.$el;
20521
- const bodyElem = tableBody.$el;
20648
+ const el = refElem.value;
20522
20649
  // 判断面板不能大于表格高度
20523
20650
  let tableHeight = 0;
20524
- if (headElem) {
20525
- tableHeight += headElem.clientHeight;
20526
- }
20527
- if (bodyElem) {
20528
- tableHeight += bodyElem.clientHeight;
20651
+ if (el) {
20652
+ tableHeight = el.clientHeight - 60;
20529
20653
  }
20530
- customStore.maxHeight = Math.max(0, customWrapperElem ? Math.min(customWrapperElem.clientHeight, tableHeight - 80) : 0);
20654
+ customStore.maxHeight = Math.max(4, tableHeight);
20531
20655
  };
20532
20656
  const openCustom = () => {
20533
20657
  const {
@@ -20544,6 +20668,7 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
20544
20668
  const colid = column.getKey();
20545
20669
  column.renderFixed = column.fixed;
20546
20670
  column.renderVisible = column.visible;
20671
+ column.renderResizeWidth = column.renderWidth;
20547
20672
  sortMaps[colid] = column.renderSortNumber;
20548
20673
  fixedMaps[colid] = column.fixed;
20549
20674
  visibleMaps[colid] = column.visible;
@@ -20590,10 +20715,10 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
20590
20715
  } = customOpts;
20591
20716
  customStore.isAll = collectColumn.every(column => (checkMethod ? !checkMethod({
20592
20717
  column
20593
- }) : false) || column.visible);
20718
+ }) : false) || column.renderVisible);
20594
20719
  customStore.isIndeterminate = !customStore.isAll && collectColumn.some(column => (!checkMethod || checkMethod({
20595
20720
  column
20596
- })) && (column.visible || column.halfVisible));
20721
+ })) && (column.renderVisible || column.halfVisible));
20597
20722
  };
20598
20723
  const emitCustomEvent = (type, evnt) => {
20599
20724
  const comp = $xeGrid || $xeTable;
@@ -20655,11 +20780,11 @@ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.
20655
20780
 
20656
20781
 
20657
20782
 
20783
+
20658
20784
  const {
20659
20785
  getConfig: render_getConfig,
20660
20786
  renderer: render_renderer,
20661
- getI18n: render_getI18n,
20662
- log: render_log
20787
+ getI18n: render_getI18n
20663
20788
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
20664
20789
  const componentDefaultModelProp = 'modelValue';
20665
20790
  const defaultCompProps = {
@@ -20842,7 +20967,7 @@ function getComponentOns(renderOpts, params, modelFunc, changeFunc) {
20842
20967
  ons[getOnName(key)] = function (...args) {
20843
20968
  if (true) {
20844
20969
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(func)) {
20845
- render_log.err('vxe.error.errFunc', [func]);
20970
+ errLog('vxe.error.errFunc', [func]);
20846
20971
  }
20847
20972
  }
20848
20973
  func(params, ...args);
@@ -21449,13 +21574,13 @@ const Table = VxeTable;
21449
21574
 
21450
21575
 
21451
21576
 
21577
+
21452
21578
  const {
21453
21579
  getConfig: toolbar_getConfig,
21454
21580
  getIcon: toolbar_getIcon,
21455
21581
  getI18n: toolbar_getI18n,
21456
21582
  renderer: toolbar_renderer,
21457
21583
  commands: toolbar_commands,
21458
- log: toolbar_log,
21459
21584
  createEvent: toolbar_createEvent,
21460
21585
  useFns: toolbar_useFns
21461
21586
  } = external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI;
@@ -21553,7 +21678,7 @@ const {
21553
21678
  if ($xeTable) {
21554
21679
  return true;
21555
21680
  }
21556
- toolbar_log.err('vxe.error.barUnableLink');
21681
+ errLog('vxe.error.barUnableLink');
21557
21682
  };
21558
21683
  const handleClickSettingEvent = ({
21559
21684
  $event
@@ -21562,7 +21687,7 @@ const {
21562
21687
  if ($xeTable.triggerCustomEvent) {
21563
21688
  $xeTable.triggerCustomEvent($event);
21564
21689
  } else {
21565
- toolbar_log.err('vxe.error.reqModule', ['VxeTableCustomModule']);
21690
+ errLog('vxe.error.reqModule', ['VxeTableCustomModule']);
21566
21691
  }
21567
21692
  }
21568
21693
  };
@@ -21572,7 +21697,7 @@ const {
21572
21697
  if ($xeTable) {
21573
21698
  $xeTable.customOpenEvent($event);
21574
21699
  } else {
21575
- toolbar_log.err('vxe.error.reqModule', ['VxeTableCustomModule']);
21700
+ errLog('vxe.error.reqModule', ['VxeTableCustomModule']);
21576
21701
  }
21577
21702
  };
21578
21703
  const handleMouseleaveSettingEvent = ({
@@ -21640,7 +21765,7 @@ const {
21640
21765
  gCommandOpts.commandMethod(params);
21641
21766
  } else {
21642
21767
  if (true) {
21643
- toolbar_log.err('vxe.error.notCommands', [code]);
21768
+ errLog('vxe.error.notCommands', [code]);
21644
21769
  }
21645
21770
  }
21646
21771
  }
@@ -21669,7 +21794,7 @@ const {
21669
21794
  gCommandOpts.commandMethod(params);
21670
21795
  } else {
21671
21796
  if (true) {
21672
- toolbar_log.err('vxe.error.notCommands', [code]);
21797
+ errLog('vxe.error.notCommands', [code]);
21673
21798
  }
21674
21799
  }
21675
21800
  }
@@ -21929,21 +22054,21 @@ const {
21929
22054
  const refreshOpts = computeRefreshOpts.value;
21930
22055
  const queryMethod = refreshOpts.queryMethod || refreshOpts.query;
21931
22056
  if (refresh && !$xeGrid && !queryMethod) {
21932
- toolbar_log.warn('vxe.error.notFunc', ['queryMethod']);
22057
+ warnLog('vxe.error.notFunc', ['queryMethod']);
21933
22058
  }
21934
22059
  const customOpts = computeCustomOpts.value;
21935
22060
  if (true) {
21936
22061
  if (customOpts.isFooter) {
21937
- toolbar_log.warn('vxe.error.delProp', ['toolbar.custom.isFooter', 'table.custom-config.showFooter']);
22062
+ warnLog('vxe.error.delProp', ['toolbar.custom.isFooter', 'table.custom-config.showFooter']);
21938
22063
  }
21939
22064
  if (customOpts.showFooter) {
21940
- toolbar_log.warn('vxe.error.delProp', ['toolbar.custom.showFooter', 'table.custom-config.showFooter']);
22065
+ warnLog('vxe.error.delProp', ['toolbar.custom.showFooter', 'table.custom-config.showFooter']);
21941
22066
  }
21942
22067
  if (customOpts.immediate) {
21943
- toolbar_log.warn('vxe.error.delProp', ['toolbar.custom.immediate', 'table.custom-config.immediate']);
22068
+ warnLog('vxe.error.delProp', ['toolbar.custom.immediate', 'table.custom-config.immediate']);
21944
22069
  }
21945
22070
  if (customOpts.trigger) {
21946
- toolbar_log.warn('vxe.error.delProp', ['toolbar.custom.trigger', 'table.custom-config.trigger']);
22071
+ warnLog('vxe.error.delProp', ['toolbar.custom.trigger', 'table.custom-config.trigger']);
21947
22072
  }
21948
22073
  }
21949
22074
  });
@@ -22006,12 +22131,12 @@ const Toolbar = VxeToolbar;
22006
22131
 
22007
22132
 
22008
22133
 
22134
+
22009
22135
  const {
22010
22136
  getConfig: grid_getConfig,
22011
22137
  getI18n: grid_getI18n,
22012
22138
  commands: grid_commands,
22013
22139
  hooks: grid_hooks,
22014
- log: grid_log,
22015
22140
  useFns: grid_useFns,
22016
22141
  createEvent: grid_createEvent,
22017
22142
  globalEvents: grid_globalEvents,
@@ -22412,7 +22537,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22412
22537
  return slots[funcSlot];
22413
22538
  } else {
22414
22539
  if (true) {
22415
- grid_log.err('vxe.error.notSlot', [funcSlot]);
22540
+ errLog('vxe.error.notSlot', [funcSlot]);
22416
22541
  }
22417
22542
  }
22418
22543
  } else {
@@ -22696,7 +22821,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22696
22821
  break;
22697
22822
  default:
22698
22823
  if (true) {
22699
- grid_log.err('vxe.error.notProp', [`layouts -> ${name}`]);
22824
+ errLog('vxe.error.notProp', [`layouts -> ${name}`]);
22700
22825
  }
22701
22826
  break;
22702
22827
  }
@@ -22952,7 +23077,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
22952
23077
  });
22953
23078
  } else {
22954
23079
  if (true) {
22955
- grid_log.err('vxe.error.notFunc', ['proxy-config.ajax.query']);
23080
+ errLog('vxe.error.notFunc', ['proxy-config.ajax.query']);
22956
23081
  }
22957
23082
  }
22958
23083
  break;
@@ -23029,7 +23154,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23029
23154
  }
23030
23155
  } else {
23031
23156
  if (true) {
23032
- grid_log.err('vxe.error.notFunc', ['proxy-config.ajax.delete']);
23157
+ errLog('vxe.error.notFunc', ['proxy-config.ajax.delete']);
23033
23158
  }
23034
23159
  }
23035
23160
  break;
@@ -23122,7 +23247,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23122
23247
  });
23123
23248
  } else {
23124
23249
  if (true) {
23125
- grid_log.err('vxe.error.notFunc', ['proxy-config.ajax.save']);
23250
+ errLog('vxe.error.notFunc', ['proxy-config.ajax.save']);
23126
23251
  }
23127
23252
  }
23128
23253
  break;
@@ -23140,7 +23265,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23140
23265
  }, ...args);
23141
23266
  } else {
23142
23267
  if (true) {
23143
- grid_log.err('vxe.error.notCommands', [code]);
23268
+ errLog('vxe.error.notCommands', [code]);
23144
23269
  }
23145
23270
  }
23146
23271
  }
@@ -23225,7 +23350,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23225
23350
  external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().each(column.slots, func => {
23226
23351
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(func)) {
23227
23352
  if (!slots[func]) {
23228
- grid_log.err('vxe.error.notSlot', [func]);
23353
+ errLog('vxe.error.notSlot', [func]);
23229
23354
  }
23230
23355
  }
23231
23356
  });
@@ -23363,7 +23488,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23363
23488
  const proxyOpts = computeProxyOpts.value;
23364
23489
  const formOpts = computeFormOpts.value;
23365
23490
  if (isEnableConf(proxyConfig) && (data || proxyOpts.form && formOpts.data)) {
23366
- grid_log.err('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config']);
23491
+ errLog('vxe.error.errConflicts', ['grid.data', 'grid.proxy-config']);
23367
23492
  }
23368
23493
  // if (process.env.VUE_APP_VXE_ENV === 'development') {
23369
23494
  // if (proxyOpts.props) {