@8wave/ai-elements 0.103.0-beta.3 → 0.103.0-beta.4

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 (128) hide show
  1. package/dist/_chunks/PkLazyImg-CyeqD59M.js +34 -0
  2. package/dist/_chunks/{PkLazyImg-_389yCnQ.js.map → PkLazyImg-CyeqD59M.js.map} +1 -1
  3. package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js → PkStreamingMarkdown-DIkusrTI.js} +28 -28
  4. package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js.map → PkStreamingMarkdown-DIkusrTI.js.map} +1 -1
  5. package/dist/_chunks/PkToolRequestGeolocation-Cgus94KF.js +69 -0
  6. package/dist/_chunks/{PkToolRequestGeolocation-T16QI-Uv.js.map → PkToolRequestGeolocation-Cgus94KF.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js → PkToolRequestOAuthConnection-DsUpUh97.js} +21 -21
  8. package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js.map → PkToolRequestOAuthConnection-DsUpUh97.js.map} +1 -1
  9. package/dist/_chunks/PkToolShowArtifact-griVx9w3.js +93 -0
  10. package/dist/_chunks/{PkToolShowArtifact-D15GjBm6.js.map → PkToolShowArtifact-griVx9w3.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js → PkToolShowCalendarEvent-DyiNmqqo.js} +43 -43
  12. package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js.map → PkToolShowCalendarEvent-DyiNmqqo.js.map} +1 -1
  13. package/dist/_chunks/PkToolShowComparison-RA72YL7R.js +66 -0
  14. package/dist/_chunks/{PkToolShowComparison-Bp2rP2Hx.js.map → PkToolShowComparison-RA72YL7R.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js → PkToolShowContactForm-BzDhv2yd.js} +41 -41
  16. package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js.map → PkToolShowContactForm-BzDhv2yd.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js → PkToolShowDiagram-DhXe8IPm.js} +79 -79
  18. package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js.map → PkToolShowDiagram-DhXe8IPm.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowEmail-DCSj4328.js → PkToolShowEmail-CBmfy_I9.js} +34 -34
  20. package/dist/_chunks/{PkToolShowEmail-DCSj4328.js.map → PkToolShowEmail-CBmfy_I9.js.map} +1 -1
  21. package/dist/_chunks/PkToolShowForm-CzIfm5de.js +365 -0
  22. package/dist/_chunks/{PkToolShowForm-ztQFyFd9.js.map → PkToolShowForm-CzIfm5de.js.map} +1 -1
  23. package/dist/_chunks/PkToolShowImageGallery-CSIiRuSC.js +74 -0
  24. package/dist/_chunks/{PkToolShowImageGallery-DiOR0vYa.js.map → PkToolShowImageGallery-CSIiRuSC.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js → PkToolShowLocation-BHoUqpx4.js} +4079 -4079
  26. package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js.map → PkToolShowLocation-BHoUqpx4.js.map} +1 -1
  27. package/dist/_chunks/PkToolShowMessage-CpDmPfCG.js +77 -0
  28. package/dist/_chunks/{PkToolShowMessage-BysjJ1oS.js.map → PkToolShowMessage-CpDmPfCG.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js → PkToolShowProductList-B8uuIvGo.js} +28 -28
  30. package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js.map → PkToolShowProductList-B8uuIvGo.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js → PkToolShowQrCode-CD2lo3O0.js} +23 -23
  32. package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js.map → PkToolShowQrCode-CD2lo3O0.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowSources-U7etupUP.js → PkToolShowSources-JxaTAEpc.js} +98 -98
  34. package/dist/_chunks/{PkToolShowSources-U7etupUP.js.map → PkToolShowSources-JxaTAEpc.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js → PkToolShowSuggestedReply-BTxqEwEm.js} +18 -18
  36. package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js.map → PkToolShowSuggestedReply-BTxqEwEm.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js → PkToolShowVideo-CVksKdPD.js} +17 -17
  38. package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js.map → PkToolShowVideo-CVksKdPD.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js → PkToolShowWeather-IDwTDozU.js} +68 -68
  40. package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js.map → PkToolShowWeather-IDwTDozU.js.map} +1 -1
  41. package/dist/_chunks/PkToolShowWebPages-D9Yst_2O.js +78 -0
  42. package/dist/_chunks/{PkToolShowWebPages-CPNgXzrS.js.map → PkToolShowWebPages-D9Yst_2O.js.map} +1 -1
  43. package/dist/_chunks/{PkUrl-C3gMPCjz.js → PkUrl-B3FTSURr.js} +19 -19
  44. package/dist/_chunks/{PkUrl-C3gMPCjz.js.map → PkUrl-B3FTSURr.js.map} +1 -1
  45. package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js → VvCheckbox.es-C_dlDzrr.js} +78 -78
  46. package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js.map → VvCheckbox.es-C_dlDzrr.js.map} +1 -1
  47. package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js → VvCheckboxGroup.es-hY0kWpC2.js} +197 -197
  48. package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js.map → VvCheckboxGroup.es-hY0kWpC2.js.map} +1 -1
  49. package/dist/_chunks/VvCombobox.es-DxhDF7ab.js +2044 -0
  50. package/dist/_chunks/{VvCombobox.es-CfRJtWOd.js.map → VvCombobox.es-DxhDF7ab.js.map} +1 -1
  51. package/dist/_chunks/{VvInputText.es-B0HHD6Th.js → VvInputText.es-CdpU8kvP.js} +460 -460
  52. package/dist/_chunks/{VvInputText.es-B0HHD6Th.js.map → VvInputText.es-CdpU8kvP.js.map} +1 -1
  53. package/dist/_chunks/{VvRadio.es-B3u8JJFF.js → VvRadio.es-BruZ5FHR.js} +144 -144
  54. package/dist/_chunks/{VvRadio.es-B3u8JJFF.js.map → VvRadio.es-BruZ5FHR.js.map} +1 -1
  55. package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js → VvRadioGroup.es-DSv6UdEy.js} +148 -148
  56. package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js.map → VvRadioGroup.es-DSv6UdEy.js.map} +1 -1
  57. package/dist/_chunks/{VvSelect.es-BfrDID0e.js → VvSelect.es-C244CAei.js} +155 -155
  58. package/dist/_chunks/{VvSelect.es-BfrDID0e.js.map → VvSelect.es-C244CAei.js.map} +1 -1
  59. package/dist/_chunks/VvTextarea.es-DbaPIcWl.js +1166 -0
  60. package/dist/_chunks/{VvTextarea.es-CAzFW944.js.map → VvTextarea.es-DbaPIcWl.js.map} +1 -1
  61. package/dist/_chunks/{dist-BvSGMyWS.js → dist-BgJVX4FG.js} +12 -12
  62. package/dist/_chunks/{dist-BvSGMyWS.js.map → dist-BgJVX4FG.js.map} +1 -1
  63. package/dist/_chunks/{dist-TFHdNK0W.js → dist-C5Y-NI3i.js} +230 -230
  64. package/dist/_chunks/{dist-TFHdNK0W.js.map → dist-C5Y-NI3i.js.map} +1 -1
  65. package/dist/_chunks/{esm-CUYQMpeA.js → esm-BTbGj6W3.js} +25 -25
  66. package/dist/_chunks/{esm-CUYQMpeA.js.map → esm-BTbGj6W3.js.map} +1 -1
  67. package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js → floating-ui.vue-CoA4oagI.js} +16 -16
  68. package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js.map → floating-ui.vue-CoA4oagI.js.map} +1 -1
  69. package/dist/_chunks/{iconify-BGSTR7vH.js → iconify-6ObncgfH.js} +36 -36
  70. package/dist/_chunks/{iconify-BGSTR7vH.js.map → iconify-6ObncgfH.js.map} +1 -1
  71. package/dist/_chunks/{index.es-B9rhQl9Z.js → index.es-BbyodRh9.js} +258 -258
  72. package/dist/_chunks/{index.es-B9rhQl9Z.js.map → index.es-BbyodRh9.js.map} +1 -1
  73. package/dist/_chunks/index.es-gbmOq0Nu.js +3124 -0
  74. package/dist/_chunks/index.es-gbmOq0Nu.js.map +1 -0
  75. package/dist/_chunks/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-CoeuCKPe.js} +4 -11
  76. package/dist/_chunks/{src-BjFv9Ag8.js → src-CIEdKLKO.js} +2 -2
  77. package/dist/_chunks/{src-BjFv9Ag8.js.map → src-CIEdKLKO.js.map} +1 -1
  78. package/dist/_chunks/useImageFallback-BAsLRsyg.js +19 -0
  79. package/dist/_chunks/{useImageFallback-8kfLDjXm.js.map → useImageFallback-BAsLRsyg.js.map} +1 -1
  80. package/dist/_chunks/{useLightbox-Bq6k-Wlt.js → useLightbox-Epg2fN87.js} +7 -7
  81. package/dist/_chunks/{useLightbox-Bq6k-Wlt.js.map → useLightbox-Epg2fN87.js.map} +1 -1
  82. package/dist/_chunks/useShortUrlResolver--HRa6Od3.js +72 -0
  83. package/dist/_chunks/{useShortUrlResolver-BTJM8XRw.js.map → useShortUrlResolver--HRa6Od3.js.map} +1 -1
  84. package/dist/_chunks/{vue-i18n-BJ7nxwO3.js → vue-i18n-t25g63Be.js} +81 -81
  85. package/dist/_chunks/{vue-i18n-BJ7nxwO3.js.map → vue-i18n-t25g63Be.js.map} +1 -1
  86. package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js +3747 -0
  87. package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js.map +1 -0
  88. package/dist/ai-elements.es.js +1861 -1861
  89. package/dist/ai-elements.es.js.map +1 -1
  90. package/dist-vue/PkChatbot.js +1 -1
  91. package/dist-vue/PkChatbotAuth.js +1 -1
  92. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  93. package/dist-vue/PkChatbotMessages.js +1 -1
  94. package/dist-vue/PkChatbotViewChat.js +1 -1
  95. package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js → PkChatbot-Ch8FlZjC.js} +2 -2
  96. package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js.map → PkChatbot-Ch8FlZjC.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js → PkChatbotAuth-DvnmIukc.js} +2 -2
  98. package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js.map → PkChatbotAuth-DvnmIukc.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js → PkChatbotFeedbackForm-D0RNa7bE.js} +2 -2
  100. package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js.map → PkChatbotFeedbackForm-D0RNa7bE.js.map} +1 -1
  101. package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js → PkChatbotMessages-DGO0WIqx.js} +4 -4
  102. package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js.map → PkChatbotMessages-DGO0WIqx.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js → PkChatbotViewChat-Dkz8dq8N.js} +3 -3
  104. package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js.map → PkChatbotViewChat-Dkz8dq8N.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js → PkToolShowContactForm-CkkWxSSz.js} +2 -2
  106. package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js.map → PkToolShowContactForm-CkkWxSSz.js.map} +1 -1
  107. package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js → PkToolShowDiagram-D0NBG-Gy.js} +2 -2
  108. package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js.map → PkToolShowDiagram-D0NBG-Gy.js.map} +1 -1
  109. package/dist-vue/_chunks/{index.es-BT6Jr2yi.js → index.es-BKxzs6Sh.js} +2 -2
  110. package/dist-vue/_chunks/{index.es-BT6Jr2yi.js.map → index.es-BKxzs6Sh.js.map} +1 -1
  111. package/dist-vue/index.js +10 -10
  112. package/package.json +2 -2
  113. package/dist/_chunks/PkLazyImg-_389yCnQ.js +0 -34
  114. package/dist/_chunks/PkToolRequestGeolocation-T16QI-Uv.js +0 -69
  115. package/dist/_chunks/PkToolShowArtifact-D15GjBm6.js +0 -93
  116. package/dist/_chunks/PkToolShowComparison-Bp2rP2Hx.js +0 -66
  117. package/dist/_chunks/PkToolShowForm-ztQFyFd9.js +0 -365
  118. package/dist/_chunks/PkToolShowImageGallery-DiOR0vYa.js +0 -74
  119. package/dist/_chunks/PkToolShowMessage-BysjJ1oS.js +0 -77
  120. package/dist/_chunks/PkToolShowWebPages-CPNgXzrS.js +0 -78
  121. package/dist/_chunks/VvCombobox.es-CfRJtWOd.js +0 -2044
  122. package/dist/_chunks/VvTextarea.es-CAzFW944.js +0 -1166
  123. package/dist/_chunks/index.es-DvV0VhDa.js +0 -9832
  124. package/dist/_chunks/index.es-DvV0VhDa.js.map +0 -1
  125. package/dist/_chunks/useImageFallback-8kfLDjXm.js +0 -19
  126. package/dist/_chunks/useShortUrlResolver-BTJM8XRw.js +0 -72
  127. package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js +0 -5007
  128. package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js.map +0 -1
