@element-plus/nightly 0.0.20220104 → 0.0.20220105

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 (110) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +392 -408
  3. package/dist/index.full.min.js +8 -8
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +8 -8
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +392 -408
  8. package/es/components/index.mjs +1 -1
  9. package/es/components/skeleton/index.mjs +2 -2
  10. package/es/components/skeleton/src/skeleton.mjs +5 -24
  11. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  12. package/es/components/skeleton/src/skeleton.vue_vue_type_script_lang.mjs +1 -1
  13. package/es/components/skeleton/src/skeleton2.mjs +24 -5
  14. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  15. package/es/components/table/index.d.ts +9 -0
  16. package/es/components/table/src/table/style-helper.d.ts +7 -0
  17. package/es/components/table/src/table/style-helper.mjs +20 -17
  18. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  19. package/es/components/table/src/table-body/index.mjs +5 -3
  20. package/es/components/table/src/table-body/index.mjs.map +1 -1
  21. package/es/components/table/src/table-body/styles-helper.d.ts +0 -1
  22. package/es/components/table/src/table-body/styles-helper.mjs +10 -17
  23. package/es/components/table/src/table-body/styles-helper.mjs.map +1 -1
  24. package/es/components/table/src/table-column/defaults.d.ts +1 -0
  25. package/es/components/table/src/table-column/defaults.mjs.map +1 -1
  26. package/es/components/table/src/table-column/index.mjs +1 -0
  27. package/es/components/table/src/table-column/index.mjs.map +1 -1
  28. package/es/components/table/src/table-footer/index.d.ts +4 -2
  29. package/es/components/table/src/table-footer/index.mjs +33 -18
  30. package/es/components/table/src/table-footer/index.mjs.map +1 -1
  31. package/es/components/table/src/table-footer/style-helper.d.ts +4 -2
  32. package/es/components/table/src/table-footer/style-helper.mjs +28 -31
  33. package/es/components/table/src/table-footer/style-helper.mjs.map +1 -1
  34. package/es/components/table/src/table-header/index.d.ts +3 -2
  35. package/es/components/table/src/table-header/index.mjs +89 -51
  36. package/es/components/table/src/table-header/index.mjs.map +1 -1
  37. package/es/components/table/src/table-header/style.helper.d.ts +1 -1
  38. package/es/components/table/src/table-header/style.helper.mjs +14 -24
  39. package/es/components/table/src/table-header/style.helper.mjs.map +1 -1
  40. package/es/components/table/src/table-header/utils-helper.mjs +1 -0
  41. package/es/components/table/src/table-header/utils-helper.mjs.map +1 -1
  42. package/es/components/table/src/table-layout.d.ts +1 -0
  43. package/es/components/table/src/table-layout.mjs +7 -1
  44. package/es/components/table/src/table-layout.mjs.map +1 -1
  45. package/es/components/table/src/table.vue.d.ts +9 -0
  46. package/es/components/table/src/table.vue_vue_type_script_lang.mjs +12 -2
  47. package/es/components/table/src/table.vue_vue_type_script_lang.mjs.map +1 -1
  48. package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs +62 -213
  49. package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs.map +1 -1
  50. package/es/components/table/src/util.d.ts +14 -0
  51. package/es/components/table/src/util.mjs +90 -1
  52. package/es/components/table/src/util.mjs.map +1 -1
  53. package/es/index.mjs +1 -1
  54. package/es/version.d.ts +1 -1
  55. package/es/version.mjs +1 -1
  56. package/es/version.mjs.map +1 -1
  57. package/lib/components/index.js +1 -1
  58. package/lib/components/skeleton/index.js +2 -2
  59. package/lib/components/skeleton/src/skeleton.js +5 -23
  60. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  61. package/lib/components/skeleton/src/skeleton.vue_vue_type_script_lang.js +1 -1
  62. package/lib/components/skeleton/src/skeleton2.js +23 -5
  63. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  64. package/lib/components/table/index.d.ts +9 -0
  65. package/lib/components/table/src/table/style-helper.d.ts +7 -0
  66. package/lib/components/table/src/table/style-helper.js +20 -21
  67. package/lib/components/table/src/table/style-helper.js.map +1 -1
  68. package/lib/components/table/src/table-body/index.js +5 -3
  69. package/lib/components/table/src/table-body/index.js.map +1 -1
  70. package/lib/components/table/src/table-body/styles-helper.d.ts +0 -1
  71. package/lib/components/table/src/table-body/styles-helper.js +10 -17
  72. package/lib/components/table/src/table-body/styles-helper.js.map +1 -1
  73. package/lib/components/table/src/table-column/defaults.d.ts +1 -0
  74. package/lib/components/table/src/table-column/defaults.js.map +1 -1
  75. package/lib/components/table/src/table-column/index.js +1 -0
  76. package/lib/components/table/src/table-column/index.js.map +1 -1
  77. package/lib/components/table/src/table-footer/index.d.ts +4 -2
  78. package/lib/components/table/src/table-footer/index.js +32 -17
  79. package/lib/components/table/src/table-footer/index.js.map +1 -1
  80. package/lib/components/table/src/table-footer/style-helper.d.ts +4 -2
  81. package/lib/components/table/src/table-footer/style-helper.js +28 -31
  82. package/lib/components/table/src/table-footer/style-helper.js.map +1 -1
  83. package/lib/components/table/src/table-header/index.d.ts +3 -2
  84. package/lib/components/table/src/table-header/index.js +89 -51
  85. package/lib/components/table/src/table-header/index.js.map +1 -1
  86. package/lib/components/table/src/table-header/style.helper.d.ts +1 -1
  87. package/lib/components/table/src/table-header/style.helper.js +14 -24
  88. package/lib/components/table/src/table-header/style.helper.js.map +1 -1
  89. package/lib/components/table/src/table-header/utils-helper.js +1 -0
  90. package/lib/components/table/src/table-header/utils-helper.js.map +1 -1
  91. package/lib/components/table/src/table-layout.d.ts +1 -0
  92. package/lib/components/table/src/table-layout.js +7 -1
  93. package/lib/components/table/src/table-layout.js.map +1 -1
  94. package/lib/components/table/src/table.vue.d.ts +9 -0
  95. package/lib/components/table/src/table.vue_vue_type_script_lang.js +12 -2
  96. package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +1 -1
  97. package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js +62 -213
  98. package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js.map +1 -1
  99. package/lib/components/table/src/util.d.ts +14 -0
  100. package/lib/components/table/src/util.js +95 -0
  101. package/lib/components/table/src/util.js.map +1 -1
  102. package/lib/index.js +1 -1
  103. package/lib/version.d.ts +1 -1
  104. package/lib/version.js +1 -1
  105. package/lib/version.js.map +1 -1
  106. package/package.json +2 -2
  107. package/theme-chalk/el-table.css +1 -1
  108. package/theme-chalk/index.css +1 -1
  109. package/theme-chalk/src/table.scss +176 -124
  110. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20220104 */
1
+ /*! Element Plus v0.0.20220105 */
2
2
 
3
3
  import { getCurrentInstance, computed, warn, readonly, getCurrentScope, onScopeDispose, shallowRef, watchSyncEffect, ref, unref, watch, inject, provide, isRef, onMounted, onUnmounted, h as h$1, Teleport, onBeforeUnmount, onBeforeMount, nextTick, defineComponent, reactive, openBlock, createElementBlock, normalizeStyle, createElementVNode, normalizeClass, renderSlot, mergeProps, resolveComponent, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, Fragment, createVNode, vShow, onUpdated, withModifiers, toRef, cloneVNode, Text, Comment, resolveDirective, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, toRefs, vModelCheckbox, vModelRadio, onBeforeUpdate, vModelText, toHandlers, watchEffect, isVNode, camelize as camelize$1, effectScope, markRaw, toRaw, triggerRef, TransitionGroup, createApp, render as render$26 } from 'vue';
4
4
 
@@ -4527,7 +4527,7 @@ if (isClient) {
4527
4527
  });
4528
4528
  }
4529
4529
 
4530
- const version$1 = "0.0.20220104";
4530
+ const version$1 = "0.0.20220105";
4531
4531
 
4532
4532
  const INSTALLED_KEY = Symbol("INSTALLED_KEY");
4533
4533
  const makeInstaller = (components = []) => {
@@ -6732,11 +6732,11 @@ const _hoisted_7$c = {
6732
6732
  class: "el-input__count"
6733
6733
  };
6734
6734
  const _hoisted_8$b = { class: "el-input__count-inner" };
6735
- const _hoisted_9$8 = {
6735
+ const _hoisted_9$7 = {
6736
6736
  key: 3,
6737
6737
  class: "el-input-group__append"
6738
6738
  };
6739
- const _hoisted_10$8 = ["tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
6739
+ const _hoisted_10$7 = ["tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
6740
6740
  const _hoisted_11$4 = {
6741
6741
  key: 0,
6742
6742
  class: "el-input__count"
@@ -6859,7 +6859,7 @@ function render$22(_ctx, _cache, $props, $setup, $data, $options) {
6859
6859
  })) : createCommentVNode("v-if", true)
6860
6860
  ])) : createCommentVNode("v-if", true),
