@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.
- package/dist/_chunks/{PkChatbotFilePreview-CpFXWpU7.js → PkChatbotFilePreview-DxpEIFOG.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-CpFXWpU7.js.map → PkChatbotFilePreview-DxpEIFOG.js.map} +1 -1
- package/dist/_chunks/{PkHeldImage-DvHKY7Vh.js → PkHeldImage-CztNY8OZ.js} +2 -2
- package/dist/_chunks/{PkHeldImage-DvHKY7Vh.js.map → PkHeldImage-CztNY8OZ.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-BBFsS16D.js → PkLazyImg-BqbuNQgf.js} +2 -2
- package/dist/_chunks/{PkLazyImg-BBFsS16D.js.map → PkLazyImg-BqbuNQgf.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-D2aqCD0I.js → PkStreamingMarkdown-BlTH2AJX.js} +2 -2
- package/dist/_chunks/{PkStreamingMarkdown-D2aqCD0I.js.map → PkStreamingMarkdown-BlTH2AJX.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-83ZdmGeA.js → PkToolEditSpreadsheet-CDxglslA.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-83ZdmGeA.js.map → PkToolEditSpreadsheet-CDxglslA.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-1cOmCG8P.js → PkToolRequestGeolocation-CxMAoAv6.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-1cOmCG8P.js.map → PkToolRequestGeolocation-CxMAoAv6.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-CCu3FCyo.js → PkToolRequestOAuthConnection-DU1Y2odZ.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-CCu3FCyo.js.map → PkToolRequestOAuthConnection-DU1Y2odZ.js.map} +1 -1
- package/dist/_chunks/{PkToolShareDocument-BhT59J9o.js → PkToolShareDocument-YrPrexhS.js} +5 -5
- package/dist/_chunks/{PkToolShareDocument-BhT59J9o.js.map → PkToolShareDocument-YrPrexhS.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-CiYkZkpe.js → PkToolShowArtifact-jQeIv65U.js} +4 -4
- package/dist/_chunks/{PkToolShowArtifact-CiYkZkpe.js.map → PkToolShowArtifact-jQeIv65U.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-Dzh4JURs.js → PkToolShowCalendarEvent-CAN5-qnM.js} +4 -4
- package/dist/_chunks/{PkToolShowCalendarEvent-Dzh4JURs.js.map → PkToolShowCalendarEvent-CAN5-qnM.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-CFHrXnaB.js → PkToolShowComparison-DGxHYpl3.js} +4 -4
- package/dist/_chunks/{PkToolShowComparison-CFHrXnaB.js.map → PkToolShowComparison-DGxHYpl3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-D7TEzrYe.js → PkToolShowContactForm-D7wg3Jlu.js} +5 -5
- package/dist/_chunks/{PkToolShowContactForm-D7TEzrYe.js.map → PkToolShowContactForm-D7wg3Jlu.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-DGnIuRst.js → PkToolShowDiagram-BBs1rh96.js} +4 -4
- package/dist/_chunks/{PkToolShowDiagram-DGnIuRst.js.map → PkToolShowDiagram-BBs1rh96.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-C3jped-R.js → PkToolShowEmail-CeiSo-zx.js} +4 -4
- package/dist/_chunks/{PkToolShowEmail-C3jped-R.js.map → PkToolShowEmail-CeiSo-zx.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-CSh4Q6sl.js → PkToolShowForm-BMVgXxzl.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-CSh4Q6sl.js.map → PkToolShowForm-BMVgXxzl.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CQEaEfYE.js → PkToolShowImageGallery-Ba0CfKt6.js} +3 -3
- package/dist/_chunks/{PkToolShowImageGallery-CQEaEfYE.js.map → PkToolShowImageGallery-Ba0CfKt6.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-gyMiVjhi.js → PkToolShowLocation-Cp95-u2H.js} +4 -4
- package/dist/_chunks/{PkToolShowLocation-gyMiVjhi.js.map → PkToolShowLocation-Cp95-u2H.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-wGPPnOAM.js → PkToolShowMessage-Bn8O_W0D.js} +4 -4
- package/dist/_chunks/{PkToolShowMessage-wGPPnOAM.js.map → PkToolShowMessage-Bn8O_W0D.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-BCmULLct.js → PkToolShowProductList-DbZfUUWe.js} +4 -4
- package/dist/_chunks/{PkToolShowProductList-BCmULLct.js.map → PkToolShowProductList-DbZfUUWe.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-CeZsvZvb.js → PkToolShowQrCode-D_9_c-Ws.js} +4 -4
- package/dist/_chunks/{PkToolShowQrCode-CeZsvZvb.js.map → PkToolShowQrCode-D_9_c-Ws.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-R9KWsfTQ.js → PkToolShowSources-Dkt4IId2.js} +4 -4
- package/dist/_chunks/{PkToolShowSources-R9KWsfTQ.js.map → PkToolShowSources-Dkt4IId2.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-DYZz9aV2.js → PkToolShowSuggestedReply-BF2sT3B1.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-DYZz9aV2.js.map → PkToolShowSuggestedReply-BF2sT3B1.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-C_9SZtZM.js → PkToolShowVideo-l8JoSKCj.js} +3 -3
- package/dist/_chunks/{PkToolShowVideo-C_9SZtZM.js.map → PkToolShowVideo-l8JoSKCj.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-BgS4_SWb.js → PkToolShowWeather-DifqBB7o.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-BgS4_SWb.js.map → PkToolShowWeather-DifqBB7o.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DwRYfle9.js → PkToolShowWebPages-DtcEmrYt.js} +4 -4
- package/dist/_chunks/{PkToolShowWebPages-DwRYfle9.js.map → PkToolShowWebPages-DtcEmrYt.js.map} +1 -1
- package/dist/_chunks/{VvButtonLocalized-B6igS2e0.js → VvButtonLocalized-D7K9ZslZ.js} +2 -2
- package/dist/_chunks/{VvButtonLocalized-B6igS2e0.js.map → VvButtonLocalized-D7K9ZslZ.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-OXhptnPU.js → VvCheckboxGroup.es-BebSMBKU.js} +2 -2
- package/dist/_chunks/{VvCheckboxGroup.es-OXhptnPU.js.map → VvCheckboxGroup.es-BebSMBKU.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-SLzX9VnX.js → VvCombobox.es-BfiDcdcw.js} +481 -481
- package/dist/_chunks/{VvCombobox.es-SLzX9VnX.js.map → VvCombobox.es-BfiDcdcw.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-CETcNKlr.js → VvInputText.es-DllQ2Tue.js} +435 -435
- package/dist/_chunks/{VvInputText.es-CETcNKlr.js.map → VvInputText.es-DllQ2Tue.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-UBZBB89A.js → VvRadioGroup.es-D6uqf6a1.js} +2 -2
- package/dist/_chunks/{VvRadioGroup.es-UBZBB89A.js.map → VvRadioGroup.es-D6uqf6a1.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-B_MShGnJ.js → VvSelect.es-BR5Ci5VC.js} +2 -2
- package/dist/_chunks/{VvSelect.es-B_MShGnJ.js.map → VvSelect.es-BR5Ci5VC.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-Dm2Yq3WM.js → VvTextarea.es-Bwe5xjXl.js} +29 -29
- package/dist/_chunks/{VvTextarea.es-Dm2Yq3WM.js.map → VvTextarea.es-Bwe5xjXl.js.map} +1 -1
- package/dist/_chunks/{dist-Do_Ac5Yv.js → dist-CB7v_M5z.js} +52 -46
- package/dist/_chunks/dist-CB7v_M5z.js.map +1 -0
- package/dist/_chunks/{index.es-BTDKU45u.js → index.es-CKF2q-ww.js} +26 -26
- package/dist/_chunks/{index.es-BTDKU45u.js.map → index.es-CKF2q-ww.js.map} +1 -1
- package/dist/_chunks/{index.es-BZS9Cscn.js → index.es-CoWhnabo.js} +16 -16
- package/dist/_chunks/{index.es-BZS9Cscn.js.map → index.es-CoWhnabo.js.map} +1 -1
- package/dist/ai-elements.es.js +4173 -3915
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotQueuedMessages.d.ts +2 -0
- package/dist-vue/PkChatbotQueuedMessages.js +1 -0
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/PkChatbot-CObEhs2T.js +279 -0
- package/dist-vue/_chunks/PkChatbot-CObEhs2T.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-BJHtmPR-.js → PkChatbotInput-CuEoeb_M.js} +47 -22
- package/dist-vue/_chunks/PkChatbotInput-CuEoeb_M.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotQueuedMessages-DlydYgwC.js +51 -0
- package/dist-vue/_chunks/PkChatbotQueuedMessages-DlydYgwC.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-BI_PtT72.js → PkChatbotViewChat-BZb-U7Ju.js} +246 -224
- package/dist-vue/_chunks/PkChatbotViewChat-BZb-U7Ju.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-CCPRWCKs.js +210 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-CCPRWCKs.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewFiles-Cwm-JQMF.js → PkChatbotViewFiles-BgqksCn0.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewFiles-Cwm-JQMF.js.map → PkChatbotViewFiles-BgqksCn0.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-C_GElIM3.js → PkChatbotViewProfile-B6tHWrqn.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-C_GElIM3.js.map → PkChatbotViewProfile-B6tHWrqn.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DUz4dwzY.js → createChatbotApiClient-hcFAulTq.js} +12 -3
- package/dist-vue/_chunks/createChatbotApiClient-hcFAulTq.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-D7LcpA-6.js → useChatbotStore-Ct7G-voO.js} +953 -800
- package/dist-vue/_chunks/useChatbotStore-Ct7G-voO.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +12 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +97 -83
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +16 -2
- package/dist-vue/packages/components/src/chat/PkChatSidebarConversationItem.d.ts +2 -0
- package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +17 -3
- package/dist-vue/packages/components/src/chat/PkChatbotQueuedMessages.d.ts +22 -0
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -1
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +37 -2
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/dist-Do_Ac5Yv.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-DIqduIwr.js +0 -290
- package/dist-vue/_chunks/PkChatbot-DIqduIwr.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-BJHtmPR-.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-BI_PtT72.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-Bg4jSO9a.js +0 -199
- package/dist-vue/_chunks/PkChatbotViewConversations-Bg4jSO9a.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-DUz4dwzY.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-D7LcpA-6.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as ee, K as f, N as p, Ot as m, P as h, Q as g, R as _, S as v, T as y, Tt as b, U as x, V as S, W as C, Z as w, _ as T, a as E, at as D, b as te, bt as O, d as k, et as A, f as ne, ft as j, g as M, h as N, ht as P, j as F, k as re, l as ie, lt as ae, o as oe, r as se, t as ce, tt as I, v as L, w as R, wt as le, x as z, xt as ue, y as B, yt as de, z as fe } from "./vue.runtime.esm-bundler-BkvITeKg.js";
|
|
2
2
|
import { a as V, i as pe, t as me } from "./iconify-Lm6SAZ2s.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as he, d as ge, l as _e, m as ve, n as ye, r as H, s as be, u as xe, y as Se } from "./dist-CB7v_M5z.js";
|
|
4
4
|
import { a as U, c as Ce, i as we, l as W, n as Te, o as Ee, r as De, s as Oe, t as ke } from "./floating-ui.vue-DgWctTmX.js";
|
|
5
5
|
import { t as Ae } from "./dot-prop-B2dazUQ6.js";
|
|
6
6
|
import { t as je } from "./esm-B4GALDiT.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 i = e, a = n, u = l(), d =
|
|
440
|
+
let i = e, a = n, u = l(), d = he(i, "modelValue", a), ee = f(), p = N(() => i.name || u?.id || ee), { title: h, content: g, not: v } = O(i), { isInGroup: y, modifiers: x, disabled: C, bus: T } = jt(i), E = P(!y.value && v.value);
|
|
441
441
|
w(d, (e) => {
|
|
442
442
|
typeof e == "boolean" && (E.value = v.value ? !e : e);
|
|
443
443
|
}, { immediate: !0 }), w(E, (e) => {
|
|
@@ -524,12 +524,12 @@ function It(e, t = Ne.local, n) {
|
|
|
524
524
|
return d(() => {
|
|
525
525
|
e && w(e, (e, n) => {
|
|
526
526
|
let o = r(t) === Ne.session ? sessionStorage : localStorage;
|
|
527
|
-
n && n !== e && o.removeItem(n), e ? (a =
|
|
527
|
+
n && n !== e && o.removeItem(n), e ? (a = Se(e, a?.value ?? i.value, o), a.value && (i.value = a.value)) : a = void 0;
|
|
528
528
|
}, { immediate: !0 }), ae(t) && w(t, (t, n) => {
|
|
529
529
|
if (e?.value) {
|
|
530
530
|
if (t) {
|
|
531
531
|
let n = t === Ne.session ? sessionStorage : localStorage;
|
|
532
|
-
a =
|
|
532
|
+
a = Se(e.value, a?.value ?? i.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 i = e, a = t, c = ee(), l = Mn("VvCheckboxGroup", wt, i), u =
|
|
1308
|
+
let i = e, a = t, c = ee(), l = Mn("VvCheckboxGroup", wt, i), u = he(i, "modelValue", a), { disabled: d, readonly: f, vertical: h, valid: g, invalid: y, modifiers: x } = O(i);
|
|
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: D, popover: te, show: k, hide: j } = Jn(y, () => c.topLayer), F = N(() => D.value ? Pe.fixed : c.strategy), re = P(!1);
|
|
1673
1673
|
d(() => {
|
|
1674
|
-
|
|
1674
|
+
ve(y.value, () => {
|
|
1675
1675
|
re.value = globalThis.getComputedStyle(y.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 = N(() => de.value.split("-")[0]),
|
|
1731
|
+
}), me = N(() => de.value.split("-")[0]), _e = N(() => {
|
|
1732
1732
|
if (re.value) return;
|
|
1733
1733
|
let e = {
|
|
1734
1734
|
[K.top]: K.bottom,
|
|
@@ -1741,10 +1741,10 @@ var Qn = ["popover"], $n = [
|
|
|
1741
1741
|
top: ue.value.arrow?.y === void 0 ? void 0 : `${ue.value.arrow?.y}px`,
|
|
1742
1742
|
[e]: `${-(x.value?.offsetWidth ?? 0) / 2}px`
|
|
1743
1743
|
};
|
|
1744
|
-
}),
|
|
1745
|
-
get: () =>
|
|
1744
|
+
}), xe = he(c, "modelValue", u), Se = P(!1), W = N({
|
|
1745
|
+
get: () => xe.value ?? Se.value,
|
|
1746
1746
|
set: (e) => {
|
|
1747
|
-
|
|
1747
|
+
xe.value === void 0 ? Se.value = e : xe.value = e;
|
|
1748
1748
|
}
|
|
1749
1749
|
});
|
|
1750
1750
|
w([
|
|
@@ -1757,7 +1757,7 @@ var Qn = ["popover"], $n = [
|
|
|
1757
1757
|
}, {
|
|
1758
1758
|
flush: "post",
|
|
1759
1759
|
immediate: !0
|
|
1760
|
-
}),
|
|
1760
|
+
}), ve(T, () => {
|
|
1761
1761
|
W.value && V();
|
|
1762
1762
|
}, {
|
|
1763
1763
|
childList: !0,
|
|
@@ -1778,7 +1778,7 @@ var Qn = ["popover"], $n = [
|
|
|
1778
1778
|
function Me(e) {
|
|
1779
1779
|
E.value = e;
|
|
1780
1780
|
}
|
|
1781
|
-
|
|
1781
|
+
ye(y, () => {
|
|
1782
1782
|
!c.keepOpen && W.value && (W.value = !1);
|
|
1783
1783
|
}, { ignore: [E] });
|
|
1784
1784
|
let Ne = N(() => E.value?.getAttribute?.("id") ?? void 0), Fe = N(() => ({
|
|
@@ -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 } = O(c), ze = Z("vv-dropdown", Re, N(() => ({ arrow: c.arrow }))), { focused: Be } =
|
|
1795
|
+
let { role: q, modifiers: Re } = O(c), ze = Z("vv-dropdown", Re, N(() => ({ arrow: c.arrow }))), { focused: Be } = ge(y);
|
|
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,7 +1849,7 @@ var Qn = ["popover"], $n = [
|
|
|
1849
1849
|
role: q,
|
|
1850
1850
|
expanded: W,
|
|
1851
1851
|
focused: Be,
|
|
1852
|
-
hovered:
|
|
1852
|
+
hovered: be(y)
|
|
1853
1853
|
});
|
|
1854
1854
|
H("Escape", (e) => {
|
|
1855
1855
|
W.value && (e.preventDefault(), je());
|
|
@@ -1909,7 +1909,7 @@ var Qn = ["popover"], $n = [
|
|
|
1909
1909
|
key: 0,
|
|
1910
1910
|
ref_key: "arrowEl",
|
|
1911
1911
|
ref: x,
|
|
1912
|
-
style: a(r(
|
|
1912
|
+
style: a(r(_e)),
|
|
1913
1913
|
class: "vv-dropdown__arrow"
|
|
1914
1914
|
}, null, 4)) : L("v-if", !0),
|
|
1915
1915
|
S(e.$slots, "before", s(o({
|
|
@@ -1951,7 +1951,7 @@ var tr = /* @__PURE__ */ R({
|
|
|
1951
1951
|
setup(e) {
|
|
1952
1952
|
let t = e, { role: n, expanded: i } = Vt(), a = P(null);
|
|
1953
1953
|
Zn({ expanded: i });
|
|
1954
|
-
let o =
|
|
1954
|
+
let o = be(a), { focused: s } = xe(a), { focused: c } = ge(a);
|
|
1955
1955
|
return w(o, (e) => {
|
|
1956
1956
|
e && t.focusOnHover && (s.value = !0);
|
|
1957
1957
|
}), (e, t) => (_(), B("div", p({ role: r(n) }, {
|
|
@@ -2042,7 +2042,7 @@ function ar() {
|
|
|
2042
2042
|
};
|
|
2043
2043
|
}
|
|
2044
2044
|
function or(e, t) {
|
|
2045
|
-
let { focused: n } =
|
|
2045
|
+
let { focused: n } = xe(e);
|
|
2046
2046
|
return w(n, (n) => {
|
|
2047
2047
|
t(n ? "focus" : "blur", r(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 i = e, a = n, o = P(), s =
|
|
2095
|
+
let i = e, a = n, o = P(), s = he(i, "modelValue", a), c = P(!1), l = N({
|
|
2096
2096
|
get: () => s.value ?? c.value,
|
|
2097
2097
|
set: (e) => {
|
|
2098
2098
|
s.value === void 0 ? c.value = e : s.value = e;
|
|
@@ -2127,7 +2127,7 @@ var sr = [
|
|
|
2127
2127
|
a("leaveCancelled");
|
|
2128
2128
|
}
|
|
2129
2129
|
};
|
|
2130
|
-
|
|
2130
|
+
ye(u, () => {
|
|
2131
2131
|
i.keepOpen || x();
|
|
2132
2132
|
});
|
|
2133
2133
|
function x() {
|
|
@@ -2614,8 +2614,8 @@ var Nr = ["for"], Pr = {
|
|
|
2614
2614
|
let a = e, c = i, l = ee(), u = zt(), f = Mn("VvInputText", Or, a), { count: h, debounce: g, icon: y, iconPosition: x, iconRemoveSuggestion: C, id: E, invalid: D, label: j, labelRemoveSuggestion: F, loading: re, maxlength: ie, minlength: ae, modelValue: oe, step: se, storageType: ce, type: I, unit: R, valid: le } = O(a), ue = Gt(E), de = N(() => `${ue.value}-hint`), fe = N(() => a.floating && _n(a.placeholder) ? " " : a.placeholder), { model: V, flush: pe } = _r(oe, c, g), me = N(() => {
|
|
2615
2615
|
let e = Number(se.value);
|
|
2616
2616
|
return !Number.isNaN(e) && e % 60 != 0;
|
|
2617
|
-
}),
|
|
2618
|
-
if (!a.iMask) return { mask:
|
|
2617
|
+
}), he = /^-0?[.,]?[0*]?$/, ge = /./, ve = /^-$|^$/, ye = P(!1), H = P(), be = P(), { el: xe, mask: Se, typed: U, masked: Ce, unmasked: we } = je(N(() => {
|
|
2618
|
+
if (!a.iMask) return { mask: ge };
|
|
2619
2619
|
if (a.iMask.mask === Number) {
|
|
2620
2620
|
let e = { ...a.iMask };
|
|
2621
2621
|
return a.min && (e.min = Number(a.min)), a.max && (e.max = Number(a.max)), e;
|
|
@@ -2641,7 +2641,7 @@ var Nr = ["for"], Pr = {
|
|
|
2641
2641
|
if (ve.test(we.value)) {
|
|
2642
2642
|
if (V.value === null || V.value === void 0) return;
|
|
2643
2643
|
V.value = void 0;
|
|
2644
|
-
} else
|
|
2644
|
+
} else he.test(we.value) ? V.value = 0 : typeof U.value == "number" ? V.value = U.value : V.value = Number(U.value);
|
|
2645
2645
|
}
|
|
2646
2646
|
function Te(e) {
|
|
2647
2647
|
let t = new Date(H.value || be.value);
|
|
@@ -2671,7 +2671,7 @@ var Nr = ["for"], Pr = {
|
|
|
2671
2671
|
function De(e) {
|
|
2672
2672
|
if (e == null) U.value = "", we.value = "";
|
|
2673
2673
|
else if (a.iMask?.mask === Date) U.value = e instanceof Date ? e : new Date(e);
|
|
2674
|
-
else if (!(I.value === $.NUMBER &&
|
|
2674
|
+
else if (!(I.value === $.NUMBER && he.test(we.value) && e === 0)) {
|
|
2675
2675
|
if (ct.value) {
|
|
2676
2676
|
if (e instanceof Date || br(e)) {
|
|
2677
2677
|
if (e instanceof Date ? (H.value = e, be.value = void 0) : (be.value = e, H.value = void 0), X.value) {
|
|
@@ -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
|
w(Pe, K);
|
|
2716
|
-
let Le =
|
|
2716
|
+
let Le = _e(Oe);
|
|
2717
2717
|
w(Le, (e) => {
|
|
2718
2718
|
e && a.autofocus && !a.disabled && !a.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 i = e, a = t, c = ee(), l = Mn("VvRadioGroup", wt, i), u =
|
|
3074
|
+
let i = e, a = t, c = ee(), l = Mn("VvRadioGroup", wt, i), u = he(i, "modelValue", a), { disabled: d, readonly: f, vertical: h, valid: g, invalid: y, modifiers: x } = O(i);
|
|
3075
3075
|
Lt(We, {
|
|
3076
3076
|
modelValue: u,
|
|
3077
3077
|
disabled: d,
|
|
@@ -3145,4 +3145,4 @@ var $r = {
|
|
|
3145
3145
|
//#endregion
|
|
3146
3146
|
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 };
|
|
3147
3147
|
|
|
3148
|
-
//# sourceMappingURL=index.es-
|
|
3148
|
+
//# sourceMappingURL=index.es-CKF2q-ww.js.map
|