@revolugo/elements 5.5.1 → 5.5.2-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/fonts.css +1 -0
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +1 -0
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +1 -0
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +1 -0
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +1 -0
- package/dist/css/revolugo.btag.Bdbqb_8a.css +1 -0
- package/dist/css/revolugo.common.BSIsYREh.css +1 -0
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +1 -0
- package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +1 -0
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +1 -0
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +1 -0
- package/dist/css/revolugo.hotel-offer.Di9LJKMP.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.-ZhDcfsj.css +1 -0
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.xJfKaofV.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +1 -0
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +1 -0
- package/dist/css/revolugo.index.BMkl7a3p.css +1 -0
- package/dist/css/revolugo.index.CFW4Oklv.css +1 -0
- package/dist/css/revolugo.index.DXv5c7NS.css +1 -0
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +1 -0
- package/dist/css/revolugo.parsed-height.FfkITAOo.css +1 -0
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +1 -0
- package/dist/css/revolugo.prebookform.DBm2B4rS.css +1 -0
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +5 -0
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +1 -0
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +1 -0
- package/dist/css/revolugo.valert.BzcMswjJ.css +1 -0
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +1 -0
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +1 -0
- package/dist/css/revolugo.vbtn.By46MJOU.css +1 -0
- package/dist/css/revolugo.vcard.DmB53ZNL.css +1 -0
- package/dist/css/revolugo.vchip.BdAdP6lC.css +1 -0
- package/dist/css/revolugo.vdialog.C02Cvwul.css +1 -0
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +1 -0
- package/dist/css/revolugo.vinput.SfhpXNi0.css +1 -0
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +1 -0
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +1 -0
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +1 -0
- package/dist/css/revolugo.vselect.DljSkk6y.css +1 -0
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +1 -0
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +1 -0
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +1 -0
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +1 -0
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +1 -0
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +1 -0
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +1 -0
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +1 -0
- package/dist/index.es.min.js +13850 -0
- package/dist/index.es.min.js.map +1 -0
- package/dist/index.min.js +65 -1
- package/dist/index.min.js.map +1 -0
- package/dist/revolugo.banktransferdetails.C7_zVOmo.min.js +105 -0
- package/dist/revolugo.bbreakfastoptionbadge.Ce49dA49.min.js +62 -0
- package/dist/revolugo.bdaterangepicker.Bn7furEJ.min.js +1351 -0
- package/dist/revolugo.bformattedamount.BFXskYwq.min.js +82 -0
- package/dist/revolugo.bhotelroomsdetails.CGzQEygX.min.js +213 -0
- package/dist/revolugo.bhotelsearchbar.AZssZXVa.min.js +446 -0
- package/dist/revolugo.booking-api-client.sLozEu8x.min.js +7472 -0
- package/dist/revolugo.bookingdetailssidebar.Cyh9ESY5.min.js +242 -0
- package/dist/revolugo.bookingdetailssidebar.CzJuxCyi.min.js +28 -0
- package/dist/revolugo.bookingmanager.DFOGB8oH.min.js +405 -0
- package/dist/revolugo.bphoneinput.BD5yV30G.min.js +1935 -0
- package/dist/revolugo.bpricesummaryskeleton.DLPx7XMt.min.js +47 -0
- package/dist/revolugo.breakpoint-service.CligvfbR.min.js +65 -0
- package/dist/revolugo.bstarrating.EUallQbz.min.js +173 -0
- package/dist/revolugo.btag.BFCVF0Me.min.js +68 -0
- package/dist/revolugo.cancellationpoliciesbadge.BlUG2A9X.min.js +92 -0
- package/dist/revolugo.cancellationpoliciesbadge.DOwMr0x3.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.5yiBohSU.min.js +317 -0
- package/dist/revolugo.cancellationpolicieslist.fjdTs1rY.min.js +28 -0
- package/dist/revolugo.common.C_rtPL-E.min.js +34 -0
- package/dist/revolugo.creditcardform.C3fQHyxV.min.js +2049 -0
- package/dist/revolugo.creditcardform.LlbnFrMn.min.js +28 -0
- package/dist/revolugo.creditcardpayment.8C5f7CZ4.min.js +28 -0
- package/dist/revolugo.creditcardpayment.DUk6kCnc.min.js +288 -0
- package/dist/revolugo.currencypicker.wqREtJ__.min.js +122 -0
- package/dist/revolugo.currencypickerbtn.B2m0S_4y.min.js +28 -0
- package/dist/revolugo.currencypickerbtn.DBD-dfnI.min.js +121 -0
- package/dist/revolugo.dialog-attach.GnnAYjIE.min.js +27 -0
- package/dist/revolugo.en-us.BP-UxrRq.min.js +1171 -0
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +37 -0
- package/dist/revolugo.fr-fr.CF_knN5b.min.js +1177 -0
- package/dist/revolugo.fullbookingflow.C_c9KQQR.min.js +239 -0
- package/dist/revolugo.hotel-offer.BUVwH9VX.min.js +605 -0
- package/dist/revolugo.hoteldescriptionview.Bq1O1Xil.min.js +28 -0
- package/dist/revolugo.hoteldescriptionview.CLJG1-vV.min.js +2208 -0
- package/dist/revolugo.hotelofferitemlayout.Tqhfw-aC.min.js +64 -0
- package/dist/revolugo.hotelofferlist.BFL1YRt0.min.js +28 -0
- package/dist/revolugo.hotelofferlist.DUw3z5s6.min.js +3779 -0
- package/dist/revolugo.hotelofferrequestcreator.BDI8RIzt.min.js +225 -0
- package/dist/revolugo.hoteloffersearchmenu.BpJ-FUdV.min.js +54 -0
- package/dist/revolugo.hoteloffersmap.BlhVP5-Z.min.js +28 -0
- package/dist/revolugo.hoteloffersmap.wLH_KGii.min.js +8737 -0
- package/dist/revolugo.hoteloffersview.CklEMw2R.min.js +157 -0
- package/dist/revolugo.hoteloffersview.Di7h66f5.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.CLiINofQ.min.js +28 -0
- package/dist/revolugo.hotelroomofferlist.CahCySw9.min.js +1336 -0
- package/dist/revolugo.hotelroomofferrequestcreator.CBVXmo6p.min.js +225 -0
- package/dist/revolugo.hotelroomoffersbookingflow.5DxPgDlm.min.js +679 -0
- package/dist/revolugo.hotelroomoffersearchmenu.ClB2fFNQ.min.js +38 -0
- package/dist/revolugo.hotelroomoffersearchmenu.hkcy1YzX.min.js +29 -0
- package/dist/revolugo.hotelroomoffersview.CF7YEgbC.min.js +28 -0
- package/dist/revolugo.hotelroomoffersview.WAYlooyc.min.js +124 -0
- package/dist/revolugo.i18n.CyGKqo0B.min.js +10929 -0
- package/dist/revolugo.index.2rRqbmTI.min.js +43 -0
- package/dist/revolugo.index.B-fKWuIg.min.js +142 -0
- package/dist/revolugo.index.BXlPRtGz.min.js +42 -0
- package/dist/revolugo.index.B_EzELYh.min.js +161 -0
- package/dist/revolugo.index.BpZHnXFS.min.js +68 -0
- package/dist/revolugo.index.CB0aeVeA.min.js +9 -0
- package/dist/revolugo.index.CsWvarCO.min.js +9 -0
- package/dist/revolugo.index.D4mTtHy0.min.js +270 -0
- package/dist/revolugo.index.DEJEDSDi.min.js +281 -0
- package/dist/revolugo.index.DVlgraIx.min.js +13 -0
- package/dist/revolugo.index.FGCgdl6A.min.js +390 -0
- package/dist/revolugo.index.Lg6xnuBU.min.js +15 -0
- package/dist/revolugo.index.Tg1ts5ba.min.js +128 -0
- package/dist/revolugo.index.roOsqEC8.min.js +322 -0
- package/dist/revolugo.langpicker.DxUfUdgi.min.js +103 -0
- package/dist/revolugo.langpickerbtn.BKUmtrmC.min.js +28 -0
- package/dist/revolugo.langpickerbtn.CTjVH93j.min.js +111 -0
- package/dist/revolugo.localizedformat.BmFJB2Ek.min.js +47 -0
- package/dist/revolugo.min.js +257 -7
- package/dist/revolugo.parsed-height.C9EDOdpc.min.js +2341 -0
- package/dist/revolugo.parsed-props.DLM9lIFH.min.js +95 -0
- package/dist/revolugo.prebookform.BOw8d85r.min.js +28 -0
- package/dist/revolugo.prebookform.C-UGopr1.min.js +484 -0
- package/dist/revolugo.revolugo-config.CV2-KqZg.min.js +1707 -0
- package/dist/revolugo.roominglisteditor.BraACVch.min.js +201 -0
- package/dist/revolugo.roominglisteditor.BylXWjko.min.js +28 -0
- package/dist/revolugo.sentry.BUFmhrag.min.js +10989 -0
- package/dist/revolugo.store.CrqNkSlz.min.js +2497 -0
- package/dist/revolugo.storybooktoolbar.B3GXxMU5.min.js +300 -0
- package/dist/revolugo.termsandconditions.gfMYAJC9.min.js +162 -0
- package/dist/revolugo.termsandconditions.iierLPPe.min.js +27 -0
- package/dist/revolugo.typed-mixins.D4p2Nb8x.min.js +8 -0
- package/dist/revolugo.valert.D2QkjVyq.min.js +194 -0
- package/dist/revolugo.vautocomplete.DesK4IqD.min.js +255 -0
- package/dist/revolugo.vbadge.D8uLY_qO.min.js +172 -0
- package/dist/revolugo.vbtn.BnwFj80Q.min.js +286 -0
- package/dist/revolugo.vcard.B9oLf8X7.min.js +80 -0
- package/dist/revolugo.vchip.gQCW4zyM.min.js +157 -0
- package/dist/revolugo.vdialog.BGaQYjRQ.min.js +341 -0
- package/dist/revolugo.vexpansionpanelheader.PUrYDsqZ.min.js +263 -0
- package/dist/revolugo.vform.B2Cw_jFG.min.js +98 -0
- package/dist/revolugo.vinput.BH9yXmhW.min.js +509 -0
- package/dist/revolugo.vitemgroup.ZH_RbJd4.min.js +168 -0
- package/dist/revolugo.vlistitem.rGqVrGQv.min.js +204 -0
- package/dist/revolugo.vmenu.DVIyMqmT.min.js +349 -0
- package/dist/revolugo.vselect.DGAcOur7.min.js +859 -0
- package/dist/revolugo.vsheet.g-wezcj4.min.js +120 -0
- package/dist/revolugo.vskeletonloader.By4xa0Dw.min.js +172 -0
- package/dist/revolugo.vslidegroup.FBTC8IQv.min.js +650 -0
- package/dist/revolugo.vsnackbar.B-3BiuN_.min.js +178 -0
- package/dist/revolugo.vtextfield.Bz_46CYU.min.js +438 -0
- package/dist/revolugo.vtoolbar.C8u8AAF6.min.js +364 -0
- package/dist/revolugo.vtooltip.D-CwTnZW.min.js +168 -0
- package/dist/revolugo.vuetify.wVP8V0K5.min.js +865 -0
- package/dist/revolugo.watch-list.B0bwqcfr.min.js +44 -0
- package/dist/revolugo.webcomponentwrapper.C4B-n-nK.min.js +777 -0
- package/package.json +31 -28
- package/dist/css/revolugo.0.min.css +0 -5
- package/dist/css/revolugo.1.min.css +0 -1
- package/dist/css/revolugo.11.min.css +0 -1
- package/dist/css/revolugo.12.min.css +0 -1
- package/dist/css/revolugo.13.min.css +0 -1
- package/dist/css/revolugo.14.min.css +0 -1
- package/dist/css/revolugo.15.min.css +0 -1
- package/dist/css/revolugo.16.min.css +0 -1
- package/dist/css/revolugo.17.min.css +0 -1
- package/dist/css/revolugo.18.min.css +0 -1
- package/dist/css/revolugo.19.min.css +0 -1
- package/dist/css/revolugo.2.min.css +0 -1
- package/dist/css/revolugo.20.min.css +0 -1
- package/dist/css/revolugo.21.min.css +0 -1
- package/dist/css/revolugo.22.min.css +0 -1
- package/dist/css/revolugo.23.min.css +0 -1
- package/dist/css/revolugo.24.min.css +0 -1
- package/dist/css/revolugo.25.min.css +0 -1
- package/dist/css/revolugo.26.min.css +0 -1
- package/dist/css/revolugo.27.min.css +0 -1
- package/dist/css/revolugo.28.min.css +0 -1
- package/dist/css/revolugo.29.min.css +0 -1
- package/dist/css/revolugo.30.min.css +0 -1
- package/dist/css/revolugo.31.min.css +0 -1
- package/dist/css/revolugo.32.min.css +0 -1
- package/dist/css/revolugo.33.min.css +0 -1
- package/dist/css/revolugo.34.min.css +0 -1
- package/dist/css/revolugo.4.min.css +0 -1
- package/dist/css/revolugo.5.min.css +0 -1
- package/dist/css/revolugo.6.min.css +0 -1
- package/dist/css/revolugo.7.min.css +0 -1
- package/dist/css/revolugo.fonts.min.css +0 -1
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +0 -42
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +0 -12
- package/dist/img/apst.c1092975.png +0 -0
- package/dist/img/apst.ec7669f2.png +0 -0
- package/dist/img/atout-france.72107e30.png +0 -0
- package/dist/img/atout-france.df038f22.png +0 -0
- package/dist/img/revolugo.179c459d.png +0 -0
- package/dist/img/revolugo.e0879dcc.png +0 -0
- package/dist/img/stripe.405543e2.png +0 -0
- package/dist/img/stripe.c3e16f9f.png +0 -0
- package/dist/revolugo.0.min.js +0 -18
- package/dist/revolugo.1.min.js +0 -1
- package/dist/revolugo.11.min.js +0 -134
- package/dist/revolugo.12.min.js +0 -19
- package/dist/revolugo.13.min.js +0 -14
- package/dist/revolugo.14.min.js +0 -19
- package/dist/revolugo.15.min.js +0 -139
- package/dist/revolugo.16.min.js +0 -14
- package/dist/revolugo.17.min.js +0 -14
- package/dist/revolugo.18.min.js +0 -1
- package/dist/revolugo.19.min.js +0 -1
- package/dist/revolugo.2.min.js +0 -1
- package/dist/revolugo.20.min.js +0 -1
- package/dist/revolugo.21.min.js +0 -116
- package/dist/revolugo.22.min.js +0 -1
- package/dist/revolugo.23.min.js +0 -1
- package/dist/revolugo.24.min.js +0 -1
- package/dist/revolugo.25.min.js +0 -1
- package/dist/revolugo.26.min.js +0 -1
- package/dist/revolugo.27.min.js +0 -1
- package/dist/revolugo.28.min.js +0 -116
- package/dist/revolugo.29.min.js +0 -1
- package/dist/revolugo.30.min.js +0 -1
- package/dist/revolugo.31.min.js +0 -1
- package/dist/revolugo.32.min.js +0 -1
- package/dist/revolugo.33.min.js +0 -1
- package/dist/revolugo.34.min.js +0 -1
- package/dist/revolugo.35.min.js +0 -1
- package/dist/revolugo.36.min.js +0 -1
- package/dist/revolugo.4.min.js +0 -1
- package/dist/revolugo.5.min.js +0 -1
- package/dist/revolugo.6.min.js +0 -1
- package/dist/revolugo.7.min.js +0 -1
- package/dist/revolugo.en-US.min.js +0 -1
- package/dist/revolugo.fonts.min.js +0 -1
- package/dist/revolugo.fr-FR.min.js +0 -1
@@ -0,0 +1,270 @@
|
|
1
|
+
import { A as f, b as r, S as c } from "./revolugo.index.roOsqEC8.min.js";
|
2
|
+
import { f as l } from "./revolugo.index.2rRqbmTI.min.js";
|
3
|
+
import { m as d } from "./revolugo.webcomponentwrapper.C4B-n-nK.min.js";
|
4
|
+
import { h } from "./revolugo.revolugo-config.CV2-KqZg.min.js";
|
5
|
+
const u = d(c, l(["top", "right", "bottom", "left", "absolute"]), f, r), w = u.extend().extend({
|
6
|
+
name: "menuable",
|
7
|
+
props: {
|
8
|
+
allowOverflow: Boolean,
|
9
|
+
light: Boolean,
|
10
|
+
dark: Boolean,
|
11
|
+
maxWidth: {
|
12
|
+
type: [Number, String],
|
13
|
+
default: "auto"
|
14
|
+
},
|
15
|
+
minWidth: [Number, String],
|
16
|
+
nudgeBottom: {
|
17
|
+
type: [Number, String],
|
18
|
+
default: 0
|
19
|
+
},
|
20
|
+
nudgeLeft: {
|
21
|
+
type: [Number, String],
|
22
|
+
default: 0
|
23
|
+
},
|
24
|
+
nudgeRight: {
|
25
|
+
type: [Number, String],
|
26
|
+
default: 0
|
27
|
+
},
|
28
|
+
nudgeTop: {
|
29
|
+
type: [Number, String],
|
30
|
+
default: 0
|
31
|
+
},
|
32
|
+
nudgeWidth: {
|
33
|
+
type: [Number, String],
|
34
|
+
default: 0
|
35
|
+
},
|
36
|
+
offsetOverflow: Boolean,
|
37
|
+
positionX: {
|
38
|
+
type: Number,
|
39
|
+
default: null
|
40
|
+
},
|
41
|
+
positionY: {
|
42
|
+
type: Number,
|
43
|
+
default: null
|
44
|
+
},
|
45
|
+
zIndex: {
|
46
|
+
type: [Number, String],
|
47
|
+
default: null
|
48
|
+
}
|
49
|
+
},
|
50
|
+
data: () => ({
|
51
|
+
activatorNode: [],
|
52
|
+
absoluteX: 0,
|
53
|
+
absoluteY: 0,
|
54
|
+
activatedBy: null,
|
55
|
+
activatorFixed: !1,
|
56
|
+
dimensions: {
|
57
|
+
activator: {
|
58
|
+
top: 0,
|
59
|
+
left: 0,
|
60
|
+
bottom: 0,
|
61
|
+
right: 0,
|
62
|
+
width: 0,
|
63
|
+
height: 0,
|
64
|
+
offsetTop: 0,
|
65
|
+
scrollHeight: 0,
|
66
|
+
offsetLeft: 0
|
67
|
+
},
|
68
|
+
content: {
|
69
|
+
top: 0,
|
70
|
+
left: 0,
|
71
|
+
bottom: 0,
|
72
|
+
right: 0,
|
73
|
+
width: 0,
|
74
|
+
height: 0,
|
75
|
+
offsetTop: 0,
|
76
|
+
scrollHeight: 0
|
77
|
+
}
|
78
|
+
},
|
79
|
+
relativeYOffset: 0,
|
80
|
+
hasJustFocused: !1,
|
81
|
+
hasWindow: !1,
|
82
|
+
inputActivator: !1,
|
83
|
+
isContentActive: !1,
|
84
|
+
pageWidth: 0,
|
85
|
+
pageYOffset: 0,
|
86
|
+
stackClass: "v-menu__content--active",
|
87
|
+
stackMinZIndex: 6
|
88
|
+
}),
|
89
|
+
computed: {
|
90
|
+
computedLeft() {
|
91
|
+
const t = this.dimensions.activator, e = this.dimensions.content, i = (this.attach !== !1 ? t.offsetLeft : t.left) || 0, o = Math.max(t.width, e.width);
|
92
|
+
let s = 0;
|
93
|
+
if (s += i, (this.left || this.$vuetify.rtl && !this.right) && (s -= o - t.width), this.offsetX) {
|
94
|
+
const n = isNaN(Number(this.maxWidth)) ? t.width : Math.min(t.width, Number(this.maxWidth));
|
95
|
+
s += this.left ? -n : t.width;
|
96
|
+
}
|
97
|
+
return this.nudgeLeft && (s -= parseInt(this.nudgeLeft)), this.nudgeRight && (s += parseInt(this.nudgeRight)), s;
|
98
|
+
},
|
99
|
+
computedTop() {
|
100
|
+
const t = this.dimensions.activator, e = this.dimensions.content;
|
101
|
+
let i = 0;
|
102
|
+
return this.top && (i += t.height - e.height), this.attach !== !1 ? i += t.offsetTop : i += t.top + this.pageYOffset, this.offsetY && (i += this.top ? -t.height : t.height), this.nudgeTop && (i -= parseInt(this.nudgeTop)), this.nudgeBottom && (i += parseInt(this.nudgeBottom)), i;
|
103
|
+
},
|
104
|
+
hasActivator() {
|
105
|
+
return !!this.$slots.activator || !!this.$scopedSlots.activator || !!this.activator || !!this.inputActivator;
|
106
|
+
},
|
107
|
+
absoluteYOffset() {
|
108
|
+
return this.pageYOffset - this.relativeYOffset;
|
109
|
+
}
|
110
|
+
},
|
111
|
+
watch: {
|
112
|
+
disabled(t) {
|
113
|
+
t && this.callDeactivate();
|
114
|
+
},
|
115
|
+
isActive(t) {
|
116
|
+
this.disabled || (t ? this.callActivate() : this.callDeactivate());
|
117
|
+
},
|
118
|
+
positionX: "updateDimensions",
|
119
|
+
positionY: "updateDimensions"
|
120
|
+
},
|
121
|
+
beforeMount() {
|
122
|
+
this.hasWindow = typeof window < "u", this.hasWindow && window.addEventListener("resize", this.updateDimensions, !1);
|
123
|
+
},
|
124
|
+
beforeDestroy() {
|
125
|
+
this.hasWindow && window.removeEventListener("resize", this.updateDimensions, !1);
|
126
|
+
},
|
127
|
+
methods: {
|
128
|
+
absolutePosition() {
|
129
|
+
return {
|
130
|
+
offsetTop: this.positionY || this.absoluteY,
|
131
|
+
offsetLeft: this.positionX || this.absoluteX,
|
132
|
+
scrollHeight: 0,
|
133
|
+
top: this.positionY || this.absoluteY,
|
134
|
+
bottom: this.positionY || this.absoluteY,
|
135
|
+
left: this.positionX || this.absoluteX,
|
136
|
+
right: this.positionX || this.absoluteX,
|
137
|
+
height: 0,
|
138
|
+
width: 0
|
139
|
+
};
|
140
|
+
},
|
141
|
+
activate() {
|
142
|
+
},
|
143
|
+
calcLeft(t) {
|
144
|
+
return h(this.attach !== !1 ? this.computedLeft : this.calcXOverflow(this.computedLeft, t));
|
145
|
+
},
|
146
|
+
calcTop() {
|
147
|
+
return h(this.attach !== !1 ? this.computedTop : this.calcYOverflow(this.computedTop));
|
148
|
+
},
|
149
|
+
calcXOverflow(t, e) {
|
150
|
+
const i = t + e - this.pageWidth + 12;
|
151
|
+
return (!this.left || this.right) && i > 0 ? t = Math.max(t - i, 0) : t = Math.max(t, 12), t + this.getOffsetLeft();
|
152
|
+
},
|
153
|
+
calcYOverflow(t) {
|
154
|
+
const e = this.getInnerHeight(), i = this.absoluteYOffset + e, o = this.dimensions.activator, s = this.dimensions.content.height, n = t + s, a = i < n;
|
155
|
+
return a && this.offsetOverflow && // If we don't have enough room to offset
|
156
|
+
// the overflow, don't offset
|
157
|
+
o.top > s ? t = this.pageYOffset + (o.top - s) : a && !this.allowOverflow ? t = i - s - 12 : t < this.absoluteYOffset && !this.allowOverflow && (t = this.absoluteYOffset + 12), t < 12 ? 12 : t;
|
158
|
+
},
|
159
|
+
callActivate() {
|
160
|
+
this.hasWindow && this.activate();
|
161
|
+
},
|
162
|
+
callDeactivate() {
|
163
|
+
this.isContentActive = !1, this.deactivate();
|
164
|
+
},
|
165
|
+
checkForPageYOffset() {
|
166
|
+
this.hasWindow && (this.pageYOffset = this.activatorFixed ? 0 : this.getOffsetTop());
|
167
|
+
},
|
168
|
+
checkActivatorFixed() {
|
169
|
+
if (this.attach !== !1) {
|
170
|
+
this.activatorFixed = !1;
|
171
|
+
return;
|
172
|
+
}
|
173
|
+
let t = this.getActivator();
|
174
|
+
for (; t; ) {
|
175
|
+
if (window.getComputedStyle(t).position === "fixed") {
|
176
|
+
this.activatorFixed = !0;
|
177
|
+
return;
|
178
|
+
}
|
179
|
+
t = t.offsetParent;
|
180
|
+
}
|
181
|
+
this.activatorFixed = !1;
|
182
|
+
},
|
183
|
+
deactivate() {
|
184
|
+
},
|
185
|
+
genActivatorListeners() {
|
186
|
+
const t = f.options.methods.genActivatorListeners.call(this), e = t.click;
|
187
|
+
return e && (t.click = (i) => {
|
188
|
+
this.openOnClick && e && e(i), this.absoluteX = i.clientX, this.absoluteY = i.clientY;
|
189
|
+
}), t;
|
190
|
+
},
|
191
|
+
getInnerHeight() {
|
192
|
+
return this.hasWindow ? window.innerHeight || document.documentElement.clientHeight : 0;
|
193
|
+
},
|
194
|
+
getOffsetLeft() {
|
195
|
+
return this.hasWindow ? window.pageXOffset || document.documentElement.scrollLeft : 0;
|
196
|
+
},
|
197
|
+
getOffsetTop() {
|
198
|
+
return this.hasWindow ? window.pageYOffset || document.documentElement.scrollTop : 0;
|
199
|
+
},
|
200
|
+
getRoundedBoundedClientRect(t) {
|
201
|
+
const e = t.getBoundingClientRect();
|
202
|
+
return {
|
203
|
+
top: Math.round(e.top),
|
204
|
+
left: Math.round(e.left),
|
205
|
+
bottom: Math.round(e.bottom),
|
206
|
+
right: Math.round(e.right),
|
207
|
+
width: Math.round(e.width),
|
208
|
+
height: Math.round(e.height)
|
209
|
+
};
|
210
|
+
},
|
211
|
+
measure(t) {
|
212
|
+
if (!t || !this.hasWindow)
|
213
|
+
return null;
|
214
|
+
const e = this.getRoundedBoundedClientRect(t);
|
215
|
+
if (this.attach !== !1) {
|
216
|
+
const i = window.getComputedStyle(t);
|
217
|
+
e.left = parseInt(i.marginLeft), e.top = parseInt(i.marginTop);
|
218
|
+
}
|
219
|
+
return e;
|
220
|
+
},
|
221
|
+
sneakPeek(t) {
|
222
|
+
requestAnimationFrame(() => {
|
223
|
+
const e = this.$refs.content;
|
224
|
+
if (!e || e.style.display !== "none") {
|
225
|
+
t();
|
226
|
+
return;
|
227
|
+
}
|
228
|
+
e.style.display = "inline-block", t(), e.style.display = "none";
|
229
|
+
});
|
230
|
+
},
|
231
|
+
startTransition() {
|
232
|
+
return new Promise((t) => requestAnimationFrame(() => {
|
233
|
+
this.isContentActive = this.hasJustFocused = this.isActive, t();
|
234
|
+
}));
|
235
|
+
},
|
236
|
+
updateDimensions() {
|
237
|
+
this.hasWindow = typeof window < "u", this.checkActivatorFixed(), this.checkForPageYOffset(), this.pageWidth = document.documentElement.clientWidth;
|
238
|
+
const t = {
|
239
|
+
activator: {
|
240
|
+
...this.dimensions.activator
|
241
|
+
},
|
242
|
+
content: {
|
243
|
+
...this.dimensions.content
|
244
|
+
}
|
245
|
+
};
|
246
|
+
if (!this.hasActivator || this.absolute)
|
247
|
+
t.activator = this.absolutePosition();
|
248
|
+
else {
|
249
|
+
const e = this.getActivator();
|
250
|
+
if (!e)
|
251
|
+
return;
|
252
|
+
t.activator = this.measure(e), t.activator.offsetLeft = e.offsetLeft, this.attach !== !1 ? t.activator.offsetTop = e.offsetTop : t.activator.offsetTop = 0;
|
253
|
+
}
|
254
|
+
this.sneakPeek(() => {
|
255
|
+
if (this.$refs.content) {
|
256
|
+
if (this.$refs.content.offsetParent) {
|
257
|
+
const e = this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);
|
258
|
+
this.relativeYOffset = window.pageYOffset + e.top, t.activator.top -= this.relativeYOffset, t.activator.left -= window.pageXOffset + e.left;
|
259
|
+
}
|
260
|
+
t.content = this.measure(this.$refs.content);
|
261
|
+
}
|
262
|
+
this.dimensions = t;
|
263
|
+
});
|
264
|
+
}
|
265
|
+
}
|
266
|
+
});
|
267
|
+
export {
|
268
|
+
w as M
|
269
|
+
};
|
270
|
+
//# sourceMappingURL=revolugo.index.D4mTtHy0.min.js.map
|
@@ -0,0 +1,281 @@
|
|
1
|
+
import { V as n } from "./revolugo.i18n.CyGKqo0B.min.js";
|
2
|
+
import { b as o, c as l } from "./revolugo.index.B-fKWuIg.min.js";
|
3
|
+
import { I as h } from "./revolugo.vuetify.wVP8V0K5.min.js";
|
4
|
+
import { m as c, T as u, C as d } from "./revolugo.webcomponentwrapper.C4B-n-nK.min.js";
|
5
|
+
import { f as m } from "./revolugo.index.2rRqbmTI.min.js";
|
6
|
+
import { h as i, j as g } from "./revolugo.revolugo-config.CV2-KqZg.min.js";
|
7
|
+
function a(e) {
|
8
|
+
try {
|
9
|
+
if (typeof document < "u") {
|
10
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
11
|
+
sheets: [],
|
12
|
+
components: []
|
13
|
+
};
|
14
|
+
const t = import.meta.url, r = t.slice(0, t.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 (t) {
|
24
|
+
console.error("[revolugo-elements] ", t);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
function f(e = "value", t = "change") {
|
28
|
+
return n.extend({
|
29
|
+
name: "proxyable",
|
30
|
+
model: {
|
31
|
+
prop: e,
|
32
|
+
event: t
|
33
|
+
},
|
34
|
+
props: {
|
35
|
+
[e]: {
|
36
|
+
required: !1
|
37
|
+
}
|
38
|
+
},
|
39
|
+
data() {
|
40
|
+
return {
|
41
|
+
internalLazyValue: this[e]
|
42
|
+
};
|
43
|
+
},
|
44
|
+
computed: {
|
45
|
+
internalValue: {
|
46
|
+
get() {
|
47
|
+
return this.internalLazyValue;
|
48
|
+
},
|
49
|
+
set(r) {
|
50
|
+
r !== this.internalLazyValue && (this.internalLazyValue = r, this.$emit(t, r));
|
51
|
+
}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
watch: {
|
55
|
+
[e](r) {
|
56
|
+
this.internalLazyValue = r;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
});
|
60
|
+
}
|
61
|
+
const p = f(), _ = p, v = c(d, m(["absolute", "fixed", "top", "bottom"]), _, u), y = v.extend({
|
62
|
+
name: "v-progress-linear",
|
63
|
+
directives: {
|
64
|
+
intersect: h
|
65
|
+
},
|
66
|
+
props: {
|
67
|
+
active: {
|
68
|
+
type: Boolean,
|
69
|
+
default: !0
|
70
|
+
},
|
71
|
+
backgroundColor: {
|
72
|
+
type: String,
|
73
|
+
default: null
|
74
|
+
},
|
75
|
+
backgroundOpacity: {
|
76
|
+
type: [Number, String],
|
77
|
+
default: null
|
78
|
+
},
|
79
|
+
bufferValue: {
|
80
|
+
type: [Number, String],
|
81
|
+
default: 100
|
82
|
+
},
|
83
|
+
color: {
|
84
|
+
type: String,
|
85
|
+
default: "primary"
|
86
|
+
},
|
87
|
+
height: {
|
88
|
+
type: [Number, String],
|
89
|
+
default: 4
|
90
|
+
},
|
91
|
+
indeterminate: Boolean,
|
92
|
+
query: Boolean,
|
93
|
+
reverse: Boolean,
|
94
|
+
rounded: Boolean,
|
95
|
+
stream: Boolean,
|
96
|
+
striped: Boolean,
|
97
|
+
value: {
|
98
|
+
type: [Number, String],
|
99
|
+
default: 0
|
100
|
+
}
|
101
|
+
},
|
102
|
+
data() {
|
103
|
+
return {
|
104
|
+
internalLazyValue: this.value || 0,
|
105
|
+
isVisible: !0
|
106
|
+
};
|
107
|
+
},
|
108
|
+
computed: {
|
109
|
+
__cachedBackground() {
|
110
|
+
return this.$createElement("div", this.setBackgroundColor(this.backgroundColor || this.color, {
|
111
|
+
staticClass: "v-progress-linear__background",
|
112
|
+
style: this.backgroundStyle
|
113
|
+
}));
|
114
|
+
},
|
115
|
+
__cachedBar() {
|
116
|
+
return this.$createElement(this.computedTransition, [this.__cachedBarType]);
|
117
|
+
},
|
118
|
+
__cachedBarType() {
|
119
|
+
return this.indeterminate ? this.__cachedIndeterminate : this.__cachedDeterminate;
|
120
|
+
},
|
121
|
+
__cachedBuffer() {
|
122
|
+
return this.$createElement("div", {
|
123
|
+
staticClass: "v-progress-linear__buffer",
|
124
|
+
style: this.styles
|
125
|
+
});
|
126
|
+
},
|
127
|
+
__cachedDeterminate() {
|
128
|
+
return this.$createElement("div", this.setBackgroundColor(this.color, {
|
129
|
+
staticClass: "v-progress-linear__determinate",
|
130
|
+
style: {
|
131
|
+
width: i(this.normalizedValue, "%")
|
132
|
+
}
|
133
|
+
}));
|
134
|
+
},
|
135
|
+
__cachedIndeterminate() {
|
136
|
+
return this.$createElement("div", {
|
137
|
+
staticClass: "v-progress-linear__indeterminate",
|
138
|
+
class: {
|
139
|
+
"v-progress-linear__indeterminate--active": this.active
|
140
|
+
}
|
141
|
+
}, [this.genProgressBar("long"), this.genProgressBar("short")]);
|
142
|
+
},
|
143
|
+
__cachedStream() {
|
144
|
+
return this.stream ? this.$createElement("div", this.setTextColor(this.color, {
|
145
|
+
staticClass: "v-progress-linear__stream",
|
146
|
+
style: {
|
147
|
+
width: i(100 - this.normalizedBuffer, "%")
|
148
|
+
}
|
149
|
+
})) : null;
|
150
|
+
},
|
151
|
+
backgroundStyle() {
|
152
|
+
return {
|
153
|
+
opacity: this.backgroundOpacity == null ? this.backgroundColor ? 1 : 0.3 : parseFloat(this.backgroundOpacity),
|
154
|
+
[this.isReversed ? "right" : "left"]: i(this.normalizedValue, "%"),
|
155
|
+
width: i(Math.max(0, this.normalizedBuffer - this.normalizedValue), "%")
|
156
|
+
};
|
157
|
+
},
|
158
|
+
classes() {
|
159
|
+
return {
|
160
|
+
"v-progress-linear--absolute": this.absolute,
|
161
|
+
"v-progress-linear--fixed": this.fixed,
|
162
|
+
"v-progress-linear--query": this.query,
|
163
|
+
"v-progress-linear--reactive": this.reactive,
|
164
|
+
"v-progress-linear--reverse": this.isReversed,
|
165
|
+
"v-progress-linear--rounded": this.rounded,
|
166
|
+
"v-progress-linear--striped": this.striped,
|
167
|
+
"v-progress-linear--visible": this.isVisible,
|
168
|
+
...this.themeClasses
|
169
|
+
};
|
170
|
+
},
|
171
|
+
computedTransition() {
|
172
|
+
return this.indeterminate ? o : l;
|
173
|
+
},
|
174
|
+
isReversed() {
|
175
|
+
return this.$vuetify.rtl !== this.reverse;
|
176
|
+
},
|
177
|
+
normalizedBuffer() {
|
178
|
+
return this.normalize(this.bufferValue);
|
179
|
+
},
|
180
|
+
normalizedValue() {
|
181
|
+
return this.normalize(this.internalLazyValue);
|
182
|
+
},
|
183
|
+
reactive() {
|
184
|
+
return !!this.$listeners.change;
|
185
|
+
},
|
186
|
+
styles() {
|
187
|
+
const e = {};
|
188
|
+
return this.active || (e.height = 0), !this.indeterminate && parseFloat(this.normalizedBuffer) !== 100 && (e.width = i(this.normalizedBuffer, "%")), e;
|
189
|
+
}
|
190
|
+
},
|
191
|
+
methods: {
|
192
|
+
genContent() {
|
193
|
+
const e = g(this, "default", {
|
194
|
+
value: this.internalLazyValue
|
195
|
+
});
|
196
|
+
return e ? this.$createElement("div", {
|
197
|
+
staticClass: "v-progress-linear__content"
|
198
|
+
}, e) : null;
|
199
|
+
},
|
200
|
+
genListeners() {
|
201
|
+
const e = this.$listeners;
|
202
|
+
return this.reactive && (e.click = this.onClick), e;
|
203
|
+
},
|
204
|
+
genProgressBar(e) {
|
205
|
+
return this.$createElement("div", this.setBackgroundColor(this.color, {
|
206
|
+
staticClass: "v-progress-linear__indeterminate",
|
207
|
+
class: {
|
208
|
+
[e]: !0
|
209
|
+
}
|
210
|
+
}));
|
211
|
+
},
|
212
|
+
onClick(e) {
|
213
|
+
if (!this.reactive)
|
214
|
+
return;
|
215
|
+
const {
|
216
|
+
width: t
|
217
|
+
} = this.$el.getBoundingClientRect();
|
218
|
+
this.internalValue = e.offsetX / t * 100;
|
219
|
+
},
|
220
|
+
onObserve(e, t, r) {
|
221
|
+
this.isVisible = r;
|
222
|
+
},
|
223
|
+
normalize(e) {
|
224
|
+
return e < 0 ? 0 : e > 100 ? 100 : parseFloat(e);
|
225
|
+
}
|
226
|
+
},
|
227
|
+
render(e) {
|
228
|
+
const t = {
|
229
|
+
staticClass: "v-progress-linear",
|
230
|
+
attrs: {
|
231
|
+
role: "progressbar",
|
232
|
+
"aria-valuemin": 0,
|
233
|
+
"aria-valuemax": this.normalizedBuffer,
|
234
|
+
"aria-valuenow": this.indeterminate ? void 0 : this.normalizedValue
|
235
|
+
},
|
236
|
+
class: this.classes,
|
237
|
+
directives: [{
|
238
|
+
name: "intersect",
|
239
|
+
value: this.onObserve
|
240
|
+
}],
|
241
|
+
style: {
|
242
|
+
bottom: this.bottom ? 0 : void 0,
|
243
|
+
height: this.active ? i(this.height) : 0,
|
244
|
+
top: this.top ? 0 : void 0
|
245
|
+
},
|
246
|
+
on: this.genListeners()
|
247
|
+
};
|
248
|
+
return e("div", t, [this.__cachedStream, this.__cachedBackground, this.__cachedBuffer, this.__cachedBar, this.genContent()]);
|
249
|
+
}
|
250
|
+
}), L = n.extend().extend({
|
251
|
+
name: "loadable",
|
252
|
+
props: {
|
253
|
+
loading: {
|
254
|
+
type: [Boolean, String],
|
255
|
+
default: !1
|
256
|
+
},
|
257
|
+
loaderHeight: {
|
258
|
+
type: [Number, String],
|
259
|
+
default: 2
|
260
|
+
}
|
261
|
+
},
|
262
|
+
methods: {
|
263
|
+
genProgress() {
|
264
|
+
return this.loading === !1 ? null : this.$slots.progress || this.$createElement(y, {
|
265
|
+
props: {
|
266
|
+
absolute: !0,
|
267
|
+
color: this.loading === !0 || this.loading === "" ? this.color || "primary" : this.loading,
|
268
|
+
height: this.loaderHeight,
|
269
|
+
indeterminate: !0
|
270
|
+
}
|
271
|
+
});
|
272
|
+
}
|
273
|
+
}
|
274
|
+
});
|
275
|
+
a("css/revolugo.index.DXv5c7NS.css");
|
276
|
+
export {
|
277
|
+
L,
|
278
|
+
_ as P,
|
279
|
+
y as _
|
280
|
+
};
|
281
|
+
//# sourceMappingURL=revolugo.index.DEJEDSDi.min.js.map
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { V as n } from "./revolugo.i18n.CyGKqo0B.min.js";
|
2
|
+
const t = n.extend({
|
3
|
+
name: "transitionable",
|
4
|
+
props: {
|
5
|
+
mode: String,
|
6
|
+
origin: String,
|
7
|
+
transition: String
|
8
|
+
}
|
9
|
+
});
|
10
|
+
export {
|
11
|
+
t as T
|
12
|
+
};
|
13
|
+
//# sourceMappingURL=revolugo.index.DVlgraIx.min.js.map
|