6861
6861
  createCommentVNode(" append slot "),
6862
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_9$8, [
6862
+ _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_9$7, [
6863
6863
  renderSlot(_ctx.$slots, "append")
6864
6864
  ])) : createCommentVNode("v-if", true)
6865
6865
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -6883,7 +6883,7 @@ function render$22(_ctx, _cache, $props, $setup, $data, $options) {
6883
6883
  onBlur: _cache[14] || (_cache[14] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
6884
6884
  onChange: _cache[15] || (_cache[15] = (...args) => _ctx.handleChange && _ctx.handleChange(...args)),
6885
6885
  onKeydown: _cache[16] || (_cache[16] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args))
6886
- }), null, 16, _hoisted_10$8),
6886
+ }), null, 16, _hoisted_10$7),
6887
6887
  _ctx.isWordLimitVisible ? (openBlock(), createElementBlock("span", _hoisted_11$4, toDisplayString(_ctx.textLength) + " / " + toDisplayString(_ctx.attrs.maxlength), 1)) : createCommentVNode("v-if", true)
6888
6888
  ], 64))
6889
6889
  ], 38)), [
@@ -20176,8 +20176,8 @@ const _hoisted_5$j = { class: "cell" };
20176
20176
  const _hoisted_6$e = { class: "cell" };
20177
20177
  const _hoisted_7$a = { class: "cell" };
20178
20178
  const _hoisted_8$9 = { class: "cell" };
20179
- const _hoisted_9$7 = { class: "cell" };
20180
- const _hoisted_10$7 = { class: "cell" };
20179
+ const _hoisted_9$6 = { class: "cell" };
20180
+ const _hoisted_10$6 = { class: "cell" };
20181
20181
  const _hoisted_11$3 = /* @__PURE__ */ createElementVNode("td", null, null, -1);
20182
20182
  const _hoisted_12$3 = /* @__PURE__ */ createElementVNode("td", null, null, -1);
20183
20183
  function render$1b(_ctx, _cache, $props, $setup, $data, $options) {
@@ -20234,12 +20234,12 @@ function render$1b(_ctx, _cache, $props, $setup, $data, $options) {
20234
20234
  createElementVNode("td", {
20235
20235
  class: normalizeClass(["available", _ctx.getCellStyle(_ctx.startYear + 8)])
20236
20236
  }, [
20237
- createElementVNode("a", _hoisted_9$7, toDisplayString(_ctx.startYear + 8), 1)
20237
+ createElementVNode("a", _hoisted_9$6, toDisplayString(_ctx.startYear + 8), 1)
20238
20238
  ], 2),
20239
20239
  createElementVNode("td", {
20240
20240
  class: normalizeClass(["available", _ctx.getCellStyle(_ctx.startYear + 9)])
20241
20241
  }, [
20242
- createElementVNode("a", _hoisted_10$7, toDisplayString(_ctx.startYear + 9), 1)
20242
+ createElementVNode("a", _hoisted_10$6, toDisplayString(_ctx.startYear + 9), 1)
20243
20243
  ], 2),
20244
20244
  _hoisted_11$3,
20245
20245
  _hoisted_12$3
@@ -20660,8 +20660,8 @@ const _hoisted_5$i = {
20660
20660
  const _hoisted_6$d = { class: "el-date-picker__editor-wrap" };
20661
20661
  const _hoisted_7$9 = { class: "el-date-picker__editor-wrap" };
20662
20662
  const _hoisted_8$8 = ["aria-label"];
20663
- const _hoisted_9$6 = ["aria-label"];
20664
- const _hoisted_10$6 = ["aria-label"];
20663
+ const _hoisted_9$5 = ["aria-label"];
20664
+ const _hoisted_10$5 = ["aria-label"];
20665
20665
  const _hoisted_11$2 = ["aria-label"];
20666
20666
  const _hoisted_12$2 = { class: "el-picker-panel__content" };
20667
20667
  const _hoisted_13$2 = { class: "el-picker-panel__footer" };
@@ -20759,7 +20759,7 @@ function render$1a(_ctx, _cache, $props, $setup, $data, $options) {
20759
20759
  ]),
20760
20760
  _: 1
20761
20761
  })
20762
- ], 8, _hoisted_9$6), [
20762
+ ], 8, _hoisted_9$5), [
20763
20763
  [vShow, _ctx.currentView === "date"]
20764
20764
  ]),
20765
20765
  createElementVNode("span", {
@@ -20786,7 +20786,7 @@ function render$1a(_ctx, _cache, $props, $setup, $data, $options) {
20786
20786
  ]),
20787
20787
  _: 1
20788
20788
  })
