@geelato/web-vue 2.59.0 → 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 (175) hide show
  1. package/LICENSE +21 -0
  2. package/dist/arco-vue.js +40 -8
  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/es/_components/icon-hover.d.ts +3 -3
  7. package/es/_components/input-label/input-label.d.ts +5 -5
  8. package/es/_components/picker/input-range.d.ts +7 -7
  9. package/es/_components/picker/input.d.ts +6 -6
  10. package/es/_components/select-view/select-view.d.ts +4 -4
  11. package/es/_components/virtual-list/virtual-list.d.ts +1 -1
  12. package/es/_components/virtual-list-v2/virtual-list.d.ts +5 -5
  13. package/es/_hooks/use-form-item.d.ts +2 -2
  14. package/es/_hooks/use-size.d.ts +3 -3
  15. package/es/alert/alert.d.ts +6 -6
  16. package/es/alert/index.d.ts +12 -12
  17. package/es/auto-complete/auto-complete.d.ts +4 -4
  18. package/es/auto-complete/index.d.ts +12 -12
  19. package/es/avatar/avatar.d.ts +1 -1
  20. package/es/avatar/index.d.ts +3 -3
  21. package/es/button/button-group.d.ts +6 -6
  22. package/es/button/button.d.ts +6 -6
  23. package/es/button/index.d.ts +15 -15
  24. package/es/card/card.d.ts +2 -2
  25. package/es/card/index.d.ts +3 -3
  26. package/es/carousel/carousel-indicator.d.ts +1 -1
  27. package/es/cascader/cascader-panel.d.ts +4 -4
  28. package/es/cascader/cascader.d.ts +40 -40
  29. package/es/cascader/index.d.ts +93 -93
  30. package/es/checkbox/checkbox.d.ts +5 -5
  31. package/es/checkbox/index.d.ts +9 -9
  32. package/es/collapse/collapse-item.d.ts +3 -3
  33. package/es/collapse/index.d.ts +3 -3
  34. package/es/color-picker/color-picker.d.ts +3 -3
  35. package/es/color-picker/index.d.ts +6 -6
  36. package/es/comment/comment.d.ts +2 -2
  37. package/es/comment/index.d.ts +3 -3
  38. package/es/config-provider/config-provider.d.ts +3 -3
  39. package/es/config-provider/index.d.ts +6 -6
  40. package/es/date-picker/index.d.ts +133 -133
  41. package/es/date-picker/panels/date/index.d.ts +24 -24
  42. package/es/date-picker/panels/footer.d.ts +15 -15
  43. package/es/date-picker/panels/shortcuts.d.ts +15 -15
  44. package/es/date-picker/panels/week/index.d.ts +24 -24
  45. package/es/date-picker/picker-panel.d.ts +78 -78
  46. package/es/date-picker/picker.d.ts +126 -126
  47. package/es/date-picker/range-picker-panel.d.ts +79 -79
  48. package/es/date-picker/range-picker.d.ts +133 -133
  49. package/es/descriptions/descriptions.d.ts +3 -3
  50. package/es/descriptions/index.d.ts +6 -6
  51. package/es/drawer/drawer.d.ts +22 -22
  52. package/es/drawer/index.d.ts +48 -48
  53. package/es/dropdown/dropdown-button.d.ts +66 -66
  54. package/es/dropdown/dropdown-option.d.ts +2 -2
  55. package/es/dropdown/dropdown-panel.d.ts +12 -12
  56. package/es/dropdown/dropdown-submenu.d.ts +42 -42
  57. package/es/dropdown/dropdown.d.ts +40 -40
  58. package/es/dropdown/index.d.ts +194 -194
  59. package/es/empty/empty.d.ts +2 -2
  60. package/es/empty/index.d.ts +6 -6
  61. package/es/form/form-item-label.d.ts +57 -57
  62. package/es/form/form-item.d.ts +65 -65
  63. package/es/form/form.d.ts +2 -2
  64. package/es/form/index.d.ts +68 -68
  65. package/es/grid/grid-row.d.ts +1 -1
  66. package/es/grid/index.d.ts +1 -1
  67. package/es/image/preview-action.d.ts +57 -57
  68. package/es/image/preview-toolbar.d.ts +57 -57
  69. package/es/input/index.d.ts +22 -22
  70. package/es/input/input-password.d.ts +8 -8
  71. package/es/input/input-search.d.ts +2 -2
  72. package/es/input/input.d.ts +5 -5
  73. package/es/input-number/index.d.ts +27 -12
  74. package/es/input-number/input-number.d.ts +14 -5
  75. package/es/input-number/input-number.js +40 -8
  76. package/es/input-tag/index.d.ts +9 -9
  77. package/es/input-tag/input-tag.d.ts +4 -4
  78. package/es/list/index.d.ts +6 -6
  79. package/es/list/list.d.ts +3 -3
  80. package/es/mention/index.d.ts +18 -18
  81. package/es/mention/mention.d.ts +7 -7
  82. package/es/menu/sub-menu-pop.d.ts +24 -24
  83. package/es/message/message.d.ts +6 -6
  84. package/es/modal/index.d.ts +45 -45
  85. package/es/modal/modal.d.ts +21 -21
  86. package/es/notification/notification.d.ts +4 -4
  87. package/es/page-header/index.d.ts +6 -6
  88. package/es/page-header/page-header.d.ts +3 -3
  89. package/es/pagination/index.d.ts +3 -3
  90. package/es/pagination/page-jumper.d.ts +27 -12
  91. package/es/pagination/page-options.d.ts +94 -94
  92. package/es/pagination/pagination.d.ts +2 -2
  93. package/es/popconfirm/index.d.ts +87 -87
  94. package/es/popconfirm/popconfirm.d.ts +43 -43
  95. package/es/popover/index.d.ts +60 -60
  96. package/es/popover/popover.d.ts +30 -30
  97. package/es/progress/circle.d.ts +5 -5
  98. package/es/progress/index.d.ts +36 -36
  99. package/es/progress/line.d.ts +5 -5
  100. package/es/progress/progress.d.ts +19 -19
  101. package/es/progress/steps.d.ts +2 -2
  102. package/es/radio/index.d.ts +12 -12
  103. package/es/radio/radio-group.d.ts +3 -3
  104. package/es/radio/radio.d.ts +4 -4
  105. package/es/scrollbar/index.d.ts +6 -6
  106. package/es/scrollbar/scrollbar.d.ts +3 -3
  107. package/es/select/index.d.ts +94 -94
  108. package/es/select/option.d.ts +11 -11
  109. package/es/select/select-dropdown.d.ts +12 -12
  110. package/es/select/select.d.ts +38 -38
  111. package/es/slider/index.d.ts +171 -141
  112. package/es/slider/slider-button.d.ts +57 -57
  113. package/es/slider/slider-input.d.ts +27 -12
  114. package/es/slider/slider.d.ts +85 -70
  115. package/es/space/index.d.ts +6 -6
  116. package/es/space/space.d.ts +3 -3
  117. package/es/split/index.d.ts +3 -3
  118. package/es/split/split.d.ts +1 -1
  119. package/es/statistic/countdown.d.ts +1 -1
  120. package/es/statistic/index.d.ts +4 -4
  121. package/es/statistic/statistic.d.ts +1 -1
  122. package/es/steps/index.d.ts +9 -9
  123. package/es/steps/step.d.ts +3 -3
  124. package/es/steps/steps.d.ts +3 -3
  125. package/es/switch/index.d.ts +18 -18
  126. package/es/switch/switch.d.ts +11 -11
  127. package/es/table/index.d.ts +27 -27
  128. package/es/table/table-column.d.ts +2 -2
  129. package/es/table/table-operation-td.d.ts +21 -21
  130. package/es/table/table-td.d.ts +1 -1
  131. package/es/table/table.d.ts +13 -13
  132. package/es/tabs/index.d.ts +6 -6
  133. package/es/tabs/tabs-nav.d.ts +1 -1
  134. package/es/tabs/tabs-tab.d.ts +4 -4
  135. package/es/tabs/tabs.d.ts +3 -3
  136. package/es/tag/index.d.ts +9 -9
  137. package/es/tag/tag.d.ts +5 -5
  138. package/es/textarea/index.d.ts +12 -12
  139. package/es/textarea/textarea.d.ts +5 -5
  140. package/es/time-picker/index.d.ts +200 -200
  141. package/es/time-picker/panel.d.ts +24 -24
  142. package/es/time-picker/range-panel.d.ts +24 -24
  143. package/es/time-picker/time-picker.d.ts +97 -97
  144. package/es/timeline/index.d.ts +3 -3
  145. package/es/timeline/timeline.d.ts +2 -2
  146. package/es/tooltip/index.d.ts +57 -57
  147. package/es/tooltip/tooltip.d.ts +28 -28
  148. package/es/transfer/index.d.ts +95 -95
  149. package/es/transfer/transfer-view.d.ts +28 -28
  150. package/es/transfer/transfer.d.ts +46 -46
  151. package/es/tree/base-node.d.ts +9 -9
  152. package/es/tree/hooks/use-tree-data.d.ts +4 -4
  153. package/es/tree/index.d.ts +31 -31
  154. package/es/tree/transition-node-list.d.ts +9 -9
  155. package/es/tree/tree.d.ts +13 -13
  156. package/es/tree-select/index.d.ts +151 -151
  157. package/es/tree-select/panel.d.ts +31 -31
  158. package/es/tree-select/tree-select.d.ts +73 -73
  159. package/es/trigger/index.d.ts +24 -24
  160. package/es/trigger/trigger.d.ts +13 -13
  161. package/es/typography/base.d.ts +6 -6
  162. package/es/typography/edit-content.d.ts +67 -67
  163. package/es/typography/index.d.ts +4 -4
  164. package/es/typography/operations.d.ts +57 -57
  165. package/es/typography/paragraph.d.ts +1 -1
  166. package/es/typography/title.d.ts +3 -3
  167. package/es/upload/index.d.ts +3 -3
  168. package/es/upload/upload.d.ts +1 -1
  169. package/es/verification-code/index.d.ts +6 -6
  170. package/es/verification-code/verification-code.d.ts +3 -3
  171. package/json/vetur-attributes.json +2465 -2461
  172. package/json/vetur-tags.json +863 -862
  173. package/json/web-types.json +4708 -4700
  174. package/lib/input-number/input-number.js +40 -8
  175. package/package.json +24 -25
