@geelato/web-vue 2.58.3 → 2.59.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 (183) hide show
  1. package/LICENSE +21 -0
  2. package/dist/arco-vue.js +45 -9
  3. package/dist/arco-vue.js.map +1 -1
  4. package/dist/arco-vue.min.js +57 -43
  5. package/dist/arco-vue.min.js.map +1 -1
  6. package/dist/arco.css +10 -10
  7. package/dist/arco.min.css +1 -1
  8. package/es/_components/icon-hover.d.ts +3 -3
  9. package/es/_components/input-label/input-label.d.ts +5 -5
  10. package/es/_components/picker/input-range.d.ts +5 -5
  11. package/es/_components/picker/input.d.ts +6 -6
  12. package/es/_components/select-view/select-view.d.ts +4 -4
  13. package/es/_components/virtual-list/virtual-list.d.ts +1 -1
  14. package/es/_components/virtual-list-v2/virtual-list.d.ts +2 -2
  15. package/es/_hooks/use-form-item.d.ts +2 -2
  16. package/es/_hooks/use-size.d.ts +3 -3
  17. package/es/alert/alert.d.ts +6 -6
  18. package/es/alert/index.d.ts +12 -12
  19. package/es/auto-complete/auto-complete.d.ts +4 -4
  20. package/es/auto-complete/index.d.ts +12 -12
  21. package/es/avatar/avatar.d.ts +1 -1
  22. package/es/avatar/index.d.ts +3 -3
  23. package/es/button/button-group.d.ts +6 -6
  24. package/es/button/button.d.ts +6 -6
  25. package/es/button/index.d.ts +15 -15
  26. package/es/card/card.d.ts +2 -2
  27. package/es/card/index.d.ts +3 -3
  28. package/es/carousel/carousel-indicator.d.ts +1 -1
  29. package/es/cascader/cascader-panel.d.ts +4 -4
  30. package/es/cascader/cascader.d.ts +40 -40
  31. package/es/cascader/index.d.ts +93 -93
  32. package/es/checkbox/checkbox.d.ts +5 -5
  33. package/es/checkbox/index.d.ts +9 -9
  34. package/es/collapse/collapse-item.d.ts +3 -3
  35. package/es/collapse/index.d.ts +3 -3
  36. package/es/color-picker/color-picker.d.ts +3 -3
  37. package/es/color-picker/index.d.ts +6 -6
  38. package/es/comment/comment.d.ts +2 -2
  39. package/es/comment/index.d.ts +3 -3
  40. package/es/config-provider/config-provider.d.ts +3 -3
  41. package/es/config-provider/index.d.ts +6 -6
  42. package/es/date-picker/index.d.ts +131 -131
  43. package/es/date-picker/panels/date/index.d.ts +24 -24
  44. package/es/date-picker/panels/footer.d.ts +15 -15
  45. package/es/date-picker/panels/shortcuts.d.ts +15 -15
  46. package/es/date-picker/panels/week/index.d.ts +24 -24
  47. package/es/date-picker/picker-panel.d.ts +78 -78
  48. package/es/date-picker/picker.d.ts +126 -126
  49. package/es/date-picker/range-picker-panel.d.ts +79 -79
  50. package/es/date-picker/range-picker.d.ts +131 -131
  51. package/es/descriptions/descriptions.d.ts +3 -3
  52. package/es/descriptions/index.d.ts +6 -6
  53. package/es/drawer/drawer.d.ts +21 -21
  54. package/es/drawer/index.d.ts +45 -45
  55. package/es/dropdown/dropdown-button.d.ts +66 -66
  56. package/es/dropdown/dropdown-option.d.ts +2 -2
  57. package/es/dropdown/dropdown-panel.d.ts +12 -12
  58. package/es/dropdown/dropdown-submenu.d.ts +42 -42
  59. package/es/dropdown/dropdown.d.ts +40 -40
  60. package/es/dropdown/index.d.ts +194 -194
  61. package/es/empty/empty.d.ts +2 -2
  62. package/es/empty/index.d.ts +6 -6
  63. package/es/form/form-item-label.d.ts +57 -57
  64. package/es/form/form-item.d.ts +65 -65
  65. package/es/form/form.d.ts +2 -2
  66. package/es/form/index.d.ts +68 -68
  67. package/es/grid/grid-row.d.ts +1 -1
  68. package/es/grid/index.d.ts +1 -1
  69. package/es/image/preview-action.d.ts +57 -57
  70. package/es/image/preview-toolbar.d.ts +57 -57
  71. package/es/index.css +10 -10
  72. package/es/input/index.d.ts +22 -22
  73. package/es/input/input-password.d.ts +8 -8
  74. package/es/input/input-search.d.ts +2 -2
  75. package/es/input/input.d.ts +5 -5
  76. package/es/input-number/index.d.ts +42 -12
  77. package/es/input-number/input-number.d.ts +23 -5
  78. package/es/input-number/input-number.js +45 -9
  79. package/es/input-tag/index.d.ts +9 -9
  80. package/es/input-tag/input-tag.d.ts +4 -4
  81. package/es/list/index.d.ts +6 -6
  82. package/es/list/list.d.ts +3 -3
  83. package/es/mention/index.d.ts +18 -18
  84. package/es/mention/mention.d.ts +7 -7
  85. package/es/menu/sub-menu-pop.d.ts +24 -24
  86. package/es/message/message.d.ts +7 -7
  87. package/es/modal/index.d.ts +42 -42
  88. package/es/modal/modal.d.ts +20 -20
  89. package/es/notification/notification.d.ts +4 -4
  90. package/es/page-header/index.d.ts +6 -6
  91. package/es/page-header/page-header.d.ts +3 -3
  92. package/es/pagination/index.d.ts +3 -3
  93. package/es/pagination/page-jumper.d.ts +42 -12
  94. package/es/pagination/page-options.d.ts +94 -94
  95. package/es/pagination/pagination.d.ts +2 -2
  96. package/es/popconfirm/index.d.ts +87 -87
  97. package/es/popconfirm/popconfirm.d.ts +43 -43
  98. package/es/popover/index.d.ts +60 -60
  99. package/es/popover/popover.d.ts +30 -30
  100. package/es/progress/circle.d.ts +5 -5
  101. package/es/progress/index.d.ts +36 -36
  102. package/es/progress/line.d.ts +5 -5
  103. package/es/progress/progress.d.ts +19 -19
  104. package/es/progress/steps.d.ts +2 -2
  105. package/es/radio/index.d.ts +12 -12
  106. package/es/radio/radio-group.d.ts +3 -3
  107. package/es/radio/radio.d.ts +4 -4
  108. package/es/scrollbar/index.d.ts +6 -6
  109. package/es/scrollbar/scrollbar.d.ts +3 -3
  110. package/es/select/index.d.ts +94 -94
  111. package/es/select/option.d.ts +11 -11
  112. package/es/select/select-dropdown.d.ts +12 -12
  113. package/es/select/select.d.ts +38 -38
  114. package/es/slider/index.d.ts +201 -141
  115. package/es/slider/slider-button.d.ts +57 -57
  116. package/es/slider/slider-input.d.ts +42 -12
  117. package/es/slider/slider.d.ts +100 -70
  118. package/es/space/index.d.ts +6 -6
  119. package/es/space/space.d.ts +3 -3
  120. package/es/split/index.d.ts +3 -3
  121. package/es/split/split.d.ts +1 -1
  122. package/es/statistic/countdown.d.ts +1 -1
  123. package/es/statistic/index.d.ts +4 -4
  124. package/es/statistic/statistic.d.ts +1 -1
  125. package/es/steps/index.d.ts +9 -9
  126. package/es/steps/step.d.ts +3 -3
  127. package/es/steps/steps.d.ts +3 -3
  128. package/es/switch/index.d.ts +18 -18
  129. package/es/switch/switch.d.ts +11 -11
  130. package/es/table/index.d.ts +27 -27
  131. package/es/table/style/index.css +10 -10
  132. package/es/table/style/index.less +19 -6
  133. package/es/table/table-column.d.ts +2 -2
  134. package/es/table/table-operation-td.d.ts +21 -21
  135. package/es/table/table-td.d.ts +1 -1
  136. package/es/table/table.d.ts +13 -13
  137. package/es/tabs/index.d.ts +6 -6
  138. package/es/tabs/tabs-nav.d.ts +1 -1
  139. package/es/tabs/tabs-tab.d.ts +4 -4
  140. package/es/tabs/tabs.d.ts +3 -3
  141. package/es/tag/index.d.ts +9 -9
  142. package/es/tag/tag.d.ts +5 -5
  143. package/es/textarea/index.d.ts +12 -12
  144. package/es/textarea/textarea.d.ts +5 -5
  145. package/es/time-picker/index.d.ts +196 -196
  146. package/es/time-picker/panel.d.ts +24 -24
  147. package/es/time-picker/range-panel.d.ts +24 -24
  148. package/es/time-picker/time-picker.d.ts +95 -95
  149. package/es/timeline/index.d.ts +3 -3
  150. package/es/timeline/timeline.d.ts +2 -2
  151. package/es/tooltip/index.d.ts +57 -57
  152. package/es/tooltip/tooltip.d.ts +28 -28
  153. package/es/transfer/index.d.ts +95 -95
  154. package/es/transfer/transfer-view.d.ts +28 -28
  155. package/es/transfer/transfer.d.ts +46 -46
  156. package/es/tree/base-node.d.ts +9 -9
  157. package/es/tree/hooks/use-tree-data.d.ts +4 -4
  158. package/es/tree/index.d.ts +25 -25
  159. package/es/tree/transition-node-list.d.ts +9 -9
  160. package/es/tree/tree.d.ts +10 -10
  161. package/es/tree-select/index.d.ts +139 -139
  162. package/es/tree-select/panel.d.ts +25 -25
  163. package/es/tree-select/tree-select.d.ts +67 -67
  164. package/es/trigger/index.d.ts +24 -24
  165. package/es/trigger/trigger.d.ts +13 -13
  166. package/es/typography/base.d.ts +6 -6
  167. package/es/typography/edit-content.d.ts +67 -67
  168. package/es/typography/index.d.ts +4 -4
  169. package/es/typography/operations.d.ts +57 -57
  170. package/es/typography/paragraph.d.ts +1 -1
  171. package/es/typography/title.d.ts +3 -3
  172. package/es/upload/index.d.ts +3 -3
  173. package/es/upload/upload.d.ts +1 -1
  174. package/es/verification-code/index.d.ts +6 -6
  175. package/es/verification-code/verification-code.d.ts +3 -3
  176. package/json/vetur-attributes.json +2423 -2415
  177. package/json/vetur-tags.json +890 -888
  178. package/json/web-types.json +5153 -5137
  179. package/lib/index.css +10 -10
  180. package/lib/input-number/input-number.js +45 -9
  181. package/lib/table/style/index.css +10 -10
  182. package/lib/table/style/index.less +19 -6
  183. package/package.json +24 -25
