@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,17 +1,17 @@
1
- import { A as e, D as t, E as n, Ht as r, J as i, K as a, R as o, S as s, Ut as c, V as l, at as u, b as d, et as f, g as ee, h as p, k as m, kt as h, lt as g, mt as te, o as ne, qt as re, r as _, tt as ie, vt as v, w as y, x as ae, xt as b, y as oe, yt as x } from "./vue.runtime.esm-bundler-DF2of3lp.js";
2
- //#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/VvRadio/VvRadio.es.js
3
- m(), u(), h(), _();
4
- var S = /* @__PURE__ */ (function(e) {
1
+ import { $ as e, B as t, C as n, Ct as r, E as i, G as a, L as o, O as s, St as c, T as l, Tt as u, _t as d, a as f, b as p, bt as m, ct as h, et as ee, h as te, it as g, k as _, m as v, pt as ne, q as re, r as y, v as b, vt as x, x as ie, xt as S, y as ae } from "./vue.runtime.esm-bundler-B3bThTaf.js";
2
+ //#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/VvRadio/VvRadio.es.js
3
+ s(), g(), S(), y();
4
+ var C = /* @__PURE__ */ (function(e) {
5
5
  return e.local = "local", e.session = "session", e;
6
- })({}), C = /* @__PURE__ */ (function(e) {
7
- return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
8
6
  })({}), w = /* @__PURE__ */ (function(e) {
9
- return e.before = "before", e.after = "after", e;
7
+ return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
10
8
  })({}), T = /* @__PURE__ */ (function(e) {
11
- return e.button = "button", e.submit = "submit", e.reset = "reset", e;
9
+ return e.before = "before", e.after = "after", e;
12
10
  })({}), E = /* @__PURE__ */ (function(e) {
11
+ return e.button = "button", e.submit = "submit", e.reset = "reset", e;
12
+ })({}), D = /* @__PURE__ */ (function(e) {
13
13
  return e.nuxtLink = "nuxt-link", e.routerLink = "router-link", e.a = "a", e.button = "button", e;
14
- })({}), D = /* @__PURE__ */ Symbol.for("volver"), O = /* @__PURE__ */ Symbol.for("radioGroup"), k = {
14
+ })({}), O = /* @__PURE__ */ Symbol.for("volver"), k = /* @__PURE__ */ Symbol.for("radioGroup"), A = {
15
15
  showPassword: "eye-on",
16
16
  hidePassword: "eye-off",
17
17
  showDatePicker: "calendar",
@@ -22,7 +22,7 @@ var S = /* @__PURE__ */ (function(e) {
22
22
  remove: "trash",
23
23
  edit: "edit",
24
24
  download: "download"
25
- }, A = {
25
+ }, j = {
26
26
  to: { type: [String, Object] },
27
27
  href: String,
28
28
  target: String,
@@ -30,7 +30,7 @@ var S = /* @__PURE__ */ (function(e) {
30
30
  type: String,
31
31
  default: "noopener noreferrer"
32
32
  }
33
- }, j = {
33
+ }, M = {
34
34
  valid: {
35
35
  type: Boolean,
36
36
  default: !1
@@ -39,7 +39,7 @@ var S = /* @__PURE__ */ (function(e) {
39
39
  type: [String, Array],
40
40
  default: void 0
41
41
  }
42
- }, M = {
42
+ }, N = {
43
43
  invalid: {
44
44
  type: Boolean,
45
45
  default: !1
@@ -48,7 +48,7 @@ var S = /* @__PURE__ */ (function(e) {
48
48
  type: [String, Array],
49
49
  default: void 0
50
50
  }
51
- }, N = {
51
+ }, P = {
52
52
  loading: {
53
53
  type: Boolean,
54
54
  default: !1
@@ -57,36 +57,36 @@ var S = /* @__PURE__ */ (function(e) {
57
57
  type: String,
58
58
  default: "Loading..."
59
59
  }
60
- }, P = { disabled: {
60
+ }, F = { disabled: {
61
61
  type: Boolean,
62
62
  default: !1
63
- } }, F = { required: {
63
+ } }, I = { required: {
64
64
  type: Boolean,
65
65
  default: !1
66
- } }, I = { active: {
66
+ } }, L = { active: {
67
67
  type: Boolean,
68
68
  default: !1
69
- } }, L = { current: {
69
+ } }, R = { current: {
70
70
  type: Boolean,
71
71
  default: !1
72
72
  } };
73
- k.clear;
74
- var R = { pressed: {
73
+ A.clear;
74
+ var z = { pressed: {
75
75
  type: Boolean,
76
76
  default: !1
77
- } }, z = { label: {
77
+ } }, B = { label: {
78
78
  type: [String, Number],
79
79
  default: void 0
80
- } }, B = { readonly: {
80
+ } }, V = { readonly: {
81
81
  type: Boolean,
82
82
  default: !1
83
- } }, V = { modifiers: {
83
+ } }, H = { modifiers: {
84
84
  type: [String, Array],
85
85
  default: void 0
86
- } }, H = { hintLabel: {
86
+ } }, U = { hintLabel: {
87
87
  type: String,
88
88
  default: ""
89
- } }, se = {
89
+ } }, oe = {
90
90
  options: {
91
91
  type: Array,
92
92
  default: () => []
@@ -103,7 +103,7 @@ var R = { pressed: {
103
103
  type: [String, Function],
104
104
  default: "disabled"
105
105
  }
106
- }, U = { count: {
106
+ }, W = { count: {
107
107
  type: [Boolean, String],
108
108
  default: !1,
109
109
  validator: (e) => [
@@ -112,34 +112,34 @@ var R = { pressed: {
112
112
  "limit",
113
113
  "countdown"
114
114
  ].includes(e)
115
- } }, W = { debounce: {
115
+ } }, G = { debounce: {
116
116
  type: [Number, String],
117
117
  default: void 0
118
- } }, G = {
118
+ } }, K = {
119
119
  icon: {
120
120
  type: [String, Object],
121
121
  default: void 0
122
122
  },
123
123
  iconPosition: {
124
124
  type: String,
125
- default: w.before,
126
- validation: (e) => Object.values(w).includes(e)
125
+ default: T.before,
126
+ validation: (e) => Object.values(T).includes(e)
127
127
  }
128
- }, K = { tabindex: {
128
+ }, q = { tabindex: {
129
129
  type: [String, Number],
130
130
  default: 0
131
- } }, ce = { floating: {
131
+ } }, se = { floating: {
132
132
  type: Boolean,
133
133
  default: !1
134
- } }, le = { id: [String, Number] };
135
- C.bottom;
136
- var q = {
137
- ...le,
134
+ } }, ce = { id: [String, Number] };
135
+ w.bottom;
136
+ var J = {
137
+ ...ce,
138
138
  name: {
139
139
  type: String,
140
140
  required: !0
141
141
  }
142
- }, J = { autofocus: {
142
+ }, le = { autofocus: {
143
143
  type: Boolean,
144
144
  default: !1
145
145
  } }, ue = { autocomplete: {
@@ -147,34 +147,34 @@ var q = {
147
147
  default: "off"
148
148
  } };
149
149
  ({
150
- ...q,
151
150
  ...J,
151
+ ...le,
152
152
  ...ue,
153
- ...K,
154
- ...P,
155
- ...B,
156
- ...j,
153
+ ...q,
154
+ ...F,
155
+ ...V,
157
156
  ...M,
158
- ...H,
159
157
  ...N,
160
- ...V,
161
158
  ...U,
159
+ ...P,
160
+ ...H,
162
161
  ...W,
163
162
  ...G,
164
- ...ce,
165
- ...z
166
- }), { ...F };
163
+ ...K,
164
+ ...se,
165
+ ...B
166
+ }), { ...I };
167
167
  var de = {
168
+ ...J,
168
169
  ...q,
169
- ...K,
170
- ...j,
171
170
  ...M,
171
+ ...N,
172
+ ...U,
173
+ ...F,
174
+ ...V,
172
175
  ...H,
173
- ...P,
174
176
  ...B,
175
- ...V,
176
- ...z,
177
- ...N,
177
+ ...P,
178
178
  value: {
179
179
  type: [
180
180
  String,
@@ -194,29 +194,29 @@ var de = {
194
194
  }
195
195
  };
196
196
  ({
197
- ...j,
198
197
  ...M,
199
- ...se,
198
+ ...N,
199
+ ...oe,
200
+ ...U,
201
+ ...F,
202
+ ...V,
200
203
  ...H,
201
- ...P,
202
204
  ...B,
203
- ...V,
204
- ...z,
205
- ...N,
206
- ...F
207
- }), {
208
205
  ...P,
206
+ ...I
207
+ }), {
208
+ ...F,
209
+ ...B,
209
210
  ...z,
210
- ...R,
211
- ...I,
212
211
  ...L,
213
- ...A
214
- }, T.button, E.button, S.local;
215
- function fe(t) {
216
- let n = e(t, void 0), r = p(() => n !== void 0);
217
- function i(e, t, r) {
218
- let i = n?.[e];
219
- if (i) return p({
212
+ ...R,
213
+ ...j
214
+ }, E.button, D.button, C.local;
215
+ function fe(e) {
216
+ let t = _(e, void 0), n = v(() => t !== void 0);
217
+ function r(e, n, r) {
218
+ let i = t?.[e];
219
+ if (i) return v({
220
220
  get() {
221
221
  return i.value;
222
222
  },
@@ -224,8 +224,8 @@ function fe(t) {
224
224
  i.value = e;
225
225
  }
226
226
  });
227
- let a = v(t, e);
228
- return p({
227
+ let a = d(n, e);
228
+ return v({
229
229
  get() {
230
230
  return a.value;
231
231
  },
@@ -235,9 +235,9 @@ function fe(t) {
235
235
  });
236
236
  }
237
237
  return {
238
- group: n,
239
- isInGroup: r,
240
- getGroupOrLocalRef: i
238
+ group: t,
239
+ isInGroup: n,
240
+ getGroupOrLocalRef: r
241
241
  };
242
242
  }
243
243
  var Y = de, pe = [
@@ -247,7 +247,7 @@ var Y = de, pe = [
247
247
  "blur"
248
248
  ];
249
249
  function me(e, t) {
250
- let { id: n } = x(e), { group: r, isInGroup: i, getGroupOrLocalRef: a } = fe(O);
250
+ let { id: n } = x(e), { group: r, isInGroup: i, getGroupOrLocalRef: a } = fe(k);
251
251
  return {
252
252
  id: n,
253
253
  group: r,
@@ -255,8 +255,8 @@ function me(e, t) {
255
255
  modelValue: a("modelValue", e, t),
256
256
  valid: a("valid", e),
257
257
  invalid: a("invalid", e),
258
- readonly: p(() => !!(e.readonly || r?.readonly.value)),
259
- disabled: p(() => !!(e.disabled || r?.disabled.value))
258
+ readonly: v(() => !!(e.readonly || r?.readonly.value)),
259
+ disabled: v(() => !!(e.disabled || r?.disabled.value))
260
260
  };
261
261
  }
262
262
  function X(e, t, n) {
@@ -313,20 +313,20 @@ function ve(e) {
313
313
  function $(e) {
314
314
  return Array.isArray(e) ? e.filter((e) => ve(e)).join(" ") : e;
315
315
  }
316
- function ye(e, n) {
317
- let r = p(() => g(e) ? e.value : e), i = p(() => $(r.value.invalidLabel)), a = p(() => $(r.value.validLabel)), o = p(() => r.value.loadingLabel), s = p(() => r.value.hintLabel), c = p(() => !!(r.value.loading && (n.loading || o.value))), l = p(() => !c.value && !!(r.value.invalid && (n.invalid || i.value))), u = p(() => !c.value && !l.value && !!(r.value.valid && (n.valid || a.value))), d = p(() => !c.value && !l.value && !u.value && !!(n.hint || s.value)), f = p(() => l.value || u.value || c.value || d.value);
316
+ function ye(e, t) {
317
+ let r = v(() => h(e) ? e.value : e), a = v(() => $(r.value.invalidLabel)), o = v(() => $(r.value.validLabel)), s = v(() => r.value.loadingLabel), c = v(() => r.value.hintLabel), l = v(() => !!(r.value.loading && (t.loading || s.value))), u = v(() => !l.value && !!(r.value.invalid && (t.invalid || a.value))), d = v(() => !l.value && !u.value && !!(r.value.valid && (t.valid || o.value))), f = v(() => !l.value && !u.value && !d.value && !!(t.hint || c.value)), p = v(() => u.value || d.value || l.value || f.value);
318
318
  return {
319
- hasInvalidLabelOrSlot: l,
320
- hasHintLabelOrSlot: d,
321
- hasValidLabelOrSlot: u,
322
- hasLoadingLabelOrSlot: c,
323
- hintSlotScope: p(() => ({
319
+ hasInvalidLabelOrSlot: u,
320
+ hasHintLabelOrSlot: f,
321
+ hasValidLabelOrSlot: d,
322
+ hasLoadingLabelOrSlot: l,
323
+ hintSlotScope: v(() => ({
324
324
  modelValue: r.value.modelValue,
325
325
  valid: r.value.valid,
326
326
  invalid: r.value.invalid,
327
327
  loading: r.value.loading
328
328
  })),
329
- HintSlot: y({
329
+ HintSlot: n({
330
330
  name: "HintSlot",
331
331
  props: { tag: {
332
332
  type: String,
@@ -334,21 +334,21 @@ function ye(e, n) {
334
334
  } },
335
335
  setup() {
336
336
  return {
337
- isVisible: f,
338
- invalidLabel: i,
339
- validLabel: a,
340
- loadingLabel: o,
341
- hintLabel: s,
342
- hasInvalidLabelOrSlot: l,
343
- hasValidLabelOrSlot: u,
344
- hasLoadingLabelOrSlot: c,
345
- hasHintLabelOrSlot: d
337
+ isVisible: p,
338
+ invalidLabel: a,
339
+ validLabel: o,
340
+ loadingLabel: s,
341
+ hintLabel: c,
342
+ hasInvalidLabelOrSlot: u,
343
+ hasValidLabelOrSlot: d,
344
+ hasLoadingLabelOrSlot: l,
345
+ hasHintLabelOrSlot: f
346
346
  };
347
347
  },
348
348
  render() {
349
349
  if (this.isVisible) {
350
350
  let e;
351
- return this.hasInvalidLabelOrSlot && (e = "alert"), this.hasValidLabelOrSlot && (e = "status"), this.hasLoadingLabelOrSlot ? t(this.tag, { role: e }, this.$slots.loading?.() ?? this.loadingLabel) : this.hasInvalidLabelOrSlot ? t(this.tag, { role: e }, this.$slots.invalid?.() ?? this.$slots.invalid ?? this.invalidLabel) : this.hasValidLabelOrSlot ? t(this.tag, { role: e }, this.$slots.valid?.() ?? this.validLabel) : t(this.tag, { role: e }, this.$slots.hint?.() ?? this.$slots.hint ?? this.hintLabel);
351
+ 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);
352
352
  }
353
353
  return null;
354
354
  }
@@ -356,7 +356,7 @@ function ye(e, n) {
356
356
  };
357
357
  }
358
358
  function be() {
359
- return e(D, void 0);
359
+ return _(O, void 0);
360
360
  }
361
361
  function xe(e, t, n) {
362
362
  let r = t;
@@ -371,10 +371,10 @@ function xe(e, t, n) {
371
371
  return r;
372
372
  }
373
373
  function Se(e, t, n) {
374
- let r = be(), i = p(() => {
374
+ let r = be(), i = v(() => {
375
375
  if (r?.defaults.value?.[e]) return r.defaults.value[e];
376
376
  });
377
- return p(() => {
377
+ return v(() => {
378
378
  if (i.value === void 0) return n;
379
379
  let e = i.value, r = t, a = n;
380
380
  return Object.keys(r).reduce((t, n) => {
@@ -384,15 +384,15 @@ function Se(e, t, n) {
384
384
  });
385
385
  }
386
386
  function Ce(e) {
387
- return p(() => String(e?.value || a()));
387
+ return v(() => String(e?.value || a()));
388
388
  }
389
389
  function we(e, t, n) {
390
- return p(() => {
390
+ return v(() => {
391
391
  let r = { [e]: !0 }, i = typeof t?.value == "string" ? t.value.split(" ") : t?.value;
392
392
  return i && Array.isArray(i) && i.forEach((t) => {
393
393
  t && (r[`${e}--${t}`] = !0);
394
394
  }), n && Object.keys(n.value).forEach((t) => {
395
- r[`${e}--${t}`] = b(n.value[t]);
395
+ r[`${e}--${t}`] = m(n.value[t]);
396
396
  }), r;
397
397
  });
398
398
  }
@@ -405,73 +405,73 @@ var Te = ["for"], Ee = [
405
405
  "aria-invalid",
406
406
  "aria-describedby",
407
407
  "aria-errormessage"
408
- ], De = /* @__PURE__ */ y({
408
+ ], De = /* @__PURE__ */ n({
409
409
  name: "VvRadio",
410
410
  props: Y,
411
411
  emits: pe,
412
- setup(e, { emit: t }) {
413
- let a = e, u = t, m = i(), h = Se("VvRadio", Y, a), { id: _, disabled: v, readonly: y, modelValue: S, valid: C, invalid: w } = me(a, u), T = Ce(_), E = p(() => `${T.value}-hint`), D = p(() => k.value ? -1 : a.tabindex), O = te(), k = p(() => v.value || y.value), A = p(() => {
414
- if (w.value === !0) return !0;
415
- if (C.value === !0) return !1;
416
- }), j = p(() => Array.isArray(S.value) ? _e(a.value, S.value) : X(a.value, S.value)), M = p(() => ![
412
+ setup(n, { emit: i }) {
413
+ let a = n, s = i, d = re(), g = Se("VvRadio", Y, a), { id: _, disabled: y, readonly: S, modelValue: C, valid: w, invalid: T } = me(a, s), E = Ce(_), D = v(() => `${E.value}-hint`), O = v(() => A.value ? -1 : a.tabindex), k = ne(), A = v(() => y.value || S.value), j = v(() => {
414
+ if (T.value === !0) return !0;
415
+ if (w.value === !0) return !1;
416
+ }), M = v(() => Array.isArray(C.value) ? _e(a.value, C.value) : X(a.value, C.value)), N = v(() => ![
417
417
  "string",
418
418
  "number",
419
419
  "boolean"
420
- ].includes(typeof a.value) || a.value), N = p({
420
+ ].includes(typeof a.value) || a.value), P = v({
421
421
  get() {
422
- return j.value ? M.value : null;
422
+ return M.value ? N.value : null;
423
423
  },
424
424
  set(e) {
425
- Array.isArray(S.value) ? S.value = [a.value] : S.value = a.value, u("change", e);
425
+ Array.isArray(C.value) ? C.value = [a.value] : C.value = a.value, s("change", e);
426
426
  }
427
- }), { modifiers: P } = x(a), F = we("vv-radio", P, p(() => ({
428
- valid: C.value,
429
- invalid: w.value,
430
- disabled: v.value,
431
- readonly: y.value
432
- }))), { HintSlot: I, hasHintLabelOrSlot: L, hasInvalidLabelOrSlot: R, hintSlotScope: z } = ye(h, m);
433
- return (e, t) => (o(), oe("label", {
434
- class: r(b(F)),
435
- for: b(T)
427
+ }), { modifiers: F } = x(a), I = we("vv-radio", F, v(() => ({
428
+ valid: w.value,
429
+ invalid: T.value,
430
+ disabled: y.value,
431
+ readonly: S.value
432
+ }))), { HintSlot: L, hasHintLabelOrSlot: R, hasInvalidLabelOrSlot: z, hintSlotScope: B } = ye(g, d);
433
+ return (n, i) => (o(), b("label", {
434
+ class: c(m(I)),
435
+ for: m(E)
436
436
  }, [
437
- ie(ee("input", {
438
- id: b(T),
437
+ ee(te("input", {
438
+ id: m(E),
439
439
  ref_key: "input",
440
- ref: O,
441
- "onUpdate:modelValue": t[0] ||= (e) => g(N) ? N.value = e : null,
440
+ ref: k,
441
+ "onUpdate:modelValue": i[0] ||= (e) => h(P) ? P.value = e : null,
442
442
  type: "radio",
443
443
  class: "vv-radio__input",
444
- name: e.name,
445
- disabled: b(k),
446
- value: b(M),
447
- tabindex: b(D),
448
- "aria-invalid": b(A),
449
- "aria-describedby": b(L) ? b(E) : void 0,
450
- "aria-errormessage": b(R) ? b(E) : void 0
451
- }, null, 8, Ee), [[ne, b(N)]]),
452
- l(e.$slots, "default", { value: b(S) }, () => [ae(re(e.label), 1)]),
453
- s(b(I), {
454
- id: b(E),
444
+ name: n.name,
445
+ disabled: m(A),
446
+ value: m(N),
447
+ tabindex: m(O),
448
+ "aria-invalid": m(j),
449
+ "aria-describedby": m(R) ? m(D) : void 0,
450
+ "aria-errormessage": m(z) ? m(D) : void 0
451
+ }, null, 8, Ee), [[f, m(P)]]),
452
+ t(n.$slots, "default", { value: m(C) }, () => [p(u(n.label), 1)]),
453
+ ie(m(L), {
454
+ id: m(D),
455
455
  class: "vv-radio__hint"
456
- }, d({ _: 2 }, [
457
- e.$slots.hint ? {
456
+ }, ae({ _: 2 }, [
457
+ n.$slots.hint ? {
458
458
  name: "hint",
459
- fn: f(() => [l(e.$slots, "hint", c(n(b(z))))]),
459
+ fn: e(() => [t(n.$slots, "hint", r(l(m(B))))]),
460
460
  key: "0"
461
461
  } : void 0,
462
- e.$slots.loading ? {
462
+ n.$slots.loading ? {
463
463
  name: "loading",
464
- fn: f(() => [l(e.$slots, "loading", c(n(b(z))))]),
464
+ fn: e(() => [t(n.$slots, "loading", r(l(m(B))))]),
465
465
  key: "1"
466
466
  } : void 0,
467
- e.$slots.valid ? {
467
+ n.$slots.valid ? {
468
468
  name: "valid",
469
- fn: f(() => [l(e.$slots, "valid", c(n(b(z))))]),
469
+ fn: e(() => [t(n.$slots, "valid", r(l(m(B))))]),
470
470
  key: "2"
471
471
  } : void 0,
472
- e.$slots.invalid ? {
472
+ n.$slots.invalid ? {
473
473
  name: "invalid",
474
- fn: f(() => [l(e.$slots, "invalid", c(n(b(z))))]),
474
+ fn: e(() => [t(n.$slots, "invalid", r(l(m(B))))]),
475
475
  key: "3"
476
476
  } : void 0
477
477
  ]), 1032, ["id"])
@@ -481,4 +481,4 @@ var Te = ["for"], Ee = [
481
481
  //#endregion
482
482
  export { De as default };
483
483
 
484
- //# sourceMappingURL=VvRadio.es-B3u8JJFF.js.map
484
+ //# sourceMappingURL=VvRadio.es-BruZ5FHR.js.map