@nhtio/lucid-resourceful-vue-components 0.1.0-master-e14740ea → 0.1.0-master-54839a90

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 (181) hide show
  1. package/{VBtn-DhfYEt9V.mjs → VBtn-C4WCntKg.mjs} +8 -8
  2. package/{VBtn-DhfYEt9V.mjs.map → VBtn-C4WCntKg.mjs.map} +1 -1
  3. package/{VDatePicker-D0OTAyvJ.mjs → VDatePicker-DOCNk-HL.mjs} +166 -166
  4. package/{VDatePicker-D0OTAyvJ.mjs.map → VDatePicker-DOCNk-HL.mjs.map} +1 -1
  5. package/{VEmptyState-BFrXSTJ-.mjs → VEmptyState-CfouFZTg.mjs} +41 -41
  6. package/{VEmptyState-BFrXSTJ-.mjs.map → VEmptyState-CfouFZTg.mjs.map} +1 -1
  7. package/{VHover-DLvOmsjv.mjs → VHover-DvUhdfsL.mjs} +3 -3
  8. package/{VHover-DLvOmsjv.mjs.map → VHover-DvUhdfsL.mjs.map} +1 -1
  9. package/{VListItem-LNaoM8S4.mjs → VListItem-BT-NXJyi.mjs} +56 -56
  10. package/{VListItem-LNaoM8S4.mjs.map → VListItem-BT-NXJyi.mjs.map} +1 -1
  11. package/{VMenu-9rTbTKtH.mjs → VMenu-Bk2NN8qb.mjs} +28 -28
  12. package/{VMenu-9rTbTKtH.mjs.map → VMenu-Bk2NN8qb.mjs.map} +1 -1
  13. package/{VPicker-BGuRD0KW.mjs → VPicker-DmY6CdER.mjs} +5 -5
  14. package/{VPicker-BGuRD0KW.mjs.map → VPicker-DmY6CdER.mjs.map} +1 -1
  15. package/{VRadioGroup-Dx_wEqzl.mjs → VRadioGroup-BO7XdtLS.mjs} +21 -21
  16. package/{VRadioGroup-Dx_wEqzl.mjs.map → VRadioGroup-BO7XdtLS.mjs.map} +1 -1
  17. package/{VRow-DaLdbIGw.mjs → VRow-BhNJcY5-.mjs} +17 -17
  18. package/{VRow-DaLdbIGw.mjs.map → VRow-BhNJcY5-.mjs.map} +1 -1
  19. package/{VSheet-DnIfs-1c.mjs → VSheet-Bkr-m6FE.mjs} +14 -14
  20. package/{VSheet-DnIfs-1c.mjs.map → VSheet-Bkr-m6FE.mjs.map} +1 -1
  21. package/{actions-8bWGsB-p.mjs → actions-ORUmfJR5.mjs} +15 -15
  22. package/{actions-8bWGsB-p.mjs.map → actions-ORUmfJR5.mjs.map} +1 -1
  23. package/{alert-IW1AIWZw.mjs → alert-pFT7pWTZ.mjs} +97 -94
  24. package/alert-pFT7pWTZ.mjs.map +1 -0
  25. package/{bigint-Jmfa2L4S.mjs → bigint-CCM0aPaS.mjs} +6 -6
  26. package/{bigint-Jmfa2L4S.mjs.map → bigint-CCM0aPaS.mjs.map} +1 -1
  27. package/{boolean-BEY7eBxf.mjs → boolean-1-MOJPSu.mjs} +40 -40
  28. package/{boolean-BEY7eBxf.mjs.map → boolean-1-MOJPSu.mjs.map} +1 -1
  29. package/{clipboard-BoKd7mFG.mjs → clipboard-CdGABqm1.mjs} +51 -51
  30. package/{clipboard-BoKd7mFG.mjs.map → clipboard-CdGABqm1.mjs.map} +1 -1
  31. package/{colorUtils-DmtKYNgW.mjs → colorUtils-BdpqbLZS.mjs} +3 -3
  32. package/{colorUtils-DmtKYNgW.mjs.map → colorUtils-BdpqbLZS.mjs.map} +1 -1
  33. package/{common-BeDAn4wu.mjs → common-Bi5RUD-n.mjs} +8881 -8880
  34. package/common-Bi5RUD-n.mjs.map +1 -0
  35. package/{component-CjPpW_A2.mjs → component-DhEJuSE6.mjs} +2 -2
  36. package/{component-CjPpW_A2.mjs.map → component-DhEJuSE6.mjs.map} +1 -1
  37. package/components/autorefresh_controller.mjs +1 -1
  38. package/components/control_button.mjs +1 -1
  39. package/components/control_button_bar.mjs +2 -2
  40. package/components/control_menu.mjs +1 -1
  41. package/components/custom_field.mjs +1 -1
  42. package/components/exporter.mjs +1 -1
  43. package/components/fields/bigint.mjs +1 -1
  44. package/components/fields/boolean.mjs +1 -1
  45. package/components/fields/date.mjs +1 -1
  46. package/components/fields/date_time.mjs +1 -1
  47. package/components/fields/enum.mjs +1 -1
  48. package/components/fields/integer.mjs +1 -1
  49. package/components/fields/number.mjs +1 -1
  50. package/components/fields/string.mjs +1 -1
  51. package/components/fields/unsigned_integer.mjs +1 -1
  52. package/components/fields.mjs +9 -9
  53. package/components/form_with_validation.mjs +1 -1
  54. package/components/resourceful_alerter.mjs +1 -1
  55. package/components/resourceful_index.mjs +1 -1
  56. package/components/resourceful_record.mjs +2 -2
  57. package/components/resourceful_record_default_form.mjs +1 -1
  58. package/components/resourceful_record_form.mjs +1 -1
  59. package/components/sortable.mjs +1 -1
  60. package/components/svg_icon.mjs +1 -1
  61. package/components/timezone_picker.mjs +1 -1
  62. package/components.mjs +23 -23
  63. package/composables.mjs +8 -8
  64. package/{console-CRXioSFP.mjs → console-Dgoi3FwV.mjs} +2 -2
  65. package/{console-CRXioSFP.mjs.map → console-Dgoi3FwV.mjs.map} +1 -1
  66. package/{custom-Y1WJVKP9.mjs → custom-DQmbYYPh.mjs} +17 -17
  67. package/{custom-Y1WJVKP9.mjs.map → custom-DQmbYYPh.mjs.map} +1 -1
  68. package/{date-BxEeCNWD.mjs → date-E_8RP3gK.mjs} +21 -21
  69. package/{date-BxEeCNWD.mjs.map → date-E_8RP3gK.mjs.map} +1 -1
  70. package/{date_time-6kpv7eDF.mjs → date_time-BmYl2TFi.mjs} +300 -300
  71. package/{date_time-6kpv7eDF.mjs.map → date_time-BmYl2TFi.mjs.map} +1 -1
  72. package/{display-kAyhIPBH.mjs → display-B089h_sz.mjs} +30 -28
  73. package/display-B089h_sz.mjs.map +1 -0
  74. package/{display-CO0pTIEs.mjs → display-dv4cOwRN.mjs} +42 -42
  75. package/{display-CO0pTIEs.mjs.map → display-dv4cOwRN.mjs.map} +1 -1
  76. package/{display-DvzWa1QO.mjs → display-fXo4JeIS.mjs} +41 -41
  77. package/{display-DvzWa1QO.mjs.map → display-fXo4JeIS.mjs.map} +1 -1
  78. package/{elevation-CMzO50xm.mjs → elevation-YNOj0hSa.mjs} +82 -82
  79. package/{elevation-CMzO50xm.mjs.map → elevation-YNOj0hSa.mjs.map} +1 -1
  80. package/{enum-noYU2Cqh.mjs → enum-8itqseZa.mjs} +22 -22
  81. package/{enum-noYU2Cqh.mjs.map → enum-8itqseZa.mjs.map} +1 -1
  82. package/factories.mjs +1 -1
  83. package/{field_composer-DpJx0Oz1.mjs → field_composer-ugYyDQNY.mjs} +7 -7
  84. package/{field_composer-DpJx0Oz1.mjs.map → field_composer-ugYyDQNY.mjs.map} +1 -1
  85. package/{form-CDLcDPyU.mjs → form-BtDnRXYm.mjs} +45 -45
  86. package/{form-CDLcDPyU.mjs.map → form-BtDnRXYm.mjs.map} +1 -1
  87. package/{guards-B99p3BPj.mjs → guards-Cby4QwzY.mjs} +2 -2
  88. package/{guards-B99p3BPj.mjs.map → guards-Cby4QwzY.mjs.map} +1 -1
  89. package/guards.mjs +4 -4
  90. package/helpers.mjs +6 -6
  91. package/{index-C9UuBVyI.mjs → index-3XRUa28C.mjs} +12 -12
  92. package/{index-C9UuBVyI.mjs.map → index-3XRUa28C.mjs.map} +1 -1
  93. package/{index-CzI9mHIx.mjs → index-BCQmj6cf.mjs} +13 -13
  94. package/{index-CzI9mHIx.mjs.map → index-BCQmj6cf.mjs.map} +1 -1
  95. package/{index-bXmNb9jX.mjs → index-BgevbZTt.mjs} +10 -10
  96. package/{index-bXmNb9jX.mjs.map → index-BgevbZTt.mjs.map} +1 -1
  97. package/{index-BaWthszI.mjs → index-C-PCfO1S.mjs} +2 -2
  98. package/{index-BaWthszI.mjs.map → index-C-PCfO1S.mjs.map} +1 -1
  99. package/{index-Bi050X9r.mjs → index-CSyOYGEi.mjs} +8 -8
  100. package/{index-Bi050X9r.mjs.map → index-CSyOYGEi.mjs.map} +1 -1
  101. package/{index-CIvylvfa.mjs → index-D9i1PRci.mjs} +5701 -5698
  102. package/{index-CIvylvfa.mjs.map → index-D9i1PRci.mjs.map} +1 -1
  103. package/{index-B2rKM3mR.mjs → index-DWv9iKZs.mjs} +21 -21
  104. package/{index-B2rKM3mR.mjs.map → index-DWv9iKZs.mjs.map} +1 -1
  105. package/{index-slHxe6b-.mjs → index-VpcXNOpn.mjs} +2 -2
  106. package/{index-slHxe6b-.mjs.map → index-VpcXNOpn.mjs.map} +1 -1
  107. package/{index-BUpccfIz.mjs → index-fiZltUBs.mjs} +3 -3
  108. package/{index-BUpccfIz.mjs.map → index-fiZltUBs.mjs.map} +1 -1
  109. package/index.mjs +31 -31
  110. package/{integer-BIJ4_I8y.mjs → integer-W2_SlKV1.mjs} +5 -5
  111. package/{integer-BIJ4_I8y.mjs.map → integer-W2_SlKV1.mjs.map} +1 -1
  112. package/{mdi-CqMJqgQi.mjs → mdi-DC1jeTJJ.mjs} +55 -55
  113. package/{mdi-CqMJqgQi.mjs.map → mdi-DC1jeTJJ.mjs.map} +1 -1
  114. package/{number-z_LAINPM.mjs → number-DgwZBxOw.mjs} +101 -101
  115. package/{number-z_LAINPM.mjs.map → number-DgwZBxOw.mjs.map} +1 -1
  116. package/package.json +31 -31
  117. package/{position-Ai5XksAO.mjs → position-B9VPkbhU.mjs} +2 -2
  118. package/{position-Ai5XksAO.mjs.map → position-B9VPkbhU.mjs.map} +1 -1
  119. package/private/control-button-bar/props.d.ts +10 -10
  120. package/private/fields/bigint.d.ts +128 -128
  121. package/private/fields/boolean.d.ts +68 -68
  122. package/private/fields/common.d.ts +16 -16
  123. package/private/fields/custom.d.ts +2 -2
  124. package/private/fields/date.d.ts +24 -24
  125. package/private/fields/date_time.d.ts +24 -24
  126. package/private/fields/enum.d.ts +68 -68
  127. package/private/fields/integer.d.ts +107 -107
  128. package/private/fields/multiple.d.ts +17 -17
  129. package/private/fields/number.d.ts +46 -46
  130. package/private/fields/read_mode_renderer.d.ts +17 -17
  131. package/private/fields/string.d.ts +24 -24
  132. package/private/fields/unsigned_integer.d.ts +107 -107
  133. package/private/filtration/filter_group_condition_element.d.ts +36 -36
  134. package/private/resourceful-index/index.d.ts +17 -17
  135. package/private/resourceful-index/partials/_controls.d.ts +1 -1
  136. package/private/resourceful-index/partials/_per_page_selector.d.ts +1 -1
  137. package/private/resourceful-index/props.d.ts +34 -34
  138. package/private/resourceful-record/form.d.ts +12 -12
  139. package/private/resourceful-record/index.d.ts +13 -13
  140. package/private/resourceful-record/props.d.ts +20 -20
  141. package/private/sortable/index.d.ts +1 -1
  142. package/{props-p4f5Pa5h.mjs → props-COvhL78L.mjs} +4 -4
  143. package/{props-p4f5Pa5h.mjs.map → props-COvhL78L.mjs.map} +1 -1
  144. package/{props-BYX22zcE.mjs → props-GYFmAF5-.mjs} +6 -6
  145. package/{props-BYX22zcE.mjs.map → props-GYFmAF5-.mjs.map} +1 -1
  146. package/{renderers-BKUvrrVm.mjs → renderers-BP4li2WT.mjs} +13 -13
  147. package/{renderers-BKUvrrVm.mjs.map → renderers-BP4li2WT.mjs.map} +1 -1
  148. package/{string-Dmr8SRMf.mjs → string-RfpfCwEn.mjs} +137 -137
  149. package/{string-Dmr8SRMf.mjs.map → string-RfpfCwEn.mjs.map} +1 -1
  150. package/{unsigned_integer-BliPiCXO.mjs → unsigned_integer-Cg6tbRJj.mjs} +4 -4
  151. package/{unsigned_integer-BliPiCXO.mjs.map → unsigned_integer-Cg6tbRJj.mjs.map} +1 -1
  152. package/useRender-CfNJA_8a.mjs +9 -0
  153. package/{useRender-BD1xw5zG.mjs.map → useRender-CfNJA_8a.mjs.map} +1 -1
  154. package/{utils-DqXWb-4f.mjs → utils-D3ZGaTyv.mjs} +48 -48
  155. package/{utils-DqXWb-4f.mjs.map → utils-D3ZGaTyv.mjs.map} +1 -1
  156. package/{validation-DS3tTSk5.mjs → validation-BF_JkNWB.mjs} +4 -4
  157. package/{validation-DS3tTSk5.mjs.map → validation-BF_JkNWB.mjs.map} +1 -1
  158. package/VBtn.css +0 -1
  159. package/VDatePicker.css +0 -1
  160. package/VEmptyState.css +0 -1
  161. package/VListItem.css +0 -1
  162. package/VMenu.css +0 -1
  163. package/VPicker.css +0 -1
  164. package/VRadioGroup.css +0 -1
  165. package/VSheet.css +0 -1
  166. package/actions.css +0 -1
  167. package/alert-IW1AIWZw.mjs.map +0 -1
  168. package/boolean.css +0 -1
  169. package/clipboard.css +0 -1
  170. package/common-BeDAn4wu.mjs.map +0 -1
  171. package/common.css +0 -1
  172. package/date_time.css +0 -1
  173. package/display-kAyhIPBH.mjs.map +0 -1
  174. package/display.css +0 -1
  175. package/display2.css +0 -1
  176. package/elevation.css +0 -1
  177. package/index.css +0 -1
  178. package/mdi.css +0 -1
  179. package/number.css +0 -1
  180. package/string.css +0 -1
  181. package/useRender-BD1xw5zG.mjs +0 -9