package/lib/index.css CHANGED
@@ -14678,13 +14678,13 @@ body[arco-theme='dark'] .arco-radio-button::after {
14678
14678
  .arco-table-border-body-cell .arco-table-td:not(:last-child):not(.arco-table-tr-expand) {
14679
14679
  border-right: 1px solid var(--color-neutral-3);
14680
14680
  }
14681
- .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(even) .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right),
14682
- .arco-table-stripe .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
14681
+ .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):nth-child(even) .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right),
14682
+ .arco-table-stripe .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
14683
14683
  background-color: var(--color-fill-1);
14684
14684
  }
14685
- .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-left::before,
14685
+ .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-left::before,
14686
14686
  .arco-table-stripe .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left::before,
14687
- .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-right::before,
14687
+ .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-right::before,
14688
14688
  .arco-table-stripe .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right::before {
14689
14689
  position: absolute;
14690
14690
  top: 0;
@@ -14698,13 +14698,13 @@ body[arco-theme='dark'] .arco-radio-button::after {
14698
14698
  .arco-table .arco-table-tr-draggable {
14699
14699
  cursor: move;
14700
14700
  }
14701
- .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right),
14702
- .arco-table-hover .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
14701
+ .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):hover .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right),
14702
+ .arco-table-hover .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
14703
14703
  background-color: var(--color-fill-1);
