@revolugo/elements 6.7.2-rc.7 → 6.7.3-beta.0
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/index.es.min.js +2618 -2553
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
- package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.ES8H8TdX.min.js} +24 -23
- package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.FofU3mwm.min.js} +121 -6
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Er0BOzhm.min.js +61 -0
- package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.o301OMGn.min.js} +173 -169
- package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.V_1vhP4H.min.js} +169 -241
- package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.B9IrrAQm.min.js} +77 -76
- package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.BbOESSh5.min.js} +36 -36
- package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.DJCyHj6W.min.js} +184 -202
- package/dist/revolugo.bookingdetailssidebar.YExbkGzc.min.js +24 -0
- package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.dEjhzT2A.min.js} +51 -48
- package/dist/revolugo.bpricesummaryskeleton.t8bYETzP.min.js +79 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CmgO29ZN.min.js} +28 -27
- package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.HV2MY7n9.min.js} +70 -69
- package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BlxYDvQM.min.js} +51 -70
- package/dist/revolugo.cancellationpoliciesbadge.FhiHeLu9.min.js +24 -0
- package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.BMKPdB9z.min.js} +28 -47
- package/dist/revolugo.cancellationpolicieslist.C4GBKaw8.min.js +24 -0
- package/dist/revolugo.case-transformers.Ddd0DZeI.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/revolugo.creditcardform.CJnUNQmx.min.js +24 -0
- package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.KPRkwSVZ.min.js} +650 -901
- package/dist/revolugo.creditcardpayment.DGWBaIYP.min.js +24 -0
- package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.gPcfsEC5.min.js} +138 -154
- package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.CEQB4l-T.min.js} +19 -18
- package/dist/revolugo.currencypickerbtn.D3t6zODt.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.drvXcNoD.min.js +163 -0
- package/dist/revolugo.dialog-attach.CEqY6W2u.min.js +28 -0
- package/dist/revolugo.dialog-transition.DjCJstCa.min.js +114 -0
- package/dist/revolugo.fastbookingflow.rfdQQDxx.min.js +34 -0
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
- package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.rmAHR_IC.min.js} +77 -75
- package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BU8Q37ZC.min.js} +363 -379
- package/dist/revolugo.hoteldescriptionview.Ctcmbxkx.min.js +24 -0
- package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.yfMiZs8-.min.js} +9 -9
- package/dist/revolugo.hotelofferlist.Dt7FXhVI.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.Il2LjMCL.min.js} +1005 -1053
- package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.BpgknOPE.min.js} +7 -7
- package/dist/revolugo.hoteloffersearchmenu.MzJ49afx.min.js +46 -0
- package/dist/revolugo.hoteloffersmap.BMFBMh12.min.js +24 -0
- package/dist/revolugo.hoteloffersmap.CObm7hoD.min.js +8394 -0
- package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.Bpu61_EH.min.js} +161 -176
- package/dist/revolugo.hoteloffersview.Cn-wbBGn.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.Cvw5drkG.min.js +24 -0
- package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DyMNPEmJ.min.js} +468 -485
- package/dist/revolugo.hotelroomofferrequestcreator.props.UhEzU-Eo.min.js +171 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.BhZHfo79.min.js} +40 -39
- package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.BDYUJlri.min.js} +29 -49
- package/dist/revolugo.hotelroomoffersearchmenu.D7QyRteS.min.js +25 -0
- package/dist/revolugo.hotelroomoffersview.BpiOqbeg.min.js +24 -0
- package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DI54bcEi.min.js} +71 -91
- package/dist/revolugo.index.CHVqFiWo.min.js +1037 -0
- package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.DlCArqY2.min.js} +6 -6
- package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.U-Ds0Ud7.min.js} +7732 -7859
- package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.Bfd4GXeG.min.js} +15 -15
- package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.Bx3onVJO.min.js} +53 -71
- package/dist/revolugo.langpickerbtn.Dj9aqzUa.min.js +24 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DG21FbXr.min.js} +45 -44
- package/dist/revolugo.prebookform.DZiQ5M3q.min.js +24 -0
- package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.hUDmprdU.min.js} +94 -114
- package/dist/revolugo.roominglisteditor.CqHUrQ4g.min.js +24 -0
- package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.meQaCKaE.min.js} +82 -101
- package/dist/revolugo.rounded.CDKzGlV8.min.js +68 -0
- package/dist/revolugo.ssrboot.me6E0cRY.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.CmOqTdGz.min.js} +110 -108
- package/dist/revolugo.termsandconditions.CSbVW2DS.min.js +23 -0
- package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.CcWZ66ul.min.js} +90 -108
- package/dist/revolugo.use-breakpoint-service.DzP23XZi.min.js +106 -0
- package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.1eBdqerb.min.js} +133 -132
- package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.3HWnFhqm.min.js} +33 -32
- package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.D5oMY_p5.min.js} +82 -81
- package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.CLsvQwyI.min.js} +50 -49
- package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.BkLi1Y04.min.js} +72 -71
- package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.8XLsV5dc.min.js} +26 -25
- package/dist/revolugo.vdivider.jj-AdUyd.min.js +77 -0
- package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.Cc3RP1rh.min.js} +42 -41
- package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Db-PE5B0.min.js} +15 -15
- package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.86caOzy1.min.js} +91 -91
- package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.CVuILaZ8.min.js} +5 -5
- package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.Dyah7BiI.min.js} +90 -88
- package/dist/revolugo.vmenu.CXAeU_qi.min.js +152 -0
- package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.BsnagCGW.min.js} +133 -132
- package/dist/revolugo.vsheet.BG1meZTM.min.js +72 -0
- package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.BORzy4_m.min.js} +14 -13
- package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CxMxY-0P.min.js} +46 -44
- package/dist/revolugo.vspacer.BiUgatwg.min.js +7 -0
- package/dist/{revolugo.vtextarea.DQrxw1ua.min.js → revolugo.vtextarea.BkNy6mLm.min.js} +48 -39
- package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.DlfEz4JN.min.js} +109 -107
- package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.2imDjYnr.min.js} +21 -20
- package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.vIYDBJ4s.min.js} +118 -109
- package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.CIEwtCBy.min.js} +41 -41
- package/dist/revolugo.watch-list.C39H03pK.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.BzrBNp7K.min.js} +484 -541
- package/package.json +5 -5
- package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
- package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
- package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
- package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
- package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
- package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
- package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
- package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
- /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
- /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
- /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
- /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import { m as
|
3
|
-
import {
|
4
|
-
import {
|
1
|
+
import { _ as M, aF as x, bI as oe, Z as F, aD as U, aQ as ie, ab as h, a as t, y as b, ac as ce, a2 as de, D as C, H as G, aA as re, a0 as D, $ as k, I as ue, F as O, t as j, d as ve, c2 as pe, i as fe, w as I, o as S, j as w, f as me, c as R, g as $ } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
|
2
|
+
import { m as he, b as z, V as ke } from "./revolugo.vtooltip.vIYDBJ4s.min.js";
|
3
|
+
import { q as Y, k as ye, j as Ce, R as be, p as Ve, n as ge, o as Ie, u as Se, m as Ee, i as Pe, e as _e, g as Be, r as Ae, V as v, a as y, h as N } from "./revolugo.index.CHVqFiWo.min.js";
|
4
|
+
import { e as q, m as K, u as Le, A as Te, D as Ge, _ as De } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
|
5
|
+
import { c as Oe, u as we, b as Re, a as $e, m as ze, d as Ne } from "./revolugo.rounded.CDKzGlV8.min.js";
|
5
6
|
function se(e) {
|
6
7
|
try {
|
7
8
|
if (typeof document < "u") {
|
@@ -22,21 +23,21 @@ function se(e) {
|
|
22
23
|
console.error("[revolugo-elements] ", i);
|
23
24
|
}
|
24
25
|
}
|
25
|
-
const
|
26
|
+
const H = Symbol.for("vuetify:v-chip-group"), Me = M({
|
26
27
|
column: Boolean,
|
27
28
|
filter: Boolean,
|
28
29
|
valueComparator: {
|
29
30
|
type: Function,
|
30
31
|
default: oe
|
31
32
|
},
|
32
|
-
...
|
33
|
-
...
|
34
|
-
...
|
33
|
+
...he(),
|
34
|
+
...K(),
|
35
|
+
...ye({
|
35
36
|
selectedClass: "v-chip--selected"
|
36
37
|
}),
|
37
|
-
...
|
38
|
+
...q(),
|
38
39
|
...x(),
|
39
|
-
...
|
40
|
+
...Y({
|
40
41
|
variant: "tonal"
|
41
42
|
})
|
42
43
|
}, "VChipGroup");
|
@@ -55,10 +56,10 @@ F()({
|
|
55
56
|
} = U(e), {
|
56
57
|
isSelected: a,
|
57
58
|
select: d,
|
58
|
-
next:
|
59
|
+
next: r,
|
59
60
|
prev: p,
|
60
61
|
selected: V
|
61
|
-
} =
|
62
|
+
} = Ce(e, H);
|
62
63
|
return ie({
|
63
64
|
VChip: {
|
64
65
|
color: h(e, "color"),
|
@@ -66,7 +67,7 @@ F()({
|
|
66
67
|
filter: h(e, "filter"),
|
67
68
|
variant: h(e, "variant")
|
68
69
|
}
|
69
|
-
}),
|
70
|
+
}), Le(() => {
|
70
71
|
const g = z.filterProps(e);
|
71
72
|
return t(z, b(g, {
|
72
73
|
class: ["v-chip-group", {
|
@@ -79,7 +80,7 @@ F()({
|
|
79
80
|
return [(m = o.default) == null ? void 0 : m.call(o, {
|
80
81
|
isSelected: a,
|
81
82
|
select: d,
|
82
|
-
next:
|
83
|
+
next: r,
|
83
84
|
prev: p,
|
84
85
|
selected: V.value
|
85
86
|
})];
|
@@ -127,27 +128,27 @@ const xe = M({
|
|
127
128
|
type: Boolean,
|
128
129
|
default: !0
|
129
130
|
},
|
130
|
-
onClick:
|
131
|
-
onClickOnce:
|
132
|
-
...
|
133
|
-
...
|
134
|
-
...
|
135
|
-
...me(),
|
136
|
-
...Ge(),
|
137
|
-
...fe(),
|
131
|
+
onClick: D(),
|
132
|
+
onClickOnce: D(),
|
133
|
+
...Ne(),
|
134
|
+
...K(),
|
135
|
+
..._e(),
|
138
136
|
...ze(),
|
139
|
-
...
|
140
|
-
|
137
|
+
...Pe(),
|
138
|
+
...$e(),
|
139
|
+
...Ge(),
|
140
|
+
...Ee(),
|
141
|
+
...q({
|
141
142
|
tag: "span"
|
142
143
|
}),
|
143
144
|
...x(),
|
144
|
-
...
|
145
|
+
...Y({
|
145
146
|
variant: "tonal"
|
146
147
|
})
|
147
148
|
}, "VChip"), Fe = F()({
|
148
149
|
name: "VChip",
|
149
150
|
directives: {
|
150
|
-
Ripple:
|
151
|
+
Ripple: be
|
151
152
|
},
|
152
153
|
props: xe(),
|
153
154
|
emits: {
|
@@ -165,22 +166,22 @@ const xe = M({
|
|
165
166
|
const {
|
166
167
|
t: d
|
167
168
|
} = ce(), {
|
168
|
-
borderClasses:
|
169
|
-
} =
|
169
|
+
borderClasses: r
|
170
|
+
} = Oe(e), {
|
170
171
|
colorClasses: p,
|
171
172
|
colorStyles: V,
|
172
173
|
variantClasses: g
|
173
|
-
} =
|
174
|
+
} = Ve(e), {
|
174
175
|
densityClasses: m
|
175
|
-
} =
|
176
|
+
} = ge(e), {
|
176
177
|
elevationClasses: Q
|
177
|
-
} =
|
178
|
+
} = we(e), {
|
178
179
|
roundedClasses: X
|
179
|
-
} =
|
180
|
-
sizeClasses:
|
181
|
-
} =
|
182
|
-
themeClasses:
|
183
|
-
} = U(e), E =
|
180
|
+
} = Re(e), {
|
181
|
+
sizeClasses: Z
|
182
|
+
} = Ie(e), {
|
183
|
+
themeClasses: J
|
184
|
+
} = U(e), E = de(e, "modelValue"), l = Se(e, H, !1), c = Te(e, o), W = C(() => e.link !== !1 && c.isLink.value), u = C(() => !e.disabled && e.link !== !1 && (!!l || e.link || c.isClickable.value)), ee = C(() => ({
|
184
185
|
"aria-label": d(e.closeLabel),
|
185
186
|
onClick(n) {
|
186
187
|
n.preventDefault(), n.stopPropagation(), E.value = !1, s("click:close", n);
|
@@ -188,33 +189,33 @@ const xe = M({
|
|
188
189
|
}));
|
189
190
|
function P(n) {
|
190
191
|
var f;
|
191
|
-
s("click", n),
|
192
|
+
s("click", n), u.value && ((f = c.navigate) == null || f.call(c, n), l == null || l.toggle());
|
192
193
|
}
|
193
194
|
function ae(n) {
|
194
195
|
(n.key === "Enter" || n.key === " ") && (n.preventDefault(), P(n));
|
195
196
|
}
|
196
197
|
return () => {
|
197
|
-
var
|
198
|
-
const n = c.isLink.value ? "a" : e.tag, f = !!(e.appendIcon || e.appendAvatar), le = !!(f || a.append), te = !!(a.close || e.closable),
|
198
|
+
var L;
|
199
|
+
const n = c.isLink.value ? "a" : e.tag, f = !!(e.appendIcon || e.appendAvatar), le = !!(f || a.append), te = !!(a.close || e.closable), _ = !!(a.filter || e.filter) && l, B = !!(e.prependIcon || e.prependAvatar), ne = !!(B || a.prepend), A = !l || l.isSelected.value;
|
199
200
|
return E.value && G(t(n, b({
|
200
201
|
class: ["v-chip", {
|
201
202
|
"v-chip--disabled": e.disabled,
|
202
203
|
"v-chip--label": e.label,
|
203
|
-
"v-chip--link":
|
204
|
-
"v-chip--filter":
|
204
|
+
"v-chip--link": u.value,
|
205
|
+
"v-chip--filter": _,
|
205
206
|
"v-chip--pill": e.pill,
|
206
|
-
[`${e.activeClass}`]: e.activeClass && ((
|
207
|
-
},
|
208
|
-
style: [
|
207
|
+
[`${e.activeClass}`]: e.activeClass && ((L = c.isActive) == null ? void 0 : L.value)
|
208
|
+
}, J.value, r.value, A ? p.value : void 0, m.value, Q.value, X.value, Z.value, g.value, l == null ? void 0 : l.selectedClass.value, e.class],
|
209
|
+
style: [A ? V.value : void 0, e.style],
|
209
210
|
disabled: e.disabled || void 0,
|
210
211
|
draggable: e.draggable,
|
211
|
-
tabindex:
|
212
|
+
tabindex: u.value ? 0 : void 0,
|
212
213
|
onClick: P,
|
213
|
-
onKeydown:
|
214
|
+
onKeydown: u.value && !W.value && ae
|
214
215
|
}, c.linkProps), {
|
215
216
|
default: () => {
|
216
|
-
var
|
217
|
-
return [
|
217
|
+
var T;
|
218
|
+
return [Be(u.value, "v-chip"), _ && t(Ae, {
|
218
219
|
key: "filter"
|
219
220
|
}, {
|
220
221
|
default: () => [G(t("div", {
|
@@ -230,13 +231,13 @@ const xe = M({
|
|
230
231
|
}, a.filter) : t(v, {
|
231
232
|
key: "filter-icon",
|
232
233
|
icon: e.filterIcon
|
233
|
-
}, null)]), [[
|
234
|
+
}, null)]), [[ue, l.isSelected.value]])]
|
234
235
|
}), ne && t("div", {
|
235
236
|
key: "prepend",
|
236
237
|
class: "v-chip__prepend"
|
237
238
|
}, [a.prepend ? t(y, {
|
238
239
|
key: "prepend-defaults",
|
239
|
-
disabled: !
|
240
|
+
disabled: !B,
|
240
241
|
defaults: {
|
241
242
|
VAvatar: {
|
242
243
|
image: e.prependAvatar,
|
@@ -247,7 +248,7 @@ const xe = M({
|
|
247
248
|
start: !0
|
248
249
|
}
|
249
250
|
}
|
250
|
-
}, a.prepend) : t(
|
251
|
+
}, a.prepend) : t(O, null, [e.prependIcon && t(v, {
|
251
252
|
key: "prepend-icon",
|
252
253
|
icon: e.prependIcon,
|
253
254
|
start: !0
|
@@ -258,7 +259,7 @@ const xe = M({
|
|
258
259
|
}, null)])]), t("div", {
|
259
260
|
class: "v-chip__content",
|
260
261
|
"data-no-activator": ""
|
261
|
-
}, [((
|
262
|
+
}, [((T = a.default) == null ? void 0 : T.call(a, {
|
262
263
|
isSelected: l == null ? void 0 : l.isSelected.value,
|
263
264
|
selectedClass: l == null ? void 0 : l.selectedClass.value,
|
264
265
|
select: l == null ? void 0 : l.select,
|
@@ -281,7 +282,7 @@ const xe = M({
|
|
281
282
|
icon: e.appendIcon
|
282
283
|
}
|
283
284
|
}
|
284
|
-
}, a.append) : t(
|
285
|
+
}, a.append) : t(O, null, [e.appendIcon && t(v, {
|
285
286
|
key: "append-icon",
|
286
287
|
end: !0,
|
287
288
|
icon: e.appendIcon
|
@@ -308,10 +309,10 @@ const xe = M({
|
|
308
309
|
size: "x-small"
|
309
310
|
}, null)])];
|
310
311
|
}
|
311
|
-
}), [[
|
312
|
+
}), [[re("ripple"), u.value && e.ripple, null]]);
|
312
313
|
};
|
313
314
|
}
|
314
|
-
}), Ue = { class: "d-inline-block" }, je = /* @__PURE__ */
|
315
|
+
}), Ue = { class: "d-inline-block" }, je = /* @__PURE__ */ ve({
|
315
316
|
__name: "BTag",
|
316
317
|
props: {
|
317
318
|
openDelay: { default: void 0 },
|
@@ -321,23 +322,23 @@ const xe = M({
|
|
321
322
|
tooltipContent: { default: void 0 }
|
322
323
|
},
|
323
324
|
setup(e) {
|
324
|
-
const i = e, o =
|
325
|
+
const i = e, o = pe(), s = C(
|
325
326
|
() => {
|
326
327
|
var a, d;
|
327
328
|
return !!((a = i.tooltipContent) != null && a.length) || !!((d = o.tooltipContent) != null && d.length);
|
328
329
|
}
|
329
330
|
);
|
330
331
|
return (a, d) => {
|
331
|
-
var
|
332
|
-
return
|
333
|
-
t(
|
332
|
+
var r;
|
333
|
+
return S(), fe("span", Ue, [
|
334
|
+
t(ke, {
|
334
335
|
location: "top",
|
335
336
|
"open-delay": a.openDelay,
|
336
337
|
disabled: !s.value,
|
337
338
|
"content-class": "text-left",
|
338
|
-
attach: ((
|
339
|
+
attach: ((r = a.$parent) == null ? void 0 : r.$el) || a.$el
|
339
340
|
}, {
|
340
|
-
activator:
|
341
|
+
activator: I(({ props: p }) => [
|
341
342
|
t(Fe, b({ variant: "flat" }, { ...p, ...a.$attrs }, {
|
342
343
|
class: "d-inline-flex",
|
343
344
|
label: "",
|
@@ -347,8 +348,8 @@ const xe = M({
|
|
347
348
|
},
|
348
349
|
size: a.regular ? void 0 : "x-small"
|
349
350
|
}), {
|
350
|
-
default:
|
351
|
-
a.preIcon ? (
|
351
|
+
default: I(() => [
|
352
|
+
a.preIcon ? (S(), R(v, {
|
352
353
|
key: 0,
|
353
354
|
class: "mr-2",
|
354
355
|
icon: a.preIcon,
|
@@ -356,7 +357,7 @@ const xe = M({
|
|
356
357
|
start: ""
|
357
358
|
}, null, 8, ["icon"])) : $("", !0),
|
358
359
|
w(a.$slots, "default", {}, void 0, !0),
|
359
|
-
a.postIcon ? (
|
360
|
+
a.postIcon ? (S(), R(v, {
|
360
361
|
key: 1,
|
361
362
|
icon: a.postIcon,
|
362
363
|
size: "12",
|
@@ -367,9 +368,9 @@ const xe = M({
|
|
367
368
|
_: 2
|
368
369
|
}, 1040, ["style", "size"])
|
369
370
|
]),
|
370
|
-
default:
|
371
|
+
default: I(() => [
|
371
372
|
w(a.$slots, "tooltipContent", {}, () => [
|
372
|
-
|
373
|
+
me(j(a.tooltipContent), 1)
|
373
374
|
], !0)
|
374
375
|
]),
|
375
376
|
_: 3
|
@@ -377,10 +378,10 @@ const xe = M({
|
|
377
378
|
]);
|
378
379
|
};
|
379
380
|
}
|
380
|
-
}),
|
381
|
+
}), Xe = /* @__PURE__ */ De(je, [["__scopeId", "data-v-79ee5981"]]);
|
381
382
|
se("css/revolugo.btag.g-q3eChG.css");
|
382
383
|
export {
|
383
|
-
|
384
|
+
Xe as B,
|
384
385
|
Fe as V
|
385
386
|
};
|
386
|
-
//# sourceMappingURL=revolugo.btag.
|
387
|
+
//# sourceMappingURL=revolugo.btag.HV2MY7n9.min.js.map
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { c as
|
2
|
-
import { B as
|
3
|
-
import {
|
4
|
-
import { _ as
|
5
|
-
import { V as
|
6
|
-
import {
|
7
|
-
function
|
1
|
+
import { c as E, C as L } from "./revolugo.cancellationpolicieslist.BMKPdB9z.min.js";
|
2
|
+
import { B as R } from "./revolugo.btag.HV2MY7n9.min.js";
|
3
|
+
import { d as S, b as T, u as _, bv as N, bw as w, bx as z, i as l, a as m, w as o, e as c, t as g, r as O, c as V, g as C, f as D, y as I, o as a } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
|
4
|
+
import { _ as M } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
|
5
|
+
import { V as G } from "./revolugo.index.CHVqFiWo.min.js";
|
6
|
+
import { V as H } from "./revolugo.vtooltip.vIYDBJ4s.min.js";
|
7
|
+
function B(e) {
|
8
8
|
try {
|
9
9
|
if (typeof document < "u") {
|
10
10
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -24,20 +24,20 @@ function N(e) {
|
|
24
24
|
console.error("[revolugo-elements] ", t);
|
25
25
|
}
|
26
26
|
}
|
27
|
-
const
|
28
|
-
...
|
27
|
+
const U = {
|
28
|
+
...E,
|
29
29
|
tagClasses: { type: String }
|
30
|
-
},
|
30
|
+
}, h = S({
|
31
31
|
components: {
|
32
|
-
BTag:
|
33
|
-
CancellationPoliciesList:
|
32
|
+
BTag: R,
|
33
|
+
CancellationPoliciesList: L
|
34
34
|
},
|
35
35
|
computed: {
|
36
36
|
color() {
|
37
37
|
return this.isRefundable ? "success" : "grey";
|
38
38
|
},
|
39
39
|
currentCancellationPolicy() {
|
40
|
-
return
|
40
|
+
return z(this.sanitizedCancellationPolicies);
|
41
41
|
},
|
42
42
|
isRefundable() {
|
43
43
|
var e;
|
@@ -57,8 +57,8 @@ const E = {
|
|
57
57
|
return ((e = this.currentCancellationPolicy) == null ? void 0 : e.penaltyPercentage) === 0 ? "fas fa-regular fa-circle-check" : ((t = this.currentCancellationPolicy) == null ? void 0 : t.penaltyPercentage) === 100 ? "" : "fas fa-circle-info";
|
58
58
|
},
|
59
59
|
sanitizedCancellationPolicies() {
|
60
|
-
return
|
61
|
-
|
60
|
+
return N(
|
61
|
+
w({
|
62
62
|
cancellationPolicies: this.parsedCancellationPolicies,
|
63
63
|
checkInDate: this.checkInDate,
|
64
64
|
initialDate: this.initialDate,
|
@@ -78,17 +78,17 @@ const E = {
|
|
78
78
|
});
|
79
79
|
}
|
80
80
|
},
|
81
|
-
mixins: [
|
81
|
+
mixins: [T],
|
82
82
|
name: "CancellationPolicyBadge",
|
83
|
-
props:
|
83
|
+
props: U,
|
84
84
|
setup() {
|
85
|
-
const { t: e } =
|
85
|
+
const { t: e } = _();
|
86
86
|
return {
|
87
87
|
t: e
|
88
88
|
};
|
89
89
|
}
|
90
90
|
});
|
91
|
-
function
|
91
|
+
function y(e) {
|
92
92
|
const t = e;
|
93
93
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
94
94
|
locale: "",
|
@@ -152,58 +152,58 @@ function B(e) {
|
|
152
152
|
}
|
153
153
|
});
|
154
154
|
}
|
155
|
-
const
|
156
|
-
function
|
157
|
-
var
|
158
|
-
const
|
159
|
-
return a(),
|
160
|
-
|
161
|
-
disabled: ((
|
155
|
+
const $ = { class: "flex flex-column" }, Y = ["innerHTML"], j = ["innerHTML"], F = ["innerHTML"];
|
156
|
+
function A(e, t, i, n, K, J) {
|
157
|
+
var r;
|
158
|
+
const k = O("CancellationPoliciesList");
|
159
|
+
return a(), l("div", $, [
|
160
|
+
m(H, {
|
161
|
+
disabled: ((r = e.currentCancellationPolicy) == null ? void 0 : r.penaltyPercentage) === 100,
|
162
162
|
location: "top",
|
163
163
|
attach: e.$breakpointObserverEl ?? void 0
|
164
164
|
}, {
|
165
|
-
activator:
|
166
|
-
var
|
165
|
+
activator: o(({ props: v }) => {
|
166
|
+
var s, d, u, b, f, p, P;
|
167
167
|
return [
|
168
|
-
|
168
|
+
c("div", I({
|
169
169
|
class: ["d-flex align-center text-caption", {
|
170
|
-
"cursor-help": ((
|
170
|
+
"cursor-help": ((s = e.currentCancellationPolicy) == null ? void 0 : s.penaltyPercentage) !== 100
|
171
171
|
}],
|
172
172
|
style: { gap: "4px" }
|
173
|
-
},
|
174
|
-
e.preIcon ? (a(),
|
173
|
+
}, v), [
|
174
|
+
e.preIcon ? (a(), V(G, {
|
175
175
|
key: 0,
|
176
|
-
color: ((
|
176
|
+
color: ((d = e.currentCancellationPolicy) == null ? void 0 : d.penaltyPercentage) !== 100 ? "green" : "grey",
|
177
177
|
style: { "place-self": "flex-start" }
|
178
178
|
}, {
|
179
|
-
default:
|
180
|
-
|
179
|
+
default: o(() => [
|
180
|
+
D(g(e.preIcon), 1)
|
181
181
|
]),
|
182
182
|
_: 1
|
183
|
-
}, 8, ["color"])) :
|
184
|
-
((
|
183
|
+
}, 8, ["color"])) : C("", !0),
|
184
|
+
((u = e.currentCancellationPolicy) == null ? void 0 : u.penaltyPercentage) === 0 ? (a(), l("span", {
|
185
185
|
key: 1,
|
186
186
|
class: "text-green-darken-2 underline--dotted",
|
187
187
|
innerHTML: e.t("CancellationPoliciesBadge.freeCancellationBefore", {
|
188
|
-
date: e.formatDate((
|
188
|
+
date: e.formatDate((b = e.currentCancellationPolicy) == null ? void 0 : b.dateTo)
|
189
189
|
})
|
190
|
-
}, null, 8,
|
190
|
+
}, null, 8, Y)) : ((f = e.currentCancellationPolicy) == null ? void 0 : f.penaltyPercentage) === 100 ? (a(), l("span", {
|
191
191
|
key: 2,
|
192
192
|
class: "text-grey-darken-2",
|
193
193
|
innerHTML: e.t("CancellationPoliciesBadge.nonRefundable")
|
194
|
-
}, null, 8,
|
194
|
+
}, null, 8, j)) : ((p = e.currentCancellationPolicy) == null ? void 0 : p.penaltyPercentage) > 0 && ((P = e.currentCancellationPolicy) == null ? void 0 : P.penaltyPercentage) < 100 ? (a(), l("span", {
|
195
195
|
key: 3,
|
196
196
|
class: "text-green-darken-2 underline--dotted",
|
197
197
|
innerHTML: e.t("CancellationPoliciesBadge.partiallyRefundable")
|
198
|
-
}, null, 8,
|
198
|
+
}, null, 8, F)) : C("", !0)
|
199
199
|
], 16)
|
200
200
|
];
|
201
201
|
}),
|
202
|
-
default:
|
203
|
-
|
204
|
-
|
202
|
+
default: o(() => [
|
203
|
+
c("div", null, [
|
204
|
+
c("b", null, g(e.t("CancellationPoliciesBadge.cancellationPolicies")), 1)
|
205
205
|
]),
|
206
|
-
|
206
|
+
m(k, {
|
207
207
|
class: "text-white",
|
208
208
|
"cancellation-policies": e.sanitizedCancellationPolicies,
|
209
209
|
"check-in-date": e.checkInDate,
|
@@ -215,30 +215,11 @@ function X(e, t, i, n, L, R) {
|
|
215
215
|
}, 8, ["disabled", "attach"])
|
216
216
|
]);
|
217
217
|
}
|
218
|
-
typeof
|
219
|
-
const
|
220
|
-
|
221
|
-
CancellationPoliciesBadge: Z,
|
222
|
-
WebComponentWrapper: U
|
223
|
-
},
|
224
|
-
props: E
|
225
|
-
});
|
226
|
-
function Q(e, t, i, n, L, R) {
|
227
|
-
const r = u("CancellationPoliciesBadge", !0), l = u("WebComponentWrapper");
|
228
|
-
return a(), v(l, null, {
|
229
|
-
default: c(() => [
|
230
|
-
d(r, W(H(e.$props)), null, 16)
|
231
|
-
]),
|
232
|
-
_: 1
|
233
|
-
});
|
234
|
-
}
|
235
|
-
const ee = /* @__PURE__ */ k(x, [["render", Q]]), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
236
|
-
__proto__: null,
|
237
|
-
default: ee
|
238
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
239
|
-
N("css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css");
|
218
|
+
typeof y == "function" && y(h);
|
219
|
+
const ee = /* @__PURE__ */ M(h, [["render", A], ["__scopeId", "data-v-79dd5ec5"]]);
|
220
|
+
B("css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css");
|
240
221
|
export {
|
241
|
-
|
242
|
-
|
222
|
+
ee as C,
|
223
|
+
U as c
|
243
224
|
};
|
244
|
-
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.
|
225
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.BlxYDvQM.min.js.map
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { c as s, C as t } from "./revolugo.cancellationpoliciesbadge.BlxYDvQM.min.js";
|
2
|
+
import { W as c, _ as r } from "./revolugo.webcomponentwrapper.BzrBNp7K.min.js";
|
3
|
+
import { d as p, c as i, w as l, a as m, n as d, h as _, r as e, o as C } from "./revolugo.index.wc.U-Ds0Ud7.min.js";
|
4
|
+
const f = p({
|
5
|
+
components: {
|
6
|
+
CancellationPoliciesBadge: t,
|
7
|
+
WebComponentWrapper: c
|
8
|
+
},
|
9
|
+
props: s
|
10
|
+
});
|
11
|
+
function u(o, P, B, g, W, $) {
|
12
|
+
const a = e("CancellationPoliciesBadge", !0), n = e("WebComponentWrapper");
|
13
|
+
return C(), i(n, null, {
|
14
|
+
default: l(() => [
|
15
|
+
m(a, d(_(o.$props)), null, 16)
|
16
|
+
]),
|
17
|
+
_: 1
|
18
|
+
});
|
19
|
+
}
|
20
|
+
const k = /* @__PURE__ */ r(f, [["render", u]]);
|
21
|
+
export {
|
22
|
+
k as default
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.FhiHeLu9.min.js.map
|