@revolugo/elements 6.8.3-beta.13 → 6.8.3-beta.15
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.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
- package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
- package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
- package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
- package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
- package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
- package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
- package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
- package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
- package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
- package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
- package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
- package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
- package/dist/{revolugo.hoteloffersearchmenu.BJ-JtltU.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
- package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
- package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
- package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
- package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
- package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
- package/dist/{revolugo.index.DW0gTseB.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
- package/dist/{revolugo.index.wc.ChJWkzSz.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
- package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
- package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
- package/dist/{revolugo.storybooktoolbar.C-phKw4Y.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
- package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
- package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
- package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
- package/dist/css/revolugo.creditcardform.BXv0c3zQ.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.Dfi-84To.css +0 -1
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
- package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
- package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
- package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
- package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
- package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.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.vicon.eIkh7vVK.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.-Y4qkukF.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.vslidegroup.ECiLCEE9.css +0 -1
- package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
- package/dist/css/revolugo.vtextarea.BTR7f0gW.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.BHXJTQ4V.css +0 -1
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
- package/dist/revolugo._baseiteratee.cBR9c7y0.min.js +0 -247
- package/dist/revolugo.banktransferdetails.COKZxUgl.min.js +0 -358
- package/dist/revolugo.bdaterangepicker.DTHAdEo_.min.js +0 -8324
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js +0 -143
- package/dist/revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js +0 -4209
- package/dist/revolugo.bhotelroomsdetails.Du1N0UAf.min.js +0 -965
- package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +0 -480
- package/dist/revolugo.bookingdetailssidebar.DPhWTa8q.min.js +0 -37
- package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js +0 -811
- package/dist/revolugo.bookingmanager.DU11HnFM.min.js +0 -1755
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js +0 -91
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js +0 -570
- package/dist/revolugo.btag.C62gPpXY.min.js +0 -375
- package/dist/revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js +0 -198
- package/dist/revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js +0 -28
- package/dist/revolugo.cancellationpolicieslist.B3anYVoy.min.js +0 -148
- package/dist/revolugo.cancellationpolicieslist.CXfbgIoX.min.js +0 -25
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
- package/dist/revolugo.case-transformers.BwQ_6ytS.min.js +0 -123
- package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
- package/dist/revolugo.creditcardform.Bk7yeZle.min.js +0 -2148
- package/dist/revolugo.creditcardform.CLPMa22X.min.js +0 -24
- package/dist/revolugo.creditcardpayment.16l0_Jf7.min.js +0 -885
- package/dist/revolugo.creditcardpayment.8uLeCSFY.min.js +0 -24
- package/dist/revolugo.currencypicker.C2vrmj29.min.js +0 -330
- package/dist/revolugo.currencypickerbtn.D-_ebAdx.min.js +0 -157
- package/dist/revolugo.currencypickerbtn.oOaJl4xV.min.js +0 -24
- package/dist/revolugo.dates.CjcXQ0GW.min.js +0 -31
- package/dist/revolugo.defaultsdeep.BeZIlIB3.min.js +0 -104
- package/dist/revolugo.dialog-attach.BhhnSZUl.min.js +0 -27
- package/dist/revolugo.dialog-transition.FTaI_Ytg.min.js +0 -111
- package/dist/revolugo.fastbookingflow.BEvuz8TE.min.js +0 -34
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
- package/dist/revolugo.fullbookingflow.Cqc7o02c.min.js +0 -429
- package/dist/revolugo.hotel-offer-request.aeZsBIhG.min.js +0 -98
- package/dist/revolugo.hoteldescriptionview.Cc34IdcB.min.js +0 -2956
- package/dist/revolugo.hoteldescriptionview.bwCbJ_Lc.min.js +0 -24
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js +0 -241
- package/dist/revolugo.hotelofferlist.BjxZDBqQ.min.js +0 -24
- package/dist/revolugo.hotelofferlist.BvbLSbsN.min.js +0 -5624
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
- package/dist/revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js +0 -829
- package/dist/revolugo.hoteloffersmap.CXSkWGLL.min.js +0 -24
- package/dist/revolugo.hoteloffersmap.CwRdoBFO.min.js +0 -9016
- package/dist/revolugo.hoteloffersview.Bldot7ii.min.js +0 -19
- package/dist/revolugo.hoteloffersview.DmZBFwbi.min.js +0 -614
- package/dist/revolugo.hotelroomofferlist.BMzSnIk0.min.js +0 -2788
- package/dist/revolugo.hotelroomofferlist.BfIOXkSe.min.js +0 -24
- package/dist/revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js +0 -171
- package/dist/revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js +0 -1281
- package/dist/revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js +0 -25
- package/dist/revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js +0 -231
- package/dist/revolugo.hotelroomoffersview.BYJ5V84k.min.js +0 -290
- package/dist/revolugo.hotelroomoffersview.CvL5egT6.min.js +0 -24
- package/dist/revolugo.index.BEuxTkkV.min.js +0 -1232
- package/dist/revolugo.langpicker.C3WkV6vL.min.js +0 -99
- package/dist/revolugo.langpickerbtn.Big2FR0-.min.js +0 -131
- package/dist/revolugo.langpickerbtn.BtNmwMy5.min.js +0 -29
- package/dist/revolugo.parsed-props.CKrOq6vN.min.js +0 -39
- package/dist/revolugo.pathify.BXdI-Fp4.min.js +0 -36
- package/dist/revolugo.prebookform.Bt4-Cptm.min.js +0 -24
- package/dist/revolugo.prebookform.DLNVSLoS.min.js +0 -3373
- package/dist/revolugo.roominglisteditor.CQzIDZtG.min.js +0 -24
- package/dist/revolugo.roominglisteditor.w3dcygO-.min.js +0 -377
- package/dist/revolugo.rounded.TLykrsW-.min.js +0 -68
- package/dist/revolugo.ssrboot.B7Rop2QP.min.js +0 -18
- package/dist/revolugo.termsandconditions.BT6qdQad.min.js +0 -23
- package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +0 -405
- package/dist/revolugo.use-breakpoint-service.CgKRPcVE.min.js +0 -39
- package/dist/revolugo.use-dialog-attach.EGF5pKTl.min.js +0 -16
- package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +0 -11
- package/dist/revolugo.use-parsed-props.DL26tjRL.min.js +0 -29
- package/dist/revolugo.vautocomplete.C1ryjPoI.min.js +0 -445
- package/dist/revolugo.vbadge.BFTNHKkx.min.js +0 -112
- package/dist/revolugo.vbtn.Cw5eo1Xx.min.js +0 -398
- package/dist/revolugo.vcard.DlI6Moiv.min.js +0 -313
- package/dist/revolugo.vcheckboxbtn.Bc0xhmo2.min.js +0 -478
- package/dist/revolugo.vdialog.up-Y8p7U.min.js +0 -133
- package/dist/revolugo.vdivider.CaptbTLL.min.js +0 -77
- package/dist/revolugo.vexpansionpanels.DeQCpMrB.min.js +0 -262
- package/dist/revolugo.vform.Cix7vOUg.min.js +0 -46
- package/dist/revolugo.vicon.BebzkIu9.min.js +0 -105
- package/dist/revolugo.vinput.BP0DAwB4.min.js +0 -463
- package/dist/revolugo.vlabel.BLwMEYcT.min.js +0 -48
- package/dist/revolugo.vlist.BQB5ovkZ.min.js +0 -1299
- package/dist/revolugo.vmenu.Bkfr0AZ8.min.js +0 -145
- package/dist/revolugo.vselect.CnEh8cV1.min.js +0 -660
- package/dist/revolugo.vsheet.3Q2yGw6P.min.js +0 -72
- package/dist/revolugo.vskeletonloader.Duv2gHal.min.js +0 -136
- package/dist/revolugo.vslidegroup.DRWO8Opf.min.js +0 -325
- package/dist/revolugo.vsnackbar.IdM-bZTD.min.js +0 -198
- package/dist/revolugo.vspacer.C-OarNi7.min.js +0 -7
- package/dist/revolugo.vtextarea.Dm9Cp0hC.min.js +0 -240
- package/dist/revolugo.vtextfield.CJVqkfB9.min.js +0 -501
- package/dist/revolugo.vtoolbar.DvuDs2yB.min.js +0 -180
- package/dist/revolugo.vtooltip.64CgkEK4.min.js +0 -89
- package/dist/revolugo.vwindowitem.qKodFAHS.min.js +0 -317
- package/dist/revolugo.watch-list.0WSknWRu.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.BXqP9KYd.min.js +0 -2088
@@ -1,24 +0,0 @@
|
|
1
|
-
import { r as n, R as s } from "./revolugo.roominglisteditor.w3dcygO-.min.js";
|
2
|
-
import { W as p, _ as i } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
|
3
|
-
import { d as a, c as m, w as c, a as d, n as _, h as f, i as o, o as l } from "./revolugo.index.wc.ChJWkzSz.min.js";
|
4
|
-
const u = a({
|
5
|
-
components: {
|
6
|
-
RoomingListEditor: s,
|
7
|
-
WebComponentWrapper: p
|
8
|
-
},
|
9
|
-
props: n
|
10
|
-
});
|
11
|
-
function g(t, R, W, C, E, L) {
|
12
|
-
const r = o("RoomingListEditor", !0), e = o("WebComponentWrapper");
|
13
|
-
return l(), m(e, null, {
|
14
|
-
default: c(() => [
|
15
|
-
d(r, _(f(t.$props)), null, 16)
|
16
|
-
]),
|
17
|
-
_: 1
|
18
|
-
});
|
19
|
-
}
|
20
|
-
const x = /* @__PURE__ */ i(u, [["render", g]]);
|
21
|
-
export {
|
22
|
-
x as default
|
23
|
-
};
|
24
|
-
//# sourceMappingURL=revolugo.roominglisteditor.CQzIDZtG.min.js.map
|
@@ -1,377 +0,0 @@
|
|
1
|
-
import { V as N } from "./revolugo.vcard.DlI6Moiv.min.js";
|
2
|
-
import { V as v } from "./revolugo.vdivider.CaptbTLL.min.js";
|
3
|
-
import { V as c } from "./revolugo.vskeletonloader.Duv2gHal.min.js";
|
4
|
-
import { d as G, c as m, w as a, b as l, a as o, l as f, o as n, j as _, u as T, S as w, A as S, e as h, t as r, k as p, B as L, F as R, i as I, g as k } from "./revolugo.index.wc.ChJWkzSz.min.js";
|
5
|
-
import { _ as A } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
|
6
|
-
import { V as H, a as M, b as $, c as P } from "./revolugo.vexpansionpanels.DeQCpMrB.min.js";
|
7
|
-
import { V as B } from "./revolugo.vsnackbar.IdM-bZTD.min.js";
|
8
|
-
import { V as D } from "./revolugo.vtextfield.CJVqkfB9.min.js";
|
9
|
-
const F = { class: "px-4 py-2 bg-grey-lighten-4" }, U = { class: "px-4 py-2 d-flex justify-center" }, j = { class: "px-4 py-2" }, q = /* @__PURE__ */ G({
|
10
|
-
__name: "RoomingListEditorLayout",
|
11
|
-
props: {
|
12
|
-
boilerplate: { type: Boolean }
|
13
|
-
},
|
14
|
-
setup(t) {
|
15
|
-
return (e, s) => (n(), m(N, { border: "" }, {
|
16
|
-
default: a(() => [
|
17
|
-
l("div", F, [
|
18
|
-
l("div", U, [
|
19
|
-
f(e.$slots, "rooming-title", {}, () => [
|
20
|
-
o(c, {
|
21
|
-
boilerplate: e.boilerplate,
|
22
|
-
height: "22px",
|
23
|
-
tile: "",
|
24
|
-
type: "heading",
|
25
|
-
width: "160px"
|
26
|
-
}, null, 8, ["boilerplate"])
|
27
|
-
])
|
28
|
-
])
|
29
|
-
]),
|
30
|
-
o(v),
|
31
|
-
l("div", j, [
|
32
|
-
f(e.$slots, "rooming-list", {}, () => [
|
33
|
-
o(c, {
|
34
|
-
boilerplate: e.boilerplate,
|
35
|
-
class: "mb-2",
|
36
|
-
height: "18px",
|
37
|
-
tile: "",
|
38
|
-
type: "heading",
|
39
|
-
width: "120px"
|
40
|
-
}, null, 8, ["boilerplate"]),
|
41
|
-
o(c, {
|
42
|
-
boilerplate: e.boilerplate,
|
43
|
-
class: "mb-2",
|
44
|
-
height: "18px",
|
45
|
-
tile: "",
|
46
|
-
type: "heading",
|
47
|
-
width: "400px"
|
48
|
-
}, null, 8, ["boilerplate"]),
|
49
|
-
o(c, {
|
50
|
-
boilerplate: e.boilerplate,
|
51
|
-
height: "18px",
|
52
|
-
tile: "",
|
53
|
-
type: "heading",
|
54
|
-
width: "400px"
|
55
|
-
}, null, 8, ["boilerplate"])
|
56
|
-
])
|
57
|
-
])
|
58
|
-
]),
|
59
|
-
_: 3
|
60
|
-
}));
|
61
|
-
}
|
62
|
-
}), K = {
|
63
|
-
token: {
|
64
|
-
required: !0,
|
65
|
-
type: String
|
66
|
-
}
|
67
|
-
}, x = G({
|
68
|
-
components: {
|
69
|
-
RoomingListEditorLayout: q
|
70
|
-
},
|
71
|
-
created() {
|
72
|
-
this.updateRoomingListDebounced = w(
|
73
|
-
(t) => this.updateRoomingList(t),
|
74
|
-
1e3
|
75
|
-
);
|
76
|
-
},
|
77
|
-
data: () => ({
|
78
|
-
hasError: !1,
|
79
|
-
hotelRoomingLists: null,
|
80
|
-
listToGuests: {},
|
81
|
-
mappedHotelRoomingLists: [],
|
82
|
-
showSnackbar: !1,
|
83
|
-
snackbarColor: "",
|
84
|
-
snackbarText: "",
|
85
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
86
|
-
updateRoomingListDebounced: () => {
|
87
|
-
}
|
88
|
-
}),
|
89
|
-
methods: {
|
90
|
-
buildMappedLists() {
|
91
|
-
return this.hotelRoomingLists ? this.hotelRoomingLists.map((t) => {
|
92
|
-
if (this.listToGuests[t.id]) {
|
93
|
-
if (t.hotelRoomingListGuests)
|
94
|
-
for (const s of t.hotelRoomingListGuests)
|
95
|
-
this.updateMappedGuest(t.id, s);
|
96
|
-
return {
|
97
|
-
...t,
|
98
|
-
hotelRoomingListGuests: this.listToGuests[t.id]
|
99
|
-
};
|
100
|
-
}
|
101
|
-
const e = this.initMappedGuests(t);
|
102
|
-
return {
|
103
|
-
...t,
|
104
|
-
hotelRoomingListGuests: e
|
105
|
-
};
|
106
|
-
}) : [];
|
107
|
-
},
|
108
|
-
initMappedGuests(t) {
|
109
|
-
const e = t.hotelRoom, s = t.hotelRoomingListGuests?.length && e?.occupancy ? e.occupancy - t.hotelRoomingListGuests.length : e?.occupancy || 0, u = Array.from(
|
110
|
-
{ length: s },
|
111
|
-
() => ({
|
112
|
-
fullname: "",
|
113
|
-
id: ""
|
114
|
-
})
|
115
|
-
), d = t.hotelRoomingListGuests ?? [];
|
116
|
-
return d.push(...u), this.listToGuests[t.id] = d, d;
|
117
|
-
},
|
118
|
-
async retrieveHotelRoomingLists(t) {
|
119
|
-
let e = null;
|
120
|
-
this.hasError = !1;
|
121
|
-
try {
|
122
|
-
e = await this.bookingApiClient?.hotelRoomingLists.list(
|
123
|
-
{
|
124
|
-
token: t
|
125
|
-
}
|
126
|
-
);
|
127
|
-
} catch (s) {
|
128
|
-
this.hasError = !0, console.error(s);
|
129
|
-
}
|
130
|
-
return e;
|
131
|
-
},
|
132
|
-
updateMappedGuest(t, e) {
|
133
|
-
const s = this.listToGuests[t].findIndex((u) => u.id === e.id);
|
134
|
-
s !== -1 && (this.listToGuests[t][s] = {
|
135
|
-
...this.listToGuests[t][s],
|
136
|
-
...e
|
137
|
-
});
|
138
|
-
},
|
139
|
-
async updateRoomingList(t) {
|
140
|
-
this.showSnackbar = !1, this.snackbarText = "";
|
141
|
-
try {
|
142
|
-
if (t.guestId && t.fullName)
|
143
|
-
await this.bookingApiClient?.hotelRoomingListGuests.update({
|
144
|
-
hotelRoomingListGuestsUpdateApi: { fullname: t.fullName },
|
145
|
-
id: t.guestId,
|
146
|
-
token: this.token
|
147
|
-
});
|
148
|
-
else if (!t.guestId && t.fullName) {
|
149
|
-
const e = await this.bookingApiClient?.hotelRoomingListGuests.create({
|
150
|
-
hotelRoomingListGuestsCreateApi: {
|
151
|
-
fullname: t.fullName,
|
152
|
-
hotelRoomingListId: t.roomingListId
|
153
|
-
},
|
154
|
-
token: this.token
|
155
|
-
}), s = this.listToGuests[t.roomingListId]?.[t.index];
|
156
|
-
e && s && (s.id = e.id);
|
157
|
-
} else if (t.guestId && !t.fullName) {
|
158
|
-
await this.bookingApiClient?.hotelRoomingListGuests.delete({
|
159
|
-
id: t.guestId,
|
160
|
-
token: this.token
|
161
|
-
});
|
162
|
-
const e = this.listToGuests[t.roomingListId]?.[t.index];
|
163
|
-
e && (e.id = "");
|
164
|
-
}
|
165
|
-
this.snackbarText = this.t(
|
166
|
-
"RoomingListEditor.saveRoomingList.success"
|
167
|
-
), this.snackbarColor = "success", this.hotelRoomingLists = await this.retrieveHotelRoomingLists(
|
168
|
-
this.token
|
169
|
-
), this.mappedHotelRoomingLists = this.buildMappedLists();
|
170
|
-
} catch (e) {
|
171
|
-
this.snackbarColor = "error", this.snackbarText = e.message;
|
172
|
-
} finally {
|
173
|
-
this.showSnackbar = !0;
|
174
|
-
}
|
175
|
-
}
|
176
|
-
},
|
177
|
-
mixins: [_],
|
178
|
-
name: "RoomingListEditor",
|
179
|
-
props: K,
|
180
|
-
setup() {
|
181
|
-
const { t } = T();
|
182
|
-
return {
|
183
|
-
t
|
184
|
-
};
|
185
|
-
},
|
186
|
-
watch: {
|
187
|
-
token: {
|
188
|
-
async handler(t) {
|
189
|
-
t && (this.listToGuests = {}, this.hotelRoomingLists = await this.retrieveHotelRoomingLists(t), this.mappedHotelRoomingLists = this.buildMappedLists());
|
190
|
-
},
|
191
|
-
immediate: !0
|
192
|
-
}
|
193
|
-
}
|
194
|
-
});
|
195
|
-
function y(t) {
|
196
|
-
const e = t;
|
197
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
198
|
-
locale: "",
|
199
|
-
resource: {
|
200
|
-
"en-US": {
|
201
|
-
RoomingListEditor: {
|
202
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list" } },
|
203
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Guest " }, { t: 4, k: "guestCount" }] } },
|
204
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Suitable for " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
205
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "First name & Last name" } },
|
206
|
-
saveRoomingList: {
|
207
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list saved!" } }
|
208
|
-
}
|
209
|
-
}
|
210
|
-
},
|
211
|
-
"fr-FR": {
|
212
|
-
RoomingListEditor: {
|
213
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list" } },
|
214
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Participant " }, { t: 4, k: "guestCount" }] } },
|
215
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Convient pour " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
216
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nom et prénom du participant" } },
|
217
|
-
saveRoomingList: {
|
218
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Rooming list sauvegardée !" } }
|
219
|
-
}
|
220
|
-
}
|
221
|
-
},
|
222
|
-
"de-DE": {
|
223
|
-
RoomingListEditor: {
|
224
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmerliste" } },
|
225
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gast " }, { t: 4, k: "guestCount" }] } },
|
226
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Geeignet für " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
227
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vorname & Nachname" } },
|
228
|
-
saveRoomingList: {
|
229
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zimmerliste gespeichert!" } }
|
230
|
-
}
|
231
|
-
}
|
232
|
-
},
|
233
|
-
"es-ES": {
|
234
|
-
RoomingListEditor: {
|
235
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de habitaciones" } },
|
236
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Huésped " }, { t: 4, k: "guestCount" }] } },
|
237
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adecuado para " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
238
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre y apellido" } },
|
239
|
-
saveRoomingList: {
|
240
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¡Lista de habitaciones guardada!" } }
|
241
|
-
}
|
242
|
-
}
|
243
|
-
},
|
244
|
-
"it-IT": {
|
245
|
-
RoomingListEditor: {
|
246
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista delle camere" } },
|
247
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Ospite " }, { t: 4, k: "guestCount" }] } },
|
248
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adatto per " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
249
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome e cognome" } },
|
250
|
-
saveRoomingList: {
|
251
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista delle camere salvata!" } }
|
252
|
-
}
|
253
|
-
}
|
254
|
-
},
|
255
|
-
"nl-NL": {
|
256
|
-
RoomingListEditor: {
|
257
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamerlijst" } },
|
258
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Gast " }, { t: 4, k: "guestCount" }] } },
|
259
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Geschikt voor " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
260
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voornaam & Achternaam" } },
|
261
|
-
saveRoomingList: {
|
262
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kamerlijst opgeslagen!" } }
|
263
|
-
}
|
264
|
-
}
|
265
|
-
},
|
266
|
-
"pt-PT": {
|
267
|
-
RoomingListEditor: {
|
268
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de quartos" } },
|
269
|
-
guestCount: { t: 0, b: { t: 2, i: [{ t: 3, v: "Hóspede " }, { t: 4, k: "guestCount" }] } },
|
270
|
-
occupancy: { t: 0, b: { t: 2, i: [{ t: 3, v: "Adequado para " }, { t: 4, k: "occupancy" }, { t: 3, v: " x 👤 max" }] } },
|
271
|
-
fullName: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nome próprio e apelido" } },
|
272
|
-
saveRoomingList: {
|
273
|
-
success: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Lista de quartos gravada!" } }
|
274
|
-
}
|
275
|
-
}
|
276
|
-
}
|
277
|
-
}
|
278
|
-
});
|
279
|
-
}
|
280
|
-
const Z = {
|
281
|
-
key: 0,
|
282
|
-
class: "font-weight-bold mb-1"
|
283
|
-
}, O = ["innerHTML"], z = { class: "text-body-2" };
|
284
|
-
function J(t, e, s, u, d, Q) {
|
285
|
-
const C = I("RoomingListEditorLayout");
|
286
|
-
return n(), m(C, null, S({ _: 2 }, [
|
287
|
-
t.hotelRoomingLists ? {
|
288
|
-
name: "rooming-title",
|
289
|
-
fn: a(() => [
|
290
|
-
h(r(t.t("RoomingListEditor.title")), 1)
|
291
|
-
]),
|
292
|
-
key: "0"
|
293
|
-
} : void 0,
|
294
|
-
t.hotelRoomingLists ? {
|
295
|
-
name: "rooming-list",
|
296
|
-
fn: a(() => [
|
297
|
-
o(H, {
|
298
|
-
variant: "accordion",
|
299
|
-
flat: ""
|
300
|
-
}, {
|
301
|
-
default: a(() => [
|
302
|
-
(n(!0), p(R, null, L(t.mappedHotelRoomingLists, (i, E) => (n(), m(M, {
|
303
|
-
key: i.id
|
304
|
-
}, {
|
305
|
-
default: a(() => [
|
306
|
-
o($, null, {
|
307
|
-
default: a(() => [
|
308
|
-
l("div", null, [
|
309
|
-
i.hotelRoom?.description ? (n(), p("div", Z, r(i.hotelRoom?.description), 1)) : k("", !0),
|
310
|
-
l("div", null, [
|
311
|
-
h(r(i.hotelRoom?.bedsPretty) + " ", 1),
|
312
|
-
l("span", {
|
313
|
-
class: "ml-2 text-caption text--secondary",
|
314
|
-
innerHTML: t.t("RoomingListEditor.occupancy", {
|
315
|
-
occupancy: i.hotelRoom?.occupancy
|
316
|
-
})
|
317
|
-
}, null, 8, O)
|
318
|
-
])
|
319
|
-
])
|
320
|
-
]),
|
321
|
-
_: 2
|
322
|
-
}, 1024),
|
323
|
-
o(P, null, {
|
324
|
-
default: a(() => [
|
325
|
-
(n(!0), p(R, null, L(i.hotelRoomingListGuests, (b, g) => (n(), p("div", { key: g }, [
|
326
|
-
l("span", z, r(t.t("RoomingListEditor.guestCount", {
|
327
|
-
guestCount: g + 1
|
328
|
-
})), 1),
|
329
|
-
o(D, {
|
330
|
-
class: "w-sm-50",
|
331
|
-
clearable: "",
|
332
|
-
variant: "outlined",
|
333
|
-
placeholder: t.t("RoomingListEditor.fullName"),
|
334
|
-
"prepend-inner-icon": "fas fa-user",
|
335
|
-
"model-value": b.fullname,
|
336
|
-
"onUpdate:modelValue": (V) => t.updateRoomingListDebounced({
|
337
|
-
roomingListId: i.id,
|
338
|
-
guestId: b.id,
|
339
|
-
fullName: V,
|
340
|
-
index: g
|
341
|
-
})
|
342
|
-
}, null, 8, ["placeholder", "model-value", "onUpdate:modelValue"])
|
343
|
-
]))), 128))
|
344
|
-
]),
|
345
|
-
_: 2
|
346
|
-
}, 1024),
|
347
|
-
E != t.mappedHotelRoomingLists.length - 1 ? (n(), m(v, { key: 0 })) : k("", !0)
|
348
|
-
]),
|
349
|
-
_: 2
|
350
|
-
}, 1024))), 128))
|
351
|
-
]),
|
352
|
-
_: 1
|
353
|
-
}),
|
354
|
-
o(B, {
|
355
|
-
modelValue: t.showSnackbar,
|
356
|
-
"onUpdate:modelValue": e[0] || (e[0] = (i) => t.showSnackbar = i),
|
357
|
-
color: t.snackbarColor,
|
358
|
-
class: "elevation-24",
|
359
|
-
location: "right top"
|
360
|
-
}, {
|
361
|
-
default: a(() => [
|
362
|
-
h(r(t.snackbarText), 1)
|
363
|
-
]),
|
364
|
-
_: 1
|
365
|
-
}, 8, ["modelValue", "color"])
|
366
|
-
]),
|
367
|
-
key: "1"
|
368
|
-
} : void 0
|
369
|
-
]), 1024);
|
370
|
-
}
|
371
|
-
typeof y == "function" && y(x);
|
372
|
-
const at = /* @__PURE__ */ A(x, [["render", J]]);
|
373
|
-
export {
|
374
|
-
at as R,
|
375
|
-
K as r
|
376
|
-
};
|
377
|
-
//# sourceMappingURL=revolugo.roominglisteditor.w3dcygO-.min.js.map
|
@@ -1,68 +0,0 @@
|
|
1
|
-
import { a0 as u, cI as d, H as l, _ as a } from "./revolugo.index.wc.ChJWkzSz.min.js";
|
2
|
-
const f = u({
|
3
|
-
border: [Boolean, Number, String]
|
4
|
-
}, "border");
|
5
|
-
function m(e) {
|
6
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : d();
|
7
|
-
return {
|
8
|
-
borderClasses: l(() => {
|
9
|
-
const n = a(e) ? e.value : e.border, r = [];
|
10
|
-
if (n === !0 || n === "")
|
11
|
-
r.push(`${s}--border`);
|
12
|
-
else if (typeof n == "string" || n === 0)
|
13
|
-
for (const t of String(n).split(" "))
|
14
|
-
r.push(`border-${t}`);
|
15
|
-
return r;
|
16
|
-
})
|
17
|
-
};
|
18
|
-
}
|
19
|
-
const v = u({
|
20
|
-
elevation: {
|
21
|
-
type: [Number, String],
|
22
|
-
validator(e) {
|
23
|
-
const s = parseInt(e);
|
24
|
-
return !isNaN(s) && s >= 0 && // Material Design has a maximum elevation of 24
|
25
|
-
// https://material.io/design/environment/elevation.html#default-elevations
|
26
|
-
s <= 24;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}, "elevation");
|
30
|
-
function g(e) {
|
31
|
-
return {
|
32
|
-
elevationClasses: l(() => {
|
33
|
-
const o = a(e) ? e.value : e.elevation, n = [];
|
34
|
-
return o == null || n.push(`elevation-${o}`), n;
|
35
|
-
})
|
36
|
-
};
|
37
|
-
}
|
38
|
-
const b = u({
|
39
|
-
rounded: {
|
40
|
-
type: [Boolean, Number, String],
|
41
|
-
default: void 0
|
42
|
-
},
|
43
|
-
tile: Boolean
|
44
|
-
}, "rounded");
|
45
|
-
function h(e) {
|
46
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : d();
|
47
|
-
return {
|
48
|
-
roundedClasses: l(() => {
|
49
|
-
const n = a(e) ? e.value : e.rounded, r = a(e) ? e.value : e.tile, t = [];
|
50
|
-
if (n === !0 || n === "")
|
51
|
-
t.push(`${s}--rounded`);
|
52
|
-
else if (typeof n == "string" || n === 0)
|
53
|
-
for (const i of String(n).split(" "))
|
54
|
-
t.push(`rounded-${i}`);
|
55
|
-
else (r || n === !1) && t.push("rounded-0");
|
56
|
-
return t;
|
57
|
-
})
|
58
|
-
};
|
59
|
-
}
|
60
|
-
export {
|
61
|
-
b as a,
|
62
|
-
h as b,
|
63
|
-
m as c,
|
64
|
-
f as d,
|
65
|
-
v as m,
|
66
|
-
g as u
|
67
|
-
};
|
68
|
-
//# sourceMappingURL=revolugo.rounded.TLykrsW-.min.js.map
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { a7 as t, X as e, H as s, cq as n } from "./revolugo.index.wc.ChJWkzSz.min.js";
|
2
|
-
function i() {
|
3
|
-
const o = t(!1);
|
4
|
-
return e(() => {
|
5
|
-
window.requestAnimationFrame(() => {
|
6
|
-
o.value = !0;
|
7
|
-
});
|
8
|
-
}), {
|
9
|
-
ssrBootStyles: s(() => o.value ? void 0 : {
|
10
|
-
transition: "none !important"
|
11
|
-
}),
|
12
|
-
isBooted: n(o)
|
13
|
-
};
|
14
|
-
}
|
15
|
-
export {
|
16
|
-
i as u
|
17
|
-
};
|
18
|
-
//# sourceMappingURL=revolugo.ssrboot.B7Rop2QP.min.js.map
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { T as r } from "./revolugo.termsandconditions.Bo6ToP4B.min.js";
|
2
|
-
import { W as t, _ as p } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
|
3
|
-
import { d as a, c as i, w as m, i as o, o as c, a as d, n as _, h as C } from "./revolugo.index.wc.ChJWkzSz.min.js";
|
4
|
-
const f = a({
|
5
|
-
components: {
|
6
|
-
TermsAndConditions: r,
|
7
|
-
WebComponentWrapper: t
|
8
|
-
}
|
9
|
-
});
|
10
|
-
function l(n, u, W, T, $, A) {
|
11
|
-
const e = o("TermsAndConditions", !0), s = o("WebComponentWrapper");
|
12
|
-
return c(), i(s, null, {
|
13
|
-
default: m(() => [
|
14
|
-
d(e, _(C(n.$props)), null, 16)
|
15
|
-
]),
|
16
|
-
_: 1
|
17
|
-
});
|
18
|
-
}
|
19
|
-
const k = /* @__PURE__ */ p(f, [["render", l]]);
|
20
|
-
export {
|
21
|
-
k as default
|
22
|
-
};
|
23
|
-
//# sourceMappingURL=revolugo.termsandconditions.BT6qdQad.min.js.map
|