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.
- package/es/table/src/util.js +2 -2
- package/es/tools/log.js +1 -1
- package/es/v-x-e-table/index.js +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/table/src/util.js +1 -1
- package/lib/table/src/util.min.js +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/util.ts +2 -2
package/es/table/src/util.js
CHANGED
|
@@ -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
|
+
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) {
|
package/es/v-x-e-table/index.js
CHANGED
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.
|
|
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.
|
|
10810
|
+
version: "4.2.4-beta.0",
|
|
10811
10811
|
setup: setup_setup,
|
|
10812
10812
|
interceptor: interceptor,
|
|
10813
10813
|
renderer: renderer,
|