@8wave/ai-elements 0.124.0-beta.6 → 0.124.0-beta.8

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 (87) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-Dk748hZ0.js → PkChatbotFilePreview-DuvRnOes.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-Dk748hZ0.js.map → PkChatbotFilePreview-DuvRnOes.js.map} +1 -1
  3. package/dist/_chunks/{PkEditorRadioButtons-DWNs2pp4.js → PkEditorRadioButtons-Cif9q08d.js} +2 -2
  4. package/dist/_chunks/{PkEditorRadioButtons-DWNs2pp4.js.map → PkEditorRadioButtons-Cif9q08d.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreview-CC2W-RXG.js → PkFilePreview-D_piCsAW.js} +203 -203
  6. package/dist/_chunks/{PkFilePreview-CC2W-RXG.js.map → PkFilePreview-D_piCsAW.js.map} +1 -1
  7. package/dist/_chunks/{PkFilePreviewDialog-DYU2CUZS.js → PkFilePreviewDialog-Bq0ipzrJ.js} +3 -3
  8. package/dist/_chunks/{PkFilePreviewDialog-DYU2CUZS.js.map → PkFilePreviewDialog-Bq0ipzrJ.js.map} +1 -1
  9. package/dist/_chunks/{PkHeldImage-BUHSVQzX.js → PkHeldImage-EMuOT-Iv.js} +2 -2
  10. package/dist/_chunks/{PkHeldImage-BUHSVQzX.js.map → PkHeldImage-EMuOT-Iv.js.map} +1 -1
  11. package/dist/_chunks/{PkLazyImg-B7PfEr4P.js → PkLazyImg-CLCyyzuo.js} +2 -2
  12. package/dist/_chunks/{PkLazyImg-B7PfEr4P.js.map → PkLazyImg-CLCyyzuo.js.map} +1 -1
  13. package/dist/_chunks/{PkStreamingMarkdown-CeWyL_2B.js → PkStreamingMarkdown-CHwrLP75.js} +3 -3
  14. package/dist/_chunks/{PkStreamingMarkdown-CeWyL_2B.js.map → PkStreamingMarkdown-CHwrLP75.js.map} +1 -1
  15. package/dist/_chunks/{PkToolChatFile-BMj7-urz.js → PkToolChatFile-DO4zjMJr.js} +4 -4
  16. package/dist/_chunks/{PkToolChatFile-BMj7-urz.js.map → PkToolChatFile-DO4zjMJr.js.map} +1 -1
  17. package/dist/_chunks/{PkToolRequestGeolocation-D98zUqNQ.js → PkToolRequestGeolocation-C9PSITRU.js} +2 -2
  18. package/dist/_chunks/{PkToolRequestGeolocation-D98zUqNQ.js.map → PkToolRequestGeolocation-C9PSITRU.js.map} +1 -1
  19. package/dist/_chunks/{PkToolRequestOAuthConnection-DwcRnUcd.js → PkToolRequestOAuthConnection-CWi5SeCi.js} +3 -3
  20. package/dist/_chunks/{PkToolRequestOAuthConnection-DwcRnUcd.js.map → PkToolRequestOAuthConnection-CWi5SeCi.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShareDocument-1zhZDa0R.js → PkToolShareDocument-Buzu27rQ.js} +6 -6
  22. package/dist/_chunks/{PkToolShareDocument-1zhZDa0R.js.map → PkToolShareDocument-Buzu27rQ.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowArtifact-BoJC-NtV.js → PkToolShowArtifact-B2-3-k2F.js} +4 -4
  24. package/dist/_chunks/{PkToolShowArtifact-BoJC-NtV.js.map → PkToolShowArtifact-B2-3-k2F.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowCalendarEvent-Dvp1SwBY.js → PkToolShowCalendarEvent-mVY2FS24.js} +4 -4
  26. package/dist/_chunks/{PkToolShowCalendarEvent-Dvp1SwBY.js.map → PkToolShowCalendarEvent-mVY2FS24.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowComparison-BPfyn08U.js → PkToolShowComparison-7NCImocZ.js} +4 -4
  28. package/dist/_chunks/{PkToolShowComparison-BPfyn08U.js.map → PkToolShowComparison-7NCImocZ.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowContactForm-CErVBzjl.js → PkToolShowContactForm-DbOZHB_G.js} +5 -5
  30. package/dist/_chunks/{PkToolShowContactForm-CErVBzjl.js.map → PkToolShowContactForm-DbOZHB_G.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowDiagram-C1Q5jhbk.js → PkToolShowDiagram-BHd-C_cx.js} +4 -4
  32. package/dist/_chunks/{PkToolShowDiagram-C1Q5jhbk.js.map → PkToolShowDiagram-BHd-C_cx.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowEmail-Ckxmf4jc.js → PkToolShowEmail-B9F7dnif.js} +4 -4
  34. package/dist/_chunks/{PkToolShowEmail-Ckxmf4jc.js.map → PkToolShowEmail-B9F7dnif.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowForm-B7Q79XAb.js → PkToolShowForm-o2LuWDNq.js} +6 -6
  36. package/dist/_chunks/{PkToolShowForm-B7Q79XAb.js.map → PkToolShowForm-o2LuWDNq.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowImageGallery-CxeQcE6A.js → PkToolShowImageGallery-DAcW2Dau.js} +3 -3
  38. package/dist/_chunks/{PkToolShowImageGallery-CxeQcE6A.js.map → PkToolShowImageGallery-DAcW2Dau.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowLocation-Drq1nnwN.js → PkToolShowLocation-CLS9HQIJ.js} +4 -4
  40. package/dist/_chunks/{PkToolShowLocation-Drq1nnwN.js.map → PkToolShowLocation-CLS9HQIJ.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowMessage-h2LUBvO4.js → PkToolShowMessage-BoKDMyvU.js} +4 -4
  42. package/dist/_chunks/{PkToolShowMessage-h2LUBvO4.js.map → PkToolShowMessage-BoKDMyvU.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowProductList-DDqYsHNq.js → PkToolShowProductList-OYwQCHar.js} +4 -4
  44. package/dist/_chunks/{PkToolShowProductList-DDqYsHNq.js.map → PkToolShowProductList-OYwQCHar.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowQrCode-C8GfpW7f.js → PkToolShowQrCode-e6DxEcWY.js} +4 -4
  46. package/dist/_chunks/{PkToolShowQrCode-C8GfpW7f.js.map → PkToolShowQrCode-e6DxEcWY.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowSources-CTc2s510.js → PkToolShowSources-CUNneZCp.js} +4 -4
  48. package/dist/_chunks/{PkToolShowSources-CTc2s510.js.map → PkToolShowSources-CUNneZCp.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowSuggestedReply-vui8vph1.js → PkToolShowSuggestedReply-BTE7TZ4Z.js} +2 -2
  50. package/dist/_chunks/{PkToolShowSuggestedReply-vui8vph1.js.map → PkToolShowSuggestedReply-BTE7TZ4Z.js.map} +1 -1
  51. package/dist/_chunks/{PkToolShowVideo-C2kh6pVN.js → PkToolShowVideo-bTWeXtZd.js} +3 -3
  52. package/dist/_chunks/{PkToolShowVideo-C2kh6pVN.js.map → PkToolShowVideo-bTWeXtZd.js.map} +1 -1
  53. package/dist/_chunks/{PkToolShowWeather-7_f5k1pX.js → PkToolShowWeather-Nr7POGAS.js} +2 -2
  54. package/dist/_chunks/{PkToolShowWeather-7_f5k1pX.js.map → PkToolShowWeather-Nr7POGAS.js.map} +1 -1
  55. package/dist/_chunks/{PkToolShowWebPages-By7zBIVa.js → PkToolShowWebPages-DNbdkSSz.js} +4 -4
  56. package/dist/_chunks/{PkToolShowWebPages-By7zBIVa.js.map → PkToolShowWebPages-DNbdkSSz.js.map} +1 -1
  57. package/dist/_chunks/{VvButtonLocalized-DCJiCUYU.js → VvButtonLocalized-KEhD3ono.js} +2 -2
  58. package/dist/_chunks/{VvButtonLocalized-DCJiCUYU.js.map → VvButtonLocalized-KEhD3ono.js.map} +1 -1
  59. package/dist/_chunks/{VvCheckboxGroup.es-tzyEhJUc.js → VvCheckboxGroup.es-D67JvxVf.js} +2 -2
  60. package/dist/_chunks/{VvCheckboxGroup.es-tzyEhJUc.js.map → VvCheckboxGroup.es-D67JvxVf.js.map} +1 -1
  61. package/dist/_chunks/{VvCombobox.es-D8QFCY85.js → VvCombobox.es-Bb9Dbtdg.js} +457 -457
  62. package/dist/_chunks/{VvCombobox.es-D8QFCY85.js.map → VvCombobox.es-Bb9Dbtdg.js.map} +1 -1
  63. package/dist/_chunks/{VvInputText.es-CaN-GUXU.js → VvInputText.es-CWgEXnVy.js} +396 -396
  64. package/dist/_chunks/{VvInputText.es-CaN-GUXU.js.map → VvInputText.es-CWgEXnVy.js.map} +1 -1
  65. package/dist/_chunks/{VvRadioGroup.es-D73Elvh0.js → VvRadioGroup.es-B3UbDh0z.js} +2 -2
  66. package/dist/_chunks/{VvRadioGroup.es-D73Elvh0.js.map → VvRadioGroup.es-B3UbDh0z.js.map} +1 -1
  67. package/dist/_chunks/{VvSelect.es-8ZE8Zjm9.js → VvSelect.es-BZkBK0gK.js} +170 -170
  68. package/dist/_chunks/{VvSelect.es-8ZE8Zjm9.js.map → VvSelect.es-BZkBK0gK.js.map} +1 -1
  69. package/dist/_chunks/{VvTextarea.es-BNgA61wM.js → VvTextarea.es-C8vAvoJh.js} +139 -139
  70. package/dist/_chunks/{VvTextarea.es-BNgA61wM.js.map → VvTextarea.es-C8vAvoJh.js.map} +1 -1
  71. package/dist/_chunks/{dist-m75acBC9.js → dist-B3-I_01H.js} +67 -15
  72. package/dist/_chunks/dist-B3-I_01H.js.map +1 -0
  73. package/dist/_chunks/{index.es-fkUmGg9G.js → index.es-C7ON2BA3.js} +38 -38
  74. package/dist/_chunks/{index.es-fkUmGg9G.js.map → index.es-C7ON2BA3.js.map} +1 -1
  75. package/dist/_chunks/{index.es-DRbDRAW5.js → index.es-CYAq7LJb.js} +10 -10
  76. package/dist/_chunks/{index.es-DRbDRAW5.js.map → index.es-CYAq7LJb.js.map} +1 -1
  77. package/dist/_chunks/{utils-DAQfsk2H.js → utils-BHvRrCzW.js} +6 -2
  78. package/dist/_chunks/utils-BHvRrCzW.js.map +1 -0
  79. package/dist/ai-elements.es.js +2747 -2727
  80. package/dist/ai-elements.es.js.map +1 -1
  81. package/dist-vue/_chunks/utils-BuxgMuKv.js.map +1 -1
  82. package/dist-vue/apps/web-component/src/pageTools/snapshot.d.ts +9 -0
  83. package/dist-vue/packages/components/src/chat/PkPageControlBar.d.ts +6 -0
  84. package/dist-vue/packages/components/src/chat/utils.d.ts +8 -0
  85. package/package.json +1 -1
  86. package/dist/_chunks/dist-m75acBC9.js.map +0 -1
  87. package/dist/_chunks/utils-DAQfsk2H.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { $ as e, A as t, B as n, D as r, Dt as i, E as a, Et as o, F as s, G as c, H as l, I as u, K as d, L as f, M as p, Ot as m, P as h, Q as g, S as _, St as v, T as ee, Tt as y, U as b, V as x, W as S, Y as C, _ as w, a as T, b as E, bt as te, d as D, et as ne, f as re, g as O, gt as k, h as A, k as ie, kt as j, l as ae, nt as oe, o as se, ot as ce, pt as M, q as le, r as ue, t as de, tt as N, ut as fe, v as P, w as F, wt as I, x as L, xt as R, y as z, z as B } from "./vue.runtime.esm-bundler-C2U5uTqB.js";
