@revolugo/elements 6.8.3-beta.0 → 6.8.3-beta.10
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.bdaterangepicker.B6KA5TYs.css +1 -0
- package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
- package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +1 -0
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
- package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
- package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
- package/dist/css/revolugo.currencypicker.DO0IrmRK.css +1 -0
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +1 -0
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.Cp2vN-VQ.css +1 -0
- package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
- package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +1 -0
- package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
- package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
- package/dist/css/revolugo.vdialog.DwTSAOeg.css +1 -0
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
- package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
- package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
- package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
- package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
- package/dist/css/revolugo.vtoolbar.BZert82L.css +1 -0
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.DGADlvX0.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
- package/dist/revolugo._baseiteratee.BQAqIqmD.min.js +247 -0
- package/dist/revolugo.banktransferdetails.0j9oc308.min.js +373 -0
- package/dist/revolugo.bdaterangepicker.CuXt5m8k.min.js +8324 -0
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js +143 -0
- package/dist/revolugo.bhoteloffersfilterbar.JyThxTJT.min.js +4896 -0
- package/dist/revolugo.bhotelroomsdetails.ziCA0uqt.min.js +965 -0
- package/dist/revolugo.bimagecarousel.LON3YyDv.min.js +566 -0
- package/dist/revolugo.bookingdetailssidebar.CLb15O8T.min.js +24 -0
- package/dist/revolugo.bookingdetailssidebar.CQF8f2p5.min.js +866 -0
- package/dist/revolugo.bookingmanager.BEFqmO93.min.js +1755 -0
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.k5o2Io4n.min.js +91 -0
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js +604 -0
- package/dist/revolugo.btag.CZ9KR3bN.min.js +375 -0
- package/dist/revolugo.cancellationpoliciesbadge.KxXb8ZYt.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.gXl0amBL.min.js +198 -0
- package/dist/revolugo.cancellationpolicieslist.BYH8J8e1.min.js +148 -0
- package/dist/revolugo.cancellationpolicieslist.CVTMLJs5.min.js +25 -0
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/revolugo.case-transformers.Ca4kmzjy.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/revolugo.creditcardform.8N0BWYbc.min.js +24 -0
- package/dist/revolugo.creditcardform.DawvObHo.min.js +2148 -0
- package/dist/revolugo.creditcardpayment.-uEi7Rky.min.js +885 -0
- package/dist/revolugo.creditcardpayment.CYrmSY04.min.js +24 -0
- package/dist/revolugo.currencypicker.sqbxVvvs.min.js +330 -0
- package/dist/revolugo.currencypickerbtn.BSUDuF7M.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.BoXjqXbM.min.js +157 -0
- package/dist/revolugo.dates.CE3ChILc.min.js +31 -0
- package/dist/revolugo.defaultsdeep.ChES_MUh.min.js +104 -0
- package/dist/revolugo.dialog-attach.BogqVGDT.min.js +27 -0
- package/dist/revolugo.dialog-transition.EGNOTJLZ.min.js +111 -0
- package/dist/revolugo.fastbookingflow.Crr6eF_n.min.js +34 -0
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/revolugo.fullbookingflow.CzofWe_h.min.js +429 -0
- package/dist/revolugo.hotel-offer-request.BrgYCPvB.min.js +98 -0
- package/dist/revolugo.hoteldescriptionview.BaN6Jn_K.min.js +2955 -0
- package/dist/revolugo.hoteldescriptionview.BfUYrAbK.min.js +24 -0
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B0aPs9nv.min.js +241 -0
- package/dist/revolugo.hotelofferlist.CEtclWHx.min.js +5639 -0
- package/dist/revolugo.hotelofferlist.DGO-YnB3.min.js +24 -0
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/{revolugo.hoteloffersearchmenu.BZ2z-tDx.min.js → revolugo.hoteloffersearchmenu.9ePsLejx.min.js} +46 -43
- package/dist/revolugo.hoteloffersearchmenuui.Dq3SUHsn.min.js +829 -0
- package/dist/revolugo.hoteloffersmap.DFUv89P-.min.js +8329 -0
- package/dist/revolugo.hoteloffersmap.DbfMieYw.min.js +24 -0
- package/dist/revolugo.hoteloffersview.CMQC6sEW.min.js +19 -0
- package/dist/revolugo.hoteloffersview.DR-NQds9.min.js +614 -0
- package/dist/revolugo.hotelroomofferlist.BDmmTZzY.min.js +2811 -0
- package/dist/revolugo.hotelroomofferlist.VfQvHfAJ.min.js +24 -0
- package/dist/revolugo.hotelroomofferrequestcreator.props.BkEQaSSo.min.js +171 -0
- package/dist/revolugo.hotelroomoffersbookingflow.BdI11kxD.min.js +1281 -0
- package/dist/revolugo.hotelroomoffersearchmenu.Be69MN7I.min.js +231 -0
- package/dist/revolugo.hotelroomoffersearchmenu.i97dxjV4.min.js +25 -0
- package/dist/revolugo.hotelroomoffersview.CZRrXMrq.min.js +24 -0
- package/dist/revolugo.hotelroomoffersview.QIikXLmz.min.js +290 -0
- package/dist/{revolugo.index.CVHWSVdZ.min.js → revolugo.index.BkZCIWDs.min.js} +10 -10
- package/dist/revolugo.index.EVacDza9.min.js +1232 -0
- package/dist/{revolugo.index.wc.DxOdmA3C.min.js → revolugo.index.wc.B-VISNof.min.js} +5843 -5853
- package/dist/revolugo.langpicker.Dqh1HLSM.min.js +99 -0
- package/dist/revolugo.langpickerbtn.BHidyFm0.min.js +29 -0
- package/dist/revolugo.langpickerbtn.D2BROzmF.min.js +131 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.Cj2pWNwI.min.js +36 -0
- package/dist/revolugo.prebookform.BEoRLmXN.min.js +24 -0
- package/dist/revolugo.prebookform.DJtQZk4h.min.js +1527 -0
- package/dist/revolugo.roominglisteditor.Bde6fZE4.min.js +24 -0
- package/dist/revolugo.roominglisteditor.DOIoiZUZ.min.js +385 -0
- package/dist/revolugo.rounded.CuDW7ReX.min.js +68 -0
- package/dist/revolugo.ssrboot.BkAAdgIG.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CkwMUZCe.min.js → revolugo.storybooktoolbar.BrYrYQ9u.min.js} +161 -147
- package/dist/revolugo.termsandconditions.DdFCvyY1.min.js +405 -0
- package/dist/revolugo.termsandconditions.DsQqeMuQ.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.Bd-iL63O.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.CQ3SJvi2.min.js +16 -0
- package/dist/revolugo.use-html-element.DSBxvQwo.min.js +11 -0
- package/dist/revolugo.vautocomplete.3H62FFlI.min.js +445 -0
- package/dist/revolugo.vbadge.DIKTZfYf.min.js +112 -0
- package/dist/revolugo.vbtn.ikEGbF2M.min.js +398 -0
- package/dist/revolugo.vcard.k3F27b0_.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DUDck9Jj.min.js +478 -0
- package/dist/revolugo.vdialog.I9viR6u_.min.js +133 -0
- package/dist/revolugo.vdivider.BU_Qpn1Y.min.js +77 -0
- package/dist/revolugo.vexpansionpanels.BlsPrY5r.min.js +262 -0
- package/dist/revolugo.vform.BuY4c-jG.min.js +46 -0
- package/dist/revolugo.vicon.0oYbTzMR.min.js +105 -0
- package/dist/revolugo.vinput.BhulYzYM.min.js +463 -0
- package/dist/revolugo.vlabel.C7Tnm2IP.min.js +48 -0
- package/dist/revolugo.vlist.Ds4pFDgs.min.js +1299 -0
- package/dist/revolugo.vmenu.DQI1PK0w.min.js +145 -0
- package/dist/revolugo.vselect.rRp_6FBN.min.js +660 -0
- package/dist/revolugo.vsheet.n_e1sEwZ.min.js +72 -0
- package/dist/revolugo.vskeletonloader.nVyGxNEH.min.js +136 -0
- package/dist/revolugo.vslidegroup.CTyaEfLB.min.js +325 -0
- package/dist/revolugo.vsnackbar.DTgtMyMg.min.js +198 -0
- package/dist/revolugo.vspacer.0M0DbPqW.min.js +7 -0
- package/dist/revolugo.vtextarea.mqbZT0AH.min.js +2092 -0
- package/dist/revolugo.vtextfield.C3PH47E4.min.js +501 -0
- package/dist/revolugo.vtoolbar.BTinlkeA.min.js +180 -0
- package/dist/revolugo.vtooltip.CvIhH6aP.min.js +89 -0
- package/dist/revolugo.vwindowitem.Cf667i7i.min.js +317 -0
- package/dist/revolugo.watch-list.BVepdYEA.min.js +16 -0
- package/dist/revolugo.webcomponentwrapper.BZSwKZDU.min.js +2088 -0
- package/package.json +1 -1
- package/dist/revolugo.banktransferdetails.C9OqrvmN.min.js +0 -23
- package/dist/revolugo.bookingdetailssidebar.V97LTM8j.min.js +0 -23
- package/dist/revolugo.bookingmanager.BZERpaf3.min.js +0 -23
- package/dist/revolugo.cancellationpoliciesbadge.CUKJ9TsD.min.js +0 -23
- package/dist/revolugo.cancellationpolicieslist.C3PJPST4.min.js +0 -23
- package/dist/revolugo.creditcardform.D-8j5GCw.min.js +0 -23
- package/dist/revolugo.creditcardpayment.DU-WYlhZ.min.js +0 -23
- package/dist/revolugo.currencypickerbtn.B7Y3Ok11.min.js +0 -23
- package/dist/revolugo.fastbookingflow.BoQVk0eU.min.js +0 -33
- package/dist/revolugo.fullbookingflow.DoXfBawU.min.js +0 -23
- package/dist/revolugo.hoteldescriptionview.B-0OAOlZ.min.js +0 -23
- package/dist/revolugo.hotelofferlist.CZtxadW_.min.js +0 -23
- package/dist/revolugo.hoteloffersmap.CKwOA3mF.min.js +0 -23
- package/dist/revolugo.hoteloffersview.Bxf47jSF.min.js +0 -18
- package/dist/revolugo.hotelroomofferlist.PzbhafeA.min.js +0 -23
- package/dist/revolugo.hotelroomoffersbookingflow.BXolY5lJ.min.js +0 -23
- package/dist/revolugo.hotelroomoffersearchmenu.BAqeXS0Y.min.js +0 -23
- package/dist/revolugo.hotelroomoffersview.Ch8BiNJ_.min.js +0 -23
- package/dist/revolugo.langpickerbtn.B5MAr-qc.min.js +0 -28
- package/dist/revolugo.prebookform.9dLTmLrv.min.js +0 -23
- package/dist/revolugo.roominglisteditor.CA09WMcG.min.js +0 -23
- package/dist/revolugo.termsandconditions.CLIxEOxi.min.js +0 -22
- package/dist/revolugo.webcomponentwrapper.Dt-VzVVw.min.js +0 -60489
@@ -0,0 +1,375 @@
|
|
1
|
+
import { a2 as $, aM as z, b$ as ne, a1 as M, aK as N, aV as se, af as v, a as l, D as h, ag as oe, a6 as ie, H as k, J as L, aH as ce, a4 as T, a3 as f, K as de, F as A, t as x, d as re, cy as ue, i as pe, w as b, j as G, c as D, g as w, o as V, f as ve } from "./revolugo.index.wc.B-VISNof.min.js";
|
2
|
+
import { V as fe } from "./revolugo.vtooltip.CvIhH6aP.min.js";
|
3
|
+
import { v as F, k as me, j as ke, R as he, t as ye, s as ge, u as Ce, i as be, m as Ve, g as Ie, w as Se, a as m, h as O } from "./revolugo.index.EVacDza9.min.js";
|
4
|
+
import { m as Ee, a as R } from "./revolugo.vslidegroup.CTyaEfLB.min.js";
|
5
|
+
import { e as K, m as U, u as Pe, A as _e, D as Be, _ as Le } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
|
6
|
+
import { c as Te, u as Ae, b as Ge, a as De, m as we, d as Oe } from "./revolugo.rounded.CuDW7ReX.min.js";
|
7
|
+
import { u as Re, m as $e, V as r } from "./revolugo.vicon.0oYbTzMR.min.js";
|
8
|
+
function te(e) {
|
9
|
+
try {
|
10
|
+
if (typeof document < "u") {
|
11
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
12
|
+
sheets: [],
|
13
|
+
components: []
|
14
|
+
};
|
15
|
+
const o = import.meta.url, i = o.slice(0, o.lastIndexOf("/") + 1) + e;
|
16
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
|
17
|
+
for (const n of REVOLUGO_ELEMENTS_STYLES.components)
|
18
|
+
n(i);
|
19
|
+
if (e.indexOf("fonts") >= 0) {
|
20
|
+
const n = document.createElement("link");
|
21
|
+
n.rel = "stylesheet", linK.href = i, document.head.appendChild(n);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
} catch (o) {
|
25
|
+
console.error("[revolugo-elements] ", o);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
const j = Symbol.for("vuetify:v-chip-group"), ze = $({
|
29
|
+
column: Boolean,
|
30
|
+
filter: Boolean,
|
31
|
+
valueComparator: {
|
32
|
+
type: Function,
|
33
|
+
default: ne
|
34
|
+
},
|
35
|
+
...Ee(),
|
36
|
+
...U(),
|
37
|
+
...me({
|
38
|
+
selectedClass: "v-chip--selected"
|
39
|
+
}),
|
40
|
+
...K(),
|
41
|
+
...z(),
|
42
|
+
...F({
|
43
|
+
variant: "tonal"
|
44
|
+
})
|
45
|
+
}, "VChipGroup");
|
46
|
+
M()({
|
47
|
+
name: "VChipGroup",
|
48
|
+
props: ze(),
|
49
|
+
emits: {
|
50
|
+
"update:modelValue": (e) => !0
|
51
|
+
},
|
52
|
+
setup(e, o) {
|
53
|
+
let {
|
54
|
+
slots: i
|
55
|
+
} = o;
|
56
|
+
const {
|
57
|
+
themeClasses: n
|
58
|
+
} = N(e), {
|
59
|
+
isSelected: a,
|
60
|
+
select: p,
|
61
|
+
next: u,
|
62
|
+
prev: y,
|
63
|
+
selected: g
|
64
|
+
} = ke(e, j);
|
65
|
+
return se({
|
66
|
+
VChip: {
|
67
|
+
color: v(e, "color"),
|
68
|
+
disabled: v(e, "disabled"),
|
69
|
+
filter: v(e, "filter"),
|
70
|
+
variant: v(e, "variant")
|
71
|
+
}
|
72
|
+
}), Pe(() => {
|
73
|
+
const C = R.filterProps(e);
|
74
|
+
return l(R, h(C, {
|
75
|
+
class: ["v-chip-group", {
|
76
|
+
"v-chip-group--column": e.column
|
77
|
+
}, n.value, e.class],
|
78
|
+
style: e.style
|
79
|
+
}), {
|
80
|
+
default: () => [i.default?.({
|
81
|
+
isSelected: a,
|
82
|
+
select: p,
|
83
|
+
next: u,
|
84
|
+
prev: y,
|
85
|
+
selected: g.value
|
86
|
+
})]
|
87
|
+
});
|
88
|
+
}), {};
|
89
|
+
}
|
90
|
+
});
|
91
|
+
const Me = $({
|
92
|
+
activeClass: String,
|
93
|
+
appendAvatar: String,
|
94
|
+
appendIcon: f,
|
95
|
+
closable: Boolean,
|
96
|
+
closeIcon: {
|
97
|
+
type: f,
|
98
|
+
default: "$delete"
|
99
|
+
},
|
100
|
+
closeLabel: {
|
101
|
+
type: String,
|
102
|
+
default: "$vuetify.close"
|
103
|
+
},
|
104
|
+
draggable: Boolean,
|
105
|
+
filter: Boolean,
|
106
|
+
filterIcon: {
|
107
|
+
type: f,
|
108
|
+
default: "$complete"
|
109
|
+
},
|
110
|
+
label: Boolean,
|
111
|
+
link: {
|
112
|
+
type: Boolean,
|
113
|
+
default: void 0
|
114
|
+
},
|
115
|
+
pill: Boolean,
|
116
|
+
prependAvatar: String,
|
117
|
+
prependIcon: f,
|
118
|
+
ripple: {
|
119
|
+
type: [Boolean, Object],
|
120
|
+
default: !0
|
121
|
+
},
|
122
|
+
text: {
|
123
|
+
type: [String, Number, Boolean],
|
124
|
+
default: void 0
|
125
|
+
},
|
126
|
+
modelValue: {
|
127
|
+
type: Boolean,
|
128
|
+
default: !0
|
129
|
+
},
|
130
|
+
onClick: T(),
|
131
|
+
onClickOnce: T(),
|
132
|
+
...Oe(),
|
133
|
+
...U(),
|
134
|
+
...Ve(),
|
135
|
+
...we(),
|
136
|
+
...be(),
|
137
|
+
...De(),
|
138
|
+
...Be(),
|
139
|
+
...$e(),
|
140
|
+
...K({
|
141
|
+
tag: "span"
|
142
|
+
}),
|
143
|
+
...z(),
|
144
|
+
...F({
|
145
|
+
variant: "tonal"
|
146
|
+
})
|
147
|
+
}, "VChip"), Ne = M()({
|
148
|
+
name: "VChip",
|
149
|
+
directives: {
|
150
|
+
Ripple: he
|
151
|
+
},
|
152
|
+
props: Me(),
|
153
|
+
emits: {
|
154
|
+
"click:close": (e) => !0,
|
155
|
+
"update:modelValue": (e) => !0,
|
156
|
+
"group:selected": (e) => !0,
|
157
|
+
click: (e) => !0
|
158
|
+
},
|
159
|
+
setup(e, o) {
|
160
|
+
let {
|
161
|
+
attrs: i,
|
162
|
+
emit: n,
|
163
|
+
slots: a
|
164
|
+
} = o;
|
165
|
+
const {
|
166
|
+
t: p
|
167
|
+
} = oe(), {
|
168
|
+
borderClasses: u
|
169
|
+
} = Te(e), {
|
170
|
+
colorClasses: y,
|
171
|
+
colorStyles: g,
|
172
|
+
variantClasses: C
|
173
|
+
} = ye(e), {
|
174
|
+
densityClasses: Y
|
175
|
+
} = ge(e), {
|
176
|
+
elevationClasses: H
|
177
|
+
} = Ae(e), {
|
178
|
+
roundedClasses: X
|
179
|
+
} = Ge(e), {
|
180
|
+
sizeClasses: q
|
181
|
+
} = Re(e), {
|
182
|
+
themeClasses: J
|
183
|
+
} = N(e), I = ie(e, "modelValue"), s = Ce(e, j, !1), c = _e(e, i), W = k(() => e.link !== !1 && c.isLink.value), d = k(() => !e.disabled && e.link !== !1 && (!!s || e.link || c.isClickable.value)), Q = k(() => ({
|
184
|
+
"aria-label": p(e.closeLabel),
|
185
|
+
onClick(t) {
|
186
|
+
t.preventDefault(), t.stopPropagation(), I.value = !1, n("click:close", t);
|
187
|
+
}
|
188
|
+
}));
|
189
|
+
function S(t) {
|
190
|
+
n("click", t), d.value && (c.navigate?.(t), s?.toggle());
|
191
|
+
}
|
192
|
+
function Z(t) {
|
193
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), S(t));
|
194
|
+
}
|
195
|
+
return () => {
|
196
|
+
const t = c.isLink.value ? "a" : e.tag, E = !!(e.appendIcon || e.appendAvatar), ee = !!(E || a.append), ae = !!(a.close || e.closable), P = !!(a.filter || e.filter) && s, _ = !!(e.prependIcon || e.prependAvatar), le = !!(_ || a.prepend), B = !s || s.isSelected.value;
|
197
|
+
return I.value && L(l(t, h({
|
198
|
+
class: ["v-chip", {
|
199
|
+
"v-chip--disabled": e.disabled,
|
200
|
+
"v-chip--label": e.label,
|
201
|
+
"v-chip--link": d.value,
|
202
|
+
"v-chip--filter": P,
|
203
|
+
"v-chip--pill": e.pill,
|
204
|
+
[`${e.activeClass}`]: e.activeClass && c.isActive?.value
|
205
|
+
}, J.value, u.value, B ? y.value : void 0, Y.value, H.value, X.value, q.value, C.value, s?.selectedClass.value, e.class],
|
206
|
+
style: [B ? g.value : void 0, e.style],
|
207
|
+
disabled: e.disabled || void 0,
|
208
|
+
draggable: e.draggable,
|
209
|
+
tabindex: d.value ? 0 : void 0,
|
210
|
+
onClick: S,
|
211
|
+
onKeydown: d.value && !W.value && Z
|
212
|
+
}, c.linkProps), {
|
213
|
+
default: () => [Ie(d.value, "v-chip"), P && l(Se, {
|
214
|
+
key: "filter"
|
215
|
+
}, {
|
216
|
+
default: () => [L(l("div", {
|
217
|
+
class: "v-chip__filter"
|
218
|
+
}, [a.filter ? l(m, {
|
219
|
+
key: "filter-defaults",
|
220
|
+
disabled: !e.filterIcon,
|
221
|
+
defaults: {
|
222
|
+
VIcon: {
|
223
|
+
icon: e.filterIcon
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}, a.filter) : l(r, {
|
227
|
+
key: "filter-icon",
|
228
|
+
icon: e.filterIcon
|
229
|
+
}, null)]), [[de, s.isSelected.value]])]
|
230
|
+
}), le && l("div", {
|
231
|
+
key: "prepend",
|
232
|
+
class: "v-chip__prepend"
|
233
|
+
}, [a.prepend ? l(m, {
|
234
|
+
key: "prepend-defaults",
|
235
|
+
disabled: !_,
|
236
|
+
defaults: {
|
237
|
+
VAvatar: {
|
238
|
+
image: e.prependAvatar,
|
239
|
+
start: !0
|
240
|
+
},
|
241
|
+
VIcon: {
|
242
|
+
icon: e.prependIcon,
|
243
|
+
start: !0
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}, a.prepend) : l(A, null, [e.prependIcon && l(r, {
|
247
|
+
key: "prepend-icon",
|
248
|
+
icon: e.prependIcon,
|
249
|
+
start: !0
|
250
|
+
}, null), e.prependAvatar && l(O, {
|
251
|
+
key: "prepend-avatar",
|
252
|
+
image: e.prependAvatar,
|
253
|
+
start: !0
|
254
|
+
}, null)])]), l("div", {
|
255
|
+
class: "v-chip__content",
|
256
|
+
"data-no-activator": ""
|
257
|
+
}, [a.default?.({
|
258
|
+
isSelected: s?.isSelected.value,
|
259
|
+
selectedClass: s?.selectedClass.value,
|
260
|
+
select: s?.select,
|
261
|
+
toggle: s?.toggle,
|
262
|
+
value: s?.value.value,
|
263
|
+
disabled: e.disabled
|
264
|
+
}) ?? x(e.text)]), ee && l("div", {
|
265
|
+
key: "append",
|
266
|
+
class: "v-chip__append"
|
267
|
+
}, [a.append ? l(m, {
|
268
|
+
key: "append-defaults",
|
269
|
+
disabled: !E,
|
270
|
+
defaults: {
|
271
|
+
VAvatar: {
|
272
|
+
end: !0,
|
273
|
+
image: e.appendAvatar
|
274
|
+
},
|
275
|
+
VIcon: {
|
276
|
+
end: !0,
|
277
|
+
icon: e.appendIcon
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}, a.append) : l(A, null, [e.appendIcon && l(r, {
|
281
|
+
key: "append-icon",
|
282
|
+
end: !0,
|
283
|
+
icon: e.appendIcon
|
284
|
+
}, null), e.appendAvatar && l(O, {
|
285
|
+
key: "append-avatar",
|
286
|
+
end: !0,
|
287
|
+
image: e.appendAvatar
|
288
|
+
}, null)])]), ae && l("button", h({
|
289
|
+
key: "close",
|
290
|
+
class: "v-chip__close",
|
291
|
+
type: "button",
|
292
|
+
"data-testid": "close-chip"
|
293
|
+
}, Q.value), [a.close ? l(m, {
|
294
|
+
key: "close-defaults",
|
295
|
+
defaults: {
|
296
|
+
VIcon: {
|
297
|
+
icon: e.closeIcon,
|
298
|
+
size: "x-small"
|
299
|
+
}
|
300
|
+
}
|
301
|
+
}, a.close) : l(r, {
|
302
|
+
key: "close-icon",
|
303
|
+
icon: e.closeIcon,
|
304
|
+
size: "x-small"
|
305
|
+
}, null)])]
|
306
|
+
}), [[ce("ripple"), d.value && e.ripple, null]]);
|
307
|
+
};
|
308
|
+
}
|
309
|
+
}), xe = { class: "d-inline-block" }, Fe = /* @__PURE__ */ re({
|
310
|
+
__name: "BTag",
|
311
|
+
props: {
|
312
|
+
openDelay: { default: void 0 },
|
313
|
+
postIcon: { default: void 0 },
|
314
|
+
preIcon: { default: void 0 },
|
315
|
+
regular: { type: Boolean, default: !1 },
|
316
|
+
tooltipContent: { default: void 0 }
|
317
|
+
},
|
318
|
+
setup(e) {
|
319
|
+
const o = e, i = ue(), n = k(
|
320
|
+
() => !!o.tooltipContent?.length || !!i.tooltipContent?.length
|
321
|
+
);
|
322
|
+
return (a, p) => (V(), pe("span", xe, [
|
323
|
+
l(fe, {
|
324
|
+
location: "top",
|
325
|
+
"open-delay": a.openDelay,
|
326
|
+
disabled: !n.value,
|
327
|
+
"content-class": "text-left",
|
328
|
+
attach: a.$parent?.$el || a.$el
|
329
|
+
}, {
|
330
|
+
activator: b(({ props: u }) => [
|
331
|
+
l(Ne, h({ variant: "flat" }, { ...u, ...a.$attrs }, {
|
332
|
+
class: "d-inline-flex",
|
333
|
+
label: "",
|
334
|
+
style: {
|
335
|
+
height: a.regular ? void 0 : "20px",
|
336
|
+
cursor: n.value ? "help" : void 0
|
337
|
+
},
|
338
|
+
size: a.regular ? void 0 : "x-small"
|
339
|
+
}), {
|
340
|
+
default: b(() => [
|
341
|
+
a.preIcon ? (V(), D(r, {
|
342
|
+
key: 0,
|
343
|
+
class: "mr-2",
|
344
|
+
icon: a.preIcon,
|
345
|
+
size: "12",
|
346
|
+
start: ""
|
347
|
+
}, null, 8, ["icon"])) : w("", !0),
|
348
|
+
G(a.$slots, "default", {}, void 0, !0),
|
349
|
+
a.postIcon ? (V(), D(r, {
|
350
|
+
key: 1,
|
351
|
+
icon: a.postIcon,
|
352
|
+
size: "12",
|
353
|
+
end: "",
|
354
|
+
class: "ml-1"
|
355
|
+
}, null, 8, ["icon"])) : w("", !0)
|
356
|
+
]),
|
357
|
+
_: 2
|
358
|
+
}, 1040, ["style", "size"])
|
359
|
+
]),
|
360
|
+
default: b(() => [
|
361
|
+
G(a.$slots, "tooltipContent", {}, () => [
|
362
|
+
ve(x(a.tooltipContent), 1)
|
363
|
+
], !0)
|
364
|
+
]),
|
365
|
+
_: 3
|
366
|
+
}, 8, ["open-delay", "disabled", "attach"])
|
367
|
+
]));
|
368
|
+
}
|
369
|
+
}), Je = /* @__PURE__ */ Le(Fe, [["__scopeId", "data-v-708f044e"]]);
|
370
|
+
te("css/revolugo.btag.T7X_iIkW.css");
|
371
|
+
export {
|
372
|
+
Je as B,
|
373
|
+
Ne as V
|
374
|
+
};
|
375
|
+
//# sourceMappingURL=revolugo.btag.CZ9KR3bN.min.js.map
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { c as s } from "./revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js";
|
2
|
+
import { C as t } from "./revolugo.cancellationpoliciesbadge.gXl0amBL.min.js";
|
3
|
+
import { W as c, _ as r } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
|
4
|
+
import { d as i, c as p, w as l, a as m, n as d, h as C, r as o, o as _ } from "./revolugo.index.wc.B-VISNof.min.js";
|
5
|
+
const f = {
|
6
|
+
...s,
|
7
|
+
tagClasses: { type: String }
|
8
|
+
}, P = i({
|
9
|
+
components: {
|
10
|
+
CancellationPoliciesBadge: t,
|
11
|
+
WebComponentWrapper: c
|
12
|
+
},
|
13
|
+
props: f
|
14
|
+
});
|
15
|
+
function g(e, u, B, W, $, b) {
|
16
|
+
const a = o("CancellationPoliciesBadge", !0), n = o("WebComponentWrapper");
|
17
|
+
return _(), p(n, null, {
|
18
|
+
default: l(() => [
|
19
|
+
m(a, d(C(e.$props)), null, 16)
|
20
|
+
]),
|
21
|
+
_: 1
|
22
|
+
});
|
23
|
+
}
|
24
|
+
const w = /* @__PURE__ */ r(P, [["render", g]]);
|
25
|
+
export {
|
26
|
+
w as default
|
27
|
+
};
|
28
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.KxXb8ZYt.min.js.map
|
@@ -0,0 +1,198 @@
|
|
1
|
+
import { _ as E } from "./revolugo.cancellationpolicieslist.BYH8J8e1.min.js";
|
2
|
+
import { d as L, u as S, k as R, H as r, bJ as T, bK as N, bL as x, i as s, a as m, w as u, p as o, e as d, t as g, c as D, g as P, f as O, D as V, o as c } from "./revolugo.index.wc.B-VISNof.min.js";
|
3
|
+
import { u as w } from "./revolugo.use-breakpoint-service.Bd-iL63O.min.js";
|
4
|
+
import { V as z } from "./revolugo.vtooltip.CvIhH6aP.min.js";
|
5
|
+
import { V as I } from "./revolugo.vicon.0oYbTzMR.min.js";
|
6
|
+
import { _ as M } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
|
7
|
+
function B(l) {
|
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, n = a.slice(0, a.lastIndexOf("/") + 1) + l;
|
15
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
|
16
|
+
for (const e of REVOLUGO_ELEMENTS_STYLES.components)
|
17
|
+
e(n);
|
18
|
+
if (l.indexOf("fonts") >= 0) {
|
19
|
+
const e = document.createElement("link");
|
20
|
+
e.rel = "stylesheet", linK.href = n, document.head.appendChild(e);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
} catch (a) {
|
24
|
+
console.error("[revolugo-elements] ", a);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
const H = ["innerHTML"], U = ["innerHTML"], G = ["innerHTML"], y = /* @__PURE__ */ L({
|
28
|
+
__name: "CancellationPoliciesBadge",
|
29
|
+
props: {
|
30
|
+
tagClasses: {},
|
31
|
+
cancellationPolicies: {},
|
32
|
+
checkInDate: {},
|
33
|
+
initialDate: {},
|
34
|
+
timezone: {}
|
35
|
+
},
|
36
|
+
setup(l) {
|
37
|
+
const { locale: a, t: n } = S(), e = l, b = R(null), C = r(() => {
|
38
|
+
if (typeof e.cancellationPolicies == "string")
|
39
|
+
try {
|
40
|
+
return JSON.parse(e.cancellationPolicies);
|
41
|
+
} catch {
|
42
|
+
return [];
|
43
|
+
}
|
44
|
+
return e.cancellationPolicies;
|
45
|
+
}), f = r(
|
46
|
+
() => T(
|
47
|
+
N({
|
48
|
+
cancellationPolicies: C.value,
|
49
|
+
checkInDate: e.checkInDate,
|
50
|
+
initialDate: e.initialDate,
|
51
|
+
timezone: e.timezone
|
52
|
+
})
|
53
|
+
)
|
54
|
+
), t = r(
|
55
|
+
() => x(f.value)
|
56
|
+
), p = r(() => t.value?.penaltyPercentage === 0 ? "fas fa-regular fa-circle-check" : t.value?.penaltyPercentage === 100 ? "" : "fas fa-circle-info");
|
57
|
+
function _(i) {
|
58
|
+
return new Date(i).toLocaleTimeString(a.value, {
|
59
|
+
day: "numeric",
|
60
|
+
hour: "2-digit",
|
61
|
+
minute: "2-digit",
|
62
|
+
month: "long",
|
63
|
+
year: "numeric"
|
64
|
+
});
|
65
|
+
}
|
66
|
+
const { breakpointObserverEl: h } = w(b);
|
67
|
+
return (i, Y) => (c(), s("div", {
|
68
|
+
class: "flex flex-column",
|
69
|
+
ref_key: "root",
|
70
|
+
ref: b
|
71
|
+
}, [
|
72
|
+
m(z, {
|
73
|
+
disabled: t.value?.penaltyPercentage === 100,
|
74
|
+
location: "top",
|
75
|
+
attach: o(h) ?? void 0
|
76
|
+
}, {
|
77
|
+
activator: u(({ props: k }) => [
|
78
|
+
d("div", V({
|
79
|
+
class: ["d-flex align-center text-caption", {
|
80
|
+
"cursor-help": t.value?.penaltyPercentage !== 100
|
81
|
+
}],
|
82
|
+
style: { gap: "4px" }
|
83
|
+
}, k), [
|
84
|
+
p.value ? (c(), D(I, {
|
85
|
+
key: 0,
|
86
|
+
color: t.value?.penaltyPercentage !== 100 ? "green" : "grey",
|
87
|
+
style: { "place-self": "flex-start" }
|
88
|
+
}, {
|
89
|
+
default: u(() => [
|
90
|
+
O(g(p.value), 1)
|
91
|
+
]),
|
92
|
+
_: 1
|
93
|
+
}, 8, ["color"])) : P("", !0),
|
94
|
+
t.value?.penaltyPercentage === 0 ? (c(), s("span", {
|
95
|
+
key: 1,
|
96
|
+
class: "text-green-darken-2 underline--dotted",
|
97
|
+
innerHTML: o(n)("CancellationPoliciesBadge.freeCancellationBefore", {
|
98
|
+
date: _(t.value?.dateTo)
|
99
|
+
})
|
100
|
+
}, null, 8, H)) : t.value?.penaltyPercentage === 100 ? (c(), s("span", {
|
101
|
+
key: 2,
|
102
|
+
class: "text-grey-darken-2",
|
103
|
+
innerHTML: o(n)("CancellationPoliciesBadge.nonRefundable")
|
104
|
+
}, null, 8, U)) : t.value?.penaltyPercentage && t.value?.penaltyPercentage > 0 && t.value?.penaltyPercentage < 100 ? (c(), s("span", {
|
105
|
+
key: 3,
|
106
|
+
class: "text-green-darken-2 underline--dotted",
|
107
|
+
innerHTML: o(n)("CancellationPoliciesBadge.partiallyRefundable")
|
108
|
+
}, null, 8, G)) : P("", !0)
|
109
|
+
], 16)
|
110
|
+
]),
|
111
|
+
default: u(() => [
|
112
|
+
d("div", null, [
|
113
|
+
d("b", null, g(o(n)("CancellationPoliciesBadge.cancellationPolicies")), 1)
|
114
|
+
]),
|
115
|
+
m(E, {
|
116
|
+
class: "text-white",
|
117
|
+
"cancellation-policies": f.value,
|
118
|
+
"check-in-date": i.checkInDate,
|
119
|
+
"initial-date": i.initialDate,
|
120
|
+
timezone: i.timezone
|
121
|
+
}, null, 8, ["cancellation-policies", "check-in-date", "initial-date", "timezone"])
|
122
|
+
]),
|
123
|
+
_: 1
|
124
|
+
}, 8, ["disabled", "attach"])
|
125
|
+
], 512));
|
126
|
+
}
|
127
|
+
});
|
128
|
+
function v(l) {
|
129
|
+
const a = l;
|
130
|
+
a.__i18n = a.__i18n || [], a.__i18n.push({
|
131
|
+
locale: "",
|
132
|
+
resource: {
|
133
|
+
"en-US": {
|
134
|
+
CancellationPoliciesBadge: {
|
135
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancellation policies" } },
|
136
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Free cancellation until <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
137
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non refundable" } },
|
138
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Partially refundable" } }
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"fr-FR": {
|
142
|
+
CancellationPoliciesBadge: {
|
143
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Conditions d'annulation" } },
|
144
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Annulation gratuite avant le <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
145
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non remboursable" } },
|
146
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Partiellement remboursable" } }
|
147
|
+
}
|
148
|
+
},
|
149
|
+
"de-DE": {
|
150
|
+
CancellationPoliciesBadge: {
|
151
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stornierungsbedingungen" } },
|
152
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Kostenlose Stornierung bis <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
153
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nicht erstattungsfähig" } },
|
154
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Teilerstattungsfähig" } }
|
155
|
+
}
|
156
|
+
},
|
157
|
+
"es-ES": {
|
158
|
+
CancellationPoliciesBadge: {
|
159
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Políticas de cancelación" } },
|
160
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Cancelación gratuita hasta el <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
161
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No reembolsable" } },
|
162
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Parcialmente reembolsable" } }
|
163
|
+
}
|
164
|
+
},
|
165
|
+
"it-IT": {
|
166
|
+
CancellationPoliciesBadge: {
|
167
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Politiche di cancellazione" } },
|
168
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Cancellazione gratuita fino al <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
169
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Non rimborsabile" } },
|
170
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Parzialmente rimborsabile" } }
|
171
|
+
}
|
172
|
+
},
|
173
|
+
"nl-NL": {
|
174
|
+
CancellationPoliciesBadge: {
|
175
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleringsvoorwaarden" } },
|
176
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gratis annuleren tot <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
177
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Niet-restitueerbaar" } },
|
178
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gedeeltelijk restitueerbaar" } }
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"pt-PT": {
|
182
|
+
CancellationPoliciesBadge: {
|
183
|
+
cancellationPolicies: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Políticas de cancelamento" } },
|
184
|
+
freeCancellationBefore: { t: 0, b: { t: 2, i: [{ t: 3, v: "Cancelamento gratuito até <b>" }, { t: 4, k: "date" }, { t: 3, v: "</b>" }] } },
|
185
|
+
nonRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Não reembolsável" } },
|
186
|
+
partiallyRefundable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Parcialmente reembolsável" } }
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
});
|
191
|
+
}
|
192
|
+
typeof v == "function" && v(y);
|
193
|
+
const q = /* @__PURE__ */ M(y, [["__scopeId", "data-v-98379c21"]]);
|
194
|
+
B("css/revolugo.cancellationpoliciesbadge.BLInUr3-.css");
|
195
|
+
export {
|
196
|
+
q as C
|
197
|
+
};
|
198
|
+
//# sourceMappingURL=revolugo.cancellationpoliciesbadge.gXl0amBL.min.js.map
|