@@ -1,31 +1,31 @@
1
- import { S as H } from "./index-BaWthszI.mjs";
2
- import { n as Ye } from "./numeral-zjPCiY2K.mjs";
3
- import { u as Ze } from "./field_composer-DpJx0Oz1.mjs";
4
- import { p as Je, y as Qe, d as en, x as nn, s as tn, a as we } from "./utils-DqXWb-4f.mjs";
5
- import { onScopeDispose as ln, ref as an, computed as o, shallowRef as Ce, watchEffect as rn, toRef as Z, watch as Pe, onMounted as un, createElementVNode as R, createVNode as I, Fragment as J, mergeProps as on, nextTick as Q, h as D, defineComponent as sn, toRefs as x } from "vue";
6
- import { I as ee } from "./elevation-CMzO50xm.mjs";
7
- import { t as cn, b as De, e as ne, v as dn, a as mn, c as vn, m as fn } from "./common-BeDAn4wu.mjs";
8
- import { r as pn, c as bn, C as gn, D as hn, E as Nn, g as Vn } from "./mdi-CqMJqgQi.mjs";
9
- import { g as In, p as xn, T as yn, u as wn, U as be, k as Cn, V as te, l as ke, o as Pn, W as Dn, X as kn } from "./display-DvzWa1QO.mjs";
10
- import './number.css';const Fn = 50, Sn = 500;
1
+ import { S as H } from "./index-C-PCfO1S.mjs";
2
+ import { n as Qe } from "./numeral-zjPCiY2K.mjs";
3
+ import { u as Ye } from "./field_composer-ugYyDQNY.mjs";
4
+ import { p as Ze, x as Je, d as en, w as nn, s as tn, a as ye } from "./utils-D3ZGaTyv.mjs";
5
+ import { onScopeDispose as ln, ref as an, computed as o, shallowRef as Ce, watchEffect as rn, toRef as Y, watch as Pe, onMounted as un, createElementVNode as R, createVNode as I, Fragment as Z, mergeProps as on, nextTick as J, h as D, defineComponent as sn, toRefs as x } from "vue";
6
+ import { I as ee } from "./elevation-YNOj0hSa.mjs";
7
+ import { t as cn, V as De, a as ne, v as dn, m as mn, c as vn, b as fn } from "./common-Bi5RUD-n.mjs";
8
+ import { r as pn, m as bn, A as gn, B as hn, C as Nn, d as Vn } from "./mdi-DC1jeTJJ.mjs";
9
+ import { g as In, p as xn, N as wn, u as yn, O as be, o as Cn, V as te, E as Fe, F as Pn, P as Dn, Q as Fn } from "./display-fXo4JeIS.mjs";
10
+ const kn = 50, Sn = 500;
11
11
  function En(e) {
12
12
  let {
13
- toggleUpDown: B
13
+ toggleUpDown: U
14
14
  } = e, a = -1, g = -1;
15
15
  ln(f);
16
- function y(i) {
17
- f(), k(i), window.addEventListener("pointerup", f), document.addEventListener("blur", f), a = window.setTimeout(() => {
18
- g = window.setInterval(() => k(i), Fn);
16
+ function w(i) {
17
+ f(), F(i), window.addEventListener("pointerup", f), document.addEventListener("blur", f), a = window.setTimeout(() => {
18
+ g = window.setInterval(() => F(i), kn);
19
19
  }, Sn);
20
20
  }
21
21
  function f() {
22
22
  window.clearTimeout(a), window.clearInterval(g), window.removeEventListener("pointerup", f), document.removeEventListener("blur", f);
23
23
  }
24
- function k(i) {
25
- B(i === "up");
24
+ function F(i) {
25
+ U(i === "up");
26
26
  }
27
27
  return {
28
- holdStart: y,
28
+ holdStart: w,
29
29
  holdStop: f
30
30
  };
31
31
  }
@@ -74,19 +74,19 @@ const Rn = xn({
74
74
  "update:focused": (e) => !0,
75
75
  "update:modelValue": (e) => !0
76
76
  },
77
- setup(e, B) {
77
+ setup(e, U) {
78
78
  let {
79
79
  slots: a
80
- } = B;
80
+ } = U;
81
81
  const g = an(), {
82
- holdStart: y,
82
+ holdStart: w,
83
83
  holdStop: f
84
84
  } = En({
85
- toggleUpDown: _
86
- }), k = cn(e), i = o(() => k.isDisabled.value || k.isReadonly.value), T = Ce(e.focused), {
85
+ toggleUpDown: O
86
+ }), F = cn(e), i = o(() => F.isDisabled.value || F.isReadonly.value), T = Ce(e.focused), {
87
87
  decimalSeparator: W
88
- } = yn(), s = o(() => e.decimalSeparator?.[0] || W.value);
89
- function w(n) {
88
+ } = wn(), s = o(() => e.decimalSeparator?.[0] || W.value);
89
+ function y(n) {
90
90
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.precision, d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
91
91
  const v = t == null ? String(n) : n.toFixed(t);
92
92
  if (T.value && d)
@@ -96,9 +96,9 @@ const Rn = xn({
96
96
  let [V, c] = v.split(".");
97
97
  return c = (c ?? "").padEnd(e.minFractionDigits, "0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`, "g"), ""), [V, c].filter(Boolean).join(s.value);
98
98
  }
99
- const l = wn(e, "modelValue", null, (n) => n ?? null, (n) => n == null ? n ?? null : be(Number(n), e.min, e.max)), C = Ce(null);
99
+ const l = yn(e, "modelValue", null, (n) => n ?? null, (n) => n == null ? n ?? null : be(Number(n), e.min, e.max)), C = Ce(null);
100
100
  rn(() => {
101
- T.value && !i.value && Number(C.value?.replace(s.value, ".")) === l.value || (l.value == null ? C.value = null : isNaN(l.value) || (C.value = w(l.value)));
101
+ T.value && !i.value && Number(C.value?.replace(s.value, ".")) === l.value || (l.value == null ? C.value = null : isNaN(l.value) || (C.value = y(l.value)));
102
102
  });
103
103
  const r = o({
104
104
  get: () => C.value,
@@ -110,38 +110,38 @@ const Rn = xn({
110
110
  const t = Number(n.replace(s.value, "."));
111
111
  !isNaN(t) && t <= e.max && t >= e.min && (l.value = t, C.value = n);
112
112
  }
113
- }), $ = o(() => i.value ? !1 : (l.value ?? 0) + e.step <= e.max), A = o(() => i.value ? !1 : (l.value ?? 0) - e.step >= e.min), u = o(() => e.hideInput ? "stacked" : e.controlVariant), L = Z(() => u.value === "split" ? "$plus" : "$collapse"), j = Z(() => u.value === "split" ? "$minus" : "$expand"), M = Z(() => u.value === "split" ? "default" : "small"), U = Z(() => u.value === "stacked" ? "auto" : "100%"), le = {
113
+ }), $ = o(() => i.value ? !1 : (l.value ?? 0) + e.step <= e.max), A = o(() => i.value ? !1 : (l.value ?? 0) - e.step >= e.min), u = o(() => e.hideInput ? "stacked" : e.controlVariant), L = Y(() => u.value === "split" ? "$plus" : "$collapse"), j = Y(() => u.value === "split" ? "$minus" : "$expand"), M = Y(() => u.value === "split" ? "default" : "small"), z = Y(() => u.value === "stacked" ? "auto" : "100%"), le = {
114
114
  props: {
115
- onClick: z,
115
+ onClick: B,
116
116
  onPointerup: h,
117
117
  onPointerdown: K,
118
118
  onPointercancel: h
119
119
  }
120
120
  }, ae = {
121
121
  props: {
122
- onClick: z,
122
+ onClick: B,
123
123
  onPointerup: h,
124
124
  onPointerdown: X,
125
125
  onPointercancel: h
126
126
  }
127
127
  };
128
128
  Pe(() => e.precision, () => q()), Pe(() => e.minFractionDigits, () => q()), un(() => {
129
- O();
129
+ _();
130
130
  });
131
131
  function G(n) {
132
132
  if (n == null) return 0;
133
133
  const t = n.toString(), d = t.indexOf(".");
134
134
  return ~d ? t.length - d : 0;
135
135
  }
136
- function _() {
136
+ function O() {
137
137
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
138
138
  if (i.value) return;
139
139
  if (l.value == null) {
140
- r.value = w(be(0, e.min, e.max));
140
+ r.value = y(be(0, e.min, e.max));
141
141
  return;
142
142
  }
143
143
  let t = Math.max(G(l.value), G(e.step));
144
- e.precision != null && (t = Math.max(t, e.precision)), n ? $.value && (r.value = w(l.value + e.step, t)) : A.value && (r.value = w(l.value - e.step, t));
144
+ e.precision != null && (t = Math.max(t, e.precision)), n ? $.value && (r.value = y(l.value + e.step, t)) : A.value && (r.value = y(l.value - e.step, t));
145
145
  }
146
146
  function re(n) {
147
147
  if (!n.data) return;
@@ -150,37 +150,37 @@ const Rn = xn({
150
150
  selectionStart: v,
151
151
  selectionEnd: V
152
152
  } = t ?? {}, c = d ? d.slice(0, v) + n.data + d.slice(V) : n.data, N = Dn(c, e.precision, s.value);
153
- if (new RegExp(`^-?\\d*${kn(s.value)}?\\d*$`).test(c) || (n.preventDefault(), t.value = N, Q(() => r.value = N)), e.precision != null) {
153
+ if (new RegExp(`^-?\\d*${Fn(s.value)}?\\d*$`).test(c) || (n.preventDefault(), t.value = N, J(() => r.value = N)), e.precision != null) {
154
154
  if (c.split(s.value)[1]?.length > e.precision) {
155
- n.preventDefault(), t.value = N, Q(() => r.value = N);
156
- const F = (v ?? 0) + n.data.length;
157
- t.setSelectionRange(F, F);
155
+ n.preventDefault(), t.value = N, J(() => r.value = N);
156
+ const k = (v ?? 0) + n.data.length;
157
+ t.setSelectionRange(k, k);
158
158
  }
159
- e.precision === 0 && c.endsWith(s.value) && (n.preventDefault(), t.value = N, Q(() => r.value = N));
159
+ e.precision === 0 && c.endsWith(s.value) && (n.preventDefault(), t.value = N, J(() => r.value = N));
160
160
  }
161
161
  }
162
162
  async function ue(n) {
163
- ["Enter", "ArrowLeft", "ArrowRight", "Backspace", "Delete", "Tab"].includes(n.key) || n.ctrlKey || ["ArrowDown", "ArrowUp"].includes(n.key) && (n.preventDefault(), n.stopPropagation(), O(), await Q(), n.key === "ArrowDown" ? _(!1) : _());
163
+ ["Enter", "ArrowLeft", "ArrowRight", "Backspace", "Delete", "Tab"].includes(n.key) || n.ctrlKey || ["ArrowDown", "ArrowUp"].includes(n.key) && (n.preventDefault(), n.stopPropagation(), _(), await J(), n.key === "ArrowDown" ? O(!1) : O());
164
164
  }
165
- function z(n) {
165
+ function B(n) {
166
166
  n.stopPropagation();
167
167
  }
168
168
  function h(n) {
169
169
  n.currentTarget?.releasePointerCapture(n.pointerId), n.preventDefault(), f();
170
170
  }
171
171
  function K(n) {
172
- n.currentTarget?.setPointerCapture(n.pointerId), n.preventDefault(), n.stopPropagation(), y("up");
172
+ n.currentTarget?.setPointerCapture(n.pointerId), n.preventDefault(), n.stopPropagation(), w("up");
173
173
  }
174
174
  function X(n) {
175
- n.currentTarget?.setPointerCapture(n.pointerId), n.preventDefault(), n.stopPropagation(), y("down");
175
+ n.currentTarget?.setPointerCapture(n.pointerId), n.preventDefault(), n.stopPropagation(), w("down");
176
176
  }
177
- function O() {
177
+ function _() {
178
178
  if (i.value || !g.value) return;
179
179
  const n = g.value.value, t = Number(n.replace(s.value, "."));
180
- n && !isNaN(t) ? r.value = w(be(t, e.min, e.max)) : r.value = null;
180
+ n && !isNaN(t) ? r.value = y(be(t, e.min, e.max)) : r.value = null;
181
181
  }
182
182
  function q() {
183
- i.value || (r.value = l.value !== null && !isNaN(l.value) ? w(l.value, e.precision, !1) : null);
183
+ i.value || (r.value = l.value !== null && !isNaN(l.value) ? y(l.value, e.precision, !1) : null);
184
184
  }
185
185
  function oe() {
186
186
  if (!i.value) {
@@ -195,7 +195,7 @@ const Rn = xn({
195
195
  oe();
196
196
  }
197
197
  function se() {
198
- O();
198
+ _();
199
199
  }
200
200
  return Cn(() => {
201
201
  const {
@@ -204,12 +204,12 @@ const Rn = xn({
204
204
  ...d
205
205
  } = De.filterProps(e);
206
206
  function v() {
207
- return a.increment ? I(ke, {
207
+ return a.increment ? I(Fe, {
208
208
  key: "increment-defaults",
209
209
  defaults: {
210
210
  VBtn: {
211
211
  disabled: !$.value,
212
- height: U.value,
212
+ height: z.value,
213
213
  size: M.value,
214
214
  icon: L.value,
215
215
  variant: "text"
@@ -221,10 +221,10 @@ const Rn = xn({
221
221
  "aria-hidden": "true",
222
222
  "data-testid": "increment",
223
223
  disabled: !$.value,
224
- height: U.value,
224
+ height: z.value,
225
225
  icon: L.value,
226
226
  key: "increment-btn",
227
- onClick: z,
227
+ onClick: B,
228
228
  onPointerdown: K,
229
229
  onPointerup: h,
230
230
  onPointercancel: h,
@@ -234,12 +234,12 @@ const Rn = xn({
234
234
  }, null);
235
235
  }
236
236
  function V() {
237
- return a.decrement ? I(ke, {
237
+ return a.decrement ? I(Fe, {
238
238
  key: "decrement-defaults",
239
239
  defaults: {
240
240
  VBtn: {
241
241
  disabled: !A.value,
242
- height: U.value,
242
+ height: z.value,
243
243
  size: M.value,
244
244
  icon: j.value,
245
245
  variant: "text"
@@ -251,10 +251,10 @@ const Rn = xn({
251
251
  "aria-hidden": "true",
252
252
  "data-testid": "decrement",
253
253
  disabled: !A.value,
254
- height: U.value,
254
+ height: z.value,
255
255
  icon: j.value,
256
256
  key: "decrement-btn",
257
- onClick: z,
257
+ onClick: B,
258
258
  onPointerdown: X,
259
259
  onPointerup: h,
260
260
  onPointercancel: h,
@@ -275,15 +275,15 @@ const Rn = xn({
275
275
  vertical: !0
276
276
  }, null) : void 0;
277
277
  }
278
- const F = u.value === "split" ? R("div", {
278
+ const k = u.value === "split" ? R("div", {
279
279
  class: "v-number-input__control"
280
280
  }, [I(ne, {
281
281
  vertical: !0
282
- }, null), v()]) : e.reverse || u.value === "hidden" ? void 0 : R(J, null, [N(), c()]), S = a["append-inner"] || F, Y = u.value === "split" ? R("div", {
282
+ }, null), v()]) : e.reverse || u.value === "hidden" ? void 0 : R(Z, null, [N(), c()]), S = a["append-inner"] || k, Q = u.value === "split" ? R("div", {
283
283
  class: "v-number-input__control"
284
284
  }, [V(), I(ne, {
285
285
  vertical: !0
286
- }, null)]) : e.reverse && u.value !== "hidden" ? R(J, null, [c(), N()]) : void 0, ce = a["prepend-inner"] || Y;
286
+ }, null)]) : e.reverse && u.value !== "hidden" ? R(Z, null, [c(), N()]) : void 0, ce = a["prepend-inner"] || Q;
287
287
  return I(De, on({
288
288
  ref: g
289
289
  }, d, {
@@ -311,17 +311,17 @@ const Rn = xn({
311
311
  "append-inner": S ? function() {
312
312
  for (var p = arguments.length, E = new Array(p), b = 0; b < p; b++)
313
313
  E[b] = arguments[b];
314
- return R(J, null, [a["append-inner"]?.(...E), F]);
314
+ return R(Z, null, [a["append-inner"]?.(...E), k]);
315
315
  } : void 0,
316
316
  "prepend-inner": ce ? function() {
317
317
  for (var p = arguments.length, E = new Array(p), b = 0; b < p; b++)
318
318
  E[b] = arguments[b];
319
- return R(J, null, [Y, a["prepend-inner"]?.(...E)]);
319
+ return R(Z, null, [Q, a["prepend-inner"]?.(...E)]);
320
320
  } : void 0
321
321
  });
322
322
  }), pn({}, g);
323
323
  }
324
- }), An = Je(
324
+ }), An = Ze(
325
325
  {
326
326
  controlVariant: {
327
327
  type: String,
@@ -349,10 +349,10 @@ const Rn = xn({
349
349
  type: Number,
350
350
  default: 0
351
351
  },
352
- ...Qe(mn(), ["modelValue", "validationValue"])
352
+ ...Je(mn(), ["modelValue", "validationValue"])
353
353
  },
354
354
  "VNumberInput"
355
- ), ge = (e) => !!(typeof e == "bigint" || typeof e == "number" && !Number.isNaN(e) && Number.isFinite(e)), Fe = (e) => typeof e > "u" || e === null ? !0 : Array.isArray(e) ? e.every(ge) : ge(e), { makeProps: Mn, emits: Un } = en(
355
+ ), ge = (e) => !!(typeof e == "bigint" || typeof e == "number" && !Number.isNaN(e) && Number.isFinite(e)), ke = (e) => typeof e > "u" || e === null ? !0 : Array.isArray(e) ? e.every(ge) : ge(e), { makeProps: Mn, emits: zn } = en(
356
356
  {
357
357
  ...nn(
358
358
  An({
@@ -421,27 +421,27 @@ const Rn = xn({
421
421
  ...fn()
422
422
  },
423
423
  {
424
- "update:modelValue": (e) => Fe(e),
425
- "update:model-value": (e) => Fe(e),
424
+ "update:modelValue": (e) => ke(e),
425
+ "update:model-value": (e) => ke(e),
426
426
  ...vn
427
427
  },
428
428
  "RNumberField"
429
429
  ), Gn = sn({
430
430
  name: "RNumberField",
431
431
  props: Mn(),
432
- emits: Un,
432
+ emits: zn,
433
433
  slots: Object,
434
- setup(e, { emit: B, slots: a }) {
434
+ setup(e, { emit: U, slots: a }) {
435
435
  const {
436
436
  focused: g,
437
- disabled: y,
437
+ disabled: w,
438
438
  error: f,
439
- errorMessages: k,
439
+ errorMessages: F,
440
440
  maxErrors: i,
441
441
  name: T,
442
442
  label: W,
443
443
  readonly: s,
444
- validateOn: w,
444
+ validateOn: y,
445
445
  theme: l,
446
446
  width: C,
447
447
  maxWidth: r,
@@ -451,18 +451,18 @@ const Rn = xn({
451
451
  style: L,
452
452
  id: j,
453
453
  baseColor: M,
454
- color: U,
454
+ color: z,
455
455
  glow: le,
456
456
  iconColor: ae,
457
457
  hideDetails: G,
458
- hint: _,
458
+ hint: O,
459
459
  persistentHint: re,
460
460
  messages: ue,
461
- direction: z,
461
+ direction: B,
462
462
  modelValue: h,
463
463
  renderMode: K,
464
464
  multiple: X,
465
- choices: O,
465
+ choices: _,
466
466
  allowUnspecifiedChoices: q,
467
467
  to: oe,
468
468
  href: ie,
@@ -474,9 +474,9 @@ const Rn = xn({
474
474
  suffix: V,
475
475
  role: c,
476
476
  noValuesText: N,
477
- clearIcon: F,
477
+ clearIcon: k,
478
478
  controlVariant: S,
479
- min: Y,
479
+ min: Q,
480
480
  max: ce,
481
481
  step: p,
482
482
  precision: E,
@@ -487,9 +487,9 @@ const Rn = xn({
487
487
  expandIcon: Te,
488
488
  dirty: Ae,
489
489
  onBlur: Me,
490
- onChange: Ue,
491
- onInput: ze
492
- } = x(e), Be = o(() => (P) => ge(P) ? Ye(P.toString()).format(b.value) : ""), $e = {
490
+ onChange: ze,
491
+ onInput: Be
492
+ } = x(e), Ue = o(() => (P) => ge(P) ? Qe(P.toString()).format(b.value) : ""), $e = {
493
493
  style: L,
494
494
  label: W,
495
495
  density: A,
@@ -500,14 +500,14 @@ const Rn = xn({
500
500
  menuIcon: se,
501
501
  active: n,
502
502
  theme: l,
503
- disabled: y,
503
+ disabled: w,
504
504
  variant: t,
505
505
  prefix: d,
506
506
  persistentPlaceholder: v,
507
507
  suffix: V,
508
508
  role: c,
509
509
  focused: g,
510
- choices: O,
510
+ choices: _,
511
511
  allowUnspecifiedChoices: q,
512
512
  class: u,
513
513
  "onUpdate:focused": x(e)["onUpdate:focused"],
@@ -521,14 +521,14 @@ const Rn = xn({
521
521
  }, de = o(
522
522
  () => tn({
523
523
  focused: g.value,
524
- disabled: y.value,
524
+ disabled: w.value,
525
525
  error: f.value,
526
- errorMessages: k.value,
526
+ errorMessages: F.value,
527
527
  maxErrors: i.value,
528
528
  name: T.value,
529
529
  label: W.value,
530
530
  readonly: s.value,
531
- validateOn: w.value,
531
+ validateOn: y.value,
532
532
  theme: l.value,
533
533
  width: C.value,
534
534
  maxWidth: r.value,
@@ -538,18 +538,18 @@ const Rn = xn({
538
538
  style: L.value,
539
539
  id: j.value,
540
540
  baseColor: M.value,
541
- color: U.value,
541
+ color: z.value,
542
542
  glow: le.value,
543
543
  iconColor: ae.value,
544
544
  hideDetails: G.value,
545
- hint: _.value,
545
+ hint: O.value,
546
546
  persistentHint: re.value,
547
547
  messages: ue.value,
548
- direction: z.value,
548
+ direction: B.value,
549
549
  variant: t.value,
550
- clearIcon: F.value,
550
+ clearIcon: k.value,
551
551
  controlVariant: S.value,
552
- min: Y.value,
552
+ min: Q.value,
553
553
  max: ce.value,
554
554
  step: p.value,
555
555
  precision: E.value,
@@ -560,18 +560,18 @@ const Rn = xn({
560
560
  role: c.value,
561
561
  dirty: Ae.value,
562
562
  onBlur: Me.value,
563
- onChange: Ue.value,
564
- onInput: ze.value
563
+ onChange: ze.value,
564
+ onInput: Be.value
565
565
  })
566
566
  ), Le = o(
567
567
  () => S.value === "split" ? Se.value : Re.value
568
- ), _e = o(
568
+ ), Oe = o(
569
569
  () => S.value === "split" ? Ee.value : Te.value
570
570
  ), he = o(
571
571
  () => S.value === "split" ? "default" : "small"
572
572
  ), Ne = o(
573
573
  () => S.value === "stacked" ? "auto" : "100%"
574
- ), Ve = o(() => y.value || s.value), Oe = ({
574
+ ), Ve = o(() => w.value || s.value), _e = ({
575
575
  props: P,
576
576
  isMultiAdd: Ie,
577
577
  add: We
@@ -598,7 +598,7 @@ const Rn = xn({
598
598
  disabled: !Ge.value,
599
599
  flat: !0,
600
600
  height: Ne.value,
601
- icon: _e.value,
601
+ icon: Oe.value,
602
602
  onClick: me,
603
603
  onPointerup: ve,
604
604
  onPointerdown: fe,
@@ -606,7 +606,7 @@ const Rn = xn({
606
606
  size: he.value,
607
607
  tabindex: "-1"
608
608
  });
609
- }, xe = we("increment", a), ye = we("decrement", a), qe = typeof P.modelValue == "number" ? P.modelValue : null;
609
+ }, xe = ye("increment", a), we = ye("decrement", a), qe = typeof P.modelValue == "number" ? P.modelValue : null;
610
610
  return D(
611
611
  Tn,
612
612
  {
@@ -628,15 +628,15 @@ const Rn = xn({
628
628
  ),
629
629
  decrement: (...m) => (
630
630
  // @ts-expect-error
631
- ye ? ye(...m) : Xe(...m)
631
+ we ? we(...m) : Xe(...m)
632
632
  )
633
633
  }
634
634
  );
635
- }, { composed: He } = Ze(
635
+ }, { composed: He } = Ye(
636
636
  $e,
637
- Be,
638
- Oe,
639
- B,
637
+ Ue,
638
+ _e,
639
+ U,
640
640
  e["onUpdate:modelValue"],
641
641
  e["onUpdate:model-value"],
642
642
  h,
@@ -649,6 +649,6 @@ export {
649
649
  Gn as R,
650
650
  Mn as a,
651
651
  An as m,
652
- Un as r
652
+ zn as r
653
653
  };
654
- //# sourceMappingURL=number-z_LAINPM.mjs.map
654
+ //# sourceMappingURL=number-DgwZBxOw.mjs.map