2
2
  import { a as V, i as pe, t as me } from "./iconify-oSMMdRMF.js";
3
- import { b as he, d as ge, l as _e, m as ve, n as ye, r as be, s as xe, u as Se, y as Ce } from "./dist-m75acBC9.js";
3
+ import { b as he, c as ge, d as _e, f as ve, h as ye, n as be, r as xe, u as Se, x as Ce } from "./dist-B3-I_01H.js";
4
4
  import { a as H, c as we, i as Te, l as U, n as Ee, o as De, r as Oe, s as W, t as ke } from "./floating-ui.vue-HobyB7z6.js";
5
5
  import { t as Ae } from "./dot-prop-Dmp6Zjqs.js";
6
6
  import { t as je } from "./esm-DrTdMB4T.js";
@@ -437,7 +437,7 @@ var Mt = ["id", "open"], Nt = ["aria-controls", "aria-expanded"], Pt = ["aria-hi
437
437
  props: kt,
438
438
  emits: At,
439
439
  setup(e, { expose: t, emit: n }) {
440
- let r = e, s = n, c = d(), f = he(r, "modelValue", s), p = le(), m = A(() => r.name || c?.id || p), { title: h, content: _, not: v } = R(r), { isInGroup: ee, modifiers: y, disabled: b, bus: x } = jt(r), S = k(!ee.value && v.value);
440
+ let r = e, s = n, c = d(), f = Ce(r, "modelValue", s), p = le(), m = A(() => r.name || c?.id || p), { title: h, content: _, not: v } = R(r), { isInGroup: ee, modifiers: y, disabled: b, bus: x } = jt(r), S = k(!ee.value && v.value);
441
441
  g(f, (e) => {
442
442
  typeof e == "boolean" && (S.value = v.value ? !e : e);
443
443
  }, { immediate: !0 }), g(S, (e) => {
@@ -524,12 +524,12 @@ function It(e, t = Ne.local, n) {
524
524
  return f(() => {
525
525
  e && g(e, (e, n) => {
526
526
  let a = I(t) === Ne.session ? sessionStorage : localStorage;
527
- n && n !== e && a.removeItem(n), e ? (i = Ce(e, i?.value ?? r.value, a), i.value && (r.value = i.value)) : i = void 0;
527
+ n && n !== e && a.removeItem(n), e ? (i = he(e, i?.value ?? r.value, a), i.value && (r.value = i.value)) : i = void 0;
528
528
  }, { immediate: !0 }), fe(t) && g(t, (t, n) => {
529
529
  if (e?.value) {
530
530
  if (t) {
531
531
  let n = t === Ne.session ? sessionStorage : localStorage;
532
- i = Ce(e.value, i?.value ?? r.value, n);
532
+ i = he(e.value, i?.value ?? r.value, n);
533
533
  }
534
534
  n && n !== t && (n === Ne.session ? sessionStorage : localStorage).removeItem(e.value);
535
535
  }
@@ -1305,7 +1305,7 @@ var zn = ["textContent"], Bn = { class: "vv-checkbox-group__wrapper" }, Vn = /*
1305
1305
  props: wt,
1306
1306
  emits: Ln,
1307
1307
  setup(e, { emit: t }) {
1308
- let n = e, r = t, s = C(), c = Mn("VvCheckboxGroup", wt, n), u = he(n, "modelValue", r), { disabled: d, readonly: f, vertical: p, valid: m, invalid: g, modifiers: v } = R(n);
1308
+ let n = e, r = t, s = C(), c = Mn("VvCheckboxGroup", wt, n), u = Ce(n, "modelValue", r), { disabled: d, readonly: f, vertical: p, valid: m, invalid: g, modifiers: v } = R(n);
1309
1309
  Lt(Ge, {
1310
1310
  modelValue: u,
1311
1311
  disabled: d,
@@ -1671,7 +1671,7 @@ var Qn = ["popover"], $n = [
1671
1671
  }
1672
1672
  }), { isTopLayer: w, popover: T, show: E, hide: te } = Jn(b, () => r.topLayer), D = A(() => w.value ? Pe.fixed : r.strategy), ie = k(!1);
1673
1673
  f(() => {
1674
- ve(b.value, () => {
1674
+ ye(b.value, () => {
1675
1675
  ie.value = globalThis.getComputedStyle(b.value).getPropertyValue("--dropdown-custom-position")?.trim() === "true";
1676
1676
  }, {
1677
1677
  attributeFilter: ["style"],
@@ -1728,7 +1728,7 @@ var Qn = ["popover"], $n = [
1728
1728
  left: `${le.value ?? 0}px`,
1729
1729
  width: e
1730
1730
  };
1731
- }), me = A(() => F.value.split("-")[0]), _e = A(() => {
1731
+ }), me = A(() => F.value.split("-")[0]), he = A(() => {
1732
1732
  if (ie.value) return;
1733
1733
  let e = {
1734
1734
  [K.top]: K.bottom,
@@ -1741,10 +1741,10 @@ var Qn = ["popover"], $n = [
1741
1741
  top: fe.value.arrow?.y === void 0 ? void 0 : `${fe.value.arrow?.y}px`,
1742
1742
  [e]: `${-(x.value?.offsetWidth ?? 0) / 2}px`
1743
1743
  };
1744
- }), Se = he(r, "modelValue", u), Ce = k(!1), U = A({
1745
- get: () => Se.value ?? Ce.value,
1744
+ }), _e = Ce(r, "modelValue", u), Se = k(!1), U = A({
1745
+ get: () => _e.value ?? Se.value,
1746
1746
  set: (e) => {
1747
- Se.value === void 0 ? Ce.value = e : Se.value = e;
1747
+ _e.value === void 0 ? Se.value = e : _e.value = e;
1748
1748
  }
1749
1749
  });
1750
1750
  g([
@@ -1757,7 +1757,7 @@ var Qn = ["popover"], $n = [
1757
1757
  }, {
1758
1758
  flush: "post",
1759
1759
  immediate: !0
1760
- }), ve(S, () => {
1760
+ }), ye(S, () => {
1761
1761
  U.value && V();
1762
1762
  }, {
1763
1763
  childList: !0,
@@ -1778,7 +1778,7 @@ var Qn = ["popover"], $n = [
1778
1778
  function Me(e) {
1779
1779
  C.value = e;
1780
1780
  }
1781
- ye(b, () => {
1781
+ be(b, () => {
1782
1782
  !r.keepOpen && U.value && (U.value = !1);
1783
1783
  }, { ignore: [C] });
1784
1784
  let Ne = A(() => C.value?.getAttribute?.("id") ?? void 0), Fe = A(() => ({
@@ -1792,7 +1792,7 @@ var Qn = ["popover"], $n = [
1792
1792
  aria: Fe
1793
1793
  });
1794
1794
  Le.on("click", G);
1795
- let { role: q, modifiers: Re } = R(r), ze = Z("vv-dropdown", Re, A(() => ({ arrow: r.arrow }))), { focused: Be } = ge(b);
1795
+ let { role: q, modifiers: Re } = R(r), ze = Z("vv-dropdown", Re, A(() => ({ arrow: r.arrow }))), { focused: Be } = ve(b);
1796
1796
  function Ve(e) {
1797
1797
  return e ? [...e.querySelectorAll("a[href], button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])")].filter((e) => !e.hasAttribute("disabled") && !e.getAttribute("aria-hidden")) : [];
1798
1798
  }
@@ -1849,15 +1849,15 @@ var Qn = ["popover"], $n = [
1849
1849
  role: q,
1850
1850
  expanded: U,
1851
1851
  focused: Be,
1852
- hovered: xe(b)
1852
+ hovered: ge(b)
1853
1853
  });
1854
- be("Escape", (e) => {
1854
+ xe("Escape", (e) => {
1855
1855
  U.value && (e.preventDefault(), je());
1856
- }), be("ArrowDown", (e) => {
1856
+ }), xe("ArrowDown", (e) => {
1857
1857
  U.value && Be.value && (e.preventDefault(), We());
1858
- }), be("ArrowUp", (e) => {
1858
+ }), xe("ArrowUp", (e) => {
1859
1859
  U.value && Be.value && (e.preventDefault(), Ge());
1860
- }), be([" ", "Enter"], (e) => {
1860
+ }), xe([" ", "Enter"], (e) => {
1861
1861
  let t = e.target;
1862
1862
  U.value && Be.value && t && t?.click();
1863
1863
  });
@@ -1909,7 +1909,7 @@ var Qn = ["popover"], $n = [
1909
1909
  key: 0,
1910
1910
  ref_key: "arrowEl",
1911
1911
  ref: x,
1912
- style: m(I(_e)),
1912
+ style: m(I(he)),
1913
1913
  class: "vv-dropdown__arrow"
1914
1914
  }, null, 4)) : P("v-if", !0),
1915
1915
  l(e.$slots, "before", i(a({
@@ -1951,7 +1951,7 @@ var tr = /* @__PURE__ */ F({
1951
1951
  setup(e) {
1952
1952
  let t = e, { role: n, expanded: r } = Vt(), i = k(null);
1953
1953
  Zn({ expanded: r });
1954
- let a = xe(i), { focused: o } = Se(i), { focused: s } = ge(i);
1954
+ let a = ge(i), { focused: o } = _e(i), { focused: s } = ve(i);
1955
1955
  return g(a, (e) => {
1956
1956
  e && t.focusOnHover && (o.value = !0);
1957
1957
  }), (e, t) => (B(), z("div", h({ role: I(n) }, {
@@ -2042,7 +2042,7 @@ function ar() {
2042
2042
  };
2043
2043
  }
2044
2044
  function or(e, t) {
2045
- let { focused: n } = Se(e);
2045
+ let { focused: n } = _e(e);
2046
2046
  return g(n, (n) => {
2047
2047
  t(n ? "focus" : "blur", I(e));
2048
2048
  }), { focused: n };
@@ -2092,7 +2092,7 @@ var sr = [
2092
2092
  props: cr,
2093
2093
  emits: sr,
2094
2094
  setup(e, { expose: t, emit: n }) {
2095
- let r = e, i = n, a = k(), o = he(r, "modelValue", i), s = k(!1), u = A({
2095
+ let r = e, i = n, a = k(), o = Ce(r, "modelValue", i), s = k(!1), u = A({
2096
2096
  get: () => o.value ?? s.value,
2097
2097
  set: (e) => {
2098
2098
  o.value === void 0 ? s.value = e : o.value = e;
@@ -2127,7 +2127,7 @@ var sr = [
2127
2127
  i("leaveCancelled");
2128
2128
  }
2129
2129
  };
2130
- ye(d, () => {
2130
+ be(d, () => {
2131
2131
  r.keepOpen || b();
2132
2132
  });
2133
2133
  function b() {
@@ -2614,7 +2614,7 @@ var Nr = ["for"], Pr = {
2614
2614
  let r = e, s = n, c = C(), u = zt(), d = Mn("VvInputText", Or, r), { count: p, debounce: m, icon: v, iconPosition: ee, iconRemoveSuggestion: y, id: b, invalid: S, label: T, labelRemoveSuggestion: te, loading: ne, maxlength: ie, minlength: ae, modelValue: oe, step: se, storageType: ce, type: M, unit: le, valid: ue } = R(r), de = Gt(b), fe = A(() => `${de.value}-hint`), F = A(() => r.floating && _n(r.placeholder) ? " " : r.placeholder), { model: V, flush: pe } = _r(oe, s, m), me = A(() => {
2615
2615
  let e = Number(se.value);
2616
2616
  return !Number.isNaN(e) && e % 60 != 0;
2617
- }), he = /^-0?[.,]?[0*]?$/, ge = /./, ve = /^-$|^$/, ye = k(!1), be = k(), xe = k(), { el: Se, mask: Ce, typed: H, masked: we, unmasked: Te } = je(A(() => {
2617
+ }), he = /^-0?[.,]?[0*]?$/, ge = /./, _e = /^-$|^$/, ve = k(!1), ye = k(), be = k(), { el: xe, mask: Ce, typed: H, masked: we, unmasked: Te } = je(A(() => {
2618
2618
  if (!r.iMask) return { mask: ge };
2619
2619
  if (r.iMask.mask === Number) {
2620
2620
  let e = { ...r.iMask };
@@ -2624,7 +2624,7 @@ var Nr = ["for"], Pr = {
2624
2624
  }), {
2625
2625
  emit: s,
2626
2626
  onAccept: () => {
2627
- if (ye.value) {
2627
+ if (ve.value) {
2628
2628
  if (s("update:masked", we.value), M.value === $.NUMBER) {
2629
2629
  U();
2630
2630
  return;
@@ -2638,14 +2638,14 @@ var Nr = ["for"], Pr = {
2638
2638
  }
2639
2639
  });
2640
2640
  function U() {
2641
- if (ve.test(Te.value)) {
2641
+ if (_e.test(Te.value)) {
2642
2642
  if (V.value === null || V.value === void 0) return;
2643
2643
  V.value = void 0;
2644
2644
  } else he.test(Te.value) ? V.value = 0 : typeof H.value == "number" ? V.value = H.value : V.value = Number(H.value);
2645
2645
  }
2646
2646
  function Ee(e) {
2647
- let t = new Date(be.value || xe.value);
2648
- if ((M.value === $.DATETIME_LOCAL || M.value === $.DATE || M.value === $.MONTH) && (t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth())), (M.value === $.DATETIME_LOCAL || M.value === $.DATE) && t.setDate(e.getDate()), (M.value === $.DATETIME_LOCAL || M.value === $.TIME) && (t.setHours(e.getHours()), t.setMinutes(e.getMinutes()), t.setSeconds(e.getSeconds())), be.value instanceof Date) {
2647
+ let t = new Date(ye.value || be.value);
2648
+ if ((M.value === $.DATETIME_LOCAL || M.value === $.DATE || M.value === $.MONTH) && (t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth())), (M.value === $.DATETIME_LOCAL || M.value === $.DATE) && t.setDate(e.getDate()), (M.value === $.DATETIME_LOCAL || M.value === $.TIME) && (t.setHours(e.getHours()), t.setMinutes(e.getMinutes()), t.setSeconds(e.getSeconds())), ye.value instanceof Date) {
2649
2649
  if (V.value?.getTime() === t.getTime()) return;
2650
2650
  V.value = t;
2651
2651
  } else V.value = t.toISOString();
@@ -2654,19 +2654,19 @@ var Nr = ["for"], Pr = {
2654
2654
  let e = M.value;
2655
2655
  if (!H.value) {
2656
2656
  if (!V.value) return;
2657
- if (be.value) {
2657
+ if (ye.value) {
2658
2658
  V.value = void 0;
2659
2659
  return;
2660
2660
  }
2661
2661
  V.value = "";
2662
2662
  return;
2663
2663
  }
2664
- if (!(H.value instanceof Date) && !be.value && !xe.value) {
2664
+ if (!(H.value instanceof Date) && !ye.value && !be.value) {
2665
2665
  V.value = H.value;
2666
2666
  return;
2667
2667
  }
2668
2668
  let t = H.value;
2669
- t instanceof Date || (t = Er(H.value, e)), be.value || xe.value ? Ee(t) : V.value = xr(t, e, me.value);
2669
+ t instanceof Date || (t = Er(H.value, e)), ye.value || be.value ? Ee(t) : V.value = xr(t, e, me.value);
2670
2670
  }
2671
2671
  function Oe(e) {
2672
2672
  if (e == null) H.value = "", Te.value = "";
@@ -2674,25 +2674,25 @@ var Nr = ["for"], Pr = {
2674
2674
  else if (!(M.value === $.NUMBER && he.test(Te.value) && e === 0)) {
2675
2675
  if (ct.value) {
2676
2676
  if (e instanceof Date || br(e)) {
2677
- if (e instanceof Date ? (be.value = e, xe.value = void 0) : (xe.value = e, be.value = void 0), X.value) {
2677
+ if (e instanceof Date ? (ye.value = e, be.value = void 0) : (be.value = e, ye.value = void 0), X.value) {
2678
2678
  let t = new Date(e);
2679
2679
  H.value = xr(t, X.value, me.value), Te.value = H.value;
2680
2680
  }
2681
2681
  return;
2682
2682
  }
2683
- be.value = void 0, xe.value = void 0;
2683
+ ye.value = void 0, be.value = void 0;
2684
2684
  }
2685
2685
  H.value = e, Te.value = `${H.value}`;
2686
2686
  }
2687
2687
  }
2688
2688
  f(() => {
2689
- Ce.value && (ye.value = !0, Oe(r.modelValue));
2689
+ Ce.value && (ve.value = !0, Oe(r.modelValue));
2690
2690
  }), g(() => r.modelValue, (e) => {
2691
2691
  Ce.value && Oe(e);
2692
2692
  }), g(() => r.masked, (e) => {
2693
2693
  we.value = e ?? "";
2694
2694
  });
2695
- let W = Se, ke = k(), Ae = k(), Me = k();
2695
+ let W = xe, ke = k(), Ae = k(), Me = k();
2696
2696
  t({
2697
2697
  $input: W,
2698
2698
  $inner: ke,
@@ -2713,7 +2713,7 @@ var Nr = ["for"], Pr = {
2713
2713
  Y.value.size >= t && !Y.value.has(e) && (Y.value = new Set([...Y.value].slice(Y.value.size - t + 1))), Y.value.add(e);
2714
2714
  }
2715
2715
  g(Pe, K);
2716
- let Le = _e(W);
2716
+ let Le = Se(W);
2717
2717
  g(Le, (e) => {
2718
2718
  e && r.autofocus && !r.disabled && !r.readonly && (Ne.value = !0);
2719
2719
  });
@@ -3071,7 +3071,7 @@ var Gr = ["for"], Kr = [
3071
3071
  props: wt,
3072
3072
  emits: Yr,
3073
3073
  setup(e, { emit: t }) {
3074
- let n = e, r = t, s = C(), c = Mn("VvRadioGroup", wt, n), u = he(n, "modelValue", r), { disabled: d, readonly: f, vertical: p, valid: m, invalid: g, modifiers: v } = R(n);
3074
+ let n = e, r = t, s = C(), c = Mn("VvRadioGroup", wt, n), u = Ce(n, "modelValue", r), { disabled: d, readonly: f, vertical: p, valid: m, invalid: g, modifiers: v } = R(n);
3075
3075
  Lt(We, {
3076
3076
  modelValue: u,
3077
3077
  disabled: d,
@@ -3144,4 +3144,4 @@ var $r = {
3144
3144
  }), $r.soft, ei.default, G.remove, vt.topLayer, { ...X }, K.bottom;
3145
3145
  export { Tn as a, Qr as c, hr as d, Vn as f, Ft as i, Jr as l, In as m, xn as n, Vr as o, gr as p, sn as r, nn as s, Q as t, er as u };
3146
3146
 
3147
- //# sourceMappingURL=index.es-fkUmGg9G.js.map
3147
+ //# sourceMappingURL=index.es-C7ON2BA3.js.map