@revolugo/elements 6.8.3-beta.14 → 6.8.3-beta.15
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/fonts.css +1 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
- package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
- package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
- package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
- package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
- package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
- package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
- package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
- package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
- package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
- package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
- package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
- package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
- package/dist/{revolugo.hoteloffersearchmenu.CNQs7uf0.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
- package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
- package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
- package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
- package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
- package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
- package/dist/{revolugo.index.BK0e6ROR.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
- package/dist/{revolugo.index.wc.jjeh0psC.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
- package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
- package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
- package/dist/{revolugo.storybooktoolbar.ID2ZQ0P5.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
- package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
- package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
- package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
- package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +0 -1
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
- package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
- package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
- package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
- package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
- package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
- package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
- package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
- package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
- package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
- package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
- package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
- package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
- package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
- package/dist/css/revolugo.vtextarea.BTR7f0gW.css +0 -1
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
- package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
- package/dist/revolugo._baseiteratee.BhaL3Ihm.min.js +0 -247
- package/dist/revolugo.banktransferdetails.Ac8FSLVW.min.js +0 -358
- package/dist/revolugo.bdaterangepicker.hVwM6ipX.min.js +0 -8324
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BS1jYuno.min.js +0 -140
- package/dist/revolugo.bhoteloffersfilterbar.qDSKNDlZ.min.js +0 -4209
- package/dist/revolugo.bhotelroomsdetails.E0vCwuBV.min.js +0 -965
- package/dist/revolugo.bimagecarousel.DyzQUjzi.min.js +0 -480
- package/dist/revolugo.bookingdetailssidebar.4s_eSQg4.min.js +0 -37
- package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.JNe9c8M3.min.js +0 -811
- package/dist/revolugo.bookingmanager.6yPgoaWw.min.js +0 -1755
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BbtWMTnV.min.js +0 -91
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Csh7MNV1.min.js +0 -570
- package/dist/revolugo.btag.ySOeDeLw.min.js +0 -375
- package/dist/revolugo.cancellationpoliciesbadge.W3M5rQIz.min.js +0 -198
- package/dist/revolugo.cancellationpoliciesbadge.dr9YreJC.min.js +0 -28
- package/dist/revolugo.cancellationpolicieslist.BaZc434S.min.js +0 -25
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
- package/dist/revolugo.cancellationpolicieslist.pxTuDh2s.min.js +0 -148
- package/dist/revolugo.case-transformers.C_YgD3nA.min.js +0 -123
- package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
- package/dist/revolugo.creditcardform.BTlkvOgH.min.js +0 -2148
- package/dist/revolugo.creditcardform.DJe7Njnk.min.js +0 -24
- package/dist/revolugo.creditcardpayment.BEj51mBs.min.js +0 -24
- package/dist/revolugo.creditcardpayment.BfM_sNj1.min.js +0 -885
- package/dist/revolugo.currencypicker.CWG49Zhf.min.js +0 -330
- package/dist/revolugo.currencypickerbtn.D15jjm6y.min.js +0 -157
- package/dist/revolugo.currencypickerbtn.DpGFoemK.min.js +0 -24
- package/dist/revolugo.dates.BodUWcoy.min.js +0 -31
- package/dist/revolugo.defaultsdeep.BQVrU_I2.min.js +0 -104
- package/dist/revolugo.dialog-attach.DrmEgjzG.min.js +0 -27
- package/dist/revolugo.dialog-transition.x1E-leWE.min.js +0 -111
- package/dist/revolugo.fastbookingflow.Bu26X9eR.min.js +0 -34
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
- package/dist/revolugo.fullbookingflow.7eCzxgkm.min.js +0 -429
- package/dist/revolugo.hotel-offer-request.CS9yN6dC.min.js +0 -98
- package/dist/revolugo.hoteldescriptionview.BcGnT767.min.js +0 -24
- package/dist/revolugo.hoteldescriptionview.CpHXBzEy.min.js +0 -2960
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.BR7jcumI.min.js +0 -241
- package/dist/revolugo.hotelofferlist.B9RDtc0D.min.js +0 -5624
- package/dist/revolugo.hotelofferlist.BeTc6Ypd.min.js +0 -24
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
- package/dist/revolugo.hoteloffersearchmenuui.D26rRLl9.min.js +0 -829
- package/dist/revolugo.hoteloffersmap.Ce0wWt8l.min.js +0 -9016
- package/dist/revolugo.hoteloffersmap.DWMFOwWt.min.js +0 -24
- package/dist/revolugo.hoteloffersview.BOdQbV-Z.min.js +0 -614
- package/dist/revolugo.hoteloffersview.pWsKhpam.min.js +0 -19
- package/dist/revolugo.hotelroomofferlist.BYjhiVd9.min.js +0 -2759
- package/dist/revolugo.hotelroomofferlist.FjLqM2qT.min.js +0 -24
- package/dist/revolugo.hotelroomofferrequestcreator.props.DaO-XF8o.min.js +0 -171
- package/dist/revolugo.hotelroomoffersbookingflow.BIhSA__v.min.js +0 -1281
- package/dist/revolugo.hotelroomoffersearchmenu.B4L9T_pD.min.js +0 -231
- package/dist/revolugo.hotelroomoffersearchmenu.DmxmMPap.min.js +0 -25
- package/dist/revolugo.hotelroomoffersview.BSuVaUYS.min.js +0 -290
- package/dist/revolugo.hotelroomoffersview.DikMXiku.min.js +0 -24
- package/dist/revolugo.index.CpbrPSdc.min.js +0 -1232
- package/dist/revolugo.langpicker.CfywWRmf.min.js +0 -99
- package/dist/revolugo.langpickerbtn.DOhtMneJ.min.js +0 -131
- package/dist/revolugo.langpickerbtn.Dj9tOUTP.min.js +0 -29
- package/dist/revolugo.parsed-props.DoxQeA2G.min.js +0 -39
- package/dist/revolugo.pathify.DyWzmaeA.min.js +0 -36
- package/dist/revolugo.prebookform.BhhN6y68.min.js +0 -24
- package/dist/revolugo.prebookform.P5zcfTNX.min.js +0 -3373
- package/dist/revolugo.roominglisteditor.Bxrs0KHA.min.js +0 -24
- package/dist/revolugo.roominglisteditor.CVYLzHRT.min.js +0 -377
- package/dist/revolugo.rounded.NtUKwXJe.min.js +0 -68
- package/dist/revolugo.ssrboot.CsFDZ3GY.min.js +0 -18
- package/dist/revolugo.termsandconditions.CRRHtizQ.min.js +0 -405
- package/dist/revolugo.termsandconditions.CbleG1D9.min.js +0 -23
- package/dist/revolugo.use-breakpoint-service.BPw7628u.min.js +0 -39
- package/dist/revolugo.use-dialog-attach.CHjkmbrv.min.js +0 -16
- package/dist/revolugo.use-html-element.CSI1N3ea.min.js +0 -11
- package/dist/revolugo.use-parsed-props.D5H5p3rX.min.js +0 -29
- package/dist/revolugo.vautocomplete.CPWUQuA8.min.js +0 -445
- package/dist/revolugo.vbadge.B41nGplL.min.js +0 -112
- package/dist/revolugo.vbtn.DU_4A0p_.min.js +0 -398
- package/dist/revolugo.vcard.gzoVNZt3.min.js +0 -313
- package/dist/revolugo.vcheckboxbtn.7vWER-xI.min.js +0 -478
- package/dist/revolugo.vdialog.CiTP3_6P.min.js +0 -133
- package/dist/revolugo.vdivider.BnYK7z-u.min.js +0 -77
- package/dist/revolugo.vexpansionpanels.Cwh53uEX.min.js +0 -262
- package/dist/revolugo.vform.DMmShcfR.min.js +0 -46
- package/dist/revolugo.vicon.WVuIv40M.min.js +0 -105
- package/dist/revolugo.vinput.C5btOxFW.min.js +0 -463
- package/dist/revolugo.vlabel.B3Ew8qSb.min.js +0 -48
- package/dist/revolugo.vlist.OYNsGaEP.min.js +0 -1299
- package/dist/revolugo.vmenu.CtthwTkl.min.js +0 -145
- package/dist/revolugo.vselect.Be8zaTpJ.min.js +0 -660
- package/dist/revolugo.vsheet.bokzfSqi.min.js +0 -72
- package/dist/revolugo.vskeletonloader.BmgnfVnz.min.js +0 -136
- package/dist/revolugo.vslidegroup.ChXAadfi.min.js +0 -325
- package/dist/revolugo.vsnackbar.pqrGnOMz.min.js +0 -198
- package/dist/revolugo.vspacer.Cat0A_Ek.min.js +0 -7
- package/dist/revolugo.vtextarea.DaPe8V7w.min.js +0 -240
- package/dist/revolugo.vtextfield.BxXOaS0D.min.js +0 -501
- package/dist/revolugo.vtoolbar.6Nyge05T.min.js +0 -180
- package/dist/revolugo.vtooltip.ckXYGzYH.min.js +0 -89
- package/dist/revolugo.vwindowitem.CbN0F8kL.min.js +0 -317
- package/dist/revolugo.watch-list.CGB3U4_b.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.Cl0TkD0k.min.js +0 -2088
@@ -1,198 +0,0 @@
|
|
1
|
-
import { f as U, u as A, l as P, y as D, E as G, F as B } from "./revolugo.webcomponentwrapper.Cl0TkD0k.min.js";
|
2
|
-
import { f as F } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
3
|
-
import { n as K, t as j, v as H, o as $, p as J, g as W, V as X, a as q } from "./revolugo.index.CpbrPSdc.min.js";
|
4
|
-
import { $ as z, a0 as Q, a4 as Z, aK as ee, r as h, a7 as b, ap as te, aI as ae, O as g, X as ne, cr as oe, H as se, a as s, D as p, a8 as re, aN as ie, aJ as le, W as ce, aa as ue } from "./revolugo.index.wc.jjeh0psC.min.js";
|
5
|
-
import { b as me, a as ve } from "./revolugo.rounded.NtUKwXJe.min.js";
|
6
|
-
function I(e) {
|
7
|
-
try {
|
8
|
-
if (typeof document < "u") {
|
9
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
10
|
-
sheets: [],
|
11
|
-
components: []
|
12
|
-
};
|
13
|
-
const o = import.meta.url, a = o.slice(0, o.lastIndexOf("/") + 1) + e;
|
14
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
|
15
|
-
for (const t of REVOLUGO_ELEMENTS_STYLES.components)
|
16
|
-
t(a);
|
17
|
-
if (e.indexOf("fonts") >= 0) {
|
18
|
-
const t = document.createElement("link");
|
19
|
-
t.rel = "stylesheet", linK.href = a, document.head.appendChild(t);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
} catch (o) {
|
23
|
-
console.error("[revolugo-elements] ", o);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
function fe(e) {
|
27
|
-
const o = b(e());
|
28
|
-
let a = -1;
|
29
|
-
function t() {
|
30
|
-
clearInterval(a);
|
31
|
-
}
|
32
|
-
function v() {
|
33
|
-
t(), ce(() => o.value = e());
|
34
|
-
}
|
35
|
-
function f(i) {
|
36
|
-
const d = i ? getComputedStyle(i) : {
|
37
|
-
transitionDuration: 0.2
|
38
|
-
}, l = parseFloat(d.transitionDuration) * 1e3 || 200;
|
39
|
-
if (t(), o.value <= 0) return;
|
40
|
-
const k = performance.now();
|
41
|
-
a = window.setInterval(() => {
|
42
|
-
const y = performance.now() - k + l;
|
43
|
-
o.value = Math.max(e() - y, 0), o.value <= 0 && t();
|
44
|
-
}, l);
|
45
|
-
}
|
46
|
-
return le(t), {
|
47
|
-
clear: t,
|
48
|
-
time: o,
|
49
|
-
start: f,
|
50
|
-
reset: v
|
51
|
-
};
|
52
|
-
}
|
53
|
-
const de = Q({
|
54
|
-
multiLine: Boolean,
|
55
|
-
text: String,
|
56
|
-
timer: [Boolean, String],
|
57
|
-
timeout: {
|
58
|
-
type: [Number, String],
|
59
|
-
default: 5e3
|
60
|
-
},
|
61
|
-
vertical: Boolean,
|
62
|
-
...J({
|
63
|
-
location: "bottom"
|
64
|
-
}),
|
65
|
-
...$(),
|
66
|
-
...ve(),
|
67
|
-
...H(),
|
68
|
-
...ie(),
|
69
|
-
...re(D({
|
70
|
-
transition: "v-snackbar-transition"
|
71
|
-
}), ["persistent", "noClickAnimation", "scrim", "scrollStrategy"])
|
72
|
-
}, "VSnackbar"), Ee = z()({
|
73
|
-
name: "VSnackbar",
|
74
|
-
props: de(),
|
75
|
-
emits: {
|
76
|
-
"update:modelValue": (e) => !0
|
77
|
-
},
|
78
|
-
setup(e, o) {
|
79
|
-
let {
|
80
|
-
slots: a
|
81
|
-
} = o;
|
82
|
-
const t = Z(e, "modelValue"), {
|
83
|
-
positionClasses: v
|
84
|
-
} = K(e), {
|
85
|
-
scopeId: f
|
86
|
-
} = U(), {
|
87
|
-
themeClasses: i
|
88
|
-
} = ee(e), {
|
89
|
-
colorClasses: d,
|
90
|
-
colorStyles: l,
|
91
|
-
variantClasses: k
|
92
|
-
} = j(e), {
|
93
|
-
roundedClasses: y
|
94
|
-
} = me(e), c = fe(() => Number(e.timeout)), E = h(), T = h(), u = b(!1), w = b(0), V = h(), _ = te(G, void 0);
|
95
|
-
ae(() => !!_, () => {
|
96
|
-
const n = B();
|
97
|
-
ue(() => {
|
98
|
-
V.value = n.mainStyles.value;
|
99
|
-
});
|
100
|
-
}), g(t, m), g(() => e.timeout, m), ne(() => {
|
101
|
-
t.value && m();
|
102
|
-
});
|
103
|
-
let S = -1;
|
104
|
-
function m() {
|
105
|
-
c.reset(), window.clearTimeout(S);
|
106
|
-
const n = Number(e.timeout);
|
107
|
-
if (!t.value || n === -1) return;
|
108
|
-
const r = oe(T.value);
|
109
|
-
c.start(r), S = window.setTimeout(() => {
|
110
|
-
t.value = !1;
|
111
|
-
}, n);
|
112
|
-
}
|
113
|
-
function C() {
|
114
|
-
c.reset(), window.clearTimeout(S);
|
115
|
-
}
|
116
|
-
function O() {
|
117
|
-
u.value = !0, C();
|
118
|
-
}
|
119
|
-
function L() {
|
120
|
-
u.value = !1, m();
|
121
|
-
}
|
122
|
-
function x(n) {
|
123
|
-
w.value = n.touches[0].clientY;
|
124
|
-
}
|
125
|
-
function R(n) {
|
126
|
-
Math.abs(w.value - n.changedTouches[0].clientY) > 50 && (t.value = !1);
|
127
|
-
}
|
128
|
-
function N() {
|
129
|
-
u.value && L();
|
130
|
-
}
|
131
|
-
const M = se(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
|
132
|
-
return A(() => {
|
133
|
-
const n = P.filterProps(e), r = !!(a.default || a.text || e.text);
|
134
|
-
return s(P, p({
|
135
|
-
ref: E,
|
136
|
-
class: ["v-snackbar", {
|
137
|
-
"v-snackbar--active": t.value,
|
138
|
-
"v-snackbar--multi-line": e.multiLine && !e.vertical,
|
139
|
-
"v-snackbar--timer": !!e.timer,
|
140
|
-
"v-snackbar--vertical": e.vertical
|
141
|
-
}, M.value, v.value, e.class],
|
142
|
-
style: [V.value, e.style]
|
143
|
-
}, n, {
|
144
|
-
modelValue: t.value,
|
145
|
-
"onUpdate:modelValue": (Y) => t.value = Y,
|
146
|
-
contentProps: p({
|
147
|
-
class: ["v-snackbar__wrapper", i.value, d.value, y.value, k.value],
|
148
|
-
style: [l.value],
|
149
|
-
onPointerenter: O,
|
150
|
-
onPointerleave: L
|
151
|
-
}, n.contentProps),
|
152
|
-
persistent: !0,
|
153
|
-
noClickAnimation: !0,
|
154
|
-
scrim: !1,
|
155
|
-
scrollStrategy: "none",
|
156
|
-
_disableGlobalStack: !0,
|
157
|
-
onTouchstartPassive: x,
|
158
|
-
onTouchend: R,
|
159
|
-
onAfterLeave: N
|
160
|
-
}, f), {
|
161
|
-
default: () => [W(!1, "v-snackbar"), e.timer && !u.value && s("div", {
|
162
|
-
key: "timer",
|
163
|
-
class: "v-snackbar__timer"
|
164
|
-
}, [s(X, {
|
165
|
-
ref: T,
|
166
|
-
color: typeof e.timer == "string" ? e.timer : "info",
|
167
|
-
max: e.timeout,
|
168
|
-
"model-value": c.time.value
|
169
|
-
}, null)]), r && s("div", {
|
170
|
-
key: "content",
|
171
|
-
class: "v-snackbar__content",
|
172
|
-
role: "status",
|
173
|
-
"aria-live": "polite"
|
174
|
-
}, [a.text?.() ?? e.text, a.default?.()]), a.actions && s(q, {
|
175
|
-
defaults: {
|
176
|
-
VBtn: {
|
177
|
-
variant: "text",
|
178
|
-
ripple: !1,
|
179
|
-
slim: !0
|
180
|
-
}
|
181
|
-
}
|
182
|
-
}, {
|
183
|
-
default: () => [s("div", {
|
184
|
-
class: "v-snackbar__actions"
|
185
|
-
}, [a.actions({
|
186
|
-
isActive: t
|
187
|
-
})])]
|
188
|
-
})],
|
189
|
-
activator: a.activator
|
190
|
-
});
|
191
|
-
}), F({}, E);
|
192
|
-
}
|
193
|
-
});
|
194
|
-
I("css/revolugo.vsnackbar.CCfuo3ao.css");
|
195
|
-
export {
|
196
|
-
Ee as V
|
197
|
-
};
|
198
|
-
//# sourceMappingURL=revolugo.vsnackbar.pqrGnOMz.min.js.map
|
@@ -1,240 +0,0 @@
|
|
1
|
-
import { $ as te, a0 as ae, a4 as ne, H as E, r as m, a7 as oe, aa as le, X as re, O as x, Y as ie, b4 as ue, a as o, D as R, W as k, ab as se, aE as ce, F as I, J as p, aG as de, bW as fe, bX as ve } from "./revolugo.index.wc.jjeh0psC.min.js";
|
2
|
-
import { a as G, m as me, b as xe } from "./revolugo.vtextfield.BxXOaS0D.min.js";
|
3
|
-
import { u as he, V as U, m as ge } from "./revolugo.vinput.C5btOxFW.min.js";
|
4
|
-
import { f as we } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
5
|
-
import { I as Ve } from "./revolugo.index.CpbrPSdc.min.js";
|
6
|
-
import { u as ye } from "./revolugo.webcomponentwrapper.Cl0TkD0k.min.js";
|
7
|
-
function ee(e) {
|
8
|
-
try {
|
9
|
-
if (typeof document < "u") {
|
10
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
11
|
-
sheets: [],
|
12
|
-
components: []
|
13
|
-
};
|
14
|
-
const a = import.meta.url, r = a.slice(0, a.lastIndexOf("/") + 1) + e;
|
15
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(r);
|
16
|
-
for (const s of REVOLUGO_ELEMENTS_STYLES.components)
|
17
|
-
s(r);
|
18
|
-
if (e.indexOf("fonts") >= 0) {
|
19
|
-
const s = document.createElement("link");
|
20
|
-
s.rel = "stylesheet", linK.href = r, document.head.appendChild(s);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
} catch (a) {
|
24
|
-
console.error("[revolugo-elements] ", a);
|
25
|
-
}
|
26
|
-
}
|
27
|
-
const ke = {
|
28
|
-
alpha: (e) => /[a-zA-Z]/u.test(e),
|
29
|
-
email: (e) => /.+@.+\..+/u.test(e),
|
30
|
-
match: (e, a) => e.match(a) !== null,
|
31
|
-
maxCount: (e, a) => e <= a,
|
32
|
-
maxLength: (e, a) => e.length <= a,
|
33
|
-
minCount: (e, a) => e >= a,
|
34
|
-
minLength: (e, a) => e.length >= a,
|
35
|
-
minMax: (e, a, r) => e >= a && e <= r,
|
36
|
-
password: (e) => /(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*]).{8,}/u.test(e),
|
37
|
-
phone: (e) => /[\d-]+/u.test(e),
|
38
|
-
required: (e) => !!e
|
39
|
-
}, Ee = ae({
|
40
|
-
autoGrow: Boolean,
|
41
|
-
autofocus: Boolean,
|
42
|
-
counter: [Boolean, Number, String],
|
43
|
-
counterValue: Function,
|
44
|
-
prefix: String,
|
45
|
-
placeholder: String,
|
46
|
-
persistentPlaceholder: Boolean,
|
47
|
-
persistentCounter: Boolean,
|
48
|
-
noResize: Boolean,
|
49
|
-
rows: {
|
50
|
-
type: [Number, String],
|
51
|
-
default: 5,
|
52
|
-
validator: (e) => !isNaN(parseFloat(e))
|
53
|
-
},
|
54
|
-
maxRows: {
|
55
|
-
type: [Number, String],
|
56
|
-
validator: (e) => !isNaN(parseFloat(e))
|
57
|
-
},
|
58
|
-
suffix: String,
|
59
|
-
modelModifiers: Object,
|
60
|
-
...ge(),
|
61
|
-
...me()
|
62
|
-
}, "VTextarea"), Ie = te()({
|
63
|
-
name: "VTextarea",
|
64
|
-
directives: {
|
65
|
-
Intersect: Ve
|
66
|
-
},
|
67
|
-
inheritAttrs: !1,
|
68
|
-
props: Ee(),
|
69
|
-
emits: {
|
70
|
-
"click:control": (e) => !0,
|
71
|
-
"mousedown:control": (e) => !0,
|
72
|
-
"update:focused": (e) => !0,
|
73
|
-
"update:modelValue": (e) => !0
|
74
|
-
},
|
75
|
-
setup(e, a) {
|
76
|
-
let {
|
77
|
-
attrs: r,
|
78
|
-
emit: s,
|
79
|
-
slots: c
|
80
|
-
} = a;
|
81
|
-
const l = ne(e, "modelValue"), {
|
82
|
-
isFocused: v,
|
83
|
-
focus: z,
|
84
|
-
blur: A
|
85
|
-
} = he(e), B = E(() => typeof e.counterValue == "function" ? e.counterValue(l.value) : (l.value || "").toString().length), H = E(() => {
|
86
|
-
if (r.maxlength) return r.maxlength;
|
87
|
-
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
88
|
-
return e.counter;
|
89
|
-
});
|
90
|
-
function D(t, n) {
|
91
|
-
!e.autofocus || !t || n[0].target?.focus?.();
|
92
|
-
}
|
93
|
-
const T = m(), h = m(), _ = oe(""), g = m(), Y = E(() => e.persistentPlaceholder || v.value || e.active);
|
94
|
-
function S() {
|
95
|
-
g.value !== document.activeElement && g.value?.focus(), v.value || z();
|
96
|
-
}
|
97
|
-
function $(t) {
|
98
|
-
S(), s("click:control", t);
|
99
|
-
}
|
100
|
-
function W(t) {
|
101
|
-
s("mousedown:control", t);
|
102
|
-
}
|
103
|
-
function j(t) {
|
104
|
-
t.stopPropagation(), S(), k(() => {
|
105
|
-
l.value = "", ve(e["onClick:clear"], t);
|
106
|
-
});
|
107
|
-
}
|
108
|
-
function X(t) {
|
109
|
-
const n = t.target;
|
110
|
-
if (l.value = n.value, e.modelModifiers?.trim) {
|
111
|
-
const i = [n.selectionStart, n.selectionEnd];
|
112
|
-
k(() => {
|
113
|
-
n.selectionStart = i[0], n.selectionEnd = i[1];
|
114
|
-
});
|
115
|
-
}
|
116
|
-
}
|
117
|
-
const d = m(), w = m(Number(e.rows)), b = E(() => ["plain", "underlined"].includes(e.variant));
|
118
|
-
le(() => {
|
119
|
-
e.autoGrow || (w.value = Number(e.rows));
|
120
|
-
});
|
121
|
-
function f() {
|
122
|
-
e.autoGrow && k(() => {
|
123
|
-
if (!d.value || !h.value) return;
|
124
|
-
const t = getComputedStyle(d.value), n = getComputedStyle(h.value.$el), i = parseFloat(t.getPropertyValue("--v-field-padding-top")) + parseFloat(t.getPropertyValue("--v-input-padding-top")) + parseFloat(t.getPropertyValue("--v-field-padding-bottom")), C = d.value.scrollHeight, y = parseFloat(t.lineHeight), F = Math.max(parseFloat(e.rows) * y + i, parseFloat(n.getPropertyValue("--v-input-control-height"))), P = parseFloat(e.maxRows) * y + i || 1 / 0, u = ce(C ?? 0, F, P);
|
125
|
-
w.value = Math.floor((u - i) / y), _.value = se(u);
|
126
|
-
});
|
127
|
-
}
|
128
|
-
re(f), x(l, f), x(() => e.rows, f), x(() => e.maxRows, f), x(() => e.density, f);
|
129
|
-
let V;
|
130
|
-
return x(d, (t) => {
|
131
|
-
t ? (V = new ResizeObserver(f), V.observe(d.value)) : V?.disconnect();
|
132
|
-
}), ie(() => {
|
133
|
-
V?.disconnect();
|
134
|
-
}), ye(() => {
|
135
|
-
const t = !!(c.counter || e.counter || e.counterValue), n = !!(t || c.details), [i, C] = ue(r), {
|
136
|
-
modelValue: y,
|
137
|
-
...F
|
138
|
-
} = U.filterProps(e), P = G.filterProps(e);
|
139
|
-
return o(U, R({
|
140
|
-
ref: T,
|
141
|
-
modelValue: l.value,
|
142
|
-
"onUpdate:modelValue": (u) => l.value = u,
|
143
|
-
class: ["v-textarea v-text-field", {
|
144
|
-
"v-textarea--prefixed": e.prefix,
|
145
|
-
"v-textarea--suffixed": e.suffix,
|
146
|
-
"v-text-field--prefixed": e.prefix,
|
147
|
-
"v-text-field--suffixed": e.suffix,
|
148
|
-
"v-textarea--auto-grow": e.autoGrow,
|
149
|
-
"v-textarea--no-resize": e.noResize || e.autoGrow,
|
150
|
-
"v-input--plain-underlined": b.value
|
151
|
-
}, e.class],
|
152
|
-
style: e.style
|
153
|
-
}, i, F, {
|
154
|
-
centerAffix: w.value === 1 && !b.value,
|
155
|
-
focused: v.value
|
156
|
-
}), {
|
157
|
-
...c,
|
158
|
-
default: (u) => {
|
159
|
-
let {
|
160
|
-
id: Z,
|
161
|
-
isDisabled: L,
|
162
|
-
isDirty: M,
|
163
|
-
isReadonly: q,
|
164
|
-
isValid: J
|
165
|
-
} = u;
|
166
|
-
return o(G, R({
|
167
|
-
ref: h,
|
168
|
-
style: {
|
169
|
-
"--v-textarea-control-height": _.value
|
170
|
-
},
|
171
|
-
onClick: $,
|
172
|
-
onMousedown: W,
|
173
|
-
"onClick:clear": j,
|
174
|
-
"onClick:prependInner": e["onClick:prependInner"],
|
175
|
-
"onClick:appendInner": e["onClick:appendInner"]
|
176
|
-
}, P, {
|
177
|
-
id: Z.value,
|
178
|
-
active: Y.value || M.value,
|
179
|
-
centerAffix: w.value === 1 && !b.value,
|
180
|
-
dirty: M.value || e.dirty,
|
181
|
-
disabled: L.value,
|
182
|
-
focused: v.value,
|
183
|
-
error: J.value === !1
|
184
|
-
}), {
|
185
|
-
...c,
|
186
|
-
default: (K) => {
|
187
|
-
let {
|
188
|
-
props: {
|
189
|
-
class: N,
|
190
|
-
...O
|
191
|
-
}
|
192
|
-
} = K;
|
193
|
-
return o(I, null, [e.prefix && o("span", {
|
194
|
-
class: "v-text-field__prefix"
|
195
|
-
}, [e.prefix]), p(o("textarea", R({
|
196
|
-
ref: g,
|
197
|
-
class: N,
|
198
|
-
value: l.value,
|
199
|
-
onInput: X,
|
200
|
-
autofocus: e.autofocus,
|
201
|
-
readonly: q.value,
|
202
|
-
disabled: L.value,
|
203
|
-
placeholder: e.placeholder,
|
204
|
-
rows: e.rows,
|
205
|
-
name: e.name,
|
206
|
-
onFocus: S,
|
207
|
-
onBlur: A
|
208
|
-
}, O, C), null), [[de("intersect"), {
|
209
|
-
handler: D
|
210
|
-
}, null, {
|
211
|
-
once: !0
|
212
|
-
}]]), e.autoGrow && p(o("textarea", {
|
213
|
-
class: [N, "v-textarea__sizer"],
|
214
|
-
id: `${O.id}-sizer`,
|
215
|
-
"onUpdate:modelValue": (Q) => l.value = Q,
|
216
|
-
ref: d,
|
217
|
-
readonly: !0,
|
218
|
-
"aria-hidden": "true"
|
219
|
-
}, null), [[fe, l.value]]), e.suffix && o("span", {
|
220
|
-
class: "v-text-field__suffix"
|
221
|
-
}, [e.suffix])]);
|
222
|
-
}
|
223
|
-
});
|
224
|
-
},
|
225
|
-
details: n ? (u) => o(I, null, [c.details?.(u), t && o(I, null, [o("span", null, null), o(xe, {
|
226
|
-
active: e.persistentCounter || v.value,
|
227
|
-
value: B.value,
|
228
|
-
max: H.value,
|
229
|
-
disabled: e.disabled
|
230
|
-
}, c.counter)])]) : void 0
|
231
|
-
});
|
232
|
-
}), we({}, T, h, g);
|
233
|
-
}
|
234
|
-
});
|
235
|
-
ee("css/revolugo.vtextarea.BTR7f0gW.css");
|
236
|
-
export {
|
237
|
-
Ie as V,
|
238
|
-
ke as v
|
239
|
-
};
|
240
|
-
//# sourceMappingURL=revolugo.vtextarea.DaPe8V7w.min.js.map
|