20789
- ], 8, _hoisted_10$6),
20789
+ ], 8, _hoisted_10$5),
20790
20790
  withDirectives(createElementVNode("button", {
20791
20791
  type: "button",
20792
20792
  "aria-label": _ctx.t(`el.datepicker.nextMonth`),
@@ -21295,8 +21295,8 @@ const _hoisted_5$h = {
21295
21295
  const _hoisted_6$c = { class: "el-date-range-picker__editors-wrap" };
21296
21296
  const _hoisted_7$8 = { class: "el-date-range-picker__time-picker-wrap" };
21297
21297
  const _hoisted_8$7 = { class: "el-date-range-picker__time-picker-wrap" };
21298
- const _hoisted_9$5 = { class: "el-date-range-picker__editors-wrap is-right" };
21299
- const _hoisted_10$5 = { class: "el-date-range-picker__time-picker-wrap" };
21298
+ const _hoisted_9$4 = { class: "el-date-range-picker__editors-wrap is-right" };
21299
+ const _hoisted_10$4 = { class: "el-date-range-picker__time-picker-wrap" };
21300
21300
  const _hoisted_11$1 = { class: "el-date-range-picker__time-picker-wrap" };
21301
21301
  const _hoisted_12$1 = { class: "el-picker-panel__content el-date-range-picker__content is-left" };
21302
21302
  const _hoisted_13$1 = { class: "el-date-range-picker__header" };
@@ -21386,8 +21386,8 @@ function render$19(_ctx, _cache, $props, $setup, $data, $options) {
21386
21386
  _: 1
21387
21387
  })
21388
21388
  ]),
21389
- createElementVNode("span", _hoisted_9$5, [
21390
- createElementVNode("span", _hoisted_10$5, [
21389
+ createElementVNode("span", _hoisted_9$4, [
21390
+ createElementVNode("span", _hoisted_10$4, [
21391
21391
  createVNode(_component_el_input, {
21392
21392
  size: "small",
21393
21393
  class: "el-date-range-picker__editor",
@@ -21770,8 +21770,8 @@ const _hoisted_5$g = { class: "el-picker-panel__content el-date-range-picker__co
21770
21770
  const _hoisted_6$b = { class: "el-date-range-picker__header" };
21771
21771
  const _hoisted_7$7 = ["disabled"];
21772
21772
  const _hoisted_8$6 = { class: "el-picker-panel__content el-date-range-picker__content is-right" };
21773
- const _hoisted_9$4 = { class: "el-date-range-picker__header" };
21774
- const _hoisted_10$4 = ["disabled"];
21773
+ const _hoisted_9$3 = { class: "el-date-range-picker__header" };
21774
+ const _hoisted_10$3 = ["disabled"];
21775
21775
  function render$18(_ctx, _cache, $props, $setup, $data, $options) {
21776
21776
  const _component_d_arrow_left = resolveComponent("d-arrow-left");
21777
21777
  const _component_el_icon = resolveComponent("el-icon");
@@ -21840,7 +21840,7 @@ function render$18(_ctx, _cache, $props, $setup, $data, $options) {
21840
21840
  }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "onChangerange", "onPick", "onSelect"])
21841
21841
  ]),
21842
21842
  createElementVNode("div", _hoisted_8$6, [
21843
- createElementVNode("div", _hoisted_9$4, [
21843
+ createElementVNode("div", _hoisted_9$3, [
21844
21844
  _ctx.unlinkPanels ? (openBlock(), createElementBlock("button", {
21845
21845
  key: 0,
21846
21846
  type: "button",
@@ -21854,7 +21854,7 @@ function render$18(_ctx, _cache, $props, $setup, $data, $options) {
21854
21854
  ]),
21855
21855
  _: 1
21856
21856
  })
21857
- ], 10, _hoisted_10$4)) : createCommentVNode("v-if", true),
21857
+ ], 10, _hoisted_10$3)) : createCommentVNode("v-if", true),
21858
21858
  createElementVNode("button", {
21859
21859
  type: "button",
21860
21860
  class: "el-picker-panel__icon-btn d-arrow-right",
@@ -24132,11 +24132,11 @@ const _hoisted_8$5 = /* @__PURE__ */ createElementVNode("stop", {
24132
24132
  "stop-color": "#E9EBEF",
24133
24133
  offset: "100%"
24134
24134
  }, null, -1);
24135
- const _hoisted_9$3 = [
24135
+ const _hoisted_9$2 = [
24136
24136
  _hoisted_7$6,
24137
24137
  _hoisted_8$5
24138
24138
  ];
24139
- const _hoisted_10$3 = ["id"];
24139
+ const _hoisted_10$2 = ["id"];
24140
24140
  const _hoisted_11 = {
24141
24141
  id: "Illustrations",
24142
24142
  stroke: "none",
@@ -24216,14 +24216,14 @@ function render$U(_ctx, _cache, $props, $setup, $data, $options) {
24216
24216
  y1: "9.5%",
24217
24217
  x2: "100%",
24218
24218
  y2: "90.5%"
24219
- }, _hoisted_9$3, 8, _hoisted_6$a),
24219
+ }, _hoisted_9$2, 8, _hoisted_6$a),
24220
24220
  createElementVNode("rect", {
24221
24221
  id: `path-3-${_ctx.id}`,
24222
24222
  x: "0",
24223
24223
  y: "0",
24224
24224
  width: "17",
24225
24225
  height: "36"
24226
- }, null, 8, _hoisted_10$3)
24226
+ }, null, 8, _hoisted_10$2)
24227
24227
  ]),
24228
24228
  createElementVNode("g", _hoisted_11, [
24229
24229
  createElementVNode("g", _hoisted_12, [
@@ -33139,7 +33139,7 @@ const ACCESS_ESTIMATED_SIZE_KEY_MAP = {
33139
33139
  column: getEstimatedTotalWidth,
33140
33140
  row: getEstimatedTotalHeight
33141
33141
  };
33142
- const getOffset = (props, index, alignment, scrollOffset, cache, type, scrollBarWidth) => {
33142
+ const getOffset$1 = (props, index, alignment, scrollOffset, cache, type, scrollBarWidth) => {
33143
33143
  const [size, estimatedSizeAssociates] = [
33144
33144
  type === "row" ? props.height : props.width,
33145
33145
  ACCESS_ESTIMATED_SIZE_KEY_MAP[type]
@@ -33189,8 +33189,8 @@ const FixedSizeGrid = createGrid$1({
33189
33189
  const item = getItemFromCache(props, idx, cache, "row");
33190
33190
  return [item.size, item.offset];
33191
33191
  },
33192
- getColumnOffset: (props, columnIndex, alignment, scrollLeft, cache, scrollBarWidth) => getOffset(props, columnIndex, alignment, scrollLeft, cache, "column", scrollBarWidth),
33193
- getRowOffset: (props, rowIndex, alignment, scrollTop, cache, scrollBarWidth) => getOffset(props, rowIndex, alignment, scrollTop, cache, "row", scrollBarWidth),
33192
+ getColumnOffset: (props, columnIndex, alignment, scrollLeft, cache, scrollBarWidth) => getOffset$1(props, columnIndex, alignment, scrollLeft, cache, "column", scrollBarWidth),
33193
+ getRowOffset: (props, rowIndex, alignment, scrollTop, cache, scrollBarWidth) => getOffset$1(props, rowIndex, alignment, scrollTop, cache, "row", scrollBarWidth),
33194
33194
  getColumnStartIndexForOffset: (props, scrollLeft, cache) => findItem(props, cache, scrollLeft, "column"),
33195
33195
  getColumnStopIndexForStartIndex: (props, startIndex, scrollLeft, cache) => {
33196
33196
  const item = getItemFromCache(props, startIndex, cache, "column");
@@ -34357,8 +34357,8 @@ const _hoisted_5$7 = ["textContent"];
34357
34357
  const _hoisted_6$6 = { class: "el-select-v2__selected-item el-select-v2__input-wrapper" };
34358
34358
  const _hoisted_7$4 = ["id", "aria-labelledby", "aria-expanded", "autocomplete", "disabled", "name", "readonly", "unselectable"];
34359
34359
  const _hoisted_8$4 = ["textContent"];
34360
- const _hoisted_9$2 = { class: "el-select-v2__suffix" };
34361
- const _hoisted_10$2 = { class: "el-select-v2__empty" };
34360
+ const _hoisted_9$1 = { class: "el-select-v2__suffix" };
34361
+ const _hoisted_10$1 = { class: "el-select-v2__empty" };
34362
34362
  function render$r(_ctx, _cache, $props, $setup, $data, $options) {
34363
34363
  const _component_el_tag = resolveComponent("el-tag");
34364
34364
  const _component_el_icon = resolveComponent("el-icon");
@@ -34565,7 +34565,7 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
34565
34565
  "is-transparent": _ctx.states.isComposing || (_ctx.placeholder && _ctx.multiple ? _ctx.modelValue.length === 0 : !_ctx.hasModelValue)
34566
34566
  })
34567
34567
  }, toDisplayString(_ctx.currentPlaceholder), 3)) : createCommentVNode("v-if", true),
34568
- createElementVNode("span", _hoisted_9$2, [
34568
+ createElementVNode("span", _hoisted_9$1, [
34569
34569
  _ctx.iconComponent ? withDirectives((openBlock(), createBlock(_component_el_icon, {
34570
34570
  key: 0,
34571
34571
  class: normalizeClass(["el-select-v2__caret", "el-input__icon", _ctx.iconReverse])
@@ -34613,7 +34613,7 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
34613
34613
  ]),
34614
34614
  empty: withCtx(() => [
34615
34615
  renderSlot(_ctx.$slots, "empty", {}, () => [
34616
- createElementVNode("p", _hoisted_10$2, toDisplayString(_ctx.emptyText ? _ctx.emptyText : ""), 1)
34616
+ createElementVNode("p", _hoisted_10$1, toDisplayString(_ctx.emptyText ? _ctx.emptyText : ""), 1)
34617
34617
  ])
34618
34618
  ]),
34619
34619
  _: 3
@@ -36675,6 +36675,87 @@ function createTablePopper(trigger, popperContent, popperOptions, tooltipEffect)
36675
36675
  on(trigger, "mouseleave", removePopper);
36676
36676
  return popperInstance;
36677
36677
  }
36678
+ const isFixedColumn = (index, fixed, store, realColumns) => {
36679
+ let start = 0;
36680
+ let after = index;
36681
+ if (realColumns) {
36682
+ for (let i = 0; i < index; i++) {
36683
+ start += realColumns[i].colSpan;
36684
+ }
36685
+ after = start + realColumns[index].colSpan - 1;
36686
+ } else {
36687
+ start = index;
36688
+ }
36689
+ let fixedLayout;
36690
+ const columns = store.states.columns;
36691
+ switch (fixed) {
36692
+ case "left":
36693
+ if (after < store.states.fixedLeafColumnsLength.value) {
36694
+ fixedLayout = "left";
36695
+ }
36696
+ break;
36697
+ case "right":
36698
+ if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
36699
+ fixedLayout = "right";
36700
+ }
36701
+ break;
36702
+ default:
36703
+ if (after < store.states.fixedLeafColumnsLength.value) {
36704
+ fixedLayout = "left";
36705
+ } else if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
36706
+ fixedLayout = "right";
36707
+ }
36708
+ }
36709
+ return fixedLayout ? {
36710
+ direction: fixedLayout,
36711
+ start,
36712
+ after
36713
+ } : {};
36714
+ };
36715
+ const getFixedColumnsClass = (index, fixed, store, realColumns) => {
36716
+ const classes = [];
36717
+ const { direction, start } = isFixedColumn(index, fixed, store, realColumns);
36718
+ if (direction) {
36719
+ const isLeft = direction === "left";
36720
+ classes.push(`el-table-fixed-column--${direction}`);
36721
+ if (isLeft && start === store.states.fixedLeafColumnsLength.value - 1) {
36722
+ classes.push("is-last-column");
36723
+ } else if (!isLeft && start === store.states.columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
36724
+ classes.push("is-first-column");
36725
+ }
36726
+ }
36727
+ return classes;
36728
+ };
36729
+ function getOffset(offset, column) {
36730
+ return offset + (Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth);
36731
+ }
36732
+ const getFixedColumnOffset = (index, fixed, store, realColumns) => {
36733
+ const { direction, start = 0 } = isFixedColumn(index, fixed, store, realColumns);
36734
+ if (!direction) {
36735
+ return;
36736
+ }
36737
+ const styles = {};
36738
+ const isLeft = direction === "left";
36739
+ const columns = store.states.columns.value;
36740
+ if (isLeft) {
36741
+ styles.left = columns.slice(0, index).reduce(getOffset, 0);
36742
+ } else {
36743
+ styles.right = columns.slice(start + 1).reverse().reduce(getOffset, 0);
36744
+ }
36745
+ return styles;
36746
+ };
36747
+ const ensureRightFixedStyle = (style, hasGutter) => {
36748
+ if (hasGutter && style && !Number.isNaN(style.right)) {
36749
+ style.right += scrollbarWidth();
36750
+ }
36751
+ };
36752
+ const ensurePosition = (style, key) => {
36753
+ if (!style)
36754
+ return;
36755
+ if (!Number.isNaN(style[key])) {
36756
+ style[key] = `${style[key]}px`;
36757
+ }
36758
+ };
36678
36759
 
36679
36760
  function useExpand(watcherData) {
36680
36761
  const instance = getCurrentInstance();
@@ -37660,6 +37741,7 @@ class TableLayout {
37660
37741
  this.footerHeight = ref(44);
37661
37742
  this.viewportHeight = ref(null);
37662
37743
  this.bodyHeight = ref(null);
37744
+ this.bodyScrollHeight = ref(0);
37663
37745
  this.fixedBodyHeight = ref(null);
37664
37746
  this.gutterWidth = scrollbarWidth();
37665
37747
  for (const name in options) {
@@ -37729,9 +37811,10 @@ class TableLayout {
37729
37811
  return flattenColumns;
37730
37812
  }
37731
37813
  updateElsHeight() {
37814
+ var _a;
37732
37815
  if (!this.table.$ready)
37733
37816
  return nextTick(() => this.updateElsHeight());
37734
- const { headerWrapper, appendWrapper, footerWrapper } = this.table.refs;
37817
+ const { headerWrapper, appendWrapper, footerWrapper, bodyWrapper } = this.table.refs;
37735
37818
  this.appendHeight.value = appendWrapper ? appendWrapper.offsetHeight : 0;
37736
37819
  if (this.showHeader && !headerWrapper)
37737
37820
  return;
@@ -37744,7 +37827,11 @@ class TableLayout {
37744
37827
  const tableHeight = this.tableHeight.value = this.table.vnode.el.clientHeight;
37745
37828
  const footerHeight = this.footerHeight.value = footerWrapper ? footerWrapper.offsetHeight : 0;
37746
37829
  if (this.height.value !== null) {
37830
+ if (this.bodyHeight.value === null) {
37831
+ requestAnimationFrame(() => this.updateElsHeight());
37832
+ }
37747
37833
  this.bodyHeight.value = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
37834
+ this.bodyScrollHeight.value = (_a = bodyWrapper.querySelector(".el-table__body")) == null ? void 0 : _a.scrollHeight;
37748
37835
  }
37749
37836
  this.fixedBodyHeight.value = this.scrollX.value ? this.bodyHeight.value - this.gutterWidth : this.bodyHeight.value;
37750
37837
  this.viewportHeight.value = this.scrollX.value ? tableHeight - this.gutterWidth : tableHeight;
@@ -38361,21 +38448,6 @@ function useEvent(props, emit) {
38361
38448
  function useStyle$2(props) {
38362
38449
  const instance = getCurrentInstance();
38363
38450
  const parent = instance.parent;
38364
- const storeData = parent.store.states;
38365
- const isCellHidden = (index, columns) => {
38366
- let start = 0;
38367
- for (let i = 0; i < index; i++) {
38368
- start += columns[i].colSpan;
38369
- }
38370
- const after = start + columns[index].colSpan - 1;
38371
- if (props.fixed === "left") {
38372
- return after >= storeData.fixedLeafColumnsLength.value;
38373
- } else if (props.fixed === "right") {
38374
- return start < storeData.columns.value.length - storeData.rightFixedLeafColumnsLength.value;
38375
- } else {
38376
- return after < storeData.fixedLeafColumnsLength.value || start >= storeData.columns.value.length - storeData.rightFixedLeafColumnsLength.value;
38377
- }
38378
- };
38379
38451
  const getHeaderRowStyle = (rowIndex) => {
38380
38452
  const headerRowStyle = parent.props.headerRowStyle;
38381
38453
  if (typeof headerRowStyle === "function") {
@@ -38393,29 +38465,33 @@ function useStyle$2(props) {
38393
38465
  }
38394
38466
  return classes.join(" ");
38395
38467
  };
38396
- const getHeaderCellStyle = (rowIndex, columnIndex, row, column) => {
38397
- const headerCellStyle = parent.props.headerCellStyle;
38398
- if (typeof headerCellStyle === "function") {
38399
- return headerCellStyle.call(null, {
38468
+ const getHeaderCellStyle = (rowIndex, columnIndex, row, column, hasGutter) => {
38469
+ var _a;
38470
+ let headerCellStyles = (_a = parent.props.headerCellStyle) != null ? _a : {};
38471
+ if (typeof headerCellStyles === "function") {
38472
+ headerCellStyles = headerCellStyles.call(null, {
38400
38473
  rowIndex,
38401
38474
  columnIndex,
38402
38475
  row,
38403
38476
  column
38404
38477
  });
38405
38478
  }
38406
- return headerCellStyle;
38479
+ const fixedStyle = getFixedColumnOffset(columnIndex, column.fixed, props.store, row);
38480
+ ensureRightFixedStyle(fixedStyle, hasGutter);
38481
+ ensurePosition(fixedStyle, "left");
38482
+ ensurePosition(fixedStyle, "right");
38483
+ return Object.assign({}, headerCellStyles, fixedStyle);
38407
38484
  };
38408
38485
  const getHeaderCellClass = (rowIndex, columnIndex, row, column) => {
38486
+ const fixedClasses = column.isSubColumn ? [] : getFixedColumnsClass(columnIndex, column.fixed, props.store, row);
38409
38487
  const classes = [
38410
38488
  column.id,
38411
38489
  column.order,
38412
38490
  column.headerAlign,
38413
38491
  column.className,
38414
- column.labelClassName
38492
+ column.labelClassName,
38493
+ ...fixedClasses
38415
38494
  ];
38416
- if (rowIndex === 0 && isCellHidden(columnIndex, row)) {
38417
- classes.push("is-hidden");
38418
- }
38419
38495
  if (!column.children) {
38420
38496
  classes.push("is-leaf");
38421
38497
  }
@@ -38490,6 +38566,7 @@ const convertToRows = (originColumns) => {
38490
38566
  column.rowSpan = maxLevel - column.level + 1;
38491
38567
  } else {
38492
38568
  column.rowSpan = 1;
38569
+ column.children.forEach((col) => col.isSubColumn = true);
38493
38570
  }
38494
38571
  rows[column.level - 1].push(column);
38495
38572
  });
@@ -38550,7 +38627,10 @@ var TableHeader = defineComponent({
38550
38627
  const filterPanels = ref({});
38551
38628
  const { tableLayout, onColumnsChange, onScrollableChange } = useLayoutObserver(parent);
38552
38629
  const hasGutter = computed(() => {
38553
- return !props.fixed && tableLayout.gutterWidth;
38630
+ return !props.fixed && tableLayout.gutterWidth > 0 && tableLayout.bodyScrollHeight.value > tableLayout.bodyHeight.value;
38631
+ });
38632
+ const gutterWidth = computed(() => {
38633
+ return tableLayout.gutterWidth;
38554
38634
  });
38555
38635
  onMounted(() => {
38556
38636
  nextTick(() => {
@@ -38584,6 +38664,7 @@ var TableHeader = defineComponent({
38584
38664
  columns: storeData.columns,
38585
38665
  filterPanels,
38586
38666
  hasGutter,
38667
+ gutterWidth,
38587
38668
  onColumnsChange,
38588
38669
  onScrollableChange,
38589
38670
  columnRows,
@@ -38603,67 +38684,101 @@ var TableHeader = defineComponent({
38603
38684
  };
38604
38685
  },
38605
38686
  render() {
38687
+ const {
38688
+ columns,
38689
+ isGroup,
38690
+ hasGutter,
38691
+ columnRows,
38692
+ gutterWidth,
38693
+ getHeaderCellStyle,
38694
+ getHeaderCellClass,
38695
+ getHeaderRowClass,
38696
+ getHeaderRowStyle,
38697
+ handleHeaderClick,
38698
+ handleHeaderContextMenu,
38699
+ handleMouseDown,
38700
+ handleMouseMove,
38701
+ handleSortClick,
38702
+ handleMouseOut,
38703
+ store,
38704
+ $parent
38705
+ } = this;
38706
+ let rowSpan = 1;
38606
38707
  return h$1("table", {
38607
38708
  border: "0",
38608
38709
  cellpadding: "0",
38609
38710
  cellspacing: "0",
38610
38711
  class: "el-table__header"
38611
38712
  }, [
38612
- hColgroup(this.columns, this.hasGutter),
38713
+ hColgroup(columns, hasGutter),
38613
38714
  h$1("thead", {
38614
- class: { "is-group": this.isGroup, "has-gutter": this.hasGutter }
38615
- }, this.columnRows.map((subColumns, rowIndex) => h$1("tr", {
38616
- class: this.getHeaderRowClass(rowIndex),
38715
+ class: { "is-group": isGroup, "has-gutter": hasGutter }
38716
+ }, columnRows.map((subColumns, rowIndex) => h$1("tr", {
38717
+ class: getHeaderRowClass(rowIndex),
38617
38718
  key: rowIndex,
38618
- style: this.getHeaderRowStyle(rowIndex)
38619
- }, subColumns.map((column, cellIndex) => h$1("th", {
38620
- class: this.getHeaderCellClass(rowIndex, cellIndex, subColumns, column),
38621
- colspan: column.colSpan,
38622
- key: `${column.id}-thead`,
38623
- rowSpan: column.rowSpan,
38624
- style: this.getHeaderCellStyle(rowIndex, cellIndex, subColumns, column),
38625
- onClick: ($event) => this.handleHeaderClick($event, column),
38626
- onContextmenu: ($event) => this.handleHeaderContextMenu($event, column),
38627
- onMousedown: ($event) => this.handleMouseDown($event, column),
38628
- onMousemove: ($event) => this.handleMouseMove($event, column),
38629
- onMouseout: this.handleMouseOut
38630
- }, [
38631
- h$1("div", {
38632
- class: [
38633
- "cell",
38634
- column.filteredValue && column.filteredValue.length > 0 ? "highlight" : "",
38635
- column.labelClassName
38636
- ]
38719
+ style: getHeaderRowStyle(rowIndex)
38720
+ }, subColumns.map((column, cellIndex) => {
38721
+ if (column.rowSpan > rowSpan) {
38722
+ rowSpan = column.rowSpan;
38723
+ }
38724
+ return h$1("th", {
38725
+ class: getHeaderCellClass(rowIndex, cellIndex, subColumns, column),
38726
+ colspan: column.colSpan,
38727
+ key: `${column.id}-thead`,
38728
+ rowSpan: column.rowSpan,
38729
+ style: getHeaderCellStyle(rowIndex, cellIndex, subColumns, column, hasGutter),
38730
+ onClick: ($event) => handleHeaderClick($event, column),
38731
+ onContextmenu: ($event) => handleHeaderContextMenu($event, column),
38732
+ onMousedown: ($event) => handleMouseDown($event, column),
38733
+ onMousemove: ($event) => handleMouseMove($event, column),
38734
+ onMouseout: handleMouseOut
38637
38735
  }, [
38638
- column.renderHeader ? column.renderHeader({
38639
- column,
38640
- $index: cellIndex,
38641
- store: this.store,
38642
- _self: this.$parent
38643
- }) : column.label,
38644
- column.sortable && h$1("span", {
38645
- onClick: ($event) => this.handleSortClick($event, column),
38646
- class: "caret-wrapper"
38736
+ h$1("div", {
38737
+ class: [
38738
+ "cell",
38739
+ column.filteredValue && column.filteredValue.length > 0 ? "highlight" : "",
38740
+ column.labelClassName
38741
+ ]
38647
38742
  }, [
38648
- h$1("i", {
38649
- onClick: ($event) => this.handleSortClick($event, column, "ascending"),
38650
- class: "sort-caret ascending"
38651
- }),
38652
- h$1("i", {
38653
- onClick: ($event) => this.handleSortClick($event, column, "descending"),
38654
- class: "sort-caret descending"
38743
+ column.renderHeader ? column.renderHeader({
38744
+ column,
38745
+ $index: cellIndex,
38746
+ store,
38747
+ _self: $parent
38748
+ }) : column.label,
38749
+ column.sortable && h$1("span", {
38750
+ onClick: ($event) => handleSortClick($event, column),
38751
+ class: "caret-wrapper"
38752
+ }, [
38753
+ h$1("i", {
38754
+ onClick: ($event) => handleSortClick($event, column, "ascending"),
38755
+ class: "sort-caret ascending"
38756
+ }),
38757
+ h$1("i", {
38758
+ onClick: ($event) => handleSortClick($event, column, "descending"),
38759
+ class: "sort-caret descending"
38760
+ })
38761
+ ]),
38762
+ column.filterable && h$1(script$k, {
38763
+ store: $parent.store,
38764
+ placement: column.filterPlacement || "bottom-start",
38765
+ column,
38766
+ upDataColumn: (key, value) => {
38767
+ column[key] = value;
38768
+ }
38655
38769
  })
38656
- ]),
38657
- column.filterable && h$1(script$k, {
38658
- store: this.$parent.store,
38659
- placement: column.filterPlacement || "bottom-start",
38660
- column,
38661
- upDataColumn: (key, value) => {
38662
- column[key] = value;
38663
- }
38664
- })
38665
- ])
38666
- ])))))
38770
+ ])
38771
+ ]);
38772
+ }).concat(hasGutter && rowIndex === 0 ? [
38773
+ h$1("th", {
38774
+ class: "el-table__fixed-right-patch el-table__cell",
38775
+ key: `el-table--scrollbar`,
38776
+ rowSpan,
38777
+ style: {
38778
+ width: `${gutterWidth}px`
38779
+ }
38780
+ }, [])
38781
+ ] : []))))
38667
38782
  ]);
38668
38783
  }
38669
38784
  });
@@ -38752,15 +38867,6 @@ function useEvents(props) {
38752
38867
  function useStyles(props) {
38753
38868
  const instance = getCurrentInstance();
38754
38869
  const parent = instance.parent;
38755
- const isColumnHidden = (index) => {
38756
- if (props.fixed === "left") {
38757
- return index >= props.store.states.fixedLeafColumnsLength.value;
38758
- } else if (props.fixed === "right") {
38759
- return index < props.store.states.columns.value.length - props.store.states.rightFixedLeafColumnsLength.value;
38760
- } else {
38761
- return index < props.store.states.fixedLeafColumnsLength.value || index >= props.store.states.columns.value.length - props.store.states.rightFixedLeafColumnsLength.value;
38762
- }
38763
- };
38764
38870
  const getRowStyle = (row, rowIndex) => {
38765
38871
  const rowStyle = parent.props.rowStyle;
38766
38872
  if (typeof rowStyle === "function") {
@@ -38795,21 +38901,23 @@ function useStyles(props) {
38795
38901
  };
38796
38902
  const getCellStyle = (rowIndex, columnIndex, row, column) => {
38797
38903
  const cellStyle = parent.props.cellStyle;
38904
+ let cellStyles = cellStyle != null ? cellStyle : {};
38798
38905
  if (typeof cellStyle === "function") {
38799
- return cellStyle.call(null, {
38906
+ cellStyles = cellStyle.call(null, {
38800
38907
  rowIndex,
38801
38908
  columnIndex,
38802
38909
  row,
38803
38910
  column
38804
38911
  });
38805
38912
  }
38806
- return cellStyle;
38913
+ const fixedStyle = getFixedColumnOffset(columnIndex, props.fixed, props.store);
38914
+ ensurePosition(fixedStyle, "left");
38915
+ ensurePosition(fixedStyle, "right");
38916
+ return Object.assign({}, cellStyles, fixedStyle);
38807
38917
  };
38808
38918
  const getCellClass = (rowIndex, columnIndex, row, column) => {
38809
- const classes = [column.id, column.align, column.className];
38810
- if (isColumnHidden(columnIndex)) {
38811
- classes.push("is-hidden");
38812
- }
38919
+ const fixedClasses = column.isSubColumn ? [] : getFixedColumnsClass(columnIndex, props.fixed, props.store);
38920
+ const classes = [column.id, column.align, column.className, ...fixedClasses];
38813
38921
  const cellClassName = parent.props.cellClassName;
38814
38922
  if (typeof cellClassName === "string") {
38815
38923
  classes.push(cellClassName);
@@ -38858,8 +38966,7 @@ function useStyles(props) {
38858
38966
  getCellStyle,
38859
38967
  getCellClass,
38860
38968
  getSpan,
38861
- getColspanRealWidth,
38862
- isColumnHidden
38969
+ getColspanRealWidth
38863
38970
  };
38864
38971
  }
38865
38972
 
@@ -39124,17 +39231,19 @@ var TableBody = defineComponent({
39124
39231
  };
39125
39232
  },
39126
39233
  render() {
39127
- const data = this.store.states.data.value || [];
39234
+ const { wrappedRowRender, store } = this;
39235
+ const data = store.states.data.value || [];
39236
+ const columns = store.states.columns.value;
39128
39237
  return h$1("table", {
39129
39238
  class: "el-table__body",
39130
39239
  cellspacing: "0",
39131
39240
  cellpadding: "0",
39132
39241
  border: "0"
39133
39242
  }, [
39134
- hColgroup(this.store.states.columns.value),
39243
+ hColgroup(columns),
39135
39244
  h$1("tbody", {}, [
39136
39245
  data.reduce((acc, row) => {
39137
- return acc.concat(this.wrappedRowRender(row, acc.length));
39246
+ return acc.concat(wrappedRowRender(row, acc.length));
39138
39247
  }, [])
39139
39248
  ])
39140
39249
  ]);
@@ -39173,49 +39282,45 @@ function useMapState() {
39173
39282
  function useStyle$1(props) {
39174
39283
  const instance = getCurrentInstance();
39175
39284
  const table = instance.parent;
39176
- const store = table.store;
39177
- const {
39178
- leftFixedLeafCount,
39179
- rightFixedLeafCount,
39180
- columnsCount,
39181
- leftFixedCount,
39182
- rightFixedCount,
39183
- columns
39184
- } = useMapState();
39285
+ const { columns } = useMapState();
39185
39286
  const hasGutter = computed(() => {
39186
- return !props.fixed && !table.layout.gutterWidth;
39287
+ return !props.fixed && table.layout.gutterWidth > 0 && table.layout.height.value && table.layout.bodyScrollHeight.value > table.layout.bodyHeight.value;
39187
39288
  });
39188
- const isCellHidden = (index, columns2, column) => {
39189
- if (props.fixed || props.fixed === "left") {
39190
- return index >= leftFixedLeafCount.value;
39191
- } else if (props.fixed === "right") {
39192
- let before = 0;
39193
- for (let i = 0; i < index; i++) {
39194
- before += columns2[i].colSpan;
39195
- }
39196
- return before < columnsCount.value - rightFixedLeafCount.value;
39197
- } else if (!props.fixed && column.fixed) {
39198
- return true;
39199
- } else {
39200
- return index < leftFixedCount.value || index >= columnsCount.value - rightFixedCount.value;
39201
- }
39202
- };
39203
- const getRowClasses = (column, cellIndex) => {
39204
- const classes = [column.id, column.align, column.labelClassName];
39289
+ const gutterWidth = computed(() => {
39290
+ return table.layout.gutterWidth;
39291
+ });
39292
+ const getCellClasses = (columns2, cellIndex, hasGutter2) => {
39293
+ const column = columns2[cellIndex];
39294
+ const classes = [
39295
+ "el-table__cell",
39296
+ column.id,
39297
+ column.align,
39298
+ column.labelClassName,
39299
+ ...getFixedColumnsClass(cellIndex, column.fixed, props.store)
39300
+ ];
39205
39301
  if (column.className) {
39206
39302
  classes.push(column.className);
39207
39303
  }
39208
- if (isCellHidden(cellIndex, store.states.columns.value, column)) {
39209
- classes.push("is-hidden");
39210
- }
39211
39304
  if (!column.children) {
39212
39305
  classes.push("is-leaf");
39213
39306
  }
39307
+ if (hasGutter2 && cellIndex === columns2.length - 1) {
39308
+ classes.push("last");
39309
+ }
39214
39310
  return classes;
39215
39311
  };
39312
+ const getCellStyles = (column, cellIndex, hasGutter2) => {
39313
+ const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, props.store);
39314
+ ensureRightFixedStyle(fixedStyle, hasGutter2);
39315
+ ensurePosition(fixedStyle, "left");
39316
+ ensurePosition(fixedStyle, "right");
39317
+ return fixedStyle;
39318
+ };
39216
39319
  return {
39217
39320
  hasGutter,
39218
- getRowClasses,
39321
+ gutterWidth,
39322
+ getCellClasses,
39323
+ getCellStyles,
39219
39324
  columns
39220
39325
  };
39221
39326
  }
@@ -39245,27 +39350,39 @@ var TableFooter = defineComponent({
39245
39350
  }
39246
39351
  },
39247
39352
  setup(props) {
39248
- const { hasGutter, getRowClasses, columns } = useStyle$1(props);
39353
+ const { hasGutter, getCellClasses, getCellStyles, columns, gutterWidth } = useStyle$1(props);
39249
39354
  return {
39250
- getRowClasses,
39355
+ getCellClasses,
39356
+ getCellStyles,
39251
39357
  hasGutter,
39358
+ gutterWidth,
39252
39359
  columns
39253
39360
  };
39254
39361
  },
39255
39362
  render() {
39363
+ const {
39364
+ hasGutter,
39365
+ gutterWidth,
39366
+ columns,
39367
+ getCellStyles,
39368
+ getCellClasses,
39369
+ summaryMethod,
39370
+ sumText
39371
+ } = this;
39372
+ const data = this.store.states.data.value;
39256
39373
  let sums = [];
39257
- if (this.summaryMethod) {
39258
- sums = this.summaryMethod({
39259
- columns: this.columns,
39260
- data: this.store.states.data.value
39374
+ if (summaryMethod) {
39375
+ sums = summaryMethod({
39376
+ columns,
39377
+ data
39261
39378
  });
39262
39379
  } else {
39263
- this.columns.forEach((column, index) => {
39380
+ columns.forEach((column, index) => {
39264
39381
  if (index === 0) {
39265
- sums[index] = this.sumText;
39382
+ sums[index] = sumText;
39266
39383
  return;
39267
39384
  }
39268
- const values = this.store.states.data.value.map((item) => Number(item[column.property]));
39385
+ const values = data.map((item) => Number(item[column.property]));
39269
39386
  const precisions = [];
39270
39387
  let notNumber = true;
39271
39388
  values.forEach((value) => {
@@ -39296,25 +39413,28 @@ var TableFooter = defineComponent({
39296
39413
  cellpadding: "0",
39297
39414
  border: "0"
39298
39415
  }, [
39299
- hColgroup(this.columns, this.hasGutter),
39416
+ hColgroup(columns, hasGutter),
39300
39417
  h$1("tbody", {
39301
- class: [{ "has-gutter": this.hasGutter }]
39418
+ class: [{ "has-gutter": hasGutter }]
39302
39419
  }, [
39303
39420
  h$1("tr", {}, [
39304
- ...this.columns.map((column, cellIndex) => h$1("td", {
39421
+ ...columns.map((column, cellIndex) => h$1("td", {
39305
39422
  key: cellIndex,
39306
39423
  colspan: column.colSpan,
39307
39424
  rowspan: column.rowSpan,
39308
- class: [
39309
- ...this.getRowClasses(column, cellIndex),
39310
- "el-table__cell"
39311
- ]
39425
+ class: getCellClasses(columns, cellIndex, hasGutter),
39426
+ style: getCellStyles(column, cellIndex, hasGutter)
39312
39427
  }, [
39313
39428
  h$1("div", {
39314
39429
  class: ["cell", column.labelClassName]
39315
39430
  }, [sums[cellIndex]])
39316
39431
  ])),
39317
- this.hasGutter && hGutter()
39432
+ hasGutter && h$1("td", {
39433
+ class: "el-table__fixed-right-patch el-table__cell",
39434
+ style: {
39435
+ width: `${gutterWidth}px`
39436
+ }
39437
+ })
39318
39438
  ])
39319
39439
  ])
39320
39440
  ]);
@@ -39409,6 +39529,17 @@ function useStyle(props, layout, store, table) {
39409
39529
  const shouldUpdateHeight = computed(() => {
39410
39530
  return props.height || props.maxHeight || store.states.fixedColumns.value.length > 0 || store.states.rightFixedColumns.value.length > 0;
39411
39531
  });
39532
+ const tableBodyStyles = computed(() => {
39533
+ return {
39534
+ width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : ""
39535
+ };
39536
+ });
39537
+ const borderBottomPatchStyles = computed(() => {
39538
+ return {
39539
+ bottom: `${layout.gutterWidth}px`,
39540
+ right: `${layout.gutterWidth}px`
39541
+ };
39542
+ });
39412
39543
  const doLayout = () => {
39413
39544
  if (shouldUpdateHeight.value) {
39414
39545
  layout.updateElsHeight();
@@ -39445,27 +39576,18 @@ function useStyle(props, layout, store, table) {
39445
39576
  el.className = classList.join(" ");
39446
39577
  };
39447
39578
  const setScrollClass = (className) => {
39448
- const { bodyWrapper } = table.refs;
39449
- setScrollClassByEl(bodyWrapper, className);
39579
+ const { tableWrapper } = table.refs;
39580
+ setScrollClassByEl(tableWrapper, className);
39450
39581
  };
39451
- const syncPostion = throttle$1(function() {
39582
+ const syncPostion = function() {
39452
39583
  if (!table.refs.bodyWrapper)
39453
39584
  return;
39454
- const { scrollLeft, scrollTop, offsetWidth, scrollWidth } = table.refs.bodyWrapper;
39455
- const {
39456
- headerWrapper,
39457
- footerWrapper,
39458
- fixedBodyWrapper,
39459
- rightFixedBodyWrapper
39460
- } = table.refs;
39585
+ const { scrollLeft, offsetWidth, scrollWidth } = table.refs.bodyWrapper;
39586
+ const { headerWrapper, footerWrapper } = table.refs;
39461
39587
  if (headerWrapper)
39462
39588
  headerWrapper.scrollLeft = scrollLeft;
39463
39589
  if (footerWrapper)
39464
39590
  footerWrapper.scrollLeft = scrollLeft;
39465
- if (fixedBodyWrapper)
39466
- fixedBodyWrapper.scrollTop = scrollTop;
39467
- if (rightFixedBodyWrapper)
39468
- rightFixedBodyWrapper.scrollTop = scrollTop;
39469
39591
  const maxScrollLeftPosition = scrollWidth - offsetWidth - 1;
39470
39592
  if (scrollLeft >= maxScrollLeftPosition) {
39471
39593
  setScrollClass("is-scrolling-right");
@@ -39474,7 +39596,7 @@ function useStyle(props, layout, store, table) {
39474
39596
  } else {
39475
39597
  setScrollClass("is-scrolling-middle");
39476
39598
  }
39477
- }, 10);
39599
+ };
39478
39600
  const bindEvents = () => {
39479
39601
  table.refs.bodyWrapper.addEventListener("scroll", syncPostion, {
39480
39602
  passive: true
@@ -39626,7 +39748,9 @@ function useStyle(props, layout, store, table) {
39626
39748
  resizeProxyVisible,
39627
39749
  bodyWidth,
39628
39750
  resizeState,
39629
- doLayout
39751
+ doLayout,
39752
+ tableBodyStyles,
39753
+ borderBottomPatchStyles
39630
39754
  };
39631
39755
  }
39632
39756
 
@@ -39771,7 +39895,9 @@ var script$j = defineComponent({
39771
39895
  resizeProxyVisible,
39772
39896
  bodyWidth,
39773
39897
  resizeState,
39774
- doLayout
39898
+ doLayout,
39899
+ tableBodyStyles,
39900
+ borderBottomPatchStyles
39775
39901
  } = useStyle(props, layout, store, table);
39776
39902
  const debouncedUpdateLayout = debounce$3(doLayout, 50);
39777
39903
  const tableId = `el-table_${tableIdSeed++}`;
@@ -39782,6 +39908,10 @@ var script$j = defineComponent({
39782
39908
  doLayout,
39783
39909
  debouncedUpdateLayout
39784
39910
  };
39911
+ const computedSumText = computed(() => props.sumText || t("el.table.sumText"));
39912
+ const computedEmptyText = computed(() => {
39913
+ return props.emptyText || t("el.table.emptyText");
39914
+ });
39785
39915
  return {
39786
39916
  layout,
39787
39917
  store,
@@ -39797,7 +39927,9 @@ var script$j = defineComponent({
39797
39927
  isGroup,
39798
39928
  bodyWidth,
39799
39929
  bodyHeight,
39930
+ tableBodyStyles,
39800
39931
  emptyBlockStyle,
39932
+ borderBottomPatchStyles,
39801
39933
  debouncedUpdateLayout,
39802
39934
  handleFixedMousewheel,
39803
39935
  fixedHeight,
@@ -39813,52 +39945,39 @@ var script$j = defineComponent({
39813
39945
  sort,
39814
39946
  t,
39815
39947
  setDragVisible,
39816
- context: table
39948
+ context: table,
39949
+ computedSumText,
39950
+ computedEmptyText
39817
39951
  };
39818
39952
  }
39819
39953
  });
39820
39954
 
39821
- const _hoisted_1$d = {
39955
+ const _hoisted_1$d = { class: "el-table__inner-wrapper" };
39956
+ const _hoisted_2$a = {
39822
39957
  ref: "hiddenColumns",
39823
39958
  class: "hidden-columns"
39824
39959
  };
39825
- const _hoisted_2$a = {
39960
+ const _hoisted_3$8 = {
39826
39961
  key: 0,
39827
39962
  ref: "headerWrapper",
39828
39963
  class: "el-table__header-wrapper"
39829
39964
  };
39830
- const _hoisted_3$8 = { class: "el-table__empty-text" };
39831
- const _hoisted_4$5 = {
39965
+ const _hoisted_4$5 = { class: "el-table__empty-text" };
39966
+ const _hoisted_5$4 = {
39832
39967
  key: 1,
39833
39968
  ref: "appendWrapper",
39834
39969
  class: "el-table__append-wrapper"
39835
39970
  };
39836
- const _hoisted_5$4 = {
39837
- key: 1,
39838
- ref: "footerWrapper",
39839
- class: "el-table__footer-wrapper"
39840
- };
39841
39971
  const _hoisted_6$3 = {
39842
- key: 0,
39843
- ref: "fixedHeaderWrapper",
39844
- class: "el-table__fixed-header-wrapper"
39845
- };
39846
- const _hoisted_7$2 = {
39847
39972
  key: 1,
39848
- ref: "fixedFooterWrapper",
39849
- class: "el-table__fixed-footer-wrapper"
39973
+ class: "el-table__border-left-patch"
39850
39974
  };
39851
- const _hoisted_8$2 = {
39975
+ const _hoisted_7$2 = {
39852
39976
  key: 0,
39853
- ref: "rightFixedHeaderWrapper",
39854
- class: "el-table__fixed-header-wrapper"
39855
- };
39856
- const _hoisted_9$1 = {
39857
- key: 1,
39858
- ref: "rightFixedFooterWrapper",
39859
- class: "el-table__fixed-footer-wrapper"
39977
+ ref: "footerWrapper",
39978
+ class: "el-table__footer-wrapper"
39860
39979
  };
39861
- const _hoisted_10$1 = {
39980
+ const _hoisted_8$2 = {
39862
39981
  ref: "resizeProxy",
39863
39982
  class: "el-table__column-resize-proxy"
39864
39983
  };
@@ -39868,6 +39987,7 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
39868
39987
  const _component_table_footer = resolveComponent("table-footer");
39869
39988
  const _directive_mousewheel = resolveDirective("mousewheel");
39870
39989
  return openBlock(), createElementBlock("div", {
39990
+ ref: "tableWrapper",
39871
39991
  class: normalizeClass([
39872
39992
  {
39873
39993
  "el-table--fit": _ctx.fit,
@@ -39889,168 +40009,28 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
39889
40009
  onMouseleave: _cache[0] || (_cache[0] = ($event) => _ctx.handleMouseLeave())
39890
40010
  }, [
39891
40011
  createElementVNode("div", _hoisted_1$d, [
39892
- renderSlot(_ctx.$slots, "default")
39893
- ], 512),
39894
- _ctx.showHeader ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2$a, [
39895
- createVNode(_component_table_header, {
39896
- ref: "tableHeader",
39897
- border: _ctx.border,
39898
- "default-sort": _ctx.defaultSort,
39899
- store: _ctx.store,
39900
- style: normalizeStyle({
39901
- width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
39902
- }),
39903
- onSetDragVisible: _ctx.setDragVisible
39904
- }, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
39905
- ])), [
39906
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
39907
- ]) : createCommentVNode("v-if", true),
39908
- createElementVNode("div", {
39909
- ref: "bodyWrapper",
39910
- style: normalizeStyle([_ctx.bodyHeight]),
39911
- class: "el-table__body-wrapper"
39912
- }, [
39913
- createVNode(_component_table_body, {
39914
- context: _ctx.context,
39915
- highlight: _ctx.highlightCurrentRow,
39916
- "row-class-name": _ctx.rowClassName,
39917
- "tooltip-effect": _ctx.tooltipEffect,
39918
- "row-style": _ctx.rowStyle,
39919
- store: _ctx.store,
39920
- stripe: _ctx.stripe,
39921
- style: normalizeStyle({
39922
- width: _ctx.bodyWidth
39923
- })
39924
- }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
39925
- _ctx.isEmpty ? (openBlock(), createElementBlock("div", {
39926
- key: 0,
39927
- ref: "emptyBlock",
39928
- style: normalizeStyle(_ctx.emptyBlockStyle),
39929
- class: "el-table__empty-block"
39930
- }, [
39931
- createElementVNode("span", _hoisted_3$8, [
39932
- renderSlot(_ctx.$slots, "empty", {}, () => [
39933
- createTextVNode(toDisplayString(_ctx.emptyText || _ctx.t("el.table.emptyText")), 1)
39934
- ])
39935
- ])
39936
- ], 4)) : createCommentVNode("v-if", true),
39937
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
39938
- renderSlot(_ctx.$slots, "append")
39939
- ], 512)) : createCommentVNode("v-if", true)
39940
- ], 4),
39941
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_5$4, [
39942
- createVNode(_component_table_footer, {
39943
- border: _ctx.border,
39944
- "default-sort": _ctx.defaultSort,
39945
- store: _ctx.store,
39946
- style: normalizeStyle({
39947
- width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
39948
- }),
39949
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
39950
- "summary-method": _ctx.summaryMethod
39951
- }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
39952
- ])), [
39953
- [vShow, !_ctx.isEmpty],
39954
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
39955
- ]) : createCommentVNode("v-if", true),
39956
- _ctx.store.states.fixedColumns.value.length > 0 ? withDirectives((openBlock(), createElementBlock("div", {
39957
- key: 2,
39958
- ref: "fixedWrapper",
39959
- style: normalizeStyle([
39960
- {
39961
- width: _ctx.layout.fixedWidth.value ? _ctx.layout.fixedWidth.value + "px" : ""
39962
- },
39963
- _ctx.fixedHeight
39964
- ]),
39965
- class: "el-table__fixed"
39966
- }, [
39967
- _ctx.showHeader ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
39968
- createVNode(_component_table_header, {
39969
- ref: "fixedTableHeader",
39970
- border: _ctx.border,
39971
- store: _ctx.store,
39972
- style: normalizeStyle({
39973
- width: _ctx.bodyWidth
39974
- }),
39975
- fixed: "left",
39976
- onSetDragVisible: _ctx.setDragVisible
39977
- }, null, 8, ["border", "store", "style", "onSetDragVisible"])
39978
- ], 512)) : createCommentVNode("v-if", true),
39979
- createElementVNode("div", {
39980
- ref: "fixedBodyWrapper",
39981
- style: normalizeStyle([
39982
- {
39983
- top: _ctx.layout.headerHeight.value + "px"
39984
- },
39985
- _ctx.fixedBodyHeight
39986
- ]),
39987
- class: "el-table__fixed-body-wrapper"
39988
- }, [
39989
- createVNode(_component_table_body, {
39990
- highlight: _ctx.highlightCurrentRow,
39991
- "row-class-name": _ctx.rowClassName,
39992
- "tooltip-effect": _ctx.tooltipEffect,
39993
- "row-style": _ctx.rowStyle,
39994
- store: _ctx.store,
39995
- stripe: _ctx.stripe,
39996
- style: normalizeStyle({
39997
- width: _ctx.bodyWidth
39998
- }),
39999
- fixed: "left"
40000
- }, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
40001
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", {
40002
- key: 0,
40003
- style: normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
40004
- class: "el-table__append-gutter"
40005
- }, null, 4)) : createCommentVNode("v-if", true)
40006
- ], 4),
40007
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_7$2, [
40008
- createVNode(_component_table_footer, {
40009
- border: _ctx.border,
40010
- store: _ctx.store,
40011
- style: normalizeStyle({
40012
- width: _ctx.bodyWidth
40013
- }),
40014
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
40015
- "summary-method": _ctx.summaryMethod,
40016
- fixed: "left"
40017
- }, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
40018
- ], 512)), [
40019
- [vShow, !_ctx.isEmpty]
40020
- ]) : createCommentVNode("v-if", true)
40021
- ], 4)), [
40022
- [_directive_mousewheel, _ctx.handleFixedMousewheel]
40023
- ]) : createCommentVNode("v-if", true),
40024
- _ctx.store.states.rightFixedColumns.value.length > 0 ? withDirectives((openBlock(), createElementBlock("div", {
40025
- key: 3,
40026
- ref: "rightFixedWrapper",
40027
- style: normalizeStyle([
40028
- {
40029
- width: _ctx.layout.rightFixedWidth.value ? _ctx.layout.rightFixedWidth.value + "px" : "",
40030
- right: _ctx.layout.scrollY.value ? (_ctx.border ? _ctx.layout.gutterWidth : _ctx.layout.gutterWidth || 0) + "px" : ""
40031
- },
40032
- _ctx.fixedHeight
40033
- ]),
40034
- class: "el-table__fixed-right"
40035
- }, [
40036
- _ctx.showHeader ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
40012
+ createElementVNode("div", _hoisted_2$a, [
40013
+ renderSlot(_ctx.$slots, "default")
40014
+ ], 512),
40015
+ _ctx.showHeader ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3$8, [
40037
40016
  createVNode(_component_table_header, {
40038
- ref: "rightFixedTableHeader",
40017
+ ref: "tableHeader",
40039
40018
  border: _ctx.border,
40019
+ "default-sort": _ctx.defaultSort,
40040
40020
  store: _ctx.store,
40041
- style: normalizeStyle({
40042
- width: _ctx.bodyWidth
40043
- }),
40044
- fixed: "right",
40021
+ style: normalizeStyle(_ctx.tableBodyStyles),
40045
40022
  onSetDragVisible: _ctx.setDragVisible
40046
- }, null, 8, ["border", "store", "style", "onSetDragVisible"])
40047
- ], 512)) : createCommentVNode("v-if", true),
40023
+ }, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
40024
+ ])), [
40025
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
40026
+ ]) : createCommentVNode("v-if", true),
40048
40027
  createElementVNode("div", {
40049
- ref: "rightFixedBodyWrapper",
40050
- style: normalizeStyle([{ top: _ctx.layout.headerHeight.value + "px" }, _ctx.fixedBodyHeight]),
40051
- class: "el-table__fixed-body-wrapper"
40028
+ ref: "bodyWrapper",
40029
+ style: normalizeStyle(_ctx.bodyHeight),
40030
+ class: "el-table__body-wrapper"
40052
40031
  }, [
40053
40032
  createVNode(_component_table_body, {
40033
+ context: _ctx.context,
40054
40034
  highlight: _ctx.highlightCurrentRow,
40055
40035
  "row-class-name": _ctx.rowClassName,
40056
40036
  "tooltip-effect": _ctx.tooltipEffect,
@@ -40059,42 +40039,45 @@ function render$g(_ctx, _cache, $props, $setup, $data, $options) {
40059
40039
  stripe: _ctx.stripe,
40060
40040
  style: normalizeStyle({
40061
40041
  width: _ctx.bodyWidth
40062
- }),
40063
- fixed: "right"
40064
- }, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
40065
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", {
40042
+ })
40043
+ }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
40044
+ _ctx.isEmpty ? (openBlock(), createElementBlock("div", {
40066
40045
  key: 0,
40067
- style: normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
40068
- class: "el-table__append-gutter"
40069
- }, null, 4)) : createCommentVNode("v-if", true)
40046
+ ref: "emptyBlock",
40047
+ style: normalizeStyle(_ctx.emptyBlockStyle),
40048
+ class: "el-table__empty-block"
40049
+ }, [
40050
+ createElementVNode("span", _hoisted_4$5, [
40051
+ renderSlot(_ctx.$slots, "empty", {}, () => [
40052
+ createTextVNode(toDisplayString(_ctx.computedEmptyText), 1)
40053
+ ])
40054
+ ])
40055
+ ], 4)) : createCommentVNode("v-if", true),
40056
+ _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
40057
+ renderSlot(_ctx.$slots, "append")
40058
+ ], 512)) : createCommentVNode("v-if", true)
40070
40059
  ], 4),
40071
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_9$1, [
40072
- createVNode(_component_table_footer, {
40073
- border: _ctx.border,
40074
- store: _ctx.store,
40075
- style: normalizeStyle({
40076
- width: _ctx.bodyWidth
40077
- }),
40078
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
40079
- "summary-method": _ctx.summaryMethod,
40080
- fixed: "right"
40081
- }, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
40082
- ], 512)), [
40083
- [vShow, !_ctx.isEmpty]
40084
- ]) : createCommentVNode("v-if", true)
40085
- ], 4)), [
40086
- [_directive_mousewheel, _ctx.handleFixedMousewheel]
40060
+ _ctx.border || _ctx.isGroup ? (openBlock(), createElementBlock("div", _hoisted_6$3)) : createCommentVNode("v-if", true),
40061
+ _ctx.layout.scrollX.value && _ctx.layout.height.value ? (openBlock(), createElementBlock("div", {
40062
+ key: 2,
40063
+ class: "el-table__border-bottom-patch",
40064
+ style: normalizeStyle(_ctx.borderBottomPatchStyles)
40065
+ }, null, 4)) : createCommentVNode("v-if", true)
40066
+ ]),
40067
+ _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_7$2, [
40068
+ createVNode(_component_table_footer, {
40069
+ border: _ctx.border,
40070
+ "default-sort": _ctx.defaultSort,
40071
+ store: _ctx.store,
40072
+ style: normalizeStyle(_ctx.tableBodyStyles),
40073
+ "sum-text": _ctx.computedSumText,
40074
+ "summary-method": _ctx.summaryMethod
40075
+ }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
40076
+ ])), [
40077
+ [vShow, !_ctx.isEmpty],
40078
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
40087
40079
  ]) : createCommentVNode("v-if", true),
40088
- _ctx.store.states.rightFixedColumns.value.length > 0 ? (openBlock(), createElementBlock("div", {
40089
- key: 4,
40090
- ref: "rightFixedPatch",
40091
- style: normalizeStyle({
40092
- width: _ctx.layout.scrollY.value ? _ctx.layout.gutterWidth + "px" : "0",
40093
- height: _ctx.layout.headerHeight.value + "px"
40094
- }),
40095
- class: "el-table__fixed-right-patch"
40096
- }, null, 4)) : createCommentVNode("v-if", true),
40097
- withDirectives(createElementVNode("div", _hoisted_10$1, null, 512), [
40080
+ withDirectives(createElementVNode("div", _hoisted_8$2, null, 512), [
40098
40081
  [vShow, _ctx.resizeProxyVisible]
40099
40082
  ])
40100
40083
  ], 38);
@@ -40573,6 +40556,7 @@ var ElTableColumn$1 = defineComponent({
40573
40556
  filteredValue: [],
40574
40557
  filterPlacement: "",
40575
40558
  isColumnGroup: false,
40559
+ isSubColumn: false,
40576
40560
  filterOpened: false,
40577
40561
  sortable,
40578
40562
  index: props.index,