vxe-table 3.7.2 → 3.7.3

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 (179) hide show
  1. package/lib/all.js +3 -3
  2. package/lib/button/index.js +5 -5
  3. package/lib/button/src/button.js +29 -29
  4. package/lib/button/style/style.css +2 -2
  5. package/lib/button/style/style.min.css +1 -1
  6. package/lib/checkbox/index.js +5 -5
  7. package/lib/checkbox/src/checkbox.js +17 -17
  8. package/lib/checkbox/src/group.js +10 -10
  9. package/lib/checkbox/style/style.css +1 -0
  10. package/lib/checkbox/style/style.min.css +1 -1
  11. package/lib/checkbox-group/index.js +5 -5
  12. package/lib/colgroup/index.js +6 -6
  13. package/lib/column/index.js +6 -6
  14. package/lib/edit/index.js +5 -5
  15. package/lib/edit/src/mixin.js +28 -28
  16. package/lib/export/index.js +15 -15
  17. package/lib/export/src/export-panel.js +57 -57
  18. package/lib/export/src/import-panel.js +21 -21
  19. package/lib/export/src/mixin.js +72 -72
  20. package/lib/export/style/style.css +5 -0
  21. package/lib/export/style/style.min.css +1 -1
  22. package/lib/filter/index.js +7 -7
  23. package/lib/filter/src/mixin.js +8 -8
  24. package/lib/filter/src/panel.js +24 -24
  25. package/lib/filter/style/style.css +3 -0
  26. package/lib/filter/style/style.min.css +1 -1
  27. package/lib/footer/index.js +5 -5
  28. package/lib/footer/src/footer.js +14 -14
  29. package/lib/form/index.js +5 -5
  30. package/lib/form/src/form-config-item.js +27 -27
  31. package/lib/form/src/form-gather.js +5 -5
  32. package/lib/form/src/form-item.js +36 -36
  33. package/lib/form/src/form.js +69 -69
  34. package/lib/form/src/render.js +9 -9
  35. package/lib/form/src/util.js +6 -6
  36. package/lib/form/style/style.css +10 -2
  37. package/lib/form/style/style.min.css +1 -1
  38. package/lib/form-gather/index.js +5 -5
  39. package/lib/form-item/index.js +5 -5
  40. package/lib/grid/index.js +7 -7
  41. package/lib/grid/src/grid.js +77 -77
  42. package/lib/grid/style/style.css +1 -0
  43. package/lib/grid/style/style.min.css +1 -1
  44. package/lib/header/index.js +5 -5
  45. package/lib/header/src/header.js +21 -21
  46. package/lib/icon/index.js +5 -5
  47. package/lib/icon/src/icon.js +3 -3
  48. package/lib/icon/style/style.css +2 -1
  49. package/lib/icon/style/style.min.css +2 -1
  50. package/lib/index.common.js +3 -3
  51. package/lib/index.css +1 -1
  52. package/lib/index.umd.js +1238 -1836
  53. package/lib/index.umd.min.js +1 -1
  54. package/lib/input/index.js +5 -5
  55. package/lib/input/src/date.js +3 -3
  56. package/lib/input/src/input.js +248 -248
  57. package/lib/input/src/number.js +4 -4
  58. package/lib/input/style/style.css +9 -2
  59. package/lib/input/style/style.min.css +1 -1
  60. package/lib/keyboard/index.js +5 -5
  61. package/lib/keyboard/src/mixin.js +15 -15
  62. package/lib/list/index.js +5 -5
  63. package/lib/list/src/list.js +19 -19
  64. package/lib/loading/index.js +6 -6
  65. package/lib/loading/src/loading.js +13 -13
  66. package/lib/loading/style/style.css +1 -0
  67. package/lib/loading/style/style.min.css +1 -1
  68. package/lib/locale/lang/en-US.js +7 -7
  69. package/lib/locale/lang/en-US.umd.js +7 -7
  70. package/lib/locale/lang/es-ES.js +5 -5
  71. package/lib/locale/lang/es-ES.umd.js +5 -5
  72. package/lib/locale/lang/ja-JP.js +7 -7
  73. package/lib/locale/lang/ja-JP.umd.js +7 -7
  74. package/lib/locale/lang/pt-BR.js +7 -7
  75. package/lib/locale/lang/pt-BR.umd.js +7 -7
  76. package/lib/locale/lang/zh-CN.js +7 -7
  77. package/lib/locale/lang/zh-CN.umd.js +7 -7
  78. package/lib/locale/lang/zh-HK.js +4 -4
  79. package/lib/locale/lang/zh-HK.umd.js +7 -7
  80. package/lib/locale/lang/zh-MO.js +4 -4
  81. package/lib/locale/lang/zh-MO.umd.js +7 -7
  82. package/lib/locale/lang/zh-TC.js +7 -7
  83. package/lib/locale/lang/zh-TC.umd.js +7 -7
  84. package/lib/locale/lang/zh-TW.js +4 -4
  85. package/lib/locale/lang/zh-TW.umd.js +7 -7
  86. package/lib/menu/index.js +7 -7
  87. package/lib/menu/src/mixin.js +16 -16
  88. package/lib/menu/src/panel.js +14 -14
  89. package/lib/menu/style/style.css +1 -0
  90. package/lib/menu/style/style.min.css +1 -1
  91. package/lib/mixins/size.js +2 -2
  92. package/lib/modal/index.js +12 -12
  93. package/lib/modal/src/modal.js +104 -104
  94. package/lib/modal/style/style.css +2 -0
  95. package/lib/modal/style/style.min.css +1 -1
  96. package/lib/optgroup/index.js +5 -5
  97. package/lib/option/index.js +5 -5
  98. package/lib/pager/index.js +5 -5
  99. package/lib/pager/src/pager.js +67 -67
  100. package/lib/pager/style/style.css +2 -0
  101. package/lib/pager/style/style.min.css +1 -1
  102. package/lib/pulldown/index.js +5 -5
  103. package/lib/pulldown/src/pulldown.js +16 -16
  104. package/lib/pulldown/style/style.css +1 -2
  105. package/lib/pulldown/style/style.min.css +1 -1
  106. package/lib/radio/index.js +5 -5
  107. package/lib/radio/src/button.js +14 -14
  108. package/lib/radio/src/group.js +12 -12
  109. package/lib/radio/src/radio.js +16 -16
  110. package/lib/radio/style/style.css +1 -0
  111. package/lib/radio/style/style.min.css +1 -1
  112. package/lib/radio-button/index.js +5 -5
  113. package/lib/radio-group/index.js +5 -5
  114. package/lib/select/index.js +9 -9
  115. package/lib/select/src/optgroup.js +6 -6
  116. package/lib/select/src/option.js +6 -6
  117. package/lib/select/src/select.js +58 -58
  118. package/lib/select/src/util.js +2 -2
  119. package/lib/select/style/style.css +2 -2
  120. package/lib/select/style/style.min.css +1 -1
  121. package/lib/style.css +1 -1
  122. package/lib/style.min.css +1 -1
  123. package/lib/switch/index.js +5 -5
  124. package/lib/switch/src/switch.js +17 -17
  125. package/lib/switch/style/style.css +1 -0
  126. package/lib/switch/style/style.min.css +1 -1
  127. package/lib/table/index.js +15 -15
  128. package/lib/table/src/body.js +39 -39
  129. package/lib/table/src/cell.js +77 -77
  130. package/lib/table/src/column.js +17 -17
  131. package/lib/table/src/columnInfo.js +13 -13
  132. package/lib/table/src/group.js +4 -4
  133. package/lib/table/src/methods.js +223 -223
  134. package/lib/table/src/table.js +124 -124
  135. package/lib/table/src/util.js +19 -19
  136. package/lib/table/style/style.css +10 -0
  137. package/lib/table/style/style.min.css +1 -1
  138. package/lib/textarea/index.js +5 -5
  139. package/lib/textarea/src/textarea.js +27 -27
  140. package/lib/textarea/style/style.css +3 -0
  141. package/lib/textarea/style/style.min.css +1 -1
  142. package/lib/toolbar/index.js +5 -5
  143. package/lib/toolbar/src/toolbar.js +79 -79
  144. package/lib/toolbar/style/style.css +3 -0
  145. package/lib/toolbar/style/style.min.css +1 -1
  146. package/lib/tools/dom.js +8 -8
  147. package/lib/tools/event.js +3 -3
  148. package/lib/tools/log.js +2 -2
  149. package/lib/tools/log.min.js +1 -1
  150. package/lib/tools/resize.js +4 -4
  151. package/lib/tools/utils.js +13 -13
  152. package/lib/tools/vn.js +2 -2
  153. package/lib/tooltip/index.js +6 -6
  154. package/lib/tooltip/src/tooltip.js +30 -30
  155. package/lib/v-x-e-table/index.js +9 -9
  156. package/lib/v-x-e-table/index.min.js +1 -1
  157. package/lib/v-x-e-table/src/commands.js +6 -6
  158. package/lib/v-x-e-table/src/conf.js +4 -4
  159. package/lib/v-x-e-table/src/config.js +6 -2
  160. package/lib/v-x-e-table/src/config.min.js +1 -1
  161. package/lib/v-x-e-table/src/formats.js +6 -6
  162. package/lib/v-x-e-table/src/interceptor.js +5 -5
  163. package/lib/v-x-e-table/src/menus.js +6 -6
  164. package/lib/v-x-e-table/src/renderer.js +49 -49
  165. package/lib/v-x-e-table/src/store.js +7 -7
  166. package/lib/v-x-e-table/src/validators.js +2 -2
  167. package/lib/v-x-e-table/style/style.css +2 -0
  168. package/lib/v-x-e-table/style/style.min.css +1 -1
  169. package/lib/validator/index.js +5 -5
  170. package/lib/validator/src/mixin.js +29 -29
  171. package/package.json +4 -4
  172. package/packages/v-x-e-table/src/config.js +4 -0
  173. package/styles/form.scss +3 -2
  174. /package/lib/icon/style/{iconfont.1694939101562.ttf → iconfont.1695255877135.ttf} +0 -0
  175. /package/lib/icon/style/{iconfont.1694939101562.woff → iconfont.1695255877135.woff} +0 -0
  176. /package/lib/icon/style/{iconfont.1694939101562.woff2 → iconfont.1695255877135.woff2} +0 -0
  177. /package/lib/{iconfont.1694939101562.ttf → iconfont.1695255877135.ttf} +0 -0
  178. /package/lib/{iconfont.1694939101562.woff → iconfont.1695255877135.woff} +0 -0
  179. /package/lib/{iconfont.1694939101562.woff2 → iconfont.1695255877135.woff2} +0 -0
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports["default"] = void 0;
6
+ exports.default = void 0;
7
7
  var _xeUtils = _interopRequireDefault(require("xe-utils"));
