@8wave/ai-elements 0.121.0-beta.40 → 0.121.0-beta.42

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 (120) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-CpFXWpU7.js → PkChatbotFilePreview-DxpEIFOG.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-CpFXWpU7.js.map → PkChatbotFilePreview-DxpEIFOG.js.map} +1 -1
  3. package/dist/_chunks/{PkHeldImage-DvHKY7Vh.js → PkHeldImage-CztNY8OZ.js} +2 -2
  4. package/dist/_chunks/{PkHeldImage-DvHKY7Vh.js.map → PkHeldImage-CztNY8OZ.js.map} +1 -1
  5. package/dist/_chunks/{PkLazyImg-BBFsS16D.js → PkLazyImg-BqbuNQgf.js} +2 -2
  6. package/dist/_chunks/{PkLazyImg-BBFsS16D.js.map → PkLazyImg-BqbuNQgf.js.map} +1 -1
  7. package/dist/_chunks/{PkStreamingMarkdown-D2aqCD0I.js → PkStreamingMarkdown-BlTH2AJX.js} +2 -2
  8. package/dist/_chunks/{PkStreamingMarkdown-D2aqCD0I.js.map → PkStreamingMarkdown-BlTH2AJX.js.map} +1 -1
  9. package/dist/_chunks/{PkToolEditSpreadsheet-83ZdmGeA.js → PkToolEditSpreadsheet-CDxglslA.js} +2 -2
  10. package/dist/_chunks/{PkToolEditSpreadsheet-83ZdmGeA.js.map → PkToolEditSpreadsheet-CDxglslA.js.map} +1 -1
  11. package/dist/_chunks/{PkToolRequestGeolocation-1cOmCG8P.js → PkToolRequestGeolocation-CxMAoAv6.js} +2 -2
  12. package/dist/_chunks/{PkToolRequestGeolocation-1cOmCG8P.js.map → PkToolRequestGeolocation-CxMAoAv6.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestOAuthConnection-CCu3FCyo.js → PkToolRequestOAuthConnection-DU1Y2odZ.js} +3 -3
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-CCu3FCyo.js.map → PkToolRequestOAuthConnection-DU1Y2odZ.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShareDocument-BhT59J9o.js → PkToolShareDocument-YrPrexhS.js} +5 -5
  16. package/dist/_chunks/{PkToolShareDocument-BhT59J9o.js.map → PkToolShareDocument-YrPrexhS.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowArtifact-CiYkZkpe.js → PkToolShowArtifact-jQeIv65U.js} +4 -4
  18. package/dist/_chunks/{PkToolShowArtifact-CiYkZkpe.js.map → PkToolShowArtifact-jQeIv65U.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowCalendarEvent-Dzh4JURs.js → PkToolShowCalendarEvent-CAN5-qnM.js} +4 -4
  20. package/dist/_chunks/{PkToolShowCalendarEvent-Dzh4JURs.js.map → PkToolShowCalendarEvent-CAN5-qnM.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowComparison-CFHrXnaB.js → PkToolShowComparison-DGxHYpl3.js} +4 -4
  22. package/dist/_chunks/{PkToolShowComparison-CFHrXnaB.js.map → PkToolShowComparison-DGxHYpl3.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowContactForm-D7TEzrYe.js → PkToolShowContactForm-D7wg3Jlu.js} +5 -5
  24. package/dist/_chunks/{PkToolShowContactForm-D7TEzrYe.js.map → PkToolShowContactForm-D7wg3Jlu.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowDiagram-DGnIuRst.js → PkToolShowDiagram-BBs1rh96.js} +4 -4
  26. package/dist/_chunks/{PkToolShowDiagram-DGnIuRst.js.map → PkToolShowDiagram-BBs1rh96.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowEmail-C3jped-R.js → PkToolShowEmail-CeiSo-zx.js} +4 -4
  28. package/dist/_chunks/{PkToolShowEmail-C3jped-R.js.map → PkToolShowEmail-CeiSo-zx.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowForm-CSh4Q6sl.js → PkToolShowForm-BMVgXxzl.js} +4 -4
  30. package/dist/_chunks/{PkToolShowForm-CSh4Q6sl.js.map → PkToolShowForm-BMVgXxzl.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowImageGallery-CQEaEfYE.js → PkToolShowImageGallery-Ba0CfKt6.js} +3 -3
  32. package/dist/_chunks/{PkToolShowImageGallery-CQEaEfYE.js.map → PkToolShowImageGallery-Ba0CfKt6.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowLocation-gyMiVjhi.js → PkToolShowLocation-Cp95-u2H.js} +4 -4
  34. package/dist/_chunks/{PkToolShowLocation-gyMiVjhi.js.map → PkToolShowLocation-Cp95-u2H.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowMessage-wGPPnOAM.js → PkToolShowMessage-Bn8O_W0D.js} +4 -4
  36. package/dist/_chunks/{PkToolShowMessage-wGPPnOAM.js.map → PkToolShowMessage-Bn8O_W0D.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowProductList-BCmULLct.js → PkToolShowProductList-DbZfUUWe.js} +4 -4
  38. package/dist/_chunks/{PkToolShowProductList-BCmULLct.js.map → PkToolShowProductList-DbZfUUWe.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowQrCode-CeZsvZvb.js → PkToolShowQrCode-D_9_c-Ws.js} +4 -4
  40. package/dist/_chunks/{PkToolShowQrCode-CeZsvZvb.js.map → PkToolShowQrCode-D_9_c-Ws.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowSources-R9KWsfTQ.js → PkToolShowSources-Dkt4IId2.js} +4 -4
  42. package/dist/_chunks/{PkToolShowSources-R9KWsfTQ.js.map → PkToolShowSources-Dkt4IId2.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowSuggestedReply-DYZz9aV2.js → PkToolShowSuggestedReply-BF2sT3B1.js} +2 -2
  44. package/dist/_chunks/{PkToolShowSuggestedReply-DYZz9aV2.js.map → PkToolShowSuggestedReply-BF2sT3B1.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowVideo-C_9SZtZM.js → PkToolShowVideo-l8JoSKCj.js} +3 -3
  46. package/dist/_chunks/{PkToolShowVideo-C_9SZtZM.js.map → PkToolShowVideo-l8JoSKCj.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowWeather-BgS4_SWb.js → PkToolShowWeather-DifqBB7o.js} +2 -2
  48. package/dist/_chunks/{PkToolShowWeather-BgS4_SWb.js.map → PkToolShowWeather-DifqBB7o.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowWebPages-DwRYfle9.js → PkToolShowWebPages-DtcEmrYt.js} +4 -4
  50. package/dist/_chunks/{PkToolShowWebPages-DwRYfle9.js.map → PkToolShowWebPages-DtcEmrYt.js.map} +1 -1
  51. package/dist/_chunks/{VvButtonLocalized-B6igS2e0.js → VvButtonLocalized-D7K9ZslZ.js} +2 -2
  52. package/dist/_chunks/{VvButtonLocalized-B6igS2e0.js.map → VvButtonLocalized-D7K9ZslZ.js.map} +1 -1
  53. package/dist/_chunks/{VvCheckboxGroup.es-OXhptnPU.js → VvCheckboxGroup.es-BebSMBKU.js} +2 -2
  54. package/dist/_chunks/{VvCheckboxGroup.es-OXhptnPU.js.map → VvCheckboxGroup.es-BebSMBKU.js.map} +1 -1
  55. package/dist/_chunks/{VvCombobox.es-SLzX9VnX.js → VvCombobox.es-BfiDcdcw.js} +481 -481
  56. package/dist/_chunks/{VvCombobox.es-SLzX9VnX.js.map → VvCombobox.es-BfiDcdcw.js.map} +1 -1
  57. package/dist/_chunks/{VvInputText.es-CETcNKlr.js → VvInputText.es-DllQ2Tue.js} +435 -435
  58. package/dist/_chunks/{VvInputText.es-CETcNKlr.js.map → VvInputText.es-DllQ2Tue.js.map} +1 -1
  59. package/dist/_chunks/{VvRadioGroup.es-UBZBB89A.js → VvRadioGroup.es-D6uqf6a1.js} +2 -2
  60. package/dist/_chunks/{VvRadioGroup.es-UBZBB89A.js.map → VvRadioGroup.es-D6uqf6a1.js.map} +1 -1
  61. package/dist/_chunks/{VvSelect.es-B_MShGnJ.js → VvSelect.es-BR5Ci5VC.js} +2 -2
  62. package/dist/_chunks/{VvSelect.es-B_MShGnJ.js.map → VvSelect.es-BR5Ci5VC.js.map} +1 -1
  63. package/dist/_chunks/{VvTextarea.es-Dm2Yq3WM.js → VvTextarea.es-Bwe5xjXl.js} +29 -29
  64. package/dist/_chunks/{VvTextarea.es-Dm2Yq3WM.js.map → VvTextarea.es-Bwe5xjXl.js.map} +1 -1
  65. package/dist/_chunks/{dist-Do_Ac5Yv.js → dist-CB7v_M5z.js} +52 -46
  66. package/dist/_chunks/dist-CB7v_M5z.js.map +1 -0
  67. package/dist/_chunks/{index.es-BTDKU45u.js → index.es-CKF2q-ww.js} +26 -26
  68. package/dist/_chunks/{index.es-BTDKU45u.js.map → index.es-CKF2q-ww.js.map} +1 -1
  69. package/dist/_chunks/{index.es-BZS9Cscn.js → index.es-CoWhnabo.js} +16 -16
  70. package/dist/_chunks/{index.es-BZS9Cscn.js.map → index.es-CoWhnabo.js.map} +1 -1
  71. package/dist/ai-elements.es.js +4173 -3915
  72. package/dist/ai-elements.es.js.map +1 -1
  73. package/dist-vue/PkChatbot.js +1 -1
  74. package/dist-vue/PkChatbotInput.js +1 -1
  75. package/dist-vue/PkChatbotQueuedMessages.d.ts +2 -0
  76. package/dist-vue/PkChatbotQueuedMessages.js +1 -0
  77. package/dist-vue/PkChatbotViewChat.js +1 -1
  78. package/dist-vue/PkChatbotViewConversations.js +1 -1
  79. package/dist-vue/PkChatbotViewFiles.js +1 -1
  80. package/dist-vue/PkChatbotViewProfile.js +1 -1
  81. package/dist-vue/_chunks/PkChatbot-CObEhs2T.js +279 -0
  82. package/dist-vue/_chunks/PkChatbot-CObEhs2T.js.map +1 -0
  83. package/dist-vue/_chunks/{PkChatbotInput-BJHtmPR-.js → PkChatbotInput-CuEoeb_M.js} +47 -22
  84. package/dist-vue/_chunks/PkChatbotInput-CuEoeb_M.js.map +1 -0
  85. package/dist-vue/_chunks/PkChatbotQueuedMessages-DlydYgwC.js +51 -0
  86. package/dist-vue/_chunks/PkChatbotQueuedMessages-DlydYgwC.js.map +1 -0
  87. package/dist-vue/_chunks/{PkChatbotViewChat-BI_PtT72.js → PkChatbotViewChat-BZb-U7Ju.js} +246 -224
  88. package/dist-vue/_chunks/PkChatbotViewChat-BZb-U7Ju.js.map +1 -0
  89. package/dist-vue/_chunks/PkChatbotViewConversations-CCPRWCKs.js +210 -0
  90. package/dist-vue/_chunks/PkChatbotViewConversations-CCPRWCKs.js.map +1 -0
  91. package/dist-vue/_chunks/{PkChatbotViewFiles-Cwm-JQMF.js → PkChatbotViewFiles-BgqksCn0.js} +2 -2
  92. package/dist-vue/_chunks/{PkChatbotViewFiles-Cwm-JQMF.js.map → PkChatbotViewFiles-BgqksCn0.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkChatbotViewProfile-C_GElIM3.js → PkChatbotViewProfile-B6tHWrqn.js} +2 -2
  94. package/dist-vue/_chunks/{PkChatbotViewProfile-C_GElIM3.js.map → PkChatbotViewProfile-B6tHWrqn.js.map} +1 -1
  95. package/dist-vue/_chunks/{createChatbotApiClient-DUz4dwzY.js → createChatbotApiClient-hcFAulTq.js} +12 -3
  96. package/dist-vue/_chunks/createChatbotApiClient-hcFAulTq.js.map +1 -0
  97. package/dist-vue/_chunks/{useChatbotStore-D7LcpA-6.js → useChatbotStore-Ct7G-voO.js} +953 -800
  98. package/dist-vue/_chunks/useChatbotStore-Ct7G-voO.js.map +1 -0
  99. package/dist-vue/api.js +1 -1
  100. package/dist-vue/composables.js +12 -8
  101. package/dist-vue/composables.js.map +1 -1
  102. package/dist-vue/index.js +97 -83
  103. package/dist-vue/index.js.map +1 -1
  104. package/dist-vue/locales.js +16 -2
  105. package/dist-vue/packages/components/src/chat/PkChatSidebarConversationItem.d.ts +2 -0
  106. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +17 -3
  107. package/dist-vue/packages/components/src/chat/PkChatbotQueuedMessages.d.ts +22 -0
  108. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -1
  109. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +37 -2
  110. package/dist-vue/style.css +1 -1
  111. package/package.json +1 -1
  112. package/dist/_chunks/dist-Do_Ac5Yv.js.map +0 -1
  113. package/dist-vue/_chunks/PkChatbot-DIqduIwr.js +0 -290
  114. package/dist-vue/_chunks/PkChatbot-DIqduIwr.js.map +0 -1
  115. package/dist-vue/_chunks/PkChatbotInput-BJHtmPR-.js.map +0 -1
  116. package/dist-vue/_chunks/PkChatbotViewChat-BI_PtT72.js.map +0 -1
  117. package/dist-vue/_chunks/PkChatbotViewConversations-Bg4jSO9a.js +0 -199
  118. package/dist-vue/_chunks/PkChatbotViewConversations-Bg4jSO9a.js.map +0 -1
  119. package/dist-vue/_chunks/createChatbotApiClient-DUz4dwzY.js.map +0 -1
  120. package/dist-vue/_chunks/useChatbotStore-D7LcpA-6.js.map +0 -1
