vxe-table 4.0.30 → 4.1.1

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 (127) hide show
  1. package/README.md +1 -0
  2. package/README.zh-TW.md +1 -0
  3. package/es/button/style.css +2 -2
  4. package/es/checkbox/style.css +1 -1
  5. package/es/edit/src/hook.js +2 -2
  6. package/es/export/src/hook.js +24 -0
  7. package/es/export/src/util.js +20 -8
  8. package/es/export/style.css +1 -1
  9. package/es/filter/src/hook.js +2 -2
  10. package/es/filter/style.css +2 -2
  11. package/es/footer/src/footer.js +4 -4
  12. package/es/form/src/form.js +13 -6
  13. package/es/form/src/render.js +4 -4
  14. package/es/grid/src/grid.js +48 -1
  15. package/es/header/src/header.js +7 -5
  16. package/es/header/style.css +3 -10
  17. package/es/input/style.css +4 -4
  18. package/es/menu/style.css +1 -1
  19. package/es/modal/style.css +1 -1
  20. package/es/pager/style.css +2 -2
  21. package/es/radio/style.css +1 -1
  22. package/es/select/src/select.js +5 -5
  23. package/es/select/style.css +1 -1
  24. package/es/style.css +1 -1
  25. package/es/style.min.css +1 -1
  26. package/es/table/src/body.js +18 -14
  27. package/es/table/src/emits.js +1 -0
  28. package/es/table/src/props.js +4 -1
  29. package/es/table/src/table.js +219 -89
  30. package/es/table/style.css +15 -12
  31. package/es/toolbar/style.css +1 -1
  32. package/es/v-x-e-table/src/conf.js +2 -1
  33. package/es/v-x-e-table/src/renderer.js +4 -4
  34. package/es/validator/src/hook.js +12 -5
  35. package/helper/vetur/attributes.json +16 -204
  36. package/helper/vetur/tags.json +3 -65
  37. package/lib/button/style/style.css +2 -2
  38. package/lib/button/style/style.min.css +1 -1
  39. package/lib/checkbox/style/style.css +1 -1
  40. package/lib/checkbox/style/style.min.css +1 -1
  41. package/lib/edit/src/hook.js +2 -2
  42. package/lib/edit/src/hook.min.js +1 -1
  43. package/lib/export/src/hook.js +28 -0
  44. package/lib/export/src/hook.min.js +1 -1
  45. package/lib/export/src/util.js +21 -7
  46. package/lib/export/src/util.min.js +1 -1
  47. package/lib/export/style/style.css +1 -1
  48. package/lib/export/style/style.min.css +1 -1
  49. package/lib/filter/src/hook.js +8 -2
  50. package/lib/filter/src/hook.min.js +1 -1
  51. package/lib/filter/style/style.css +2 -2
  52. package/lib/filter/style/style.min.css +1 -1
  53. package/lib/footer/src/footer.js +4 -4
  54. package/lib/footer/src/footer.min.js +1 -1
  55. package/lib/form/src/form.js +23 -6
  56. package/lib/form/src/form.min.js +1 -1
  57. package/lib/form/src/render.js +4 -4
  58. package/lib/form/src/render.min.js +1 -1
  59. package/lib/grid/src/grid.js +56 -1
  60. package/lib/grid/src/grid.min.js +1 -1
  61. package/lib/header/src/header.js +7 -5
  62. package/lib/header/src/header.min.js +1 -1
  63. package/lib/header/style/style.css +3 -10
  64. package/lib/header/style/style.min.css +1 -1
  65. package/lib/index.umd.js +561 -186
  66. package/lib/index.umd.min.js +1 -1
  67. package/lib/input/style/style.css +4 -4
  68. package/lib/input/style/style.min.css +1 -1
  69. package/lib/menu/style/style.css +1 -1
  70. package/lib/menu/style/style.min.css +1 -1
  71. package/lib/modal/style/style.css +1 -1
  72. package/lib/modal/style/style.min.css +1 -1
  73. package/lib/pager/style/style.css +2 -2
  74. package/lib/pager/style/style.min.css +1 -1
  75. package/lib/radio/style/style.css +1 -1
  76. package/lib/radio/style/style.min.css +1 -1
  77. package/lib/select/src/select.js +5 -5
  78. package/lib/select/style/style.css +1 -1
  79. package/lib/select/style/style.min.css +1 -1
  80. package/lib/style.css +1 -1
  81. package/lib/style.min.css +1 -1
  82. package/lib/table/src/body.js +18 -14
  83. package/lib/table/src/body.min.js +1 -1
  84. package/lib/table/src/emits.js +1 -1
  85. package/lib/table/src/emits.min.js +1 -1
  86. package/lib/table/src/props.js +4 -1
  87. package/lib/table/src/props.min.js +1 -1
  88. package/lib/table/src/table.js +288 -120
  89. package/lib/table/src/table.min.js +1 -1
  90. package/lib/table/style/style.css +15 -12
  91. package/lib/table/style/style.min.css +1 -1
  92. package/lib/toolbar/style/style.css +1 -1
  93. package/lib/toolbar/style/style.min.css +1 -1
  94. package/lib/v-x-e-table/src/conf.js +2 -1
  95. package/lib/v-x-e-table/src/conf.min.js +1 -1
  96. package/lib/v-x-e-table/src/renderer.js +4 -4
  97. package/lib/v-x-e-table/src/renderer.min.js +1 -1
  98. package/lib/validator/src/hook.js +12 -5
  99. package/lib/validator/src/hook.min.js +1 -1
  100. package/package.json +4 -4
  101. package/packages/edit/src/hook.ts +2 -2
  102. package/packages/export/src/hook.ts +24 -0
  103. package/packages/export/src/util.ts +17 -5
  104. package/packages/filter/src/hook.ts +2 -2
  105. package/packages/footer/src/footer.ts +4 -4
  106. package/packages/form/src/form.ts +10 -6
  107. package/packages/form/src/render.ts +4 -4
  108. package/packages/grid/src/grid.ts +48 -1
  109. package/packages/header/src/header.ts +7 -5
  110. package/packages/select/src/select.ts +5 -5
  111. package/packages/table/src/body.ts +18 -14
  112. package/packages/table/src/emits.ts +1 -0
  113. package/packages/table/src/props.ts +4 -1
  114. package/packages/table/src/table.ts +222 -88
  115. package/packages/v-x-e-table/src/conf.ts +2 -1
  116. package/packages/v-x-e-table/src/renderer.ts +4 -4
  117. package/packages/validator/src/hook.ts +9 -5
  118. package/styles/header.scss +9 -12
  119. package/styles/table.scss +9 -3
  120. package/styles/variable.scss +2 -2
  121. package/types/column.d.ts +5 -1
  122. package/types/form-item.d.ts +5 -1
  123. package/types/form.d.ts +5 -1
  124. package/types/grid.d.ts +4 -0
  125. package/types/modal.d.ts +4 -5
  126. package/types/table.d.ts +53 -11
  127. package/types/validator.d.ts +5 -1