14704
14704
  }
14705
- .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-left::before,
14705
+ .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-left::before,
14706
14706
  .arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left::before,
14707
- .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-right::before,
14707
+ .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-right::before,
14708
14708
  .arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right::before {
14709
14709
  position: absolute;
14710
14710
  top: 0;
@@ -14715,10 +14715,10 @@ body[arco-theme='dark'] .arco-radio-button::after {
14715
14715
  background-color: var(--color-fill-1);
14716
14716
  content: '';
14717
14717
  }
14718
- .arco-table-hover .arco-table-tr-expand:not(.arco-table-tr-empty):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
14718
+ .arco-table-hover .arco-table-tr-expand:not(.arco-table-tr-empty):hover .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
14719
14719
  background-color: var(--color-fill-1);
14720
14720
  }
14721
- .arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
14721
+ .arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
14722
14722
  background-color: transparent;
14723
14723
  }
14724
14724
  .arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td.arco-table-col-fixed-left::before,
@@ -55,6 +55,10 @@ var _InputNumber = vue.defineComponent({
55
55
  parser: {
56
56
  type: Function
57
57
  },
58
+ showGroupSeparator: {
59
+ type: Boolean,
60
+ default: false
61
+ },
58
62
  placeholder: String,
59
63
  hideButton: {
60
64
  type: Boolean,
@@ -77,6 +81,10 @@ var _InputNumber = vue.defineComponent({
77
81
  },
78
82
  inputAttrs: {
79
83
  type: Object
84
+ },
85
+ keyboard: {
86
+ type: Boolean,
87
+ default: true
80
88
  }
81
89
  },
82
90
  emits: {
@@ -118,21 +126,44 @@ var _InputNumber = vue.defineComponent({
118
126
  }
119
127
  return void 0;
120
128
  });
121
- const getStringValue = (number) => {
129
+ const parseValue = (value) => {
122
130
  var _a2, _b;
131
+ const parsed = (_b = (_a2 = props.parser) == null ? void 0 : _a2.call(props, value)) != null ? _b : value.replace(/[,,]/g, "");
132
+ return String(parsed).trim();
133
+ };
134
+ const formatGroupSeparator = (value) => {
135
+ if (!value || /^(\.|-)$/.test(value)) {
136
+ return value;
137
+ }
138
+ const negative = value[0] === "-";
139
+ const normalized = negative ? value.slice(1) : value;
140
+ const [intPart, decimalPart] = normalized.split(".");
141
+ const formattedInt = intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
142
+ const hasDot = normalized.includes(".");
143
+ const formatted = hasDot ? `${formattedInt}.${decimalPart != null ? decimalPart : ""}` : formattedInt;
144
+ return negative ? `-${formatted}` : formatted;
145
+ };
146
+ const formatValue = (value) => {
147
+ var _a2, _b;
148
+ const formatted = (_b = (_a2 = props.formatter) == null ? void 0 : _a2.call(props, value)) != null ? _b : value;
149
+ if (!props.formatter && props.showGroupSeparator) {
150
+ return formatGroupSeparator(formatted);
151
+ }
152
+ return formatted;
153
+ };
154
+ const getStringValue = (number) => {
123
155
  if (!is.isNumber(number)) {
124
156
  return "";
125
157
  }
126
158
  const numString = mergedPrecision.value ? number.toFixed(mergedPrecision.value) : String(number);
127
- return (_b = (_a2 = props.formatter) == null ? void 0 : _a2.call(props, numString)) != null ? _b : numString;
159
+ return formatValue(numString);
128
160
  };
129
161
  const _value = vue.ref(getStringValue((_a = props.modelValue) != null ? _a : props.defaultValue));
130
162
  const valueNumber = vue.computed(() => {
131
- var _a2, _b;
132
163
  if (!_value.value) {
133
164
  return void 0;
134
165
  }
135
- const number = Number((_b = (_a2 = props.parser) == null ? void 0 : _a2.call(props, _value.value)) != null ? _b : _value.value);
166
+ const number = Number(parseValue(_value.value));
136
167
  return Number.isNaN(number) ? void 0 : number;
137
168
  });
138
169
  const isMin = vue.ref(is.isNumber(valueNumber.value) && valueNumber.value <= props.min);
@@ -213,13 +244,18 @@ var _InputNumber = vue.defineComponent({
213
244
  }
214
245
  };
215
246
  const handleInput = (value, ev) => {
216
- var _a2, _b, _c, _d;
217
247
  if (props.readOnly)
218
248
  return;
219
249
  value = value.trim().replace(/。/g, ".");
220
- value = (_b = (_a2 = props.parser) == null ? void 0 : _a2.call(props, value)) != null ? _b : value;
221
- if (is.isNumber(Number(value)) || /^(\.|-)$/.test(value)) {
222
- _value.value = (_d = (_c = props.formatter) == null ? void 0 : _c.call(props, value)) != null ? _d : value;
250
+ const parsedValue = parseValue(value);
251
+ if (is.isNumber(Number(parsedValue)) || /^(\.|-)$/.test(parsedValue)) {
252
+ if (props.formatter || props.showGroupSeparator) {
253
+ _value.value = formatValue(parsedValue);
254
+ } else if (props.parser) {
255
+ _value.value = parsedValue;
256
+ } else {
257
+ _value.value = value;
258
+ }
223
259
  updateNumberStatus(valueNumber.value);
224
260
  emit("input", valueNumber.value, _value.value, ev);
225
261
  if (props.modelEvent === "input") {
@@ -258,7 +294,7 @@ var _InputNumber = vue.defineComponent({
258
294
  }]]));
259
295
  const onKeyDown = (event) => {
260
296
  emit("keydown", event);
261
- if (!event.defaultPrevented) {
297
+ if (!event.defaultPrevented && props.keyboard) {
262
298
  keyDownHandler(event);
263
299
  }
264
300
  };
@@ -544,13 +544,13 @@
544
544
  .arco-table-border-body-cell .arco-table-td:not(:last-child):not(.arco-table-tr-expand) {
545
545
  border-right: 1px solid var(--color-neutral-3);
546
546
  }
547
- .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(even) .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right),
548
- .arco-table-stripe .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
547
+ .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):nth-child(even) .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right),
548
+ .arco-table-stripe .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
549
549
  background-color: var(--color-fill-1);
550
550
  }
551
- .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-left::before,
551
+ .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-left::before,
552
552
  .arco-table-stripe .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left::before,
553
- .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-right::before,
553
+ .arco-table-stripe:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):nth-child(even) .arco-table-td.arco-table-col-fixed-right::before,
554
554
  .arco-table-stripe .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right::before {
555
555
  position: absolute;
556
556
  top: 0;
@@ -564,13 +564,13 @@
564
564
  .arco-table .arco-table-tr-draggable {
565
565
  cursor: move;
566
566
  }
567
- .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right),
568
- .arco-table-hover .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
567
+ .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):hover .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right),
568
+ .arco-table-hover .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
569
569
  background-color: var(--color-fill-1);
