vxe-table 4.2.3 → 4.2.4-beta.0

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.
@@ -1,4 +1,4 @@
1
- import { watch } from 'vue';
1
+ import { watch, reactive } from 'vue';
2
2
  import XEUtils from 'xe-utils';
3
3
  import { ColumnInfo } from './columnInfo';
4
4
  import { isPx, isScale } from '../../tools/dom';
@@ -146,7 +146,7 @@ export function isColumnInfo(column) {
146
146
  return column && (column.constructor === ColumnInfo || column instanceof ColumnInfo);
147
147
  }
148
148
  export function createColumn($xetable, options, renderOptions) {
149
- return isColumnInfo(options) ? options : new ColumnInfo($xetable, options, renderOptions);
149
+ return isColumnInfo(options) ? options : reactive(new ColumnInfo($xetable, options, renderOptions));
150
150
  }
151
151
  export function watchColumn(props, column) {
152
152
  Object.keys(props).forEach(function (name) {
package/es/tools/log.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import GlobalConfig from '../v-x-e-table/src/conf';
2
2
  export function getLog(message, params) {
3
- return "[vxe-table v" + "4.2.3" + "] " + GlobalConfig.i18n(message, params);
3
+ return "[vxe-table v" + "4.2.4-beta.0" + "] " + GlobalConfig.i18n(message, params);
4
4
  }
5
5
  function outLog(type) {
6
6
  return function (message, params) {
@@ -83,7 +83,7 @@ export var config = new VXETableConfig();
83
83
  export var v = 'v4';
84
84
  export var VXETable = {
85
85
  v: v,
86
- version: "4.2.3",
86
+ version: "4.2.4-beta.0",
87
87
  setup: setup,
88
88
  interceptor: interceptor,
89
89
  renderer: renderer,
package/lib/index.umd.js CHANGED
@@ -8802,7 +8802,7 @@ var es_array_concat = __webpack_require__("99af");
8802
8802
 
8803
8803
 
8804
8804
  function getLog(message, params) {
8805
- return "[vxe-table v".concat("4.2.3", "] ").concat(conf.i18n(message, params));
8805
+ return "[vxe-table v".concat("4.2.4-beta.0", "] ").concat(conf.i18n(message, params));
8806
8806
  }
8807
8807
 
8808
8808
  function outLog(type) {
@@ -9614,7 +9614,7 @@ function isColumnInfo(column) {
9614
9614
  return column && (column.constructor === columnInfo_ColumnInfo || column instanceof columnInfo_ColumnInfo);
9615
9615
  }
9616
9616
  function util_createColumn($xetable, options, renderOptions) {
9617
- return isColumnInfo(options) ? options : new columnInfo_ColumnInfo($xetable, options, renderOptions);
9617
+ return isColumnInfo(options) ? options : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["reactive"])(new columnInfo_ColumnInfo($xetable, options, renderOptions));
9618
9618
  }
9619
9619
  function watchColumn(props, column) {
9620
9620
  Object.keys(props).forEach(function (name) {
@@ -10807,7 +10807,7 @@ var v_x_e_table_config = new v_x_e_table_VXETableConfig();
10807
10807
  var v = 'v4';
10808
10808
  var VXETable = {
10809
10809
  v: v,
10810
- version: "4.2.3",
10810
+ version: "4.2.4-beta.0",
10811
10811
  setup: setup_setup,
10812
10812
  interceptor: interceptor,
10813
10813
  renderer: renderer,