@@ -4399,7 +4399,7 @@
4399
4399
  e2.component(o2 + pi.name, pi);
4400
4400
  } });
4401
4401
  ai.enableBoundaryChecking(false);
4402
- var fi = e.defineComponent({ name: "InputNumber", props: { modelValue: Number, defaultValue: Number, mode: { type: String, default: "embed" }, precision: Number, step: { type: Number, default: 1 }, disabled: { type: Boolean, default: false }, error: { type: Boolean, default: false }, max: { type: Number, default: 1 / 0 }, min: { type: Number, default: -1 / 0 }, formatter: { type: Function }, parser: { type: Function }, placeholder: String, hideButton: { type: Boolean, default: false }, size: { type: String }, allowClear: { type: Boolean, default: false }, modelEvent: { type: String, default: "change" }, readOnly: { type: Boolean, default: false }, inputAttrs: { type: Object }, keyboard: { type: Boolean, default: true } }, emits: { "update:modelValue": (e2) => true, change: (e2, t2) => true, focus: (e2) => true, blur: (e2) => true, clear: (e2) => true, input: (e2, t2, o2) => true, keydown: (e2) => true }, setup(t2, { emit: o2, slots: l2 }) {
4402
+ var fi = e.defineComponent({ name: "InputNumber", props: { modelValue: Number, defaultValue: Number, mode: { type: String, default: "embed" }, precision: Number, step: { type: Number, default: 1 }, disabled: { type: Boolean, default: false }, error: { type: Boolean, default: false }, max: { type: Number, default: 1 / 0 }, min: { type: Number, default: -1 / 0 }, formatter: { type: Function }, parser: { type: Function }, showGroupSeparator: { type: Boolean, default: false }, placeholder: String, hideButton: { type: Boolean, default: false }, size: { type: String }, allowClear: { type: Boolean, default: false }, modelEvent: { type: String, default: "change" }, readOnly: { type: Boolean, default: false }, inputAttrs: { type: Object }, keyboard: { type: Boolean, default: true } }, emits: { "update:modelValue": (e2) => true, change: (e2, t2) => true, focus: (e2) => true, blur: (e2) => true, clear: (e2) => true, input: (e2, t2, o2) => true, keydown: (e2) => true }, setup(t2, { emit: o2, slots: l2 }) {
4403
4403
  var _a2;
4404
4404
  const { size: n2, disabled: a2 } = e.toRefs(t2), r2 = S("input-number"), i2 = e.ref(), { mergedSize: u2, mergedDisabled: d2, eventHandlers: p2 } = Ft({ size: n2, disabled: a2 }), { mergedSize: m2 } = Wt(u2), f2 = e.computed(() => {
4405
4405
  if (s(t2.precision)) {
@@ -4408,70 +4408,84 @@
4408
4408
  }
4409
4409
  }), v2 = (e2) => {
4410
4410
  var _a3, _b;
4411
+ const o3 = (_b = (_a3 = t2.parser) == null ? void 0 : _a3.call(t2, e2)) != null ? _b : e2.replace(/[,,]/g, "");
4412
+ return String(o3).trim();
4413
+ }, h2 = (e2) => {
4414
+ var _a3, _b;
4415
+ const o3 = (_b = (_a3 = t2.formatter) == null ? void 0 : _a3.call(t2, e2)) != null ? _b : e2;
4416
+ return !t2.formatter && t2.showGroupSeparator ? ((e3) => {
4417
+ if (!e3 || /^(\.|-)$/.test(e3))
4418
+ return e3;
4419
+ const t3 = "-" === e3[0], o4 = t3 ? e3.slice(1) : e3, [l3, n3] = o4.split("."), a3 = l3.replace(/\B(?=(\d{3})+(?!\d))/g, ","), r3 = o4.includes(".") ? `${a3}.${n3 != null ? n3 : ""}` : a3;
4420
+ return t3 ? `-${r3}` : r3;
4421
+ })(o3) : o3;
4422
+ }, y2 = (e2) => {
4411
4423
  if (!s(e2))
4412
4424
  return "";
4413
- const o3 = f2.value ? e2.toFixed(f2.value) : String(e2);
4414
- return (_b = (_a3 = t2.formatter) == null ? void 0 : _a3.call(t2, o3)) != null ? _b : o3;
4415
- }, h2 = e.ref(v2((_a2 = t2.modelValue) != null ? _a2 : t2.defaultValue)), y2 = e.computed(() => {
4416
- var _a3, _b;
4417
- if (!h2.value)
4425
+ const t3 = f2.value ? e2.toFixed(f2.value) : String(e2);
4426
+ return h2(t3);
4427
+ }, g2 = e.ref(y2((_a2 = t2.modelValue) != null ? _a2 : t2.defaultValue)), k2 = e.computed(() => {
4428
+ if (!g2.value)
4418
4429
  return;
4419
- const e2 = Number((_b = (_a3 = t2.parser) == null ? void 0 : _a3.call(t2, h2.value)) != null ? _b : h2.value);
4430
+ const e2 = Number(v2(g2.value));
4420
4431
  return Number.isNaN(e2) ? void 0 : e2;
4421
- }), g2 = e.ref(s(y2.value) && y2.value <= t2.min), k2 = e.ref(s(y2.value) && y2.value >= t2.max);
4422
- let b2 = 0;
4423
- const C2 = () => {
4424
- b2 && (window.clearTimeout(b2), b2 = 0);
4425
- }, x2 = (e2) => {
4432
+ }), b2 = e.ref(s(k2.value) && k2.value <= t2.min), C2 = e.ref(s(k2.value) && k2.value >= t2.max);
4433
+ let x2 = 0;
4434
+ const w2 = () => {
4435
+ x2 && (window.clearTimeout(x2), x2 = 0);
4436
+ }, V2 = (e2) => {
4426
4437
  if (!c(e2))
4427
4438
  return s(t2.min) && e2 < t2.min && (e2 = t2.min), s(t2.max) && e2 > t2.max && (e2 = t2.max), s(f2.value) ? ai.round(e2, f2.value) : e2;
4428
- }, w2 = (e2) => {
4439
+ }, N2 = (e2) => {
4429
4440
  let o3 = false, l3 = false;
4430
- s(e2) && (e2 <= t2.min && (o3 = true), e2 >= t2.max && (l3 = true)), k2.value !== l3 && (k2.value = l3), g2.value !== o3 && (g2.value = o3);
4431
- }, V2 = () => {
4432
- const e2 = x2(y2.value), t3 = v2(e2);
4433
- e2 === y2.value && h2.value === t3 || (h2.value = t3), o2("update:modelValue", e2);
4441
+ s(e2) && (e2 <= t2.min && (o3 = true), e2 >= t2.max && (l3 = true)), C2.value !== l3 && (C2.value = l3), b2.value !== o3 && (b2.value = o3);
4442
+ }, B2 = () => {
4443
+ const e2 = V2(k2.value), t3 = y2(e2);
4444
+ e2 === k2.value && g2.value === t3 || (g2.value = t3), o2("update:modelValue", e2);
4434
4445
  };
4435
4446
  e.watch(() => [t2.max, t2.min], () => {
4436
- V2(), w2(y2.value);
4447
+ B2(), N2(k2.value);
4437
4448
  });
4438
- const N2 = (e2, l3) => {
4439
- if (d2.value || "plus" === e2 && k2.value || "minus" === e2 && g2.value)
4449
+ const $2 = (e2, l3) => {
4450
+ if (d2.value || "plus" === e2 && C2.value || "minus" === e2 && b2.value)
4440
4451
  return;
4441
4452
  let n3;
4442
- n3 = s(y2.value) ? x2(ai[e2](y2.value, t2.step)) : t2.min === -1 / 0 ? 0 : t2.min, h2.value = v2(n3), w2(n3), o2("update:modelValue", n3), o2("change", n3, l3);
4443
- }, B2 = (e2, o3, l3 = false) => {
4453
+ n3 = s(k2.value) ? V2(ai[e2](k2.value, t2.step)) : t2.min === -1 / 0 ? 0 : t2.min, g2.value = y2(n3), N2(n3), o2("update:modelValue", n3), o2("change", n3, l3);
4454
+ }, z2 = (e2, o3, l3 = false) => {
4444
4455
  var _a3;
4445
- e2.preventDefault(), t2.readOnly || ((_a3 = i2.value) == null ? void 0 : _a3.focus(), N2(o3, e2), l3 && (b2 = window.setTimeout(() => e2.target.dispatchEvent(e2), b2 ? 150 : 800)));
4446
- }, $2 = (e2, l3) => {
4447
- var _a3, _b, _c2, _d2;
4448
- t2.readOnly || (e2 = e2.trim().replace(/。/g, "."), e2 = (_b = (_a3 = t2.parser) == null ? void 0 : _a3.call(t2, e2)) != null ? _b : e2, (s(Number(e2)) || /^(\.|-)$/.test(e2)) && (h2.value = (_d2 = (_c2 = t2.formatter) == null ? void 0 : _c2.call(t2, e2)) != null ? _d2 : e2, w2(y2.value), o2("input", y2.value, h2.value, l3), "input" === t2.modelEvent && (o2("update:modelValue", y2.value), o2("change", y2.value, l3))));
4449
- }, z2 = (e2) => {
4450
- o2("focus", e2);
4451
- }, P2 = (e2, t3) => {
4452
- t3 instanceof MouseEvent && !e2 || (V2(), o2("change", y2.value, t3));
4456
+ e2.preventDefault(), t2.readOnly || ((_a3 = i2.value) == null ? void 0 : _a3.focus(), $2(o3, e2), l3 && (x2 = window.setTimeout(() => e2.target.dispatchEvent(e2), x2 ? 150 : 800)));
4457
+ }, P2 = (e2, l3) => {
4458
+ if (t2.readOnly)
4459
+ return;
4460
+ e2 = e2.trim().replace(/。/g, ".");
4461
+ const n3 = v2(e2);
4462
+ (s(Number(n3)) || /^(\.|-)$/.test(n3)) && (t2.formatter || t2.showGroupSeparator ? g2.value = h2(n3) : t2.parser ? g2.value = n3 : g2.value = e2, N2(k2.value), o2("input", k2.value, g2.value, l3), "input" === t2.modelEvent && (o2("update:modelValue", k2.value), o2("change", k2.value, l3)));
4453
4463
  }, E2 = (e2) => {
4464
+ o2("focus", e2);
4465
+ }, L2 = (e2, t3) => {
4466
+ t3 instanceof MouseEvent && !e2 || (B2(), o2("change", k2.value, t3));
4467
+ }, O2 = (e2) => {
4454
4468
  o2("blur", e2);
4455
- }, L2 = (e2) => {
4469
+ }, I2 = (e2) => {
4456
4470
  var _a3, _b;
4457
- h2.value = "", o2("update:modelValue", void 0), o2("change", void 0, e2), (_b = (_a3 = p2.value) == null ? void 0 : _a3.onChange) == null ? void 0 : _b.call(_a3, e2), o2("clear", e2);
4458
- }, O2 = xl(/* @__PURE__ */ new Map([[yl, (e2) => {
4459
- e2.preventDefault(), !t2.readOnly && N2("plus", e2);
4471
+ g2.value = "", o2("update:modelValue", void 0), o2("change", void 0, e2), (_b = (_a3 = p2.value) == null ? void 0 : _a3.onChange) == null ? void 0 : _b.call(_a3, e2), o2("clear", e2);
4472
+ }, M2 = xl(/* @__PURE__ */ new Map([[yl, (e2) => {
4473
+ e2.preventDefault(), !t2.readOnly && $2("plus", e2);
4460
4474
  }], [gl, (e2) => {
4461
- e2.preventDefault(), !t2.readOnly && N2("minus", e2);
4462
- }]])), I2 = (e2) => {
4463
- o2("keydown", e2), !e2.defaultPrevented && t2.keyboard && O2(e2);
4475
+ e2.preventDefault(), !t2.readOnly && $2("minus", e2);
4476
+ }]])), j2 = (e2) => {
4477
+ o2("keydown", e2), !e2.defaultPrevented && t2.keyboard && M2(e2);
4464
4478
  };
4465
4479
  e.watch(() => t2.modelValue, (e2) => {
4466
- e2 !== y2.value && (h2.value = v2(e2), w2(e2));
4480
+ e2 !== k2.value && (g2.value = y2(e2), N2(e2));
4467
4481
  });
4468
- const M2 = () => {
4482
+ const T2 = () => {
4469
4483
  var _a3, _b, _c2;
4470
- return t2.readOnly ? null : e.createVNode(e.Fragment, null, [l2.suffix && e.createVNode("div", { class: `${r2}-suffix` }, [(_a3 = l2.suffix) == null ? void 0 : _a3.call(l2)]), e.createVNode("div", { class: `${r2}-step` }, [e.createVNode("button", { class: [`${r2}-step-button`, { [`${r2}-step-button-disabled`]: d2.value || k2.value }], type: "button", tabindex: "-1", disabled: d2.value || k2.value, onMousedown: (e2) => B2(e2, "plus", true), onMouseup: C2, onMouseleave: C2 }, [l2.plus ? (_b = l2.plus) == null ? void 0 : _b.call(l2) : e.createVNode(Ya, null, null)]), e.createVNode("button", { class: [`${r2}-step-button`, { [`${r2}-step-button-disabled`]: d2.value || g2.value }], type: "button", tabindex: "-1", disabled: d2.value || g2.value, onMousedown: (e2) => B2(e2, "minus", true), onMouseup: C2, onMouseleave: C2 }, [l2.minus ? (_c2 = l2.minus) == null ? void 0 : _c2.call(l2) : e.createVNode(un, null, null)])])]);
4471
- }, j2 = e.computed(() => [r2, `${r2}-mode-${t2.mode}`, `${r2}-size-${m2.value}`, { [`${r2}-readonly`]: t2.readOnly }]), T2 = () => e.createVNode(to, { size: m2.value, tabindex: "-1", class: `${r2}-step-button`, disabled: d2.value || g2.value || t2.readOnly, onMousedown: (e2) => B2(e2, "minus", true), onMouseup: C2, onMouseleave: C2 }, { icon: () => e.createVNode(mi, null, null) }), A2 = () => e.createVNode(to, { size: m2.value, tabindex: "-1", class: `${r2}-step-button`, disabled: d2.value || k2.value || t2.readOnly, onMousedown: (e2) => B2(e2, "plus", true), onMouseup: C2, onMouseleave: C2 }, { icon: () => e.createVNode(ci, null, null) });
4484
+ return t2.readOnly ? null : e.createVNode(e.Fragment, null, [l2.suffix && e.createVNode("div", { class: `${r2}-suffix` }, [(_a3 = l2.suffix) == null ? void 0 : _a3.call(l2)]), e.createVNode("div", { class: `${r2}-step` }, [e.createVNode("button", { class: [`${r2}-step-button`, { [`${r2}-step-button-disabled`]: d2.value || C2.value }], type: "button", tabindex: "-1", disabled: d2.value || C2.value, onMousedown: (e2) => z2(e2, "plus", true), onMouseup: w2, onMouseleave: w2 }, [l2.plus ? (_b = l2.plus) == null ? void 0 : _b.call(l2) : e.createVNode(Ya, null, null)]), e.createVNode("button", { class: [`${r2}-step-button`, { [`${r2}-step-button-disabled`]: d2.value || b2.value }], type: "button", tabindex: "-1", disabled: d2.value || b2.value, onMousedown: (e2) => z2(e2, "minus", true), onMouseup: w2, onMouseleave: w2 }, [l2.minus ? (_c2 = l2.minus) == null ? void 0 : _c2.call(l2) : e.createVNode(un, null, null)])])]);
4485
+ }, A2 = e.computed(() => [r2, `${r2}-mode-${t2.mode}`, `${r2}-size-${m2.value}`, { [`${r2}-readonly`]: t2.readOnly }]), D2 = () => e.createVNode(to, { size: m2.value, tabindex: "-1", class: `${r2}-step-button`, disabled: d2.value || b2.value || t2.readOnly, onMousedown: (e2) => z2(e2, "minus", true), onMouseup: w2, onMouseleave: w2 }, { icon: () => e.createVNode(mi, null, null) }), R2 = () => e.createVNode(to, { size: m2.value, tabindex: "-1", class: `${r2}-step-button`, disabled: d2.value || C2.value || t2.readOnly, onMousedown: (e2) => z2(e2, "plus", true), onMouseup: w2, onMouseleave: w2 }, { icon: () => e.createVNode(ci, null, null) });
4472
4486
  return { inputRef: i2, render: () => {
4473
- const o3 = "embed" === t2.mode ? { prepend: l2.prepend, prefix: l2.prefix, suffix: t2.hideButton ? l2.suffix : M2, append: l2.append } : { prepend: t2.hideButton ? l2.prepend : T2, prefix: l2.prefix, suffix: l2.suffix, append: t2.hideButton ? l2.append : A2 };
4474
- return e.createVNode(ho, { key: `__arco__${t2.mode}`, ref: i2, class: j2.value, type: "text", allowClear: t2.allowClear, size: m2.value, modelValue: h2.value, placeholder: t2.placeholder, disabled: d2.value, readonly: t2.readOnly, error: t2.error, inputAttrs: { role: "spinbutton", "aria-valuemax": t2.max, "aria-valuemin": t2.min, "aria-valuenow": h2.value, ...t2.inputAttrs }, onInput: $2, onFocus: z2, onBlur: E2, onClear: L2, onChange: P2, onKeydown: I2 }, o3);
4487
+ const o3 = "embed" === t2.mode ? { prepend: l2.prepend, prefix: l2.prefix, suffix: t2.hideButton ? l2.suffix : T2, append: l2.append } : { prepend: t2.hideButton ? l2.prepend : D2, prefix: l2.prefix, suffix: l2.suffix, append: t2.hideButton ? l2.append : R2 };
4488
+ return e.createVNode(ho, { key: `__arco__${t2.mode}`, ref: i2, class: A2.value, type: "text", allowClear: t2.allowClear, size: m2.value, modelValue: g2.value, placeholder: t2.placeholder, disabled: d2.value, readonly: t2.readOnly, error: t2.error, inputAttrs: { role: "spinbutton", "aria-valuemax": t2.max, "aria-valuemin": t2.min, "aria-valuenow": g2.value, ...t2.inputAttrs }, onInput: P2, onFocus: E2, onBlur: O2, onClear: I2, onChange: L2, onKeydown: j2 }, o3);
4475
4489
  } };
4476
4490
  }, methods: { focus() {
4477
4491
  var _a2;