@revolugo/elements 6.8.2-beta.2 → 6.8.2-beta.20
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/css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
- package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/index.es.min.js +955 -950
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._baseiteratee.B8DzmtV9.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.Wlqp4FTo.min.js → revolugo.banktransferdetails.B6Q2z-jl.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.LM4-g1ZZ.min.js → revolugo.bdaterangepicker.DHh-hIJ0.min.js} +12 -11
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js +149 -0
- package/dist/revolugo.bhoteloffersfilterbar.BicCxI8N.min.js +4828 -0
- package/dist/{revolugo.bhotelroomsdetails.CIrHX2gV.min.js → revolugo.bhotelroomsdetails.BZMXBHqw.min.js} +30 -29
- package/dist/{revolugo.bhotelsearchbar.C13oDjtG.min.js → revolugo.bhotelsearchbar.Db7f-Myf.min.js} +16 -16
- package/dist/{revolugo.bimagecarousel.7CkcgWwo.min.js → revolugo.bimagecarousel.BYWPajeF.min.js} +43 -44
- package/dist/{revolugo.bookingdetailssidebar.CUUn4s4-.min.js → revolugo.bookingdetailssidebar.BZUVjXtx.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.DXxWIXgM.min.js → revolugo.bookingdetailssidebar.DpvhWAPj.min.js} +17 -17
- package/dist/{revolugo.bookingmanager.XzKdmEGC.min.js → revolugo.bookingmanager.BT8ClOH2.min.js} +27 -27
- package/dist/{revolugo.bpricesummaryskeleton.Pw1KklrO.min.js → revolugo.bpricesummaryskeleton.BkE3yRYV.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.QK7fmKOX.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js} +8 -8
- package/dist/{revolugo.btag.BlnXqK92.min.js → revolugo.btag.BtFT2zF9.min.js} +50 -48
- package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +207 -0
- package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.BUvqjY8w.min.js +25 -0
- package/dist/{revolugo.cancellationpolicieslist.DAK9-C1m.min.js → revolugo.cancellationpolicieslist.beDOpVS9.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/{revolugo.case-transformers.CaS4ky3X.min.js → revolugo.case-transformers.C-f7xgel.min.js} +6 -6
- package/dist/{revolugo.creditcardform.BXRZJQF_.min.js → revolugo.creditcardform.DqHW63kH.min.js} +30 -30
- package/dist/{revolugo.creditcardform.D-fRTOrm.min.js → revolugo.creditcardform.WRd9OuX1.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.CRromYFa.min.js → revolugo.creditcardpayment.BhHvBmry.min.js} +42 -40
- package/dist/{revolugo.creditcardpayment.Bsql13Mx.min.js → revolugo.creditcardpayment.BleH4opZ.min.js} +4 -4
- package/dist/{revolugo.currencypicker.CsT_8v5-.min.js → revolugo.currencypicker.BtpR0LRe.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.Aj3BIx0O.min.js → revolugo.currencypickerbtn.CZqCxE40.min.js} +17 -17
- package/dist/{revolugo.currencypickerbtn.DzlyztKv.min.js → revolugo.currencypickerbtn.Z1iqCIYs.min.js} +4 -4
- package/dist/{revolugo.defaultsdeep.x4Fmvtqd.min.js → revolugo.defaultsdeep.fiInWebG.min.js} +29 -29
- package/dist/{revolugo.dialog-attach.Co46EBCo.min.js → revolugo.dialog-attach.yO2_AaMd.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.0tZlTOrr.min.js → revolugo.dialog-transition.DRmctE5w.min.js} +5 -5
- package/dist/{revolugo.fastbookingflow.4VeLCGPk.min.js → revolugo.fastbookingflow.YMrVcoWr.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.DAq8AAkm.min.js → revolugo.fullbookingflow.BuCdZ5tE.min.js} +17 -17
- package/dist/revolugo.hotel-offer-request.DA93cyGO.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.AQBQyXPB.min.js → revolugo.hoteldescriptionview.C4lTU31k.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.E3zF9kIE.min.js → revolugo.hoteldescriptionview.QB3gyKjW.min.js} +23 -22
- package/dist/{revolugo.hotelofferitemlayout.5S0g-y3x.min.js → revolugo.hotelofferitemlayout.D88eNxZ3.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.Bu6FD5xa.min.js → revolugo.hotelofferlist.DKLNMTAo.min.js} +40 -41
- package/dist/{revolugo.hotelofferlist.DuMKQigB.min.js → revolugo.hotelofferlist.DVfyqIL_.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CfAv9XnZ.min.js → revolugo.hotelofferrequestcreator.CPPp4mk1.min.js} +16 -15
- package/dist/revolugo.hoteloffersearchmenu.CrmGRkpc.min.js +47 -0
- package/dist/{revolugo.hoteloffersmap.TeFeFBWz.min.js → revolugo.hoteloffersmap.C5CoYWJo.min.js} +29 -29
- package/dist/{revolugo.hoteloffersmap.DzTHDAHc.min.js → revolugo.hoteloffersmap.CVu6tY8O.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.EuoGAY9l.min.js → revolugo.hoteloffersview.B1ENOlfQ.min.js} +44 -42
- package/dist/{revolugo.hoteloffersview.Cu1O149f.min.js → revolugo.hoteloffersview.D3AJN4Ry.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.BJqvvAma.min.js → revolugo.hotelroomofferlist.B4vKtIAv.min.js} +119 -118
- package/dist/{revolugo.hotelroomofferlist.DK_BQbGq.min.js → revolugo.hotelroomofferlist.BJpypDEo.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.Ccv-RhW2.min.js → revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.DXXUhSNA.min.js → revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js} +54 -54
- package/dist/{revolugo.hotelroomoffersearchmenu.4yTsOswX.min.js → revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.CoLuLIMc.min.js → revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.Bz5IYKc_.min.js → revolugo.hotelroomoffersview.B8EPiviG.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.Bt9PEOK9.min.js → revolugo.hotelroomoffersview.Cml6dUd_.min.js} +4 -4
- package/dist/revolugo.index.CxQvHaJF.min.js +1255 -0
- package/dist/{revolugo.index.wc.bYWqzpa9.min.js → revolugo.index.wc.CiMMOIKO.min.js} +10712 -11261
- package/dist/{revolugo.langpicker.C1EJvnOl.min.js → revolugo.langpicker.BPdYOoqh.min.js} +8 -8
- package/dist/{revolugo.langpickerbtn.Ixx1UaN0.min.js → revolugo.langpickerbtn.B_lcAwH7.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.C7tqnw1r.min.js → revolugo.langpickerbtn.toIVNsWj.min.js} +19 -18
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.CC3sbpgo.min.js +58 -0
- package/dist/{revolugo.prebookform.CLrYWsEI.min.js → revolugo.prebookform.CnbytE-a.min.js} +4 -4
- package/dist/{revolugo.prebookform.DZe8r8L5.min.js → revolugo.prebookform.mTgAZy4b.min.js} +20 -20
- package/dist/{revolugo.roominglisteditor.DrtcIDro.min.js → revolugo.roominglisteditor.BndDYwgL.min.js} +11 -11
- package/dist/{revolugo.roominglisteditor.CXO-5pa_.min.js → revolugo.roominglisteditor.BqFx12Zl.min.js} +4 -4
- package/dist/{revolugo.rounded.B5lCsIO9.min.js → revolugo.rounded.DLc3W4P_.min.js} +2 -2
- package/dist/{revolugo.ssrboot.C0z_e7XY.min.js → revolugo.ssrboot.6UmkB4Il.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.SCyQu-ny.min.js → revolugo.storybooktoolbar.lPXk2DH4.min.js} +110 -106
- package/dist/{revolugo.termsandconditions.CmukXjqj.min.js → revolugo.termsandconditions.C318-sIl.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.CSw8Xh23.min.js → revolugo.termsandconditions.J28x2pls.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +52 -0
- package/dist/{revolugo.vautocomplete.BFtq5sO7.min.js → revolugo.vautocomplete.CfEbI9wx.min.js} +104 -103
- package/dist/{revolugo.vbadge.BOSot4-b.min.js → revolugo.vbadge.qQh-Sv8w.min.js} +14 -14
- package/dist/{revolugo.vbtn.Cza72F9l.min.js → revolugo.vbtn.CJwuvbOT.min.js} +65 -65
- package/dist/{revolugo.vcard.BSYS4EA_.min.js → revolugo.vcard.C8hpUlD-.min.js} +35 -35
- package/dist/{revolugo.vcheckboxbtn.JRn2QIIO.min.js → revolugo.vcheckboxbtn.Z5a_U9n0.min.js} +86 -86
- package/dist/{revolugo.vdialog.BuVoy1kx.min.js → revolugo.vdialog.CEfREygA.min.js} +25 -25
- package/dist/{revolugo.vdivider.Cu5FddvH.min.js → revolugo.vdivider.DYybqMVI.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.DRWQoRqv.min.js → revolugo.vexpansionpanels.DqoxBVet.min.js} +41 -40
- package/dist/{revolugo.vform.CrnbE-uW.min.js → revolugo.vform.Bh7TJUxd.min.js} +4 -4
- package/dist/revolugo.vicon.BnJaIb_1.min.js +106 -0
- package/dist/{revolugo.vinput.DkajuwSz.min.js → revolugo.vinput.CWfOSxlF.min.js} +74 -73
- package/dist/{revolugo.vlabel.7WIO1jsu.min.js → revolugo.vlabel.D8JC3_DX.min.js} +3 -3
- package/dist/{revolugo.vlist.DnEUr3NP.min.js → revolugo.vlist.cF1CYOBP.min.js} +115 -115
- package/dist/{revolugo.vmenu.DwlJhNjf.min.js → revolugo.vmenu.B-rlxBKf.min.js} +24 -24
- package/dist/{revolugo.vselect.BjWXKuR5.min.js → revolugo.vselect.D17E4jI-.min.js} +76 -75
- package/dist/{revolugo.vsheet.CFHcDuin.min.js → revolugo.vsheet.Div5lkVz.min.js} +10 -10
- package/dist/{revolugo.vskeletonloader.Dc9OKBJf.min.js → revolugo.vskeletonloader.BMUIcPKO.min.js} +6 -6
- package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +333 -0
- package/dist/{revolugo.vsnackbar.BVKj6AMI.min.js → revolugo.vsnackbar.CgopB6r6.min.js} +49 -50
- package/dist/revolugo.vspacer.DfGL0s5_.min.js +7 -0
- package/dist/{revolugo.vtextarea.C5zyz0TO.min.js → revolugo.vtextarea.BOKhw7Iq.min.js} +61 -61
- package/dist/{revolugo.vtextfield.vgSHKzqU.min.js → revolugo.vtextfield.Bf1HO6ah.min.js} +88 -89
- package/dist/{revolugo.vtoolbar.DoJvdCrr.min.js → revolugo.vtoolbar.HAOPyr0Z.min.js} +20 -20
- package/dist/revolugo.vtooltip.DWbHmmwC.min.js +90 -0
- package/dist/{revolugo.vwindowitem.CFcKwvRo.min.js → revolugo.vwindowitem.D5OeWBiN.min.js} +34 -34
- package/dist/{revolugo.watch-list.BitKjhcw.min.js → revolugo.watch-list.BFsimHQY.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.D4MvwGCF.min.js → revolugo.webcomponentwrapper.B9-sm0Ry.min.js} +229 -229
- package/package.json +1 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.h_U_D6QC.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.B634G2s-.min.js +0 -4689
- package/dist/revolugo.cancellationpoliciesbadge.B55YrKSM.min.js +0 -24
- package/dist/revolugo.cancellationpoliciesbadge.BeG5kBuD.min.js +0 -225
- package/dist/revolugo.cancellationpolicieslist.vBYt57IZ.min.js +0 -24
- package/dist/revolugo.hoteloffersearchmenu.C6_HA-G2.min.js +0 -46
- package/dist/revolugo.index.CfWiJy_P.min.js +0 -13
- package/dist/revolugo.index.D74NQ89L.min.js +0 -1037
- package/dist/revolugo.position.Dh9P2x6G.min.js +0 -322
- package/dist/revolugo.use-breakpoint-service.Dw3a-dJy.min.js +0 -106
- package/dist/revolugo.vspacer.DnTRCwot.min.js +0 -7
- package/dist/revolugo.vtooltip.BM8L9U_D.min.js +0 -395
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import { V as
|
3
|
-
import {
|
4
|
-
|
1
|
+
import { aa as Z, a as y, bL as q, ct as Y, a0 as T, D as c, Y as w, _ as B, X as G, a1 as P, ag as ee, a3 as O, C as R, L as I, ai as ae, a9 as ne, af as te, aG as K, bT as se, J as le, a$ as ie, U as ue, S as re, aN as N, Q as oe, aF as de, az as ce, aH as ve, aV as fe, Z as U } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
2
|
+
import { V as me } from "./revolugo.vicon.BnJaIb_1.min.js";
|
3
|
+
import { z as ge, s as ye, m as he } from "./revolugo.index.CxQvHaJF.min.js";
|
4
|
+
import { d as pe, u as H, M as Ve, p as Se, m as j, n as be, o as Ee } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
5
|
+
function X(e) {
|
5
6
|
try {
|
6
7
|
if (typeof document < "u") {
|
7
8
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -24,7 +25,7 @@ function q(e) {
|
|
24
25
|
function Me(e) {
|
25
26
|
const {
|
26
27
|
t: s
|
27
|
-
} =
|
28
|
+
} = Z();
|
28
29
|
function r(n) {
|
29
30
|
let {
|
30
31
|
name: o
|
@@ -36,15 +37,15 @@ function Me(e) {
|
|
36
37
|
appendInner: "appendAction",
|
37
38
|
clear: "clear"
|
38
39
|
}[o], u = e[`onClick:${o}`];
|
39
|
-
function m
|
40
|
-
|
40
|
+
function g(m) {
|
41
|
+
m.key !== "Enter" && m.key !== " " || (m.preventDefault(), m.stopPropagation(), q(u, new PointerEvent("click", m)));
|
41
42
|
}
|
42
43
|
const V = u && a ? s(`$vuetify.input.${a}`, e.label ?? "") : void 0;
|
43
|
-
return y(
|
44
|
+
return y(me, {
|
44
45
|
icon: e[`${o}Icon`],
|
45
46
|
"aria-label": V,
|
46
47
|
onClick: u,
|
47
|
-
onKeydown:
|
48
|
+
onKeydown: g
|
48
49
|
}, null);
|
49
50
|
}
|
50
51
|
return {
|
@@ -55,9 +56,9 @@ const ke = w({
|
|
55
56
|
focused: Boolean,
|
56
57
|
"onUpdate:focused": B()
|
57
58
|
}, "focus");
|
58
|
-
function
|
59
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
60
|
-
const r =
|
59
|
+
function xe(e) {
|
60
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Y();
|
61
|
+
const r = T(e, "focused"), n = c(() => ({
|
61
62
|
[`${s}--focused`]: r.value
|
62
63
|
}));
|
63
64
|
function o() {
|
@@ -81,14 +82,14 @@ const Ie = w({
|
|
81
82
|
default: () => []
|
82
83
|
},
|
83
84
|
...j(),
|
84
|
-
...
|
85
|
+
...Se({
|
85
86
|
transition: {
|
86
|
-
component:
|
87
|
+
component: ge,
|
87
88
|
leaveAbsolute: !0,
|
88
89
|
group: !0
|
89
90
|
}
|
90
91
|
})
|
91
|
-
}, "VMessages"), we =
|
92
|
+
}, "VMessages"), we = G()({
|
92
93
|
name: "VMessages",
|
93
94
|
props: Ie(),
|
94
95
|
setup(e, s) {
|
@@ -99,21 +100,21 @@ const Ie = w({
|
|
99
100
|
textColorClasses: o,
|
100
101
|
textColorStyles: a
|
101
102
|
} = pe(c(() => e.color));
|
102
|
-
return
|
103
|
+
return H(() => y(Ve, {
|
103
104
|
transition: e.transition,
|
104
105
|
tag: "div",
|
105
106
|
class: ["v-messages", o.value, e.class],
|
106
107
|
style: [a.value, e.style]
|
107
108
|
}, {
|
108
|
-
default: () => [e.active && n.value.map((u,
|
109
|
+
default: () => [e.active && n.value.map((u, g) => y("div", {
|
109
110
|
class: "v-messages__message",
|
110
|
-
key: `${
|
111
|
+
key: `${g}-${n.value}`
|
111
112
|
}, [r.message ? r.message({
|
112
113
|
message: u
|
113
114
|
}) : u]))]
|
114
115
|
})), {};
|
115
116
|
}
|
116
|
-
}),
|
117
|
+
}), W = Symbol.for("vuetify:form"), Le = w({
|
117
118
|
disabled: Boolean,
|
118
119
|
fastFail: Boolean,
|
119
120
|
readonly: Boolean,
|
@@ -127,8 +128,8 @@ const Ie = w({
|
|
127
128
|
}
|
128
129
|
}, "form");
|
129
130
|
function $e(e) {
|
130
|
-
const s =
|
131
|
-
async function
|
131
|
+
const s = T(e, "modelValue"), r = c(() => e.disabled), n = c(() => e.readonly), o = O(!1), a = R([]), u = R([]);
|
132
|
+
async function g() {
|
132
133
|
const l = [];
|
133
134
|
let i = !0;
|
134
135
|
u.value = [], o.value = !0;
|
@@ -147,7 +148,7 @@ function $e(e) {
|
|
147
148
|
function V() {
|
148
149
|
a.value.forEach((l) => l.reset());
|
149
150
|
}
|
150
|
-
function
|
151
|
+
function m() {
|
151
152
|
a.value.forEach((l) => l.resetValidation());
|
152
153
|
}
|
153
154
|
return I(a, () => {
|
@@ -162,20 +163,20 @@ function $e(e) {
|
|
162
163
|
}, {
|
163
164
|
deep: !0,
|
164
165
|
flush: "post"
|
165
|
-
}), ae(
|
166
|
+
}), ae(W, {
|
166
167
|
register: (l) => {
|
167
168
|
let {
|
168
169
|
id: i,
|
169
170
|
vm: v,
|
170
171
|
validate: d,
|
171
|
-
reset:
|
172
|
-
resetValidation:
|
172
|
+
reset: b,
|
173
|
+
resetValidation: S
|
173
174
|
} = l;
|
174
175
|
a.value.some((M) => M.id === i), a.value.push({
|
175
176
|
id: i,
|
176
177
|
validate: d,
|
177
|
-
reset:
|
178
|
-
resetValidation:
|
178
|
+
reset: b,
|
179
|
+
resetValidation: S,
|
179
180
|
vm: te(v),
|
180
181
|
isValid: null,
|
181
182
|
errorMessages: []
|
@@ -185,7 +186,7 @@ function $e(e) {
|
|
185
186
|
a.value = a.value.filter((i) => i.id !== l);
|
186
187
|
},
|
187
188
|
update: (l, i, v) => {
|
188
|
-
const d = a.value.find((
|
189
|
+
const d = a.value.find((b) => b.id === l);
|
189
190
|
d && (d.isValid = i, d.errorMessages = v);
|
190
191
|
},
|
191
192
|
isDisabled: r,
|
@@ -201,13 +202,13 @@ function $e(e) {
|
|
201
202
|
isValidating: o,
|
202
203
|
isValid: s,
|
203
204
|
items: a,
|
204
|
-
validate:
|
205
|
+
validate: g,
|
205
206
|
reset: V,
|
206
|
-
resetValidation:
|
207
|
+
resetValidation: m
|
207
208
|
};
|
208
209
|
}
|
209
210
|
function Ce(e) {
|
210
|
-
const s = ee(
|
211
|
+
const s = ee(W, null);
|
211
212
|
return {
|
212
213
|
...s,
|
213
214
|
isReadonly: c(() => !!((e == null ? void 0 : e.readonly) ?? (s == null ? void 0 : s.isReadonly.value))),
|
@@ -244,8 +245,8 @@ const De = w({
|
|
244
245
|
...ke()
|
245
246
|
}, "validation");
|
246
247
|
function Pe(e) {
|
247
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
248
|
-
const n =
|
248
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Y(), r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : K();
|
249
|
+
const n = T(e, "modelValue"), o = c(() => e.validationValue === void 0 ? n.value : e.validationValue), a = Ce(e), u = R([]), g = O(!0), V = c(() => !!(P(n.value === "" ? null : n.value).length || P(o.value === "" ? null : o.value).length)), m = c(() => {
|
249
250
|
var t;
|
250
251
|
return (t = e.errorMessages) != null && t.length ? P(e.errorMessages).concat(u.value).slice(0, Math.max(0, Number(e.maxErrors))) : u.value;
|
251
252
|
}), l = c(() => {
|
@@ -262,29 +263,29 @@ function Pe(e) {
|
|
262
263
|
};
|
263
264
|
}), i = c(() => {
|
264
265
|
var t;
|
265
|
-
return e.error || (t = e.errorMessages) != null && t.length ? !1 : e.rules.length ?
|
266
|
-
}), v =
|
266
|
+
return e.error || (t = e.errorMessages) != null && t.length ? !1 : e.rules.length ? g.value ? u.value.length || l.value.lazy ? null : !0 : !u.value.length : !0;
|
267
|
+
}), v = O(!1), d = c(() => ({
|
267
268
|
[`${s}--error`]: i.value === !1,
|
268
269
|
[`${s}--dirty`]: V.value,
|
269
270
|
[`${s}--disabled`]: a.isDisabled.value,
|
270
271
|
[`${s}--readonly`]: a.isReadonly.value
|
271
|
-
})),
|
272
|
+
})), b = se("validation"), S = c(() => e.name ?? le(r));
|
272
273
|
ie(() => {
|
273
274
|
var t;
|
274
275
|
(t = a.register) == null || t.call(a, {
|
275
|
-
id:
|
276
|
-
vm:
|
276
|
+
id: S.value,
|
277
|
+
vm: b,
|
277
278
|
validate: h,
|
278
279
|
reset: M,
|
279
280
|
resetValidation: k
|
280
281
|
});
|
281
282
|
}), ue(() => {
|
282
283
|
var t;
|
283
|
-
(t = a.unregister) == null || t.call(a,
|
284
|
+
(t = a.unregister) == null || t.call(a, S.value);
|
284
285
|
}), re(async () => {
|
285
286
|
var t;
|
286
|
-
l.value.lazy || await h(!l.value.eager), (t = a.update) == null || t.call(a,
|
287
|
-
}),
|
287
|
+
l.value.lazy || await h(!l.value.eager), (t = a.update) == null || t.call(a, S.value, i.value, m.value);
|
288
|
+
}), N(() => l.value.input || l.value.invalidInput && i.value === !1, () => {
|
288
289
|
I(o, () => {
|
289
290
|
if (o.value != null)
|
290
291
|
h();
|
@@ -294,19 +295,19 @@ function Pe(e) {
|
|
294
295
|
});
|
295
296
|
}
|
296
297
|
});
|
297
|
-
}),
|
298
|
+
}), N(() => l.value.blur, () => {
|
298
299
|
I(() => e.focused, (t) => {
|
299
300
|
t || h();
|
300
301
|
});
|
301
|
-
}), I([i,
|
302
|
+
}), I([i, m], () => {
|
302
303
|
var t;
|
303
|
-
(t = a.update) == null || t.call(a,
|
304
|
+
(t = a.update) == null || t.call(a, S.value, i.value, m.value);
|
304
305
|
});
|
305
306
|
async function M() {
|
306
307
|
n.value = null, await oe(), await k();
|
307
308
|
}
|
308
309
|
async function k() {
|
309
|
-
|
310
|
+
g.value = !0, l.value.lazy ? u.value = [] : await h(!l.value.eager);
|
310
311
|
}
|
311
312
|
async function h() {
|
312
313
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
@@ -324,14 +325,14 @@ function Pe(e) {
|
|
324
325
|
f.push(E || "");
|
325
326
|
}
|
326
327
|
}
|
327
|
-
return u.value = f, v.value = !1,
|
328
|
+
return u.value = f, v.value = !1, g.value = t, u.value;
|
328
329
|
}
|
329
330
|
return {
|
330
|
-
errorMessages:
|
331
|
+
errorMessages: m,
|
331
332
|
isDirty: V,
|
332
333
|
isDisabled: a.isDisabled,
|
333
334
|
isReadonly: a.isReadonly,
|
334
|
-
isPristine:
|
335
|
+
isPristine: g,
|
335
336
|
isValid: i,
|
336
337
|
isValidating: v,
|
337
338
|
reset: M,
|
@@ -368,7 +369,7 @@ const _e = w({
|
|
368
369
|
...fe(Ee(), ["maxWidth", "minWidth", "width"]),
|
369
370
|
...ve(),
|
370
371
|
...De()
|
371
|
-
}, "VInput"),
|
372
|
+
}, "VInput"), Ae = G()({
|
372
373
|
name: "VInput",
|
373
374
|
props: {
|
374
375
|
..._e()
|
@@ -386,16 +387,16 @@ const _e = w({
|
|
386
387
|
densityClasses: a
|
387
388
|
} = ye(e), {
|
388
389
|
dimensionStyles: u
|
389
|
-
} =
|
390
|
-
themeClasses:
|
390
|
+
} = be(e), {
|
391
|
+
themeClasses: g
|
391
392
|
} = de(e), {
|
392
393
|
rtlClasses: V
|
393
394
|
} = ce(), {
|
394
|
-
InputIcon:
|
395
|
-
} = Me(e), l =
|
395
|
+
InputIcon: m
|
396
|
+
} = Me(e), l = K(), i = c(() => e.id || `input-${l}`), v = c(() => `${i.value}-messages`), {
|
396
397
|
errorMessages: d,
|
397
|
-
isDirty:
|
398
|
-
isDisabled:
|
398
|
+
isDirty: b,
|
399
|
+
isDisabled: S,
|
399
400
|
isReadonly: M,
|
400
401
|
isPristine: k,
|
401
402
|
isValid: h,
|
@@ -407,8 +408,8 @@ const _e = w({
|
|
407
408
|
} = Pe(e, "v-input", i), C = c(() => ({
|
408
409
|
id: i,
|
409
410
|
messagesId: v,
|
410
|
-
isDirty:
|
411
|
-
isDisabled:
|
411
|
+
isDirty: b,
|
412
|
+
isDisabled: S,
|
412
413
|
isReadonly: M,
|
413
414
|
isPristine: k,
|
414
415
|
isValid: h,
|
@@ -416,23 +417,23 @@ const _e = w({
|
|
416
417
|
reset: f,
|
417
418
|
resetValidation: p,
|
418
419
|
validate: _
|
419
|
-
})),
|
420
|
+
})), x = c(() => {
|
420
421
|
var D;
|
421
422
|
return (D = e.errorMessages) != null && D.length || !k.value && d.value.length ? d.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
|
422
423
|
});
|
423
|
-
return
|
424
|
-
var
|
425
|
-
const D = !!(n.prepend || e.prependIcon), J = !!(n.append || e.appendIcon),
|
424
|
+
return H(() => {
|
425
|
+
var $, A, F, z;
|
426
|
+
const D = !!(n.prepend || e.prependIcon), J = !!(n.append || e.appendIcon), L = x.value.length > 0, Q = !e.hideDetails || e.hideDetails === "auto" && (L || !!n.details);
|
426
427
|
return y("div", {
|
427
428
|
class: ["v-input", `v-input--${e.direction}`, {
|
428
429
|
"v-input--center-affix": e.centerAffix,
|
429
430
|
"v-input--hide-spin-buttons": e.hideSpinButtons
|
430
|
-
}, a.value,
|
431
|
+
}, a.value, g.value, V.value, E.value, e.class],
|
431
432
|
style: [u.value, e.style]
|
432
433
|
}, [D && y("div", {
|
433
434
|
key: "prepend",
|
434
435
|
class: "v-input__prepend"
|
435
|
-
}, [(
|
436
|
+
}, [($ = n.prepend) == null ? void 0 : $.call(n, C.value), e.prependIcon && y(m, {
|
436
437
|
key: "prepend-icon",
|
437
438
|
name: "prepend"
|
438
439
|
}, null)]), n.default && y("div", {
|
@@ -440,20 +441,20 @@ const _e = w({
|
|
440
441
|
}, [(A = n.default) == null ? void 0 : A.call(n, C.value)]), J && y("div", {
|
441
442
|
key: "append",
|
442
443
|
class: "v-input__append"
|
443
|
-
}, [e.appendIcon && y(
|
444
|
+
}, [e.appendIcon && y(m, {
|
444
445
|
key: "append-icon",
|
445
446
|
name: "append"
|
446
|
-
}, null), (F = n.append) == null ? void 0 : F.call(n, C.value)]),
|
447
|
+
}, null), (F = n.append) == null ? void 0 : F.call(n, C.value)]), Q && y("div", {
|
447
448
|
id: v.value,
|
448
449
|
class: "v-input__details",
|
449
450
|
role: "alert",
|
450
451
|
"aria-live": "polite"
|
451
452
|
}, [y(we, {
|
452
|
-
active:
|
453
|
-
messages:
|
453
|
+
active: L,
|
454
|
+
messages: x.value
|
454
455
|
}, {
|
455
456
|
message: n.message
|
456
|
-
}), (
|
457
|
+
}), (z = n.details) == null ? void 0 : z.call(n, C.value)])]);
|
457
458
|
}), {
|
458
459
|
reset: f,
|
459
460
|
resetValidation: p,
|
@@ -463,15 +464,15 @@ const _e = w({
|
|
463
464
|
};
|
464
465
|
}
|
465
466
|
});
|
466
|
-
|
467
|
+
X("css/revolugo.vinput.BPiFMorL.css");
|
467
468
|
export {
|
468
|
-
|
469
|
+
Ae as V,
|
469
470
|
ke as a,
|
470
471
|
Ce as b,
|
471
472
|
$e as c,
|
472
|
-
|
473
|
+
Le as d,
|
473
474
|
Me as e,
|
474
475
|
_e as m,
|
475
|
-
|
476
|
+
xe as u
|
476
477
|
};
|
477
|
-
//# sourceMappingURL=revolugo.vinput.
|
478
|
+
//# sourceMappingURL=revolugo.vinput.CWfOSxlF.min.js.map
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { u as s, m as a } from "./revolugo.webcomponentwrapper.
|
2
|
-
import {
|
1
|
+
import { u as s, m as a } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
2
|
+
import { X as c, Y as r, a as i, aH as m, _ as E } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
3
3
|
function l(e) {
|
4
4
|
try {
|
5
5
|
if (typeof document < "u") {
|
@@ -48,4 +48,4 @@ l("css/revolugo.vlabel.BvKaKg7Y.css");
|
|
48
48
|
export {
|
49
49
|
f as V
|
50
50
|
};
|
51
|
-
//# sourceMappingURL=revolugo.vlabel.
|
51
|
+
//# sourceMappingURL=revolugo.vlabel.D8JC3_DX.min.js.map
|