vxe-table 4.7.84 → 4.7.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.umd.js CHANGED
@@ -1998,9 +1998,9 @@ function eqEmptyValue(cellValue) {
1998
1998
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
1999
1999
 
2000
2000
 
2001
- const version = "4.7.84";
2001
+ const version = "4.7.85";
2002
2002
  core_.VxeUI.version = version;
2003
- core_.VxeUI.tableVersion = "4.7.84";
2003
+ core_.VxeUI.tableVersion = "4.7.85";
2004
2004
  core_.VxeUI.setConfig({
2005
2005
  emptyCell: ' ',
2006
2006
  table: {
@@ -2384,7 +2384,7 @@ var es_array_push = __webpack_require__(4114);
2384
2384
  const {
2385
2385
  log: log_log
2386
2386
  } = core_.VxeUI;
2387
- const log_version = `table v${"4.7.84"}`;
2387
+ const log_version = `table v${"4.7.85"}`;
2388
2388
  const warnLog = log_log.create('warn', log_version);
2389
2389
  const errLog = log_log.create('error', log_version);
2390
2390
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -8792,13 +8792,13 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8792
8792
  return '';
8793
8793
  });
8794
8794
  const computeValidOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8795
- return Object.assign({}, table_getConfig().table.validConfig, props.validConfig);
8795
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.validConfig, true), props.validConfig);
8796
8796
  });
8797
8797
  const computeSXOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8798
- return Object.assign({}, table_getConfig().table.scrollX, props.scrollX);
8798
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.scrollX, true), props.scrollX);
8799
8799
  });
8800
8800
  const computeSYOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8801
- return Object.assign({}, table_getConfig().table.scrollY, props.scrollY);
8801
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.scrollY, true), props.scrollY);
8802
8802
  });
8803
8803
  const computeRowHeightMaps = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8804
8804
  return {
@@ -8809,31 +8809,31 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8809
8809
  };
8810
8810
  });
8811
8811
  const computeColumnOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8812
- return Object.assign({}, table_getConfig().table.columnConfig, props.columnConfig);
8812
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.columnConfig, true), props.columnConfig);
8813
8813
  });
8814
8814
  const computeRowOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8815
- return Object.assign({}, table_getConfig().table.rowConfig, props.rowConfig);
8815
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.rowConfig, true), props.rowConfig);
8816
8816
  });
8817
8817
  const computeResizeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8818
- return Object.assign({}, table_getConfig().table.resizeConfig, props.resizeConfig);
8818
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.resizeConfig, true), props.resizeConfig);
8819
8819
  });
8820
8820
  const computeResizableOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8821
- return Object.assign({}, table_getConfig().table.resizableConfig, props.resizableConfig);
8821
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.resizableConfig, true), props.resizableConfig);
8822
8822
  });
8823
8823
  const computeSeqOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8824
8824
  return Object.assign({
8825
8825
  startIndex: 0
8826
- }, table_getConfig().table.seqConfig, props.seqConfig);
8826
+ }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.seqConfig, true), props.seqConfig);
8827
8827
  });
8828
8828
  const computeRadioOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8829
- return Object.assign({}, table_getConfig().table.radioConfig, props.radioConfig);
8829
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.radioConfig, true), props.radioConfig);
8830
8830
  });
8831
8831
  const computeCheckboxOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8832
- return Object.assign({}, table_getConfig().table.checkboxConfig, props.checkboxConfig);
8832
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.checkboxConfig, true), props.checkboxConfig);
8833
8833
  });
8834
8834
  let computeTooltipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
8835
8835
  computeTooltipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8836
- return Object.assign({}, table_getConfig().tooltip, table_getConfig().table.tooltipConfig, props.tooltipConfig);
8836
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().tooltip, true), external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.tooltipConfig, true), props.tooltipConfig);
8837
8837
  });
8838
8838
  const computeTipConfig = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8839
8839
  const tooltipOpts = computeTooltipOpts.value;
