vxe-table 3.6.11 → 3.6.12-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.
Files changed (175) 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 +7 -22
  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 +3 -13
  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 +26 -26
  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 +73 -73
  20. package/lib/export/style/style.css +2 -9
  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 +1 -5
  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 +23 -23
  31. package/lib/form/src/form-gather.js +5 -5
  32. package/lib/form/src/form-item.js +30 -30
  33. package/lib/form/src/form.js +61 -61
  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 +11 -57
  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 +0 -1
  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 +33 -80
  49. package/lib/icon/style/style.min.css +33 -80
  50. package/lib/index.common.js +3 -3
  51. package/lib/index.css +1 -1
  52. package/lib/index.umd.js +1822 -1218
  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 +243 -243
  57. package/lib/input/src/number.js +4 -4
  58. package/lib/input/style/style.css +39 -159
  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 +5 -21
  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/ja-JP.js +7 -7
  71. package/lib/locale/lang/ja-JP.umd.js +7 -7
  72. package/lib/locale/lang/zh-CN.js +7 -7
  73. package/lib/locale/lang/zh-CN.umd.js +7 -7
  74. package/lib/locale/lang/zh-HK.js +4 -4
  75. package/lib/locale/lang/zh-HK.umd.js +7 -7
  76. package/lib/locale/lang/zh-MO.js +4 -4
  77. package/lib/locale/lang/zh-MO.umd.js +7 -7
  78. package/lib/locale/lang/zh-TC.js +7 -7
  79. package/lib/locale/lang/zh-TC.umd.js +7 -7
  80. package/lib/locale/lang/zh-TW.js +4 -4
  81. package/lib/locale/lang/zh-TW.umd.js +7 -7
  82. package/lib/menu/index.js +7 -7
  83. package/lib/menu/src/mixin.js +16 -16
  84. package/lib/menu/src/panel.js +14 -14
  85. package/lib/menu/style/style.css +1 -3
  86. package/lib/menu/style/style.min.css +1 -1
  87. package/lib/mixins/size.js +2 -2
  88. package/lib/modal/index.js +12 -12
  89. package/lib/modal/src/modal.js +104 -104
  90. package/lib/modal/style/style.css +14 -49
  91. package/lib/modal/style/style.min.css +1 -1
  92. package/lib/optgroup/index.js +5 -5
  93. package/lib/option/index.js +5 -5
  94. package/lib/pager/index.js +5 -5
  95. package/lib/pager/src/pager.js +66 -66
  96. package/lib/pager/style/style.css +4 -15
  97. package/lib/pager/style/style.min.css +1 -1
  98. package/lib/pulldown/index.js +5 -5
  99. package/lib/pulldown/src/pulldown.js +16 -16
  100. package/lib/pulldown/style/style.css +5 -13
  101. package/lib/pulldown/style/style.min.css +1 -1
  102. package/lib/radio/index.js +5 -5
  103. package/lib/radio/src/button.js +14 -14
  104. package/lib/radio/src/group.js +12 -12
  105. package/lib/radio/src/radio.js +16 -16
  106. package/lib/radio/style/style.css +3 -13
  107. package/lib/radio/style/style.min.css +1 -1
  108. package/lib/radio-button/index.js +5 -5
  109. package/lib/radio-group/index.js +5 -5
  110. package/lib/select/index.js +9 -9
  111. package/lib/select/src/optgroup.js +6 -6
  112. package/lib/select/src/option.js +6 -6
  113. package/lib/select/src/select.js +56 -56
  114. package/lib/select/src/util.js +2 -2
  115. package/lib/select/style/style.css +6 -19
  116. package/lib/select/style/style.min.css +1 -1
  117. package/lib/style.css +1 -1
  118. package/lib/style.min.css +1 -1
  119. package/lib/switch/index.js +5 -5
  120. package/lib/switch/src/switch.js +17 -17
  121. package/lib/switch/style/style.css +3 -9
  122. package/lib/switch/style/style.min.css +1 -1
  123. package/lib/table/index.js +14 -14
  124. package/lib/table/src/body.js +39 -39
  125. package/lib/table/src/cell.js +77 -77
  126. package/lib/table/src/column.js +17 -17
  127. package/lib/table/src/columnInfo.js +13 -13
  128. package/lib/table/src/group.js +4 -4
  129. package/lib/table/src/methods.js +220 -219
  130. package/lib/table/src/methods.min.js +1 -1
  131. package/lib/table/src/table.js +120 -120
  132. package/lib/table/src/util.js +19 -19
  133. package/lib/table/style/style.css +25 -106
  134. package/lib/table/style/style.min.css +1 -1
  135. package/lib/textarea/index.js +5 -5
  136. package/lib/textarea/src/textarea.js +25 -25
  137. package/lib/textarea/style/style.css +0 -9
  138. package/lib/textarea/style/style.min.css +1 -1
  139. package/lib/toolbar/index.js +5 -5
  140. package/lib/toolbar/src/toolbar.js +73 -73
  141. package/lib/toolbar/style/style.css +9 -34
  142. package/lib/toolbar/style/style.min.css +1 -1
  143. package/lib/tools/dom.js +8 -8
  144. package/lib/tools/event.js +3 -3
  145. package/lib/tools/log.js +2 -2
  146. package/lib/tools/log.min.js +1 -1
  147. package/lib/tools/resize.js +4 -4
  148. package/lib/tools/utils.js +12 -12
  149. package/lib/tools/vn.js +2 -2
  150. package/lib/tooltip/index.js +6 -6
  151. package/lib/tooltip/src/tooltip.js +30 -30
  152. package/lib/tooltip/style/style.css +2 -4
  153. package/lib/tooltip/style/style.min.css +1 -1
  154. package/lib/v-x-e-table/index.js +9 -9
  155. package/lib/v-x-e-table/index.min.js +1 -1
  156. package/lib/v-x-e-table/src/commands.js +2 -2
  157. package/lib/v-x-e-table/src/conf.js +4 -4
  158. package/lib/v-x-e-table/src/formats.js +2 -2
  159. package/lib/v-x-e-table/src/interceptor.js +5 -5
  160. package/lib/v-x-e-table/src/menus.js +2 -2
  161. package/lib/v-x-e-table/src/renderer.js +47 -47
  162. package/lib/v-x-e-table/src/setup.js +2 -2
  163. package/lib/v-x-e-table/src/store.js +6 -6
  164. package/lib/v-x-e-table/style/style.css +37 -100
  165. package/lib/v-x-e-table/style/style.min.css +1 -1
  166. package/lib/validator/index.js +5 -5
  167. package/lib/validator/src/mixin.js +25 -25
  168. package/package.json +2 -6
  169. package/packages/table/src/methods.js +5 -2
  170. /package/lib/icon/style/{iconfont.1676990912741.ttf → iconfont.1677164683133.ttf} +0 -0
  171. /package/lib/icon/style/{iconfont.1676990912741.woff → iconfont.1677164683133.woff} +0 -0
  172. /package/lib/icon/style/{iconfont.1676990912741.woff2 → iconfont.1677164683133.woff2} +0 -0
  173. /package/lib/{iconfont.1676990912741.ttf → iconfont.1677164683133.ttf} +0 -0
  174. /package/lib/{iconfont.1676990912741.woff → iconfont.1677164683133.woff} +0 -0
  175. /package/lib/{iconfont.1676990912741.woff2 → iconfont.1677164683133.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,
@@ -114,43 +114,43 @@ var _default2 = {
114
114
  // 已废弃,被 column-config.resizable 替换
115
115
  resizable: {
116
116
  type: Boolean,
117
- default: function _default() {
118
- return _conf.default.table.resizable;
117
+ "default": function _default() {
118
+ return _conf["default"].table.resizable;
119
119
  }
120
120
  },
121
121
  // 是否带有斑马纹
122
122
  stripe: {
123
123
  type: Boolean,
124
- default: function _default() {
125
- return _conf.default.table.stripe;
124
+ "default": function _default() {
125
+ return _conf["default"].table.stripe;
126
126
  }
127
127
  },
128
128
  // 是否带有边框
129
129
  border: {
130
130
  type: [Boolean, String],
131
- default: function _default() {
132
- return _conf.default.table.border;
131
+ "default": function _default() {
132
+ return _conf["default"].table.border;
133
133
  }
134
134
  },
135
135
  // 是否圆角边框
136
136
  round: {
137
137
  type: Boolean,
138
- default: function _default() {
139
- return _conf.default.table.round;
138
+ "default": function _default() {
139
+ return _conf["default"].table.round;
140
140
  }
141
141
  },
142
142
  // 表格的尺寸
143
143
  size: {
144
144
  type: String,
145
- default: function _default() {
146
- return _conf.default.table.size || _conf.default.size;
145
+ "default": function _default() {
146
+ return _conf["default"].table.size || _conf["default"].size;
147
147
  }
148
148
  },
149
149
  // 列的宽度是否自撑开(可能会被废弃的参数,不要使用)
150
150
  fit: {
151
151
  type: Boolean,
152
- default: function _default() {
153
- return _conf.default.table.fit;
152
+ "default": function _default() {
153
+ return _conf["default"].table.fit;
154
154
  }
155
155
  },
156
156
  // 表格是否加载中
@@ -158,57 +158,57 @@ var _default2 = {
158
158
  // 所有的列对其方式
159
159
  align: {
160
160
  type: String,
161
- default: function _default() {
162
- return _conf.default.table.align;
161
+ "default": function _default() {
162
+ return _conf["default"].table.align;
163
163
  }
164
164
  },
165
165
  // 所有的表头列的对齐方式
166
166
  headerAlign: {
167
167
  type: String,
168
- default: function _default() {
169
- return _conf.default.table.headerAlign;
168
+ "default": function _default() {
169
+ return _conf["default"].table.headerAlign;
170
170
  }
171
171
  },
172
172
  // 所有的表尾列的对齐方式
173
173
  footerAlign: {
174
174
  type: String,
175
- default: function _default() {
176
- return _conf.default.table.footerAlign;
175
+ "default": function _default() {
176
+ return _conf["default"].table.footerAlign;
177
177
  }
178
178
  },
179
179
  // 是否显示表头
180
180
  showHeader: {
181
181
  type: Boolean,
182
- default: function _default() {
183
- return _conf.default.table.showHeader;
182
+ "default": function _default() {
183
+ return _conf["default"].table.showHeader;
184
184
  }
185
185
  },
186
186
  // 已废弃,被 row-config.isCurrent 替换
187
187
  highlightCurrentRow: {
188
188
  type: Boolean,
189
- default: function _default() {
190
- return _conf.default.table.highlightCurrentRow;
189
+ "default": function _default() {
190
+ return _conf["default"].table.highlightCurrentRow;
191
191
  }
192
192
  },
193
193
  // 已废弃,被 row-config.isHover 替换
194
194
  highlightHoverRow: {
195
195
  type: Boolean,
196
- default: function _default() {
197
- return _conf.default.table.highlightHoverRow;
196
+ "default": function _default() {
197
+ return _conf["default"].table.highlightHoverRow;
198
198
  }
199
199
  },
200
200
  // 已废弃,被 column-config.isCurrent 替换
201
201
  highlightCurrentColumn: {
202
202
  type: Boolean,
203
- default: function _default() {
204
- return _conf.default.table.highlightCurrentColumn;
203
+ "default": function _default() {
204
+ return _conf["default"].table.highlightCurrentColumn;
205
205
  }
206
206
  },
207
207
  // 已废弃,被 column-config.isHover 替换
208
208
  highlightHoverColumn: {
209
209
  type: Boolean,
210
- default: function _default() {
211
- return _conf.default.table.highlightHoverColumn;
210
+ "default": function _default() {
211
+ return _conf["default"].table.highlightHoverColumn;
212
212
  }
213
213
  },
214
214
  // 已废弃,直接删除
@@ -252,22 +252,22 @@ var _default2 = {
252
252
  // 设置所有内容过长时显示为省略号
253
253
  showOverflow: {
254
254
  type: [Boolean, String],
255
- default: function _default() {
256
- return _conf.default.table.showOverflow;
255
+ "default": function _default() {
256
+ return _conf["default"].table.showOverflow;
257
257
  }
258
258
  },
259
259
  // 设置表头所有内容过长时显示为省略号
260
260
  showHeaderOverflow: {
261
261
  type: [Boolean, String],
262
- default: function _default() {
263
- return _conf.default.table.showHeaderOverflow;
262
+ "default": function _default() {
263
+ return _conf["default"].table.showHeaderOverflow;
264
264
  }
265
265
  },
266
266
  // 设置表尾所有内容过长时显示为省略号
267
267
  showFooterOverflow: {
268
268
  type: [Boolean, String],
269
- default: function _default() {
270
- return _conf.default.table.showFooterOverflow;
269
+ "default": function _default() {
270
+ return _conf["default"].table.showFooterOverflow;
271
271
  }
272
272
  },
273
273
  /** 高级属性 */
@@ -278,28 +278,28 @@ var _default2 = {
278
278
  // (即将废弃)rowId 已废弃,被 row-config.keyField 替换
279
279
  rowId: {
280
280
  type: String,
281
- default: function _default() {
282
- return _conf.default.table.rowId;
281
+ "default": function _default() {
282
+ return _conf["default"].table.rowId;
283
283
  }
284
284
  },
285
285
  zIndex: Number,
286
286
  emptyText: {
287
287
  type: String,
288
- default: function _default() {
289
- return _conf.default.table.emptyText;
288
+ "default": function _default() {
289
+ return _conf["default"].table.emptyText;
290
290
  }
291
291
  },
292
292
  keepSource: {
293
293
  type: Boolean,
294
- default: function _default() {
295
- return _conf.default.table.keepSource;
294
+ "default": function _default() {
295
+ return _conf["default"].table.keepSource;
296
296
  }
297
297
  },
298
298
  // 是否自动监听父容器变化去更新响应式表格宽高
299
299
  autoResize: {
300
300
  type: Boolean,
301
- default: function _default() {
302
- return _conf.default.table.autoResize;
301
+ "default": function _default() {
302
+ return _conf["default"].table.autoResize;
303
303
  }
304
304
  },
305
305
  // 是否自动根据状态属性去更新响应式表格宽高
@@ -365,22 +365,22 @@ var _default2 = {
365
365
  // (即将废弃)优化相关
366
366
  animat: {
367
367
  type: Boolean,
368
- default: function _default() {
369
- return _conf.default.table.animat;
368
+ "default": function _default() {
369
+ return _conf["default"].table.animat;
370
370
  }
371
371
  },
372
372
  // (可能会被废弃的参数,不要使用)
373
373
  delayHover: {
374
374
  type: Number,
375
- default: function _default() {
376
- return _conf.default.table.delayHover;
375
+ "default": function _default() {
376
+ return _conf["default"].table.delayHover;
377
377
  }
378
378
  },
379
379
  // 额外的参数
380
380
  params: Object
381
381
  },
382
382
  components: {
383
- VxeTableBody: _body.default
383
+ VxeTableBody: _body["default"]
384
384
  },
385
385
  provide: function provide() {
386
386
  return {
@@ -390,12 +390,12 @@ var _default2 = {
390
390
  },
391
391
  inject: {
392
392
  $xegrid: {
393
- default: null
393
+ "default": null
394
394
  }
395
395
  },
396
396
  data: function data() {
397
397
  return {
398
- tId: "".concat(_xeUtils.default.uniqueId()),
398
+ tId: "".concat(_xeUtils["default"].uniqueId()),
399
399
  // 低性能的静态列
400
400
  staticColumns: [],
401
401
  // 渲染的列分组
@@ -459,8 +459,8 @@ var _default2 = {
459
459
  // 初始化标识
460
460
  initStore: {
461
461
  filter: false,
462
- import: false,
463
- export: false
462
+ "import": false,
463
+ "export": false
464
464
  },
465
465
  // 当前选中的筛选列
466
466
  filterStore: {
@@ -586,44 +586,44 @@ var _default2 = {
586
586
  validOpts: function validOpts() {
587
587
  return Object.assign({
588
588
  message: 'default'
589
- }, _conf.default.table.validConfig, this.validConfig);
589
+ }, _conf["default"].table.validConfig, this.validConfig);
590
590
  },
591
591
  sXOpts: function sXOpts() {
592
- return Object.assign({}, _conf.default.table.scrollX, this.scrollX);
592
+ return Object.assign({}, _conf["default"].table.scrollX, this.scrollX);
593
593
  },
594
594
  sYOpts: function sYOpts() {
595
- return Object.assign({}, _conf.default.table.scrollY, this.scrollY);
595
+ return Object.assign({}, _conf["default"].table.scrollY, this.scrollY);
596
596
  },
597
597
  rowHeightMaps: function rowHeightMaps() {
598
598
  return {
599
- default: 48,
599
+ "default": 48,
600
600
  medium: 44,
601
601
  small: 40,
602
602
  mini: 36
603
603
  };
604
604
  },
605
605
  columnOpts: function columnOpts() {
606
- return Object.assign({}, _conf.default.table.columnConfig, this.columnConfig);
606
+ return Object.assign({}, _conf["default"].table.columnConfig, this.columnConfig);
607
607
  },
608
608
  rowOpts: function rowOpts() {
609
- return Object.assign({}, _conf.default.table.rowConfig, this.rowConfig);
609
+ return Object.assign({}, _conf["default"].table.rowConfig, this.rowConfig);
610
610
  },
611
611
  resizableOpts: function resizableOpts() {
612
- return Object.assign({}, _conf.default.table.resizableConfig, this.resizableConfig);
612
+ return Object.assign({}, _conf["default"].table.resizableConfig, this.resizableConfig);
613
613
  },
614
614
  seqOpts: function seqOpts() {
615
615
  return Object.assign({
616
616
  startIndex: 0
617
- }, _conf.default.table.seqConfig, this.seqConfig);
617
+ }, _conf["default"].table.seqConfig, this.seqConfig);
618
618
  },
619
619
  radioOpts: function radioOpts() {
620
- return Object.assign({}, _conf.default.table.radioConfig, this.radioConfig);
620
+ return Object.assign({}, _conf["default"].table.radioConfig, this.radioConfig);
621
621
  },
622
622
  checkboxOpts: function checkboxOpts() {
623
- return Object.assign({}, _conf.default.table.checkboxConfig, this.checkboxConfig);
623
+ return Object.assign({}, _conf["default"].table.checkboxConfig, this.checkboxConfig);
624
624
  },
625
625
  tooltipOpts: function tooltipOpts() {
626
- return Object.assign({}, _conf.default.tooltip, _conf.default.table.tooltipConfig, this.tooltipConfig);
626
+ return Object.assign({}, _conf["default"].tooltip, _conf["default"].table.tooltipConfig, this.tooltipConfig);
627
627
  },
628
628
  tipConfig: function tipConfig() {
629
629
  return _objectSpread(_objectSpread({}, this.tooltipOpts), this.tooltipStore.currOpts);
@@ -634,33 +634,33 @@ var _default2 = {
634
634
  }, this.tooltipOpts);
635
635
  },
636
636
  editOpts: function editOpts() {
637
- return Object.assign({}, _conf.default.table.editConfig, this.editConfig);
637
+ return Object.assign({}, _conf["default"].table.editConfig, this.editConfig);
638
638
  },
639
639
  sortOpts: function sortOpts() {
640
640
  return Object.assign({
641
641
  orders: ['asc', 'desc', null]
642
- }, _conf.default.table.sortConfig, this.sortConfig);
642
+ }, _conf["default"].table.sortConfig, this.sortConfig);
643
643
  },
644
644
  filterOpts: function filterOpts() {
645
- return Object.assign({}, _conf.default.table.filterConfig, this.filterConfig);
645
+ return Object.assign({}, _conf["default"].table.filterConfig, this.filterConfig);
646
646
  },
647
647
  mouseOpts: function mouseOpts() {
648
- return Object.assign({}, _conf.default.table.mouseConfig, this.mouseConfig);
648
+ return Object.assign({}, _conf["default"].table.mouseConfig, this.mouseConfig);
649
649
  },
650
650
  areaOpts: function areaOpts() {
651
- return Object.assign({}, _conf.default.table.areaConfig, this.areaConfig);
651
+ return Object.assign({}, _conf["default"].table.areaConfig, this.areaConfig);
652
652
  },
653
653
  keyboardOpts: function keyboardOpts() {
654
- return Object.assign({}, _conf.default.table.keyboardConfig, this.keyboardConfig);
654
+ return Object.assign({}, _conf["default"].table.keyboardConfig, this.keyboardConfig);
655
655
  },
656
656
  clipOpts: function clipOpts() {
657
- return Object.assign({}, _conf.default.table.clipConfig, this.clipConfig);
657
+ return Object.assign({}, _conf["default"].table.clipConfig, this.clipConfig);
658
658
  },
659
659
  fnrOpts: function fnrOpts() {
660
- return Object.assign({}, _conf.default.table.fnrConfig, this.fnrConfig);
660
+ return Object.assign({}, _conf["default"].table.fnrConfig, this.fnrConfig);
661
661
  },
662
662
  hasTip: function hasTip() {
663
- return _vXETable.default._tooltip;
663
+ return _vXETable["default"]._tooltip;
664
664
  },
665
665
  headerCtxMenu: function headerCtxMenu() {
666
666
  var headerOpts = this.ctxMenuOpts.header;
@@ -678,7 +678,7 @@ var _default2 = {
678
678
  return !!((this.contextMenu || this.menuConfig) && (0, _utils.isEnableConf)(this.ctxMenuOpts) && (this.headerCtxMenu.length || this.bodyCtxMenu.length || this.footerCtxMenu.length));
679
679
  },
680
680
  ctxMenuOpts: function ctxMenuOpts() {
681
- return Object.assign({}, _conf.default.table.menuConfig, this.contextMenu, this.menuConfig);
681
+ return Object.assign({}, _conf["default"].table.menuConfig, this.contextMenu, this.menuConfig);
682
682
  },
683
683
  ctxMenuList: function ctxMenuList() {
684
684
  var rest = [];
@@ -690,31 +690,31 @@ var _default2 = {
690
690
  return rest;
691
691
  },
692
692
  exportOpts: function exportOpts() {
693
- return Object.assign({}, _conf.default.table.exportConfig, this.exportConfig);
693
+ return Object.assign({}, _conf["default"].table.exportConfig, this.exportConfig);
694
694
  },
695
695
  importOpts: function importOpts() {
696
- return Object.assign({}, _conf.default.table.importConfig, this.importConfig);
696
+ return Object.assign({}, _conf["default"].table.importConfig, this.importConfig);
697
697
  },
698
698
  printOpts: function printOpts() {
699
- return Object.assign({}, _conf.default.table.printConfig, this.printConfig);
699
+ return Object.assign({}, _conf["default"].table.printConfig, this.printConfig);
700
700
  },
701
701
  expandOpts: function expandOpts() {
702
- return Object.assign({}, _conf.default.table.expandConfig, this.expandConfig);
702
+ return Object.assign({}, _conf["default"].table.expandConfig, this.expandConfig);
703
703
  },
704
704
  treeOpts: function treeOpts() {
705
- return Object.assign({}, _conf.default.table.treeConfig, this.treeConfig);
705
+ return Object.assign({}, _conf["default"].table.treeConfig, this.treeConfig);
706
706
  },
707
707
  emptyOpts: function emptyOpts() {
708
- return Object.assign({}, _conf.default.table.emptyRender, this.emptyRender);
708
+ return Object.assign({}, _conf["default"].table.emptyRender, this.emptyRender);
709
709
  },
710
710
  loadingOpts: function loadingOpts() {
711
- return Object.assign({}, _conf.default.table.loadingConfig, this.loadingConfig);
711
+ return Object.assign({}, _conf["default"].table.loadingConfig, this.loadingConfig);
712
712
  },
713
713
  cellOffsetWidth: function cellOffsetWidth() {
714
714
  return this.border ? Math.max(2, Math.ceil(this.scrollbarWidth / this.tableColumn.length)) : 1;
715
715
  },
716
716
  customOpts: function customOpts() {
717
- return Object.assign({}, _conf.default.table.customConfig, this.customConfig);
717
+ return Object.assign({}, _conf["default"].table.customConfig, this.customConfig);
718
718
  },
719
719
  tableBorder: function tableBorder() {
720
720
  var border = this.border;
@@ -939,15 +939,15 @@ var _default2 = {
939
939
  exportOpts = this.exportOpts,
940
940
  importConfig = this.importConfig,
941
941
  importOpts = this.importOpts;
942
- if (importConfig && importOpts.types && !importOpts.importMethod && !_xeUtils.default.includeArrays(_vXETable.default.config.importTypes, importOpts.types)) {
942
+ if (importConfig && importOpts.types && !importOpts.importMethod && !_xeUtils["default"].includeArrays(_vXETable["default"].config.importTypes, importOpts.types)) {
943
943
  (0, _log.warnLog)('vxe.error.errProp', ["export-config.types=".concat(importOpts.types.join(',')), importOpts.types.filter(function (type) {
944
- return _xeUtils.default.includes(_vXETable.default.config.importTypes, type);
945
- }).join(',') || _vXETable.default.config.importTypes.join(',')]);
944
+ return _xeUtils["default"].includes(_vXETable["default"].config.importTypes, type);
945
+ }).join(',') || _vXETable["default"].config.importTypes.join(',')]);
946
946
  }
947
- if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !_xeUtils.default.includeArrays(_vXETable.default.config.exportTypes, exportOpts.types)) {
947
+ if (exportConfig && exportOpts.types && !exportOpts.exportMethod && !_xeUtils["default"].includeArrays(_vXETable["default"].config.exportTypes, exportOpts.types)) {
948
948
  (0, _log.warnLog)('vxe.error.errProp', ["export-config.types=".concat(exportOpts.types.join(',')), exportOpts.types.filter(function (type) {
949
- return _xeUtils.default.includes(_vXETable.default.config.exportTypes, type);
950
- }).join(',') || _vXETable.default.config.exportTypes.join(',')]);
949
+ return _xeUtils["default"].includes(_vXETable["default"].config.exportTypes, type);
950
+ }).join(',') || _vXETable["default"].config.exportTypes.join(',')]);
951
951
  }
952
952
  }
953
953
  if (process.env.NODE_ENV === 'development') {
@@ -989,32 +989,32 @@ var _default2 = {
989
989
  // 在 v3.0 中废弃 context-menu
990
990
  if (this.contextMenu) {
991
991
  (0, _log.warnLog)('vxe.error.delProp', ['context-menu', 'menu-config']);
992
- if (!_xeUtils.default.isObject(this.contextMenu)) {
992
+ if (!_xeUtils["default"].isObject(this.contextMenu)) {
993
993
  (0, _log.warnLog)('vxe.error.errProp', ["table.context-menu=".concat(this.contextMenu), 'table.context-menu={}']);
994
994
  }
995
995
  }
996
- if (this.menuConfig && !_xeUtils.default.isObject(this.menuConfig)) {
996
+ if (this.menuConfig && !_xeUtils["default"].isObject(this.menuConfig)) {
997
997
  (0, _log.warnLog)('vxe.error.errProp', ["table.menu-config=".concat(this.menuConfig), 'table.menu-config={}']);
998
998
  }
999
- if (this.exportConfig && !_xeUtils.default.isObject(this.exportConfig)) {
999
+ if (this.exportConfig && !_xeUtils["default"].isObject(this.exportConfig)) {
1000
1000
  (0, _log.warnLog)('vxe.error.errProp', ["table.export-config=".concat(this.exportConfig), 'table.export-config={}']);
1001
1001
  }
1002
- if (this.importConfig && !_xeUtils.default.isObject(this.importConfig)) {
1002
+ if (this.importConfig && !_xeUtils["default"].isObject(this.importConfig)) {
1003
1003
  (0, _log.warnLog)('vxe.error.errProp', ["table.import-config=".concat(this.importConfig), 'table.import-config={}']);
1004
1004
  }
1005
- if (this.printConfig && !_xeUtils.default.isObject(this.printConfig)) {
1005
+ if (this.printConfig && !_xeUtils["default"].isObject(this.printConfig)) {
1006
1006
  (0, _log.warnLog)('vxe.error.errProp', ["table.print-config=".concat(this.printConfig), 'table.print-config={}']);
1007
1007
  }
1008
- if (this.treeConfig && !_xeUtils.default.isObject(this.treeConfig)) {
1008
+ if (this.treeConfig && !_xeUtils["default"].isObject(this.treeConfig)) {
1009
1009
  (0, _log.warnLog)('vxe.error.errProp', ["table.tree-config=".concat(this.treeConfig), 'table.tree-config={}']);
1010
1010
  }
1011
- if (this.customConfig && !_xeUtils.default.isObject(this.customConfig)) {
1011
+ if (this.customConfig && !_xeUtils["default"].isObject(this.customConfig)) {
1012
1012
  (0, _log.warnLog)('vxe.error.errProp', ["table.custom-config=".concat(this.customConfig), 'table.custom-config={}']);
1013
1013
  }
1014
- if (this.editConfig && !_xeUtils.default.isObject(this.editConfig)) {
1014
+ if (this.editConfig && !_xeUtils["default"].isObject(this.editConfig)) {
1015
1015
  (0, _log.warnLog)('vxe.error.errProp', ["table.edit-config=".concat(this.editConfig), 'table.edit-config={}']);
1016
1016
  }
1017
- if (this.emptyRender && !_xeUtils.default.isObject(this.emptyRender)) {
1017
+ if (this.emptyRender && !_xeUtils["default"].isObject(this.emptyRender)) {
1018
1018
  (0, _log.warnLog)('vxe.error.errProp', ["table.empty-render=".concat(this.emptyRender), 'table.empty-render={}']);
1019
1019
  }
1020
1020
  // if (this.editConfig && this.editConfig.activeMethod) {
@@ -1162,7 +1162,7 @@ var _default2 = {
1162
1162
  var leftList = columnStore.leftList,
1163
1163
  rightList = columnStore.rightList;
1164
1164
  return h('div', {
1165
- class: ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), {
1165
+ "class": ['vxe-table', 'vxe-table--render-default', "tid_".concat(tId), vSize ? "size--".concat(vSize) : '', "border--".concat(tableBorder), {
1166
1166
  'vxe-editable': !!editConfig,
1167
1167
  'cell--highlight': highlightCell,
1168
1168
  'cell--selected': mouseConfig && mouseOpts.selected,
@@ -1193,17 +1193,17 @@ var _default2 = {
1193
1193
  * 隐藏列
1194
1194
  */
1195
1195
  h('div', {
1196
- class: 'vxe-table-slots',
1196
+ "class": 'vxe-table-slots',
1197
1197
  ref: 'hideColumn'
1198
- }, this.$slots.default), h('div', {
1199
- class: 'vxe-table--render-wrapper'
1198
+ }, this.$slots["default"]), h('div', {
1199
+ "class": 'vxe-table--render-wrapper'
1200
1200
  }, [h('div', {
1201
- class: 'vxe-table--main-wrapper'
1201
+ "class": 'vxe-table--main-wrapper'
1202
1202
  }, [
1203
1203
  /**
1204
1204
  * 表头
1205
1205
  */
1206
- showHeader ? h(_header.default, {
1206
+ showHeader ? h(_header["default"], {
1207
1207
  ref: 'tableHeader',
1208
1208
  props: {
1209
1209
  tableData: tableData,
@@ -1234,7 +1234,7 @@ var _default2 = {
1234
1234
  size: vSize
1235
1235
  }
1236
1236
  }) : _e()]), h('div', {
1237
- class: 'vxe-table--fixed-wrapper'
1237
+ "class": 'vxe-table--fixed-wrapper'
1238
1238
  }, [
1239
1239
  /**
1240
1240
  * 左侧固定区域
@@ -1249,21 +1249,21 @@ var _default2 = {
1249
1249
  */
1250
1250
  h('div', {
1251
1251
  ref: 'emptyPlaceholder',
1252
- class: 'vxe-table--empty-placeholder'
1252
+ "class": 'vxe-table--empty-placeholder'
1253
1253
  }, [h('div', {
1254
- class: 'vxe-table--empty-content'
1254
+ "class": 'vxe-table--empty-content'
1255
1255
  }, renderEmptyContenet(h, this))]),
1256
1256
  /**
1257
1257
  * 边框线
1258
1258
  */
1259
1259
  h('div', {
1260
- class: 'vxe-table--border-line'
1260
+ "class": 'vxe-table--border-line'
1261
1261
  }),
1262
1262
  /**
1263
1263
  * 列宽线
1264
1264
  */
1265
1265
  h('div', {
1266
- class: 'vxe-table--resizable-bar',
1266
+ "class": 'vxe-table--resizable-bar',
1267
1267
  style: overflowX ? {
1268
1268
  'padding-bottom': "".concat(scrollbarHeight, "px")
1269
1269
  } : null,
@@ -1272,8 +1272,8 @@ var _default2 = {
1272
1272
  /**
1273
1273
  * 加载中
1274
1274
  */
1275
- h(_index.default, {
1276
- class: 'vxe-table--loading',
1275
+ h(_index["default"], {
1276
+ "class": 'vxe-table--loading',
1277
1277
  props: {
1278
1278
  value: loading,
1279
1279
  icon: loadingOpts.icon,
@@ -1292,7 +1292,7 @@ var _default2 = {
1292
1292
  /**
1293
1293
  * 导入
1294
1294
  */
1295
- initStore.import && this.importConfig ? h('vxe-import-panel', {
1295
+ initStore["import"] && this.importConfig ? h('vxe-import-panel', {
1296
1296
  props: {
1297
1297
  defaultOptions: this.importParams,
1298
1298
  storeData: this.importStore
@@ -1301,7 +1301,7 @@ var _default2 = {
1301
1301
  /**
1302
1302
  * 导出/打印
1303
1303
  */
1304
- initStore.export && (this.exportConfig || this.printConfig) ? h('vxe-export-panel', {
1304
+ initStore["export"] && (this.exportConfig || this.printConfig) ? h('vxe-export-panel', {
1305
1305
  props: {
1306
1306
  defaultOptions: this.exportParams,
1307
1307
  storeData: this.exportStore
@@ -1339,10 +1339,10 @@ var _default2 = {
1339
1339
  */
1340
1340
  hasTip && this.editRules && validOpts.showMessage && (validOpts.message === 'default' ? !height : validOpts.message === 'tooltip') ? h('vxe-tooltip', {
1341
1341
  ref: 'validTip',
1342
- class: 'vxe-table--valid-error',
1342
+ "class": 'vxe-table--valid-error',
1343
1343
  props: validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : null
1344
1344
  }) : _e()]);
1345
1345
  },
1346
- methods: _methods.default
1346
+ methods: _methods["default"]
1347
1347
  };
1348
- exports.default = _default2;
1348
+ exports["default"] = _default2;