@konnectio/core 4.11.4 → 4.11.5
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/{ActionField-uvrQkuh0.js → ActionField-DBxduvRT.js} +1 -1
- package/dist/ActionField-DBxduvRT.js.br +0 -0
- package/dist/ActionField-DBxduvRT.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BnOSMGJe.js → AvailabilitySkeleton-DoVzHCoF.js} +2 -2
- package/dist/AvailabilitySkeleton-DoVzHCoF.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BnOSMGJe.js.gz → AvailabilitySkeleton-DoVzHCoF.js.gz} +0 -0
- package/dist/{CheckoutWindow-C81SaALY.js → CheckoutWindow-CJq8smYV.js} +1 -1
- package/dist/CheckoutWindow-CJq8smYV.js.br +0 -0
- package/dist/CheckoutWindow-CJq8smYV.js.gz +0 -0
- package/dist/{ErrorMessage-CoLcli9h.js → ErrorMessage-voedvcXr.js} +1 -1
- package/dist/ErrorMessage-voedvcXr.js.br +0 -0
- package/dist/ErrorMessage-voedvcXr.js.gz +0 -0
- package/dist/{EventAvailabilityForm-q1YPg-bW.js → EventAvailabilityForm-BjLCcN_W.js} +2 -2
- package/dist/EventAvailabilityForm-BjLCcN_W.js.br +0 -0
- package/dist/EventAvailabilityForm-BjLCcN_W.js.gz +0 -0
- package/dist/{Field-DIFm-jDk.js → Field-2Hbk9ahl.js} +1 -1
- package/dist/Field-2Hbk9ahl.js.br +0 -0
- package/dist/Field-2Hbk9ahl.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-B8RzSM0k.js → HotelAvailabilityForm-v-z9AFWI.js} +2 -2
- package/dist/HotelAvailabilityForm-v-z9AFWI.js.br +0 -0
- package/dist/HotelAvailabilityForm-v-z9AFWI.js.gz +0 -0
- package/dist/{SelectField-C9lJ8eBd.js → SelectField-w9Labj2W.js} +1758 -1754
- package/dist/SelectField-w9Labj2W.js.br +0 -0
- package/dist/SelectField-w9Labj2W.js.gz +0 -0
- package/dist/{TermsOfService-0719ZgMM.js → TermsOfService-D8q2gi5I.js} +2 -2
- package/dist/TermsOfService-D8q2gi5I.js.br +0 -0
- package/dist/TermsOfService-D8q2gi5I.js.gz +4 -0
- package/dist/{_-0PVid2uc.js → _-Cpgd04rM.js} +1 -1
- package/dist/_-Cpgd04rM.js.br +0 -0
- package/dist/_-Cpgd04rM.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-CFPG9IfN.js → dist-0CoL4k9r.js} +4 -4
- package/dist/dist-0CoL4k9r.js.br +0 -0
- package/dist/{dist-CFPG9IfN.js.gz → dist-0CoL4k9r.js.gz} +0 -0
- package/dist/{dist-B_Ox_TrT.js → dist-Drv0vus3.js} +2 -2
- package/dist/dist-Drv0vus3.js.br +0 -0
- package/dist/{dist-B_Ox_TrT.js.gz → dist-Drv0vus3.js.gz} +0 -0
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CAPeGeXI.js → giftCard-6oDMPMDe.js} +1 -1
- package/dist/giftCard-6oDMPMDe.js.br +0 -0
- package/dist/giftCard-6oDMPMDe.js.gz +0 -0
- package/dist/hotel.js +111 -111
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-B4cGytfi.js → style-BJBxZSi0.js} +1 -1
- package/dist/style-BJBxZSi0.js.br +0 -0
- package/dist/style-BJBxZSi0.js.gz +0 -0
- package/dist-wix/availability.js +2 -2
- package/dist-wix/event.js +2 -2
- package/dist-wix/gift-card-validation.js +1 -1
- package/dist-wix/gift-card.js +2 -2
- package/dist-wix/hotel.js +4 -4
- package/package.json +1 -1
- package/dist/ActionField-uvrQkuh0.js.br +0 -0
- package/dist/ActionField-uvrQkuh0.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BnOSMGJe.js.br +0 -0
- package/dist/CheckoutWindow-C81SaALY.js.br +0 -0
- package/dist/CheckoutWindow-C81SaALY.js.gz +0 -0
- package/dist/ErrorMessage-CoLcli9h.js.br +0 -0
- package/dist/ErrorMessage-CoLcli9h.js.gz +0 -0
- package/dist/EventAvailabilityForm-q1YPg-bW.js.br +0 -0
- package/dist/EventAvailabilityForm-q1YPg-bW.js.gz +0 -0
- package/dist/Field-DIFm-jDk.js.br +0 -0
- package/dist/Field-DIFm-jDk.js.gz +0 -0
- package/dist/HotelAvailabilityForm-B8RzSM0k.js.br +0 -0
- package/dist/HotelAvailabilityForm-B8RzSM0k.js.gz +0 -0
- package/dist/SelectField-C9lJ8eBd.js.br +0 -0
- package/dist/SelectField-C9lJ8eBd.js.gz +0 -0
- package/dist/TermsOfService-0719ZgMM.js.br +0 -0
- package/dist/TermsOfService-0719ZgMM.js.gz +0 -1
- package/dist/_-0PVid2uc.js.br +0 -0
- package/dist/_-0PVid2uc.js.gz +0 -7
- package/dist/dist-B_Ox_TrT.js.br +0 -0
- package/dist/dist-CFPG9IfN.js.br +0 -0
- package/dist/giftCard-CAPeGeXI.js.br +0 -0
- package/dist/giftCard-CAPeGeXI.js.gz +0 -0
- package/dist/style-B4cGytfi.js.br +0 -0
- package/dist/style-B4cGytfi.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-QGRDbDUS.js";
|
|
2
2
|
import { A as n, At as r, D as i, Dt as a, E as o, F as s, I as c, K as l, L as u, M as d, N as f, O as p, Ot as m, P as h, Q as g, R as _, S as ee, _t as v, a as y, at as te, ct as ne, et as b, f as re, ft as x, h as S, ht as ie, i as ae, j as C, jt as w, mt as T, n as E, nt as D, o as O, p as k, q as A, rt as j, st as M, u as N, w as P, xt as F, yt as I, z as R } from "./i18n-Dq3VKG7w.js";
|
|
3
|
-
import { t as z } from "./dist-
|
|
4
|
-
import { t as oe } from "./style-
|
|
5
|
-
import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-
|
|
6
|
-
import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-
|
|
7
|
-
import { $ as
|
|
8
|
-
import { t as $e } from "./HotelAvailabilityForm-
|
|
9
|
-
import { t as et } from "./TermsOfService-
|
|
10
|
-
import { t as tt } from "./ActionField-
|
|
11
|
-
import { n as nt, t as rt } from "./AvailabilitySkeleton-
|
|
3
|
+
import { t as z } from "./dist-Drv0vus3.js";
|
|
4
|
+
import { t as oe } from "./style-BJBxZSi0.js";
|
|
5
|
+
import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-0CoL4k9r.js";
|
|
6
|
+
import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-CJq8smYV.js";
|
|
7
|
+
import { $ as B, B as we, C as Te, E as Ee, F as De, H as Oe, I as ke, J as Ae, K as je, L as Me, T as Ne, U as Pe, W as Fe, X as Ie, Y as Le, b as Re, ct as ze, g as Be, h as Ve, j as He, k as Ue, n as We, nt as Ge, q as Ke, r as qe, rt as Je, st as V, t as Ye, v as Xe, w as Ze, x as Qe, y as H } from "./SelectField-w9Labj2W.js";
|
|
8
|
+
import { t as $e } from "./HotelAvailabilityForm-v-z9AFWI.js";
|
|
9
|
+
import { t as et } from "./TermsOfService-D8q2gi5I.js";
|
|
10
|
+
import { t as tt } from "./ActionField-DBxduvRT.js";
|
|
11
|
+
import { n as nt, t as rt } from "./AvailabilitySkeleton-DoVzHCoF.js";
|
|
12
12
|
// node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function it(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -355,14 +355,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
355
355
|
prevCallback: {}
|
|
356
356
|
},
|
|
357
357
|
setup(e) {
|
|
358
|
-
let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(Ze()), { hasArrivalDepartureInputs: i } = Ze(), { arrivalTime: c, departureTime: l, roomDisplay: p, templateID: m, totalPrice: g, areListingsLoading: _, getSelectedPackageRooms: ne, templateRoomUnits: re, selectedPackage: x, discountVouchers: E, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: M, locationMismatch: N, newsMails: I, termsOfService: R, discountCode: z, hasTermOfService: oe, acceptTerms: ce, totalTemplateAddonPrice: le, totalRooms: ue, totalAdults: de, totalChildren: fe, weekendFee: pe, selectedMemberCardData: me, appliedDiscountCode: he, guestDiscountCode: ge, isValidatingDiscountCode: _e } = S(
|
|
359
|
-
function
|
|
360
|
-
|
|
358
|
+
let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(Ze()), { hasArrivalDepartureInputs: i } = Ze(), { arrivalTime: c, departureTime: l, roomDisplay: p, templateID: m, totalPrice: g, areListingsLoading: _, getSelectedPackageRooms: ne, templateRoomUnits: re, selectedPackage: x, discountVouchers: E, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: M, locationMismatch: N, newsMails: I, termsOfService: R, discountCode: z, hasTermOfService: oe, acceptTerms: ce, totalTemplateAddonPrice: le, totalRooms: ue, totalAdults: de, totalChildren: fe, weekendFee: pe, selectedMemberCardData: me, appliedDiscountCode: he, guestDiscountCode: ge, isValidatingDiscountCode: _e } = S(Ee()), { hasHotelLocations: ye } = S(Qe()), { removeRoom: be, validateDiscountCode: xe, getMandatoryRoomGroupAddons: Se, getTemplateRoomUnitPrice: Ce, resetDiscountVoucher: we, setGuestDiscountCode: Te, clearGuestDiscountCode: Oe, fetchAvailabilityData: ke } = Ee(), { getHotelLocationName: Ae } = Qe(), je = F(!1);
|
|
359
|
+
function Ne(e) {
|
|
360
|
+
Te(e), ke();
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
|
|
362
|
+
function Pe() {
|
|
363
|
+
Oe(), ke();
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Fe(e) {
|
|
366
366
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
367
367
|
}
|
|
368
368
|
return (y, S) => {
|
|
@@ -383,13 +383,13 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
383
383
|
"applied-discount-code": a(he),
|
|
384
384
|
"guest-discount-code": a(ge),
|
|
385
385
|
"is-validating-discount-code": a(_e),
|
|
386
|
-
"on-reset-discount-code": a(
|
|
387
|
-
"on-apply-availability-discount":
|
|
388
|
-
"on-clear-availability-discount":
|
|
386
|
+
"on-reset-discount-code": a(we),
|
|
387
|
+
"on-apply-availability-discount": Ne,
|
|
388
|
+
"on-clear-availability-discount": Pe
|
|
389
389
|
}, s({
|
|
390
390
|
form: T(() => [j(y.$slots, "form", {}, void 0, !0)]),
|
|
391
|
-
"price-summary": T(() => [isNaN(a(m)) && a(p).length > 0 ? (b(!0), h(o, { key: 0 }, D(a(p), ({ roomGroupID: n, title: i, variants: s }) => (b(), h("div", { key: n }, [C("h6", null, [C("span", null, w(a(
|
|
392
|
-
C("span", Ot, w(a(
|
|
391
|
+
"price-summary": T(() => [isNaN(a(m)) && a(p).length > 0 ? (b(!0), h(o, { key: 0 }, D(a(p), ({ roomGroupID: n, title: i, variants: s }) => (b(), h("div", { key: n }, [C("h6", null, [C("span", null, w(a(De)(i)), 1)]), (b(!0), h(o, null, D(s, (i, s) => (b(), h("div", { key: s }, [(b(!0), h(o, null, D(i.rooms, (o, c) => (b(), h("ul", { key: c }, [C("li", null, [
|
|
392
|
+
C("span", Ot, w(a(De)(i.name)), 1),
|
|
393
393
|
C("span", q, [C("span", kt, [C("span", null, [u(H, {
|
|
394
394
|
icon: "male",
|
|
395
395
|
type: "fas",
|
|
@@ -399,7 +399,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
399
399
|
type: "fas",
|
|
400
400
|
color: "font"
|
|
401
401
|
}), C("span", null, w(o.childrenCount), 1)])) : f("", !0)]), o.roomName ? (b(), h("span", jt, "(" + w(o.roomName) + ")", 1)) : f("", !0)]),
|
|
402
|
-
C("b", null, [C("span", null, w(a(
|
|
402
|
+
C("b", null, [C("span", null, w(a(B)(o.totalPrice, a(r))), 1), e.showRemoveRoom ? (b(), h("span", {
|
|
403
403
|
key: 0,
|
|
404
404
|
class: "konnectio-hotel-reservation-remove",
|
|
405
405
|
onClick: P((e) => a(be)(n, s, o.configIdx), ["prevent"])
|
|
@@ -408,8 +408,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
408
408
|
type: "fas",
|
|
409
409
|
"icon-color": "#ff0000"
|
|
410
410
|
})], 8, Mt)) : f("", !0)])
|
|
411
|
-
]),
|
|
412
|
-
C("span", Ft, [C("span", null, w(a(
|
|
411
|
+
]), Fe(o.roomAddons) > 0 ? (b(), h("li", Nt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(B)(Fe(o.roomAddons), a(r))), 1)])) : f("", !0)]))), 128))]))), 128))]))), 128)) : f("", !0), a(re).length > 0 && a(x) ? (b(), h("div", Pt, [C("h6", null, [C("span", null, w(a(De)(a(x).name)), 1)]), C("div", null, [C("ul", null, [(b(!0), h(o, null, D(a(re), (e, n) => (b(), h("li", { key: n }, [
|
|
412
|
+
C("span", Ft, [C("span", null, w(a(De)(a(ne).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), a(re).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), h("span", It, "(" + w(a(t)("booking.reservation.room")) + " " + w(a(re).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : f("", !0)]),
|
|
413
413
|
C("span", Lt, [C("span", Rt, [C("span", null, [u(H, {
|
|
414
414
|
icon: "male",
|
|
415
415
|
type: "fas",
|
|
@@ -419,9 +419,9 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
419
419
|
type: "fas",
|
|
420
420
|
color: "font"
|
|
421
421
|
}), C("span", null, w(e.children), 1)])) : f("", !0)])]),
|
|
422
|
-
C("b", null, [C("span", null, w(a(
|
|
423
|
-
(b(!0), h(o, null, D(a(Se)(e.roomGroupId), (e) => (b(), h(o, { key: e.addonID }, [C("span", null, "- " + w(e.name), 1), C("b", null, [C("span", null, w(a(
|
|
424
|
-
]))), 128)), a(le) ? (b(), h("li", Bt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(
|
|
422
|
+
C("b", null, [C("span", null, w(a(B)(a(Ce)(e.roomGroupId, e.adults, e.children) + a(pe), a(r))), 1)]),
|
|
423
|
+
(b(!0), h(o, null, D(a(Se)(e.roomGroupId), (e) => (b(), h(o, { key: e.addonID }, [C("span", null, "- " + w(e.name), 1), C("b", null, [C("span", null, w(a(B)(e.price, a(r))), 1)])], 64))), 128))
|
|
424
|
+
]))), 128)), a(le) ? (b(), h("li", Bt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(B)(a(le), a(r))), 1)])) : f("", !0)])])])) : f("", !0)]),
|
|
425
425
|
actions: T(() => [C("ul", Vt, [
|
|
426
426
|
a(n) ? f("", !0) : (b(), h("div", Ht, [u(ve, {
|
|
427
427
|
modelValue: a(I),
|
|
@@ -443,7 +443,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
443
443
|
}, {
|
|
444
444
|
terms: T(() => [C("a", {
|
|
445
445
|
class: "konnectio-accept-terms-link",
|
|
446
|
-
onClick: S[1] ||= P((e) =>
|
|
446
|
+
onClick: S[1] ||= P((e) => je.value = !0, ["prevent"])
|
|
447
447
|
}, [C("span", null, w(a(Ke)(a(t)("general.termsAndConditions"))), 1)])]),
|
|
448
448
|
_: 1
|
|
449
449
|
})]),
|
|
@@ -451,20 +451,20 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
451
451
|
}, 8, ["modelValue"])])) : f("", !0),
|
|
452
452
|
j(y.$slots, "actions", {}, void 0, !0),
|
|
453
453
|
u(et, {
|
|
454
|
-
modelValue:
|
|
455
|
-
"onUpdate:modelValue": S[3] ||= (e) =>
|
|
454
|
+
modelValue: je.value,
|
|
455
|
+
"onUpdate:modelValue": S[3] ||= (e) => je.value = e,
|
|
456
456
|
description: a(R)
|
|
457
457
|
}, null, 8, ["modelValue", "description"])
|
|
458
458
|
])]),
|
|
459
459
|
navigation: T(() => [j(y.$slots, "navigation", {}, void 0, !0)]),
|
|
460
460
|
"mobile-under-price": T(() => [
|
|
461
461
|
C("span", null, w(a(t)("general.for")) + ": ", 1),
|
|
462
|
-
C("b", null, w(a(
|
|
462
|
+
C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(Ke)(a(Me)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1),
|
|
463
463
|
ie((b(), h("span", Ut, [u(H, {
|
|
464
464
|
icon: "circle-info",
|
|
465
465
|
type: "fas"
|
|
466
466
|
})])), [[F, {
|
|
467
|
-
content: `<span>(${a(
|
|
467
|
+
content: `<span>(${a(Ie)(a(O))} - ${a(Ie)(a(k))})</span>`,
|
|
468
468
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
469
469
|
html: !0
|
|
470
470
|
}]])
|
|
@@ -479,19 +479,19 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
479
479
|
name: "reservation-summary",
|
|
480
480
|
fn: T(() => [
|
|
481
481
|
e.dealFlow && a(he) ? (b(), h("li", K, [C("span", null, w(a(t)("dealCode.label")), 1), C("b", null, w(a(he)), 1)])) : f("", !0),
|
|
482
|
-
a(ye) ? (b(), h("li", Ct, [C("span", null, w(a(t)("general.location")), 1), C("b", null, [C("span", null, w(a(
|
|
482
|
+
a(ye) ? (b(), h("li", Ct, [C("span", null, w(a(t)("general.location")), 1), C("b", null, [C("span", null, w(a(Ae)(a(M))), 1), ie(C("span", wt, [u(H, {
|
|
483
483
|
icon: "exclamation-triangle",
|
|
484
484
|
type: "fas"
|
|
485
485
|
})], 512), [[ee, a(N)]])])])) : f("", !0),
|
|
486
|
-
C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(
|
|
486
|
+
C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(O))}, ${a(c)}` : a(Ie)(a(O))), 1), ie(C("span", Tt, [u(H, {
|
|
487
487
|
icon: "exclamation-triangle",
|
|
488
488
|
type: "fas"
|
|
489
489
|
})], 512), [[ee, a(A)]])])]),
|
|
490
|
-
C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(
|
|
490
|
+
C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(k))}, ${a(l)}` : a(Ie)(a(k))), 1), ie(C("span", Et, [u(H, {
|
|
491
491
|
icon: "exclamation-triangle",
|
|
492
492
|
type: "fas"
|
|
493
493
|
})], 512), [[ee, a(A)]])])]),
|
|
494
|
-
C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(
|
|
494
|
+
C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(Ke)(a(Me)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1)]),
|
|
495
495
|
a(me) && a(me).providesDiscount ? (b(), h("li", Dt, [C("span", null, w(a(me).shortDescription), 1), C("b", null, "-" + w(a(me).discountPercent) + "%", 1)])) : f("", !0),
|
|
496
496
|
a(E) ? (b(!0), h(o, { key: 3 }, D(a(E), (e) => (b(), h("li", { key: e.id }, [C("span", null, w(`${a(t)("general.discountCode")} (${e.value})`), 1), C("b", null, w(e.key), 1)]))), 128)) : f("", !0)
|
|
497
497
|
]),
|
|
@@ -518,7 +518,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
518
518
|
}), [["__scopeId", "data-v-4f766755"]]), Wt = { class: "konnectio-panel" }, Gt = { id: "konnectio-hotel-guest-discount-title" }, Kt = ["innerHTML"], qt = /*#__PURE__*/ Re(/* @__PURE__ */ R({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = y(), n = re("history"), r =
|
|
521
|
+
let { t } = y(), n = re("history"), r = Ee(), { display: i } = He(), o = F();
|
|
522
522
|
async function s() {
|
|
523
523
|
o.value ? isNaN(o.value) ? i({
|
|
524
524
|
message: t("alert.error.guestDiscountNan"),
|
|
@@ -555,7 +555,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
555
555
|
}), [["__scopeId", "data-v-de955b0c"]]), Jt = { class: "konnectio-panel" }, Yt = { id: "konnectio-hotel-discount-code-title" }, Xt = ["innerHTML"], X = /*#__PURE__*/ Re(/* @__PURE__ */ R({
|
|
556
556
|
__name: "DiscountCodeForm",
|
|
557
557
|
setup(e) {
|
|
558
|
-
let { t } = y(), r = re("history"), i =
|
|
558
|
+
let { t } = y(), r = re("history"), i = Ee(), { display: o } = He(), { location: s, hotelLocations: c } = S(Qe()), { requireDealCode: l } = S(i), p = n(() => l.value ? "dealCode" : "discountCode"), m = F(), g = F(!1);
|
|
559
559
|
async function _() {
|
|
560
560
|
if (!m.value) o({
|
|
561
561
|
message: t("alert.error.discountCodeEmpty"),
|
|
@@ -665,8 +665,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
665
665
|
type: "fas",
|
|
666
666
|
color: "font"
|
|
667
667
|
}), C("span", null, w(`${e.children}`), 1)])) : f("", !0)
|
|
668
|
-
]), C("span", null, w(`(${a(
|
|
669
|
-
"selected-option": T(({ data: e }) => [C("div", $t, [C("div", en, [C("div", null, [f("", !0), C("span", null, w(`${e.adults} ${e.adults === 1 ? a(r)("general.adult") : a(r)("general.adults")}`), 1)]), e.children > 0 ? (b(), h("div", tn, [f("", !0), C("span", null, w(`& ${e.children} ${e.children === 1 ? a(r)("general.child") : a(r)("general.children")}`), 1)])) : f("", !0)]), C("div", nn, [n[1] ||= C("span", null, null, -1), c(" " + w(`(${a(
|
|
668
|
+
]), C("span", null, w(`(${a(B)(e.price, a(i))})`), 1)])]),
|
|
669
|
+
"selected-option": T(({ data: e }) => [C("div", $t, [C("div", en, [C("div", null, [f("", !0), C("span", null, w(`${e.adults} ${e.adults === 1 ? a(r)("general.adult") : a(r)("general.adults")}`), 1)]), e.children > 0 ? (b(), h("div", tn, [f("", !0), C("span", null, w(`& ${e.children} ${e.children === 1 ? a(r)("general.child") : a(r)("general.children")}`), 1)])) : f("", !0)]), C("div", nn, [n[1] ||= C("span", null, null, -1), c(" " + w(`(${a(B)(e.price, a(i))})`), 1)])])]),
|
|
670
670
|
_: 1
|
|
671
671
|
}, 8, [
|
|
672
672
|
"modelValue",
|
|
@@ -1272,7 +1272,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1272
1272
|
}
|
|
1273
1273
|
return n || "M0 0";
|
|
1274
1274
|
}
|
|
1275
|
-
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Je("webkit"), _e = Je("android"), ve = Je("android 2") || Je("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Je("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, Se = !he && Je("chrome"), Ce = Je("gecko") && !ge && !xe && !pe,
|
|
1275
|
+
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = Je("webkit"), _e = Je("android"), ve = Je("android 2") || Je("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && Je("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, Se = !he && Je("chrome"), Ce = Je("gecko") && !ge && !xe && !pe, B = !Se && Je("safari"), we = Je("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || Je("mobile"), Me = je && ge, Ne = je && Oe, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, Le = !window.L_NO_TOUCH && (Ie || Fe), Re = je && xe, ze = je && Ce, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
|
|
1276
1276
|
var e = !1;
|
|
1277
1277
|
try {
|
|
1278
1278
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1310,21 +1310,21 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1310
1310
|
opera: xe,
|
|
1311
1311
|
chrome: Se,
|
|
1312
1312
|
gecko: Ce,
|
|
1313
|
-
safari:
|
|
1314
|
-
phantom:
|
|
1315
|
-
opera12:
|
|
1316
|
-
win:
|
|
1317
|
-
ie3d:
|
|
1318
|
-
webkit3d:
|
|
1319
|
-
gecko3d:
|
|
1320
|
-
any3d:
|
|
1321
|
-
mobile:
|
|
1322
|
-
mobileWebkit:
|
|
1323
|
-
mobileWebkit3d:
|
|
1324
|
-
msPointer:
|
|
1325
|
-
pointer:
|
|
1326
|
-
touch:
|
|
1327
|
-
touchNative:
|
|
1313
|
+
safari: B,
|
|
1314
|
+
phantom: we,
|
|
1315
|
+
opera12: Te,
|
|
1316
|
+
win: Ee,
|
|
1317
|
+
ie3d: De,
|
|
1318
|
+
webkit3d: Oe,
|
|
1319
|
+
gecko3d: ke,
|
|
1320
|
+
any3d: Ae,
|
|
1321
|
+
mobile: je,
|
|
1322
|
+
mobileWebkit: Me,
|
|
1323
|
+
mobileWebkit3d: Ne,
|
|
1324
|
+
msPointer: Pe,
|
|
1325
|
+
pointer: Fe,
|
|
1326
|
+
touch: Le,
|
|
1327
|
+
touchNative: Ie,
|
|
1328
1328
|
mobileOpera: Re,
|
|
1329
1329
|
mobileGecko: ze,
|
|
1330
1330
|
retina: Be,
|
|
@@ -5902,7 +5902,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5902
5902
|
},
|
|
5903
5903
|
emits: ["update:modelValue", "callback"],
|
|
5904
5904
|
setup(e, { emit: t }) {
|
|
5905
|
-
let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(
|
|
5905
|
+
let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(Ee()), s = an.default.Util.extend(an.default.CRS.Simple, { transformation: new an.default.Transformation(1, 0, 1, 0) }), c = F(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = an.default.icon({
|
|
5906
5906
|
iconUrl: Z,
|
|
5907
5907
|
iconSize: [32, 37],
|
|
5908
5908
|
iconAnchor: [16, 37]
|
|
@@ -6027,7 +6027,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6027
6027
|
let ee = n(() => c.room.rates.map((e) => ({
|
|
6028
6028
|
label: e.name,
|
|
6029
6029
|
value: e.id
|
|
6030
|
-
}))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(Ze()), { location: ie } = S(Qe()), { roomSelect: ae, isSearchOutdated: E } = S(
|
|
6030
|
+
}))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(Ze()), { location: ie } = S(Qe()), { roomSelect: ae, isSearchOutdated: E } = S(Ee()), { addToCart: O, removeFromCart: k } = Ne(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, I = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6031
6031
|
value: e.index,
|
|
6032
6032
|
price: e.totalPrice,
|
|
6033
6033
|
adults: e.adultsCount,
|
|
@@ -6072,7 +6072,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6072
6072
|
if (a !== o) {
|
|
6073
6073
|
if (a > o) {
|
|
6074
6074
|
let t = l.value[r].config[i].addons;
|
|
6075
|
-
t.push(re.value(ie.value) ? t[0] ??
|
|
6075
|
+
t.push(re.value(ie.value) ? t[0] ?? Oe(c.room.rates.find((t) => t.id === e[r].id)?.addons) : Oe(c.room.rates.find((t) => t.id === e[r].id)?.addons)), O({
|
|
6076
6076
|
id: c.room.id,
|
|
6077
6077
|
name: c.room.title,
|
|
6078
6078
|
value: c.room.rates[r].rackRate
|
|
@@ -6209,7 +6209,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6209
6209
|
callback: { type: Function }
|
|
6210
6210
|
},
|
|
6211
6211
|
setup(e) {
|
|
6212
|
-
let { t } = y(), r = Ze(), i =
|
|
6212
|
+
let { t } = y(), r = Ze(), i = Ee(), { location: s, adults: l, children: p } = S(Qe()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: v, currentAdults: te, currentChildren: ne, dealResolved: re } = S(i), { currency: ie } = S(r), { clearRoomSelection: ae } = i, { addToCart: E } = Ne(), { hasChildSelection: O, hasSharedAddonSelection: k } = r, j = e, M = F(!1), N = l.value || 1, P = p.value || 0, R = I({}), z = n(() => {
|
|
6213
6213
|
function e(e, t) {
|
|
6214
6214
|
return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6215
6215
|
}
|
|
@@ -6260,7 +6260,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6260
6260
|
let e = {};
|
|
6261
6261
|
return z.value.forEach((t) => {
|
|
6262
6262
|
let n = R[t.id];
|
|
6263
|
-
n ? e[t.id] = n.configs.map((e) =>
|
|
6263
|
+
n ? e[t.id] = n.configs.map((e) => Fe(t, e.adults, e.children, N, P)) : e[t.id] = [];
|
|
6264
6264
|
}), e;
|
|
6265
6265
|
});
|
|
6266
6266
|
function pe(e, t) {
|
|
@@ -6308,7 +6308,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6308
6308
|
unitConfigs: a.map((e) => ({
|
|
6309
6309
|
adults: e.adults,
|
|
6310
6310
|
children: e.children,
|
|
6311
|
-
addons: o ??
|
|
6311
|
+
addons: o ?? Oe(r.addons)
|
|
6312
6312
|
}))
|
|
6313
6313
|
}), _.value ||= r.id;
|
|
6314
6314
|
for (let e = 0; e < i.units; e++) {
|
|
@@ -6331,16 +6331,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6331
6331
|
footer: T(() => [C("div", bn, [ge.value.length > 0 ? (b(), h("div", xn, [(b(!0), h(o, null, D(ge.value, (e) => (b(), h("div", {
|
|
6332
6332
|
key: e.id,
|
|
6333
6333
|
class: "konnectio-template-selection-item"
|
|
6334
|
-
}, [C("div", Sn, [C("span", Cn, w(e.title), 1), C("span", wn, w(a(
|
|
6334
|
+
}, [C("div", Sn, [C("span", Cn, w(e.title), 1), C("span", wn, w(a(B)(e.totalPrice, a(ie))), 1)]), C("div", Tn, [(b(!0), h(o, null, D(e.units, (e, n) => (b(), h("span", {
|
|
6335
6335
|
key: n,
|
|
6336
6336
|
class: "konnectio-template-selection-unit"
|
|
6337
6337
|
}, [
|
|
6338
6338
|
c(w(a(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(a(t)("availability.adults")) + " ", 1),
|
|
6339
6339
|
e.children > 0 ? (b(), h(o, { key: 0 }, [c(" , " + w(e.children) + " " + w(a(t)("availability.children")), 1)], 64)) : f("", !0),
|
|
6340
|
-
c(" · " + w(a(
|
|
6340
|
+
c(" · " + w(a(B)(e.price, a(ie))), 1)
|
|
6341
6341
|
]))), 128))])]))), 128))])) : f("", !0), u(Be, {
|
|
6342
6342
|
onClickEvent: _e,
|
|
6343
|
-
label: `${he() > 1 ? a(t)("booking.availability.selectTheseRooms") : a(t)("booking.availability.selectThisRoom")} (${a(
|
|
6343
|
+
label: `${he() > 1 ? a(t)("booking.availability.selectTheseRooms") : a(t)("booking.availability.selectThisRoom")} (${a(B)(me(), a(ie))})`,
|
|
6344
6344
|
disabled: he() === 0,
|
|
6345
6345
|
"full-width": ""
|
|
6346
6346
|
}, null, 8, ["label", "disabled"])])]),
|
|
@@ -6374,7 +6374,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6374
6374
|
])]), (b(!0), h(o, null, D(R[e.id].configs, (n, r) => (b(), h("div", {
|
|
6375
6375
|
key: r,
|
|
6376
6376
|
class: "konnectio-template-room-unit-config"
|
|
6377
|
-
}, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(
|
|
6377
|
+
}, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(B)(pe(e.id, r), a(ie))), 1)]), C("div", { class: m(["konnectio-template-room-guests", { "only-adult-guests": !a(O)(a(s)) }]) }, [u(qe, {
|
|
6378
6378
|
modelValue: n.adults,
|
|
6379
6379
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6380
6380
|
label: a(t)("availability.adults"),
|
|
@@ -6435,7 +6435,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6435
6435
|
callback: { type: Function }
|
|
6436
6436
|
},
|
|
6437
6437
|
setup(e) {
|
|
6438
|
-
let { t } = y(), r = e, { isSearchOutdated: i } = S(
|
|
6438
|
+
let { t } = y(), r = e, { isSearchOutdated: i } = S(Ee()), o = n(() => r.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + r.weekendFee), s = F(!1);
|
|
6439
6439
|
function c() {
|
|
6440
6440
|
s.value = !0;
|
|
6441
6441
|
}
|
|
@@ -6499,7 +6499,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6499
6499
|
roomGroups: {}
|
|
6500
6500
|
},
|
|
6501
6501
|
setup(e) {
|
|
6502
|
-
let { t } = y(), { updateDates: r } = Qe(), { display: i } = He(), o = e, s = F([]), c = n(() =>
|
|
6502
|
+
let { t } = y(), { updateDates: r } = Qe(), { display: i } = He(), o = e, s = F([]), c = n(() => Me(o.fromDate, o.toDate) === 1);
|
|
6503
6503
|
function l() {
|
|
6504
6504
|
s.value.length > 0 ? r(s.value[0], s.value[1]) : i({
|
|
6505
6505
|
message: t("alert.error.selectDates"),
|
|
@@ -6701,7 +6701,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6701
6701
|
},
|
|
6702
6702
|
emits: ["update:modelValue", "update:title"],
|
|
6703
6703
|
setup(e, { emit: t }) {
|
|
6704
|
-
let n = e, r = t, i = n.id ||
|
|
6704
|
+
let n = e, r = t, i = n.id || Le(), o = F(""), s = F(2);
|
|
6705
6705
|
function c() {
|
|
6706
6706
|
r("update:modelValue", o.value);
|
|
6707
6707
|
}
|
|
@@ -6724,7 +6724,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6724
6724
|
key: 0,
|
|
6725
6725
|
modelValue: s.value,
|
|
6726
6726
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
6727
|
-
id: a(
|
|
6727
|
+
id: a(Le)(),
|
|
6728
6728
|
icon: e.icon,
|
|
6729
6729
|
"icon-color": e.iconColor,
|
|
6730
6730
|
"icon-type": e.iconType,
|
|
@@ -6913,10 +6913,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6913
6913
|
styling: {}
|
|
6914
6914
|
},
|
|
6915
6915
|
setup(e) {
|
|
6916
|
-
let t = _(() => import("./_-
|
|
6917
|
-
l.requireDealCode = r.requireDealCode === "yes";
|
|
6918
|
-
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect:
|
|
6919
|
-
ye.useHttpClient(_e(
|
|
6916
|
+
let t = _(() => import("./_-Cpgd04rM.js").then((e) => e.n)), r = e, { t: s } = y(), l = Ee();
|
|
6917
|
+
l.requireDealCode = r.requireDealCode === "yes", r.requireDealCode === "yes" && Qe().resetSearchDates();
|
|
6918
|
+
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect: Oe, roomDisplay: Me, hasValidRoomSelection: Fe, availabilityData: Le, availabilityFetchFailed: Re, selectionHasNoAddons: Ve, isAvailabilityDataAvailable: Ge, getSelectedPackageRooms: Ke, selectedPackage: Je, isSearchOutdated: Ye, isTemplateReservation: et, newsMails: tt, adultsMismatch: nt, childrenMismatch: rt, totalAdults: it, totalChildren: at, hasGuestDiscountId: ot, hasGuestDiscountCode: st, guestDiscountId: ct, guestDiscountName: lt, guestDiscountCode: ut, hasMemberCards: dt, memberCardList: ft, selectedMemberCard: pt, memberCardControlNumber: mt, memberCardNumber: ht, selectedMemberCardObject: gt, selectedMemberCardData: _t, discountCode: vt, appliedDiscountCode: U, discountPayload: W, dealResolved: yt, dealNoAvailability: bt } = S(l), { isHostedCheckoutActive: xt } = S(Ue()), { adults: St, children: K, location: Ct, arrivalDate: wt, departureDate: Tt, hasHotelLocations: Et } = S(Qe()), { isValidHotelId: Dt, updateDates: Ot } = Qe(), { currency: q, enableTracking: kt, disableNamePrefix: At, disableTravelingFor: jt, disableTravelingForBleasure: Mt, disableCompanyField: Nt, hasPaymentGateway: Pt, maxAdultAmount: Ft, maxChildAmount: It, defaultAdultAmount: Lt, defaultChildAmount: Rt, disableNewsletterSignup: zt, requireEmailConfirmation: Bt, hasActiveIdFilter: Vt, hotelSettings: Ht } = S(Ze()), { hasArrivalDepartureInputs: J, hasUserArrivalSelection: Ut, hasUserDepartureSelection: Wt, earliestArrivalTime: Gt, latestArrivalTime: Kt, earliestDepartureTime: Jt, latestDepartureTime: Yt, hasSharedAddonSelection: Xt, setActiveIdFilter: Zt, clearActiveIdFilter: Qt } = Ze(), { beginCheckout: $t } = Ne(), { display: en } = He(), { createReservation: tn, fetchMetadata: nn, fetchAvailabilityData: rn, filterAddons: an, hasAvailableRoomAddons: Z, checkGuestDiscount: on, setGuestDiscountCode: sn, validateMemberCard: cn, onOverviewReset: ln, resetDealFlow: un, validateDiscountCode: dn, reservationPayload: fn } = Ee();
|
|
6919
|
+
ye.useHttpClient(_e(Te()));
|
|
6920
6920
|
let pn = Se("post", "/hotel/create-reservation", fn());
|
|
6921
6921
|
pn.setValidationTimeout(600);
|
|
6922
6922
|
function mn(e) {
|
|
@@ -6993,7 +6993,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6993
6993
|
value: "Bleasure"
|
|
6994
6994
|
}), e;
|
|
6995
6995
|
}), Tn = n(() => {
|
|
6996
|
-
let e =
|
|
6996
|
+
let e = Le.value.roomGroups.slice();
|
|
6997
6997
|
function t(e, t) {
|
|
6998
6998
|
return _n.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
6999
6999
|
}
|
|
@@ -7006,13 +7006,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7006
7006
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7007
7007
|
}
|
|
7008
7008
|
let Dn = n(() => {
|
|
7009
|
-
let e =
|
|
7009
|
+
let e = Le.value.templates.slice();
|
|
7010
7010
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
7011
7011
|
let n = En(e), r = En(t);
|
|
7012
7012
|
return _n.value ? r - n : n - r;
|
|
7013
7013
|
}), e;
|
|
7014
7014
|
}), kn = n(() => {
|
|
7015
|
-
let e =
|
|
7015
|
+
let e = Le.value.specialTemplates.slice();
|
|
7016
7016
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
7017
7017
|
let n = En(e), r = En(t);
|
|
7018
7018
|
return _n.value ? r - n : n - r;
|
|
@@ -7054,8 +7054,8 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7054
7054
|
message: s("alert.error.hotelIdNotFound"),
|
|
7055
7055
|
type: "error"
|
|
7056
7056
|
}))), a && o) {
|
|
7057
|
-
if (
|
|
7058
|
-
let e = new Date(
|
|
7057
|
+
if (je(a) && je(o)) {
|
|
7058
|
+
let e = new Date(Ae(a).setHours(12, 0, 0, 0)), t = new Date(Ae(o).setHours(12, 0, 0, 0));
|
|
7059
7059
|
e <= t ? (wt.value = e, Tt.value = t) : ($.ci = void 0, $.co = void 0, en({
|
|
7060
7060
|
message: s("alert.error.invalidDateRange"),
|
|
7061
7061
|
type: "error"
|
|
@@ -7114,8 +7114,8 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7114
7114
|
onClick: r[0] ||= (e) => ei()
|
|
7115
7115
|
}, w(a(s)("general.filteredListingShowAll")), 1)])])) : f("", !0),
|
|
7116
7116
|
f("", !0),
|
|
7117
|
-
!a(E) && a(Ge) ? (b(), h("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || a(
|
|
7118
|
-
a(
|
|
7117
|
+
!a(E) && a(Ge) ? (b(), h("div", Jn, [Tn.value.camping && Tn.value.camping.length > 0 && e.onlyShow !== "non-camping" || Tn.value.rooms && Tn.value.rooms.length > 0 || a(Le).templates.length > 0 || a(Le).specialTemplates.length > 0 && !a(Vt) ? (b(), h("div", Yn, [
|
|
7118
|
+
a(Le).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), h("div", Xn, [e.onlyShow !== "packages" && !a(yt) ? (b(), h("h2", Zn, [u(H, {
|
|
7119
7119
|
icon: "box",
|
|
7120
7120
|
type: "fal",
|
|
7121
7121
|
color: "header"
|
|
@@ -7139,7 +7139,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7139
7139
|
"callback",
|
|
7140
7140
|
"hide-addons"
|
|
7141
7141
|
]))), 128))])])) : f("", !0),
|
|
7142
|
-
a(
|
|
7142
|
+
a(Le).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), h("div", $n, [Tn.value.rooms && e.onlyShow !== "camping" ? (b(), h(o, { key: 0 }, [a(Le).templates.length > 0 && e.onlyShow !== "rooms" && !a(yt) ? (b(), h("h2", er, [u(H, {
|
|
7143
7143
|
icon: "house",
|
|
7144
7144
|
type: "fal",
|
|
7145
7145
|
color: "header"
|
|
@@ -7147,7 +7147,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7147
7147
|
room: e,
|
|
7148
7148
|
key: n,
|
|
7149
7149
|
callback: t
|
|
7150
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), h(o, { key: 1 }, [a(
|
|
7150
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0), Tn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), h(o, { key: 1 }, [a(Le).templates.length > 0 && e.onlyShow !== "camping" && !a(yt) ? (b(), h("h2", nr, [u(H, {
|
|
7151
7151
|
icon: "map-location-dot",
|
|
7152
7152
|
type: "fal",
|
|
7153
7153
|
color: "header"
|
|
@@ -7156,7 +7156,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7156
7156
|
key: n,
|
|
7157
7157
|
callback: t
|
|
7158
7158
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0)])) : f("", !0),
|
|
7159
|
-
a(Vt) ? f("", !0) : (b(), h(o, { key: 2 }, [a(
|
|
7159
|
+
a(Vt) ? f("", !0) : (b(), h(o, { key: 2 }, [a(Le).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), h("div", ir, [C("h2", ar, [u(H, {
|
|
7160
7160
|
icon: "sparkles",
|
|
7161
7161
|
type: "fal",
|
|
7162
7162
|
color: "header"
|
|
@@ -7180,16 +7180,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7180
7180
|
"weekendFee",
|
|
7181
7181
|
"room-groups"
|
|
7182
7182
|
]))), 128))])])) : f("", !0)], 64)),
|
|
7183
|
-
(a(
|
|
7184
|
-
])) : a(
|
|
7183
|
+
(a(Le).templates.length === 0 && e.onlyShow !== "rooms" || a(Le).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), h("div", sr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)])) : f("", !0)
|
|
7184
|
+
])) : a(Le).nextAvailableDates.length > 0 ? (b(), h("div", cr, [
|
|
7185
7185
|
C("div", lr, [C("span", { innerHTML: a(s)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
|
|
7186
7186
|
C("h2", dr, [u(H, {
|
|
7187
7187
|
icon: "calendar-circle-exclamation",
|
|
7188
7188
|
type: "fal",
|
|
7189
7189
|
color: "header"
|
|
7190
7190
|
}), C("span", null, w(a(s)("booking.availability.nextAvailableDates")), 1)]),
|
|
7191
|
-
C("ul", fr, [(b(!0), h(o, null, D(a(
|
|
7192
|
-
C("h3", { title: `${a(
|
|
7191
|
+
C("ul", fr, [(b(!0), h(o, null, D(a(Le).nextAvailableDates, (e, t) => (b(), h("li", { key: t }, [
|
|
7192
|
+
C("h3", { title: `${a(Ie)(e.fromDate, 0, !0)} - ${a(Ie)(e.toDate, 0, !0)}` }, [C("span", null, w(`${a(Ie)(e.fromDate, 0, !0)} - ${a(Ie)(e.toDate, 0, !0)}`), 1)], 8, pr),
|
|
7193
7193
|
C("ul", null, [isNaN(e.roomCount) ? f("", !0) : (b(), h("li", mr, [u(H, {
|
|
7194
7194
|
icon: "house",
|
|
7195
7195
|
type: "fal",
|
|
@@ -7198,11 +7198,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7198
7198
|
icon: "money-bill",
|
|
7199
7199
|
type: "fal",
|
|
7200
7200
|
color: "header"
|
|
7201
|
-
}), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(
|
|
7201
|
+
}), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(B)(e.priceStartFrom, a(q))), 1)])]),
|
|
7202
7202
|
u(Be, {
|
|
7203
7203
|
label: a(s)("booking.availability.selectDates"),
|
|
7204
7204
|
"full-width": "",
|
|
7205
|
-
onClickEvent: (t) => a(Ot)(a(
|
|
7205
|
+
onClickEvent: (t) => a(Ot)(a(Ae)(e.fromDate), a(Ae)(e.toDate))
|
|
7206
7206
|
}, null, 8, ["label", "onClickEvent"])
|
|
7207
7207
|
]))), 128))])
|
|
7208
7208
|
])) : (b(), h("div", hr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)]))])) : a(Re) && !a(E) ? (b(), h("div", gr, [C("span", null, w(a(s)("alert.error.couldntFetchListings")), 1), u(Be, {
|
|
@@ -7225,7 +7225,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7225
7225
|
}, null, 8, ["label", "is-loading"])) : (b(), d(Be, {
|
|
7226
7226
|
key: 1,
|
|
7227
7227
|
label: a(Ve) || An.value ? a(s)("booking.availability.nextButton") : a(s)("general.chooseAddons"),
|
|
7228
|
-
disabled: !a(
|
|
7228
|
+
disabled: !a(Fe),
|
|
7229
7229
|
"full-width": "",
|
|
7230
7230
|
onClickEvent: (e) => ti(t)
|
|
7231
7231
|
}, null, 8, [
|
|
@@ -7261,18 +7261,18 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7261
7261
|
innerHTML: a(s)("hotel.addonTopNotice"),
|
|
7262
7262
|
class: "konnectio-wysiwyg"
|
|
7263
7263
|
}, null, 8, Cr)])) : f("", !0),
|
|
7264
|
-
C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(
|
|
7264
|
+
C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(Me), (e) => (b(), h(o, { key: e.roomGroupID }, [a(Z)(e) ? (b(), h("ul", Tr, [(b(!0), h(o, null, D(e.variants, (t, n) => (b(), h("li", { key: t.ratePlanID }, [C("h4", null, [C("span", null, w(a(De)(e.title)), 1)]), (b(!0), h(o, null, D(xn(t.rooms), (r) => (b(), h(o, { key: `${r.configIdx}-${r.roomIdx}` }, [yn(t.addons, r.childrenCount).length > 0 ? (b(), h("div", Er, [C("h5", null, [u(H, {
|
|
7265
7265
|
icon: "check-circle",
|
|
7266
7266
|
type: "fas"
|
|
7267
7267
|
}), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(yn(t.addons, r.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
|
|
7268
|
-
C("b", null, w(a(
|
|
7269
|
-
C("span", null, w(a(
|
|
7268
|
+
C("b", null, w(a(De)(t)), 1),
|
|
7269
|
+
C("span", null, w(a(B)(n, a(q))) + " " + w(a(Pe)(r)), 1),
|
|
7270
7270
|
i ? (b(), h("p", {
|
|
7271
7271
|
key: 0,
|
|
7272
|
-
innerHTML: a(
|
|
7272
|
+
innerHTML: a(ke)(i)
|
|
7273
7273
|
}, null, 8, Dr)) : f("", !0)
|
|
7274
7274
|
])]))), 128))])])) : f("", !0), bn(t.addons, r.childrenCount).length > 0 ? (b(), h("table", Or, [C("thead", null, [C("tr", null, [
|
|
7275
|
-
C("th", null, [C("span", null, w(a(
|
|
7275
|
+
C("th", null, [C("span", null, w(a(De)(t.name)), 1)]),
|
|
7276
7276
|
f("", !0),
|
|
7277
7277
|
C("th", kr, [C("b", null, [
|
|
7278
7278
|
u(H, {
|
|
@@ -7293,19 +7293,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7293
7293
|
src: p,
|
|
7294
7294
|
"zoom-scale": 1
|
|
7295
7295
|
}, null, 8, ["src"])])) : f("", !0), C("div", null, [
|
|
7296
|
-
C("b", null, w(a(
|
|
7297
|
-
C("span", null, w(a(
|
|
7296
|
+
C("b", null, w(a(De)(c)), 1),
|
|
7297
|
+
C("span", null, w(a(B)(l, a(q))) + " " + w(a(Pe)(i)), 1),
|
|
7298
7298
|
g ? (b(), h("p", {
|
|
7299
7299
|
key: 0,
|
|
7300
|
-
innerHTML: a(
|
|
7300
|
+
innerHTML: a(ke)(g)
|
|
7301
7301
|
}, null, 8, Mr)) : f("", !0)
|
|
7302
|
-
])], 2), C("td", Nr, [a(
|
|
7302
|
+
])], 2), C("td", Nr, [a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (b(), d(qe, {
|
|
7303
7303
|
key: 0,
|
|
7304
|
-
modelValue: a(
|
|
7305
|
-
"onUpdate:modelValue": (t) => a(
|
|
7304
|
+
modelValue: a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s],
|
|
7305
|
+
"onUpdate:modelValue": (t) => a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s] = t,
|
|
7306
7306
|
small: !0,
|
|
7307
7307
|
"min-value": 0,
|
|
7308
|
-
"max-value": a(
|
|
7308
|
+
"max-value": a(we)(t, o)
|
|
7309
7309
|
}, null, 8, [
|
|
7310
7310
|
"modelValue",
|
|
7311
7311
|
"onUpdate:modelValue",
|
|
@@ -7314,32 +7314,32 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7314
7314
|
icon: "check-circle",
|
|
7315
7315
|
type: "fas"
|
|
7316
7316
|
}), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(yn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
|
|
7317
|
-
C("b", null, w(a(
|
|
7318
|
-
C("span", null, w(a(
|
|
7317
|
+
C("b", null, w(a(De)(t)), 1),
|
|
7318
|
+
C("span", null, w(a(B)(n, a(q))) + " " + w(a(Pe)(r)), 1),
|
|
7319
7319
|
i ? (b(), h("p", {
|
|
7320
7320
|
key: 0,
|
|
7321
|
-
innerHTML: a(
|
|
7321
|
+
innerHTML: a(ke)(i)
|
|
7322
7322
|
}, null, 8, Ir)) : f("", !0)
|
|
7323
7323
|
])]))), 128))])])) : f("", !0), bn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), h("table", Lr, [C("thead", null, [C("tr", null, [
|
|
7324
|
-
C("th", null, [C("span", null, w(a(
|
|
7324
|
+
C("th", null, [C("span", null, w(a(De)(a(Ke).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), h("span", Rr, "(" + w(a(s)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : f("", !0)]),
|
|
7325
7325
|
f("", !0),
|
|
7326
7326
|
r[26] ||= C("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7327
7327
|
])]), C("tbody", null, [(b(!0), h(o, null, D(bn(a(Ke).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: o, price: s, description: c, image: l }) => (b(), h("tr", { key: i }, [C("td", { class: m(["konnectio-table-addons-information", { "has-image": l }]) }, [l ? (b(), h("div", zr, [u(a(G), {
|
|
7328
7328
|
src: l,
|
|
7329
7329
|
"zoom-scale": 1
|
|
7330
7330
|
}, null, 8, ["src"])])) : f("", !0), C("div", null, [
|
|
7331
|
-
C("b", null, w(a(
|
|
7332
|
-
C("span", null, w(a(
|
|
7331
|
+
C("b", null, w(a(De)(o)), 1),
|
|
7332
|
+
C("span", null, w(a(B)(s, a(q))) + " " + w(a(Pe)(n)), 1),
|
|
7333
7333
|
c ? (b(), h("p", {
|
|
7334
7334
|
key: 0,
|
|
7335
|
-
innerHTML: a(
|
|
7335
|
+
innerHTML: a(ke)(c)
|
|
7336
7336
|
}, null, 8, Br)) : f("", !0)
|
|
7337
7337
|
])], 2), C("td", Vr, [u(qe, {
|
|
7338
7338
|
modelValue: a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
|
|
7339
7339
|
"onUpdate:modelValue": (t) => a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
|
|
7340
7340
|
small: !0,
|
|
7341
7341
|
"min-value": 0,
|
|
7342
|
-
"max-value": a(
|
|
7342
|
+
"max-value": a(we)(t, r)
|
|
7343
7343
|
}, null, 8, [
|
|
7344
7344
|
"modelValue",
|
|
7345
7345
|
"onUpdate:modelValue",
|
|
@@ -7687,7 +7687,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7687
7687
|
_: 1
|
|
7688
7688
|
}, 8, ["styling"]));
|
|
7689
7689
|
}
|
|
7690
|
-
}), ti = /*#__PURE__*/ Re(ei, [["__scopeId", "data-v-
|
|
7690
|
+
}), ti = /*#__PURE__*/ Re(ei, [["__scopeId", "data-v-ae7c5e75"]]);
|
|
7691
7691
|
// node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7692
7692
|
function ni(e, t) {
|
|
7693
7693
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
package/dist/hotel.js.br
CHANGED
|
Binary file
|
package/dist/hotel.js.gz
CHANGED
|
Binary file
|
package/dist/polyfill.js
CHANGED
|
@@ -9647,4 +9647,4 @@ Yu(), Xu(), (({ every: e, indexOf: t, slice: n } = Array.prototype, r = globalTh
|
|
|
9647
9647
|
};
|
|
9648
9648
|
S = new ResizeObserver(v), C = new MutationObserver(r), i();
|
|
9649
9649
|
}
|
|
9650
|
-
})()(), console.log("Konnectio production release: 4.11.
|
|
9650
|
+
})()(), console.log("Konnectio production release: 4.11.5");
|