@@ -8848,33 +8848,33 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8848
8848
  }, tooltipOpts);
8849
8849
  });
8850
8850
  const computeEditOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8851
- return Object.assign({}, table_getConfig().table.editConfig, props.editConfig);
8851
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.editConfig, true), props.editConfig);
8852
8852
  });
8853
8853
  const computeSortOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8854
8854
  return Object.assign({
8855
8855
  orders: ['asc', 'desc', null]
8856
- }, table_getConfig().table.sortConfig, props.sortConfig);
8856
+ }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.sortConfig, true), props.sortConfig);
8857
8857
  });
8858
8858
  const computeFilterOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8859
- return Object.assign({}, table_getConfig().table.filterConfig, props.filterConfig);
8859
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.filterConfig, true), props.filterConfig);
8860
8860
  });
8861
8861
  const computeMouseOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8862
- return Object.assign({}, table_getConfig().table.mouseConfig, props.mouseConfig);
8862
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.mouseConfig, true), props.mouseConfig);
8863
8863
  });
8864
8864
  const computeAreaOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8865
- return Object.assign({}, table_getConfig().table.areaConfig, props.areaConfig);
8865
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.areaConfig, true), props.areaConfig);
8866
8866
  });
8867
8867
  const computeKeyboardOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8868
- return Object.assign({}, table_getConfig().table.keyboardConfig, props.keyboardConfig);
8868
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.keyboardConfig, true), props.keyboardConfig);
8869
8869
  });
8870
8870
  const computeClipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8871
- return Object.assign({}, table_getConfig().table.clipConfig, props.clipConfig);
8871
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.clipConfig, true), props.clipConfig);
8872
8872
  });
8873
8873
  const computeFNROpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8874
- return Object.assign({}, table_getConfig().table.fnrConfig, props.fnrConfig);
8874
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.fnrConfig, true), props.fnrConfig);
8875
8875
  });
8876
8876
  const computeMenuOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8877
- return Object.assign({}, table_getConfig().table.menuConfig, props.menuConfig);
8877
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.menuConfig, true), props.menuConfig);
8878
8878
  });
8879
8879
  const computeHeaderMenu = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8880
8880
  const menuOpts = computeMenuOpts.value;
@@ -8911,31 +8911,31 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
8911
8911
  return rest;
8912
8912
  });
8913
8913
  const computeExportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8914
- return Object.assign({}, table_getConfig().table.exportConfig, props.exportConfig);
8914
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.exportConfig, true), props.exportConfig);
8915
8915
  });
8916
8916
  const computeImportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8917
- return Object.assign({}, table_getConfig().table.importConfig, props.importConfig);
8917
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.importConfig, true), props.importConfig);
8918
8918
  });
8919
8919
  const computePrintOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8920
- return Object.assign({}, table_getConfig().table.printConfig, props.printConfig);
8920
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.printConfig, true), props.printConfig);
8921
8921
  });
8922
8922
  const computeExpandOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8923
- return Object.assign({}, table_getConfig().table.expandConfig, props.expandConfig);
8923
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.expandConfig, true), props.expandConfig);
8924
8924
  });
8925
8925
  const computeTreeOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8926
- return Object.assign({}, table_getConfig().table.treeConfig, props.treeConfig);
8926
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.treeConfig, true), props.treeConfig);
8927
8927
  });
8928
8928
  const computeEmptyOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8929
- return Object.assign({}, table_getConfig().table.emptyRender, props.emptyRender);
8929
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.emptyRender, true), props.emptyRender);
8930
8930
  });
8931
8931
  const computeLoadingOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8932
- return Object.assign({}, table_getConfig().table.loadingConfig, props.loadingConfig);
8932
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.loadingConfig, true), props.loadingConfig);
8933
8933
  });
8934
8934
  const computeCellOffsetWidth = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8935
8935
  return props.border ? Math.max(2, Math.ceil(reactData.scrollbarWidth / reactData.tableColumn.length)) : 1;
