@revolugo/elements 6.8.2-rc.0 → 6.8.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/README.md +1 -1
- package/dist/css/fonts.css +1 -1
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.DGADlvX0.css} +2 -2
- package/dist/index.es.min.js +2081 -2223
- 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.banktransferdetails.C9OqrvmN.min.js +23 -0
- package/dist/revolugo.bookingdetailssidebar.V97LTM8j.min.js +23 -0
- package/dist/revolugo.bookingmanager.BZERpaf3.min.js +23 -0
- package/dist/revolugo.cancellationpoliciesbadge.CUKJ9TsD.min.js +23 -0
- package/dist/revolugo.cancellationpolicieslist.C3PJPST4.min.js +23 -0
- package/dist/revolugo.creditcardform.D-8j5GCw.min.js +23 -0
- package/dist/revolugo.creditcardpayment.DU-WYlhZ.min.js +23 -0
- package/dist/revolugo.currencypickerbtn.B7Y3Ok11.min.js +23 -0
- package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.BoQVk0eU.min.js} +9 -10
- package/dist/revolugo.fullbookingflow.DoXfBawU.min.js +23 -0
- package/dist/revolugo.hoteldescriptionview.B-0OAOlZ.min.js +23 -0
- package/dist/revolugo.hotelofferlist.CZtxadW_.min.js +23 -0
- package/dist/revolugo.hoteloffersearchmenu.BZ2z-tDx.min.js +199 -0
- package/dist/revolugo.hoteloffersmap.CKwOA3mF.min.js +23 -0
- package/dist/revolugo.hoteloffersview.Bxf47jSF.min.js +18 -0
- package/dist/revolugo.hotelroomofferlist.PzbhafeA.min.js +23 -0
- package/dist/revolugo.hotelroomoffersbookingflow.BXolY5lJ.min.js +23 -0
- package/dist/revolugo.hotelroomoffersearchmenu.BAqeXS0Y.min.js +23 -0
- package/dist/revolugo.hotelroomoffersview.Ch8BiNJ_.min.js +23 -0
- package/dist/revolugo.index.CVHWSVdZ.min.js +67 -0
- package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.DxOdmA3C.min.js} +12167 -12364
- package/dist/revolugo.langpickerbtn.B5MAr-qc.min.js +28 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.9dLTmLrv.min.js +23 -0
- package/dist/revolugo.roominglisteditor.CA09WMcG.min.js +23 -0
- package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.CkwMUZCe.min.js} +212 -227
- package/dist/revolugo.termsandconditions.CLIxEOxi.min.js +22 -0
- package/dist/revolugo.webcomponentwrapper.Dt-VzVVw.min.js +60489 -0
- package/package.json +5 -5
- package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
- package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
- package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
- package/dist/css/revolugo.btag.g-q3eChG.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
- package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.DWuzEuGF.css +0 -1
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.2oSkomDb.css +0 -1
- package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
- package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
- package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
- package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
- package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
- package/dist/css/revolugo.vsnackbar.Cj7AcupY.css +0 -1
- package/dist/css/revolugo.vtextarea.HYL6WUNS.css +0 -1
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
- package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
- package/dist/css/revolugo.vtooltip.O8QDYs1J.css +0 -1
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
- package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
- package/dist/revolugo.banktransferdetails.BdulCgI5.min.js +0 -373
- package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
- package/dist/revolugo.bhotelroomsdetails.orWBBD_o.min.js +0 -1013
- package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
- package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
- package/dist/revolugo.bookingdetailssidebar.CD4SMOkC.min.js +0 -24
- package/dist/revolugo.bookingdetailssidebar.JOU68R1_.min.js +0 -880
- package/dist/revolugo.bookingmanager.B5cM9Mi5.min.js +0 -1789
- package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js +0 -623
- package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
- package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
- package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.D097ASNF.min.js +0 -176
- package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
- package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
- package/dist/revolugo.creditcardform.DNOMVOgZ.min.js +0 -2161
- package/dist/revolugo.creditcardform.DvHcDx2P.min.js +0 -24
- package/dist/revolugo.creditcardpayment.BLP3RXk4.min.js +0 -893
- package/dist/revolugo.creditcardpayment.D3lPKmx1.min.js +0 -24
- package/dist/revolugo.currencypicker.CzzS1Adp.min.js +0 -330
- package/dist/revolugo.currencypickerbtn.ChUEouGw.min.js +0 -163
- package/dist/revolugo.currencypickerbtn.DWnyc54P.min.js +0 -24
- package/dist/revolugo.dialog-attach.O2HXPGzj.min.js +0 -28
- package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
- package/dist/revolugo.hoteldescriptionview.CbtxEPGG.min.js +0 -3091
- package/dist/revolugo.hoteldescriptionview.D3JTbFxn.min.js +0 -24
- package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
- package/dist/revolugo.hotelofferlist.BVySEYbq.min.js +0 -5744
- package/dist/revolugo.hotelofferlist.puK2FNBR.min.js +0 -24
- package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
- package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.BRVm5s6N.min.js +0 -8394
- package/dist/revolugo.hoteloffersmap.DqKpfjbt.min.js +0 -24
- package/dist/revolugo.hoteloffersview.3LJ-m6BY.min.js +0 -620
- package/dist/revolugo.hoteloffersview.DsGyT5s7.min.js +0 -19
- package/dist/revolugo.hotelroomofferlist.DdMr5qEZ.min.js +0 -24
- package/dist/revolugo.hotelroomofferlist.M-3bowQa.min.js +0 -2934
- package/dist/revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js +0 -171
- package/dist/revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js +0 -1306
- package/dist/revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js +0 -25
- package/dist/revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js +0 -232
- package/dist/revolugo.hotelroomoffersview.BSth8Xsz.min.js +0 -305
- package/dist/revolugo.hotelroomoffersview.oxTgBMSk.min.js +0 -24
- package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
- package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
- package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
- package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
- package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
- package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
- package/dist/revolugo.prebookform.B8aMLMuG.min.js +0 -1531
- package/dist/revolugo.prebookform.CxK0iSDo.min.js +0 -24
- package/dist/revolugo.roominglisteditor.D7WzDtw6.min.js +0 -24
- package/dist/revolugo.roominglisteditor.Do-pe811.min.js +0 -391
- package/dist/revolugo.rounded.Dnxang6X.min.js +0 -68
- package/dist/revolugo.ssrboot.ByGq44eI.min.js +0 -18
- package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
- package/dist/revolugo.termsandconditions.DfGTVPYa.min.js +0 -23
- package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
- package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
- package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
- package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
- package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
- package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
- package/dist/revolugo.vdivider.Cp9bHPnI.min.js +0 -77
- package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
- package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
- package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
- package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
- package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
- package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
- package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
- package/dist/revolugo.vsheet.8UeU7qQn.min.js +0 -72
- package/dist/revolugo.vskeletonloader.Dk0enVo6.min.js +0 -137
- package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
- package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
- package/dist/revolugo.vtextarea.Cjuqcka5.min.js +0 -2102
- package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
- package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
- package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
- package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
- package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,947 +0,0 @@
|
|
1
|
-
import { d as B, b as w, u as _, k as I, i as v, a as s, w as n, c as b, g as M, r as y, y as F, e as h, f as p, t as i, o as d, C as S, D as Z, A as W, H as x, v as L, F as N, j as tt } from "./revolugo.index.wc.7I5uexuc.min.js";
|
2
|
-
import { s as O } from "./revolugo.use-breakpoint-service.CJltQiSH.min.js";
|
3
|
-
import { B as et } from "./revolugo.bdaterangepicker.XZNoMSi5.min.js";
|
4
|
-
import { d as z } from "./revolugo.dialog-attach.O2HXPGzj.min.js";
|
5
|
-
import { _ as U, C as nt, V as $, a as C } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
|
6
|
-
import { a as g } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
|
7
|
-
import { V } from "./revolugo.index.gIPq0z7C.min.js";
|
8
|
-
import { V as st } from "./revolugo.vbadge.D1RCkHoZ.min.js";
|
9
|
-
import { V as q } from "./revolugo.vmenu.BRFw3Jzk.min.js";
|
10
|
-
import { V as Y, b as at } from "./revolugo.vcard.DNU4i52n.min.js";
|
11
|
-
import { b as ot, V as R, a as E } from "./revolugo.vlist.hRQlcp5M.min.js";
|
12
|
-
import { V as it } from "./revolugo.vinput.P34xrpIC.min.js";
|
13
|
-
import { V as lt } from "./revolugo.vspacer.CPbtu_-W.min.js";
|
14
|
-
import { V as ut } from "./revolugo.vform.Bw9rddZZ.min.js";
|
15
|
-
import { V as rt } from "./revolugo.position.hqKd4K_h.min.js";
|
16
|
-
function Q(t) {
|
17
|
-
try {
|
18
|
-
if (typeof document < "u") {
|
19
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
20
|
-
sheets: [],
|
21
|
-
components: []
|
22
|
-
};
|
23
|
-
const e = import.meta.url, a = e.slice(0, e.lastIndexOf("/") + 1) + t;
|
24
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
|
25
|
-
for (const l of REVOLUGO_ELEMENTS_STYLES.components)
|
26
|
-
l(a);
|
27
|
-
if (t.indexOf("fonts") >= 0) {
|
28
|
-
const l = document.createElement("link");
|
29
|
-
l.rel = "stylesheet", linK.href = a, document.head.appendChild(l);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
} catch (e) {
|
33
|
-
console.error("[revolugo-elements] ", e);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
const dt = {
|
37
|
-
modelValue: {
|
38
|
-
type: Array
|
39
|
-
}
|
40
|
-
}, H = B({
|
41
|
-
components: {
|
42
|
-
BDateRangePicker: et
|
43
|
-
},
|
44
|
-
computed: {
|
45
|
-
nightCount() {
|
46
|
-
return !this.model || this.model.length < 2 ? 0 : I(this.model[1]).diff(I(this.model[0]), "day");
|
47
|
-
},
|
48
|
-
readableDateRange() {
|
49
|
-
return this.model && this.model.map(
|
50
|
-
(t) => I(t).toDate().toLocaleString(this.$i18n.locale, {
|
51
|
-
day: "2-digit",
|
52
|
-
month: "short",
|
53
|
-
weekday: "short",
|
54
|
-
year: "numeric"
|
55
|
-
})
|
56
|
-
);
|
57
|
-
},
|
58
|
-
today() {
|
59
|
-
return I().format("YYYY-MM-DD");
|
60
|
-
}
|
61
|
-
},
|
62
|
-
data() {
|
63
|
-
return {
|
64
|
-
isMenuOpen: !1,
|
65
|
-
model: this.modelValue
|
66
|
-
};
|
67
|
-
},
|
68
|
-
methods: {
|
69
|
-
dateRangeUpdated() {
|
70
|
-
this.isMenuOpen = !1, this.$emit("update:modelValue", this.model);
|
71
|
-
}
|
72
|
-
},
|
73
|
-
mixins: [w, z],
|
74
|
-
name: "DateRangePickerMenu",
|
75
|
-
props: dt,
|
76
|
-
setup() {
|
77
|
-
const { t } = _();
|
78
|
-
return {
|
79
|
-
t
|
80
|
-
};
|
81
|
-
},
|
82
|
-
watch: {
|
83
|
-
model() {
|
84
|
-
this.dateRangeUpdated();
|
85
|
-
},
|
86
|
-
modelValue: {
|
87
|
-
deep: !0,
|
88
|
-
handler(t) {
|
89
|
-
t && (this.model = O(t[0], t[1]));
|
90
|
-
},
|
91
|
-
immediate: !0
|
92
|
-
}
|
93
|
-
}
|
94
|
-
});
|
95
|
-
function G(t) {
|
96
|
-
const e = t;
|
97
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
98
|
-
locale: "",
|
99
|
-
resource: {
|
100
|
-
"en-US": {
|
101
|
-
BDateRangePickerMenu: {
|
102
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
|
103
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
|
104
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dates" } },
|
105
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "night" }, { t: 2, i: [{ t: 3 }], s: "nights" }] } },
|
106
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Travelers" } },
|
107
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooms" } }
|
108
|
-
}
|
109
|
-
},
|
110
|
-
"fr-FR": {
|
111
|
-
BDateRangePickerMenu: {
|
112
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Arrivée" } },
|
113
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Départ" } },
|
114
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dates" } },
|
115
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "nuit" }, { t: 2, i: [{ t: 3 }], s: "nuits" }] } },
|
116
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voyageurs" } },
|
117
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Chambres" } }
|
118
|
-
}
|
119
|
-
},
|
120
|
-
"de-DE": {
|
121
|
-
BDateRangePickerMenu: {
|
122
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
|
123
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
|
124
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Daten" } },
|
125
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nacht" }, { t: 2, i: [{ t: 3 }], s: "Nächte" }] } },
|
126
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reisende" } },
|
127
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmer" } }
|
128
|
-
}
|
129
|
-
},
|
130
|
-
"es-ES": {
|
131
|
-
BDateRangePickerMenu: {
|
132
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrada" } },
|
133
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salida" } },
|
134
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Fechas" } },
|
135
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "noche" }, { t: 2, i: [{ t: 3 }], s: "noches" }] } },
|
136
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viajeros" } },
|
137
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Habitaciones" } }
|
138
|
-
}
|
139
|
-
},
|
140
|
-
"it-IT": {
|
141
|
-
BDateRangePickerMenu: {
|
142
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
|
143
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
|
144
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Date" } },
|
145
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "notte" }, { t: 2, i: [{ t: 3 }], s: "notti" }] } },
|
146
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viaggiatori" } },
|
147
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Camere" } }
|
148
|
-
}
|
149
|
-
},
|
150
|
-
"nl-NL": {
|
151
|
-
BDateRangePickerMenu: {
|
152
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
|
153
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
|
154
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datums" } },
|
155
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "nacht" }, { t: 2, i: [{ t: 3 }], s: "nachten" }] } },
|
156
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reizigers" } },
|
157
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamers" } }
|
158
|
-
}
|
159
|
-
},
|
160
|
-
"pt-PT": {
|
161
|
-
BDateRangePickerMenu: {
|
162
|
-
checkIn: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-in" } },
|
163
|
-
checkOut: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Check-out" } },
|
164
|
-
date: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datas" } },
|
165
|
-
nights: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "noite" }, { t: 2, i: [{ t: 3 }], s: "noites" }] } },
|
166
|
-
traveler: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Viajantes" } },
|
167
|
-
room: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Quartos" } }
|
168
|
-
}
|
169
|
-
}
|
170
|
-
}
|
171
|
-
});
|
172
|
-
}
|
173
|
-
function mt(t, e, a, l, r, c) {
|
174
|
-
const u = y("BDateRangePicker");
|
175
|
-
return d(), v("div", null, [
|
176
|
-
s(q, {
|
177
|
-
modelValue: t.isMenuOpen,
|
178
|
-
"onUpdate:modelValue": e[1] || (e[1] = (o) => t.isMenuOpen = o),
|
179
|
-
attach: t.$dialogAttach,
|
180
|
-
class: "date-range-picker",
|
181
|
-
"close-on-content-click": !1,
|
182
|
-
"min-width": t.$breakpointService.xs ? "100%" : "570px"
|
183
|
-
}, {
|
184
|
-
activator: n(({ props: o }) => [
|
185
|
-
s(g, F(o, {
|
186
|
-
color: "primary",
|
187
|
-
"data-cy": "b-date-range-picker-btn",
|
188
|
-
"data-attr": "b-date-range-picker-btn",
|
189
|
-
elevation: "0",
|
190
|
-
"min-width": "100%",
|
191
|
-
size: "small"
|
192
|
-
}), {
|
193
|
-
default: n(() => [
|
194
|
-
s(V, { class: "pr-1" }, {
|
195
|
-
default: n(() => e[2] || (e[2] = [
|
196
|
-
p(" fas fa-calendar-days ")
|
197
|
-
])),
|
198
|
-
_: 1,
|
199
|
-
__: [2]
|
200
|
-
}),
|
201
|
-
h("b", null, i(t.readableDateRange && t.readableDateRange[0] || t.t("BDateRangePickerMenu.checkIn")), 1),
|
202
|
-
s(V, { class: "mx-1" }, {
|
203
|
-
default: n(() => e[3] || (e[3] = [
|
204
|
-
p(" fas fa-long-arrow-alt-right ")
|
205
|
-
])),
|
206
|
-
_: 1,
|
207
|
-
__: [3]
|
208
|
-
}),
|
209
|
-
s(st, {
|
210
|
-
bordered: "",
|
211
|
-
color: "secondary",
|
212
|
-
content: `${t.nightCount} ${t.t("BDateRangePickerMenu.nights", {
|
213
|
-
n: t.nightCount
|
214
|
-
})}`,
|
215
|
-
"offset-x": "0",
|
216
|
-
"offset-y": "-5",
|
217
|
-
floating: "",
|
218
|
-
style: { "z-index": "1" },
|
219
|
-
"model-value": t.nightCount > 0
|
220
|
-
}, {
|
221
|
-
default: n(() => [
|
222
|
-
h("b", null, i(t.readableDateRange && t.readableDateRange[1] || t.t("BDateRangePickerMenu.checkOut")), 1)
|
223
|
-
]),
|
224
|
-
_: 1
|
225
|
-
}, 8, ["content", "model-value"])
|
226
|
-
]),
|
227
|
-
_: 2
|
228
|
-
}, 1040)
|
229
|
-
]),
|
230
|
-
default: n(() => [
|
231
|
-
t.isMenuOpen ? (d(), b(u, {
|
232
|
-
key: 0,
|
233
|
-
modelValue: t.model,
|
234
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) => t.model = o),
|
235
|
-
class: "ma-0"
|
236
|
-
}, null, 8, ["modelValue"])) : M("", !0)
|
237
|
-
]),
|
238
|
-
_: 1
|
239
|
-
}, 8, ["modelValue", "attach", "min-width"])
|
240
|
-
]);
|
241
|
-
}
|
242
|
-
typeof G == "function" && G(H);
|
243
|
-
const ct = /* @__PURE__ */ U(H, [["render", mt], ["__scopeId", "data-v-f0602770"]]), ht = /\.\d*[09]{10}\d*$/u, P = (t, e = 1e11) => ht.test(String(t)) ? Math.round(t * e) / e : t, pt = { class: "d-flex align-center" }, bt = /* @__PURE__ */ B({
|
244
|
-
__name: "BNumberInput",
|
245
|
-
props: {
|
246
|
-
max: { default: Number.POSITIVE_INFINITY },
|
247
|
-
min: { default: Number.NEGATIVE_INFINITY },
|
248
|
-
step: { default: 1 },
|
249
|
-
modelValue: {}
|
250
|
-
},
|
251
|
-
emits: ["update:modelValue"],
|
252
|
-
setup(t, { emit: e }) {
|
253
|
-
const a = t, l = e, r = S(), c = S(0), u = S(200), o = Z(
|
254
|
-
() => `${Math.max(String(a.modelValue).length, 3) + 4}ch`
|
255
|
-
);
|
256
|
-
function m() {
|
257
|
-
l(
|
258
|
-
"update:modelValue",
|
259
|
-
P(a.modelValue - a.step)
|
260
|
-
);
|
261
|
-
}
|
262
|
-
function f() {
|
263
|
-
l(
|
264
|
-
"update:modelValue",
|
265
|
-
P(a.modelValue + a.step)
|
266
|
-
);
|
267
|
-
}
|
268
|
-
function A(D) {
|
269
|
-
r.value = window.setInterval(() => {
|
270
|
-
D(), c.value += u.value, c.value > 1e3 && (r.value && clearInterval(r.value), r.value = void 0, u.value /= 2, c.value = 0, A(D));
|
271
|
-
}, u.value);
|
272
|
-
}
|
273
|
-
function k() {
|
274
|
-
r.value && clearInterval(r.value), r.value = void 0, u.value = 200, c.value = 0;
|
275
|
-
}
|
276
|
-
function X() {
|
277
|
-
f(), A(() => {
|
278
|
-
f();
|
279
|
-
});
|
280
|
-
}
|
281
|
-
function J() {
|
282
|
-
m(), A(() => {
|
283
|
-
m();
|
284
|
-
});
|
285
|
-
}
|
286
|
-
return (D, _t) => (d(), v("div", pt, [
|
287
|
-
s(g, {
|
288
|
-
color: "primary",
|
289
|
-
disabled: a.modelValue === a.min,
|
290
|
-
elevation: "0",
|
291
|
-
icon: "",
|
292
|
-
variant: "outlined",
|
293
|
-
size: "x-small",
|
294
|
-
onMousedown: J,
|
295
|
-
onMouseout: k,
|
296
|
-
onMouseup: k
|
297
|
-
}, {
|
298
|
-
default: n(() => [
|
299
|
-
s(V, { icon: "fas fa-minus" })
|
300
|
-
]),
|
301
|
-
_: 1
|
302
|
-
}, 8, ["disabled"]),
|
303
|
-
h("b", {
|
304
|
-
class: "text-primary px-4 text-center",
|
305
|
-
style: W({
|
306
|
-
width: o.value
|
307
|
-
})
|
308
|
-
}, i(a.modelValue), 5),
|
309
|
-
s(g, {
|
310
|
-
color: "primary",
|
311
|
-
disabled: a.modelValue === a.max,
|
312
|
-
elevation: "0",
|
313
|
-
icon: "",
|
314
|
-
variant: "outlined",
|
315
|
-
size: "x-small",
|
316
|
-
onMousedown: X,
|
317
|
-
onMouseout: k,
|
318
|
-
onMouseup: k
|
319
|
-
}, {
|
320
|
-
default: n(() => [
|
321
|
-
s(V, { icon: "fas fa-plus" })
|
322
|
-
]),
|
323
|
-
_: 1
|
324
|
-
}, 8, ["disabled"])
|
325
|
-
]));
|
326
|
-
}
|
327
|
-
}), ft = 200, gt = 200, Ct = 5, vt = 200, T = 4, Vt = {
|
328
|
-
maxAdultCount: {
|
329
|
-
default: ft,
|
330
|
-
type: Number
|
331
|
-
},
|
332
|
-
maxChildCount: {
|
333
|
-
default: gt,
|
334
|
-
type: Number
|
335
|
-
},
|
336
|
-
maxRoomCount: {
|
337
|
-
default: vt,
|
338
|
-
type: Number
|
339
|
-
},
|
340
|
-
modelValue: { type: Object }
|
341
|
-
}, kt = /^(?:[0-9]|0[1-9]|1[0-7])(,(?:[1-9]|0[1-9]|1[0-7]))*,*$/u, K = B({
|
342
|
-
components: {
|
343
|
-
BNumberInput: bt
|
344
|
-
},
|
345
|
-
computed: {
|
346
|
-
adultCountRange() {
|
347
|
-
return [
|
348
|
-
this.roomCount,
|
349
|
-
Math.min(this.maxAdultCount, this.roomCount * T)
|
350
|
-
];
|
351
|
-
},
|
352
|
-
childCount: {
|
353
|
-
get() {
|
354
|
-
return this.childrenFormatted.length;
|
355
|
-
},
|
356
|
-
set(t) {
|
357
|
-
this.children = t > this.childrenFormatted.length ? [...this.childrenFormatted, -1].join(",") : this.childrenFormatted.slice(0, -1).join(",");
|
358
|
-
}
|
359
|
-
},
|
360
|
-
childCountRange() {
|
361
|
-
return [0, this.adultCount * Ct];
|
362
|
-
},
|
363
|
-
childrenFormatted: {
|
364
|
-
get() {
|
365
|
-
var t;
|
366
|
-
return (t = this.children) != null && t.length ? this.children.split(",").map(Number) : [];
|
367
|
-
},
|
368
|
-
set(t) {
|
369
|
-
this.children = t.join(",");
|
370
|
-
}
|
371
|
-
},
|
372
|
-
childrenSelectOptions() {
|
373
|
-
return Array.from({ length: 18 }, (t, e) => ({
|
374
|
-
text: e === 0 ? this.t("BGuestsInputs.under12months").toString() : `${e} ${this.t("BGuestsInputs.age", { n: e })}`,
|
375
|
-
value: e
|
376
|
-
}));
|
377
|
-
},
|
378
|
-
roomCountRange() {
|
379
|
-
return [
|
380
|
-
Math.ceil(this.adultCount / T),
|
381
|
-
Math.min(this.maxRoomCount, this.adultCount)
|
382
|
-
];
|
383
|
-
}
|
384
|
-
},
|
385
|
-
data() {
|
386
|
-
var t, e, a, l, r, c;
|
387
|
-
return {
|
388
|
-
adultCount: ((t = this.modelValue) == null ? void 0 : t.adultCount) ?? 1,
|
389
|
-
children: ((e = this.modelValue) == null ? void 0 : e.children) ?? null,
|
390
|
-
childrenRules: [(u) => u > -1],
|
391
|
-
isMenuOpen: !1,
|
392
|
-
previousState: {
|
393
|
-
adultCount: ((a = this.modelValue) == null ? void 0 : a.adultCount) ?? 1,
|
394
|
-
children: ((l = this.modelValue) == null ? void 0 : l.children) ?? null,
|
395
|
-
roomCount: ((r = this.modelValue) == null ? void 0 : r.roomCount) ?? 1
|
396
|
-
},
|
397
|
-
roomCount: ((c = this.modelValue) == null ? void 0 : c.roomCount) ?? 1,
|
398
|
-
valid: !1
|
399
|
-
};
|
400
|
-
},
|
401
|
-
methods: {
|
402
|
-
adultCountUpdated(t) {
|
403
|
-
this.adultCount = t, this.roomCount = Math.min(
|
404
|
-
Math.max(this.roomCount, this.roomCountRange[0]),
|
405
|
-
this.roomCountRange[1]
|
406
|
-
);
|
407
|
-
},
|
408
|
-
emitValue() {
|
409
|
-
this.$emit("update:modelValue", {
|
410
|
-
adultCount: this.adultCount,
|
411
|
-
children: this.children,
|
412
|
-
roomCount: this.roomCount
|
413
|
-
});
|
414
|
-
},
|
415
|
-
onCancel(t) {
|
416
|
-
this.adultCount = this.previousState.adultCount, this.children = this.previousState.children, this.roomCount = this.previousState.roomCount, t === !0 && (this.isMenuOpen = !1);
|
417
|
-
},
|
418
|
-
onChildAgeUpdate(t, e) {
|
419
|
-
const a = t.target, l = Number(a.value);
|
420
|
-
this.childrenFormatted = [
|
421
|
-
...this.childrenFormatted.slice(0, e),
|
422
|
-
l,
|
423
|
-
...this.childrenFormatted.slice(e + 1)
|
424
|
-
];
|
425
|
-
},
|
426
|
-
onSave() {
|
427
|
-
var t;
|
428
|
-
(t = this.$refs.form) != null && t.validate() && (this.previousState = {
|
429
|
-
adultCount: this.adultCount,
|
430
|
-
children: this.children,
|
431
|
-
roomCount: this.roomCount
|
432
|
-
}, this.emitValue(), this.isMenuOpen = !1);
|
433
|
-
},
|
434
|
-
roomCountUpdated(t) {
|
435
|
-
this.roomCount = t, this.adultCount = Math.min(
|
436
|
-
Math.max(this.adultCount, this.adultCountRange[0]),
|
437
|
-
this.adultCountRange[1]
|
438
|
-
);
|
439
|
-
}
|
440
|
-
},
|
441
|
-
mixins: [w, z],
|
442
|
-
name: "BGuestsInputs",
|
443
|
-
props: Vt,
|
444
|
-
setup() {
|
445
|
-
const { t } = _();
|
446
|
-
return {
|
447
|
-
t
|
448
|
-
};
|
449
|
-
},
|
450
|
-
watch: {
|
451
|
-
isMenuOpen(t) {
|
452
|
-
t === !1 ? this.emitValue() : this.previousState = {
|
453
|
-
adultCount: this.adultCount,
|
454
|
-
children: this.children,
|
455
|
-
roomCount: this.roomCount
|
456
|
-
};
|
457
|
-
},
|
458
|
-
modelValue: {
|
459
|
-
deep: !0,
|
460
|
-
handler(t, e) {
|
461
|
-
t && (t.children && kt.test(t.children) ? (this.children = t.children.replace(/(^,*)|(,*$)/gu, ""), this.childrenFormatted.length > this.childCountRange[1] && (this.children = this.childrenFormatted.slice(this.childCountRange[1]).join(","))) : this.children = null, t.adultCount && (!e || t.adultCount !== e.adultCount) ? (this.adultCount = Math.min(t.adultCount, this.maxAdultCount), this.roomCount = Math.min(
|
462
|
-
Math.max(t.roomCount || 0, this.roomCountRange[0]),
|
463
|
-
this.roomCountRange[1]
|
464
|
-
)) : t.roomCount && (!e || t.roomCount !== e.roomCount) && (this.roomCount = Math.min(t.roomCount, this.maxRoomCount), this.adultCount = Math.min(
|
465
|
-
Math.max(t.adultCount || 0, this.adultCountRange[0]),
|
466
|
-
this.adultCountRange[1]
|
467
|
-
)), this.emitValue());
|
468
|
-
},
|
469
|
-
immediate: !0
|
470
|
-
}
|
471
|
-
}
|
472
|
-
});
|
473
|
-
function j(t) {
|
474
|
-
const e = t;
|
475
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
476
|
-
locale: "",
|
477
|
-
resource: {
|
478
|
-
"en-US": {
|
479
|
-
BGuestsInputs: {
|
480
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "year old" }, { t: 2, i: [{ t: 3 }], s: "years old" }] } },
|
481
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
|
482
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Child" }, { t: 2, i: [{ t: 3 }], s: "Children" }] } },
|
483
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ages 0 - 17" } },
|
484
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "To find a place to stay that fits your entire group along with correct prices, we need to know how old your children will be at check-out." } },
|
485
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Age required" } },
|
486
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Room" }, { t: 2, i: [{ t: 3 }], s: "Rooms" }] } },
|
487
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Save" } },
|
488
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adult" }, { t: 2, i: [{ t: 3 }], s: "Adults" }] } },
|
489
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Under 12 months" } }
|
490
|
-
}
|
491
|
-
},
|
492
|
-
"fr-FR": {
|
493
|
-
BGuestsInputs: {
|
494
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "an" }, { t: 2, i: [{ t: 3 }], s: "ans" }] } },
|
495
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
|
496
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Enfant" }, { t: 2, i: [{ t: 3 }], s: "Enfant" }, { t: 2, i: [{ t: 3 }], s: "Enfants" }] } },
|
497
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De 0 à 17 ans" } },
|
498
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pour trouver un hébergement pouvant accueillir votre groupe et afficher les bons tarifs, nous avons besoin de connaître l'âge qu'auront vos enfants à la fin du séjour." } },
|
499
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Age requis" } },
|
500
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Chambre" }, { t: 2, i: [{ t: 3 }], s: "Chambres" }] } },
|
501
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Enregistrer" } },
|
502
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulte" }, { t: 2, i: [{ t: 3 }], s: "Adultes" }] } },
|
503
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moins de 12 mois" } }
|
504
|
-
}
|
505
|
-
},
|
506
|
-
"de-DE": {
|
507
|
-
BGuestsInputs: {
|
508
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Jahr alt" }, { t: 2, i: [{ t: 3 }], s: "Jahre alt" }] } },
|
509
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
|
510
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kind" }, { t: 2, i: [{ t: 3 }], s: "Kinder" }] } },
|
511
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alter 0 - 17" } },
|
512
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Um eine Unterkunft zu finden, die für Ihre gesamte Gruppe geeignet ist und die korrekten Preise anzeigt, müssen wir wissen, wie alt Ihre Kinder beim Check-out sein werden." } },
|
513
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alter erforderlich" } },
|
514
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Zimmer" }, { t: 2, i: [{ t: 3 }], s: "Zimmer" }] } },
|
515
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Speichern" } },
|
516
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Erwachsener" }, { t: 2, i: [{ t: 3 }], s: "Erwachsene" }] } },
|
517
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unter 12 Monate" } }
|
518
|
-
}
|
519
|
-
},
|
520
|
-
"es-ES": {
|
521
|
-
BGuestsInputs: {
|
522
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "año" }, { t: 2, i: [{ t: 3 }], s: "años" }] } },
|
523
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
|
524
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Niño" }, { t: 2, i: [{ t: 3 }], s: "Niños" }] } },
|
525
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Edades de 0 a 17" } },
|
526
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Para encontrar un alojamiento que se adapte a todo tu grupo y mostrar los precios correctos, necesitamos saber cuántos años tendrán tus hijos al hacer el check-out." } },
|
527
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Edad requerida" } },
|
528
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Habitación" }, { t: 2, i: [{ t: 3 }], s: "Habitaciones" }] } },
|
529
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guardar" } },
|
530
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adultos" }] } },
|
531
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menos de 12 meses" } }
|
532
|
-
}
|
533
|
-
},
|
534
|
-
"it-IT": {
|
535
|
-
BGuestsInputs: {
|
536
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "anno" }, { t: 2, i: [{ t: 3 }], s: "anni" }] } },
|
537
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
|
538
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Bambino" }, { t: 2, i: [{ t: 3 }], s: "Bambini" }] } },
|
539
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Età 0 - 17" } },
|
540
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Per trovare un alloggio adatto a tutto il tuo gruppo e visualizzare i prezzi corretti, dobbiamo sapere quanti anni avranno i tuoi figli al momento del check-out." } },
|
541
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Età richiesta" } },
|
542
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Camera" }, { t: 2, i: [{ t: 3 }], s: "Camere" }] } },
|
543
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Salva" } },
|
544
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adulti" }] } },
|
545
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meno di 12 mesi" } }
|
546
|
-
}
|
547
|
-
},
|
548
|
-
"nl-NL": {
|
549
|
-
BGuestsInputs: {
|
550
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "jaar oud" }, { t: 2, i: [{ t: 3 }], s: "jaren oud" }] } },
|
551
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
|
552
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kind" }, { t: 2, i: [{ t: 3 }], s: "Kinderen" }] } },
|
553
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leeftijd 0 - 17" } },
|
554
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Om een verblijfplaats te vinden die geschikt is voor uw hele groep en de juiste prijzen weergeeft, moeten we weten hoe oud uw kinderen zijn bij het uitchecken." } },
|
555
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leeftijd vereist" } },
|
556
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Kamer" }, { t: 2, i: [{ t: 3 }], s: "Kamers" }] } },
|
557
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Opslaan" } },
|
558
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Volwassene" }, { t: 2, i: [{ t: 3 }], s: "Volwassenen" }] } },
|
559
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Jonger dan 12 maanden" } }
|
560
|
-
}
|
561
|
-
},
|
562
|
-
"pt-PT": {
|
563
|
-
BGuestsInputs: {
|
564
|
-
age: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "ano" }, { t: 2, i: [{ t: 3 }], s: "anos" }] } },
|
565
|
-
cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
|
566
|
-
children: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Criança" }, { t: 2, i: [{ t: 3 }], s: "Crianças" }] } },
|
567
|
-
childrenAgeRange: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Idades 0 - 17" } },
|
568
|
-
childrenLabel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Para encontrar um alojamento adequado a todo o seu grupo e apresentar os preços corretos, precisamos de saber quantos anos terão os seus filhos no check-out." } },
|
569
|
-
requiredChildAge: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Idade obrigatória" } },
|
570
|
-
rooms: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Quarto" }, { t: 2, i: [{ t: 3 }], s: "Quartos" }] } },
|
571
|
-
save: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guardar" } },
|
572
|
-
travelers: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Adulto" }, { t: 2, i: [{ t: 3 }], s: "Adultos" }] } },
|
573
|
-
under12months: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Menos de 12 meses" } }
|
574
|
-
}
|
575
|
-
}
|
576
|
-
}
|
577
|
-
});
|
578
|
-
}
|
579
|
-
const It = { class: "d-flex align-center" }, Rt = { class: "d-flex align-center" }, Mt = { class: "d-block text-caption" }, yt = ["value", "onInput"], Bt = {
|
580
|
-
value: "-1",
|
581
|
-
disabled: "",
|
582
|
-
selected: ""
|
583
|
-
}, At = ["value"], Dt = { class: "d-flex align-center" };
|
584
|
-
function St(t, e, a, l, r, c) {
|
585
|
-
const u = y("BNumberInput");
|
586
|
-
return d(), b(q, {
|
587
|
-
modelValue: t.isMenuOpen,
|
588
|
-
"onUpdate:modelValue": e[5] || (e[5] = (o) => t.isMenuOpen = o),
|
589
|
-
attach: t.$dialogAttach,
|
590
|
-
"close-on-content-click": !1,
|
591
|
-
"max-width": t.$breakpointService.xs ? "100%" : "340px",
|
592
|
-
"min-width": t.$breakpointService.xs ? "100%" : "340px",
|
593
|
-
"offset-y": ""
|
594
|
-
}, {
|
595
|
-
activator: n(({ props: o }) => [
|
596
|
-
s(g, F(o, {
|
597
|
-
block: "",
|
598
|
-
color: "primary",
|
599
|
-
"data-cy": "b-guests-inputs-button",
|
600
|
-
"data-attr": "b-guests-inputs-button",
|
601
|
-
elevation: "0",
|
602
|
-
size: "small"
|
603
|
-
}), {
|
604
|
-
default: n(() => [
|
605
|
-
s(V, {
|
606
|
-
class: "pr-2",
|
607
|
-
style: "font-size: 12px;"
|
608
|
-
}, {
|
609
|
-
default: n(() => e[6] || (e[6] = [
|
610
|
-
p(" fas fa-user ")
|
611
|
-
])),
|
612
|
-
_: 1,
|
613
|
-
__: [6]
|
614
|
-
}),
|
615
|
-
h("b", null, i(t.adultCount) + " " + i(t.t("BGuestsInputs.travelers", { n: t.adultCount })) + " | " + i(t.childCount) + " " + i(t.t("BGuestsInputs.children", { n: t.childCount })) + " | " + i(t.roomCount) + " " + i(t.t("BGuestsInputs.rooms", { n: t.roomCount })), 1)
|
616
|
-
]),
|
617
|
-
_: 2
|
618
|
-
}, 1040)
|
619
|
-
]),
|
620
|
-
default: n(() => [
|
621
|
-
x((d(), b(Y, { elevation: "1" }, {
|
622
|
-
default: n(() => [
|
623
|
-
s(ut, {
|
624
|
-
ref: "form",
|
625
|
-
modelValue: t.valid,
|
626
|
-
"onUpdate:modelValue": e[4] || (e[4] = (o) => t.valid = o)
|
627
|
-
}, {
|
628
|
-
default: n(() => [
|
629
|
-
s(ot, { density: "compact" }, {
|
630
|
-
default: n(() => [
|
631
|
-
s(R, { "data-cy": "adult-count-input" }, {
|
632
|
-
default: n(() => [
|
633
|
-
h("div", It, [
|
634
|
-
s(E, { class: "font-weight-medium" }, {
|
635
|
-
default: n(() => [
|
636
|
-
p(i(t.t("BGuestsInputs.travelers", { n: 2 })), 1)
|
637
|
-
]),
|
638
|
-
_: 1
|
639
|
-
}),
|
640
|
-
s(u, {
|
641
|
-
class: "ml-auto",
|
642
|
-
modelValue: t.adultCount,
|
643
|
-
"onUpdate:modelValue": [
|
644
|
-
e[0] || (e[0] = (o) => t.adultCount = o),
|
645
|
-
t.adultCountUpdated
|
646
|
-
],
|
647
|
-
"data-cy": "b-guests-inputs-adult-count-input",
|
648
|
-
"data-attr": "b-guests-inputs-adult-count-input",
|
649
|
-
max: t.maxAdultCount,
|
650
|
-
min: 1
|
651
|
-
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"])
|
652
|
-
])
|
653
|
-
]),
|
654
|
-
_: 1
|
655
|
-
}),
|
656
|
-
s(R, {
|
657
|
-
class: "mt-2",
|
658
|
-
"data-cy": "children-count-input"
|
659
|
-
}, {
|
660
|
-
default: n(() => [
|
661
|
-
h("div", Rt, [
|
662
|
-
s(E, { class: "font-weight-medium" }, {
|
663
|
-
default: n(() => [
|
664
|
-
p(i(t.t("BGuestsInputs.children", { n: 2 })) + " ", 1),
|
665
|
-
h("span", Mt, i(t.t("BGuestsInputs.childrenAgeRange")), 1)
|
666
|
-
]),
|
667
|
-
_: 1
|
668
|
-
}),
|
669
|
-
s(u, {
|
670
|
-
class: "ml-auto",
|
671
|
-
modelValue: t.childCount,
|
672
|
-
"onUpdate:modelValue": e[1] || (e[1] = (o) => t.childCount = o),
|
673
|
-
"data-cy": "b-guests-inputs-child-count-input",
|
674
|
-
"data-attr": "b-guests-inputs-child-count-input",
|
675
|
-
max: t.childCountRange[1],
|
676
|
-
min: 0
|
677
|
-
}, null, 8, ["modelValue", "max"])
|
678
|
-
])
|
679
|
-
]),
|
680
|
-
_: 1
|
681
|
-
}),
|
682
|
-
t.childCount > 0 ? (d(), b(R, { key: 0 }, {
|
683
|
-
default: n(() => [
|
684
|
-
s($, { class: "mt-2" }, {
|
685
|
-
default: n(() => [
|
686
|
-
(d(!0), v(N, null, L(t.childrenFormatted, (o, m) => (d(), b(C, {
|
687
|
-
key: m,
|
688
|
-
class: "pt-0",
|
689
|
-
cols: "6",
|
690
|
-
sm: "6"
|
691
|
-
}, {
|
692
|
-
default: n(() => [
|
693
|
-
s(it, {
|
694
|
-
class: "child-age-input",
|
695
|
-
"model-value": t.childrenFormatted[m],
|
696
|
-
rules: t.childrenRules,
|
697
|
-
"hide-details": ""
|
698
|
-
}, {
|
699
|
-
default: n(() => [
|
700
|
-
h("select", {
|
701
|
-
class: "child-age-input-select rounded w-full pa-2 text-body-2",
|
702
|
-
value: t.childrenFormatted[m],
|
703
|
-
onInput: (f) => t.onChildAgeUpdate(f, m)
|
704
|
-
}, [
|
705
|
-
h("option", Bt, i(t.t("BGuestsInputs.requiredChildAge")), 1),
|
706
|
-
(d(!0), v(N, null, L(t.childrenSelectOptions, (f) => (d(), v("option", {
|
707
|
-
value: f.value
|
708
|
-
}, i(f.text), 9, At))), 256))
|
709
|
-
], 40, yt)
|
710
|
-
]),
|
711
|
-
_: 2
|
712
|
-
}, 1032, ["model-value", "rules"])
|
713
|
-
]),
|
714
|
-
_: 2
|
715
|
-
}, 1024))), 128))
|
716
|
-
]),
|
717
|
-
_: 1
|
718
|
-
})
|
719
|
-
]),
|
720
|
-
_: 1
|
721
|
-
})) : M("", !0),
|
722
|
-
s(R, {
|
723
|
-
class: "mt-2",
|
724
|
-
"data-cy": "room-count-input"
|
725
|
-
}, {
|
726
|
-
default: n(() => [
|
727
|
-
h("div", Dt, [
|
728
|
-
s(E, { class: "font-weight-medium" }, {
|
729
|
-
default: n(() => [
|
730
|
-
p(i(t.t("BGuestsInputs.rooms", { n: 2 })), 1)
|
731
|
-
]),
|
732
|
-
_: 1
|
733
|
-
}),
|
734
|
-
s(u, {
|
735
|
-
class: "ml-auto",
|
736
|
-
modelValue: t.roomCount,
|
737
|
-
"onUpdate:modelValue": [
|
738
|
-
e[2] || (e[2] = (o) => t.roomCount = o),
|
739
|
-
t.roomCountUpdated
|
740
|
-
],
|
741
|
-
"data-cy": "b-guests-inputs-room-count-input",
|
742
|
-
"data-attr": "b-guests-inputs-room-count-input",
|
743
|
-
max: t.maxRoomCount,
|
744
|
-
min: 1
|
745
|
-
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"])
|
746
|
-
])
|
747
|
-
]),
|
748
|
-
_: 1
|
749
|
-
})
|
750
|
-
]),
|
751
|
-
_: 1
|
752
|
-
}),
|
753
|
-
s(at, null, {
|
754
|
-
default: n(() => [
|
755
|
-
s(lt),
|
756
|
-
s(g, {
|
757
|
-
class: "text-right",
|
758
|
-
color: "primary",
|
759
|
-
elevation: "0",
|
760
|
-
size: "small",
|
761
|
-
variant: "text",
|
762
|
-
onClick: e[3] || (e[3] = (o) => t.onCancel(!0))
|
763
|
-
}, {
|
764
|
-
default: n(() => [
|
765
|
-
p(i(t.t("BGuestsInputs.cancel")), 1)
|
766
|
-
]),
|
767
|
-
_: 1
|
768
|
-
}),
|
769
|
-
s(g, {
|
770
|
-
class: "text-right",
|
771
|
-
color: "primary",
|
772
|
-
elevation: "0",
|
773
|
-
size: "small",
|
774
|
-
onClick: t.onSave
|
775
|
-
}, {
|
776
|
-
default: n(() => [
|
777
|
-
p(i(t.t("BGuestsInputs.save")), 1)
|
778
|
-
]),
|
779
|
-
_: 1
|
780
|
-
}, 8, ["onClick"])
|
781
|
-
]),
|
782
|
-
_: 1
|
783
|
-
})
|
784
|
-
]),
|
785
|
-
_: 1
|
786
|
-
}, 8, ["modelValue"])
|
787
|
-
]),
|
788
|
-
_: 1
|
789
|
-
})), [
|
790
|
-
[nt, t.onCancel]
|
791
|
-
])
|
792
|
-
]),
|
793
|
-
_: 1
|
794
|
-
}, 8, ["modelValue", "attach", "max-width", "min-width"]);
|
795
|
-
}
|
796
|
-
typeof j == "function" && j(K);
|
797
|
-
const Et = /* @__PURE__ */ U(K, [["render", St], ["__scopeId", "data-v-bd00fed9"]]), Ot = {
|
798
|
-
isFetching: { type: Boolean },
|
799
|
-
loadingBarEnabled: {
|
800
|
-
default: !0,
|
801
|
-
type: Boolean
|
802
|
-
},
|
803
|
-
modelValue: {
|
804
|
-
required: !0,
|
805
|
-
type: Object
|
806
|
-
},
|
807
|
-
withBorder: {
|
808
|
-
default: !1,
|
809
|
-
type: Boolean
|
810
|
-
}
|
811
|
-
}, $t = B({
|
812
|
-
components: {
|
813
|
-
BDateRangePickerMenu: ct,
|
814
|
-
BGuestsInputs: Et
|
815
|
-
},
|
816
|
-
computed: {
|
817
|
-
dateRange: {
|
818
|
-
get() {
|
819
|
-
return O(
|
820
|
-
this.modelValue.checkInDate,
|
821
|
-
this.modelValue.checkOutDate
|
822
|
-
);
|
823
|
-
},
|
824
|
-
set(t) {
|
825
|
-
if (t[0] !== this.modelValue.checkInDate || t[1] !== this.modelValue.checkOutDate) {
|
826
|
-
const [e, a] = O(...t);
|
827
|
-
this.emitValue({
|
828
|
-
...this.modelValue,
|
829
|
-
checkInDate: e,
|
830
|
-
checkOutDate: a
|
831
|
-
});
|
832
|
-
}
|
833
|
-
}
|
834
|
-
},
|
835
|
-
guestsInputsValue: {
|
836
|
-
get() {
|
837
|
-
return {
|
838
|
-
adultCount: this.modelValue.adultCount,
|
839
|
-
children: this.modelValue.children,
|
840
|
-
roomCount: this.modelValue.roomCount
|
841
|
-
};
|
842
|
-
},
|
843
|
-
set(t) {
|
844
|
-
(t.adultCount !== this.modelValue.adultCount || t.children !== this.modelValue.children || t.roomCount !== this.modelValue.roomCount) && this.emitValue({
|
845
|
-
...this.modelValue,
|
846
|
-
adultCount: t.adultCount,
|
847
|
-
children: t.children,
|
848
|
-
roomCount: t.roomCount
|
849
|
-
});
|
850
|
-
}
|
851
|
-
}
|
852
|
-
},
|
853
|
-
methods: {
|
854
|
-
emitValue(t) {
|
855
|
-
this.$emit("update:modelValue", t);
|
856
|
-
}
|
857
|
-
},
|
858
|
-
mixins: [w],
|
859
|
-
name: "HotelSearchBar",
|
860
|
-
props: Ot,
|
861
|
-
setup() {
|
862
|
-
const { t } = _();
|
863
|
-
return {
|
864
|
-
t
|
865
|
-
};
|
866
|
-
}
|
867
|
-
});
|
868
|
-
function wt(t, e, a, l, r, c) {
|
869
|
-
const u = y("BDateRangePickerMenu"), o = y("BGuestsInputs");
|
870
|
-
return d(), b(Y, {
|
871
|
-
class: "pa-0",
|
872
|
-
color: "transparent",
|
873
|
-
elevation: "0",
|
874
|
-
style: {
|
875
|
-
overflow: "visible"
|
876
|
-
}
|
877
|
-
}, {
|
878
|
-
default: n(() => [
|
879
|
-
s($, { dense: "" }, {
|
880
|
-
default: n(() => [
|
881
|
-
s(C, {
|
882
|
-
"align-self": "end",
|
883
|
-
cols: "12",
|
884
|
-
sm: "6"
|
885
|
-
}, {
|
886
|
-
default: n(() => [
|
887
|
-
s(u, {
|
888
|
-
modelValue: t.dateRange,
|
889
|
-
"onUpdate:modelValue": e[0] || (e[0] = (m) => t.dateRange = m)
|
890
|
-
}, null, 8, ["modelValue"])
|
891
|
-
]),
|
892
|
-
_: 1
|
893
|
-
}),
|
894
|
-
s(C, {
|
895
|
-
"align-self": "end",
|
896
|
-
cols: "12",
|
897
|
-
sm: t.$slots.after ? "5" : "6"
|
898
|
-
}, {
|
899
|
-
default: n(() => [
|
900
|
-
s(o, {
|
901
|
-
modelValue: t.guestsInputsValue,
|
902
|
-
"onUpdate:modelValue": e[1] || (e[1] = (m) => t.guestsInputsValue = m)
|
903
|
-
}, null, 8, ["modelValue"])
|
904
|
-
]),
|
905
|
-
_: 1
|
906
|
-
}, 8, ["sm"]),
|
907
|
-
t.$slots.after ? (d(), b(C, {
|
908
|
-
key: 0,
|
909
|
-
class: "text-right",
|
910
|
-
cols: "1"
|
911
|
-
}, {
|
912
|
-
default: n(() => [
|
913
|
-
tt(t.$slots, "after", {}, void 0, !0)
|
914
|
-
]),
|
915
|
-
_: 3
|
916
|
-
})) : M("", !0)
|
917
|
-
]),
|
918
|
-
_: 3
|
919
|
-
}),
|
920
|
-
s($, { "no-gutters": "" }, {
|
921
|
-
default: n(() => [
|
922
|
-
s(C, {
|
923
|
-
cols: "12",
|
924
|
-
sm: t.$slots.after ? "11" : "12"
|
925
|
-
}, {
|
926
|
-
default: n(() => [
|
927
|
-
t.loadingBarEnabled && t.isFetching ? (d(), b(rt, {
|
928
|
-
key: 0,
|
929
|
-
color: "secondary",
|
930
|
-
indeterminate: ""
|
931
|
-
})) : M("", !0)
|
932
|
-
]),
|
933
|
-
_: 1
|
934
|
-
}, 8, ["sm"])
|
935
|
-
]),
|
936
|
-
_: 1
|
937
|
-
})
|
938
|
-
]),
|
939
|
-
_: 3
|
940
|
-
});
|
941
|
-
}
|
942
|
-
const Qt = /* @__PURE__ */ U($t, [["render", wt], ["__scopeId", "data-v-56630038"]]);
|
943
|
-
Q("css/revolugo.bhotelsearchbar.Bl5_UFe8.css");
|
944
|
-
export {
|
945
|
-
Qt as B
|
946
|
-
};
|
947
|
-
//# sourceMappingURL=revolugo.bhotelsearchbar.DxxqZWkN.min.js.map
|