@@ -269,9 +269,7 @@ function ge(e, t, n) {
269
269
  }
270
270
  }, { flush: o }), i ? f(() => (d.value = !0, m.value)) : m;
271
271
  }
272
- var z = T ? window : void 0;
273
- T && window.document;
274
- var B = T ? window.navigator : void 0;
272
+ var z = T ? window : void 0, _e = T ? window.document : void 0, B = T ? window.navigator : void 0;
275
273
  T && window.location;
276
274
  function V(e) {
277
275
  let t = b(e);
@@ -296,7 +294,7 @@ function H(...e) {
296
294
  }, { flush: "post" });
297
295
  }
298
296
  var U = !1;
299
- function _e(e, t, n = {}) {
297
+ function ve(e, t, n = {}) {
300
298
  let { window: r = z, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
301
299
  if (!r) return s ? {
302
300
  stop: A,
@@ -357,7 +355,7 @@ function _e(e, t, n = {}) {
357
355
  }
358
356
  } : h;
359
357
  }
360
- function ve() {
358
+ function ye() {
361
359
  let e = c(!1), t = o();
362
360
  return t && n(() => {
363
361
  e.value = !0;
@@ -365,7 +363,7 @@ function ve() {
365
363
  }
366
364
  /* @__NO_SIDE_EFFECTS__ */
367
365
  function W(e) {
368
- let t = ve();
366
+ let t = ye();
369
367
  return f(() => (t.value, !!e()));
370
368
  }
371
369
  function G(e, t, n = {}) {
@@ -410,18 +408,18 @@ function K(e, t, n = {}) {
410
408
  };
411
409
  return S(u), u;
412
410
  }
413
- function ye(e) {
411
+ function be(e) {
414
412
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
415
413
  }
416
- function be(...e) {
414
+ function xe(...e) {
417
415
  let t, n, r = {};
418
416
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
419
- let { target: i = z, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = ye(t);
417
+ let { target: i = z, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = be(t);
420
418
  return H(i, a, (e) => {
421
419
  e.repeat && b(s) || c(e) && n(e);
422
420
  }, o);
423
421
  }
424
- function xe(e = {}) {
422
+ function Se(e = {}) {
425
423
  let { window: t = z, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
426
424
  let e = i?.activeElement;
427
425
  if (n) for (var t; e?.shadowRoot;) e = e == null || (t = e.shadowRoot) == null ? void 0 : t.activeElement;
@@ -440,7 +438,7 @@ function xe(e = {}) {
440
438
  }
441
439
  return r && K(o, s, { document: i }), s(), o;
442
440
  }
443
- function Se(e, t = {}) {
441
+ function Ce(e, t = {}) {
444
442
  let { immediate: n = !0, fpsLimit: r = null, window: i = z, once: a = !1 } = t, o = c(!1), s = f(() => {
445
443
  let e = b(r);
446
444
  return e ? 1e3 / e : null;
@@ -466,14 +464,14 @@ function Se(e, t = {}) {
466
464
  resume: m
467
465
  };
468
466
  }
469
- var Ce = Symbol("vueuse-ssr-width");
467
+ var we = Symbol("vueuse-ssr-width");
470
468
  /* @__NO_SIDE_EFFECTS__ */
471
- function we() {
472
- let e = r() ? /* @__PURE__ */ w(Ce, null) : null;
469
+ function Te() {
470
+ let e = r() ? /* @__PURE__ */ w(we, null) : null;
473
471
  return typeof e == "number" ? e : void 0;
474
472
  }
475
473
  function q(e, t = {}) {
476
- let { window: n = z, ssrWidth: r = /* @__PURE__ */ we() } = t, i = /* @__PURE__ */ W(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = c(typeof r == "number"), s = c(), l = c(!1);
474
+ let { window: n = z, ssrWidth: r = /* @__PURE__ */ Te() } = t, i = /* @__PURE__ */ W(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = c(typeof r == "number"), s = c(), l = c(!1);
477
475
  return a(() => {
478
476
  if (o.value) {
479
477
  o.value = !i.value;
@@ -512,7 +510,7 @@ function J(e, t = {}) {
512
510
  } : s;
513
511
  }
514
512
  /* @__NO_SIDE_EFFECTS__ */
515
- function Te(e = {}) {
513
+ function Ee(e = {}) {
516
514
  let { navigator: t = B, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ W(() => t && "clipboard" in t), s = /* @__PURE__ */ J("clipboard-read"), l = /* @__PURE__ */ J("clipboard-write"), u = f(() => o.value || a), p = c(""), m = c(!1), h = c(!1), g = fe(() => m.value = !1, i, { immediate: !1 }), _ = 0;
517
515
  async function v() {
518
516
  let e = !(o.value && w(s.value));
@@ -567,23 +565,23 @@ function Te(e = {}) {
567
565
  copy: y
568
566
  };
569
567
  }
570
- function Ee(e) {
568
+ function De(e) {
571
569
  return JSON.parse(JSON.stringify(e));
572
570
  }
573
- var Y = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, X = "__vueuse_ssr_handlers__", De = /* #__PURE__ */ Oe();
574
- function Oe() {
571
+ var Y = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, X = "__vueuse_ssr_handlers__", Oe = /* #__PURE__ */ ke();
572
+ function ke() {
575
573
  return X in Y || (Y[X] = Y[X] || {}), Y[X];
576
574
  }
577
- function ke(e, t) {
578
- return De[e] || t;
575
+ function Ae(e, t) {
576
+ return Oe[e] || t;
579
577
  }
580
- function Ae(e) {
578
+ function je(e) {
581
579
  return q("(prefers-color-scheme: dark)", e);
582
580
  }
583
- function je(e) {
581
+ function Me(e) {
584
582
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
585
583
  }
586
- var Me = {
584
+ var Ne = {
587
585
  boolean: {
588
586
  read: (e) => e === "true",
589
587
  write: (e) => String(e)
@@ -622,12 +620,12 @@ function Q(e, t, n, r = {}) {
622
620
  console.error(e);
623
621
  }, initOnMounted: v } = r, y = (m ? c : p)(typeof t == "function" ? t() : t), x = f(() => b(e));
624
622
  if (!n) try {
625
- n = ke("getDefaultStorage", () => z?.localStorage)();
623
+ n = Ae("getDefaultStorage", () => z?.localStorage)();
626
624
  } catch (e) {
627
625
  _(e);
628
626
  }
629
627
  if (!n) return y;
630
- let S = b(t), C = je(S), w = r.serializer ?? Me[C], { pause: T, resume: E } = ue(y, (e) => k(e), {
628
+ let S = b(t), C = Me(S), w = r.serializer ?? Ne[C], { pause: T, resume: E } = ue(y, (e) => k(e), {
631
629
  flush: a,
632
630
  deep: o,
633
631
  eventFilter: g
@@ -697,7 +695,15 @@ function Q(e, t, n, r = {}) {
697
695
  }
698
696
  return y;
699
697
  }
700
- function Ne(e, n = {}) {
698
+ function Pe(e = {}) {
699
+ let { document: t = _e } = e;
700
+ if (!t) return c("visible");
701
+ let n = c(t.visibilityState);
702
+ return H(t, "visibilitychange", () => {
703
+ n.value = t.visibilityState;
704
+ }, { passive: !0 }), n;
705
+ }
706
+ function Fe(e, n = {}) {
701
707
  let r = c(!1), i = c(null), a = 0, o = !0;
702
708
  if (T) {
703
709
  let s = typeof n == "function" ? { onDrop: n } : n, c = s.multiple ?? !0, l = s.preventDefaultForUnhandled ?? !1, u = (e) => {
@@ -766,14 +772,14 @@ function $(e, t, n = {}) {
766
772
  stop: d
767
773
  };
768
774
  }
769
- function Pe(e, t = {}) {
775
+ function Ie(e, t = {}) {
770
776
  let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = z } = t, o = c(!1), s, l = (e) => {
771
777
  let t = e ? n : r;
772
778
  s &&= (clearTimeout(s), void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
773
779
  };
774
780
  return a && (H(e, "mouseenter", () => l(!0), { passive: !0 }), H(e, "mouseleave", () => l(!1), { passive: !0 }), i && K(f(() => V(e)), () => l(!1))), o;
775
781
  }
776
- function Fe(e, t = {
782
+ function Le(e, t = {
777
783
  width: 0,
778
784
  height: 0
779
785
  }, n = {}) {
@@ -814,7 +820,7 @@ function Fe(e, t = {
814
820
  stop: p
815
821
  };
816
822
  }
817
- function Ie(e, t, n = {}) {
823
+ function Re(e, t, n = {}) {
818
824
  let { root: r, rootMargin: i, threshold: a = 0, window: o = z, immediate: l = !0 } = n, u = /* @__PURE__ */ W(() => o && "IntersectionObserver" in o), d = f(() => L(b(e)).map(V).filter(D)), p = A, m = c(l), h = u.value ? s(() => [
819
825
  d.value,
820
826
  V(r),
@@ -848,8 +854,8 @@ function Ie(e, t, n = {}) {
848
854
  stop: g
849
855
  };
850
856
  }
851
- function Le(e, t = {}) {
852
- let { window: n = z, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, l = c(s), u = Ie(e, (e) => {
857
+ function ze(e, t = {}) {
858
+ let { window: n = z, scrollTarget: r, threshold: i = 0, rootMargin: a, once: o = !1, initialValue: s = !1 } = t, l = c(s), u = Re(e, (e) => {
853
859
  let t = l.value, n = 0;
854
860
  for (let r of e) r.time >= n && (n = r.time, t = r.isIntersecting);
855
861
  l.value = t, o && he(l, () => {
@@ -866,7 +872,7 @@ function Le(e, t = {}) {
866
872
  isVisible: l
867
873
  } : l;
868
874
  }
869
- function Re(e, t = {}) {
875
+ function Be(e, t = {}) {
870
876
  let { initialValue: n = !1, focusVisible: r = !1, preventScroll: i = !1 } = t, a = c(!1), o = f(() => V(e)), l = { passive: !0 };
871
877
  H(o, "focus", (e) => {
872
878
  var t;
@@ -886,38 +892,38 @@ function Re(e, t = {}) {
886
892
  flush: "post"
887
893
  }), { focused: u };
888
894
  }
889
- var ze = "focusin", Be = "focusout", Ve = ":focus-within";
890
- function He(e, t = {}) {
891
- let { window: n = z } = t, r = f(() => V(e)), i = c(!1), a = f(() => i.value), o = xe(t);
895
+ var Ve = "focusin", He = "focusout", Ue = ":focus-within";
896
+ function We(e, t = {}) {
897
+ let { window: n = z } = t, r = f(() => V(e)), i = c(!1), a = f(() => i.value), o = Se(t);
892
898
  if (!n || !o.value) return { focused: a };
893
899
  let s = { passive: !0 };
894
- return H(r, ze, () => i.value = !0, s), H(r, Be, () => {
900
+ return H(r, Ve, () => i.value = !0, s), H(r, He, () => {
895
901
  var e, t;
896
- return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, Ve)) ?? !1;
902
+ return i.value = ((e = r.value) == null || (t = e.matches) == null ? void 0 : t.call(e, Ue)) ?? !1;
897
903
  }, s), { focused: a };
898
904
  }
899
- function Ue(e, t, n = {}) {
905
+ function Ge(e, t, n = {}) {
900
906
  let { window: r = z } = n;
901
907
  return Q(e, t, r?.localStorage, n);
902
908
  }
903
909
  /* @__NO_SIDE_EFFECTS__ */
904
- function We(e = {}) {
905
- let { controls: t = !1, scheduler: n = Se } = e, r = c(/* @__PURE__ */ new Date()), i = n(() => r.value = /* @__PURE__ */ new Date());
910
+ function Ke(e = {}) {
911
+ let { controls: t = !1, scheduler: n = Ce } = e, r = c(/* @__PURE__ */ new Date()), i = n(() => r.value = /* @__PURE__ */ new Date());
906
912
  return t ? {
907
913
  now: r,
908
914
  ...i
909
915
  } : r;
910
916
  }
911
- function Ge(e, t, n = {}) {
917
+ function qe(e, t, n = {}) {
912
918
  let { window: r = z } = n;
913
919
  return Q(e, t, r?.sessionStorage, n);
914
920
  }
915
921
  /* @__NO_SIDE_EFFECTS__ */
916
- function Ke(e, t, n, r = {}) {
922
+ function Je(e, t, n, r = {}) {
917
923
  var a, c;
918
924
  let { clone: l = !1, passive: u = !1, eventName: d, deep: m = !1, defaultValue: h, shouldEmit: g } = r, _ = o(), v = n || _?.emit || (_ == null || (a = _.$emit) == null ? void 0 : a.bind(_)) || (_ == null || (c = _.proxy) == null || (c = c.$emit) == null ? void 0 : c.bind(_?.proxy)), y = d;
919
925
  t ||= "modelValue", y ||= `update:${t.toString()}`;
920
- let b = (e) => l ? typeof l == "function" ? l(e) : Ee(e) : e, x = () => E(e[t]) ? b(e[t]) : h, S = (e) => {
926
+ let b = (e) => l ? typeof l == "function" ? l(e) : De(e) : e, x = () => E(e[t]) ? b(e[t]) : h, S = (e) => {
921
927
  g ? g(e) && v(y, e) : v(y, e);
922
928
  };
923
929
  if (u) {
@@ -938,6 +944,6 @@ function Ke(e, t, n, r = {}) {
938
944
  });
939
945
  }
940
946
  //#endregion
941
- export { de as C, F as S, Ge as _, Ne as a, oe as b, Le as c, Ue as d, q as f, $ as g, Ae as h, Te as i, Re as l, We as m, _e as n, Pe as o, G as p, be as r, Fe as s, ge as t, He as u, Q as v, pe as w, ce as x, Ke as y };
947
+ export { F as C, ce as S, pe as T, $ as _, Pe as a, Je as b, Le as c, We as d, Ge as f, je as g, Ke as h, Ee as i, ze as l, G as m, ve as n, Fe as o, q as p, xe as r, Ie as s, ge as t, Be as u, qe as v, de as w, oe as x, Q as y };
942
948
 
943
- //# sourceMappingURL=dist-Do_Ac5Yv.js.map
949
+ //# sourceMappingURL=dist-CB7v_M5z.js.map