8936
8936
  });
8937
8937
  const computeCustomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8938
- return Object.assign({}, table_getConfig().table.customConfig, props.customConfig);
8938
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(table_getConfig().table.customConfig, true), props.customConfig);
8939
8939
  });
8940
8940
  const computeAutoWidthColumnList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8941
8941
  const {
@@ -14373,12 +14373,6 @@ const customStorageKey = 'VXE_CUSTOM_STORE';
14373
14373
  setCellValue(selected.row, selected.column, null);
14374
14374
  $xeTable.handleEdit(selected.args, evnt);
14375
14375
  }
14376
- const afterEditMethod = editOpts.afterEditMethod;
14377
- if (afterEditMethod) {
14378
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
14379
- afterEditMethod(params);
14380
- });
14381
- }
14382
14376
  }
14383
14377
  }
14384
14378
  }
@@ -22645,22 +22639,22 @@ const {
22645
22639
  let toolbarMethods = {};
22646
22640
  const $xeGrid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeGrid', null);
22647
22641
  const computeRefreshOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22648
- return Object.assign({}, toolbar_getConfig().toolbar.refresh, props.refresh);
22642
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.refresh, true), props.refresh);
22649
22643
  });
22650
22644
  const computeImportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22651
- return Object.assign({}, toolbar_getConfig().toolbar.import, props.import);
22645
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.import, true), props.import);
22652
22646
  });
22653
22647
  const computeExportOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22654
- return Object.assign({}, toolbar_getConfig().toolbar.export, props.export);
22648
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.export, true), props.export);
22655
22649
  });
22656
22650
  const computePrintOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22657
- return Object.assign({}, toolbar_getConfig().toolbar.print, props.print);
22651
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.print, true), props.print);
22658
22652
  });
22659
22653
  const computeZoomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22660
- return Object.assign({}, toolbar_getConfig().toolbar.zoom, props.zoom);
22654
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.zoom, true), props.zoom);
22661
22655
  });
22662
22656
  const computeCustomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22663
- return Object.assign({}, toolbar_getConfig().toolbar.custom, props.custom);
22657
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(toolbar_getConfig().toolbar.custom, true), props.custom);
22664
22658
  });
22665
22659
  const computeTableCustomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
22666
22660
  const {
@@ -23320,7 +23314,7 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23320
23314
  };
23321
23315
  });
23322
23316
  const computeProxyOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23323
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge({}, grid_getConfig().grid.proxyConfig, props.proxyConfig);
23317
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().merge({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.proxyConfig, true), props.proxyConfig);
23324
23318
  });
23325
23319
  const computeIsRespMsg = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23326
23320
  const proxyOpts = computeProxyOpts.value;
@@ -23331,16 +23325,16 @@ const gridComponentEmits = [...emits, 'page-change', 'form-submit', 'form-submit
23331
23325
  return proxyOpts.showActiveMsg;
23332
23326
  });
23333
23327
  const computePagerOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23334
- return Object.assign({}, grid_getConfig().grid.pagerConfig, props.pagerConfig);
23328
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.pagerConfig, true), props.pagerConfig);
23335
23329
  });
23336
23330
  const computeFormOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23337
- return Object.assign({}, grid_getConfig().grid.formConfig, props.formConfig);
23331
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.formConfig, true), props.formConfig);
23338
23332
  });
23339
23333
  const computeToolbarOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23340
- return Object.assign({}, grid_getConfig().grid.toolbarConfig, props.toolbarConfig);
23334
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.toolbarConfig, true), props.toolbarConfig);
23341
23335
  });
23342
23336
  const computeZoomOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23343
- return Object.assign({}, grid_getConfig().grid.zoomConfig, props.zoomConfig);
23337
+ return Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().clone(grid_getConfig().grid.zoomConfig, true), props.zoomConfig);
23344
23338
  });
23345
23339
  const computeStyles = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
23346
23340
  return reactData.isZMax ? {