@revolugo/elements 6.8.2-beta.17 → 6.8.2-beta.19
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.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/{revolugo._baseiteratee.9aXzP6mP.min.js → revolugo._baseiteratee.B8DzmtV9.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.Bqu253tP.min.js → revolugo.banktransferdetails.B6Q2z-jl.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.BkDhd5yu.min.js → revolugo.bdaterangepicker.DHh-hIJ0.min.js} +12 -11
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CankMxdA.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js} +2 -2
- package/dist/{revolugo.bhoteloffersfilterbar.twJ6QRrq.min.js → revolugo.bhoteloffersfilterbar.BicCxI8N.min.js} +66 -64
- package/dist/{revolugo.bhotelroomsdetails.Cpx4Kv9k.min.js → revolugo.bhotelroomsdetails.BZMXBHqw.min.js} +16 -15
- package/dist/{revolugo.bhotelsearchbar.CvAfwZA1.min.js → revolugo.bhotelsearchbar.Db7f-Myf.min.js} +16 -16
- package/dist/{revolugo.bimagecarousel.DGCyuAnO.min.js → revolugo.bimagecarousel.BYWPajeF.min.js} +22 -23
- package/dist/{revolugo.bookingdetailssidebar.ChDyoObM.min.js → revolugo.bookingdetailssidebar.BZUVjXtx.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.CGxvrtzn.min.js → revolugo.bookingdetailssidebar.DpvhWAPj.min.js} +11 -11
- package/dist/{revolugo.bookingmanager.BPoQuFTn.min.js → revolugo.bookingmanager.BT8ClOH2.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.CkSKr1eO.min.js → revolugo.bpricesummaryskeleton.BkE3yRYV.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BYGG85NA.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js} +8 -8
- package/dist/{revolugo.btag.BGbLOVV1.min.js → revolugo.btag.BtFT2zF9.min.js} +38 -36
- package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +207 -0
- package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +28 -0
- package/dist/{revolugo.cancellationpolicieslist.CyR3LjsF.min.js → revolugo.cancellationpolicieslist.BUvqjY8w.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.DWtSAfsw.min.js → revolugo.cancellationpolicieslist.beDOpVS9.min.js} +3 -3
- package/dist/{revolugo.case-transformers.0NCw7zJX.min.js → revolugo.case-transformers.C-f7xgel.min.js} +2 -2
- package/dist/{revolugo.creditcardform.DDEMVEjm.min.js → revolugo.creditcardform.DqHW63kH.min.js} +11 -11
- package/dist/{revolugo.creditcardform.oXj5sMcr.min.js → revolugo.creditcardform.WRd9OuX1.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.Ck6iWQGe.min.js → revolugo.creditcardpayment.BhHvBmry.min.js} +22 -21
- package/dist/{revolugo.creditcardpayment.wQGRxL_X.min.js → revolugo.creditcardpayment.BleH4opZ.min.js} +4 -4
- package/dist/{revolugo.currencypicker.4-SnZYiV.min.js → revolugo.currencypicker.BtpR0LRe.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.Dt9jBIx7.min.js → revolugo.currencypickerbtn.CZqCxE40.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.BC5W7Cs0.min.js → revolugo.currencypickerbtn.Z1iqCIYs.min.js} +4 -4
- package/dist/{revolugo.defaultsdeep.4YPrHfhm.min.js → revolugo.defaultsdeep.fiInWebG.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.CgQ3AZ0q.min.js → revolugo.dialog-attach.yO2_AaMd.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.CK59Ddvt.min.js → revolugo.dialog-transition.DRmctE5w.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.kAE2Q81u.min.js → revolugo.fastbookingflow.YMrVcoWr.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.D91hsjgQ.min.js → revolugo.fullbookingflow.BuCdZ5tE.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.hWbmd8Uz.min.js → revolugo.hotel-offer-request.DA93cyGO.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.BzOkCoPq.min.js → revolugo.hoteldescriptionview.C4lTU31k.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.InP7a9qH.min.js → revolugo.hoteldescriptionview.QB3gyKjW.min.js} +23 -22
- package/dist/{revolugo.hotelofferitemlayout.DDpeF_-f.min.js → revolugo.hotelofferitemlayout.D88eNxZ3.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.DU7_u5be.min.js → revolugo.hotelofferlist.DKLNMTAo.min.js} +27 -28
- package/dist/{revolugo.hotelofferlist.YOBo2vZW.min.js → revolugo.hotelofferlist.DVfyqIL_.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.Jo3RUqiw.min.js → revolugo.hotelofferrequestcreator.CPPp4mk1.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.By44zAAw.min.js → revolugo.hoteloffersearchmenu.CrmGRkpc.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.CYowvXJk.min.js → revolugo.hoteloffersmap.C5CoYWJo.min.js} +16 -16
- package/dist/{revolugo.hoteloffersmap.PgWNDyct.min.js → revolugo.hoteloffersmap.CVu6tY8O.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.CRL1lSQR.min.js → revolugo.hoteloffersview.B1ENOlfQ.min.js} +30 -29
- package/dist/{revolugo.hoteloffersview.c9yrwTvJ.min.js → revolugo.hoteloffersview.D3AJN4Ry.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.DeBe8Y1Q.min.js → revolugo.hotelroomofferlist.B4vKtIAv.min.js} +119 -118
- package/dist/{revolugo.hotelroomofferlist.DDP3SP_i.min.js → revolugo.hotelroomofferlist.BJpypDEo.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.2_N29JM2.min.js → revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.eqD_gblh.min.js → revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js} +28 -28
- package/dist/{revolugo.hotelroomoffersearchmenu.DmQrcuoa.min.js → revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.HZ3wJsYL.min.js → revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.BrYOcGGc.min.js → revolugo.hotelroomoffersview.B8EPiviG.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.D5l8dXdy.min.js → revolugo.hotelroomoffersview.Cml6dUd_.min.js} +4 -4
- package/dist/revolugo.index.CxQvHaJF.min.js +1255 -0
- package/dist/{revolugo.index.wc.PdkntIZ7.min.js → revolugo.index.wc.CiMMOIKO.min.js} +42 -42
- package/dist/{revolugo.langpicker.BIjUz792.min.js → revolugo.langpicker.BPdYOoqh.min.js} +6 -6
- package/dist/{revolugo.langpickerbtn.DvwQBS71.min.js → revolugo.langpickerbtn.B_lcAwH7.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.C4gnBzFm.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.BBkp2Qwb.min.js → revolugo.prebookform.CnbytE-a.min.js} +4 -4
- package/dist/{revolugo.prebookform.BI406yhz.min.js → revolugo.prebookform.mTgAZy4b.min.js} +18 -18
- package/dist/{revolugo.roominglisteditor.BeemPVmt.min.js → revolugo.roominglisteditor.BndDYwgL.min.js} +9 -9
- package/dist/{revolugo.roominglisteditor.DRVtxiq4.min.js → revolugo.roominglisteditor.BqFx12Zl.min.js} +4 -4
- package/dist/{revolugo.rounded.BnQS2aSw.min.js → revolugo.rounded.DLc3W4P_.min.js} +2 -2
- package/dist/{revolugo.ssrboot.CnANFZXp.min.js → revolugo.ssrboot.6UmkB4Il.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.BSAt6h7R.min.js → revolugo.storybooktoolbar.lPXk2DH4.min.js} +16 -16
- package/dist/{revolugo.termsandconditions.MPd5Y-bW.min.js → revolugo.termsandconditions.C318-sIl.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.BgInDXiO.min.js → revolugo.termsandconditions.J28x2pls.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +52 -0
- package/dist/{revolugo.vautocomplete.B13-fppA.min.js → revolugo.vautocomplete.CfEbI9wx.min.js} +18 -17
- package/dist/{revolugo.vbadge.BcuiZlNe.min.js → revolugo.vbadge.qQh-Sv8w.min.js} +10 -10
- package/dist/{revolugo.vbtn.BUy3-p4u.min.js → revolugo.vbtn.CJwuvbOT.min.js} +32 -32
- package/dist/{revolugo.vcard.GIQfDUc5.min.js → revolugo.vcard.C8hpUlD-.min.js} +30 -30
- package/dist/{revolugo.vcheckboxbtn.xme7qc6S.min.js → revolugo.vcheckboxbtn.Z5a_U9n0.min.js} +32 -32
- package/dist/{revolugo.vdialog.BRgZpgJ7.min.js → revolugo.vdialog.CEfREygA.min.js} +5 -5
- package/dist/{revolugo.vdivider.BgG-Ntlg.min.js → revolugo.vdivider.DYybqMVI.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.5W6v0Ec-.min.js → revolugo.vexpansionpanels.DqoxBVet.min.js} +19 -18
- package/dist/{revolugo.vform.DzIgWirP.min.js → revolugo.vform.Bh7TJUxd.min.js} +4 -4
- package/dist/revolugo.vicon.BnJaIb_1.min.js +106 -0
- package/dist/{revolugo.vinput.B4u72dMd.min.js → revolugo.vinput.CWfOSxlF.min.js} +38 -37
- package/dist/{revolugo.vlabel.CE8LnHY1.min.js → revolugo.vlabel.D8JC3_DX.min.js} +3 -3
- package/dist/{revolugo.vlist.lMP9tFLR.min.js → revolugo.vlist.cF1CYOBP.min.js} +34 -34
- package/dist/{revolugo.vmenu.D2kfrk5A.min.js → revolugo.vmenu.B-rlxBKf.min.js} +5 -5
- package/dist/{revolugo.vselect.REwsJwvV.min.js → revolugo.vselect.D17E4jI-.min.js} +18 -17
- package/dist/{revolugo.vsheet.eFvrA0Oq.min.js → revolugo.vsheet.Div5lkVz.min.js} +7 -7
- package/dist/{revolugo.vskeletonloader.kIs4PqKR.min.js → revolugo.vskeletonloader.BMUIcPKO.min.js} +4 -4
- package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +333 -0
- package/dist/{revolugo.vsnackbar.BCEW-ke-.min.js → revolugo.vsnackbar.CgopB6r6.min.js} +32 -33
- package/dist/revolugo.vspacer.DfGL0s5_.min.js +7 -0
- package/dist/{revolugo.vtextarea.C_GHj-DA.min.js → revolugo.vtextarea.BOKhw7Iq.min.js} +8 -8
- package/dist/{revolugo.vtextfield.DytXeV7f.min.js → revolugo.vtextfield.Bf1HO6ah.min.js} +55 -56
- package/dist/{revolugo.vtoolbar.CEaYGs1b.min.js → revolugo.vtoolbar.HAOPyr0Z.min.js} +5 -5
- package/dist/revolugo.vtooltip.DWbHmmwC.min.js +90 -0
- package/dist/{revolugo.vwindowitem.CmZ5K5ii.min.js → revolugo.vwindowitem.D5OeWBiN.min.js} +6 -6
- package/dist/{revolugo.watch-list.COU0dG3y.min.js → revolugo.watch-list.BFsimHQY.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.D6Ue6hix.min.js → revolugo.webcomponentwrapper.B9-sm0Ry.min.js} +51 -51
- package/package.json +1 -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.cancellationpoliciesbadge.BWOKjfYV.min.js +0 -24
- package/dist/revolugo.cancellationpoliciesbadge.D5t7JecW.min.js +0 -226
- package/dist/revolugo.index.RfK-fXTW.min.js +0 -1037
- package/dist/revolugo.position.WU8ZyKAd.min.js +0 -322
- package/dist/revolugo.use-breakpoint-service.BBMsqT5M.min.js +0 -106
- package/dist/revolugo.vspacer.CXXe8cUz.min.js +0 -7
- package/dist/revolugo.vtooltip.C1OHMaEx.min.js +0 -395
@@ -0,0 +1,333 @@
|
|
1
|
+
import { j as le, k as oe, b as H } from "./revolugo.index.CxQvHaJF.min.js";
|
2
|
+
import { w as N, u as ne, e as se, m as re } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
3
|
+
import { X as ie, Y as ae, az as ue, aP as ce, a3 as y, D as S, cr as fe, bu as U, L as de, a as h, aR as ve, Z as D, c4 as pe } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
4
|
+
import { V as Y } from "./revolugo.vicon.BnJaIb_1.min.js";
|
5
|
+
function te(l) {
|
6
|
+
try {
|
7
|
+
if (typeof document < "u") {
|
8
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
9
|
+
sheets: [],
|
10
|
+
components: []
|
11
|
+
};
|
12
|
+
const o = import.meta.url, n = o.slice(0, o.lastIndexOf("/") + 1) + l;
|
13
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
|
14
|
+
for (const r of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
+
r(n);
|
16
|
+
if (l.indexOf("fonts") >= 0) {
|
17
|
+
const r = document.createElement("link");
|
18
|
+
r.rel = "stylesheet", linK.href = n, document.head.appendChild(r);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
} catch (o) {
|
22
|
+
console.error("[revolugo-elements] ", o);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
function he(l) {
|
26
|
+
let {
|
27
|
+
selectedElement: o,
|
28
|
+
containerElement: n,
|
29
|
+
isRtl: r,
|
30
|
+
isHorizontal: d
|
31
|
+
} = l;
|
32
|
+
const v = E(d, n), i = B(d, r, n), p = E(d, o), c = K(d, o), g = p * 0.4;
|
33
|
+
return i > c ? c - g : i + v < c + p ? c - v + p + g : i;
|
34
|
+
}
|
35
|
+
function Se(l) {
|
36
|
+
let {
|
37
|
+
selectedElement: o,
|
38
|
+
containerElement: n,
|
39
|
+
isHorizontal: r
|
40
|
+
} = l;
|
41
|
+
const d = E(r, n), v = K(r, o), i = E(r, o);
|
42
|
+
return v - d / 2 + i / 2;
|
43
|
+
}
|
44
|
+
function q(l, o) {
|
45
|
+
const n = l ? "scrollWidth" : "scrollHeight";
|
46
|
+
return (o == null ? void 0 : o[n]) || 0;
|
47
|
+
}
|
48
|
+
function ge(l, o) {
|
49
|
+
const n = l ? "clientWidth" : "clientHeight";
|
50
|
+
return (o == null ? void 0 : o[n]) || 0;
|
51
|
+
}
|
52
|
+
function B(l, o, n) {
|
53
|
+
if (!n)
|
54
|
+
return 0;
|
55
|
+
const {
|
56
|
+
scrollLeft: r,
|
57
|
+
offsetWidth: d,
|
58
|
+
scrollWidth: v
|
59
|
+
} = n;
|
60
|
+
return l ? o ? v - d + r : r : n.scrollTop;
|
61
|
+
}
|
62
|
+
function E(l, o) {
|
63
|
+
const n = l ? "offsetWidth" : "offsetHeight";
|
64
|
+
return (o == null ? void 0 : o[n]) || 0;
|
65
|
+
}
|
66
|
+
function K(l, o) {
|
67
|
+
const n = l ? "offsetLeft" : "offsetTop";
|
68
|
+
return (o == null ? void 0 : o[n]) || 0;
|
69
|
+
}
|
70
|
+
const me = Symbol.for("vuetify:v-slide-group"), ye = ae({
|
71
|
+
centerActive: Boolean,
|
72
|
+
direction: {
|
73
|
+
type: String,
|
74
|
+
default: "horizontal"
|
75
|
+
},
|
76
|
+
symbol: {
|
77
|
+
type: null,
|
78
|
+
default: me
|
79
|
+
},
|
80
|
+
nextIcon: {
|
81
|
+
type: D,
|
82
|
+
default: "$next"
|
83
|
+
},
|
84
|
+
prevIcon: {
|
85
|
+
type: D,
|
86
|
+
default: "$prev"
|
87
|
+
},
|
88
|
+
showArrows: {
|
89
|
+
type: [Boolean, String],
|
90
|
+
validator: (l) => typeof l == "boolean" || ["always", "desktop", "mobile"].includes(l)
|
91
|
+
},
|
92
|
+
...re(),
|
93
|
+
...ve({
|
94
|
+
mobile: null
|
95
|
+
}),
|
96
|
+
...se(),
|
97
|
+
...oe({
|
98
|
+
selectedClass: "v-slide-group-item--active"
|
99
|
+
})
|
100
|
+
}, "VSlideGroup"), we = ie()({
|
101
|
+
name: "VSlideGroup",
|
102
|
+
props: ye(),
|
103
|
+
emits: {
|
104
|
+
"update:modelValue": (l) => !0
|
105
|
+
},
|
106
|
+
setup(l, o) {
|
107
|
+
let {
|
108
|
+
slots: n
|
109
|
+
} = o;
|
110
|
+
const {
|
111
|
+
isRtl: r
|
112
|
+
} = ue(), {
|
113
|
+
displayClasses: d,
|
114
|
+
mobile: v
|
115
|
+
} = ce(l), i = le(l, l.symbol), p = y(!1), c = y(0), g = y(0), F = y(0), a = S(() => l.direction === "horizontal"), {
|
116
|
+
resizeRef: u,
|
117
|
+
contentRect: z
|
118
|
+
} = N(), {
|
119
|
+
resizeRef: f,
|
120
|
+
contentRect: w
|
121
|
+
} = N(), I = fe(), M = S(() => ({
|
122
|
+
container: u.el,
|
123
|
+
duration: 200,
|
124
|
+
easing: "easeOutQuart"
|
125
|
+
})), j = S(() => i.selected.value.length ? i.items.value.findIndex((t) => t.id === i.selected.value[0]) : -1), $ = S(() => i.selected.value.length ? i.items.value.findIndex((t) => t.id === i.selected.value[i.selected.value.length - 1]) : -1);
|
126
|
+
if (U) {
|
127
|
+
let t = -1;
|
128
|
+
de(() => [i.selected.value, z.value, w.value, a.value], () => {
|
129
|
+
cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
130
|
+
if (z.value && w.value) {
|
131
|
+
const e = a.value ? "width" : "height";
|
132
|
+
g.value = z.value[e], F.value = w.value[e], p.value = g.value + 1 < F.value;
|
133
|
+
}
|
134
|
+
if (j.value >= 0 && f.el) {
|
135
|
+
const e = f.el.children[$.value];
|
136
|
+
P(e, l.centerActive);
|
137
|
+
}
|
138
|
+
});
|
139
|
+
});
|
140
|
+
}
|
141
|
+
const x = y(!1);
|
142
|
+
function P(t, e) {
|
143
|
+
let s = 0;
|
144
|
+
e ? s = Se({
|
145
|
+
containerElement: u.el,
|
146
|
+
isHorizontal: a.value,
|
147
|
+
selectedElement: t
|
148
|
+
}) : s = he({
|
149
|
+
containerElement: u.el,
|
150
|
+
isHorizontal: a.value,
|
151
|
+
isRtl: r.value,
|
152
|
+
selectedElement: t
|
153
|
+
}), G(s);
|
154
|
+
}
|
155
|
+
function G(t) {
|
156
|
+
if (!U || !u.el) return;
|
157
|
+
const e = E(a.value, u.el), s = B(a.value, r.value, u.el);
|
158
|
+
if (!(q(a.value, u.el) <= e || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
|
159
|
+
Math.abs(t - s) < 16)) {
|
160
|
+
if (a.value && r.value && u.el) {
|
161
|
+
const {
|
162
|
+
scrollWidth: A,
|
163
|
+
offsetWidth: C
|
164
|
+
} = u.el;
|
165
|
+
t = A - C - t;
|
166
|
+
}
|
167
|
+
a.value ? I.horizontal(t, M.value) : I(t, M.value);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
function Q(t) {
|
171
|
+
const {
|
172
|
+
scrollTop: e,
|
173
|
+
scrollLeft: s
|
174
|
+
} = t.target;
|
175
|
+
c.value = a.value ? s : e;
|
176
|
+
}
|
177
|
+
function X(t) {
|
178
|
+
if (x.value = !0, !(!p.value || !f.el)) {
|
179
|
+
for (const e of t.composedPath())
|
180
|
+
for (const s of f.el.children)
|
181
|
+
if (s === e) {
|
182
|
+
P(s);
|
183
|
+
return;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
function Z(t) {
|
188
|
+
x.value = !1;
|
189
|
+
}
|
190
|
+
let k = !1;
|
191
|
+
function J(t) {
|
192
|
+
var e;
|
193
|
+
!k && !x.value && !(t.relatedTarget && ((e = f.el) != null && e.contains(t.relatedTarget))) && m(), k = !1;
|
194
|
+
}
|
195
|
+
function W() {
|
196
|
+
k = !0;
|
197
|
+
}
|
198
|
+
function ee(t) {
|
199
|
+
if (!f.el) return;
|
200
|
+
function e(s) {
|
201
|
+
t.preventDefault(), m(s);
|
202
|
+
}
|
203
|
+
a.value ? t.key === "ArrowRight" ? e(r.value ? "prev" : "next") : t.key === "ArrowLeft" && e(r.value ? "next" : "prev") : t.key === "ArrowDown" ? e("next") : t.key === "ArrowUp" && e("prev"), t.key === "Home" ? e("first") : t.key === "End" && e("last");
|
204
|
+
}
|
205
|
+
function b(t, e) {
|
206
|
+
if (!t) return;
|
207
|
+
let s = t;
|
208
|
+
do
|
209
|
+
s = s == null ? void 0 : s[e === "next" ? "nextElementSibling" : "previousElementSibling"];
|
210
|
+
while (s != null && s.hasAttribute("disabled"));
|
211
|
+
return s;
|
212
|
+
}
|
213
|
+
function m(t) {
|
214
|
+
if (!f.el) return;
|
215
|
+
let e;
|
216
|
+
if (!t)
|
217
|
+
e = pe(f.el)[0];
|
218
|
+
else if (t === "next") {
|
219
|
+
if (e = b(f.el.querySelector(":focus"), t), !e) return m("first");
|
220
|
+
} else if (t === "prev") {
|
221
|
+
if (e = b(f.el.querySelector(":focus"), t), !e) return m("last");
|
222
|
+
} else t === "first" ? (e = f.el.firstElementChild, e != null && e.hasAttribute("disabled") && (e = b(e, "next"))) : t === "last" && (e = f.el.lastElementChild, e != null && e.hasAttribute("disabled") && (e = b(e, "prev")));
|
223
|
+
e && e.focus({
|
224
|
+
preventScroll: !0
|
225
|
+
});
|
226
|
+
}
|
227
|
+
function T(t) {
|
228
|
+
const e = a.value && r.value ? -1 : 1, s = (t === "prev" ? -e : e) * g.value;
|
229
|
+
let V = c.value + s;
|
230
|
+
if (a.value && r.value && u.el) {
|
231
|
+
const {
|
232
|
+
scrollWidth: A,
|
233
|
+
offsetWidth: C
|
234
|
+
} = u.el;
|
235
|
+
V += A - C;
|
236
|
+
}
|
237
|
+
G(V);
|
238
|
+
}
|
239
|
+
const O = S(() => ({
|
240
|
+
next: i.next,
|
241
|
+
prev: i.prev,
|
242
|
+
select: i.select,
|
243
|
+
isSelected: i.isSelected
|
244
|
+
})), R = S(() => {
|
245
|
+
switch (l.showArrows) {
|
246
|
+
// Always show arrows on desktop & mobile
|
247
|
+
case "always":
|
248
|
+
return !0;
|
249
|
+
// Always show arrows on desktop
|
250
|
+
case "desktop":
|
251
|
+
return !v.value;
|
252
|
+
// Show arrows on mobile when overflowing.
|
253
|
+
// This matches the default 2.2 behavior
|
254
|
+
case !0:
|
255
|
+
return p.value || Math.abs(c.value) > 0;
|
256
|
+
// Always show on mobile
|
257
|
+
case "mobile":
|
258
|
+
return v.value || p.value || Math.abs(c.value) > 0;
|
259
|
+
// https://material.io/components/tabs#scrollable-tabs
|
260
|
+
// Always show arrows when
|
261
|
+
// overflowed on desktop
|
262
|
+
default:
|
263
|
+
return !v.value && (p.value || Math.abs(c.value) > 0);
|
264
|
+
}
|
265
|
+
}), _ = S(() => Math.abs(c.value) > 1), L = S(() => {
|
266
|
+
if (!u.value) return !1;
|
267
|
+
const t = q(a.value, u.el), e = ge(a.value, u.el);
|
268
|
+
return t - e - Math.abs(c.value) > 1;
|
269
|
+
});
|
270
|
+
return ne(() => h(l.tag, {
|
271
|
+
class: ["v-slide-group", {
|
272
|
+
"v-slide-group--vertical": !a.value,
|
273
|
+
"v-slide-group--has-affixes": R.value,
|
274
|
+
"v-slide-group--is-overflowing": p.value
|
275
|
+
}, d.value, l.class],
|
276
|
+
style: l.style,
|
277
|
+
tabindex: x.value || i.selected.value.length ? -1 : 0,
|
278
|
+
onFocus: J
|
279
|
+
}, {
|
280
|
+
default: () => {
|
281
|
+
var t, e, s;
|
282
|
+
return [R.value && h("div", {
|
283
|
+
key: "prev",
|
284
|
+
class: ["v-slide-group__prev", {
|
285
|
+
"v-slide-group__prev--disabled": !_.value
|
286
|
+
}],
|
287
|
+
onMousedown: W,
|
288
|
+
onClick: () => _.value && T("prev")
|
289
|
+
}, [((t = n.prev) == null ? void 0 : t.call(n, O.value)) ?? h(H, null, {
|
290
|
+
default: () => [h(Y, {
|
291
|
+
icon: r.value ? l.nextIcon : l.prevIcon
|
292
|
+
}, null)]
|
293
|
+
})]), h("div", {
|
294
|
+
key: "container",
|
295
|
+
ref: u,
|
296
|
+
class: "v-slide-group__container",
|
297
|
+
onScroll: Q
|
298
|
+
}, [h("div", {
|
299
|
+
ref: f,
|
300
|
+
class: "v-slide-group__content",
|
301
|
+
onFocusin: X,
|
302
|
+
onFocusout: Z,
|
303
|
+
onKeydown: ee
|
304
|
+
}, [(e = n.default) == null ? void 0 : e.call(n, O.value)])]), R.value && h("div", {
|
305
|
+
key: "next",
|
306
|
+
class: ["v-slide-group__next", {
|
307
|
+
"v-slide-group__next--disabled": !L.value
|
308
|
+
}],
|
309
|
+
onMousedown: W,
|
310
|
+
onClick: () => L.value && T("next")
|
311
|
+
}, [((s = n.next) == null ? void 0 : s.call(n, O.value)) ?? h(H, null, {
|
312
|
+
default: () => [h(Y, {
|
313
|
+
icon: r.value ? l.prevIcon : l.nextIcon
|
314
|
+
}, null)]
|
315
|
+
})])];
|
316
|
+
}
|
317
|
+
})), {
|
318
|
+
selected: i.selected,
|
319
|
+
scrollTo: T,
|
320
|
+
scrollOffset: c,
|
321
|
+
focus: m,
|
322
|
+
hasPrev: _,
|
323
|
+
hasNext: L
|
324
|
+
};
|
325
|
+
}
|
326
|
+
});
|
327
|
+
te("css/revolugo.vslidegroup.ECiLCEE9.css");
|
328
|
+
export {
|
329
|
+
me as V,
|
330
|
+
we as a,
|
331
|
+
ye as m
|
332
|
+
};
|
333
|
+
//# sourceMappingURL=revolugo.vslidegroup.aRAg8EmQ.min.js.map
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { g as D, u as G, l as p, y as I, E as B, F } from "./revolugo.webcomponentwrapper.
|
1
|
+
import { g as D, u as G, l as p, y as I, E as B, F } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
2
2
|
import { f as j } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
3
|
-
import {
|
4
|
-
import { X, Y as
|
5
|
-
import { b as
|
6
|
-
import { p as ue, q as me, g as ve, a as fe } from "./revolugo.index.RfK-fXTW.min.js";
|
3
|
+
import { n as H, t as K, v as Q, o as X, p as $, g as q, V as z, a as J } from "./revolugo.index.CxQvHaJF.min.js";
|
4
|
+
import { X as W, Y as Z, a0 as ee, aF as te, C as b, a3 as E, ag as ae, aN as ne, L as _, S as oe, cc as se, D as re, a as s, y as C, a4 as ie, aH as le, aO as ce, Q as ue, a6 as me } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
5
|
+
import { b as ve, a as fe } from "./revolugo.rounded.DLc3W4P_.min.js";
|
7
6
|
function U(e) {
|
8
7
|
try {
|
9
8
|
if (typeof document < "u") {
|
@@ -31,7 +30,7 @@ function de(e) {
|
|
31
30
|
clearInterval(a);
|
32
31
|
}
|
33
32
|
function f() {
|
34
|
-
t(),
|
33
|
+
t(), ue(() => o.value = e());
|
35
34
|
}
|
36
35
|
function d(i) {
|
37
36
|
const k = i ? getComputedStyle(i) : {
|
@@ -44,14 +43,14 @@ function de(e) {
|
|
44
43
|
o.value = Math.max(e() - S, 0), o.value <= 0 && t();
|
45
44
|
}, l);
|
46
45
|
}
|
47
|
-
return
|
46
|
+
return ce(t), {
|
48
47
|
clear: t,
|
49
48
|
time: o,
|
50
49
|
start: d,
|
51
50
|
reset: f
|
52
51
|
};
|
53
52
|
}
|
54
|
-
const ke =
|
53
|
+
const ke = Z({
|
55
54
|
multiLine: Boolean,
|
56
55
|
text: String,
|
57
56
|
timer: [Boolean, String],
|
@@ -60,17 +59,17 @@ const ke = $({
|
|
60
59
|
default: 5e3
|
61
60
|
},
|
62
61
|
vertical: Boolean,
|
63
|
-
|
62
|
+
...$({
|
64
63
|
location: "bottom"
|
65
64
|
}),
|
66
|
-
...
|
67
|
-
...
|
68
|
-
...
|
69
|
-
...
|
70
|
-
...
|
65
|
+
...X(),
|
66
|
+
...fe(),
|
67
|
+
...Q(),
|
68
|
+
...le(),
|
69
|
+
...ie(I({
|
71
70
|
transition: "v-snackbar-transition"
|
72
71
|
}), ["persistent", "noClickAnimation", "scrim", "scrollStrategy"])
|
73
|
-
}, "VSnackbar"),
|
72
|
+
}, "VSnackbar"), Te = W()({
|
74
73
|
name: "VSnackbar",
|
75
74
|
props: ke(),
|
76
75
|
emits: {
|
@@ -80,39 +79,39 @@ const ke = $({
|
|
80
79
|
let {
|
81
80
|
slots: a
|
82
81
|
} = o;
|
83
|
-
const t =
|
82
|
+
const t = ee(e, "modelValue"), {
|
84
83
|
positionClasses: f
|
85
84
|
} = H(e), {
|
86
85
|
scopeId: d
|
87
86
|
} = D(), {
|
88
87
|
themeClasses: i
|
89
|
-
} =
|
88
|
+
} = te(e), {
|
90
89
|
colorClasses: k,
|
91
90
|
colorStyles: l,
|
92
91
|
variantClasses: y
|
93
|
-
} =
|
92
|
+
} = K(e), {
|
94
93
|
roundedClasses: S
|
95
|
-
} =
|
96
|
-
|
94
|
+
} = ve(e), c = de(() => Number(e.timeout)), T = b(), w = b(), u = E(!1), V = E(0), L = b(), O = ae(B, void 0);
|
95
|
+
ne(() => !!O, () => {
|
97
96
|
const n = F();
|
98
|
-
|
97
|
+
me(() => {
|
99
98
|
L.value = n.mainStyles.value;
|
100
99
|
});
|
101
|
-
}), _(t, m), _(() => e.timeout, m),
|
100
|
+
}), _(t, m), _(() => e.timeout, m), oe(() => {
|
102
101
|
t.value && m();
|
103
102
|
});
|
104
|
-
let
|
103
|
+
let h = -1;
|
105
104
|
function m() {
|
106
|
-
c.reset(), window.clearTimeout(
|
105
|
+
c.reset(), window.clearTimeout(h);
|
107
106
|
const n = Number(e.timeout);
|
108
107
|
if (!t.value || n === -1) return;
|
109
|
-
const r =
|
110
|
-
c.start(r),
|
108
|
+
const r = se(w.value);
|
109
|
+
c.start(r), h = window.setTimeout(() => {
|
111
110
|
t.value = !1;
|
112
111
|
}, n);
|
113
112
|
}
|
114
113
|
function x() {
|
115
|
-
c.reset(), window.clearTimeout(
|
114
|
+
c.reset(), window.clearTimeout(h);
|
116
115
|
}
|
117
116
|
function R() {
|
118
117
|
u.value = !0, x();
|
@@ -129,7 +128,7 @@ const ke = $({
|
|
129
128
|
function M() {
|
130
129
|
u.value && g();
|
131
130
|
}
|
132
|
-
const A =
|
131
|
+
const A = re(() => e.location.split(" ").reduce((n, r) => (n[`v-snackbar--${r}`] = !0, n), {}));
|
133
132
|
return G(() => {
|
134
133
|
const n = p.filterProps(e), r = !!(a.default || a.text || e.text);
|
135
134
|
return s(p, C({
|
@@ -161,10 +160,10 @@ const ke = $({
|
|
161
160
|
}, d), {
|
162
161
|
default: () => {
|
163
162
|
var v, P;
|
164
|
-
return [
|
163
|
+
return [q(!1, "v-snackbar"), e.timer && !u.value && s("div", {
|
165
164
|
key: "timer",
|
166
165
|
class: "v-snackbar__timer"
|
167
|
-
}, [s(
|
166
|
+
}, [s(z, {
|
168
167
|
ref: w,
|
169
168
|
color: typeof e.timer == "string" ? e.timer : "info",
|
170
169
|
max: e.timeout,
|
@@ -174,7 +173,7 @@ const ke = $({
|
|
174
173
|
class: "v-snackbar__content",
|
175
174
|
role: "status",
|
176
175
|
"aria-live": "polite"
|
177
|
-
}, [((v = a.text) == null ? void 0 : v.call(a)) ?? e.text, (P = a.default) == null ? void 0 : P.call(a)]), a.actions && s(
|
176
|
+
}, [((v = a.text) == null ? void 0 : v.call(a)) ?? e.text, (P = a.default) == null ? void 0 : P.call(a)]), a.actions && s(J, {
|
178
177
|
defaults: {
|
179
178
|
VBtn: {
|
180
179
|
variant: "text",
|
@@ -197,6 +196,6 @@ const ke = $({
|
|
197
196
|
});
|
198
197
|
U("css/revolugo.vsnackbar.Cj7AcupY.css");
|
199
198
|
export {
|
200
|
-
|
199
|
+
Te as V
|
201
200
|
};
|
202
|
-
//# sourceMappingURL=revolugo.vsnackbar.
|
201
|
+
//# sourceMappingURL=revolugo.vsnackbar.CgopB6r6.min.js.map
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { d as c0, u as h0, C as O, D as R, bJ as Od, L as A, i as v0, e as D, a as y, w as W, x as g0, J as td, y as X, n as y0, h as m0, t as rd, f as p0, o as b0, X as P0, Y as N0, a0 as O0, a3 as C0, a6 as _0, S as E0, U as I0, b0 as x0, Q as nd, a7 as F0, aA as w0, F as $d, H as Cd, aC as S0, bK as T0, bL as A0 } from "./revolugo.index.wc.
|
2
|
-
import { V as R0 } from "./revolugo.vautocomplete.
|
3
|
-
import { V as L0, a as _d, m as D0, b as M0 } from "./revolugo.vtextfield.
|
4
|
-
import { V as G0 } from "./revolugo.vlist.
|
5
|
-
import { _ as B0, u as k0 } from "./revolugo.webcomponentwrapper.
|
6
|
-
import { u as U0, V as Ed, m as V0 } from "./revolugo.vinput.
|
1
|
+
import { d as c0, u as h0, C as O, D as R, bJ as Od, L as A, i as v0, e as D, a as y, w as W, x as g0, J as td, y as X, n as y0, h as m0, t as rd, f as p0, o as b0, X as P0, Y as N0, a0 as O0, a3 as C0, a6 as _0, S as E0, U as I0, b0 as x0, Q as nd, a7 as F0, aA as w0, F as $d, H as Cd, aC as S0, bK as T0, bL as A0 } from "./revolugo.index.wc.CiMMOIKO.min.js";
|
2
|
+
import { V as R0 } from "./revolugo.vautocomplete.CfEbI9wx.min.js";
|
3
|
+
import { V as L0, a as _d, m as D0, b as M0 } from "./revolugo.vtextfield.Bf1HO6ah.min.js";
|
4
|
+
import { V as G0 } from "./revolugo.vlist.cF1CYOBP.min.js";
|
5
|
+
import { _ as B0, u as k0 } from "./revolugo.webcomponentwrapper.B9-sm0Ry.min.js";
|
6
|
+
import { u as U0, V as Ed, m as V0 } from "./revolugo.vinput.CWfOSxlF.min.js";
|
7
7
|
import { f as j0 } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
8
|
-
import { I as H0 } from "./revolugo.index.
|
8
|
+
import { I as H0 } from "./revolugo.index.CxQvHaJF.min.js";
|
9
9
|
function f0(d) {
|
10
10
|
try {
|
11
11
|
if (typeof document < "u") {
|
@@ -2099,4 +2099,4 @@ export {
|
|
2099
2099
|
K0 as v,
|
2100
2100
|
X0 as w
|
2101
2101
|
};
|
2102
|
-
//# sourceMappingURL=revolugo.vtextarea.
|
2102
|
+
//# sourceMappingURL=revolugo.vtextarea.BOKhw7Iq.min.js.map
|