@@ -17,7 +17,6 @@ var GlobalConfig = {
17
17
  // resizeInterval: 500,
18
18
  // size: null,
19
19
  // zIndex: null,
20
- // resizable: false,
21
20
  // autoResize: false,
22
21
  // stripe: false,
23
22
  // border: false,
@@ -63,6 +62,8 @@ var GlobalConfig = {
63
62
  showIcon: true
64
63
  },
65
64
  treeConfig: {
65
+ rowtKey: 'id',
66
+ parentKey: 'parentId',
66
67
  children: 'children',
67
68
  hasChild: 'hasChild',
68
69
  indent: 20,
@@ -497,7 +497,7 @@ var renderMap = {
497
497
  renderEdit: nativeEditRender,
498
498
  renderDefault: nativeEditRender,
499
499
  renderFilter: nativeFilterRender,
500
- filterMethod: handleFilterMethod,
500
+ defaultFilterMethod: handleFilterMethod,
501
501
  renderItemContent: nativeItemRender
502
502
  },
503
503
  textarea: {
@@ -517,7 +517,7 @@ var renderMap = {
517
517
  return h('select', __assign(__assign({ key: oIndex, class: 'vxe-default-select' }, getNativeAttrs(renderOpts)), getNativeFilterOns(renderOpts, params, option)), renderOpts.optionGroups ? renderNativeOptgroups(renderOpts, params, renderNativeOptions) : renderNativeOptions(renderOpts.options, renderOpts, params));
518
518
  });
519
519
  },
520
- filterMethod: handleFilterMethod,
520
+ defaultFilterMethod: handleFilterMethod,
521
521
  renderItemContent: function (renderOpts, params) {
522
522
  return [
523
523
  h('select', __assign(__assign({ class: 'vxe-default-select' }, getNativeAttrs(renderOpts)), getNativeItemOns(renderOpts, params)), renderOpts.optionGroups ? renderNativeOptgroups(renderOpts, params, renderNativeFormOptions) : renderNativeFormOptions(renderOpts.options, renderOpts, params))
@@ -550,7 +550,7 @@ var renderMap = {
550
550
  },
551
551
  renderDefault: defaultEditRender,
552
552
  renderFilter: defaultFilterRender,
553
- filterMethod: handleFilterMethod,
553
+ defaultFilterMethod: handleFilterMethod,
554
554
  renderItemContent: defaultItemRender
555
555
  },
556
556
  $textarea: {
@@ -580,7 +580,7 @@ var renderMap = {
580
580
  return h(getDefaultComponent(renderOpts), __assign(__assign({ key: oIndex }, getCellEditFilterProps(renderOpts, params, optionValue, { options: options, optionProps: optionProps, optionGroups: optionGroups, optionGroupProps: optionGroupProps })), getFilterOns(renderOpts, params, option)));
581
581
  });
582
582
  },
583
- filterMethod: handleFilterMethod,
583
+ defaultFilterMethod: handleFilterMethod,
584
584
  renderItemContent: function (renderOpts, params) {
585
585
  var data = params.data, property = params.property;
586
586
  var options = renderOpts.options, optionProps = renderOpts.optionProps, optionGroups = renderOpts.optionGroups, optionGroupProps = renderOpts.optionGroupProps;
@@ -30,13 +30,20 @@ var Rule = /** @class */ (function () {
30
30
  maxWidth: rule.maxWidth
31
31
  });
32
32
  }
33
- Object.defineProperty(Rule.prototype, "message", {
33
+ Object.defineProperty(Rule.prototype, "content", {
34
34
  /**
35
35
  * 获取校验不通过的消息
36
36
  * 支持国际化翻译
37
37
  */
38
38
  get: function () {
39
- return getFuncText(this.$options.message);
39
+ return getFuncText(this.$options.content || this.$options.message);
40
+ },
41
+ enumerable: false,
42
+ configurable: true
43
+ });
44
+ Object.defineProperty(Rule.prototype, "message", {
45
+ get: function () {
46
+ return this.content;
40
47
  },
41
48
  enumerable: false,
42
49
  configurable: true
@@ -297,13 +304,13 @@ var validatorHook = {
297
304
  if (customValid) {
298
305
  if (XEUtils.isError(customValid)) {
299
306
  validRuleErr = true;
300
- errorRules.push(new Rule({ type: 'custom', trigger: trigger, message: customValid.message, rule: new Rule(rule) }));
307
+ errorRules.push(new Rule({ type: 'custom', trigger: trigger, content: customValid.message, rule: new Rule(rule) }));
301
308
  }
302
309
  else if (customValid.catch) {
303
310
  // 如果为异步校验(注:异步校验是并发无序的)
304
311
  syncVailds.push(customValid.catch(function (e) {
305
312
  validRuleErr = true;
306
- errorRules.push(new Rule({ type: 'custom', trigger: trigger, message: e && e.message ? e.message : rule.message, rule: new Rule(rule) }));
313
+ errorRules.push(new Rule({ type: 'custom', trigger: trigger, content: e && e.message ? e.message : (rule.content || rule.message), rule: new Rule(rule) }));
307
314
  }));
308
315
  }
309
316
  }
@@ -376,7 +383,7 @@ var validatorHook = {
376
383
  var validOpts = computeValidOpts.value;
377
384
  var rule = params.rule, row = params.row, column = params.column, cell = params.cell;
378
385
  var validTip = refValidTooltip.value;
379
- var content = rule.message;
386
+ var content = rule.content;
380
387
  return nextTick().then(function () {
381
388
  Object.assign(validStore, {
382
389
  row: row,
@@ -181,7 +181,11 @@
181
181
  },
182
182
  "vxe-table/column-config": {
183
183
  "type": "any",
184
- "description": "列的默认参数"
184
+ "description": "列配置信息"
185
+ },
186
+ "vxe-table/row-config": {
187
+ "type": "any",
188
+ "description": "行配置信息"
185
189
  },
186
190
  "vxe-table/resizable-config": {
187
191
  "type": "object",
@@ -229,7 +233,7 @@
229
233
  },
230
234
  "vxe-table/tree-config": {
231
235
  "type": "any",
232
- "description": "树形结构配置项(不支持虚拟滚动)"
236
+ "description": "树形结构配置项"
233
237
  },
234
238
  "vxe-table/menu-config": {
235
239
  "type": "any",
@@ -281,11 +285,11 @@
281
285
  },
282
286
  "vxe-table/scroll-x": {
283
287
  "type": "any",
284
- "description": "横向虚拟滚动配置(不支持深层结构和展开行)"
288
+ "description": "横向虚拟滚动配置(不支持展开行)"
285
289
  },
286
290
  "vxe-table/scroll-y": {
287
291
  "type": "any",
288
- "description": "纵向虚拟滚动配置(不支持深层结构和展开行)"
292
+ "description": "纵向虚拟滚动配置(不支持展开行)"
289
293
  },
290
294
  "vxe-table/params": {
291
295
  "type": "any",
@@ -339,54 +343,6 @@
339
343
  "type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
340
344
  "description": "给表头的单元格附加 className"
341
345
  },
342
- "vxe-table-colgroup/field": {
343
- "type": "string",
344
- "description": "列字段名(注:属性层级越深,渲染性能就越差,例如:aa.bb.cc.dd.ee)"
345
- },
346
- "vxe-table-colgroup/title": {
347
- "type": "string",
348
- "description": "列标题(支持开启国际化)"
349
- },
350
- "vxe-table-colgroup/width": {
351
- "type": "number | string",
352
- "description": "列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 \"%\" 或者 \"min-width\" 布局)"
353
- },
354
- "vxe-table-colgroup/min-width": {
355
- "type": "number | string",
356
- "description": "最小列宽度;会自动将剩余空间按比例分配"
357
- },
358
- "vxe-table-colgroup/resizable": {
359
- "type": "boolean",
360
- "description": "列是否允许拖动列宽调整大小"
361
- },
362
- "vxe-table-colgroup/visible": {
363
- "type": "boolean",
364
- "description": "默认是否显示"
365
- },
366
- "vxe-table-colgroup/fixed": {
367
- "type": "string",
368
- "description": "将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)"
369
- },
370
- "vxe-table-colgroup/align": {
371
- "type": "string",
372
- "description": "列对齐方式"
373
- },
374
- "vxe-table-colgroup/header-align": {
375
- "type": "string",
376
- "description": "表头列的对齐方式"
377
- },
378
- "vxe-table-colgroup/show-overflow": {
379
- "type": "string | boolean",
380
- "description": "当内容过长时显示为省略号"
381
- },
382
- "vxe-table-colgroup/show-header-overflow": {
383
- "type": "string | boolean",
384
- "description": "当表头内容过长时显示为省略号"
385
- },
386
- "vxe-table-colgroup/header-class-name": {
387
- "type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
388
- "description": "给表头的单元格附加 className"
389
- },
390
346
  "vxe-column/type": {
391
347
  "type": "string",
392
348
  "description": "列的类型"
@@ -535,154 +491,6 @@
535
491
  "type": "string | number",
536
492
  "description": "自定义列的唯一主键(注:99%的场景不应该设置,操作不正确将导致出现问题)"
537
493
  },
538
- "vxe-table-column/type": {
539
- "type": "string",
540
- "description": "列的类型"
541
- },
542
- "vxe-table-column/field": {
543
- "type": "string",
544
- "description": "列字段名(注:属性层级越深,渲染性能就越差,例如:aa.bb.cc.dd.ee)"
545
- },
546
- "vxe-table-column/title": {
547
- "type": "string",
548
- "description": "列标题(支持开启国际化)"
549
- },
550
- "vxe-table-column/width": {
551
- "type": "number | string",
552
- "description": "列宽度(如果为空则均匀分配剩余宽度,如果全部列固定了,可能会存在宽屏下不会铺满,可以配合 \"%\" 或者 \"min-width\" 布局)"
553
- },
554
- "vxe-table-column/min-width": {
555
- "type": "number | string",
556
- "description": "最小列宽度;会自动将剩余空间按比例分配"
557
- },
558
- "vxe-table-column/resizable": {
559
- "type": "boolean",
560
- "description": "列是否允许拖动列宽调整大小"
561
- },
562
- "vxe-table-column/visible": {
563
- "type": "boolean",
564
- "description": "默认是否显示"
565
- },
566
- "vxe-table-column/fixed": {
567
- "type": "string",
568
- "description": "将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)"
569
- },
570
- "vxe-table-column/align": {
571
- "type": "string",
572
- "description": "列对齐方式"
573
- },
574
- "vxe-table-column/header-align": {
575
- "type": "string",
576
- "description": "表头列的对齐方式"
577
- },
578
- "vxe-table-column/footer-align": {
579
- "type": "string",
580
- "description": "表尾列的对齐方式"
581
- },
582
- "vxe-table-column/show-overflow": {
583
- "type": "string | boolean",
584
- "description": "当内容过长时显示为省略号"
585
- },
586
- "vxe-table-column/show-header-overflow": {
587
- "type": "string | boolean",
588
- "description": "当表头内容过长时显示为省略号"
589
- },
590
- "vxe-table-column/show-footer-overflow": {
591
- "type": "boolean | string",
592
- "description": "当表尾内容过长时显示为省略号"
593
- },
594
- "vxe-table-column/class-name": {
595
- "type": "string | (({row, rowindex, $rowindex, column, columnindex, $columnindex}) => any)",
596
- "description": "给单元格附加 className"
597
- },
598
- "vxe-table-column/header-class-name": {
599
- "type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
600
- "description": "给表头的单元格附加 className"
601
- },
602
- "vxe-table-column/footer-class-name": {
603
- "type": "string | (({ $rowindex, column, columnindex, $columnindex }) => any)",
604
- "description": "给表尾的单元格附加 className"
605
- },
606
- "vxe-table-column/formatter": {
607
- "type": "(({ cellvalue, row, column }) => string) | any[] | string",
608
- "description": "格式化显示内容"
609
- },
610
- "vxe-table-column/sortable": {
611
- "type": "boolean",
612
- "description": "是否允许列排序"
613
- },
614
- "vxe-table-column/sort-by": {
615
- "type": "string | (({ row, column }) => string | number)",
616
- "description": "只对 sortable 有效,指定排序的字段(当值 formatter 格式化后,可以设置该字段,使用值进行排序)"
617
- },
618
- "vxe-table-column/sort-type": {
619
- "type": "string",
620
- "description": "排序的字段类型,比如字符串转数值等"
621
- },
622
- "vxe-table-column/filters": {
623
- "type": "any[]",
624
- "description": "配置筛选条件(注:筛选只能用于列表,如果是树结构则过滤根节点)"
625
- },
626
- "vxe-table-column/filter-multiple": {
627
- "type": "boolean",
628
- "description": "只对 filters 有效,筛选是否允许多选"
629
- },
630
- "vxe-table-column/filter-method": {
631
- "type": "({ value, option, cellvalue, row, column }) => boolean",
632
- "description": "只对 filters 有效,列的筛选方法,该方法的返回值用来决定该行是否显示"
633
- },
634
- "vxe-table-column/filter-reset-method": {
635
- "type": "({ options, column }) => void",
636
- "description": "只对 filters 有效,自定义筛选重置方法"
637
- },
638
- "vxe-table-column/filter-recover-method": {
639
- "type": "({ option, column }) => void",
640
- "description": "只对 filters 有效,自定义筛选复原方法(使用自定义筛选时可能会用到)"
641
- },
642
- "vxe-table-column/filter-render": {
643
- "type": "any",
644
- "description": "筛选渲染器配置项"
645
- },
646
- "vxe-table-column/export-method": {
647
- "type": "({ row, column }) => string",
648
- "description": "自定义单元格数据导出方法,返回自定义的值"
649
- },
650
- "vxe-table-column/footer-export-method": {
651
- "type": "({ items, _columnindex }) => string",
652
- "description": "自定义表尾单元格数据导出方法,返回自定义的值"
653
- },
654
- "vxe-table-column/title-help": {
655
- "type": "any",
656
- "description": "标题帮助图标配置项"
657
- },
658
- "vxe-table-column/cell-type": {
659
- "type": "string",
660
- "description": "只对特定功能有效,单元格值类型(例如:导出数据类型设置)"
661
- },
662
- "vxe-table-column/cell-render": {
663
- "type": "any",
664
- "description": "默认的渲染器配置项"
665
- },
666
- "vxe-table-column/edit-render": {
667
- "type": "any",
668
- "description": "可编辑渲染器配置项"
669
- },
670
- "vxe-table-column/content-render": {
671
- "type": "any",
672
- "description": "内容渲染配置项"
673
- },
674
- "vxe-table-column/tree-node": {
675
- "type": "boolean",
676
- "description": "只对 tree-config 配置时有效,指定为树节点"
677
- },
678
- "vxe-table-column/params": {
679
- "type": "any",
680
- "description": "额外的参数(可以用来存放一些私有参数)"
681
- },
682
- "vxe-table-column/col-id": {
683
- "type": "string | number",
684
- "description": "自定义列的唯一主键(注:99%的场景不应该设置,操作不正确将导致出现问题)"
685
- },
686
494
  "vxe-grid/id": {
687
495
  "type": "string",
688
496
  "description": "唯一标识(被某些特定的功能所依赖)"
@@ -869,7 +677,11 @@
869
677
  },
870
678
  "vxe-grid/column-config": {
871
679
  "type": "any",
872
- "description": "列的默认参数"
680
+ "description": "列配置信息"
681
+ },
682
+ "vxe-grid/row-config": {
683
+ "type": "any",
684
+ "description": "行配置信息"
873
685
  },
874
686
  "vxe-grid/resizable-config": {
875
687
  "type": "object",
@@ -917,7 +729,7 @@
917
729
  },
918
730
  "vxe-grid/tree-config": {
919
731
  "type": "any",
920
- "description": "树形结构配置项(不支持虚拟滚动)"
732
+ "description": "树形结构配置项"
921
733
  },
922
734
  "vxe-grid/menu-config": {
923
735
  "type": "any",
@@ -969,11 +781,11 @@
969
781
  },
970
782
  "vxe-grid/scroll-x": {
971
783
  "type": "any",
972
- "description": "横向虚拟滚动配置(不支持深层结构和展开行)"
784
+ "description": "横向虚拟滚动配置(不支持展开行)"
973
785
  },
974
786
  "vxe-grid/scroll-y": {
975
787
  "type": "any",
976
- "description": "纵向虚拟滚动配置(不支持深层结构和展开行)"
788
+ "description": "纵向虚拟滚动配置(不支持展开行)"
977
789
  },
978
790
  "vxe-grid/params": {
979
791
  "type": "any",
@@ -47,6 +47,7 @@
47
47
  "row-id",
48
48
  "keep-source",
49
49
  "column-config",
50
+ "row-config",
50
51
  "resizable-config",
51
52
  "seq-config",
52
53
  "sort-config",
@@ -77,9 +78,7 @@
77
78
  ],
78
79
  "subtags": [
79
80
  "vxe-colgroup",
80
- "vxe-table-colgroup",
81
- "vxe-column",
82
- "vxe-table-column"
81
+ "vxe-column"
83
82
  ],
84
83
  "description": "基础表格"
85
84
  },
@@ -103,26 +102,6 @@
103
102
  ],
104
103
  "description": "基础表格 - 分组列"
105
104
  },
106
- "vxe-table-colgroup": {
107
- "attributes": [
108
- "field",
109
- "title",
110
- "width",
111
- "min-width",
112
- "resizable",
113
- "visible",
114
- "fixed",
115
- "align",
116
- "header-align",
117
- "show-overflow",
118
- "show-header-overflow",
119
- "header-class-name"
120
- ],
121
- "subtags": [
122
- "vxe-table-column"
123
- ],
124
- "description": "基础表格 - 分组列"
125
- },
126
105
  "vxe-column": {
127
106
  "attributes": [
128
107
  "type",
@@ -165,48 +144,6 @@
165
144
  ],
166
145
  "description": "基础表格 - 列"
167
146
  },
168
- "vxe-table-column": {
169
- "attributes": [
170
- "type",
171
- "field",
172
- "title",
173
- "width",
174
- "min-width",
175
- "resizable",
176
- "visible",
177
- "fixed",
178
- "align",
179
- "header-align",
180
- "footer-align",
181
- "show-overflow",
182
- "show-header-overflow",
183
- "show-footer-overflow",
184
- "class-name",
185
- "header-class-name",
186
- "footer-class-name",
187
- "formatter",
188
- "sortable",
189
- "sort-by",
190
- "sort-type",
191
- "filters",
192
- "filter-multiple",
193
- "filter-method",
194
- "filter-reset-method",
195
- "filter-recover-method",
196
- "filter-render",
197
- "export-method",
198
- "footer-export-method",
199
- "title-help",
200
- "cell-type",
201
- "cell-render",
202
- "edit-render",
203
- "content-render",
204
- "tree-node",
205
- "params",
206
- "col-id"
207
- ],
208
- "description": "基础表格 - 列"
209
- },
210
147
  "vxe-grid": {
211
148
  "attributes": [
212
149
  "id",
@@ -256,6 +193,7 @@
256
193
  "row-id",
257
194
  "keep-source",
258
195
  "column-config",
196
+ "row-config",
259
197
  "resizable-config",
260
198
  "seq-config",
261
199
  "sort-config",
@@ -61,9 +61,9 @@
61
61
  background-color: rgba(255, 255, 255, 0.35);
62
62
  pointer-events: none; }
63
63
  .vxe-button.is--disabled {
64
- color: #9e7d7d; }
64
+ color: #BFBFBF; }
65
65
  .vxe-button.is--disabled .vxe-button--icon.vxe-icon--zoomin {
66
- border-color: #9e7d7d; }
66
+ border-color: #BFBFBF; }
67
67
  .vxe-button.is--disabled:not(.is--loading) {
68
68
  cursor: no-drop; }
69
69
  .vxe-button.type--text {
@@ -1 +1 @@
1
- .vxe-button{position:relative;text-align:center;background-color:#fff;outline:0;font-size:14px;max-width:500px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:border .2s ease-in-out}.vxe-button:not(.is--disabled){color:#606266;cursor:pointer}.vxe-button:not(.is--disabled) .vxe-button--icon.vxe-icon--zoomin{border-color:#606266}.vxe-button.is--loading{cursor:progress}.vxe-button.is--loading:before{content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:rgba(255,255,255,.35);pointer-events:none}.vxe-button.is--disabled{color:#9e7d7d}.vxe-button.is--disabled .vxe-button--icon.vxe-icon--zoomin{border-color:#9e7d7d}.vxe-button.is--disabled:not(.is--loading){cursor:no-drop}.vxe-button.type--text{text-decoration:none;border:0;padding:.1em .5em;background-color:transparent}.vxe-button.type--text:not(.is--disabled):focus{box-shadow:0 0 .25em 0 #409eff}.vxe-button.type--text:not(.is--disabled):hover{color:#73b8ff}.vxe-button.type--text.theme--primary{color:#409eff}.vxe-button.type--text.theme--primary:not(.is--disabled):hover{color:#73b8ff}.vxe-button.type--text.theme--primary.is--disabled{color:#a6d2ff}.vxe-button.type--text.theme--success{color:#67c23a}.vxe-button.type--text.theme--success:not(.is--disabled):hover{color:#85cf60}.vxe-button.type--text.theme--success.is--disabled{color:#a3db87}.vxe-button.type--text.theme--info{color:#909399}.vxe-button.type--text.theme--info:not(.is--disabled):hover{color:#abadb1}.vxe-button.type--text.theme--info.is--disabled{color:#c5c7ca}.vxe-button.type--text.theme--warning{color:#e6a23c}.vxe-button.type--text.theme--warning:not(.is--disabled):hover{color:#ecb869}.vxe-button.type--text.theme--warning.is--disabled{color:#f2cd96}.vxe-button.type--text.theme--danger{color:#f56c6c}.vxe-button.type--text.theme--danger:not(.is--disabled):hover{color:#f89c9c}.vxe-button.type--text.theme--danger.is--disabled{color:#fbcccc}.vxe-button.type--text.theme--perfect{color:#f8f8f9}.vxe-button.type--text.theme--perfect:not(.is--disabled):hover{color:#fff}.vxe-button.type--text.theme--perfect.is--disabled{color:#fff}.vxe-button.type--button{font-family:inherit;height:34px;line-height:1;border:1px solid #dcdfe6}.vxe-button.type--button.is--round{border-radius:17px}.vxe-button.type--button:not(.is--round){border-radius:4px}.vxe-button.type--button.is--circle{padding:0 .5em;min-width:34px;border-radius:50%}.vxe-button.type--button:not(.is--circle){padding:0 1em}.vxe-button.type--button:not(.is--disabled):hover{color:#5faeff}.vxe-button.type--button:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#5faeff}.vxe-button.type--button:not(.is--disabled):focus{border-color:#409eff;box-shadow:0 0 .25em 0 #409eff}.vxe-button.type--button:not(.is--disabled):active{color:#3196ff;border-color:#3196ff;background-color:#f7f7f7}.vxe-button.type--button:not(.is--disabled):active .vxe-button--icon.vxe-icon--zoomin{background-color:#f7f7f7}.vxe-button.type--button:not(.is--disabled):active .vxe-button--icon.vxe-icon--zoomout:after{background-color:#f7f7f7}.vxe-button.type--button.theme--primary{color:#fff}.vxe-button.type--button.theme--primary .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--primary:not(.is--disabled){border-color:#409eff;background-color:#409eff}.vxe-button.type--button.theme--primary:not(.is--disabled):hover{color:#fff;background-color:#5faeff;border-color:#5faeff}.vxe-button.type--button.theme--primary:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#5faeff}.vxe-button.type--button.theme--primary:not(.is--disabled):active{color:#fff;background-color:#3196ff;border-color:#3196ff}.vxe-button.type--button.theme--primary:not(.is--disabled):active.vxe-icon--zoomin{background-color:#3196ff}.vxe-button.type--button.theme--primary:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#3196ff}.vxe-button.type--button.theme--primary.is--disabled{border-color:#a6d2ff;background-color:#a6d2ff}.vxe-button.type--button.theme--primary.is--loading{border-color:#409eff;background-color:#409eff}.vxe-button.type--button.theme--success{color:#fff}.vxe-button.type--button.theme--success .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--success:not(.is--disabled){border-color:#67c23a;background-color:#67c23a}.vxe-button.type--button.theme--success:not(.is--disabled):hover{color:#fff;background-color:#79cb50;border-color:#79cb50}.vxe-button.type--button.theme--success:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#79cb50}.vxe-button.type--button.theme--success:not(.is--disabled):active{color:#fff;background-color:#61b636;border-color:#61b636}.vxe-button.type--button.theme--success:not(.is--disabled):active.vxe-icon--zoomin{background-color:#61b636}.vxe-button.type--button.theme--success:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#61b636}.vxe-button.type--button.theme--success.is--disabled{border-color:#a3db87;background-color:#a3db87}.vxe-button.type--button.theme--success.is--loading{border-color:#67c23a;background-color:#67c23a}.vxe-button.type--button.theme--info{color:#fff}.vxe-button.type--button.theme--info .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--info:not(.is--disabled){border-color:#909399;background-color:#909399}.vxe-button.type--button.theme--info:not(.is--disabled):hover{color:#fff;background-color:#a0a3a8;border-color:#a0a3a8}.vxe-button.type--button.theme--info:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#a0a3a8}.vxe-button.type--button.theme--info:not(.is--disabled):active{color:#fff;background-color:#888b92;border-color:#888b92}.vxe-button.type--button.theme--info:not(.is--disabled):active.vxe-icon--zoomin{background-color:#888b92}.vxe-button.type--button.theme--info:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#888b92}.vxe-button.type--button.theme--info.is--disabled{border-color:#c5c7ca;background-color:#c5c7ca}.vxe-button.type--button.theme--info.is--loading{border-color:#909399;background-color:#909399}.vxe-button.type--button.theme--warning{color:#fff}.vxe-button.type--button.theme--warning .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--warning:not(.is--disabled){border-color:#e6a23c;background-color:#e6a23c}.vxe-button.type--button.theme--warning:not(.is--disabled):hover{color:#fff;background-color:#e9af57;border-color:#e9af57}.vxe-button.type--button.theme--warning:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#e9af57}.vxe-button.type--button.theme--warning:not(.is--disabled):active{color:#fff;background-color:#e49c2e;border-color:#e49c2e}.vxe-button.type--button.theme--warning:not(.is--disabled):active.vxe-icon--zoomin{background-color:#e49c2e}.vxe-button.type--button.theme--warning:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#e49c2e}.vxe-button.type--button.theme--warning.is--disabled{border-color:#f2cd96;background-color:#f2cd96}.vxe-button.type--button.theme--warning.is--loading{border-color:#e6a23c;background-color:#e6a23c}.vxe-button.type--button.theme--danger{color:#fff}.vxe-button.type--button.theme--danger .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--danger:not(.is--disabled){border-color:#f56c6c;background-color:#f56c6c}.vxe-button.type--button.theme--danger:not(.is--disabled):hover{color:#fff;background-color:#f78989;border-color:#f78989}.vxe-button.type--button.theme--danger:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#f78989}.vxe-button.type--button.theme--danger:not(.is--disabled):active{color:#fff;background-color:#f45e5e;border-color:#f45e5e}.vxe-button.type--button.theme--danger:not(.is--disabled):active.vxe-icon--zoomin{background-color:#f45e5e}.vxe-button.type--button.theme--danger:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#f45e5e}.vxe-button.type--button.theme--danger.is--disabled{border-color:#fbcccc;background-color:#fbcccc}.vxe-button.type--button.theme--danger.is--loading{border-color:#f56c6c;background-color:#f56c6c}.vxe-button.type--button.theme--perfect{color:#606266}.vxe-button.type--button.theme--perfect .vxe-button--icon.vxe-icon--zoomin{border-color:#606266}.vxe-button.type--button.theme--perfect:not(.is--disabled){border-color:#f8f8f9;background-color:#f8f8f9}.vxe-button.type--button.theme--perfect:not(.is--disabled):hover{color:#606266;background-color:#fff;border-color:#fff}.vxe-button.type--button.theme--perfect:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--perfect:not(.is--disabled):active{color:#606266;background-color:#f0f0f2;border-color:#f0f0f2}.vxe-button.type--button.theme--perfect:not(.is--disabled):active.vxe-icon--zoomin{background-color:#f0f0f2}.vxe-button.type--button.theme--perfect:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#f0f0f2}.vxe-button.type--button.theme--perfect.is--disabled{border-color:#fff;background-color:#fff}.vxe-button.type--button.theme--perfect.is--loading{border-color:#f8f8f9;background-color:#f8f8f9}.vxe-button.size--medium{font-size:14px}.vxe-button.size--medium.type--button{height:32px}.vxe-button.size--medium.type--button.is--circle{min-width:32px}.vxe-button.size--medium.type--button.is--round{border-radius:16px}.vxe-button.size--medium .vxe-button--icon,.vxe-button.size--medium .vxe-button--loading-icon{min-width:14px}.vxe-button.size--small{font-size:13px}.vxe-button.size--small.type--button{height:30px}.vxe-button.size--small.type--button.is--circle{min-width:30px}.vxe-button.size--small.type--button.is--round{border-radius:15px}.vxe-button.size--small .vxe-button--icon,.vxe-button.size--small .vxe-button--loading-icon{min-width:13px}.vxe-button.size--mini{font-size:12px}.vxe-button.size--mini.type--button{height:28px}.vxe-button.size--mini.type--button.is--circle{min-width:28px}.vxe-button.size--mini.type--button.is--round{border-radius:14px}.vxe-button.size--mini .vxe-button--icon,.vxe-button.size--mini .vxe-button--loading-icon{min-width:12px}.vxe-button+.vxe-button,.vxe-button+.vxe-button--dropdown,.vxe-input+.vxe-button,.vxe-input+.vxe-button--dropdown{margin-left:12px}.vxe-button--content,.vxe-button--icon,.vxe-button--loading-icon{vertical-align:middle}.vxe-button--icon,.vxe-button--loading-icon{min-width:14px}.vxe-button--icon+.vxe-button--content,.vxe-button--loading-icon+.vxe-button--content{margin-left:4px}.vxe-button--dropdown,.vxe-button--wrapper{display:inline-block}.vxe-button--dropdown{position:relative}.vxe-button--dropdown+.vxe-button,.vxe-button--dropdown+.vxe-button--dropdown{margin-left:12px}.vxe-button--dropdown>.vxe-button.type--button.theme--primary{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--success{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--info{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--warning{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--danger{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--perfect{color:#606266}.vxe-button--dropdown.is--active>.vxe-button:not(.is--disabled){color:#5faeff}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--primary{color:#73b8ff}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--success{color:#85cf60}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--info{color:#abadb1}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--warning{color:#ecb869}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--danger{color:#f89c9c}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--perfect{color:#fff}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--primary{color:#fff;background-color:#5faeff;border-color:#5faeff}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--success{color:#fff;background-color:#79cb50;border-color:#79cb50}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--info{color:#fff;background-color:#a0a3a8;border-color:#a0a3a8}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--warning{color:#fff;background-color:#e9af57;border-color:#e9af57}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--danger{color:#fff;background-color:#f78989;border-color:#f78989}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--perfect{color:#606266;background-color:#fff;border-color:#fff}.vxe-button--dropdown.is--active .vxe-button--dropdown-arrow{transform:rotate(180deg)}.vxe-button--dropdown-arrow{font-size:12px;margin-left:4px;transition:transform .2s ease-in-out}.vxe-button--dropdown-panel{display:none;position:absolute;right:0;padding:4px 0}.vxe-button--dropdown-panel.animat--leave{display:block;opacity:0;transform:scaleY(.5);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.vxe-button--dropdown-panel.animat--leave[placement=top]{transform-origin:center bottom}.vxe-button--dropdown-panel.animat--enter{opacity:1;transform:scaleY(1)}.vxe-button--dropdown-wrapper{padding:5px;background-color:#fff;border-radius:4px;border:1px solid #dcdfe6;box-shadow:0 1px 6px rgba(0,0,0,.2)}.vxe-button--dropdown-wrapper>.vxe-button{margin-left:0;margin-top:.4em;display:block;width:100%;border:0}.vxe-button--dropdown-wrapper>.vxe-button.type--text{padding:2px 8px}.vxe-button--dropdown-wrapper>.vxe-button:first-child{margin-top:0}.vxe-button--dropdown-wrapper>.vxe-button:last-child{margin-bottom:0}
1
+ .vxe-button{position:relative;text-align:center;background-color:#fff;outline:0;font-size:14px;max-width:500px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:border .2s ease-in-out}.vxe-button:not(.is--disabled){color:#606266;cursor:pointer}.vxe-button:not(.is--disabled) .vxe-button--icon.vxe-icon--zoomin{border-color:#606266}.vxe-button.is--loading{cursor:progress}.vxe-button.is--loading:before{content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:rgba(255,255,255,.35);pointer-events:none}.vxe-button.is--disabled{color:#bfbfbf}.vxe-button.is--disabled .vxe-button--icon.vxe-icon--zoomin{border-color:#bfbfbf}.vxe-button.is--disabled:not(.is--loading){cursor:no-drop}.vxe-button.type--text{text-decoration:none;border:0;padding:.1em .5em;background-color:transparent}.vxe-button.type--text:not(.is--disabled):focus{box-shadow:0 0 .25em 0 #409eff}.vxe-button.type--text:not(.is--disabled):hover{color:#73b8ff}.vxe-button.type--text.theme--primary{color:#409eff}.vxe-button.type--text.theme--primary:not(.is--disabled):hover{color:#73b8ff}.vxe-button.type--text.theme--primary.is--disabled{color:#a6d2ff}.vxe-button.type--text.theme--success{color:#67c23a}.vxe-button.type--text.theme--success:not(.is--disabled):hover{color:#85cf60}.vxe-button.type--text.theme--success.is--disabled{color:#a3db87}.vxe-button.type--text.theme--info{color:#909399}.vxe-button.type--text.theme--info:not(.is--disabled):hover{color:#abadb1}.vxe-button.type--text.theme--info.is--disabled{color:#c5c7ca}.vxe-button.type--text.theme--warning{color:#e6a23c}.vxe-button.type--text.theme--warning:not(.is--disabled):hover{color:#ecb869}.vxe-button.type--text.theme--warning.is--disabled{color:#f2cd96}.vxe-button.type--text.theme--danger{color:#f56c6c}.vxe-button.type--text.theme--danger:not(.is--disabled):hover{color:#f89c9c}.vxe-button.type--text.theme--danger.is--disabled{color:#fbcccc}.vxe-button.type--text.theme--perfect{color:#f8f8f9}.vxe-button.type--text.theme--perfect:not(.is--disabled):hover{color:#fff}.vxe-button.type--text.theme--perfect.is--disabled{color:#fff}.vxe-button.type--button{font-family:inherit;height:34px;line-height:1;border:1px solid #dcdfe6}.vxe-button.type--button.is--round{border-radius:17px}.vxe-button.type--button:not(.is--round){border-radius:4px}.vxe-button.type--button.is--circle{padding:0 .5em;min-width:34px;border-radius:50%}.vxe-button.type--button:not(.is--circle){padding:0 1em}.vxe-button.type--button:not(.is--disabled):hover{color:#5faeff}.vxe-button.type--button:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#5faeff}.vxe-button.type--button:not(.is--disabled):focus{border-color:#409eff;box-shadow:0 0 .25em 0 #409eff}.vxe-button.type--button:not(.is--disabled):active{color:#3196ff;border-color:#3196ff;background-color:#f7f7f7}.vxe-button.type--button:not(.is--disabled):active .vxe-button--icon.vxe-icon--zoomin{background-color:#f7f7f7}.vxe-button.type--button:not(.is--disabled):active .vxe-button--icon.vxe-icon--zoomout:after{background-color:#f7f7f7}.vxe-button.type--button.theme--primary{color:#fff}.vxe-button.type--button.theme--primary .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--primary:not(.is--disabled){border-color:#409eff;background-color:#409eff}.vxe-button.type--button.theme--primary:not(.is--disabled):hover{color:#fff;background-color:#5faeff;border-color:#5faeff}.vxe-button.type--button.theme--primary:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#5faeff}.vxe-button.type--button.theme--primary:not(.is--disabled):active{color:#fff;background-color:#3196ff;border-color:#3196ff}.vxe-button.type--button.theme--primary:not(.is--disabled):active.vxe-icon--zoomin{background-color:#3196ff}.vxe-button.type--button.theme--primary:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#3196ff}.vxe-button.type--button.theme--primary.is--disabled{border-color:#a6d2ff;background-color:#a6d2ff}.vxe-button.type--button.theme--primary.is--loading{border-color:#409eff;background-color:#409eff}.vxe-button.type--button.theme--success{color:#fff}.vxe-button.type--button.theme--success .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--success:not(.is--disabled){border-color:#67c23a;background-color:#67c23a}.vxe-button.type--button.theme--success:not(.is--disabled):hover{color:#fff;background-color:#79cb50;border-color:#79cb50}.vxe-button.type--button.theme--success:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#79cb50}.vxe-button.type--button.theme--success:not(.is--disabled):active{color:#fff;background-color:#61b636;border-color:#61b636}.vxe-button.type--button.theme--success:not(.is--disabled):active.vxe-icon--zoomin{background-color:#61b636}.vxe-button.type--button.theme--success:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#61b636}.vxe-button.type--button.theme--success.is--disabled{border-color:#a3db87;background-color:#a3db87}.vxe-button.type--button.theme--success.is--loading{border-color:#67c23a;background-color:#67c23a}.vxe-button.type--button.theme--info{color:#fff}.vxe-button.type--button.theme--info .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--info:not(.is--disabled){border-color:#909399;background-color:#909399}.vxe-button.type--button.theme--info:not(.is--disabled):hover{color:#fff;background-color:#a0a3a8;border-color:#a0a3a8}.vxe-button.type--button.theme--info:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#a0a3a8}.vxe-button.type--button.theme--info:not(.is--disabled):active{color:#fff;background-color:#888b92;border-color:#888b92}.vxe-button.type--button.theme--info:not(.is--disabled):active.vxe-icon--zoomin{background-color:#888b92}.vxe-button.type--button.theme--info:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#888b92}.vxe-button.type--button.theme--info.is--disabled{border-color:#c5c7ca;background-color:#c5c7ca}.vxe-button.type--button.theme--info.is--loading{border-color:#909399;background-color:#909399}.vxe-button.type--button.theme--warning{color:#fff}.vxe-button.type--button.theme--warning .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--warning:not(.is--disabled){border-color:#e6a23c;background-color:#e6a23c}.vxe-button.type--button.theme--warning:not(.is--disabled):hover{color:#fff;background-color:#e9af57;border-color:#e9af57}.vxe-button.type--button.theme--warning:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#e9af57}.vxe-button.type--button.theme--warning:not(.is--disabled):active{color:#fff;background-color:#e49c2e;border-color:#e49c2e}.vxe-button.type--button.theme--warning:not(.is--disabled):active.vxe-icon--zoomin{background-color:#e49c2e}.vxe-button.type--button.theme--warning:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#e49c2e}.vxe-button.type--button.theme--warning.is--disabled{border-color:#f2cd96;background-color:#f2cd96}.vxe-button.type--button.theme--warning.is--loading{border-color:#e6a23c;background-color:#e6a23c}.vxe-button.type--button.theme--danger{color:#fff}.vxe-button.type--button.theme--danger .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--danger:not(.is--disabled){border-color:#f56c6c;background-color:#f56c6c}.vxe-button.type--button.theme--danger:not(.is--disabled):hover{color:#fff;background-color:#f78989;border-color:#f78989}.vxe-button.type--button.theme--danger:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#f78989}.vxe-button.type--button.theme--danger:not(.is--disabled):active{color:#fff;background-color:#f45e5e;border-color:#f45e5e}.vxe-button.type--button.theme--danger:not(.is--disabled):active.vxe-icon--zoomin{background-color:#f45e5e}.vxe-button.type--button.theme--danger:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#f45e5e}.vxe-button.type--button.theme--danger.is--disabled{border-color:#fbcccc;background-color:#fbcccc}.vxe-button.type--button.theme--danger.is--loading{border-color:#f56c6c;background-color:#f56c6c}.vxe-button.type--button.theme--perfect{color:#606266}.vxe-button.type--button.theme--perfect .vxe-button--icon.vxe-icon--zoomin{border-color:#606266}.vxe-button.type--button.theme--perfect:not(.is--disabled){border-color:#f8f8f9;background-color:#f8f8f9}.vxe-button.type--button.theme--perfect:not(.is--disabled):hover{color:#606266;background-color:#fff;border-color:#fff}.vxe-button.type--button.theme--perfect:not(.is--disabled):hover .vxe-button--icon.vxe-icon--zoomin{border-color:#fff}.vxe-button.type--button.theme--perfect:not(.is--disabled):active{color:#606266;background-color:#f0f0f2;border-color:#f0f0f2}.vxe-button.type--button.theme--perfect:not(.is--disabled):active.vxe-icon--zoomin{background-color:#f0f0f2}.vxe-button.type--button.theme--perfect:not(.is--disabled):active.vxe-icon--zoomout:after{background-color:#f0f0f2}.vxe-button.type--button.theme--perfect.is--disabled{border-color:#fff;background-color:#fff}.vxe-button.type--button.theme--perfect.is--loading{border-color:#f8f8f9;background-color:#f8f8f9}.vxe-button.size--medium{font-size:14px}.vxe-button.size--medium.type--button{height:32px}.vxe-button.size--medium.type--button.is--circle{min-width:32px}.vxe-button.size--medium.type--button.is--round{border-radius:16px}.vxe-button.size--medium .vxe-button--icon,.vxe-button.size--medium .vxe-button--loading-icon{min-width:14px}.vxe-button.size--small{font-size:13px}.vxe-button.size--small.type--button{height:30px}.vxe-button.size--small.type--button.is--circle{min-width:30px}.vxe-button.size--small.type--button.is--round{border-radius:15px}.vxe-button.size--small .vxe-button--icon,.vxe-button.size--small .vxe-button--loading-icon{min-width:13px}.vxe-button.size--mini{font-size:12px}.vxe-button.size--mini.type--button{height:28px}.vxe-button.size--mini.type--button.is--circle{min-width:28px}.vxe-button.size--mini.type--button.is--round{border-radius:14px}.vxe-button.size--mini .vxe-button--icon,.vxe-button.size--mini .vxe-button--loading-icon{min-width:12px}.vxe-button+.vxe-button,.vxe-button+.vxe-button--dropdown,.vxe-input+.vxe-button,.vxe-input+.vxe-button--dropdown{margin-left:12px}.vxe-button--content,.vxe-button--icon,.vxe-button--loading-icon{vertical-align:middle}.vxe-button--icon,.vxe-button--loading-icon{min-width:14px}.vxe-button--icon+.vxe-button--content,.vxe-button--loading-icon+.vxe-button--content{margin-left:4px}.vxe-button--dropdown,.vxe-button--wrapper{display:inline-block}.vxe-button--dropdown{position:relative}.vxe-button--dropdown+.vxe-button,.vxe-button--dropdown+.vxe-button--dropdown{margin-left:12px}.vxe-button--dropdown>.vxe-button.type--button.theme--primary{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--success{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--info{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--warning{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--danger{color:#fff}.vxe-button--dropdown>.vxe-button.type--button.theme--perfect{color:#606266}.vxe-button--dropdown.is--active>.vxe-button:not(.is--disabled){color:#5faeff}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--primary{color:#73b8ff}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--success{color:#85cf60}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--info{color:#abadb1}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--warning{color:#ecb869}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--danger{color:#f89c9c}.vxe-button--dropdown.is--active>.vxe-button.type--text.theme--perfect{color:#fff}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--primary{color:#fff;background-color:#5faeff;border-color:#5faeff}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--success{color:#fff;background-color:#79cb50;border-color:#79cb50}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--info{color:#fff;background-color:#a0a3a8;border-color:#a0a3a8}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--warning{color:#fff;background-color:#e9af57;border-color:#e9af57}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--danger{color:#fff;background-color:#f78989;border-color:#f78989}.vxe-button--dropdown.is--active>.vxe-button.type--button.theme--perfect{color:#606266;background-color:#fff;border-color:#fff}.vxe-button--dropdown.is--active .vxe-button--dropdown-arrow{transform:rotate(180deg)}.vxe-button--dropdown-arrow{font-size:12px;margin-left:4px;transition:transform .2s ease-in-out}.vxe-button--dropdown-panel{display:none;position:absolute;right:0;padding:4px 0}.vxe-button--dropdown-panel.animat--leave{display:block;opacity:0;transform:scaleY(.5);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.vxe-button--dropdown-panel.animat--leave[placement=top]{transform-origin:center bottom}.vxe-button--dropdown-panel.animat--enter{opacity:1;transform:scaleY(1)}.vxe-button--dropdown-wrapper{padding:5px;background-color:#fff;border-radius:4px;border:1px solid #dcdfe6;box-shadow:0 1px 6px rgba(0,0,0,.2)}.vxe-button--dropdown-wrapper>.vxe-button{margin-left:0;margin-top:.4em;display:block;width:100%;border:0}.vxe-button--dropdown-wrapper>.vxe-button.type--text{padding:2px 8px}.vxe-button--dropdown-wrapper>.vxe-button:first-child{margin-top:0}.vxe-button--dropdown-wrapper>.vxe-button:last-child{margin-bottom:0}
@@ -255,7 +255,7 @@
255
255
  .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon:before {
256
256
  border-color: #c0c4cc; }
257
257
  .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon + .vxe-checkbox--label {
258
- color: #9e7d7d; }
258
+ color: #BFBFBF; }
259
259
  .vxe-checkbox.is--disabled > input:checked + .vxe-checkbox--icon {
260
260
  border-color: #dcdfe6;
261
261
  background-color: #f3f3f3; }
@@ -1 +1 @@
1
- [class*=vxe-],[class*=vxe-] :after,[class*=vxe-] :before,[class*=vxe-]:after,[class*=vxe-]:before{box-sizing:border-box}.vxe-checkbox .vxe-checkbox--label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[class*=vxe-]{font-variant:tabular-nums;font-feature-settings:'tnum'}.vxe-primary-color{color:#409eff}.vxe-success-color{color:#67c23a}.vxe-info-color{color:#909399}.vxe-warning-color{color:#e6a23c}.vxe-danger-color{color:#f56c6c}.vxe-perfect-color{color:#f8f8f9}.vxe-row:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-row>.vxe-col--1{float:left;width:4.16667%}.vxe-row>.vxe-col--2{float:left;width:8.33333%}.vxe-row>.vxe-col--3{float:left;width:12.5%}.vxe-row>.vxe-col--4{float:left;width:16.66667%}.vxe-row>.vxe-col--5{float:left;width:20.83333%}.vxe-row>.vxe-col--6{float:left;width:25%}.vxe-row>.vxe-col--7{float:left;width:29.16667%}.vxe-row>.vxe-col--8{float:left;width:33.33333%}.vxe-row>.vxe-col--9{float:left;width:37.5%}.vxe-row>.vxe-col--10{float:left;width:41.66667%}.vxe-row>.vxe-col--11{float:left;width:45.83333%}.vxe-row>.vxe-col--12{float:left;width:50%}.vxe-row>.vxe-col--13{float:left;width:54.16667%}.vxe-row>.vxe-col--14{float:left;width:58.33333%}.vxe-row>.vxe-col--15{float:left;width:62.5%}.vxe-row>.vxe-col--16{float:left;width:66.66667%}.vxe-row>.vxe-col--17{float:left;width:70.83333%}.vxe-row>.vxe-col--18{float:left;width:75%}.vxe-row>.vxe-col--19{float:left;width:79.16667%}.vxe-row>.vxe-col--20{float:left;width:83.33333%}.vxe-row>.vxe-col--21{float:left;width:87.5%}.vxe-row>.vxe-col--22{float:left;width:91.66667%}.vxe-row>.vxe-col--23{float:left;width:95.83333%}.vxe-row>.vxe-col--24{float:left;width:100%}.is--animat .vxe-filter--btn:after,.is--animat .vxe-filter--btn:before,.is--animat .vxe-sort--asc-btn:after,.is--animat .vxe-sort--asc-btn:before,.is--animat .vxe-sort--desc-btn:after,.is--animat .vxe-sort--desc-btn:before{transition:border .1s ease-in-out}.is--animat .vxe-input--wrapper .vxe-input{transition:border .1s ease-in-out}.is--animat .vxe-table--expand-btn,.is--animat .vxe-tree--node-btn{transition:transform .1s ease-in-out}.is--animat .vxe-checkbox>input:checked+span,.is--animat .vxe-radio>input:checked+span{transition:background-color .1s ease-in-out}.vxe-checkbox-group{display:inline-block;vertical-align:middle;line-height:1}.vxe-checkbox{display:inline-block;vertical-align:middle;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:1;cursor:pointer;color:#606266}.vxe-checkbox+.vxe-checkbox{margin-left:10px}.vxe-checkbox>input[type=checkbox]{position:absolute;width:0;height:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vxe-checkbox>input+.vxe-checkbox--icon{position:relative;display:inline-block;width:1em;height:1em;background-color:#fff;vertical-align:middle;border-radius:2px;border:2px solid #dcdfe6}.vxe-checkbox>input+.vxe-checkbox--icon:before{content:"";position:absolute}.vxe-checkbox>input:checked+.vxe-checkbox--icon{background-color:#409eff;border-color:#409eff}.vxe-checkbox>input:checked+.vxe-checkbox--icon:before{height:.64em;width:.32em;left:50%;top:50%;border:2px solid #fff;border-left:0;border-top:0;transform:translate(-50%,-50%) rotate(45deg)}.vxe-checkbox>input:checked+.vxe-checkbox--icon+.vxe-checkbox--label{color:#409eff}.vxe-checkbox.is--indeterminate>input:not(:checked)+.vxe-checkbox--icon{background-color:#409eff;border-color:#409eff}.vxe-checkbox.is--indeterminate>input:not(:checked)+.vxe-checkbox--icon:before{border:0;left:50%;top:50%;height:2px;width:.6em;background-color:#fff;transform:translate(-50%,-50%)}.vxe-checkbox:not(.is--disabled)>input:focus+.vxe-checkbox--icon{border-color:#409eff;box-shadow:0 0 .2em 0 #409eff}.vxe-checkbox:not(.is--disabled):hover>input+.vxe-checkbox--icon{border-color:#409eff}.vxe-checkbox.is--disabled{cursor:not-allowed}.vxe-checkbox.is--disabled>input+.vxe-checkbox--icon{border-color:#dcdfe6;background-color:#f3f3f3}.vxe-checkbox.is--disabled>input+.vxe-checkbox--icon:before{border-color:#c0c4cc}.vxe-checkbox.is--disabled>input+.vxe-checkbox--icon+.vxe-checkbox--label{color:#9e7d7d}.vxe-checkbox.is--disabled>input:checked+.vxe-checkbox--icon{border-color:#dcdfe6;background-color:#f3f3f3}.vxe-checkbox .vxe-checkbox--label{padding-left:.5em;vertical-align:middle;display:inline-block;max-width:50em}.vxe-checkbox{font-size:14px}.vxe-checkbox .vxe-checkbox--icon{font-size:16px}.vxe-checkbox.size--medium{font-size:14px}.vxe-checkbox.size--medium .vxe-checkbox--icon{font-size:15px}.vxe-checkbox.size--small{font-size:13px}.vxe-checkbox.size--small .vxe-checkbox--icon{font-size:14px}.vxe-checkbox.size--mini{font-size:12px}.vxe-checkbox.size--mini .vxe-checkbox--icon{font-size:14px}
1
+ [class*=vxe-],[class*=vxe-] :after,[class*=vxe-] :before,[class*=vxe-]:after,[class*=vxe-]:before{box-sizing:border-box}.vxe-checkbox .vxe-checkbox--label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[class*=vxe-]{font-variant:tabular-nums;font-feature-settings:'tnum'}.vxe-primary-color{color:#409eff}.vxe-success-color{color:#67c23a}.vxe-info-color{color:#909399}.vxe-warning-color{color:#e6a23c}.vxe-danger-color{color:#f56c6c}.vxe-perfect-color{color:#f8f8f9}.vxe-row:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-row>.vxe-col--1{float:left;width:4.16667%}.vxe-row>.vxe-col--2{float:left;width:8.33333%}.vxe-row>.vxe-col--3{float:left;width:12.5%}.vxe-row>.vxe-col--4{float:left;width:16.66667%}.vxe-row>.vxe-col--5{float:left;width:20.83333%}.vxe-row>.vxe-col--6{float:left;width:25%}.vxe-row>.vxe-col--7{float:left;width:29.16667%}.vxe-row>.vxe-col--8{float:left;width:33.33333%}.vxe-row>.vxe-col--9{float:left;width:37.5%}.vxe-row>.vxe-col--10{float:left;width:41.66667%}.vxe-row>.vxe-col--11{float:left;width:45.83333%}.vxe-row>.vxe-col--12{float:left;width:50%}.vxe-row>.vxe-col--13{float:left;width:54.16667%}.vxe-row>.vxe-col--14{float:left;width:58.33333%}.vxe-row>.vxe-col--15{float:left;width:62.5%}.vxe-row>.vxe-col--16{float:left;width:66.66667%}.vxe-row>.vxe-col--17{float:left;width:70.83333%}.vxe-row>.vxe-col--18{float:left;width:75%}.vxe-row>.vxe-col--19{float:left;width:79.16667%}.vxe-row>.vxe-col--20{float:left;width:83.33333%}.vxe-row>.vxe-col--21{float:left;width:87.5%}.vxe-row>.vxe-col--22{float:left;width:91.66667%}.vxe-row>.vxe-col--23{float:left;width:95.83333%}.vxe-row>.vxe-col--24{float:left;width:100%}.is--animat .vxe-filter--btn:after,.is--animat .vxe-filter--btn:before,.is--animat .vxe-sort--asc-btn:after,.is--animat .vxe-sort--asc-btn:before,.is--animat .vxe-sort--desc-btn:after,.is--animat .vxe-sort--desc-btn:before{transition:border .1s ease-in-out}.is--animat .vxe-input--wrapper .vxe-input{transition:border .1s ease-in-out}.is--animat .vxe-table--expand-btn,.is--animat .vxe-tree--node-btn{transition:transform .1s ease-in-out}.is--animat .vxe-checkbox>input:checked+span,.is--animat .vxe-radio>input:checked+span{transition:background-color .1s ease-in-out}.vxe-checkbox-group{display:inline-block;vertical-align:middle;line-height:1}.vxe-checkbox{display:inline-block;vertical-align:middle;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:1;cursor:pointer;color:#606266}.vxe-checkbox+.vxe-checkbox{margin-left:10px}.vxe-checkbox>input[type=checkbox]{position:absolute;width:0;height:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vxe-checkbox>input+.vxe-checkbox--icon{position:relative;display:inline-block;width:1em;height:1em;background-color:#fff;vertical-align:middle;border-radius:2px;border:2px solid #dcdfe6}.vxe-checkbox>input+.vxe-checkbox--icon:before{content:"";position:absolute}.vxe-checkbox>input:checked+.vxe-checkbox--icon{background-color:#409eff;border-color:#409eff}.vxe-checkbox>input:checked+.vxe-checkbox--icon:before{height:.64em;width:.32em;left:50%;top:50%;border:2px solid #fff;border-left:0;border-top:0;transform:translate(-50%,-50%) rotate(45deg)}.vxe-checkbox>input:checked+.vxe-checkbox--icon+.vxe-checkbox--label{color:#409eff}.vxe-checkbox.is--indeterminate>input:not(:checked)+.vxe-checkbox--icon{background-color:#409eff;border-color:#409eff}.vxe-checkbox.is--indeterminate>input:not(:checked)+.vxe-checkbox--icon:before{border:0;left:50%;top:50%;height:2px;width:.6em;background-color:#fff;transform:translate(-50%,-50%)}.vxe-checkbox:not(.is--disabled)>input:focus+.vxe-checkbox--icon{border-color:#409eff;box-shadow:0 0 .2em 0 #409eff}.vxe-checkbox:not(.is--disabled):hover>input+.vxe-checkbox--icon{border-color:#409eff}.vxe-checkbox.is--disabled{cursor:not-allowed}.vxe-checkbox.is--disabled>input+.vxe-checkbox--icon{border-color:#dcdfe6;background-color:#f3f3f3}.vxe-checkbox.is--disabled>input+.vxe-checkbox--icon:before{border-color:#c0c4cc}.vxe-checkbox.is--disabled>input+.vxe-checkbox--icon+.vxe-checkbox--label{color:#bfbfbf}.vxe-checkbox.is--disabled>input:checked+.vxe-checkbox--icon{border-color:#dcdfe6;background-color:#f3f3f3}.vxe-checkbox .vxe-checkbox--label{padding-left:.5em;vertical-align:middle;display:inline-block;max-width:50em}.vxe-checkbox{font-size:14px}.vxe-checkbox .vxe-checkbox--icon{font-size:16px}.vxe-checkbox.size--medium{font-size:14px}.vxe-checkbox.size--medium .vxe-checkbox--icon{font-size:15px}.vxe-checkbox.size--small{font-size:13px}.vxe-checkbox.size--small .vxe-checkbox--icon{font-size:14px}.vxe-checkbox.size--mini{font-size:12px}.vxe-checkbox.size--mini .vxe-checkbox--icon{font-size:14px}
@@ -205,7 +205,7 @@ var editHook = {
205
205
 
206
206
  reactData.scrollYLoad = !treeConfig && sYOpts.gt > -1 && sYOpts.gt < tableFullData.length;
207
207
  $xetable.updateFooter();
208
- $xetable.updateCache();
208
+ $xetable.cacheRowMap();
209
209
  $xetable.handleTableData();
210
210
  $xetable.updateAfterDataIndex();
211
211
  $xetable.checkSelectionStatus();
@@ -319,7 +319,7 @@ var editHook = {
319
319
  });
320
320
  reactData.scrollYLoad = !treeConfig && sYOpts.gt > -1 && sYOpts.gt < tableFullData.length;
321
321
  $xetable.updateFooter();
322
- $xetable.updateCache();
322
+ $xetable.cacheRowMap();
323
323
  $xetable.handleTableData();
324
324
  $xetable.updateAfterDataIndex();
325
325
  $xetable.checkSelectionStatus();