570
570
  }
571
- .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-left::before,
571
+ .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-left::before,
572
572
  .arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left::before,
573
- .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-right::before,
573
+ .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not( .arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-right::before,
574
574
  .arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right::before {
575
575
  position: absolute;
576
576
  top: 0;
@@ -581,10 +581,10 @@
581
581
  background-color: var(--color-fill-1);
582
582
  content: '';
583
583
  }
584
- .arco-table-hover .arco-table-tr-expand:not(.arco-table-tr-empty):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
584
+ .arco-table-hover .arco-table-tr-expand:not(.arco-table-tr-empty):hover .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
585
585
  background-color: var(--color-fill-1);
586
586
  }
587
- .arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
587
+ .arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td:not(.arco-table-col-fixed-left):not( .arco-table-col-fixed-right) {
588
588
  background-color: transparent;
589
589
  }
590
590
  .arco-table-tr-expand .arco-table-td .arco-table-hover .arco-table-tr:not(.arco-table-tr-empty) .arco-table-td.arco-table-col-fixed-left::before,
@@ -1,4 +1,5 @@
1
1
  @import '../../style/mixins/index.less';
2
+ // @import '../../_components/auto-tooltip/style/index.less';
2
3
  @import './token.less';
3
4
  @import './filters-popup.less';
