@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.
- package/dist/_chunks/PkLazyImg-CyeqD59M.js +34 -0
- package/dist/_chunks/{PkLazyImg-_389yCnQ.js.map → PkLazyImg-CyeqD59M.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js → PkStreamingMarkdown-DIkusrTI.js} +28 -28
- package/dist/_chunks/{PkStreamingMarkdown-YJDdYD0E.js.map → PkStreamingMarkdown-DIkusrTI.js.map} +1 -1
- package/dist/_chunks/PkToolRequestGeolocation-Cgus94KF.js +69 -0
- package/dist/_chunks/{PkToolRequestGeolocation-T16QI-Uv.js.map → PkToolRequestGeolocation-Cgus94KF.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js → PkToolRequestOAuthConnection-DsUpUh97.js} +21 -21
- package/dist/_chunks/{PkToolRequestOAuthConnection-C8e5np2q.js.map → PkToolRequestOAuthConnection-DsUpUh97.js.map} +1 -1
- package/dist/_chunks/PkToolShowArtifact-griVx9w3.js +93 -0
- package/dist/_chunks/{PkToolShowArtifact-D15GjBm6.js.map → PkToolShowArtifact-griVx9w3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js → PkToolShowCalendarEvent-DyiNmqqo.js} +43 -43
- package/dist/_chunks/{PkToolShowCalendarEvent-D_GjXl2_.js.map → PkToolShowCalendarEvent-DyiNmqqo.js.map} +1 -1
- package/dist/_chunks/PkToolShowComparison-RA72YL7R.js +66 -0
- package/dist/_chunks/{PkToolShowComparison-Bp2rP2Hx.js.map → PkToolShowComparison-RA72YL7R.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js → PkToolShowContactForm-BzDhv2yd.js} +41 -41
- package/dist/_chunks/{PkToolShowContactForm-NVzIu2t0.js.map → PkToolShowContactForm-BzDhv2yd.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js → PkToolShowDiagram-DhXe8IPm.js} +79 -79
- package/dist/_chunks/{PkToolShowDiagram-BnZrDPVC.js.map → PkToolShowDiagram-DhXe8IPm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-DCSj4328.js → PkToolShowEmail-CBmfy_I9.js} +34 -34
- package/dist/_chunks/{PkToolShowEmail-DCSj4328.js.map → PkToolShowEmail-CBmfy_I9.js.map} +1 -1
- package/dist/_chunks/PkToolShowForm-CzIfm5de.js +365 -0
- package/dist/_chunks/{PkToolShowForm-ztQFyFd9.js.map → PkToolShowForm-CzIfm5de.js.map} +1 -1
- package/dist/_chunks/PkToolShowImageGallery-CSIiRuSC.js +74 -0
- package/dist/_chunks/{PkToolShowImageGallery-DiOR0vYa.js.map → PkToolShowImageGallery-CSIiRuSC.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js → PkToolShowLocation-BHoUqpx4.js} +4079 -4079
- package/dist/_chunks/{PkToolShowLocation-CQmgakEo.js.map → PkToolShowLocation-BHoUqpx4.js.map} +1 -1
- package/dist/_chunks/PkToolShowMessage-CpDmPfCG.js +77 -0
- package/dist/_chunks/{PkToolShowMessage-BysjJ1oS.js.map → PkToolShowMessage-CpDmPfCG.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js → PkToolShowProductList-B8uuIvGo.js} +28 -28
- package/dist/_chunks/{PkToolShowProductList-D-JXSRmA.js.map → PkToolShowProductList-B8uuIvGo.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js → PkToolShowQrCode-CD2lo3O0.js} +23 -23
- package/dist/_chunks/{PkToolShowQrCode-BcIwuGqm.js.map → PkToolShowQrCode-CD2lo3O0.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-U7etupUP.js → PkToolShowSources-JxaTAEpc.js} +98 -98
- package/dist/_chunks/{PkToolShowSources-U7etupUP.js.map → PkToolShowSources-JxaTAEpc.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js → PkToolShowSuggestedReply-BTxqEwEm.js} +18 -18
- package/dist/_chunks/{PkToolShowSuggestedReply-Dqe4gtEY.js.map → PkToolShowSuggestedReply-BTxqEwEm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js → PkToolShowVideo-CVksKdPD.js} +17 -17
- package/dist/_chunks/{PkToolShowVideo-DYMhfXKH.js.map → PkToolShowVideo-CVksKdPD.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js → PkToolShowWeather-IDwTDozU.js} +68 -68
- package/dist/_chunks/{PkToolShowWeather-D_pJe5DI.js.map → PkToolShowWeather-IDwTDozU.js.map} +1 -1
- package/dist/_chunks/PkToolShowWebPages-D9Yst_2O.js +78 -0
- package/dist/_chunks/{PkToolShowWebPages-CPNgXzrS.js.map → PkToolShowWebPages-D9Yst_2O.js.map} +1 -1
- package/dist/_chunks/{PkUrl-C3gMPCjz.js → PkUrl-B3FTSURr.js} +19 -19
- package/dist/_chunks/{PkUrl-C3gMPCjz.js.map → PkUrl-B3FTSURr.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js → VvCheckbox.es-C_dlDzrr.js} +78 -78
- package/dist/_chunks/{VvCheckbox.es-CEfwI84M.js.map → VvCheckbox.es-C_dlDzrr.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js → VvCheckboxGroup.es-hY0kWpC2.js} +197 -197
- package/dist/_chunks/{VvCheckboxGroup.es-B-eWqe8G.js.map → VvCheckboxGroup.es-hY0kWpC2.js.map} +1 -1
- package/dist/_chunks/VvCombobox.es-DxhDF7ab.js +2044 -0
- package/dist/_chunks/{VvCombobox.es-CfRJtWOd.js.map → VvCombobox.es-DxhDF7ab.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-B0HHD6Th.js → VvInputText.es-CdpU8kvP.js} +460 -460
- package/dist/_chunks/{VvInputText.es-B0HHD6Th.js.map → VvInputText.es-CdpU8kvP.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-B3u8JJFF.js → VvRadio.es-BruZ5FHR.js} +144 -144
- package/dist/_chunks/{VvRadio.es-B3u8JJFF.js.map → VvRadio.es-BruZ5FHR.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js → VvRadioGroup.es-DSv6UdEy.js} +148 -148
- package/dist/_chunks/{VvRadioGroup.es--AMV1wAw.js.map → VvRadioGroup.es-DSv6UdEy.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-BfrDID0e.js → VvSelect.es-C244CAei.js} +155 -155
- package/dist/_chunks/{VvSelect.es-BfrDID0e.js.map → VvSelect.es-C244CAei.js.map} +1 -1
- package/dist/_chunks/VvTextarea.es-DbaPIcWl.js +1166 -0
- package/dist/_chunks/{VvTextarea.es-CAzFW944.js.map → VvTextarea.es-DbaPIcWl.js.map} +1 -1
- package/dist/_chunks/{dist-BvSGMyWS.js → dist-BgJVX4FG.js} +12 -12
- package/dist/_chunks/{dist-BvSGMyWS.js.map → dist-BgJVX4FG.js.map} +1 -1
- package/dist/_chunks/{dist-TFHdNK0W.js → dist-C5Y-NI3i.js} +230 -230
- package/dist/_chunks/{dist-TFHdNK0W.js.map → dist-C5Y-NI3i.js.map} +1 -1
- package/dist/_chunks/{esm-CUYQMpeA.js → esm-BTbGj6W3.js} +25 -25
- package/dist/_chunks/{esm-CUYQMpeA.js.map → esm-BTbGj6W3.js.map} +1 -1
- package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js → floating-ui.vue-CoA4oagI.js} +16 -16
- package/dist/_chunks/{floating-ui.vue-Br_zOLJv.js.map → floating-ui.vue-CoA4oagI.js.map} +1 -1
- package/dist/_chunks/{iconify-BGSTR7vH.js → iconify-6ObncgfH.js} +36 -36
- package/dist/_chunks/{iconify-BGSTR7vH.js.map → iconify-6ObncgfH.js.map} +1 -1
- package/dist/_chunks/{index.es-B9rhQl9Z.js → index.es-BbyodRh9.js} +258 -258
- package/dist/_chunks/{index.es-B9rhQl9Z.js.map → index.es-BbyodRh9.js.map} +1 -1
- package/dist/_chunks/index.es-gbmOq0Nu.js +3124 -0
- package/dist/_chunks/index.es-gbmOq0Nu.js.map +1 -0
- package/dist/_chunks/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-CoeuCKPe.js} +4 -11
- package/dist/_chunks/{src-BjFv9Ag8.js → src-CIEdKLKO.js} +2 -2
- package/dist/_chunks/{src-BjFv9Ag8.js.map → src-CIEdKLKO.js.map} +1 -1
- package/dist/_chunks/useImageFallback-BAsLRsyg.js +19 -0
- package/dist/_chunks/{useImageFallback-8kfLDjXm.js.map → useImageFallback-BAsLRsyg.js.map} +1 -1
- package/dist/_chunks/{useLightbox-Bq6k-Wlt.js → useLightbox-Epg2fN87.js} +7 -7
- package/dist/_chunks/{useLightbox-Bq6k-Wlt.js.map → useLightbox-Epg2fN87.js.map} +1 -1
- package/dist/_chunks/useShortUrlResolver--HRa6Od3.js +72 -0
- package/dist/_chunks/{useShortUrlResolver-BTJM8XRw.js.map → useShortUrlResolver--HRa6Od3.js.map} +1 -1
- package/dist/_chunks/{vue-i18n-BJ7nxwO3.js → vue-i18n-t25g63Be.js} +81 -81
- package/dist/_chunks/{vue-i18n-BJ7nxwO3.js.map → vue-i18n-t25g63Be.js.map} +1 -1
- package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js +3747 -0
- package/dist/_chunks/vue.runtime.esm-bundler-B3bThTaf.js.map +1 -0
- package/dist/ai-elements.es.js +1861 -1861
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotFeedbackForm.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js → PkChatbot-Ch8FlZjC.js} +2 -2
- package/dist-vue/_chunks/{PkChatbot-DZ6TaZHh.js.map → PkChatbot-Ch8FlZjC.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js → PkChatbotAuth-DvnmIukc.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotAuth-CqwTN8ih.js.map → PkChatbotAuth-DvnmIukc.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js → PkChatbotFeedbackForm-D0RNa7bE.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-nEevDHmI.js.map → PkChatbotFeedbackForm-D0RNa7bE.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js → PkChatbotMessages-DGO0WIqx.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotMessages-BgsyN-mB.js.map → PkChatbotMessages-DGO0WIqx.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js → PkChatbotViewChat-Dkz8dq8N.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewChat-0g30_sQH.js.map → PkChatbotViewChat-Dkz8dq8N.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js → PkToolShowContactForm-CkkWxSSz.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CMK4zR2J.js.map → PkToolShowContactForm-CkkWxSSz.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js → PkToolShowDiagram-D0NBG-Gy.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-DoklcF3f.js.map → PkToolShowDiagram-D0NBG-Gy.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-BT6Jr2yi.js → index.es-BKxzs6Sh.js} +2 -2
- package/dist-vue/_chunks/{index.es-BT6Jr2yi.js.map → index.es-BKxzs6Sh.js.map} +1 -1
- package/dist-vue/index.js +10 -10
- package/package.json +2 -2
- package/dist/_chunks/PkLazyImg-_389yCnQ.js +0 -34
- package/dist/_chunks/PkToolRequestGeolocation-T16QI-Uv.js +0 -69
- package/dist/_chunks/PkToolShowArtifact-D15GjBm6.js +0 -93
- package/dist/_chunks/PkToolShowComparison-Bp2rP2Hx.js +0 -66
- package/dist/_chunks/PkToolShowForm-ztQFyFd9.js +0 -365
- package/dist/_chunks/PkToolShowImageGallery-DiOR0vYa.js +0 -74
- package/dist/_chunks/PkToolShowMessage-BysjJ1oS.js +0 -77
- package/dist/_chunks/PkToolShowWebPages-CPNgXzrS.js +0 -78
- package/dist/_chunks/VvCombobox.es-CfRJtWOd.js +0 -2044
- package/dist/_chunks/VvTextarea.es-CAzFW944.js +0 -1166
- package/dist/_chunks/index.es-DvV0VhDa.js +0 -9832
- package/dist/_chunks/index.es-DvV0VhDa.js.map +0 -1
- package/dist/_chunks/useImageFallback-8kfLDjXm.js +0 -19
- package/dist/_chunks/useShortUrlResolver-BTJM8XRw.js +0 -72
- package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js +0 -5007
- package/dist/_chunks/vue.runtime.esm-bundler-DF2of3lp.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.
|
|
3
|
-
|
|
4
|
-
var
|
|
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.
|
|
7
|
+
return e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e;
|
|
10
8
|
})({}), T = /* @__PURE__ */ (function(e) {
|
|
11
|
-
return 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
|
-
})({}),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
60
|
+
}, F = { disabled: {
|
|
61
61
|
type: Boolean,
|
|
62
62
|
default: !1
|
|
63
|
-
} },
|
|
63
|
+
} }, I = { required: {
|
|
64
64
|
type: Boolean,
|
|
65
65
|
default: !1
|
|
66
|
-
} },
|
|
66
|
+
} }, L = { active: {
|
|
67
67
|
type: Boolean,
|
|
68
68
|
default: !1
|
|
69
|
-
} },
|
|
69
|
+
} }, R = { current: {
|
|
70
70
|
type: Boolean,
|
|
71
71
|
default: !1
|
|
72
72
|
} };
|
|
73
|
-
|
|
74
|
-
var
|
|
73
|
+
A.clear;
|
|
74
|
+
var z = { pressed: {
|
|
75
75
|
type: Boolean,
|
|
76
76
|
default: !1
|
|
77
|
-
} },
|
|
77
|
+
} }, B = { label: {
|
|
78
78
|
type: [String, Number],
|
|
79
79
|
default: void 0
|
|
80
|
-
} },
|
|
80
|
+
} }, V = { readonly: {
|
|
81
81
|
type: Boolean,
|
|
82
82
|
default: !1
|
|
83
|
-
} },
|
|
83
|
+
} }, H = { modifiers: {
|
|
84
84
|
type: [String, Array],
|
|
85
85
|
default: void 0
|
|
86
|
-
} },
|
|
86
|
+
} }, U = { hintLabel: {
|
|
87
87
|
type: String,
|
|
88
88
|
default: ""
|
|
89
|
-
} },
|
|
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
|
-
},
|
|
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
|
-
} },
|
|
115
|
+
} }, G = { debounce: {
|
|
116
116
|
type: [Number, String],
|
|
117
117
|
default: void 0
|
|
118
|
-
} },
|
|
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:
|
|
126
|
-
validation: (e) => Object.values(
|
|
125
|
+
default: T.before,
|
|
126
|
+
validation: (e) => Object.values(T).includes(e)
|
|
127
127
|
}
|
|
128
|
-
},
|
|
128
|
+
}, q = { tabindex: {
|
|
129
129
|
type: [String, Number],
|
|
130
130
|
default: 0
|
|
131
|
-
} },
|
|
131
|
+
} }, se = { floating: {
|
|
132
132
|
type: Boolean,
|
|
133
133
|
default: !1
|
|
134
|
-
} },
|
|
135
|
-
|
|
136
|
-
var
|
|
137
|
-
...
|
|
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
|
-
},
|
|
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
|
-
...
|
|
154
|
-
...
|
|
155
|
-
...
|
|
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
|
-
...
|
|
165
|
-
...
|
|
166
|
-
|
|
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
|
-
...
|
|
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
|
-
...
|
|
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
|
-
...
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
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 =
|
|
228
|
-
return
|
|
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:
|
|
239
|
-
isInGroup:
|
|
240
|
-
getGroupOrLocalRef:
|
|
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(
|
|
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:
|
|
259
|
-
disabled:
|
|
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,
|
|
317
|
-
let r =
|
|
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:
|
|
320
|
-
hasHintLabelOrSlot:
|
|
321
|
-
hasValidLabelOrSlot:
|
|
322
|
-
hasLoadingLabelOrSlot:
|
|
323
|
-
hintSlotScope:
|
|
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:
|
|
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:
|
|
338
|
-
invalidLabel:
|
|
339
|
-
validLabel:
|
|
340
|
-
loadingLabel:
|
|
341
|
-
hintLabel:
|
|
342
|
-
hasInvalidLabelOrSlot:
|
|
343
|
-
hasValidLabelOrSlot:
|
|
344
|
-
hasLoadingLabelOrSlot:
|
|
345
|
-
hasHintLabelOrSlot:
|
|
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 ?
|
|
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
|
|
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 =
|
|
374
|
+
let r = be(), i = v(() => {
|
|
375
375
|
if (r?.defaults.value?.[e]) return r.defaults.value[e];
|
|
376
376
|
});
|
|
377
|
-
return
|
|
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
|
|
387
|
+
return v(() => String(e?.value || a()));
|
|
388
388
|
}
|
|
389
389
|
function we(e, t, n) {
|
|
390
|
-
return
|
|
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}`] =
|
|
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__ */
|
|
408
|
+
], De = /* @__PURE__ */ n({
|
|
409
409
|
name: "VvRadio",
|
|
410
410
|
props: Y,
|
|
411
411
|
emits: pe,
|
|
412
|
-
setup(
|
|
413
|
-
let a =
|
|
414
|
-
if (
|
|
415
|
-
if (
|
|
416
|
-
}),
|
|
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),
|
|
420
|
+
].includes(typeof a.value) || a.value), P = v({
|
|
421
421
|
get() {
|
|
422
|
-
return
|
|
422
|
+
return M.value ? N.value : null;
|
|
423
423
|
},
|
|
424
424
|
set(e) {
|
|
425
|
-
Array.isArray(
|
|
425
|
+
Array.isArray(C.value) ? C.value = [a.value] : C.value = a.value, s("change", e);
|
|
426
426
|
}
|
|
427
|
-
}), { modifiers:
|
|
428
|
-
valid:
|
|
429
|
-
invalid:
|
|
430
|
-
disabled:
|
|
431
|
-
readonly:
|
|
432
|
-
}))), { HintSlot:
|
|
433
|
-
return (
|
|
434
|
-
class:
|
|
435
|
-
for:
|
|
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
|
-
|
|
438
|
-
id:
|
|
437
|
+
ee(te("input", {
|
|
438
|
+
id: m(E),
|
|
439
439
|
ref_key: "input",
|
|
440
|
-
ref:
|
|
441
|
-
"onUpdate:modelValue":
|
|
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:
|
|
445
|
-
disabled:
|
|
446
|
-
value:
|
|
447
|
-
tabindex:
|
|
448
|
-
"aria-invalid":
|
|
449
|
-
"aria-describedby":
|
|
450
|
-
"aria-errormessage":
|
|
451
|
-
}, null, 8, Ee), [[
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
id:
|
|
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
|
-
},
|
|
457
|
-
|
|
456
|
+
}, ae({ _: 2 }, [
|
|
457
|
+
n.$slots.hint ? {
|
|
458
458
|
name: "hint",
|
|
459
|
-
fn:
|
|
459
|
+
fn: e(() => [t(n.$slots, "hint", r(l(m(B))))]),
|
|
460
460
|
key: "0"
|
|
461
461
|
} : void 0,
|
|
462
|
-
|
|
462
|
+
n.$slots.loading ? {
|
|
463
463
|
name: "loading",
|
|
464
|
-
fn:
|
|
464
|
+
fn: e(() => [t(n.$slots, "loading", r(l(m(B))))]),
|
|
465
465
|
key: "1"
|
|
466
466
|
} : void 0,
|
|
467
|
-
|
|
467
|
+
n.$slots.valid ? {
|
|
468
468
|
name: "valid",
|
|
469
|
-
fn:
|
|
469
|
+
fn: e(() => [t(n.$slots, "valid", r(l(m(B))))]),
|
|
470
470
|
key: "2"
|
|
471
471
|
} : void 0,
|
|
472
|
-
|
|
472
|
+
n.$slots.invalid ? {
|
|
473
473
|
name: "invalid",
|
|
474
|
-
fn:
|
|
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-
|
|
484
|
+
//# sourceMappingURL=VvRadio.es-BruZ5FHR.js.map
|