vxe-table 3.6.6 → 3.6.8
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/all.js +11 -82
- package/lib/all.min.js +1 -1
- package/lib/button/index.js +0 -3
- package/lib/button/src/button.js +39 -82
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +475 -349
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/index.js +0 -3
- package/lib/checkbox/src/checkbox.js +15 -29
- package/lib/checkbox/src/checkbox.min.js +1 -1
- package/lib/checkbox/src/group.js +4 -12
- package/lib/checkbox/style/style.css +158 -128
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/checkbox-group/index.js +0 -3
- package/lib/checkbox-group/style/style.css +1 -1
- package/lib/colgroup/index.js +2 -5
- package/lib/colgroup/style/style.css +1 -1
- package/lib/column/index.js +2 -5
- package/lib/column/style/style.css +1 -1
- package/lib/edit/index.js +0 -6
- package/lib/edit/src/mixin.js +91 -252
- package/lib/edit/src/mixin.min.js +1 -1
- package/lib/edit/style/style.css +1 -1
- package/lib/export/index.js +1 -16
- package/lib/export/index.min.js +1 -1
- package/lib/export/src/export-panel.js +16 -41
- package/lib/export/src/export-panel.min.js +1 -1
- package/lib/export/src/import-panel.js +5 -19
- package/lib/export/src/import-panel.min.js +1 -1
- package/lib/export/src/mixin.js +105 -387
- package/lib/export/src/mixin.min.js +1 -1
- package/lib/export/style/style.css +138 -105
- package/lib/filter/index.js +0 -8
- package/lib/filter/src/mixin.js +18 -66
- package/lib/filter/src/mixin.min.js +1 -1
- package/lib/filter/src/panel.js +10 -22
- package/lib/filter/src/panel.min.js +1 -1
- package/lib/filter/style/style.css +105 -81
- package/lib/footer/index.js +0 -3
- package/lib/footer/src/footer.js +52 -84
- package/lib/footer/src/footer.min.js +1 -1
- package/lib/footer/style/style.css +1 -1
- package/lib/form/index.js +0 -3
- package/lib/form/src/form-config-item.js +23 -40
- package/lib/form/src/form-config-item.min.js +1 -1
- package/lib/form/src/form-gather.js +0 -5
- package/lib/form/src/form-item.js +18 -35
- package/lib/form/src/form-item.min.js +1 -1
- package/lib/form/src/form.js +45 -137
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/src/render.js +7 -22
- package/lib/form/src/render.min.js +1 -1
- package/lib/form/src/util.js +9 -42
- package/lib/form/src/util.min.js +1 -1
- package/lib/form/style/style.css +227 -185
- package/lib/form-gather/index.js +0 -3
- package/lib/form-gather/style/style.css +1 -1
- package/lib/form-item/index.js +0 -3
- package/lib/form-item/style/style.css +1 -1
- package/lib/grid/index.js +0 -4
- package/lib/grid/src/grid.js +87 -261
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/grid/style/style.css +62 -50
- package/lib/header/index.js +0 -3
- package/lib/header/src/header.js +54 -87
- package/lib/header/src/header.min.js +1 -1
- package/lib/header/src/util.js +0 -17
- package/lib/header/src/util.min.js +1 -1
- package/lib/header/style/style.css +1 -1
- package/lib/icon/index.js +0 -3
- package/lib/icon/style/iconfont.1669391208345.ttf +0 -0
- package/lib/icon/style/iconfont.1669391208345.woff +0 -0
- package/lib/icon/style/iconfont.1669391208345.woff2 +0 -0
- package/lib/icon/style/style.css +384 -197
- package/lib/icon/style/style.min.css +738 -1
- package/lib/iconfont.1669391208345.ttf +0 -0
- package/lib/iconfont.1669391208345.woff +0 -0
- package/lib/iconfont.1669391208345.woff2 +0 -0
- package/lib/index.common.js +1 -7
- package/lib/index.common.min.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +11884 -13141
- package/lib/index.umd.min.js +1 -1
- package/lib/input/index.js +0 -3
- package/lib/input/src/date.js +0 -10
- package/lib/input/src/date.min.js +1 -1
- package/lib/input/src/input.js +208 -473
- package/lib/input/src/input.min.js +1 -1
- package/lib/input/src/number.js +0 -5
- package/lib/input/style/style.css +820 -611
- package/lib/keyboard/index.js +0 -6
- package/lib/keyboard/src/mixin.js +35 -111
- package/lib/keyboard/src/mixin.min.js +1 -1
- package/lib/keyboard/style/style.css +1 -1
- package/lib/list/index.js +0 -3
- package/lib/list/src/list.js +23 -64
- package/lib/list/src/list.min.js +1 -1
- package/lib/list/style/style.css +19 -14
- package/lib/loading/index.js +0 -3
- package/lib/loading/index.min.js +1 -1
- package/lib/loading/src/loading.js +1 -4
- package/lib/loading/style/style.css +60 -45
- package/lib/locale/lang/zh-HK.js +0 -3
- package/lib/locale/lang/zh-MO.js +0 -3
- package/lib/locale/lang/zh-TW.js +0 -3
- package/lib/menu/index.js +0 -8
- package/lib/menu/src/mixin.js +38 -100
- package/lib/menu/src/mixin.min.js +1 -1
- package/lib/menu/src/panel.js +2 -5
- package/lib/menu/style/style.css +74 -55
- package/lib/mixins/size.js +1 -1
- package/lib/modal/index.js +3 -21
- package/lib/modal/index.min.js +1 -1
- package/lib/modal/src/modal.js +97 -254
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +346 -280
- package/lib/modal/style/style.min.css +1 -1
- package/lib/optgroup/index.js +0 -3
- package/lib/optgroup/style/style.css +1 -1
- package/lib/option/index.js +0 -3
- package/lib/option/style/style.css +1 -1
- package/lib/pager/index.js +0 -3
- package/lib/pager/src/pager.js +13 -41
- package/lib/pager/src/pager.min.js +1 -1
- package/lib/pager/style/style.css +314 -262
- package/lib/pulldown/index.js +0 -3
- package/lib/pulldown/src/pulldown.js +29 -72
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/pulldown/style/style.css +51 -39
- package/lib/radio/index.js +0 -3
- package/lib/radio/src/button.js +11 -22
- package/lib/radio/src/group.js +2 -6
- package/lib/radio/src/radio.js +11 -23
- package/lib/radio/style/style.css +186 -152
- package/lib/radio/style/style.min.css +1 -1
- package/lib/radio-button/index.js +0 -3
- package/lib/radio-button/style/style.css +1 -1
- package/lib/radio-group/index.js +0 -3
- package/lib/radio-group/style/style.css +1 -1
- package/lib/select/index.js +0 -5
- package/lib/select/src/optgroup.js +0 -2
- package/lib/select/src/optgroup.min.js +1 -1
- package/lib/select/src/option.js +0 -2
- package/lib/select/src/option.min.js +1 -1
- package/lib/select/src/select.js +79 -211
- package/lib/select/src/select.min.js +1 -1
- package/lib/select/src/util.js +5 -24
- package/lib/select/src/util.min.js +1 -1
- package/lib/select/style/style.css +120 -89
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/index.js +0 -3
- package/lib/switch/src/switch.js +7 -20
- package/lib/switch/src/switch.min.js +1 -1
- package/lib/switch/style/style.css +92 -71
- package/lib/table/index.js +0 -9
- package/lib/table/src/body.js +167 -261
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +107 -222
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/column.js +2 -4
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +6 -35
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/group.js +0 -3
- package/lib/table/src/methods.js +570 -1461
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +123 -231
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +28 -105
- package/lib/table/src/util.min.js +1 -1
- package/lib/table/style/style.css +1080 -863
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/index.js +0 -3
- package/lib/textarea/src/textarea.js +23 -55
- package/lib/textarea/src/textarea.min.js +1 -1
- package/lib/textarea/style/style.css +66 -45
- package/lib/toolbar/index.js +0 -3
- package/lib/toolbar/src/toolbar.js +43 -117
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/toolbar/style/style.css +232 -187
- package/lib/tools/dom.js +7 -42
- package/lib/tools/dom.min.js +1 -1
- package/lib/tools/event.js +4 -14
- package/lib/tools/event.min.js +1 -1
- package/lib/tools/log.js +1 -6
- package/lib/tools/log.min.js +1 -1
- package/lib/tools/resize.js +3 -24
- package/lib/tools/resize.min.js +1 -1
- package/lib/tools/utils.js +7 -29
- package/lib/tools/utils.min.js +1 -1
- package/lib/tools/vn.js +0 -4
- package/lib/tooltip/index.js +0 -4
- package/lib/tooltip/src/tooltip.js +29 -76
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/tooltip/style/style.css +88 -64
- package/lib/v-x-e-table/index.js +6 -41
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/src/commands.js +0 -4
- package/lib/v-x-e-table/src/conf.js +30 -18
- package/lib/v-x-e-table/src/formats.js +0 -4
- package/lib/v-x-e-table/src/interceptor.js +4 -15
- package/lib/v-x-e-table/src/menus.js +0 -4
- package/lib/v-x-e-table/src/renderer.js +62 -169
- package/lib/v-x-e-table/src/renderer.min.js +1 -1
- package/lib/v-x-e-table/src/setup.js +0 -4
- package/lib/v-x-e-table/src/store.js +3 -16
- package/lib/v-x-e-table/src/store.min.js +1 -1
- package/lib/v-x-e-table/style/style.css +444 -242
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/validator/index.js +0 -6
- package/lib/validator/src/mixin.js +31 -100
- package/lib/validator/src/mixin.min.js +1 -1
- package/lib/validator/style/style.css +1 -1
- package/lib/vxe-table/style/style.css +1 -1
- package/package.json +28 -29
- package/packages/export/src/mixin.js +2 -1
- package/packages/filter/src/mixin.js +1 -1
- package/packages/form/src/form.js +5 -4
- package/packages/grid/src/grid.js +14 -14
- package/packages/table/src/column.js +2 -0
- package/packages/table/src/columnInfo.js +1 -0
- package/packages/table/src/methods.js +18 -18
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/icon.scss +9 -1
- package/styles/table.scss +1 -1
- package/styles/variable.scss +2 -2
- package/types/column.d.ts +3 -0
package/lib/table/src/table.js
CHANGED
|
@@ -4,41 +4,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
9
|
-
|
|
10
8
|
var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf"));
|
|
11
|
-
|
|
12
9
|
var _vXETable = _interopRequireDefault(require("../../v-x-e-table"));
|
|
13
|
-
|
|
14
10
|
var _body = _interopRequireDefault(require("./body"));
|
|
15
|
-
|
|
16
11
|
var _header = _interopRequireDefault(require("../../header"));
|
|
17
|
-
|
|
18
12
|
var _size = _interopRequireDefault(require("../../mixins/size"));
|
|
19
|
-
|
|
20
13
|
var _utils = require("../../tools/utils");
|
|
21
|
-
|
|
22
14
|
var _resize = require("../../tools/resize");
|
|
23
|
-
|
|
24
15
|
var _event = require("../../tools/event");
|
|
25
|
-
|
|
26
16
|
var _vn = require("../../tools/vn");
|
|
27
|
-
|
|
28
17
|
var _methods = _interopRequireDefault(require("./methods"));
|
|
29
|
-
|
|
30
18
|
var _log = require("../../tools/log");
|
|
31
|
-
|
|
32
19
|
var _index = _interopRequireDefault(require("../../loading/index"));
|
|
33
|
-
|
|
34
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
|
-
|
|
36
|
-
function
|
|
37
|
-
|
|
38
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
39
|
-
|
|
21
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
22
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
40
23
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
41
|
-
|
|
42
24
|
/**
|
|
43
25
|
* 渲染浮固定列
|
|
44
26
|
* 分别渲染左边固定列和右边固定列
|
|
@@ -49,14 +31,14 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
49
31
|
*/
|
|
50
32
|
function renderFixed(h, $xetable, fixedType) {
|
|
51
33
|
var _e = $xetable._e,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
34
|
+
tableData = $xetable.tableData,
|
|
35
|
+
tableColumn = $xetable.tableColumn,
|
|
36
|
+
tableGroupColumn = $xetable.tableGroupColumn,
|
|
37
|
+
vSize = $xetable.vSize,
|
|
38
|
+
showHeader = $xetable.showHeader,
|
|
39
|
+
showFooter = $xetable.showFooter,
|
|
40
|
+
columnStore = $xetable.columnStore,
|
|
41
|
+
footerTableData = $xetable.footerTableData;
|
|
60
42
|
var fixedColumn = columnStore["".concat(fixedType, "List")];
|
|
61
43
|
return h('div', {
|
|
62
44
|
class: "vxe-table--fixed-".concat(fixedType, "-wrapper"),
|
|
@@ -91,39 +73,32 @@ function renderFixed(h, $xetable, fixedType) {
|
|
|
91
73
|
ref: "".concat(fixedType, "Footer")
|
|
92
74
|
}) : _e()]);
|
|
93
75
|
}
|
|
94
|
-
|
|
95
76
|
function renderEmptyContenet(h, _vm) {
|
|
96
77
|
var $scopedSlots = _vm.$scopedSlots,
|
|
97
|
-
|
|
78
|
+
emptyOpts = _vm.emptyOpts;
|
|
98
79
|
var emptyContent = '';
|
|
99
80
|
var params = {
|
|
100
81
|
$table: _vm
|
|
101
82
|
};
|
|
102
|
-
|
|
103
83
|
if ($scopedSlots.empty) {
|
|
104
84
|
emptyContent = $scopedSlots.empty.call(_vm, params, h);
|
|
105
85
|
} else {
|
|
106
86
|
var compConf = emptyOpts.name ? _vXETable.default.renderer.get(emptyOpts.name) : null;
|
|
107
87
|
var renderEmpty = compConf ? compConf.renderEmpty : null;
|
|
108
|
-
|
|
109
88
|
if (renderEmpty) {
|
|
110
89
|
emptyContent = (0, _vn.getSlotVNs)(renderEmpty.call(_vm, h, emptyOpts, params));
|
|
111
90
|
} else {
|
|
112
91
|
emptyContent = (0, _utils.getFuncText)(_vm.emptyText) || _conf.default.i18n('vxe.table.emptyText');
|
|
113
92
|
}
|
|
114
93
|
}
|
|
115
|
-
|
|
116
94
|
return emptyContent;
|
|
117
95
|
}
|
|
118
|
-
|
|
119
96
|
function handleUupdateResize(_vm) {
|
|
120
97
|
var $el = _vm.$el;
|
|
121
|
-
|
|
122
98
|
if ($el && $el.clientWidth && $el.clientHeight) {
|
|
123
99
|
_vm.recalculate();
|
|
124
100
|
}
|
|
125
101
|
}
|
|
126
|
-
|
|
127
102
|
var _default2 = {
|
|
128
103
|
name: 'VxeTable',
|
|
129
104
|
mixins: [_size.default],
|
|
@@ -295,7 +270,6 @@ var _default2 = {
|
|
|
295
270
|
return _conf.default.table.showFooterOverflow;
|
|
296
271
|
}
|
|
297
272
|
},
|
|
298
|
-
|
|
299
273
|
/** 高级属性 */
|
|
300
274
|
// (即将废弃)columnKey 已废弃,被 column-config.useKey 替换
|
|
301
275
|
columnKey: Boolean,
|
|
@@ -744,74 +718,61 @@ var _default2 = {
|
|
|
744
718
|
},
|
|
745
719
|
tableBorder: function tableBorder() {
|
|
746
720
|
var border = this.border;
|
|
747
|
-
|
|
748
721
|
if (border === true) {
|
|
749
722
|
return 'full';
|
|
750
723
|
}
|
|
751
|
-
|
|
752
724
|
if (border) {
|
|
753
725
|
return border;
|
|
754
726
|
}
|
|
755
|
-
|
|
756
727
|
return 'default';
|
|
757
728
|
},
|
|
758
|
-
|
|
759
729
|
/**
|
|
760
730
|
* 判断列全选的复选框是否禁用
|
|
761
731
|
*/
|
|
762
732
|
isAllCheckboxDisabled: function isAllCheckboxDisabled() {
|
|
763
733
|
var tableFullData = this.tableFullData,
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
734
|
+
tableData = this.tableData,
|
|
735
|
+
treeConfig = this.treeConfig,
|
|
736
|
+
checkboxOpts = this.checkboxOpts;
|
|
767
737
|
var strict = checkboxOpts.strict,
|
|
768
|
-
|
|
769
|
-
|
|
738
|
+
checkMethod = checkboxOpts.checkMethod;
|
|
770
739
|
if (strict) {
|
|
771
740
|
if (tableData.length || tableFullData.length) {
|
|
772
741
|
if (checkMethod) {
|
|
773
|
-
if (treeConfig) {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
742
|
+
if (treeConfig) {
|
|
743
|
+
// 暂时不支持树形结构
|
|
744
|
+
}
|
|
745
|
+
// 如果所有行都被禁用
|
|
777
746
|
return tableFullData.every(function (row) {
|
|
778
747
|
return !checkMethod({
|
|
779
748
|
row: row
|
|
780
749
|
});
|
|
781
750
|
});
|
|
782
751
|
}
|
|
783
|
-
|
|
784
752
|
return false;
|
|
785
753
|
}
|
|
786
|
-
|
|
787
754
|
return true;
|
|
788
755
|
}
|
|
789
|
-
|
|
790
756
|
return false;
|
|
791
757
|
}
|
|
792
758
|
},
|
|
793
759
|
watch: {
|
|
794
760
|
data: function data(value) {
|
|
795
761
|
var _this = this;
|
|
796
|
-
|
|
797
762
|
var inited = this.inited,
|
|
798
|
-
|
|
763
|
+
initStatus = this.initStatus;
|
|
799
764
|
this.loadTableData(value).then(function () {
|
|
800
765
|
_this.inited = true;
|
|
801
766
|
_this.initStatus = true;
|
|
802
|
-
|
|
803
767
|
if (!initStatus) {
|
|
804
768
|
_this.handleLoadDefaults();
|
|
805
769
|
}
|
|
806
|
-
|
|
807
770
|
if (!inited) {
|
|
808
771
|
_this.handleInitDefaults();
|
|
809
772
|
}
|
|
810
|
-
|
|
811
773
|
if ((_this.scrollXLoad || _this.scrollYLoad) && _this.expandColumn) {
|
|
812
774
|
(0, _log.warnLog)('vxe.error.scrollErrProp', ['column.type=expand']);
|
|
813
775
|
}
|
|
814
|
-
|
|
815
776
|
_this.recalculate();
|
|
816
777
|
});
|
|
817
778
|
},
|
|
@@ -823,7 +784,6 @@ var _default2 = {
|
|
|
823
784
|
},
|
|
824
785
|
showHeader: function showHeader() {
|
|
825
786
|
var _this2 = this;
|
|
826
|
-
|
|
827
787
|
this.$nextTick(function () {
|
|
828
788
|
_this2.recalculate(true).then(function () {
|
|
829
789
|
return _this2.refreshScroll();
|
|
@@ -832,7 +792,6 @@ var _default2 = {
|
|
|
832
792
|
},
|
|
833
793
|
showFooter: function showFooter() {
|
|
834
794
|
var _this3 = this;
|
|
835
|
-
|
|
836
795
|
this.$nextTick(function () {
|
|
837
796
|
_this3.recalculate(true).then(function () {
|
|
838
797
|
return _this3.refreshScroll();
|
|
@@ -841,21 +800,18 @@ var _default2 = {
|
|
|
841
800
|
},
|
|
842
801
|
height: function height() {
|
|
843
802
|
var _this4 = this;
|
|
844
|
-
|
|
845
803
|
this.$nextTick(function () {
|
|
846
804
|
return _this4.recalculate(true);
|
|
847
805
|
});
|
|
848
806
|
},
|
|
849
807
|
maxHeight: function maxHeight() {
|
|
850
808
|
var _this5 = this;
|
|
851
|
-
|
|
852
809
|
this.$nextTick(function () {
|
|
853
810
|
return _this5.recalculate(true);
|
|
854
811
|
});
|
|
855
812
|
},
|
|
856
813
|
syncResize: function syncResize(value) {
|
|
857
814
|
var _this6 = this;
|
|
858
|
-
|
|
859
815
|
if (value) {
|
|
860
816
|
handleUupdateResize(this);
|
|
861
817
|
this.$nextTick(function () {
|
|
@@ -868,7 +824,6 @@ var _default2 = {
|
|
|
868
824
|
},
|
|
869
825
|
mergeCells: function mergeCells(value) {
|
|
870
826
|
var _this7 = this;
|
|
871
|
-
|
|
872
827
|
this.clearMergeCells();
|
|
873
828
|
this.$nextTick(function () {
|
|
874
829
|
return _this7.setMergeCells(value);
|
|
@@ -876,7 +831,6 @@ var _default2 = {
|
|
|
876
831
|
},
|
|
877
832
|
mergeFooterItems: function mergeFooterItems(value) {
|
|
878
833
|
var _this8 = this;
|
|
879
|
-
|
|
880
834
|
this.clearMergeFooterItems();
|
|
881
835
|
this.$nextTick(function () {
|
|
882
836
|
return _this8.setMergeFooterItems(value);
|
|
@@ -885,63 +839,61 @@ var _default2 = {
|
|
|
885
839
|
},
|
|
886
840
|
created: function created() {
|
|
887
841
|
var _this9 = this;
|
|
888
|
-
|
|
889
842
|
var _Object$assign = Object.assign(this, {
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
843
|
+
tZindex: 0,
|
|
844
|
+
elemStore: {},
|
|
845
|
+
// 存放横向 X 虚拟滚动相关的信息
|
|
846
|
+
scrollXStore: {},
|
|
847
|
+
// 存放纵向 Y 虚拟滚动相关信息
|
|
848
|
+
scrollYStore: {},
|
|
849
|
+
// 表格宽度
|
|
850
|
+
tableWidth: 0,
|
|
851
|
+
// 表格高度
|
|
852
|
+
tableHeight: 0,
|
|
853
|
+
// 表头高度
|
|
854
|
+
headerHeight: 0,
|
|
855
|
+
// 表尾高度
|
|
856
|
+
footerHeight: 0,
|
|
857
|
+
// 当前 hover 行
|
|
858
|
+
// hoverRow: null,
|
|
859
|
+
// 最后滚动位置
|
|
860
|
+
lastScrollLeft: 0,
|
|
861
|
+
lastScrollTop: 0,
|
|
862
|
+
// 单选框属性,已选中保留的行
|
|
863
|
+
radioReserveRow: null,
|
|
864
|
+
// 复选框属性,已选中保留的行
|
|
865
|
+
checkboxReserveRowMap: {},
|
|
866
|
+
// 行数据,已展开保留的行
|
|
867
|
+
rowExpandedReserveRowMap: {},
|
|
868
|
+
// 树结构数据,已展开保留的行
|
|
869
|
+
treeExpandedReserveRowMap: {},
|
|
870
|
+
// 完整数据、条件处理后
|
|
871
|
+
tableFullData: [],
|
|
872
|
+
afterFullData: [],
|
|
873
|
+
// 收集的列配置(带分组)
|
|
874
|
+
collectColumn: [],
|
|
875
|
+
// 完整所有列(不带分组)
|
|
876
|
+
tableFullColumn: [],
|
|
877
|
+
// 渲染所有列
|
|
878
|
+
visibleColumn: [],
|
|
879
|
+
// 缓存数据集
|
|
880
|
+
fullAllDataRowMap: new Map(),
|
|
881
|
+
fullAllDataRowIdData: {},
|
|
882
|
+
fullDataRowMap: new Map(),
|
|
883
|
+
fullDataRowIdData: {},
|
|
884
|
+
fullColumnMap: new Map(),
|
|
885
|
+
fullColumnIdData: {},
|
|
886
|
+
fullColumnFieldData: {}
|
|
887
|
+
}),
|
|
888
|
+
scrollXStore = _Object$assign.scrollXStore,
|
|
889
|
+
sYOpts = _Object$assign.sYOpts,
|
|
890
|
+
scrollYStore = _Object$assign.scrollYStore,
|
|
891
|
+
data = _Object$assign.data,
|
|
892
|
+
editOpts = _Object$assign.editOpts,
|
|
893
|
+
treeOpts = _Object$assign.treeOpts,
|
|
894
|
+
treeConfig = _Object$assign.treeConfig,
|
|
895
|
+
showOverflow = _Object$assign.showOverflow,
|
|
896
|
+
rowOpts = _Object$assign.rowOpts;
|
|
945
897
|
if (process.env.NODE_ENV === 'development') {
|
|
946
898
|
// if (this.rowId) {
|
|
947
899
|
// warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField'])
|
|
@@ -955,26 +907,22 @@ var _default2 = {
|
|
|
955
907
|
if (!(this.rowId || rowOpts.keyField) && (this.checkboxOpts.reserve || this.checkboxOpts.checkRowKeys || this.radioOpts.reserve || this.radioOpts.checkRowKey || this.expandOpts.expandRowKeys || this.treeOpts.expandRowKeys)) {
|
|
956
908
|
(0, _log.warnLog)('vxe.error.reqProp', ['row-config.keyField']);
|
|
957
909
|
}
|
|
958
|
-
|
|
959
910
|
if (this.editConfig && editOpts.showStatus && !this.keepSource) {
|
|
960
911
|
(0, _log.warnLog)('vxe.error.reqProp', ['keep-source']);
|
|
961
912
|
}
|
|
962
|
-
|
|
963
913
|
if (treeConfig && treeOpts.line && (!(this.rowKey || rowOpts.useKey) || !showOverflow)) {
|
|
964
914
|
(0, _log.warnLog)('vxe.error.reqProp', ['row-config.useKey | show-overflow']);
|
|
965
915
|
}
|
|
966
|
-
|
|
967
916
|
if (this.showFooter && !this.footerMethod) {
|
|
968
917
|
(0, _log.warnLog)('vxe.error.reqProp', ['footer-method']);
|
|
969
918
|
}
|
|
970
|
-
|
|
971
919
|
if (treeConfig && this.stripe) {
|
|
972
920
|
(0, _log.warnLog)('vxe.error.noTree', ['stripe']);
|
|
973
921
|
}
|
|
974
|
-
|
|
975
922
|
if (this.tooltipOpts.enabled) {
|
|
976
923
|
(0, _log.warnLog)('vxe.error.delProp', ['tooltip-config.enabled', 'tooltip-config.showAll']);
|
|
977
|
-
}
|
|
924
|
+
}
|
|
925
|
+
// if (this.highlightCurrentRow) {
|
|
978
926
|
// warnLog('vxe.error.delProp', ['highlight-current-row', 'row-config.isCurrent'])
|
|
979
927
|
// }
|
|
980
928
|
// if (this.highlightHoverRow) {
|
|
@@ -987,135 +935,108 @@ var _default2 = {
|
|
|
987
935
|
// warnLog('vxe.error.delProp', ['highlight-hover-column', 'column-config.isHover'])
|
|
988
936
|
// }
|
|
989
937
|
// 检查导入导出类型,如果自定义导入导出方法,则不校验类型
|
|
990
|
-
|
|
991
|
-
|
|
992
938
|
var exportConfig = this.exportConfig,
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
939
|
+
exportOpts = this.exportOpts,
|
|
940
|
+
importConfig = this.importConfig,
|
|
941
|
+
importOpts = this.importOpts;
|
|
997
942
|
if (importConfig && importOpts.types && !importOpts.importMethod && !_xeUtils.default.includeArrays(_vXETable.default.config.importTypes, importOpts.types)) {
|
|
998
943
|
(0, _log.warnLog)('vxe.error.errProp', ["export-config.types=".concat(importOpts.types.join(',')), importOpts.types.filter(function (type) {
|
|
999
944
|
return _xeUtils.default.includes(_vXETable.default.config.importTypes, type);
|
|
1000
945
|
}).join(',') || _vXETable.default.config.importTypes.join(',')]);
|
|
1001
946
|
}
|
|
1002
|
-
|
|
1003
947
|
if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !_xeUtils.default.includeArrays(_vXETable.default.config.exportTypes, exportOpts.types)) {
|
|
1004
948
|
(0, _log.warnLog)('vxe.error.errProp', ["export-config.types=".concat(exportOpts.types.join(',')), exportOpts.types.filter(function (type) {
|
|
1005
949
|
return _xeUtils.default.includes(_vXETable.default.config.exportTypes, type);
|
|
1006
950
|
}).join(',') || _vXETable.default.config.exportTypes.join(',')]);
|
|
1007
951
|
}
|
|
1008
952
|
}
|
|
1009
|
-
|
|
1010
953
|
if (process.env.NODE_ENV === 'development') {
|
|
1011
954
|
var customOpts = this.customOpts;
|
|
1012
|
-
|
|
1013
955
|
if (!this.id && this.customConfig && (customOpts.storage === true || customOpts.storage && customOpts.storage.resizable || customOpts.storage && customOpts.storage.visible)) {
|
|
1014
956
|
(0, _log.errLog)('vxe.error.reqProp', ['id']);
|
|
1015
957
|
}
|
|
1016
|
-
|
|
1017
958
|
if (this.treeConfig && this.checkboxOpts.range) {
|
|
1018
959
|
(0, _log.errLog)('vxe.error.noTree', ['checkbox-config.range']);
|
|
1019
960
|
}
|
|
1020
|
-
|
|
1021
961
|
if (this.rowOpts.height && !this.showOverflow) {
|
|
1022
962
|
(0, _log.warnLog)('vxe.error.notProp', ['table.show-overflow']);
|
|
1023
963
|
}
|
|
1024
|
-
|
|
1025
964
|
if (!this.handleUpdateCellAreas) {
|
|
1026
965
|
if (this.clipConfig) {
|
|
1027
966
|
(0, _log.warnLog)('vxe.error.notProp', ['clip-config']);
|
|
1028
967
|
}
|
|
1029
|
-
|
|
1030
968
|
if (this.fnrConfig) {
|
|
1031
969
|
(0, _log.warnLog)('vxe.error.notProp', ['fnr-config']);
|
|
1032
970
|
}
|
|
1033
|
-
|
|
1034
971
|
if (this.mouseOpts.area) {
|
|
1035
972
|
(0, _log.errLog)('vxe.error.notProp', ['mouse-config.area']);
|
|
1036
973
|
return;
|
|
1037
974
|
}
|
|
1038
975
|
}
|
|
1039
|
-
|
|
1040
976
|
if (this.mouseOpts.area && this.mouseOpts.selected) {
|
|
1041
977
|
(0, _log.warnLog)('vxe.error.errConflicts', ['mouse-config.area', 'mouse-config.selected']);
|
|
1042
978
|
}
|
|
1043
|
-
|
|
1044
979
|
if (this.mouseOpts.area && this.checkboxOpts.range) {
|
|
1045
980
|
(0, _log.warnLog)('vxe.error.errConflicts', ['mouse-config.area', 'checkbox-config.range']);
|
|
1046
981
|
}
|
|
1047
|
-
|
|
1048
982
|
if (this.treeConfig && this.mouseOpts.area) {
|
|
1049
983
|
(0, _log.errLog)('vxe.error.noTree', ['mouse-config.area']);
|
|
1050
984
|
}
|
|
1051
|
-
}
|
|
1052
|
-
|
|
985
|
+
}
|
|
1053
986
|
|
|
987
|
+
// v4 中只支持对象类型
|
|
1054
988
|
if (process.env.NODE_ENV === 'development') {
|
|
1055
989
|
// 在 v3.0 中废弃 context-menu
|
|
1056
990
|
if (this.contextMenu) {
|
|
1057
991
|
(0, _log.warnLog)('vxe.error.delProp', ['context-menu', 'menu-config']);
|
|
1058
|
-
|
|
1059
992
|
if (!_xeUtils.default.isObject(this.contextMenu)) {
|
|
1060
993
|
(0, _log.warnLog)('vxe.error.errProp', ["table.context-menu=".concat(this.contextMenu), 'table.context-menu={}']);
|
|
1061
994
|
}
|
|
1062
995
|
}
|
|
1063
|
-
|
|
1064
996
|
if (this.menuConfig && !_xeUtils.default.isObject(this.menuConfig)) {
|
|
1065
997
|
(0, _log.warnLog)('vxe.error.errProp', ["table.menu-config=".concat(this.menuConfig), 'table.menu-config={}']);
|
|
1066
998
|
}
|
|
1067
|
-
|
|
1068
999
|
if (this.exportConfig && !_xeUtils.default.isObject(this.exportConfig)) {
|
|
1069
1000
|
(0, _log.warnLog)('vxe.error.errProp', ["table.export-config=".concat(this.exportConfig), 'table.export-config={}']);
|
|
1070
1001
|
}
|
|
1071
|
-
|
|
1072
1002
|
if (this.importConfig && !_xeUtils.default.isObject(this.importConfig)) {
|
|
1073
1003
|
(0, _log.warnLog)('vxe.error.errProp', ["table.import-config=".concat(this.importConfig), 'table.import-config={}']);
|
|
1074
1004
|
}
|
|
1075
|
-
|
|
1076
1005
|
if (this.printConfig && !_xeUtils.default.isObject(this.printConfig)) {
|
|
1077
1006
|
(0, _log.warnLog)('vxe.error.errProp', ["table.print-config=".concat(this.printConfig), 'table.print-config={}']);
|
|
1078
1007
|
}
|
|
1079
|
-
|
|
1080
1008
|
if (this.treeConfig && !_xeUtils.default.isObject(this.treeConfig)) {
|
|
1081
1009
|
(0, _log.warnLog)('vxe.error.errProp', ["table.tree-config=".concat(this.treeConfig), 'table.tree-config={}']);
|
|
1082
1010
|
}
|
|
1083
|
-
|
|
1084
1011
|
if (this.customConfig && !_xeUtils.default.isObject(this.customConfig)) {
|
|
1085
1012
|
(0, _log.warnLog)('vxe.error.errProp', ["table.custom-config=".concat(this.customConfig), 'table.custom-config={}']);
|
|
1086
1013
|
}
|
|
1087
|
-
|
|
1088
1014
|
if (this.editConfig && !_xeUtils.default.isObject(this.editConfig)) {
|
|
1089
1015
|
(0, _log.warnLog)('vxe.error.errProp', ["table.edit-config=".concat(this.editConfig), 'table.edit-config={}']);
|
|
1090
1016
|
}
|
|
1091
|
-
|
|
1092
1017
|
if (this.emptyRender && !_xeUtils.default.isObject(this.emptyRender)) {
|
|
1093
1018
|
(0, _log.warnLog)('vxe.error.errProp', ["table.empty-render=".concat(this.emptyRender), 'table.empty-render={}']);
|
|
1094
|
-
}
|
|
1019
|
+
}
|
|
1020
|
+
// if (this.editConfig && this.editConfig.activeMethod) {
|
|
1095
1021
|
// warnLog('vxe.error.delProp', ['table.edit-config.activeMethod', 'table.edit-config.beforeEditMethod'])
|
|
1096
1022
|
// }
|
|
1023
|
+
}
|
|
1097
1024
|
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1025
|
+
// 检查是否有安装需要的模块
|
|
1101
1026
|
if (process.env.NODE_ENV === 'development') {
|
|
1102
1027
|
if (this.editConfig && !this._insert) {
|
|
1103
1028
|
(0, _log.errLog)('vxe.error.reqModule', ['Edit']);
|
|
1104
1029
|
}
|
|
1105
|
-
|
|
1106
1030
|
if (this.editRules && !this._validate) {
|
|
1107
1031
|
(0, _log.errLog)('vxe.error.reqModule', ['Validator']);
|
|
1108
1032
|
}
|
|
1109
|
-
|
|
1110
1033
|
if ((this.checkboxOpts.range || this.keyboardConfig || this.mouseConfig) && !this.triggerCellMousedownEvent) {
|
|
1111
1034
|
(0, _log.errLog)('vxe.error.reqModule', ['Keyboard']);
|
|
1112
1035
|
}
|
|
1113
|
-
|
|
1114
1036
|
if ((this.printConfig || this.importConfig || this.exportConfig) && !this._exportData) {
|
|
1115
1037
|
(0, _log.errLog)('vxe.error.reqModule', ['Export']);
|
|
1116
1038
|
}
|
|
1117
1039
|
}
|
|
1118
|
-
|
|
1119
1040
|
Object.assign(scrollYStore, {
|
|
1120
1041
|
startIndex: 0,
|
|
1121
1042
|
endIndex: 1,
|
|
@@ -1131,50 +1052,33 @@ var _default2 = {
|
|
|
1131
1052
|
if (data && data.length) {
|
|
1132
1053
|
_this9.inited = true;
|
|
1133
1054
|
_this9.initStatus = true;
|
|
1134
|
-
|
|
1135
1055
|
_this9.handleLoadDefaults();
|
|
1136
|
-
|
|
1137
1056
|
_this9.handleInitDefaults();
|
|
1138
1057
|
}
|
|
1139
|
-
|
|
1140
1058
|
_this9.updateStyle();
|
|
1141
1059
|
});
|
|
1142
|
-
|
|
1143
1060
|
_event.GlobalEvent.on(this, 'paste', this.handleGlobalPasteEvent);
|
|
1144
|
-
|
|
1145
1061
|
_event.GlobalEvent.on(this, 'copy', this.handleGlobalCopyEvent);
|
|
1146
|
-
|
|
1147
1062
|
_event.GlobalEvent.on(this, 'cut', this.handleGlobalCutEvent);
|
|
1148
|
-
|
|
1149
1063
|
_event.GlobalEvent.on(this, 'mousedown', this.handleGlobalMousedownEvent);
|
|
1150
|
-
|
|
1151
1064
|
_event.GlobalEvent.on(this, 'blur', this.handleGlobalBlurEvent);
|
|
1152
|
-
|
|
1153
1065
|
_event.GlobalEvent.on(this, 'mousewheel', this.handleGlobalMousewheelEvent);
|
|
1154
|
-
|
|
1155
1066
|
_event.GlobalEvent.on(this, 'keydown', this.handleGlobalKeydownEvent);
|
|
1156
|
-
|
|
1157
1067
|
_event.GlobalEvent.on(this, 'resize', this.handleGlobalResizeEvent);
|
|
1158
|
-
|
|
1159
1068
|
_event.GlobalEvent.on(this, 'contextmenu', this.handleGlobalContextmenuEvent);
|
|
1160
|
-
|
|
1161
1069
|
this.preventEvent(null, 'created');
|
|
1162
1070
|
},
|
|
1163
1071
|
mounted: function mounted() {
|
|
1164
1072
|
var _this10 = this;
|
|
1165
|
-
|
|
1166
1073
|
if (process.env.NODE_ENV === 'development') {
|
|
1167
1074
|
var $listeners = this.$listeners;
|
|
1168
|
-
|
|
1169
1075
|
if (!this.menuConfig && ($listeners['menu-click'] || $listeners['cell-menu'] || $listeners['header-cell-menu'] || $listeners['footer-cell-menu'])) {
|
|
1170
1076
|
(0, _log.warnLog)('vxe.error.reqProp', ['menu-config']);
|
|
1171
1077
|
}
|
|
1172
|
-
|
|
1173
1078
|
if (!this.tooltipConfig && ($listeners['cell-mouseenter'] || $listeners['cell-mouseleave'])) {
|
|
1174
1079
|
(0, _log.warnLog)('vxe.error.reqProp', ['tooltip-config']);
|
|
1175
1080
|
}
|
|
1176
1081
|
}
|
|
1177
|
-
|
|
1178
1082
|
if (this.autoResize) {
|
|
1179
1083
|
var resizeObserver = (0, _resize.createResizeEvent)(function () {
|
|
1180
1084
|
return _this10.recalculate(true);
|
|
@@ -1183,12 +1087,10 @@ var _default2 = {
|
|
|
1183
1087
|
resizeObserver.observe(this.getParentElem());
|
|
1184
1088
|
this.$resize = resizeObserver;
|
|
1185
1089
|
}
|
|
1186
|
-
|
|
1187
1090
|
this.preventEvent(null, 'mounted');
|
|
1188
1091
|
},
|
|
1189
1092
|
activated: function activated() {
|
|
1190
1093
|
var _this11 = this;
|
|
1191
|
-
|
|
1192
1094
|
this.recalculate().then(function () {
|
|
1193
1095
|
return _this11.refreshScroll();
|
|
1194
1096
|
});
|
|
@@ -1201,73 +1103,63 @@ var _default2 = {
|
|
|
1201
1103
|
if (this.$resize) {
|
|
1202
1104
|
this.$resize.disconnect();
|
|
1203
1105
|
}
|
|
1204
|
-
|
|
1205
1106
|
this.closeFilter();
|
|
1206
1107
|
this.closeMenu();
|
|
1207
1108
|
this.preventEvent(null, 'beforeDestroy');
|
|
1208
1109
|
},
|
|
1209
1110
|
destroyed: function destroyed() {
|
|
1210
1111
|
_event.GlobalEvent.off(this, 'paste');
|
|
1211
|
-
|
|
1212
1112
|
_event.GlobalEvent.off(this, 'copy');
|
|
1213
|
-
|
|
1214
1113
|
_event.GlobalEvent.off(this, 'cut');
|
|
1215
|
-
|
|
1216
1114
|
_event.GlobalEvent.off(this, 'mousedown');
|
|
1217
|
-
|
|
1218
1115
|
_event.GlobalEvent.off(this, 'blur');
|
|
1219
|
-
|
|
1220
1116
|
_event.GlobalEvent.off(this, 'mousewheel');
|
|
1221
|
-
|
|
1222
1117
|
_event.GlobalEvent.off(this, 'keydown');
|
|
1223
|
-
|
|
1224
1118
|
_event.GlobalEvent.off(this, 'resize');
|
|
1225
|
-
|
|
1226
1119
|
_event.GlobalEvent.off(this, 'contextmenu');
|
|
1227
|
-
|
|
1228
1120
|
this.preventEvent(null, 'destroyed');
|
|
1229
1121
|
},
|
|
1230
1122
|
render: function render(h) {
|
|
1231
1123
|
var _e = this._e,
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1124
|
+
tId = this.tId,
|
|
1125
|
+
tableData = this.tableData,
|
|
1126
|
+
tableColumn = this.tableColumn,
|
|
1127
|
+
tableGroupColumn = this.tableGroupColumn,
|
|
1128
|
+
isGroup = this.isGroup,
|
|
1129
|
+
loading = this.loading,
|
|
1130
|
+
stripe = this.stripe,
|
|
1131
|
+
showHeader = this.showHeader,
|
|
1132
|
+
height = this.height,
|
|
1133
|
+
tableBorder = this.tableBorder,
|
|
1134
|
+
treeOpts = this.treeOpts,
|
|
1135
|
+
treeConfig = this.treeConfig,
|
|
1136
|
+
mouseConfig = this.mouseConfig,
|
|
1137
|
+
mouseOpts = this.mouseOpts,
|
|
1138
|
+
vSize = this.vSize,
|
|
1139
|
+
validOpts = this.validOpts,
|
|
1140
|
+
showFooter = this.showFooter,
|
|
1141
|
+
overflowX = this.overflowX,
|
|
1142
|
+
overflowY = this.overflowY,
|
|
1143
|
+
scrollXLoad = this.scrollXLoad,
|
|
1144
|
+
scrollYLoad = this.scrollYLoad,
|
|
1145
|
+
scrollbarHeight = this.scrollbarHeight,
|
|
1146
|
+
highlightCell = this.highlightCell,
|
|
1147
|
+
highlightHoverRow = this.highlightHoverRow,
|
|
1148
|
+
highlightHoverColumn = this.highlightHoverColumn,
|
|
1149
|
+
editConfig = this.editConfig,
|
|
1150
|
+
validTipOpts = this.validTipOpts,
|
|
1151
|
+
initStore = this.initStore,
|
|
1152
|
+
columnStore = this.columnStore,
|
|
1153
|
+
filterStore = this.filterStore,
|
|
1154
|
+
ctxMenuStore = this.ctxMenuStore,
|
|
1155
|
+
ctxMenuOpts = this.ctxMenuOpts,
|
|
1156
|
+
footerTableData = this.footerTableData,
|
|
1157
|
+
hasTip = this.hasTip,
|
|
1158
|
+
columnOpts = this.columnOpts,
|
|
1159
|
+
rowOpts = this.rowOpts,
|
|
1160
|
+
loadingOpts = this.loadingOpts;
|
|
1269
1161
|
var leftList = columnStore.leftList,
|
|
1270
|
-
|
|
1162
|
+
rightList = columnStore.rightList;
|
|
1271
1163
|
return h('div', {
|
|
1272
1164
|
class: ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), {
|
|
1273
1165
|
'vxe-editable': !!editConfig,
|