4
5
 
@@ -726,9 +727,13 @@
726
727
  // stripe: true
727
728
  &-stripe {
728
729
  &:not(.@{table-prefix-cls}-dragging)
729
- .@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(.@{table-prefix-cls}-tr-summary):nth-child(even),
730
+ .@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(
731
+ .@{table-prefix-cls}-tr-summary
732
+ ):nth-child(even),
730
733
  .@{table-cls-tr}-drag {
731
- .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
734
+ .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(
735
+ .@{table-prefix-cls}-col-fixed-right
736
+ ) {
732
737
  background-color: @table-color-bg-body-stripe-row;
733
738
  }
734
739
 
@@ -754,9 +759,13 @@
754
759
 
755
760
  &-hover {
756
761
  &:not(.@{table-prefix-cls}-dragging)
757
- .@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(.@{table-prefix-cls}-tr-summary):hover,
762
+ .@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty):not(
763
+ .@{table-prefix-cls}-tr-summary
764
+ ):hover,
758
765
  .@{table-cls-tr}-drag {
759
- .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
766
+ .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(
767
+ .@{table-prefix-cls}-col-fixed-right
768
+ ) {
760
769
  background-color: @table-color-bg-body-row_hover;
761
770
  }
762
771
 
@@ -776,7 +785,9 @@
776
785
  }
777
786
 
778
787
  .@{table-cls-tr}-expand:not(.@{table-prefix-cls}-tr-empty):hover {
779
- .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
788
+ .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(
789
+ .@{table-prefix-cls}-col-fixed-right
790
+ ) {
780
791
  background-color: @table-color-bg-expand-content_hover;
781
792
  }
782
793
  }
@@ -784,7 +795,9 @@
784
795
  // 去除嵌套子表格的 hover 效果
785
796
  .@{table-prefix-cls}-tr-expand .@{table-cls-td} & {
786
797
  .@{table-cls-tr}:not(.@{table-prefix-cls}-tr-empty) {
787
- .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(.@{table-prefix-cls}-col-fixed-right) {
798
+ .@{table-cls-td}:not(.@{table-prefix-cls}-col-fixed-left):not(
799
+ .@{table-prefix-cls}-col-fixed-right
800
+ ) {
788
801
  background-color: transparent;
789
802
  }
790
803
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geelato/web-vue",
3
- "version": "2.58.3",
3
+ "version": "2.59.1",
4
4
  "description": "Arco Design Vue 2.0: A Vue.js 3 UI Library",
5
5
  "keywords": [
6
6
  "arco",
@@ -29,25 +29,6 @@
29
29
  "lib/**/style/*",
30
30
  "*.less"
31
31
  ],
32
- "scripts": {
33
- "init": "pnpm run icongen && pnpm run lessgen && arco-vue-scripts build:component",
34
- "start": "arco-vue-scripts dev:component",
35
- "docgen": "arco-vue-scripts docgen",
36
- "icongen": "arco-vue-scripts icongen && pnpm run dtsgen:icon",
37
- "lessgen": "arco-vue-scripts lessgen",
38
- "jsongen": "arco-vue-scripts jsongen",
39
- "build": "pnpm run build:component && pnpm run build:style && pnpm run dtsgen && pnpm run jsongen",
40
- "build:component": "arco-vue-scripts build:component -u",
41
- "build:module": "arco-vue-scripts build:component",
42
- "build:style": "arco-vue-scripts build:style",
43
- "dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
44
- "dtsgen:icon": "arco-vue-scripts dtsgen 'components/icon/**/*.{ts,tsx,vue}' -o 'components/icon/@types'",
45
- "test": "arco-vue-scripts test --coverage",
46
- "test:update": "arco-vue-scripts test --coverage -u",
47
- "test:screenshot": "arco-vue-scripts test:screenshot -o ./__screenshots__/",
48
- "changelog": "arco-vue-scripts changelog",
49
- "lint-staged": "npx lint-staged"
50
- },
51
32
  "peerDependencies": {
52
33
  "vue": ">=3.1.0"
53
34
  },
@@ -62,7 +43,6 @@
62
43
  ]
63
44
  },
64
45
  "devDependencies": {
65
- "@arco-design/arco-vue-scripts": "workspace:*",
66
46
  "@babel/core": "^7.26.9",
67
47
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
48
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
@@ -89,7 +69,8 @@
89
69
  "stylelint-config-standard": "^20.0.0",
90
70
  "stylelint-order": "^4.1.0",
91
71
  "typescript": "^4.9.5",
92
- "vue-jest": "5.0.0-alpha.10"
72
+ "vue-jest": "5.0.0-alpha.10",
73
+ "@arco-design/arco-vue-scripts": "0.2.10"
93
74
  },
94
75
  "dependencies": {
95
76
  "@arco-design/color": "^0.4.0",
@@ -106,9 +87,27 @@
106
87
  "tags": "json/vetur-tags.json",
107
88
  "attributes": "json/vetur-attributes.json"
108
89
  },
109
- "web-types": "json/web-types.json"
110
- ,
90
+ "web-types": "json/web-types.json",
111
91
  "publishConfig": {
112
92
  "access": "public"
93
+ },
94
+ "scripts": {
95
+ "init": "pnpm run icongen && pnpm run lessgen && arco-vue-scripts build:component",
96
+ "start": "arco-vue-scripts dev:component",
97
+ "docgen": "arco-vue-scripts docgen",
98
+ "icongen": "arco-vue-scripts icongen && pnpm run dtsgen:icon",
99
+ "lessgen": "arco-vue-scripts lessgen",
100
+ "jsongen": "arco-vue-scripts jsongen",
101
+ "build": "pnpm run build:component && pnpm run build:style && pnpm run dtsgen && pnpm run jsongen",
102
+ "build:component": "arco-vue-scripts build:component -u",
103
+ "build:module": "arco-vue-scripts build:component",
104
+ "build:style": "arco-vue-scripts build:style",
105
+ "dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
106
+ "dtsgen:icon": "arco-vue-scripts dtsgen 'components/icon/**/*.{ts,tsx,vue}' -o 'components/icon/@types'",
107
+ "test": "arco-vue-scripts test --coverage",
108
+ "test:update": "arco-vue-scripts test --coverage -u",
109
+ "test:screenshot": "arco-vue-scripts test:screenshot -o ./__screenshots__/",
110
+ "changelog": "arco-vue-scripts changelog",
111
+ "lint-staged": "npx lint-staged"
113
112
  }
114
- }
113
+ }