8
8
  var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf"));
9
9
  var _vXETable = _interopRequireDefault(require("../../v-x-e-table"));
@@ -17,7 +17,7 @@ var _vn = require("../../tools/vn");
17
17
  var _methods = _interopRequireDefault(require("./methods"));
18
18
  var _log = require("../../tools/log");
19
19
  var _index = _interopRequireDefault(require("../../loading/index"));
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
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
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; }
23
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,9 +41,9 @@ function renderFixed(h, $xetable, fixedType) {
41
41
  footerTableData = $xetable.footerTableData;
42
42
  var fixedColumn = columnStore["".concat(fixedType, "List")];
43
43
  return h('div', {
44
- "class": "vxe-table--fixed-".concat(fixedType, "-wrapper"),
44
+ class: "vxe-table--fixed-".concat(fixedType, "-wrapper"),
45
45
  ref: "".concat(fixedType, "Container")
46
- }, [showHeader ? h(_header["default"], {
46
+ }, [showHeader ? h(_header.default, {
47
47
  props: {
48
48
  fixedType: fixedType,
49
49
  tableData: tableData,
@@ -83,12 +83,12 @@ function renderEmptyContenet(h, _vm) {
83
83
  if ($scopedSlots.empty) {
84
84
  emptyContent = $scopedSlots.empty.call(_vm, params, h);
85
85
  } else {
86
- var compConf = emptyOpts.name ? _vXETable["default"].renderer.get(emptyOpts.name) : null;
86
+ var compConf = emptyOpts.name ? _vXETable.default.renderer.get(emptyOpts.name) : null;
87
87
  var renderEmpty = compConf ? compConf.renderEmpty : null;
88
88
  if (renderEmpty) {
89
89
  emptyContent = (0, _vn.getSlotVNs)(renderEmpty.call(_vm, h, emptyOpts, params));
90
90
  } else {
91
- emptyContent = (0, _utils.getFuncText)(_vm.emptyText) || _conf["default"].i18n('vxe.table.emptyText');
91
+ emptyContent = (0, _utils.getFuncText)(_vm.emptyText) || _conf.default.i18n('vxe.table.emptyText');
92
92
  }
93
93
  }
94
94
  return emptyContent;
@@ -101,7 +101,7 @@ function handleUupdateResize(_vm) {
101
101
  }
102
102
  var _default2 = {
103
103
  name: 'VxeTable',
104
- mixins: [_size["default"]],
104
+ mixins: [_size.default],
105
105
  props: {
106
106
  /** 基本属性 */
107
107
  id: String,
@@ -112,8 +112,8 @@ var _default2 = {
112
112
  // 表格的最小高度
113
113
  minHeight: {
114
114
  type: [Number, String],
115
- "default": function _default() {
116
- return _conf["default"].table.minHeight;
115
+ default: function _default() {
116
+ return _conf.default.table.minHeight;
117
117
  }
118
118
  },
119
119
  // 表格的最大高度
@@ -121,43 +121,43 @@ var _default2 = {
121
121
  // 已废弃,被 column-config.resizable 替换
122
122
  resizable: {
123
123
  type: Boolean,
124
- "default": function _default() {
125
- return _conf["default"].table.resizable;
124
+ default: function _default() {
125
+ return _conf.default.table.resizable;
126
126
  }
127
127
  },
128
128
  // 是否带有斑马纹
129
129
  stripe: {
130
130
  type: Boolean,
131
- "default": function _default() {
132
- return _conf["default"].table.stripe;
131
+ default: function _default() {
132
+ return _conf.default.table.stripe;
133
133
  }
134
134
  },
135
135
  // 是否带有边框
136
136
  border: {
137
137
  type: [Boolean, String],
138
- "default": function _default() {
139
- return _conf["default"].table.border;
138
+ default: function _default() {
139
+ return _conf.default.table.border;
140
140
  }
141
141
  },
142
142
  // 是否圆角边框
143
143
  round: {
144
144
  type: Boolean,
145
- "default": function _default() {
146
- return _conf["default"].table.round;
145
+ default: function _default() {
146
+ return _conf.default.table.round;
147
147
  }
148
148
  },
149
149
  // 表格的尺寸
150
150
  size: {
151
151
  type: String,
152
- "default": function _default() {
153
- return _conf["default"].table.size || _conf["default"].size;
152
+ default: function _default() {
153
+ return _conf.default.table.size || _conf.default.size;
154
154
  }
155
155
  },
156
156
  // 列的宽度是否自撑开(可能会被废弃的参数,不要使用)
157
157
  fit: {
158
158
  type: Boolean,
159
- "default": function _default() {
160
- return _conf["default"].table.fit;
159
+ default: function _default() {
160
+ return _conf.default.table.fit;
161
161
  }
162
162
  },
163
163
  // 表格是否加载中
@@ -165,57 +165,57 @@ var _default2 = {
165
165
  // 所有的列对其方式
166
166
  align: {
167
167
  type: String,
168
- "default": function _default() {
169
- return _conf["default"].table.align;
168
+ default: function _default() {
169
+ return _conf.default.table.align;
170
170
  }
171
171
  },
172
172
  // 所有的表头列的对齐方式
173
173
  headerAlign: {
174
174
  type: String,
175
- "default": function _default() {
176
- return _conf["default"].table.headerAlign;
175
+ default: function _default() {
176
+ return _conf.default.table.headerAlign;
177
177
  }
178
178
  },
179
179
  // 所有的表尾列的对齐方式
180
180
  footerAlign: {
181
181
  type: String,
182
- "default": function _default() {
183
- return _conf["default"].table.footerAlign;
182
+ default: function _default() {
183
+ return _conf.default.table.footerAlign;
184
184
  }
185
185
  },
186
186
  // 是否显示表头
187
187
  showHeader: {
188
188
  type: Boolean,
189
- "default": function _default() {
190
- return _conf["default"].table.showHeader;
189
+ default: function _default() {
190
+ return _conf.default.table.showHeader;
191
191
  }
192
192
  },
193
193
  // 已废弃,被 row-config.isCurrent 替换
194
194
  highlightCurrentRow: {
195
195
  type: Boolean,
196
- "default": function _default() {
197
- return _conf["default"].table.highlightCurrentRow;
196
+ default: function _default() {
197
+ return _conf.default.table.highlightCurrentRow;
198
198
  }
199
199
  },
200
200
  // 已废弃,被 row-config.isHover 替换
201
201
  highlightHoverRow: {
202
202
  type: Boolean,
203
- "default": function _default() {
204
- return _conf["default"].table.highlightHoverRow;
203
+ default: function _default() {
204
+ return _conf.default.table.highlightHoverRow;
205
205
  }
206
206
  },
207
207
  // 已废弃,被 column-config.isCurrent 替换
208
208
  highlightCurrentColumn: {
209
209
  type: Boolean,
210
- "default": function _default() {
211
- return _conf["default"].table.highlightCurrentColumn;
210
+ default: function _default() {
211
+ return _conf.default.table.highlightCurrentColumn;
212
212
  }
213
213
  },
214
214
  // 已废弃,被 column-config.isHover 替换
215
215
  highlightHoverColumn: {
216
216
  type: Boolean,
217
- "default": function _default() {
218
- return _conf["default"].table.highlightHoverColumn;
217
+ default: function _default() {
218
+ return _conf.default.table.highlightHoverColumn;
219
219
  }
220
220
  },
221
221
  // 已废弃,直接删除
@@ -259,22 +259,22 @@ var _default2 = {
259
259
  // 设置所有内容过长时显示为省略号
260
260
  showOverflow: {
261
261
  type: [Boolean, String],
262
- "default": function _default() {
263
- return _conf["default"].table.showOverflow;
262
+ default: function _default() {
263
+ return _conf.default.table.showOverflow;
264
264
  }
265
265
  },
266
266
  // 设置表头所有内容过长时显示为省略号
267
267
  showHeaderOverflow: {
268
268
  type: [Boolean, String],
269
- "default": function _default() {
270
- return _conf["default"].table.showHeaderOverflow;
269
+ default: function _default() {
270
+ return _conf.default.table.showHeaderOverflow;
271
271
  }
272
272
  },
273
273
  // 设置表尾所有内容过长时显示为省略号
274
274
  showFooterOverflow: {
275
275
  type: [Boolean, String],
276
- "default": function _default() {
277
- return _conf["default"].table.showFooterOverflow;
276
+ default: function _default() {
277
+ return _conf.default.table.showFooterOverflow;
278
278
  }
279
279
  },
280
280
  /** 高级属性 */
@@ -285,28 +285,28 @@ var _default2 = {
285
285
  // (即将废弃)rowId 已废弃,被 row-config.keyField 替换
286
286
  rowId: {
287
287
  type: String,
288
- "default": function _default() {
289
- return _conf["default"].table.rowId;
288
+ default: function _default() {
289
+ return _conf.default.table.rowId;
290
290
  }
291
291
  },
292
292
  zIndex: Number,
293
293
  emptyText: {
294
294
  type: String,
295
- "default": function _default() {
296
- return _conf["default"].table.emptyText;
295
+ default: function _default() {
296
+ return _conf.default.table.emptyText;
297
297
  }
298
298
  },
299
299
  keepSource: {
300
300
  type: Boolean,
301
- "default": function _default() {
302
- return _conf["default"].table.keepSource;
301
+ default: function _default() {
302
+ return _conf.default.table.keepSource;
303
303
  }
304
304
  },
305
305
  // 是否自动监听父容器变化去更新响应式表格宽高
306
306
  autoResize: {
307
307
  type: Boolean,
308
- "default": function _default() {
309
- return _conf["default"].table.autoResize;
308
+ default: function _default() {
309
+ return _conf.default.table.autoResize;
310
310
  }
311
311
  },
312
312
  // 是否自动根据状态属性去更新响应式表格宽高
@@ -374,22 +374,22 @@ var _default2 = {
374
374
  // (即将废弃)优化相关
375
375
  animat: {
376
376
  type: Boolean,
377
- "default": function _default() {
378
- return _conf["default"].table.animat;
377
+ default: function _default() {
378
+ return _conf.default.table.animat;
379
379
  }
380
380
  },
381
381
  // (可能会被废弃的参数,不要使用)
382
382
  delayHover: {
383
383
  type: Number,
384
- "default": function _default() {
385
- return _conf["default"].table.delayHover;
384
+ default: function _default() {
385
+ return _conf.default.table.delayHover;
386
386
  }
387
387
  },
388
388
  // 额外的参数
389
389
  params: Object
390
390
  },
391
391
  components: {
392
- VxeTableBody: _body["default"]
392
+ VxeTableBody: _body.default
393
393
  },
394
394
  provide: function provide() {
395
395
  return {
@@ -399,12 +399,12 @@ var _default2 = {
399
399
  },
400
400
  inject: {
401
401
  $xegrid: {
402
- "default": null
402
+ default: null
403
403
  }
404
404
  },
405
405
  data: function data() {
406
406
  return {
407
- tId: "".concat(_xeUtils["default"].uniqueId()),
407
+ tId: "".concat(_xeUtils.default.uniqueId()),
408
408
  // 低性能的静态列
409
409
  staticColumns: [],
410
410
  // 渲染的列分组
@@ -468,8 +468,8 @@ var _default2 = {
468
468
  // 初始化标识
469
469
  initStore: {
470
470
  filter: false,
471
- "import": false,
472
- "export": false
471
+ import: false,
472
+ export: false
473
473
  },
474
474
  // 刷新列标识,当列筛选被改变时,触发表格刷新数据
475
475
  upDataFlag: 0,
@@ -601,47 +601,47 @@ var _default2 = {
601
601
  validOpts: function validOpts() {
602
602
  return Object.assign({
603
603
  message: 'default'
604
- }, _conf["default"].table.validConfig, this.validConfig);
604
+ }, _conf.default.table.validConfig, this.validConfig);
605
605
  },
606
606
  sXOpts: function sXOpts() {
607
- return Object.assign({}, _conf["default"].table.scrollX, this.scrollX);
607
+ return Object.assign({}, _conf.default.table.scrollX, this.scrollX);
608
608
  },
609
609
  sYOpts: function sYOpts() {
610
- return Object.assign({}, _conf["default"].table.scrollY, this.scrollY);
610
+ return Object.assign({}, _conf.default.table.scrollY, this.scrollY);
611
611
  },
612
612
  rowHeightMaps: function rowHeightMaps() {
613
613
  return {
614
- "default": 48,
614
+ default: 48,
615
615
  medium: 44,
616
616
  small: 40,
617
617
  mini: 36
618
618
  };
619
619
  },
620
620
  columnOpts: function columnOpts() {
621
- return Object.assign({}, _conf["default"].table.columnConfig, this.columnConfig);
621
+ return Object.assign({}, _conf.default.table.columnConfig, this.columnConfig);
622
622
  },
623
623
  rowOpts: function rowOpts() {
624
- return Object.assign({}, _conf["default"].table.rowConfig, this.rowConfig);
624
+ return Object.assign({}, _conf.default.table.rowConfig, this.rowConfig);
625
625
  },
626
626
  resizeOpts: function resizeOpts() {
627
- return Object.assign({}, _conf["default"].table.resizeConfig, this.resizeConfig);
627
+ return Object.assign({}, _conf.default.table.resizeConfig, this.resizeConfig);
628
628
  },
629
629
  resizableOpts: function resizableOpts() {
630
- return Object.assign({}, _conf["default"].table.resizableConfig, this.resizableConfig);
630
+ return Object.assign({}, _conf.default.table.resizableConfig, this.resizableConfig);
631
631
  },
632
632
  seqOpts: function seqOpts() {
633
633
  return Object.assign({
634
634
  startIndex: 0
635
- }, _conf["default"].table.seqConfig, this.seqConfig);
635
+ }, _conf.default.table.seqConfig, this.seqConfig);
636
636
  },
637
637
  radioOpts: function radioOpts() {
638
- return Object.assign({}, _conf["default"].table.radioConfig, this.radioConfig);
638
+ return Object.assign({}, _conf.default.table.radioConfig, this.radioConfig);
639
639
  },
640
640
  checkboxOpts: function checkboxOpts() {
641
- return Object.assign({}, _conf["default"].table.checkboxConfig, this.checkboxConfig);
641
+ return Object.assign({}, _conf.default.table.checkboxConfig, this.checkboxConfig);
642
642
  },
643
643
  tooltipOpts: function tooltipOpts() {
644
- return Object.assign({}, _conf["default"].tooltip, _conf["default"].table.tooltipConfig, this.tooltipConfig);
644
+ return Object.assign({}, _conf.default.tooltip, _conf.default.table.tooltipConfig, this.tooltipConfig);
645
645
  },
646
646
  tipConfig: function tipConfig() {
647
647
  return _objectSpread(_objectSpread({}, this.tooltipOpts), this.tooltipStore.currOpts);
@@ -652,33 +652,33 @@ var _default2 = {
652
652
  }, this.tooltipOpts);
653
653
  },
654
654
  editOpts: function editOpts() {
655
- return Object.assign({}, _conf["default"].table.editConfig, this.editConfig);
655
+ return Object.assign({}, _conf.default.table.editConfig, this.editConfig);
656
656
  },
657
657
  sortOpts: function sortOpts() {
658
658
  return Object.assign({
659
659
  orders: ['asc', 'desc', null]
660
- }, _conf["default"].table.sortConfig, this.sortConfig);
660
+ }, _conf.default.table.sortConfig, this.sortConfig);
661
661
  },
662
662
  filterOpts: function filterOpts() {
663
- return Object.assign({}, _conf["default"].table.filterConfig, this.filterConfig);
663
+ return Object.assign({}, _conf.default.table.filterConfig, this.filterConfig);
664
664
  },
665
665
  mouseOpts: function mouseOpts() {
666
- return Object.assign({}, _conf["default"].table.mouseConfig, this.mouseConfig);
666
+ return Object.assign({}, _conf.default.table.mouseConfig, this.mouseConfig);
667
667
  },
668
668
  areaOpts: function areaOpts() {
669
- return Object.assign({}, _conf["default"].table.areaConfig, this.areaConfig);
669
+ return Object.assign({}, _conf.default.table.areaConfig, this.areaConfig);
670
670
  },
671
671
  keyboardOpts: function keyboardOpts() {
672
- return Object.assign({}, _conf["default"].table.keyboardConfig, this.keyboardConfig);
672
+ return Object.assign({}, _conf.default.table.keyboardConfig, this.keyboardConfig);
673
673
  },
674
674
  clipOpts: function clipOpts() {
675
- return Object.assign({}, _conf["default"].table.clipConfig, this.clipConfig);
675
+ return Object.assign({}, _conf.default.table.clipConfig, this.clipConfig);
676
676
  },
677
677
  fnrOpts: function fnrOpts() {
678
- return Object.assign({}, _conf["default"].table.fnrConfig, this.fnrConfig);
678
+ return Object.assign({}, _conf.default.table.fnrConfig, this.fnrConfig);
679
679
  },
680
680
  hasTip: function hasTip() {
681
- return _vXETable["default"]._tooltip;
681
+ return _vXETable.default._tooltip;
682
682
  },
683
683
  headerCtxMenu: function headerCtxMenu() {
684
684
  var headerOpts = this.ctxMenuOpts.header;
@@ -696,7 +696,7 @@ var _default2 = {
696
696
  return !!((this.contextMenu || this.menuConfig) && (0, _utils.isEnableConf)(this.ctxMenuOpts) && (this.headerCtxMenu.length || this.bodyCtxMenu.length || this.footerCtxMenu.length));
697
697
  },
698
698
  ctxMenuOpts: function ctxMenuOpts() {
699
- return Object.assign({}, _conf["default"].table.menuConfig, this.contextMenu, this.menuConfig);
699
+ return Object.assign({}, _conf.default.table.menuConfig, this.contextMenu, this.menuConfig);
700
700
  },
701
701
  ctxMenuList: function ctxMenuList() {
702
702
  var rest = [];
@@ -708,31 +708,31 @@ var _default2 = {
708
708
  return rest;
709
709
  },
710
710
  exportOpts: function exportOpts() {
711
- return Object.assign({}, _conf["default"].table.exportConfig, this.exportConfig);
711
+ return Object.assign({}, _conf.default.table.exportConfig, this.exportConfig);
712
712
  },
713
713
  importOpts: function importOpts() {
714
- return Object.assign({}, _conf["default"].table.importConfig, this.importConfig);
714
+ return Object.assign({}, _conf.default.table.importConfig, this.importConfig);
715
715
  },
716
716
  printOpts: function printOpts() {
717
- return Object.assign({}, _conf["default"].table.printConfig, this.printConfig);
717
+ return Object.assign({}, _conf.default.table.printConfig, this.printConfig);
718
718
  },
719
719
  expandOpts: function expandOpts() {
720
- return Object.assign({}, _conf["default"].table.expandConfig, this.expandConfig);
720
+ return Object.assign({}, _conf.default.table.expandConfig, this.expandConfig);
721
721
  },
722
722
  treeOpts: function treeOpts() {
723
- return Object.assign({}, _conf["default"].table.treeConfig, this.treeConfig);
723
+ return Object.assign({}, _conf.default.table.treeConfig, this.treeConfig);
724
724
  },
725
725
  emptyOpts: function emptyOpts() {
726
- return Object.assign({}, _conf["default"].table.emptyRender, this.emptyRender);
726
+ return Object.assign({}, _conf.default.table.emptyRender, this.emptyRender);
727
727
  },
728
728
  loadingOpts: function loadingOpts() {
729
- return Object.assign({}, _conf["default"].table.loadingConfig, this.loadingConfig);
729
+ return Object.assign({}, _conf.default.table.loadingConfig, this.loadingConfig);
730
730
  },
731
731
  cellOffsetWidth: function cellOffsetWidth() {
732
732
  return this.border ? Math.max(2, Math.ceil(this.scrollbarWidth / this.tableColumn.length)) : 1;
733
733
  },
734
734
  customOpts: function customOpts() {
735
- return Object.assign({}, _conf["default"].table.customConfig, this.customConfig);
735
+ return Object.assign({}, _conf.default.table.customConfig, this.customConfig);
736
736
  },
737
737
  fixedColumnSize: function fixedColumnSize() {
738
738
  var tableFullColumn = this.tableFullColumn;
@@ -994,15 +994,15 @@ var _default2 = {
994
994
  exportOpts = this.exportOpts,
995
995
  importConfig = this.importConfig,
996
996
  importOpts = this.importOpts;
997
- if (importConfig && importOpts.types && !importOpts.importMethod && !_xeUtils["default"].includeArrays(_vXETable["default"].globalConfs.importTypes, importOpts.types)) {
997
+ if (importConfig && importOpts.types && !importOpts.importMethod && !_xeUtils.default.includeArrays(_vXETable.default.globalConfs.importTypes, importOpts.types)) {
998
998
  (0, _log.warnLog)('vxe.error.errProp', ["export-config.types=".concat(importOpts.types.join(',')), importOpts.types.filter(function (type) {
999
- return _xeUtils["default"].includes(_vXETable["default"].globalConfs.importTypes, type);
1000
- }).join(',') || _vXETable["default"].globalConfs.importTypes.join(',')]);
999
+ return _xeUtils.default.includes(_vXETable.default.globalConfs.importTypes, type);
1000
+ }).join(',') || _vXETable.default.globalConfs.importTypes.join(',')]);
1001
1001
  }
1002
- if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !_xeUtils["default"].includeArrays(_vXETable["default"].globalConfs.exportTypes, exportOpts.types)) {
1002
+ if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !_xeUtils.default.includeArrays(_vXETable.default.globalConfs.exportTypes, exportOpts.types)) {
1003
1003
  (0, _log.warnLog)('vxe.error.errProp', ["export-config.types=".concat(exportOpts.types.join(',')), exportOpts.types.filter(function (type) {
1004
- return _xeUtils["default"].includes(_vXETable["default"].globalConfs.exportTypes, type);
1005
- }).join(',') || _vXETable["default"].globalConfs.exportTypes.join(',')]);
1004
+ return _xeUtils.default.includes(_vXETable.default.globalConfs.exportTypes, type);
1005
+ }).join(',') || _vXETable.default.globalConfs.exportTypes.join(',')]);
1006
1006
  }
1007
1007
  }
1008
1008
  if (process.env.NODE_ENV === 'development') {
@@ -1050,32 +1050,32 @@ var _default2 = {
1050
1050
  // 在 v3.0 中废弃 context-menu
1051
1051
  if (this.contextMenu) {
1052
1052
  (0, _log.warnLog)('vxe.error.delProp', ['context-menu', 'menu-config']);
1053
- if (!_xeUtils["default"].isObject(this.contextMenu)) {
1053
+ if (!_xeUtils.default.isObject(this.contextMenu)) {
1054
1054
  (0, _log.warnLog)('vxe.error.errProp', ["table.context-menu=".concat(this.contextMenu), 'table.context-menu={}']);
1055
1055
  }
1056
1056
  }
1057
- if (this.menuConfig && !_xeUtils["default"].isObject(this.menuConfig)) {
1057
+ if (this.menuConfig && !_xeUtils.default.isObject(this.menuConfig)) {
1058
1058
  (0, _log.warnLog)('vxe.error.errProp', ["table.menu-config=".concat(this.menuConfig), 'table.menu-config={}']);
1059
1059
  }
1060
- if (this.exportConfig && !_xeUtils["default"].isObject(this.exportConfig)) {
1060
+ if (this.exportConfig && !_xeUtils.default.isObject(this.exportConfig)) {
1061
1061
  (0, _log.warnLog)('vxe.error.errProp', ["table.export-config=".concat(this.exportConfig), 'table.export-config={}']);
1062
1062
  }
1063
- if (this.importConfig && !_xeUtils["default"].isObject(this.importConfig)) {
1063
+ if (this.importConfig && !_xeUtils.default.isObject(this.importConfig)) {
1064
1064
  (0, _log.warnLog)('vxe.error.errProp', ["table.import-config=".concat(this.importConfig), 'table.import-config={}']);
1065
1065
  }
1066
- if (this.printConfig && !_xeUtils["default"].isObject(this.printConfig)) {
1066
+ if (this.printConfig && !_xeUtils.default.isObject(this.printConfig)) {
1067
1067
  (0, _log.warnLog)('vxe.error.errProp', ["table.print-config=".concat(this.printConfig), 'table.print-config={}']);
1068
1068
  }
1069
- if (this.treeConfig && !_xeUtils["default"].isObject(this.treeConfig)) {
1069
+ if (this.treeConfig && !_xeUtils.default.isObject(this.treeConfig)) {
1070
1070
  (0, _log.warnLog)('vxe.error.errProp', ["table.tree-config=".concat(this.treeConfig), 'table.tree-config={}']);
1071
1071
  }
1072
- if (this.customConfig && !_xeUtils["default"].isObject(this.customConfig)) {
1072
+ if (this.customConfig && !_xeUtils.default.isObject(this.customConfig)) {
1073
1073
  (0, _log.warnLog)('vxe.error.errProp', ["table.custom-config=".concat(this.customConfig), 'table.custom-config={}']);
1074
1074
  }
1075
- if (this.editConfig && !_xeUtils["default"].isObject(this.editConfig)) {
1075
+ if (this.editConfig && !_xeUtils.default.isObject(this.editConfig)) {
1076
1076
  (0, _log.warnLog)('vxe.error.errProp', ["table.edit-config=".concat(this.editConfig), 'table.edit-config={}']);
1077
1077
  }
1078
- if (this.emptyRender && !_xeUtils["default"].isObject(this.emptyRender)) {
1078
+ if (this.emptyRender && !_xeUtils.default.isObject(this.emptyRender)) {
1079
1079
  (0, _log.warnLog)('vxe.error.errProp', ["table.empty-render=".concat(this.emptyRender), 'table.empty-render={}']);
1080
1080
  }
1081
1081
  if (this.editConfig && this.editOpts.activeMethod) {
@@ -1147,7 +1147,7 @@ var _default2 = {
1147
1147
  }
1148
1148
  }
1149
1149
  if (this.autoResize) {
1150
- var handleWarpperResize = this.resizeOpts.refreshDelay ? _xeUtils["default"].throttle(function () {
1150
+ var handleWarpperResize = this.resizeOpts.refreshDelay ? _xeUtils.default.throttle(function () {
1151
1151
  return _this12.recalculate(true);
1152
1152
  }, this.resizeOpts.refreshDelay, {
1153
1153
  leading: true,
@@ -1243,7 +1243,7 @@ var _default2 = {
1243
1243
  var leftList = columnStore.leftList,
1244
1244
  rightList = columnStore.rightList;
1245
1245
  return h('div', {
1246
- "class": ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), (_ref = {}, _defineProperty(_ref, "vaild-msg--".concat(validOpts.msgMode), !!editRules), _defineProperty(_ref, 'vxe-editable', !!editConfig), _defineProperty(_ref, 'cell--highlight', highlightCell), _defineProperty(_ref, 'cell--selected', mouseConfig && mouseOpts.selected), _defineProperty(_ref, 'cell--area', mouseConfig && mouseOpts.area), _defineProperty(_ref, 'row--highlight', rowOpts.isHover || highlightHoverRow), _defineProperty(_ref, 'column--highlight', columnOpts.isHover || highlightHoverColumn), _defineProperty(_ref, 'is--header', showHeader), _defineProperty(_ref, 'is--footer', showFooter), _defineProperty(_ref, 'is--group', isGroup), _defineProperty(_ref, 'is--tree-line', treeConfig && (treeOpts.showLine || treeOpts.line)), _defineProperty(_ref, 'is--fixed-left', leftList.length), _defineProperty(_ref, 'is--fixed-right', rightList.length), _defineProperty(_ref, 'is--animat', !!this.animat), _defineProperty(_ref, 'is--round', this.round), _defineProperty(_ref, 'is--stripe', !treeConfig && stripe), _defineProperty(_ref, 'is--loading', loading), _defineProperty(_ref, 'is--empty', !loading && !tableData.length), _defineProperty(_ref, 'is--scroll-y', overflowY), _defineProperty(_ref, 'is--scroll-x', overflowX), _defineProperty(_ref, 'is--virtual-x', scrollXLoad), _defineProperty(_ref, 'is--virtual-y', scrollYLoad), _ref)],
1246
+ class: ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), (_ref = {}, _defineProperty(_ref, "vaild-msg--".concat(validOpts.msgMode), !!editRules), _defineProperty(_ref, 'vxe-editable', !!editConfig), _defineProperty(_ref, 'cell--highlight', highlightCell), _defineProperty(_ref, 'cell--selected', mouseConfig && mouseOpts.selected), _defineProperty(_ref, 'cell--area', mouseConfig && mouseOpts.area), _defineProperty(_ref, 'row--highlight', rowOpts.isHover || highlightHoverRow), _defineProperty(_ref, 'column--highlight', columnOpts.isHover || highlightHoverColumn), _defineProperty(_ref, 'is--header', showHeader), _defineProperty(_ref, 'is--footer', showFooter), _defineProperty(_ref, 'is--group', isGroup), _defineProperty(_ref, 'is--tree-line', treeConfig && (treeOpts.showLine || treeOpts.line)), _defineProperty(_ref, 'is--fixed-left', leftList.length), _defineProperty(_ref, 'is--fixed-right', rightList.length), _defineProperty(_ref, 'is--animat', !!this.animat), _defineProperty(_ref, 'is--round', this.round), _defineProperty(_ref, 'is--stripe', !treeConfig && stripe), _defineProperty(_ref, 'is--loading', loading), _defineProperty(_ref, 'is--empty', !loading && !tableData.length), _defineProperty(_ref, 'is--scroll-y', overflowY), _defineProperty(_ref, 'is--scroll-x', overflowX), _defineProperty(_ref, 'is--virtual-x', scrollXLoad), _defineProperty(_ref, 'is--virtual-y', scrollYLoad), _ref)],
1247
1247
  on: {
1248
1248
  keydown: this.keydownEvent
1249
1249
  }
@@ -1252,17 +1252,17 @@ var _default2 = {
1252
1252
  * 隐藏列
1253
1253
  */
1254
1254
  h('div', {
1255
- "class": 'vxe-table-slots',
1255
+ class: 'vxe-table-slots',
1256
1256
  ref: 'hideColumn'
1257
- }, this.$slots["default"]), h('div', {
1258
- "class": 'vxe-table--render-wrapper'
1257
+ }, this.$slots.default), h('div', {
1258
+ class: 'vxe-table--render-wrapper'
1259
1259
  }, [h('div', {
1260
- "class": 'vxe-table--main-wrapper'
1260
+ class: 'vxe-table--main-wrapper'
1261
1261
  }, [
1262
1262
  /**
1263
1263
  * 表头
1264
1264
  */
1265
- showHeader ? h(_header["default"], {
1265
+ showHeader ? h(_header.default, {
1266
1266
  ref: 'tableHeader',
1267
1267
  props: {
1268
1268
  tableData: tableData,
@@ -1293,7 +1293,7 @@ var _default2 = {
1293
1293
  size: vSize
1294
1294
  }
1295
1295
  }) : _e()]), h('div', {
1296
- "class": 'vxe-table--fixed-wrapper'
1296
+ class: 'vxe-table--fixed-wrapper'
1297
1297
  }, [
1298
1298
  /**
1299
1299
  * 左侧固定区域
@@ -1308,21 +1308,21 @@ var _default2 = {
1308
1308
  */
1309
1309
  h('div', {
1310
1310
  ref: 'emptyPlaceholder',
1311
- "class": 'vxe-table--empty-placeholder'
1311
+ class: 'vxe-table--empty-placeholder'
1312
1312
  }, [h('div', {
1313
- "class": 'vxe-table--empty-content'
1313
+ class: 'vxe-table--empty-content'
1314
1314
  }, renderEmptyContenet(h, this))]),
1315
1315
  /**
1316
1316
  * 边框线
1317
1317
  */
1318
1318
  h('div', {
1319
- "class": 'vxe-table--border-line'
1319
+ class: 'vxe-table--border-line'
1320
1320
  }),
1321
1321
  /**
1322
1322
  * 列宽线
1323
1323
  */
1324
1324
  h('div', {
1325
- "class": 'vxe-table--resizable-bar',
1325
+ class: 'vxe-table--resizable-bar',
1326
1326
  style: overflowX ? {
1327
1327
  'padding-bottom': "".concat(scrollbarHeight, "px")
1328
1328
  } : null,
@@ -1331,8 +1331,8 @@ var _default2 = {
1331
1331
  /**
1332
1332
  * 加载中
1333
1333
  */
1334
- h(_index["default"], {
1335
- "class": 'vxe-table--loading',
1334
+ h(_index.default, {
1335
+ class: 'vxe-table--loading',
1336
1336
  props: {
1337
1337
  value: loading,
1338
1338
  icon: loadingOpts.icon,
@@ -1351,7 +1351,7 @@ var _default2 = {
1351
1351
  /**
1352
1352
  * 导入
1353
1353
  */
1354
- initStore["import"] && this.importConfig ? h('vxe-import-panel', {
1354
+ initStore.import && this.importConfig ? h('vxe-import-panel', {
1355
1355
  props: {
1356
1356
  defaultOptions: this.importParams,
1357
1357
  storeData: this.importStore
@@ -1360,7 +1360,7 @@ var _default2 = {
1360
1360
  /**
1361
1361
  * 导出/打印
1362
1362
  */
1363
- initStore["export"] && (this.exportConfig || this.printConfig) ? h('vxe-export-panel', {
1363
+ initStore.export && (this.exportConfig || this.printConfig) ? h('vxe-export-panel', {
1364
1364
  props: {
1365
1365
  defaultOptions: this.exportParams,
1366
1366
  storeData: this.exportStore
@@ -1398,10 +1398,10 @@ var _default2 = {
1398
1398
  */
1399
1399
  hasTip && this.editRules && validOpts.showMessage && (validOpts.message === 'default' ? !height : validOpts.message === 'tooltip') ? h('vxe-tooltip', {
1400
1400
  ref: 'validTip',
1401
- "class": 'vxe-table--valid-error',
1401
+ class: 'vxe-table--valid-error',
1402
1402
  props: validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : null
1403
1403
  }) : _e()]);
1404
1404
  },
1405
- methods: _methods["default"]
1405
+ methods: _methods.default
1406
1406
  };
1407
- exports["default"] = _default2;
1407
+ exports.default = _default2;