@@ -1,9 +1,9 @@
1
- import { A as e, B as t, D as n, E as r, Ht as i, J as a, K as o, N as s, R as c, S as l, Ut as u, V as d, _ as f, at as p, b as m, et as h, f as g, g as _, h as v, k as y, kt as b, lt as x, mt as S, o as C, qt as w, r as T, tt as E, v as D, vt as O, w as k, x as ee, xt as A, y as j, yt as M, z as N } from "./vue.runtime.esm-bundler-DF2of3lp.js";
2
- import { m as P } from "./dist-TFHdNK0W.js";
3
- import { t as F } from "./dot-prop-BEIkPL0b.js";
4
- //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.17_@json-render+core@0.19.0_zod@4.4.3__@volverjs+style@0.1.25_@vue_ec33527ad3a6f0f0071872380d65ccd9/node_modules/@volverjs/ui-vue/dist/components/VvRadioGroup/VvRadioGroup.es.js
5
- y(), p(), b(), T();
6
- var I = {
1
+ import { $ as e, B as t, C as n, Ct as r, E as i, G as a, L as o, M as s, O as c, R as l, St as u, T as d, Tt as f, _ as p, _t as m, a as h, b as g, bt as _, ct as v, d as y, et as b, g as x, h as S, it as C, k as w, m as T, pt as E, q as D, r as O, v as k, vt as A, x as ee, xt as j, y as M, z as te } from "./vue.runtime.esm-bundler-B3bThTaf.js";
2
+ import { m as N } from "./dist-C5Y-NI3i.js";
3
+ import { t as P } from "./dot-prop-BEIkPL0b.js";
4
+ //#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.18_@json-render+core@0.19.0_zod@4.4.3__@volverjs+style@0.1.25_@vue_fb2fc569fa47f04da7f3d790d6448706/node_modules/@volverjs/ui-vue/dist/components/VvRadioGroup/VvRadioGroup.es.js
5
+ c(), C(), j(), O();
6
+ var F = {
7
7
  showPassword: "eye-on",
8
8
  hidePassword: "eye-off",
9
9
  showDatePicker: "calendar",
@@ -14,17 +14,17 @@ var I = {
14
14
  remove: "trash",
15
15
  edit: "edit",
16
16
  download: "download"
17
- }, L = /* @__PURE__ */ (function(e) {
17
+ }, I = /* @__PURE__ */ (function(e) {
18
18
  return e.local = "local", e.session = "session", e;
19
- })({}), R = /* @__PURE__ */ (function(e) {
19
+ })({}), L = /* @__PURE__ */ (function(e) {
20
20
  return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
21
- })({}), z = /* @__PURE__ */ (function(e) {
21
+ })({}), R = /* @__PURE__ */ (function(e) {
22
22
  return e.before = "before", e.after = "after", e;
23
- })({}), te = /* @__PURE__ */ (function(e) {
23
+ })({}), z = /* @__PURE__ */ (function(e) {
24
24
  return e.button = "button", e.submit = "submit", e.reset = "reset", e;
25
- })({}), ne = /* @__PURE__ */ (function(e) {
25
+ })({}), B = /* @__PURE__ */ (function(e) {
26
26
  return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
27
- })({}), B = /* @__PURE__ */ Symbol.for("volver"), V = /* @__PURE__ */ Symbol.for("radioGroup"), H = {
27
+ })({}), ne = /* @__PURE__ */ Symbol.for("volver"), V = /* @__PURE__ */ Symbol.for("radioGroup"), H = {
28
28
  to: { type: [String, Object] },
29
29
  href: String,
30
30
  target: String,
@@ -72,7 +72,7 @@ var I = {
72
72
  type: Boolean,
73
73
  default: !1
74
74
  } };
75
- I.clear;
75
+ F.clear;
76
76
  var ae = { pressed: {
77
77
  type: Boolean,
78
78
  default: !1
@@ -124,8 +124,8 @@ var ae = { pressed: {
124
124
  },
125
125
  iconPosition: {
126
126
  type: String,
127
- default: z.before,
128
- validation: (e) => Object.values(z).includes(e)
127
+ default: R.before,
128
+ validation: (e) => Object.values(R).includes(e)
129
129
  }
130
130
  }, ue = { tabindex: {
131
131
  type: [String, Number],
@@ -134,7 +134,7 @@ var ae = { pressed: {
134
134
  type: Boolean,
135
135
  default: !1
136
136
  } }, fe = { id: [String, Number] };
137
- R.bottom;
137
+ L.bottom;
138
138
  var pe = {
139
139
  ...fe,
140
140
  name: {
@@ -231,39 +231,39 @@ var ge = {
231
231
  ...re,
232
232
  ...ie,
233
233
  ...H
234
- }), te.button, ne.button, L.local;
234
+ }), z.button, B.button, I.local;
235
235
  var ve = ["update:modelValue", "change"];
236
- function Q(e, t, n) {
237
- return n ? xe(e, n) === xe(t, n) : $(e, t);
236
+ function ye(e, t, n) {
237
+ return n ? $(e, n) === $(t, n) : Q(e, t);
238
238
  }
239
- function ye(e, t) {
239
+ function be(e, t) {
240
240
  if (e.length !== t.length) return !1;
241
- for (let n = e.length; n-- !== 0;) if (!$(e[n], t[n])) return !1;
241
+ for (let n = e.length; n-- !== 0;) if (!Q(e[n], t[n])) return !1;
242
242
  return !0;
243
243
  }
244
- function be(e, t) {
244
+ function xe(e, t) {
245
245
  let n = Object.keys(e), { length: r } = n;
246
246
  if (r !== Object.keys(t).length) return !1;
247
247
  for (let e = r; e-- !== 0;) if (!Object.hasOwn(t, n[e])) return !1;
248
248
  for (let i = r; i-- !== 0;) {
249
249
  let r = n[i];
250
- if (!$(e[r], t[r])) return !1;
250
+ if (!Q(e[r], t[r])) return !1;
251
251
  }
252
252
  return !0;
253
253
  }
254
- function $(e, t) {
254
+ function Q(e, t) {
255
255
  if (e === t) return !0;
256
256
  if (!e || !t || typeof e != "object" || typeof t != "object") return Number.isNaN(e) && Number.isNaN(t);
257
257
  let n = Array.isArray(e), r = Array.isArray(t);
258
258
  if (n !== r) return !1;
259
- if (n && r) return ye(e, t);
259
+ if (n && r) return be(e, t);
260
260
  let i = e instanceof Date, a = t instanceof Date;
261
261
  if (i !== a) return !1;
262
262
  if (i && a) return e.getTime() === t.getTime();
263
263
  let o = e instanceof RegExp, s = t instanceof RegExp;
264
- return o === s ? o && s ? e.toString() === t.toString() : be(e, t) : !1;
264
+ return o === s ? o && s ? e.toString() === t.toString() : xe(e, t) : !1;
265
265
  }
266
- function xe(e, t) {
266
+ function $(e, t) {
267
267
  if (e && Object.keys(e).length && t) {
268
268
  if (!t.includes(".")) return e[t];
269
269
  let n = t.split("."), r = e;
@@ -277,7 +277,7 @@ function xe(e, t) {
277
277
  }
278
278
  function Se(e, t) {
279
279
  if (e != null && t?.length) {
280
- for (let n of t) if (Q(e, n)) return !0;
280
+ for (let n of t) if (ye(e, n)) return !0;
281
281
  }
282
282
  return !1;
283
283
  }
@@ -288,19 +288,19 @@ function we(e) {
288
288
  return Array.isArray(e) ? e.filter((e) => Ce(e)).join(" ") : e;
289
289
  }
290
290
  function Te(e, t) {
291
- let r = v(() => x(e) ? e.value : e), i = v(() => we(r.value.invalidLabel)), a = v(() => we(r.value.validLabel)), o = v(() => r.value.loadingLabel), s = v(() => r.value.hintLabel), c = v(() => !!(r.value.loading && (t.loading || o.value))), l = v(() => !c.value && !!(r.value.invalid && (t.invalid || i.value))), u = v(() => !c.value && !l.value && !!(r.value.valid && (t.valid || a.value))), d = v(() => !c.value && !l.value && !u.value && !!(t.hint || s.value)), f = v(() => l.value || u.value || c.value || d.value);
291
+ let r = T(() => v(e) ? e.value : e), a = T(() => we(r.value.invalidLabel)), o = T(() => we(r.value.validLabel)), s = T(() => r.value.loadingLabel), c = T(() => r.value.hintLabel), l = T(() => !!(r.value.loading && (t.loading || s.value))), u = T(() => !l.value && !!(r.value.invalid && (t.invalid || a.value))), d = T(() => !l.value && !u.value && !!(r.value.valid && (t.valid || o.value))), f = T(() => !l.value && !u.value && !d.value && !!(t.hint || c.value)), p = T(() => u.value || d.value || l.value || f.value);
292
292
  return {
293
- hasInvalidLabelOrSlot: l,
294
- hasHintLabelOrSlot: d,
295
- hasValidLabelOrSlot: u,
296
- hasLoadingLabelOrSlot: c,
297
- hintSlotScope: v(() => ({
293
+ hasInvalidLabelOrSlot: u,
294
+ hasHintLabelOrSlot: f,
295
+ hasValidLabelOrSlot: d,
296
+ hasLoadingLabelOrSlot: l,
297
+ hintSlotScope: T(() => ({
298
298
  modelValue: r.value.modelValue,
299
299
  valid: r.value.valid,
300
300
  invalid: r.value.invalid,
301
301
  loading: r.value.loading
302
302
  })),
303
- HintSlot: k({
303
+ HintSlot: n({
304
304
  name: "HintSlot",
305
305
  props: { tag: {
306
306
  type: String,
@@ -308,32 +308,32 @@ function Te(e, t) {
308
308
  } },
309
309
  setup() {
310
310
  return {
311
- isVisible: f,
312
- invalidLabel: i,
313
- validLabel: a,
314
- loadingLabel: o,
315
- hintLabel: s,
316
- hasInvalidLabelOrSlot: l,
317
- hasValidLabelOrSlot: u,
318
- hasLoadingLabelOrSlot: c,
319
- hasHintLabelOrSlot: d
311
+ isVisible: p,
312
+ invalidLabel: a,
313
+ validLabel: o,
314
+ loadingLabel: s,
315
+ hintLabel: c,
316
+ hasInvalidLabelOrSlot: u,
317
+ hasValidLabelOrSlot: d,
318
+ hasLoadingLabelOrSlot: l,
319
+ hasHintLabelOrSlot: f
320
320
  };
321
321
  },
322
322
  render() {
323
323
  if (this.isVisible) {
324
324
  let e;
325
- return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? n(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? n(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? n(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : n(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
325
+ return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? i(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? i(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? i(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : i(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
326
326
  }
327
327
  return null;
328
328
  }
329
329
  })
330
330
  };
331
331
  }
332
- function Ee(t) {
333
- let n = e(t, void 0), r = v(() => n !== void 0);
334
- function i(e, t, r) {
335
- let i = n?.[e];
336
- if (i) return v({
332
+ function Ee(e) {
333
+ let t = w(e, void 0), n = T(() => t !== void 0);
334
+ function r(e, n, r) {
335
+ let i = t?.[e];
336
+ if (i) return T({
337
337
  get() {
338
338
  return i.value;
339
339
  },
@@ -341,8 +341,8 @@ function Ee(t) {
341
341
  i.value = e;
342
342
  }
343
343
  });
344
- let a = O(t, e);
345
- return v({
344
+ let a = m(n, e);
345
+ return T({
346
346
  get() {
347
347
  return a.value;
348
348
  },
@@ -352,9 +352,9 @@ function Ee(t) {
352
352
  });
353
353
  }
354
354
  return {
355
- group: n,
356
- isInGroup: r,
357
- getGroupOrLocalRef: i
355
+ group: t,
356
+ isInGroup: n,
357
+ getGroupOrLocalRef: r
358
358
  };
359
359
  }
360
360
  var De = ge, Oe = [
@@ -364,7 +364,7 @@ var De = ge, Oe = [
364
364
  "blur"
365
365
  ];
366
366
  function ke(e, t) {
367
- let { id: n } = M(e), { group: r, isInGroup: i, getGroupOrLocalRef: a } = Ee(V);
367
+ let { id: n } = A(e), { group: r, isInGroup: i, getGroupOrLocalRef: a } = Ee(V);
368
368
  return {
369
369
  id: n,
370
370
  group: r,
@@ -372,12 +372,12 @@ function ke(e, t) {
372
372
  modelValue: a("modelValue", e, t),
373
373
  valid: a("valid", e),
374
374
  invalid: a("invalid", e),
375
- readonly: v(() => !!(e.readonly || r?.readonly.value)),
376
- disabled: v(() => !!(e.disabled || r?.disabled.value))
375
+ readonly: T(() => !!(e.readonly || r?.readonly.value)),
376
+ disabled: T(() => !!(e.disabled || r?.disabled.value))
377
377
  };
378
378
  }
379
379
  function Ae() {
380
- return e(B, void 0);
380
+ return w(ne, void 0);
381
381
  }
382
382
  function je(e, t, n) {
383
383
  let r = t;
@@ -392,10 +392,10 @@ function je(e, t, n) {
392
392
  return r;
393
393
  }
394
394
  function Me(e, t, n) {
395
- let r = Ae(), i = v(() => {
395
+ let r = Ae(), i = T(() => {
396
396
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
397
397
  });
398
- return v(() => {
398
+ return T(() => {
399
399
  if (i.value === void 0) return n;
400
400
  let e = i.value, r = t, a = n;
401
401
  return Object.keys(r).reduce((t, n) => {
@@ -405,15 +405,15 @@ function Me(e, t, n) {
405
405
  });
406
406
  }
407
407
  function Ne(e) {
408
- return v(() => String(e?.value || o()));
408
+ return T(() => String(e?.value || a()));
409
409
  }
410
410
  function Pe(e, t, n) {
411
- return v(() => {
411
+ return T(() => {
412
412
  let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
413
413
  return i && Array.isArray(i) && i.forEach((t) => {
414
414
  t && (r[`${e}--${t}`] = !0);
415
415
  }), n && Object.keys(n.value).forEach((t) => {
416
- r[`${e}--${t}`] = A(n.value[t]);
416
+ r[`${e}--${t}`] = _(n.value[t]);
417
417
  }), r;
418
418
  });
419
419
  }
@@ -426,73 +426,73 @@ var Fe = ["for"], Ie = [
426
426
  "aria-invalid",
427
427
  "aria-describedby",
428
428
  "aria-errormessage"
429
- ], Le = /* @__PURE__ */ k({
429
+ ], Le = /* @__PURE__ */ n({
430
430
  name: "VvRadio",
431
431
  props: De,
432
432
  emits: Oe,
433
- setup(e, { emit: t }) {
434
- let n = e, o = t, s = a(), f = Me("VvRadio", De, n), { id: p, disabled: g, readonly: y, modelValue: b, valid: T, invalid: D } = ke(n, o), O = Ne(p), k = v(() => `${O.value}-hint`), N = v(() => F.value ? -1 : n.tabindex), P = S(), F = v(() => g.value || y.value), I = v(() => {
435
- if (D.value === !0) return !0;
436
- if (T.value === !0) return !1;
437
- }), L = v(() => Array.isArray(b.value) ? Se(n.value, b.value) : Q(n.value, b.value)), R = v(() => ![
433
+ setup(n, { emit: i }) {
434
+ let a = n, s = i, c = D(), l = Me("VvRadio", De, a), { id: p, disabled: m, readonly: y, modelValue: x, valid: C, invalid: w } = ke(a, s), O = Ne(p), j = T(() => `${O.value}-hint`), te = T(() => P.value ? -1 : a.tabindex), N = E(), P = T(() => m.value || y.value), F = T(() => {
435
+ if (w.value === !0) return !0;
436
+ if (C.value === !0) return !1;
437
+ }), I = T(() => Array.isArray(x.value) ? Se(a.value, x.value) : ye(a.value, x.value)), L = T(() => ![
438
438
  "string",
439
439
  "number",
440
440
  "boolean"
441
- ].includes(typeof n.value) || n.value), z = v({
441
+ ].includes(typeof a.value) || a.value), R = T({
442
442
  get() {
443
- return L.value ? R.value : null;
443
+ return I.value ? L.value : null;
444
444
  },
445
445
  set(e) {
446
- Array.isArray(b.value) ? b.value = [n.value] : b.value = n.value, o("change", e);
446
+ Array.isArray(x.value) ? x.value = [a.value] : x.value = a.value, s("change", e);
447
447
  }
448
- }), { modifiers: te } = M(n), ne = Pe("vv-radio", te, v(() => ({
449
- valid: T.value,
450
- invalid: D.value,
451
- disabled: g.value,
448
+ }), { modifiers: z } = A(a), B = Pe("vv-radio", z, T(() => ({
449
+ valid: C.value,
450
+ invalid: w.value,
451
+ disabled: m.value,
452
452
  readonly: y.value
453
- }))), { HintSlot: B, hasHintLabelOrSlot: V, hasInvalidLabelOrSlot: H, hintSlotScope: U } = Te(f, s);
454
- return (e, t) => (c(), j("label", {
455
- class: i(A(ne)),
456
- for: A(O)
453
+ }))), { HintSlot: ne, hasHintLabelOrSlot: V, hasInvalidLabelOrSlot: H, hintSlotScope: U } = Te(l, c);
454
+ return (n, i) => (o(), k("label", {
455
+ class: u(_(B)),
456
+ for: _(O)
457
457
  }, [
458
- E(_("input", {
459
- id: A(O),
458
+ b(S("input", {
459
+ id: _(O),
460
460
  ref_key: "input",
461
- ref: P,
462
- "onUpdate:modelValue": t[0] ||= (e) => x(z) ? z.value = e : null,
461
+ ref: N,
462
+ "onUpdate:modelValue": i[0] ||= (e) => v(R) ? R.value = e : null,
463
463
  type: "radio",
464
464
  class: "vv-radio__input",
465
- name: e.name,
466
- disabled: A(F),
467
- value: A(R),
468
- tabindex: A(N),
469
- "aria-invalid": A(I),
470
- "aria-describedby": A(V) ? A(k) : void 0,
471
- "aria-errormessage": A(H) ? A(k) : void 0
472
- }, null, 8, Ie), [[C, A(z)]]),
473
- d(e.$slots, "default", { value: A(b) }, () => [ee(w(e.label), 1)]),
474
- l(A(B), {
475
- id: A(k),
465
+ name: n.name,
466
+ disabled: _(P),
467
+ value: _(L),
468
+ tabindex: _(te),
469
+ "aria-invalid": _(F),
470
+ "aria-describedby": _(V) ? _(j) : void 0,
471
+ "aria-errormessage": _(H) ? _(j) : void 0
472
+ }, null, 8, Ie), [[h, _(R)]]),
473
+ t(n.$slots, "default", { value: _(x) }, () => [g(f(n.label), 1)]),
474
+ ee(_(ne), {
475
+ id: _(j),
476
476
  class: "vv-radio__hint"
477
- }, m({ _: 2 }, [
478
- e.$slots.hint ? {
477
+ }, M({ _: 2 }, [
478
+ n.$slots.hint ? {
479
479
  name: "hint",
480
- fn: h(() => [d(e.$slots, "hint", u(r(A(U))))]),
480
+ fn: e(() => [t(n.$slots, "hint", r(d(_(U))))]),
481
481
  key: "0"
482
482
  } : void 0,
483
- e.$slots.loading ? {
483
+ n.$slots.loading ? {
484
484
  name: "loading",
485
- fn: h(() => [d(e.$slots, "loading", u(r(A(U))))]),
485
+ fn: e(() => [t(n.$slots, "loading", r(d(_(U))))]),
486
486
  key: "1"
487
487
  } : void 0,
488
- e.$slots.valid ? {
488
+ n.$slots.valid ? {
489
489
  name: "valid",
490
- fn: h(() => [d(e.$slots, "valid", u(r(A(U))))]),
490
+ fn: e(() => [t(n.$slots, "valid", r(d(_(U))))]),
491
491
  key: "2"
492
492
  } : void 0,
493
- e.$slots.invalid ? {
493
+ n.$slots.invalid ? {
494
494
  name: "invalid",
495
- fn: h(() => [d(e.$slots, "invalid", u(r(A(U))))]),
495
+ fn: e(() => [t(n.$slots, "invalid", r(d(_(U))))]),
496
496
  key: "3"
497
497
  } : void 0
498
498
  ]), 1032, ["id"])
@@ -500,75 +500,75 @@ var Fe = ["for"], Ie = [
500
500
  }
501
501
  });
502
502
  function Re(e, t) {
503
- N(e, t);
503
+ l(e, t);
504
504
  }
505
505
  function ze(e) {
506
- let { options: t, labelKey: n, valueKey: r, disabledKey: i } = M(e);
506
+ let { options: t, labelKey: n, valueKey: r, disabledKey: i } = A(e);
507
507
  return {
508
508
  options: t,
509
- getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? F(e, n.value) : e),
510
- getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? F(e, r.value) : e,
511
- isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!F(e, i.value) : !1,
509
+ getOptionLabel: (e) => typeof e == "string" ? e : typeof n.value == "function" ? n.value(e) : String(n.value ? P(e, n.value) : e),
510
+ getOptionValue: (e) => typeof e == "string" ? e : typeof r.value == "function" ? r.value(e) : r.value ? P(e, r.value) : e,
511
+ isOptionDisabled: (e) => typeof e == "string" ? !1 : typeof i.value == "function" ? i.value(e) : i.value ? !!P(e, i.value) : !1,
512
512
  getOptionGrouped: (e) => typeof e == "string" ? [] : typeof e == "object" && e && "options" in e ? e.options : []
513
513
  };
514
514
  }
515
- var Be = ["textContent"], Ve = { class: "vv-radio-group__wrapper" }, He = /* @__PURE__ */ k({
515
+ var Be = ["textContent"], Ve = { class: "vv-radio-group__wrapper" }, He = /* @__PURE__ */ n({
516
516
  name: "VvRadioGroup",
517
517
  props: _e,
518
518
  emits: ve,
519
- setup(e, { emit: n }) {
520
- let o = e, p = n, y = a(), b = Me("VvRadioGroup", _e, o), x = P(o, "modelValue", p), { disabled: S, readonly: C, vertical: T, valid: E, invalid: O, modifiers: k } = M(o);
519
+ setup(n, { emit: i }) {
520
+ let a = n, c = i, l = D(), m = Me("VvRadioGroup", _e, a), h = N(a, "modelValue", c), { disabled: g, readonly: v, vertical: b, valid: C, invalid: w, modifiers: E } = A(a);
521
521
  Re(V, {
522
- modelValue: x,
523
- disabled: S,
524
- readonly: C,
525
- valid: E,
526
- invalid: O
522
+ modelValue: h,
523
+ disabled: g,
524
+ readonly: v,
525
+ valid: C,
526
+ invalid: w
527
527
  });
528
- let { getOptionLabel: ee, getOptionValue: N, isOptionDisabled: F } = ze(o), I = Pe("vv-radio-group", k, v(() => ({
529
- disabled: S.value,
530
- readonly: C.value,
531
- required: o.required,
532
- horizontal: !T.value,
533
- valid: E.value,
534
- invalid: O.value
528
+ let { getOptionLabel: O, getOptionValue: j, isOptionDisabled: P } = ze(a), F = Pe("vv-radio-group", E, T(() => ({
529
+ disabled: g.value,
530
+ readonly: v.value,
531
+ required: a.required,
532
+ horizontal: !b.value,
533
+ valid: C.value,
534
+ invalid: w.value
535
535
  })));
536
- function L(e, t) {
536
+ function I(e, t) {
537
537
  return {
538
- id: `${o.name}_opt${t}`,
539
- name: o.name,
540
- label: ee(e),
541
- value: N(e),
542
- required: o.required,
543
- disabled: F(e)
538
+ id: `${a.name}_opt${t}`,
539
+ name: a.name,
540
+ label: O(e),
541
+ value: j(e),
542
+ required: a.required,
543
+ disabled: P(e)
544
544
  };
545
545
  }
546
- let { HintSlot: R, hintSlotScope: z } = Te(b, y);
547
- return (e, n) => (c(), j("fieldset", { class: i(A(I)) }, [
548
- e.label ? (c(), j("legend", {
546
+ let { HintSlot: L, hintSlotScope: R } = Te(m, l);
547
+ return (n, i) => (o(), k("fieldset", { class: u(_(F)) }, [
548
+ n.label ? (o(), k("legend", {
549
549
  key: 0,
550
- textContent: w(e.label)
551
- }, null, 8, Be)) : D("v-if", !0),
552
- _("div", Ve, [e.options.length > 0 ? (c(!0), j(g, { key: 0 }, t(e.options, (e, t) => (c(), f(Le, s({ key: t }, { ref_for: !0 }, L(e, t)), null, 16))), 128)) : d(e.$slots, "default", {}, void 0, void 0, 1)]),
553
- l(A(R), { class: "vv-radio-group__hint" }, m({ _: 2 }, [
554
- e.$slots.hint ? {
550
+ textContent: f(n.label)
551
+ }, null, 8, Be)) : p("v-if", !0),
552
+ S("div", Ve, [n.options.length > 0 ? (o(!0), k(y, { key: 0 }, te(n.options, (e, t) => (o(), x(Le, s({ key: t }, { ref_for: !0 }, I(e, t)), null, 16))), 128)) : t(n.$slots, "default", {}, void 0, void 0, 1)]),
553
+ ee(_(L), { class: "vv-radio-group__hint" }, M({ _: 2 }, [
554
+ n.$slots.hint ? {
555
555
  name: "hint",
556
- fn: h(() => [d(e.$slots, "hint", u(r(A(z))))]),
556
+ fn: e(() => [t(n.$slots, "hint", r(d(_(R))))]),
557
557
  key: "0"
558
558
  } : void 0,
559
- e.$slots.loading ? {
559
+ n.$slots.loading ? {
560
560
  name: "loading",
561
- fn: h(() => [d(e.$slots, "loading", u(r(A(z))))]),
561
+ fn: e(() => [t(n.$slots, "loading", r(d(_(R))))]),
562
562
  key: "1"
563
563
  } : void 0,
564
- e.$slots.valid ? {
564
+ n.$slots.valid ? {
565
565
  name: "valid",
566
- fn: h(() => [d(e.$slots, "valid", u(r(A(z))))]),
566
+ fn: e(() => [t(n.$slots, "valid", r(d(_(R))))]),
567
567
  key: "2"
568
568
  } : void 0,
569
- e.$slots.invalid ? {
569
+ n.$slots.invalid ? {
570
570
  name: "invalid",
571
- fn: h(() => [d(e.$slots, "invalid", u(r(A(z))))]),
571
+ fn: e(() => [t(n.$slots, "invalid", r(d(_(R))))]),
572
572
  key: "3"
573
573
  } : void 0
574
574
  ]), 1024)
@@ -578,4 +578,4 @@ var Be = ["textContent"], Ve = { class: "vv-radio-group__wrapper" }, He = /* @__
578
578
  //#endregion
579
579
  export { He as default };
580
580
 
581
- //# sourceMappingURL=VvRadioGroup.es--AMV1wAw.js.map
581
+ //# sourceMappingURL=VvRadioGroup.es-DSv6UdEy.js.map