@revolugo/elements 6.8.2-beta.34 → 6.8.2-beta.36
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.bdaterangepicker.D1e8WHUE.css → revolugo.bdaterangepicker.B6KA5TYs.css} +1 -1
- package/dist/css/{revolugo.bimagecarousel.DFlgQMzq.css → revolugo.bimagecarousel.B2SxWMbZ.css} +1 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/{revolugo.hoteloffersmap.DZ9zVlMs.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
- package/dist/css/revolugo.hoteloffersview.CNI6b2S9.css +1 -0
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.BNxGrktU.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
- package/dist/index.es.min.js +422 -420
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +5 -5
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.BEP1-p3y.min.js → revolugo._baseiteratee.DqpAWb6T.min.js} +35 -35
- package/dist/{revolugo.banktransferdetails.CjbztzfC.min.js → revolugo.banktransferdetails.HIONuL-w.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.CFyhGruk.min.js → revolugo.bdaterangepicker.CYqs79KF.min.js} +2179 -2183
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B2bk2KpX.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C2bQrTH9.min.js} +4 -4
- package/dist/{revolugo.bhoteloffersfilterbar.CFOOtTvL.min.js → revolugo.bhoteloffersfilterbar.C99qFZXQ.min.js} +958 -772
- package/dist/{revolugo.bhotelroomsdetails.Be5zxifu.min.js → revolugo.bhotelroomsdetails.BspNbZ48.min.js} +188 -213
- package/dist/{revolugo.bimagecarousel.CxOf9dZ6.min.js → revolugo.bimagecarousel.Csl8A8eS.min.js} +145 -167
- package/dist/{revolugo.bookingdetailssidebar.CSH8m1C4.min.js → revolugo.bookingdetailssidebar.CpDzjKTp.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.B5Pj0On4.min.js → revolugo.bookingdetailssidebar.DGJW157-.min.js} +19 -19
- package/dist/{revolugo.bookingmanager.csPvGATG.min.js → revolugo.bookingmanager.kjJFCsaj.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.CHX7Jssj.min.js → revolugo.bpricesummaryskeleton.8c6X82Hn.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.VA13CkuK.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.KQ12c6Ip.min.js} +8 -8
- package/dist/{revolugo.btag.Dv4uxsYv.min.js → revolugo.btag.BE3Ri1CO.min.js} +28 -28
- package/dist/{revolugo.cancellationpoliciesbadge.CRBkLci9.min.js → revolugo.cancellationpoliciesbadge.W8Gvstjs.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge._2J26Hqf.min.js → revolugo.cancellationpoliciesbadge.mxkumI4i.min.js} +12 -12
- package/dist/{revolugo.cancellationpolicieslist.DQNG2iB8.min.js → revolugo.cancellationpolicieslist.DEiFUBfm.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.pqHwlUuQ.min.js → revolugo.cancellationpolicieslist.EqDKfH1M.min.js} +4 -4
- package/dist/{revolugo.case-transformers.DP17jA4x.min.js → revolugo.case-transformers.BZKgm7X9.min.js} +5 -5
- package/dist/{revolugo.creditcardform.BZRrbM7V.min.js → revolugo.creditcardform.D84lJYLN.min.js} +4 -4
- package/dist/{revolugo.creditcardform.BxjCDGvO.min.js → revolugo.creditcardform.Dv8WVVQs.min.js} +58 -58
- package/dist/{revolugo.creditcardpayment.BT1kN8zt.min.js → revolugo.creditcardpayment.BQEG147C.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.DoY6phPa.min.js → revolugo.creditcardpayment.BcHJkQmY.min.js} +18 -18
- package/dist/{revolugo.currencypicker.B2tV48Y5.min.js → revolugo.currencypicker.DEJ2kZKc.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.DMU3GWjB.min.js → revolugo.currencypickerbtn.1V06vG7i.min.js} +14 -14
- package/dist/{revolugo.currencypickerbtn.DE8oV1V1.min.js → revolugo.currencypickerbtn.BO15T4Og.min.js} +4 -4
- package/dist/revolugo.dates.DQToc-Zu.min.js +31 -0
- package/dist/revolugo.defaultsdeep.D6A9dZfK.min.js +104 -0
- package/dist/{revolugo.dialog-attach.DpGIwuG0.min.js → revolugo.dialog-attach.8RGGMLvt.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.Ckkqh-sq.min.js → revolugo.dialog-transition.CK9FmR7q.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.CuXq-6GN.min.js → revolugo.fastbookingflow.mx9nZ44p.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.D4ACgY8T.min.js → revolugo.fullbookingflow.ByWT9-fz.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.DcAw3ks9.min.js → revolugo.hotel-offer-request.AQUc7QpR.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.OsbnClid.min.js → revolugo.hoteldescriptionview.DCr66NFf.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.CnCdP9SI.min.js → revolugo.hoteldescriptionview.DjCj4aYP.min.js} +32 -32
- package/dist/{revolugo.hotelofferitemlayout.Dpe1_FMy.min.js → revolugo.hotelofferitemlayout.DSbBWikv.min.js} +9 -9
- package/dist/{revolugo.hotelofferlist.BJycC4Of.min.js → revolugo.hotelofferlist.BpQDR4Wh.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.DYq8K7Ct.min.js → revolugo.hotelofferlist.Cj2C7Zi4.min.js} +460 -454
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.DIMPtwG2.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.BblFbDpa.min.js +829 -0
- package/dist/{revolugo.hoteloffersmap.DSsq4XP-.min.js → revolugo.hoteloffersmap.4IJuz8Kr.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.BL2dyzha.min.js → revolugo.hoteloffersmap.DLxrzp7A.min.js} +33 -33
- package/dist/{revolugo.hoteloffersview.BGrm1eOU.min.js → revolugo.hoteloffersview.BsL_RfVC.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.gV8BZDE8.min.js → revolugo.hoteloffersview.DMDKMCye.min.js} +48 -49
- package/dist/{revolugo.hotelroomofferlist.D4fuEiKU.min.js → revolugo.hotelroomofferlist.CqoX8wAD.min.js} +570 -597
- package/dist/{revolugo.hotelroomofferlist.BCUPuDy5.min.js → revolugo.hotelroomofferlist.CrMiA0E5.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.Dv34pWYy.min.js → revolugo.hotelroomofferrequestcreator.props.CV1b3F15.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.MX7B4HS4.min.js → revolugo.hotelroomoffersbookingflow.EoUemNqv.min.js} +33 -33
- package/dist/{revolugo.hotelroomoffersearchmenu.D4ClroPA.min.js → revolugo.hotelroomoffersearchmenu.Dj7xOa4W.min.js} +21 -20
- package/dist/{revolugo.hotelroomoffersearchmenu.D08ut6Wr.min.js → revolugo.hotelroomoffersearchmenu.ngvURW1c.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.Cw2QLEZr.min.js → revolugo.hotelroomoffersview.CwyVwZR_.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.B-v9bQrO.min.js → revolugo.hotelroomoffersview.DRv2agnW.min.js} +12 -12
- package/dist/revolugo.index.DDAUBYBh.min.js +67 -0
- package/dist/{revolugo.index.Bv92K2Ye.min.js → revolugo.index.qisZC-QI.min.js} +71 -71
- package/dist/{revolugo.index.wc.B0qizvXE.min.js → revolugo.index.wc.BzjxKm9K.min.js} +5172 -5082
- package/dist/{revolugo.langpicker.BdYeJHS7.min.js → revolugo.langpicker.C-S6u3-u.min.js} +12 -12
- package/dist/{revolugo.langpickerbtn.DkfWevjb.min.js → revolugo.langpickerbtn.D3uECmJK.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.B8zEJnmF.min.js → revolugo.langpickerbtn.D9CD4Bj3.min.js} +10 -10
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.CIND4Lom.min.js +36 -0
- package/dist/{revolugo.prebookform.Dt8Xq1UF.min.js → revolugo.prebookform.aGjJhr1R.min.js} +4 -4
- package/dist/{revolugo.prebookform.BhwJWvTS.min.js → revolugo.prebookform.rbCZlvHH.min.js} +21 -21
- package/dist/{revolugo.roominglisteditor.D5FNAQom.min.js → revolugo.roominglisteditor.B6-iMCHL.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.uWkpBxvd.min.js → revolugo.roominglisteditor.Ccuu1hR2.min.js} +9 -9
- package/dist/{revolugo.rounded.D6QsXHPb.min.js → revolugo.rounded.4lPQ9kFX.min.js} +2 -2
- package/dist/{revolugo.ssrboot._seCU8hc.min.js → revolugo.ssrboot.DHJaJ8JS.min.js} +4 -4
- package/dist/{revolugo.storybooktoolbar.Dr0gID6q.min.js → revolugo.storybooktoolbar.BQCF7Nnh.min.js} +107 -108
- package/dist/{revolugo.termsandconditions.DWwdFEEM.min.js → revolugo.termsandconditions.CQXI2fBL.min.js} +4 -4
- package/dist/revolugo.termsandconditions.D0ZQsUY6.min.js +405 -0
- package/dist/{revolugo.use-breakpoint-service.DcFKehRh.min.js → revolugo.use-breakpoint-service.C-hjHtUg.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.Cu1mmZwk.min.js → revolugo.use-dialog-attach.Czzi-3RI.min.js} +3 -3
- package/dist/revolugo.use-html-element.D6v1nK-L.min.js +11 -0
- package/dist/{revolugo.vautocomplete.BQCHxH2B.min.js → revolugo.vautocomplete.CurwGarB.min.js} +68 -68
- package/dist/{revolugo.vbadge.rFVXHHsE.min.js → revolugo.vbadge.CAoYMMWm.min.js} +21 -21
- package/dist/{revolugo.vbtn.z2Nv2s_A.min.js → revolugo.vbtn.CsZeeN8o.min.js} +44 -44
- package/dist/{revolugo.vcard.CqvpQb0V.min.js → revolugo.vcard._oiwzPZq.min.js} +30 -30
- package/dist/{revolugo.vcheckboxbtn.CIrc7Wp1.min.js → revolugo.vcheckboxbtn.DtbO_191.min.js} +62 -62
- package/dist/{revolugo.vdialog.Ct2ri8RU.min.js → revolugo.vdialog.B8w3JtNs.min.js} +15 -15
- package/dist/{revolugo.vdivider.DswPwlPP.min.js → revolugo.vdivider.BMaXASD1.min.js} +8 -8
- package/dist/{revolugo.vexpansionpanels.YyEBCJNN.min.js → revolugo.vexpansionpanels.tj0xf8uQ.min.js} +33 -33
- package/dist/{revolugo.vform.B4SOVz4C.min.js → revolugo.vform.CK0ZMifM.min.js} +10 -10
- package/dist/{revolugo.vicon.DxyPKaIP.min.js → revolugo.vicon.ChjALOWz.min.js} +21 -21
- package/dist/{revolugo.vinput.JVdEYSkJ.min.js → revolugo.vinput.Be9TwErW.min.js} +57 -57
- package/dist/{revolugo.vlabel.9R__MfVL.min.js → revolugo.vlabel.kUTWOnRf.min.js} +3 -3
- package/dist/{revolugo.vlist.Cys3PIO8.min.js → revolugo.vlist.CwdXG8X4.min.js} +36 -36
- package/dist/{revolugo.vmenu.BdoJ6DB5.min.js → revolugo.vmenu.Do9o54LY.min.js} +26 -26
- package/dist/{revolugo.vselect.CZ2KGl2h.min.js → revolugo.vselect.FSeFjW01.min.js} +50 -50
- package/dist/{revolugo.vsheet.CtMgmHlk.min.js → revolugo.vsheet.RQ8g0IIb.min.js} +16 -16
- package/dist/{revolugo.vskeletonloader.C7hmbjSV.min.js → revolugo.vskeletonloader.BTBm47P-.min.js} +9 -9
- package/dist/{revolugo.vslidegroup.dHznmG62.min.js → revolugo.vslidegroup.CxPt62zw.min.js} +52 -52
- package/dist/{revolugo.vsnackbar.DLo2YKIP.min.js → revolugo.vsnackbar.DKhErJRq.min.js} +19 -19
- package/dist/revolugo.vspacer.D8mMBxcQ.min.js +7 -0
- package/dist/{revolugo.vtextarea.CQJ0M6wH.min.js → revolugo.vtextarea.D8AZqjfK.min.js} +28 -28
- package/dist/{revolugo.vtextfield.UPzgmfaI.min.js → revolugo.vtextfield.CGEo7_cB.min.js} +63 -63
- package/dist/{revolugo.vtoolbar.B5MVJuVl.min.js → revolugo.vtoolbar.DXfaICLs.min.js} +22 -22
- package/dist/{revolugo.vtooltip.C5jWcj_9.min.js → revolugo.vtooltip.DzcL8CbM.min.js} +9 -9
- package/dist/{revolugo.vwindowitem.QqHY3FYk.min.js → revolugo.vwindowitem.C3s82jNI.min.js} +32 -32
- package/dist/{revolugo.watch-list.Z34YwPPD.min.js → revolugo.watch-list.DrNheBPf.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.r7aHwfWr.min.js → revolugo.webcomponentwrapper.XqvBRD6a.min.js} +319 -333
- package/package.json +1 -1
- package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
- package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +0 -1
- package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
- package/dist/revolugo.bhotelsearchbar.kzKlxvh9.min.js +0 -944
- package/dist/revolugo.defaultsdeep.D8dmkJFl.min.js +0 -104
- package/dist/revolugo.hotelofferrequestcreator.CG7emkhL.min.js +0 -231
- package/dist/revolugo.hoteloffersearchmenu.DgYbtckm.min.js +0 -47
- package/dist/revolugo.pathify.CF3DF_XP.min.js +0 -58
- package/dist/revolugo.termsandconditions.BWJftZCJ.min.js +0 -420
- package/dist/revolugo.use-html-element.DgyiCLuP.min.js +0 -11
- package/dist/revolugo.vspacer.DxNikbPN.min.js +0 -7
@@ -1,7 +1,7 @@
|
|
1
|
-
import { u as d, m as p } from "./revolugo.webcomponentwrapper.
|
2
|
-
import { c as v, d as b } from "./revolugo.vinput.
|
1
|
+
import { u as d, m as p } from "./revolugo.webcomponentwrapper.XqvBRD6a.min.js";
|
2
|
+
import { c as v, d as b } from "./revolugo.vinput.Be9TwErW.min.js";
|
3
3
|
import { f as F } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
4
|
-
import {
|
4
|
+
import { a1 as V, a2 as y, k as h, a as R } from "./revolugo.index.wc.BzjxKm9K.min.js";
|
5
5
|
const k = y({
|
6
6
|
...p(),
|
7
7
|
...b()
|
@@ -17,30 +17,30 @@ const k = y({
|
|
17
17
|
slots: m,
|
18
18
|
emit: f
|
19
19
|
} = n;
|
20
|
-
const
|
20
|
+
const a = v(o), r = h();
|
21
21
|
function i(s) {
|
22
|
-
s.preventDefault(),
|
22
|
+
s.preventDefault(), a.reset();
|
23
23
|
}
|
24
24
|
function l(s) {
|
25
|
-
const t = s, e =
|
25
|
+
const t = s, e = a.validate();
|
26
26
|
t.then = e.then.bind(e), t.catch = e.catch.bind(e), t.finally = e.finally.bind(e), f("submit", t), t.defaultPrevented || e.then((u) => {
|
27
27
|
let {
|
28
28
|
valid: c
|
29
29
|
} = u;
|
30
|
-
c &&
|
30
|
+
c && r.value?.submit();
|
31
31
|
}), t.preventDefault();
|
32
32
|
}
|
33
33
|
return d(() => R("form", {
|
34
|
-
ref:
|
34
|
+
ref: r,
|
35
35
|
class: ["v-form", o.class],
|
36
36
|
style: o.style,
|
37
37
|
novalidate: !0,
|
38
38
|
onReset: i,
|
39
39
|
onSubmit: l
|
40
|
-
}, [m.default?.(
|
40
|
+
}, [m.default?.(a)])), F(a, r);
|
41
41
|
}
|
42
42
|
});
|
43
43
|
export {
|
44
44
|
g as V
|
45
45
|
};
|
46
|
-
//# sourceMappingURL=revolugo.vform.
|
46
|
+
//# sourceMappingURL=revolugo.vform.CK0ZMifM.min.js.map
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { d as S, u as g, e as v, m as z } from "./revolugo.webcomponentwrapper.
|
2
|
-
import {
|
1
|
+
import { d as S, u as g, e as v, m as z } from "./revolugo.webcomponentwrapper.XqvBRD6a.min.js";
|
2
|
+
import { a2 as u, cE as C, cL as T, cM as k, ad as a, a1 as L, k as V, aK as y, cN as O, H as x, af as I, aM as b, a3 as w, cO as N, cP as _, a as M } from "./revolugo.index.wc.BzjxKm9K.min.js";
|
3
3
|
function E(e) {
|
4
4
|
try {
|
5
5
|
if (typeof document < "u") {
|
@@ -20,17 +20,17 @@ function E(e) {
|
|
20
20
|
console.error("[revolugo-elements] ", s);
|
21
21
|
}
|
22
22
|
}
|
23
|
-
const
|
23
|
+
const P = ["x-small", "small", "default", "large", "x-large"], R = u({
|
24
24
|
size: {
|
25
25
|
type: [String, Number],
|
26
26
|
default: "default"
|
27
27
|
}
|
28
28
|
}, "size");
|
29
|
-
function
|
29
|
+
function U(e) {
|
30
30
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : C();
|
31
31
|
return T(() => {
|
32
32
|
let t, n;
|
33
|
-
return k(
|
33
|
+
return k(P, e.size) ? t = `${s}--size-${e.size}` : e.size && (n = {
|
34
34
|
width: a(e.size),
|
35
35
|
height: a(e.size)
|
36
36
|
}), {
|
@@ -39,41 +39,41 @@ function P(e) {
|
|
39
39
|
};
|
40
40
|
});
|
41
41
|
}
|
42
|
-
const
|
42
|
+
const G = u({
|
43
43
|
color: String,
|
44
44
|
disabled: Boolean,
|
45
45
|
start: Boolean,
|
46
46
|
end: Boolean,
|
47
|
-
icon:
|
47
|
+
icon: w,
|
48
48
|
...z(),
|
49
|
-
...
|
49
|
+
...R(),
|
50
50
|
...v({
|
51
51
|
tag: "i"
|
52
52
|
}),
|
53
53
|
...b()
|
54
|
-
}, "VIcon"),
|
54
|
+
}, "VIcon"), K = L()({
|
55
55
|
name: "VIcon",
|
56
|
-
props:
|
56
|
+
props: G(),
|
57
57
|
setup(e, s) {
|
58
58
|
let {
|
59
59
|
attrs: t,
|
60
60
|
slots: n
|
61
61
|
} = s;
|
62
|
-
const c =
|
62
|
+
const c = V(), {
|
63
63
|
themeClasses: m
|
64
|
-
} =
|
64
|
+
} = y(e), {
|
65
65
|
iconData: r
|
66
|
-
} = x(
|
66
|
+
} = O(x(() => c.value || e.icon)), {
|
67
67
|
sizeClasses: d
|
68
|
-
} =
|
68
|
+
} = U(e), {
|
69
69
|
textColorClasses: f,
|
70
70
|
textColorStyles: h
|
71
|
-
} = S(
|
71
|
+
} = S(I(e, "color"));
|
72
72
|
return g(() => {
|
73
73
|
const l = n.default?.();
|
74
|
-
l && (c.value =
|
74
|
+
l && (c.value = N(l).filter((i) => i.type === _ && i.children && typeof i.children == "string")[0]?.children);
|
75
75
|
const o = !!(t.onClick || t.onClickOnce);
|
76
|
-
return
|
76
|
+
return M(r.value.component, {
|
77
77
|
tag: e.tag,
|
78
78
|
icon: r.value.icon,
|
79
79
|
class: ["v-icon", "notranslate", m.value, d.value, f.value, {
|
@@ -98,8 +98,8 @@ const M = u({
|
|
98
98
|
});
|
99
99
|
E("css/revolugo.vicon.eIkh7vVK.css");
|
100
100
|
export {
|
101
|
-
|
102
|
-
|
103
|
-
|
101
|
+
K as V,
|
102
|
+
R as m,
|
103
|
+
U as u
|
104
104
|
};
|
105
|
-
//# sourceMappingURL=revolugo.vicon.
|
105
|
+
//# sourceMappingURL=revolugo.vicon.ChjALOWz.min.js.map
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import { V as de } from "./revolugo.vicon.
|
3
|
-
import { z as ce, s as ve, m as fe } from "./revolugo.index.
|
4
|
-
import { d as me, u as N, M as ge, p as ye, m as U, n as pe, o as he } from "./revolugo.webcomponentwrapper.
|
5
|
-
function
|
1
|
+
import { ag as j, a as y, bW as X, cE as A, a6 as R, H as d, a2 as w, a4 as B, a1 as F, a7 as P, an as q, a9 as D, k as O, O as I, ap as J, af as Q, am as Z, aL as z, c2 as ee, p as ae, b4 as ne, Y as te, X as se, aS as L, W as le, aK as ie, aE as ue, aM as oe, a_ as re, a3 as $ } from "./revolugo.index.wc.BzjxKm9K.min.js";
|
2
|
+
import { V as de } from "./revolugo.vicon.ChjALOWz.min.js";
|
3
|
+
import { z as ce, s as ve, m as fe } from "./revolugo.index.qisZC-QI.min.js";
|
4
|
+
import { d as me, u as N, M as ge, p as ye, m as U, n as pe, o as he } from "./revolugo.webcomponentwrapper.XqvBRD6a.min.js";
|
5
|
+
function H(e) {
|
6
6
|
try {
|
7
7
|
if (typeof document < "u") {
|
8
8
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -38,7 +38,7 @@ function Ve(e) {
|
|
38
38
|
clear: "clear"
|
39
39
|
}[o], i = e[`onClick:${o}`];
|
40
40
|
function g(f) {
|
41
|
-
f.key !== "Enter" && f.key !== " " || (f.preventDefault(), f.stopPropagation(),
|
41
|
+
f.key !== "Enter" && f.key !== " " || (f.preventDefault(), f.stopPropagation(), X(i, new PointerEvent("click", f)));
|
42
42
|
}
|
43
43
|
const h = i && a ? s(`$vuetify.input.${a}`, e.label ?? "") : void 0;
|
44
44
|
return y(de, {
|
@@ -52,9 +52,9 @@ function Ve(e) {
|
|
52
52
|
InputIcon: u
|
53
53
|
};
|
54
54
|
}
|
55
|
-
const
|
55
|
+
const Se = w({
|
56
56
|
focused: Boolean,
|
57
|
-
"onUpdate:focused":
|
57
|
+
"onUpdate:focused": B()
|
58
58
|
}, "focus");
|
59
59
|
function De(e) {
|
60
60
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : A();
|
@@ -74,7 +74,7 @@ function De(e) {
|
|
74
74
|
blur: a
|
75
75
|
};
|
76
76
|
}
|
77
|
-
const
|
77
|
+
const Ee = w({
|
78
78
|
active: Boolean,
|
79
79
|
color: String,
|
80
80
|
messages: {
|
@@ -89,14 +89,14 @@ const Se = w({
|
|
89
89
|
group: !0
|
90
90
|
}
|
91
91
|
})
|
92
|
-
}, "VMessages"),
|
92
|
+
}, "VMessages"), be = F()({
|
93
93
|
name: "VMessages",
|
94
|
-
props:
|
94
|
+
props: Ee(),
|
95
95
|
setup(e, s) {
|
96
96
|
let {
|
97
97
|
slots: u
|
98
98
|
} = s;
|
99
|
-
const n = d(() =>
|
99
|
+
const n = d(() => P(e.messages)), {
|
100
100
|
textColorClasses: o,
|
101
101
|
textColorStyles: a
|
102
102
|
} = me(d(() => e.color));
|
@@ -163,21 +163,21 @@ function Re(e) {
|
|
163
163
|
}, {
|
164
164
|
deep: !0,
|
165
165
|
flush: "post"
|
166
|
-
}),
|
166
|
+
}), J(K, {
|
167
167
|
register: (t) => {
|
168
168
|
let {
|
169
169
|
id: l,
|
170
170
|
vm: c,
|
171
171
|
validate: r,
|
172
|
-
reset:
|
172
|
+
reset: S,
|
173
173
|
resetValidation: V
|
174
174
|
} = t;
|
175
|
-
a.value.some((
|
175
|
+
a.value.some((b) => b.id === l), a.value.push({
|
176
176
|
id: l,
|
177
177
|
validate: r,
|
178
|
-
reset:
|
178
|
+
reset: S,
|
179
179
|
resetValidation: V,
|
180
|
-
vm:
|
180
|
+
vm: Z(c),
|
181
181
|
isValid: null,
|
182
182
|
errorMessages: []
|
183
183
|
});
|
@@ -186,7 +186,7 @@ function Re(e) {
|
|
186
186
|
a.value = a.value.filter((l) => l.id !== t);
|
187
187
|
},
|
188
188
|
update: (t, l, c) => {
|
189
|
-
const r = a.value.find((
|
189
|
+
const r = a.value.find((S) => S.id === t);
|
190
190
|
r && (r.isValid = l, r.errorMessages = c);
|
191
191
|
},
|
192
192
|
isDisabled: u,
|
@@ -194,7 +194,7 @@ function Re(e) {
|
|
194
194
|
isValidating: o,
|
195
195
|
isValid: s,
|
196
196
|
items: a,
|
197
|
-
validateOn:
|
197
|
+
validateOn: Q(e, "validateOn")
|
198
198
|
}), {
|
199
199
|
errors: i,
|
200
200
|
isDisabled: u,
|
@@ -208,7 +208,7 @@ function Re(e) {
|
|
208
208
|
};
|
209
209
|
}
|
210
210
|
function Me(e) {
|
211
|
-
const s =
|
211
|
+
const s = q(K, null);
|
212
212
|
return {
|
213
213
|
...s,
|
214
214
|
isReadonly: d(() => !!(e?.readonly ?? s?.isReadonly.value)),
|
@@ -242,11 +242,11 @@ const ke = w({
|
|
242
242
|
modelValue: null,
|
243
243
|
validateOn: String,
|
244
244
|
validationValue: null,
|
245
|
-
...
|
245
|
+
...Se()
|
246
246
|
}, "validation");
|
247
247
|
function Ie(e) {
|
248
248
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : A(), u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : z();
|
249
|
-
const n = R(e, "modelValue"), o = d(() => e.validationValue === void 0 ? n.value : e.validationValue), a = Me(e), i = O([]), g = D(!0), h = d(() => !!(
|
249
|
+
const n = R(e, "modelValue"), o = d(() => e.validationValue === void 0 ? n.value : e.validationValue), a = Me(e), i = O([]), g = D(!0), h = d(() => !!(P(n.value === "" ? null : n.value).length || P(o.value === "" ? null : o.value).length)), f = d(() => e.errorMessages?.length ? P(e.errorMessages).concat(i.value).slice(0, Math.max(0, Number(e.maxErrors))) : i.value), t = d(() => {
|
250
250
|
let m = (e.validateOn ?? a.validateOn?.value) || "input";
|
251
251
|
m === "lazy" && (m = "input lazy"), m === "eager" && (m = "input eager");
|
252
252
|
const v = new Set(m?.split(" ") ?? []);
|
@@ -262,20 +262,20 @@ function Ie(e) {
|
|
262
262
|
[`${s}--dirty`]: h.value,
|
263
263
|
[`${s}--disabled`]: a.isDisabled.value,
|
264
264
|
[`${s}--readonly`]: a.isReadonly.value
|
265
|
-
})),
|
265
|
+
})), S = ee("validation"), V = d(() => e.name ?? ae(u));
|
266
266
|
ne(() => {
|
267
267
|
a.register?.({
|
268
268
|
id: V.value,
|
269
|
-
vm:
|
269
|
+
vm: S,
|
270
270
|
validate: p,
|
271
|
-
reset:
|
271
|
+
reset: b,
|
272
272
|
resetValidation: M
|
273
273
|
});
|
274
274
|
}), te(() => {
|
275
275
|
a.unregister?.(V.value);
|
276
276
|
}), se(async () => {
|
277
277
|
t.value.lazy || await p(!t.value.eager), a.update?.(V.value, l.value, f.value);
|
278
|
-
}),
|
278
|
+
}), L(() => t.value.input || t.value.invalidInput && l.value === !1, () => {
|
279
279
|
I(o, () => {
|
280
280
|
if (o.value != null)
|
281
281
|
p();
|
@@ -285,14 +285,14 @@ function Ie(e) {
|
|
285
285
|
});
|
286
286
|
}
|
287
287
|
});
|
288
|
-
}),
|
288
|
+
}), L(() => t.value.blur, () => {
|
289
289
|
I(() => e.focused, (m) => {
|
290
290
|
m || p();
|
291
291
|
});
|
292
292
|
}), I([l, f], () => {
|
293
293
|
a.update?.(V.value, l.value, f.value);
|
294
294
|
});
|
295
|
-
async function
|
295
|
+
async function b() {
|
296
296
|
n.value = null, await le(), await M();
|
297
297
|
}
|
298
298
|
async function M() {
|
@@ -305,13 +305,13 @@ function Ie(e) {
|
|
305
305
|
for (const k of e.rules) {
|
306
306
|
if (v.length >= Number(e.maxErrors ?? 1))
|
307
307
|
break;
|
308
|
-
const
|
309
|
-
if (
|
310
|
-
if (
|
311
|
-
console.warn(`${
|
308
|
+
const E = await (typeof k == "function" ? k : () => k)(o.value);
|
309
|
+
if (E !== !0) {
|
310
|
+
if (E !== !1 && typeof E != "string") {
|
311
|
+
console.warn(`${E} is not a valid value. Rule functions must return boolean true or a string.`);
|
312
312
|
continue;
|
313
313
|
}
|
314
|
-
v.push(
|
314
|
+
v.push(E || "");
|
315
315
|
}
|
316
316
|
}
|
317
317
|
return i.value = v, c.value = !1, g.value = m, i.value;
|
@@ -324,7 +324,7 @@ function Ie(e) {
|
|
324
324
|
isPristine: g,
|
325
325
|
isValid: l,
|
326
326
|
isValidating: c,
|
327
|
-
reset:
|
327
|
+
reset: b,
|
328
328
|
resetValidation: M,
|
329
329
|
validate: p,
|
330
330
|
validationClasses: r
|
@@ -332,12 +332,12 @@ function Ie(e) {
|
|
332
332
|
}
|
333
333
|
const we = w({
|
334
334
|
id: String,
|
335
|
-
appendIcon:
|
335
|
+
appendIcon: $,
|
336
336
|
centerAffix: {
|
337
337
|
type: Boolean,
|
338
338
|
default: !0
|
339
339
|
},
|
340
|
-
prependIcon:
|
340
|
+
prependIcon: $,
|
341
341
|
hideDetails: [Boolean, String],
|
342
342
|
hideSpinButtons: Boolean,
|
343
343
|
hint: String,
|
@@ -351,8 +351,8 @@ const we = w({
|
|
351
351
|
default: "horizontal",
|
352
352
|
validator: (e) => ["horizontal", "vertical"].includes(e)
|
353
353
|
},
|
354
|
-
"onClick:prepend":
|
355
|
-
"onClick:append":
|
354
|
+
"onClick:prepend": B(),
|
355
|
+
"onClick:append": B(),
|
356
356
|
...U(),
|
357
357
|
...fe(),
|
358
358
|
...re(he(), ["maxWidth", "minWidth", "width"]),
|
@@ -384,75 +384,75 @@ const we = w({
|
|
384
384
|
InputIcon: f
|
385
385
|
} = Ve(e), t = z(), l = d(() => e.id || `input-${t}`), c = d(() => `${l.value}-messages`), {
|
386
386
|
errorMessages: r,
|
387
|
-
isDirty:
|
387
|
+
isDirty: S,
|
388
388
|
isDisabled: V,
|
389
|
-
isReadonly:
|
389
|
+
isReadonly: b,
|
390
390
|
isPristine: M,
|
391
391
|
isValid: p,
|
392
392
|
isValidating: m,
|
393
393
|
reset: v,
|
394
394
|
resetValidation: k,
|
395
|
-
validate:
|
396
|
-
validationClasses:
|
397
|
-
} = Ie(e, "v-input", l),
|
395
|
+
validate: _,
|
396
|
+
validationClasses: E
|
397
|
+
} = Ie(e, "v-input", l), C = d(() => ({
|
398
398
|
id: l,
|
399
399
|
messagesId: c,
|
400
|
-
isDirty:
|
400
|
+
isDirty: S,
|
401
401
|
isDisabled: V,
|
402
|
-
isReadonly:
|
402
|
+
isReadonly: b,
|
403
403
|
isPristine: M,
|
404
404
|
isValid: p,
|
405
405
|
isValidating: m,
|
406
406
|
reset: v,
|
407
407
|
resetValidation: k,
|
408
|
-
validate:
|
408
|
+
validate: _
|
409
409
|
})), x = d(() => e.errorMessages?.length || !M.value && r.value.length ? r.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages);
|
410
410
|
return N(() => {
|
411
|
-
const Y = !!(n.prepend || e.prependIcon), G = !!(n.append || e.appendIcon), T = x.value.length > 0,
|
411
|
+
const Y = !!(n.prepend || e.prependIcon), G = !!(n.append || e.appendIcon), T = x.value.length > 0, W = !e.hideDetails || e.hideDetails === "auto" && (T || !!n.details);
|
412
412
|
return y("div", {
|
413
413
|
class: ["v-input", `v-input--${e.direction}`, {
|
414
414
|
"v-input--center-affix": e.centerAffix,
|
415
415
|
"v-input--hide-spin-buttons": e.hideSpinButtons
|
416
|
-
}, a.value, g.value, h.value,
|
416
|
+
}, a.value, g.value, h.value, E.value, e.class],
|
417
417
|
style: [i.value, e.style]
|
418
418
|
}, [Y && y("div", {
|
419
419
|
key: "prepend",
|
420
420
|
class: "v-input__prepend"
|
421
|
-
}, [n.prepend?.(
|
421
|
+
}, [n.prepend?.(C.value), e.prependIcon && y(f, {
|
422
422
|
key: "prepend-icon",
|
423
423
|
name: "prepend"
|
424
424
|
}, null)]), n.default && y("div", {
|
425
425
|
class: "v-input__control"
|
426
|
-
}, [n.default?.(
|
426
|
+
}, [n.default?.(C.value)]), G && y("div", {
|
427
427
|
key: "append",
|
428
428
|
class: "v-input__append"
|
429
429
|
}, [e.appendIcon && y(f, {
|
430
430
|
key: "append-icon",
|
431
431
|
name: "append"
|
432
|
-
}, null), n.append?.(
|
432
|
+
}, null), n.append?.(C.value)]), W && y("div", {
|
433
433
|
id: c.value,
|
434
434
|
class: "v-input__details",
|
435
435
|
role: "alert",
|
436
436
|
"aria-live": "polite"
|
437
|
-
}, [y(
|
437
|
+
}, [y(be, {
|
438
438
|
active: T,
|
439
439
|
messages: x.value
|
440
440
|
}, {
|
441
441
|
message: n.message
|
442
|
-
}), n.details?.(
|
442
|
+
}), n.details?.(C.value)])]);
|
443
443
|
}), {
|
444
444
|
reset: v,
|
445
445
|
resetValidation: k,
|
446
|
-
validate:
|
446
|
+
validate: _,
|
447
447
|
isValid: p,
|
448
448
|
errorMessages: r
|
449
449
|
};
|
450
450
|
}
|
451
451
|
});
|
452
|
-
|
452
|
+
H("css/revolugo.vinput.BPiFMorL.css");
|
453
453
|
export {
|
454
454
|
xe as V,
|
455
|
-
|
455
|
+
Se as a,
|
456
456
|
Me as b,
|
457
457
|
Re as c,
|
458
458
|
Oe as d,
|
@@ -460,4 +460,4 @@ export {
|
|
460
460
|
we as m,
|
461
461
|
De as u
|
462
462
|
};
|
463
|
-
//# sourceMappingURL=revolugo.vinput.
|
463
|
+
//# sourceMappingURL=revolugo.vinput.Be9TwErW.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.XqvBRD6a.min.js";
|
2
|
+
import { a1 as c, a2 as r, a as i, aM as m, a4 as E } from "./revolugo.index.wc.BzjxKm9K.min.js";
|
3
3
|
function l(e) {
|
4
4
|
try {
|
5
5
|
if (typeof document < "u") {
|
@@ -45,4 +45,4 @@ l("css/revolugo.vlabel.BvKaKg7Y.css");
|
|
45
45
|
export {
|
46
46
|
f as V
|
47
47
|
};
|
48
|
-
//# sourceMappingURL=revolugo.vlabel.
|
48
|
+
//# sourceMappingURL=revolugo.vlabel.kUTWOnRf.min.js.map
|