@konnectio/core 4.7.9 → 4.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionField-BLUufdat.js → ActionField-BSWeY8s9.js} +6 -6
- package/dist/ActionField-BSWeY8s9.js.br +0 -0
- package/dist/ActionField-BSWeY8s9.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DlcBMiZx.js → AvailabilitySkeleton-Q_NRPJhM.js} +113 -113
- package/dist/AvailabilitySkeleton-Q_NRPJhM.js.br +0 -0
- package/dist/AvailabilitySkeleton-Q_NRPJhM.js.gz +0 -0
- package/dist/{CheckoutWindow-BcRZIzMT.js → CheckoutWindow-BUNrnlGh.js} +7 -7
- package/dist/CheckoutWindow-BUNrnlGh.js.br +0 -0
- package/dist/CheckoutWindow-BUNrnlGh.js.gz +0 -0
- package/dist/{ErrorMessage-C8zkJCJE.js → ErrorMessage-BvilVn5L.js} +7 -7
- package/dist/ErrorMessage-BvilVn5L.js.br +0 -0
- package/dist/ErrorMessage-BvilVn5L.js.gz +0 -0
- package/dist/{EventAvailabilityForm-B4sFsGhI.js → EventAvailabilityForm-btvOM8KB.js} +16 -16
- package/dist/EventAvailabilityForm-btvOM8KB.js.br +0 -0
- package/dist/EventAvailabilityForm-btvOM8KB.js.gz +0 -0
- package/dist/{Field-De-fvk85.js → Field-DAHZfr5Y.js} +1 -1
- package/dist/Field-DAHZfr5Y.js.br +0 -0
- package/dist/Field-DAHZfr5Y.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-C8uTiy9J.js → HotelAvailabilityForm-DCCdgoBw.js} +6 -6
- package/dist/HotelAvailabilityForm-DCCdgoBw.js.br +0 -0
- package/dist/HotelAvailabilityForm-DCCdgoBw.js.gz +0 -0
- package/dist/{SelectField-CDAxug6h.js → SelectField-CnreRmEZ.js} +1888 -1870
- package/dist/SelectField-CnreRmEZ.js.br +0 -0
- package/dist/SelectField-CnreRmEZ.js.gz +0 -0
- package/dist/{TermsOfService-Dt5Q1SCK.js → TermsOfService-DcFuq9YM.js} +6 -6
- package/dist/TermsOfService-DcFuq9YM.js.br +0 -0
- package/dist/TermsOfService-DcFuq9YM.js.gz +3 -0
- package/dist/{_-Be3oAOAc.js → _-DYoQFY32.js} +1 -1
- package/dist/_-DYoQFY32.js.br +0 -0
- package/dist/_-DYoQFY32.js.gz +5 -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 +11 -11
- 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-C_IilFmu.js → dist-CXMkG9Ch.js} +25 -26
- package/dist/dist-CXMkG9Ch.js.br +0 -0
- package/dist/dist-CXMkG9Ch.js.gz +0 -0
- package/dist/{dist-BPlclb9p.js → dist-VETO5cbq.js} +2 -2
- package/dist/dist-VETO5cbq.js.br +0 -0
- package/dist/dist-VETO5cbq.js.gz +0 -0
- package/dist/event.js +62 -62
- 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-k36XguqL.js +104 -0
- package/dist/giftCard-k36XguqL.js.br +0 -0
- package/dist/giftCard-k36XguqL.js.gz +0 -0
- package/dist/hotel.js +212 -214
- 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-D9WMflRR.js → style-HOryxFZm.js} +1 -1
- package/dist/style-HOryxFZm.js.br +0 -0
- package/dist/style-HOryxFZm.js.gz +0 -0
- package/dist-wix/availability.js +19 -19
- package/dist-wix/event.js +4 -4
- package/dist-wix/gift-card-validation.js +20 -20
- package/dist-wix/gift-card.js +20 -20
- package/dist-wix/hotel.js +4 -4
- package/package.json +4 -1
- package/dist/ActionField-BLUufdat.js.br +0 -0
- package/dist/ActionField-BLUufdat.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.br +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.gz +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.br +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.gz +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.br +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.gz +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.br +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.gz +0 -0
- package/dist/Field-De-fvk85.js.br +0 -0
- package/dist/Field-De-fvk85.js.gz +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.br +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.gz +0 -0
- package/dist/SelectField-CDAxug6h.js.br +0 -0
- package/dist/SelectField-CDAxug6h.js.gz +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.br +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.gz +0 -0
- package/dist/_-Be3oAOAc.js.br +0 -0
- package/dist/_-Be3oAOAc.js.gz +0 -5
- package/dist/dist-BPlclb9p.js.br +0 -0
- package/dist/dist-BPlclb9p.js.gz +0 -0
- package/dist/dist-C_IilFmu.js.br +0 -0
- package/dist/dist-C_IilFmu.js.gz +0 -0
- package/dist/giftCard-CxI94mQ4.js +0 -104
- package/dist/giftCard-CxI94mQ4.js.br +0 -0
- package/dist/giftCard-CxI94mQ4.js.gz +0 -0
- package/dist/style-D9WMflRR.js.br +0 -0
- package/dist/style-D9WMflRR.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
|
|
2
2
|
import { $ as n, A as r, B as i, D as a, E as o, Et as s, J as c, K as l, M as u, N as d, O as f, Ot as p, Q as m, S as h, T as g, Tt as _, V as ee, _t as te, a as v, b as y, ct as ne, dt as b, g as re, ht as x, i as S, it as ie, j as C, k as ae, kt as w, l as T, n as E, o as oe, rt as D, s as O, tt as k, ut as A, v as j, w as M, x as N, yt as P } from "./i18n-DwFTw_rF.js";
|
|
3
|
-
import { t as F } from "./dist-
|
|
4
|
-
import {
|
|
5
|
-
import { n as je, t as Me } from "./AvailabilitySkeleton-
|
|
6
|
-
import { t as Ne } from "./HotelAvailabilityForm-
|
|
7
|
-
import { t as Pe } from "./style-
|
|
8
|
-
import { t as Fe } from "./ActionField-
|
|
9
|
-
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-
|
|
10
|
-
import { a as Ge, i as Ke, r as qe, t as Je } from "./CheckoutWindow-
|
|
11
|
-
import { t as V } from "./TermsOfService-
|
|
3
|
+
import { t as F } from "./dist-VETO5cbq.js";
|
|
4
|
+
import { $ as se, C as ce, D as le, E as ue, G as de, I as fe, K as pe, L as me, N as he, O as ge, Q as _e, R as ve, S as I, U as ye, V as be, W as xe, Y as R, _ as Se, b as Ce, mt as we, n as Te, nt as Ee, r as De, rt as Oe, t as z, ut as ke, v as Ae, x as B } from "./SelectField-CnreRmEZ.js";
|
|
5
|
+
import { n as je, t as Me } from "./AvailabilitySkeleton-Q_NRPJhM.js";
|
|
6
|
+
import { t as Ne } from "./HotelAvailabilityForm-DCCdgoBw.js";
|
|
7
|
+
import { t as Pe } from "./style-HOryxFZm.js";
|
|
8
|
+
import { t as Fe } from "./ActionField-BSWeY8s9.js";
|
|
9
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-CXMkG9Ch.js";
|
|
10
|
+
import { a as Ge, i as Ke, r as qe, t as Je } from "./CheckoutWindow-BUNrnlGh.js";
|
|
11
|
+
import { t as V } from "./TermsOfService-DcFuq9YM.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
13
|
function Ye(e, t) {
|
|
14
14
|
return t ? {
|
|
@@ -358,7 +358,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(ue()), { hasArrivalDepartureInputs: s } = ue(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: ne, selectedPackage: ie, discountVouchers: E, currentArrivalDate: oe, currentDepartureDate: D, datesMismatch: O, currentLocation: M, locationMismatch: N, newsMails: F, termsOfService:
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(ue()), { hasArrivalDepartureInputs: s } = ue(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: ne, selectedPackage: ie, discountVouchers: E, currentArrivalDate: oe, currentDepartureDate: D, datesMismatch: O, currentLocation: M, locationMismatch: N, newsMails: F, termsOfService: se, discountCode: le, hasTermOfService: de, acceptTerms: me, totalTemplateAddonPrice: he, totalRooms: _e, totalAdults: I, totalChildren: ye, weekendFee: be, selectedMemberCardData: Se, appliedDiscountCode: Ce, guestDiscountCode: we, isValidatingDiscountCode: Te } = T(ge()), { hasHotelLocations: Ee } = T(ce()), { removeRoom: De, validateDiscountCode: Oe, getMandatoryRoomGroupAddons: z, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: je, fetchAvailabilityData: Me } = ge(), { getHotelLocationName: Ne } = ce(), Pe = P(!1);
|
|
362
362
|
function Fe(e) {
|
|
363
363
|
Ae(e), Me();
|
|
364
364
|
}
|
|
@@ -371,11 +371,11 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
371
371
|
return (v, T) => {
|
|
372
372
|
let P = k("tooltip");
|
|
373
373
|
return c(), o(Ie, {
|
|
374
|
-
"discount-code": _(
|
|
375
|
-
"onUpdate:discountCode": T[4] ||= (e) => x(
|
|
376
|
-
"validate-discount-code": _(
|
|
374
|
+
"discount-code": _(le),
|
|
375
|
+
"onUpdate:discountCode": T[4] ||= (e) => x(le) ? le.value = e : null,
|
|
376
|
+
"validate-discount-code": _(Oe),
|
|
377
377
|
"total-price": _(h),
|
|
378
|
-
"weekend-fee": _(
|
|
378
|
+
"weekend-fee": _(be),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
380
380
|
"availability-discount": e.availabilityDiscount,
|
|
381
381
|
"show-terms-notice": e.showTermsNotice,
|
|
@@ -390,8 +390,8 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
390
390
|
"on-clear-availability-discount": Le
|
|
391
391
|
}, ae({
|
|
392
392
|
form: A(() => [n(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
-
"price-summary": A(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(
|
|
394
|
-
g("span", bt, w(_(
|
|
393
|
+
"price-summary": A(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(fe)(r)), 1)]), (c(!0), f(y, null, m(o, (r, o) => (c(), f("div", { key: o }, [(c(!0), f(y, null, m(r.rooms, (s, l) => (c(), f("ul", { key: l }, [g("li", null, [
|
|
394
|
+
g("span", bt, w(_(fe)(r.name)), 1),
|
|
395
395
|
g("span", xt, [g("span", St, [g("span", null, [C(B, {
|
|
396
396
|
icon: "male",
|
|
397
397
|
type: "fas",
|
|
@@ -410,8 +410,8 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
410
410
|
type: "fas",
|
|
411
411
|
"icon-color": "#ff0000"
|
|
412
412
|
})], 8, G)) : a("", !0)])
|
|
413
|
-
]), Re(s.roomAddons) > 0 ? (c(), f("li", wt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(R)(Re(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(ne).length > 0 && _(ie) ? (c(), f("div", Tt, [g("h6", null, [g("span", null, w(_(
|
|
414
|
-
g("span", K, [g("span", null, w(_(
|
|
413
|
+
]), Re(s.roomAddons) > 0 ? (c(), f("li", wt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(R)(Re(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(ne).length > 0 && _(ie) ? (c(), f("div", Tt, [g("h6", null, [g("span", null, w(_(fe)(_(ie).name)), 1)]), g("div", null, [g("ul", null, [(c(!0), f(y, null, m(_(ne), (e, n) => (c(), f("li", { key: n }, [
|
|
414
|
+
g("span", K, [g("span", null, w(_(fe)(_(te).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(ne).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", Et, "(" + w(_(t)("booking.reservation.room")) + " " + w(_(ne).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
|
|
415
415
|
g("span", Dt, [g("span", Ot, [g("span", null, [C(B, {
|
|
416
416
|
icon: "male",
|
|
417
417
|
type: "fas",
|
|
@@ -421,9 +421,9 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
421
421
|
type: "fas",
|
|
422
422
|
color: "font"
|
|
423
423
|
}), g("span", null, w(e.children), 1)])) : a("", !0)])]),
|
|
424
|
-
g("b", null, [g("span", null, w(_(R)((_(te).find((t) => t.id === e.roomGroupId)?.extraPrice ?? 0) + _(
|
|
425
|
-
_(
|
|
426
|
-
]))), 128)), _(
|
|
424
|
+
g("b", null, [g("span", null, w(_(R)((_(te).find((t) => t.id === e.roomGroupId)?.extraPrice ?? 0) + _(be), _(i))), 1)]),
|
|
425
|
+
_(z)(e.roomGroupId) ? (c(!0), f(y, { key: 0 }, m(_(z)(e.roomGroupId), (e) => (c(), f(y, null, [g("span", null, "- " + w(e.name), 1), g("b", null, [g("span", null, w(_(R)(e.price, _(i))), 1)])], 64))), 256)) : a("", !0)
|
|
426
|
+
]))), 128)), _(he) ? (c(), f("li", kt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(R)(_(he), _(i))), 1)])) : a("", !0)])])])) : a("", !0)]),
|
|
427
427
|
actions: A(() => [g("ul", At, [
|
|
428
428
|
_(r) ? a("", !0) : (c(), f("div", jt, [C(qe, {
|
|
429
429
|
modelValue: _(F),
|
|
@@ -432,9 +432,9 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
432
432
|
name: "newsletter",
|
|
433
433
|
label: _(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
_(
|
|
436
|
-
modelValue: _(
|
|
437
|
-
"onUpdate:modelValue": T[2] ||= (e) => x(
|
|
435
|
+
_(de) ? (c(), f("div", Mt, [C(qe, {
|
|
436
|
+
modelValue: _(me),
|
|
437
|
+
"onUpdate:modelValue": T[2] ||= (e) => x(me) ? me.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
439
439
|
name: "terms"
|
|
440
440
|
}, {
|
|
@@ -446,7 +446,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
446
446
|
terms: A(() => [g("a", {
|
|
447
447
|
class: "konnectio-accept-terms-link",
|
|
448
448
|
onClick: T[1] ||= j((e) => Pe.value = !0, ["prevent"])
|
|
449
|
-
}, [g("span", null, w(_(
|
|
449
|
+
}, [g("span", null, w(_(xe)(_(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
@@ -455,13 +455,13 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
455
455
|
C(V, {
|
|
456
456
|
modelValue: Pe.value,
|
|
457
457
|
"onUpdate:modelValue": T[3] ||= (e) => Pe.value = e,
|
|
458
|
-
description: _(
|
|
458
|
+
description: _(se)
|
|
459
459
|
}, null, 8, ["modelValue", "description"])
|
|
460
460
|
])]),
|
|
461
461
|
navigation: A(() => [n(v.$slots, "navigation", {}, void 0, !0)]),
|
|
462
462
|
"mobile-under-price": A(() => [
|
|
463
463
|
g("span", null, w(_(t)("general.for")) + ": ", 1),
|
|
464
|
-
g("b", null, w(_(
|
|
464
|
+
g("b", null, w(_(ve)(_(oe), _(D))) + " " + w(_(xe)(_(ve)(_(oe), _(D)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1),
|
|
465
465
|
b((c(), f("span", Nt, [C(B, {
|
|
466
466
|
icon: "circle-info",
|
|
467
467
|
type: "fas"
|
|
@@ -472,9 +472,9 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
472
472
|
}]])
|
|
473
473
|
]),
|
|
474
474
|
"mobile-summary": A(() => [
|
|
475
|
-
g("span", null, w(`${_(
|
|
476
|
-
g("span", null, w(`${_(
|
|
477
|
-
g("span", null, w(`${_(
|
|
475
|
+
g("span", null, w(`${_(I)} ${_(I) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
|
|
476
|
+
g("span", null, w(`${_(ye)} ${_(ye) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
|
|
477
|
+
g("span", null, w(`${_(_e)} ${_(_e) === 1 ? _(t)("booking.reservation.room") : _(t)("booking.reservation.rooms")}`), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
480
480
|
}, [isNaN(_(M)) ? void 0 : {
|
|
@@ -492,7 +492,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
492
492
|
icon: "exclamation-triangle",
|
|
493
493
|
type: "fas"
|
|
494
494
|
})], 512), [[re, _(O)]])])]),
|
|
495
|
-
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(
|
|
495
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(ve)(_(oe), _(D))) + " " + w(_(xe)(_(ve)(_(oe), _(D)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1)]),
|
|
496
496
|
_(Se) && _(Se).providesDiscount ? (c(), f("li", U, [g("span", null, w(_(Se).shortDescription), 1), g("b", null, "-" + w(_(Se).discountPercent) + "%", 1)])) : a("", !0),
|
|
497
497
|
_(E) ? (c(!0), f(y, { key: 2 }, m(_(E), (e) => (c(), f("li", { key: e.id }, [g("span", null, w(`${_(t)("general.discountCode")} (${e.value})`), 1), g("b", null, w(e.key), 1)]))), 128)) : a("", !0)
|
|
498
498
|
]),
|
|
@@ -518,7 +518,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
518
518
|
}), [["__scopeId", "data-v-a875cf1e"]]), Ft = { class: "konnectio-panel" }, It = { id: "konnectio-hotel-guest-discount-title" }, Lt = ["innerHTML"], Rt = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = v(), n =
|
|
521
|
+
let { t } = v(), n = we("history"), r = ge(), { display: i } = he(), a = P();
|
|
522
522
|
async function o() {
|
|
523
523
|
if (!a.value) {
|
|
524
524
|
i({
|
|
@@ -563,7 +563,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
563
563
|
}), [["__scopeId", "data-v-2d1cbb8b"]]), zt = { class: "konnectio-panel" }, Bt = { id: "konnectio-hotel-discount-code-title" }, Vt = ["innerHTML"], Ht = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } = v(), n =
|
|
566
|
+
let { t } = v(), n = we("history"), r = ge(), { display: i } = he(), a = P();
|
|
567
567
|
async function o() {
|
|
568
568
|
if (!a.value) {
|
|
569
569
|
i({
|
|
@@ -1267,7 +1267,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1267
1267
|
}
|
|
1268
1268
|
return n || "M0 0";
|
|
1269
1269
|
}
|
|
1270
|
-
var he = document.documentElement.style, ge = "ActiveXObject" in window,
|
|
1270
|
+
var he = document.documentElement.style, ge = "ActiveXObject" in window, _e = ge && !document.addEventListener, ve = "msLaunchUri" in navigator && !("documentMode" in document), I = Je("webkit"), ye = Je("android"), be = Je("android 2") || Je("android 3"), xe = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), R = ye && Je("Google") && xe < 537 && !("AudioNode" in window), Se = !!window.opera, Ce = !ve && Je("chrome"), we = Je("gecko") && !I && !Se && !ge, Te = !Ce && Je("safari"), Ee = Je("phantom"), De = "OTransition" in he, Oe = navigator.platform.indexOf("Win") === 0, z = ge && "transition" in he, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !be, Ae = "MozPerspective" in he, B = !window.L_DISABLE_3D && (z || ke || Ae) && !De && !Ee, je = typeof orientation < "u" || Je("mobile"), Me = je && I, Ne = je && ke, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, Le = !window.L_NO_TOUCH && (Ie || Fe), Re = je && Se, ze = je && we, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
|
|
1271
1271
|
var e = !1;
|
|
1272
1272
|
try {
|
|
1273
1273
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1296,23 +1296,23 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1296
1296
|
}
|
|
1297
1297
|
var V = {
|
|
1298
1298
|
ie: ge,
|
|
1299
|
-
ielt9:
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1302
|
-
android:
|
|
1303
|
-
android23:
|
|
1304
|
-
androidStock:
|
|
1299
|
+
ielt9: _e,
|
|
1300
|
+
edge: ve,
|
|
1301
|
+
webkit: I,
|
|
1302
|
+
android: ye,
|
|
1303
|
+
android23: be,
|
|
1304
|
+
androidStock: R,
|
|
1305
1305
|
opera: Se,
|
|
1306
1306
|
chrome: Ce,
|
|
1307
1307
|
gecko: we,
|
|
1308
1308
|
safari: Te,
|
|
1309
1309
|
phantom: Ee,
|
|
1310
1310
|
opera12: De,
|
|
1311
|
-
win:
|
|
1312
|
-
ie3d:
|
|
1311
|
+
win: Oe,
|
|
1312
|
+
ie3d: z,
|
|
1313
1313
|
webkit3d: ke,
|
|
1314
|
-
gecko3d:
|
|
1315
|
-
any3d:
|
|
1314
|
+
gecko3d: Ae,
|
|
1315
|
+
any3d: B,
|
|
1316
1316
|
mobile: je,
|
|
1317
1317
|
mobileWebkit: Me,
|
|
1318
1318
|
mobileWebkit3d: Ne,
|
|
@@ -2280,7 +2280,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2280
2280
|
_refocusOnMap: function(e) {
|
|
2281
2281
|
this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
|
|
2282
2282
|
}
|
|
2283
|
-
}),
|
|
2283
|
+
}), $ = function(e) {
|
|
2284
2284
|
return new on(e);
|
|
2285
2285
|
};
|
|
2286
2286
|
Q.include({
|
|
@@ -2303,7 +2303,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2303
2303
|
U(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
|
2304
2304
|
}
|
|
2305
2305
|
});
|
|
2306
|
-
var
|
|
2306
|
+
var sn = on.extend({
|
|
2307
2307
|
options: {
|
|
2308
2308
|
collapsed: !0,
|
|
2309
2309
|
position: "topright",
|
|
@@ -2428,7 +2428,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2428
2428
|
});
|
|
2429
2429
|
}
|
|
2430
2430
|
}), cn = function(e, t, n) {
|
|
2431
|
-
return new
|
|
2431
|
+
return new sn(e, t, n);
|
|
2432
2432
|
}, ln = on.extend({
|
|
2433
2433
|
options: {
|
|
2434
2434
|
position: "topleft",
|
|
@@ -2551,7 +2551,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2551
2551
|
});
|
|
2552
2552
|
Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
|
|
2553
2553
|
this.options.attributionControl && new pn().addTo(this);
|
|
2554
|
-
}), on.Layers =
|
|
2554
|
+
}), on.Layers = sn, on.Zoom = ln, on.Scale = dn, on.Attribution = pn, $.layers = cn, $.zoom = un, $.scale = fn, $.attribution = function(e) {
|
|
2555
2555
|
return new pn(e);
|
|
2556
2556
|
};
|
|
2557
2557
|
var mn = C.extend({
|
|
@@ -5233,7 +5233,7 @@ var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5233
5233
|
this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
5234
5234
|
}
|
|
5235
5235
|
});
|
|
5236
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = le, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = k, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control =
|
|
5236
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = le, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = k, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = $, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = N, e.latLngBounds = j, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = D, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = ue, e.version = t, e.videoOverlay = Tr;
|
|
5237
5237
|
var ai = window.L;
|
|
5238
5238
|
e.noConflict = function() {
|
|
5239
5239
|
return window.L = ai, this;
|
|
@@ -5988,7 +5988,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
5988
5988
|
},
|
|
5989
5989
|
emits: ["update:modelValue", "callback"],
|
|
5990
5990
|
setup(e, { emit: t }) {
|
|
5991
|
-
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(
|
|
5991
|
+
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(ge()), o = X.default.Util.extend(X.default.CRS.Simple, { transformation: new X.default.Transformation(1, 0, 1, 0) }), s = P(), c = M(() => a.value?.url), l = M(() => a.value?.height), u = M(() => a.value?.width), d = X.default.icon({
|
|
5992
5992
|
iconUrl: Jt,
|
|
5993
5993
|
iconSize: [32, 37],
|
|
5994
5994
|
iconAnchor: [16, 37]
|
|
@@ -6022,7 +6022,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6022
6022
|
});
|
|
6023
6023
|
});
|
|
6024
6024
|
}
|
|
6025
|
-
let { stop: p } =
|
|
6025
|
+
let { stop: p } = ke(s, ([{ isIntersecting: e }]) => {
|
|
6026
6026
|
e && (p(), f());
|
|
6027
6027
|
}), m = M({
|
|
6028
6028
|
get: () => i.modelValue,
|
|
@@ -6108,7 +6108,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6108
6108
|
let ee = M(() => u.room.rates.map((e) => ({
|
|
6109
6109
|
label: e.name,
|
|
6110
6110
|
value: e.id
|
|
6111
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re } = T(ue()), { roomSelect: x, isSearchOutdated: S } = T(
|
|
6111
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re } = T(ue()), { roomSelect: x, isSearchOutdated: S } = T(ge()), { addToCart: ie, removeFromCart: ae } = le(), E = (e, t) => u.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), oe = M(() => u.room.roomList.some((e) => e.mapImageX && e.mapImageY)), D = M(() => u.room.rates.every((e) => e.isBreakfastIncluded === !0)), O = (e, t) => E(e, t) ? E(e, t)?.rooms : null, k = (e) => u.room.rates.length > 0 && u.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6112
6112
|
value: e.index,
|
|
6113
6113
|
price: e.totalPrice,
|
|
6114
6114
|
adults: e.adultsCount,
|
|
@@ -6190,7 +6190,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6190
6190
|
"placeholder",
|
|
6191
6191
|
"options",
|
|
6192
6192
|
"onChanged"
|
|
6193
|
-
]), d.value.length > 1 ? (c(), f("div", Qt, [C(
|
|
6193
|
+
]), d.value.length > 1 ? (c(), f("div", Qt, [C(Ae, {
|
|
6194
6194
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6195
6195
|
icon: "trash-alt",
|
|
6196
6196
|
"icon-type": "fas",
|
|
@@ -6218,7 +6218,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6218
6218
|
"description",
|
|
6219
6219
|
"options",
|
|
6220
6220
|
"readonly"
|
|
6221
|
-
])]), oe.value ? (c(), f("div", nn, [C(
|
|
6221
|
+
])]), oe.value ? (c(), f("div", nn, [C(Ae, {
|
|
6222
6222
|
onClickEvent: n,
|
|
6223
6223
|
label: _(i)("hotel.selectRoomOnMap"),
|
|
6224
6224
|
secondary: "",
|
|
@@ -6267,7 +6267,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6267
6267
|
"includes-breakfast"
|
|
6268
6268
|
]));
|
|
6269
6269
|
}
|
|
6270
|
-
}), [["__scopeId", "data-v-9389e689"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, on = { class: "konnectio-template-room-config" },
|
|
6270
|
+
}), [["__scopeId", "data-v-9389e689"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, on = { class: "konnectio-template-room-config" }, $ = { class: "konnectio-template-room-units" }, sn = { class: "konnectio-template-room-unit-header" }, cn = { class: "konnectio-template-footer" }, ln = {
|
|
6271
6271
|
key: 0,
|
|
6272
6272
|
class: "konnectio-template-selection-preview"
|
|
6273
6273
|
}, un = { class: "konnectio-template-selection-item-header" }, dn = { class: "konnectio-template-selection-item-name" }, fn = { class: "konnectio-template-selection-item-price" }, pn = { class: "konnectio-template-selection-item-units" }, mn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
@@ -6281,7 +6281,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6281
6281
|
callback: { type: Function }
|
|
6282
6282
|
},
|
|
6283
6283
|
setup(e) {
|
|
6284
|
-
let { t } = v(), n = ue(), i =
|
|
6284
|
+
let { t } = v(), n = ue(), i = ge(), { location: l } = T(ce()), { templateID: u, roomGroupID: d, templateRoomSelections: p, selectionHasNoAddons: h, currentAdults: b, currentChildren: re } = T(i), { currency: x } = T(n), { clearRoomSelection: S } = i, { addToCart: ie } = le(), { hasChildSelection: ae } = n, E = e, oe = P(!1), D = b.value || 1, O = re.value || 0, k = te({}), j = M(() => {
|
|
6285
6285
|
function e(e, t) {
|
|
6286
6286
|
return oe.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6287
6287
|
}
|
|
@@ -6346,7 +6346,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6346
6346
|
function me(e, t) {
|
|
6347
6347
|
return pe.value[e]?.[t] ?? 0;
|
|
6348
6348
|
}
|
|
6349
|
-
function
|
|
6349
|
+
function he() {
|
|
6350
6350
|
let e = 0;
|
|
6351
6351
|
return j.value.forEach((t) => {
|
|
6352
6352
|
let n = k[t.id];
|
|
@@ -6356,10 +6356,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6356
6356
|
}
|
|
6357
6357
|
}), e;
|
|
6358
6358
|
}
|
|
6359
|
-
function
|
|
6359
|
+
function _e() {
|
|
6360
6360
|
return Object.values(k).reduce((e, t) => e + t.units, 0);
|
|
6361
6361
|
}
|
|
6362
|
-
let
|
|
6362
|
+
let ve = M(() => j.value.filter((e) => k[e.id]?.units > 0).map((e) => {
|
|
6363
6363
|
let t = k[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6364
6364
|
adults: t.adults,
|
|
6365
6365
|
children: t.children,
|
|
@@ -6372,10 +6372,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6372
6372
|
units: n
|
|
6373
6373
|
};
|
|
6374
6374
|
}));
|
|
6375
|
-
ne(
|
|
6375
|
+
ne(ve, () => {
|
|
6376
6376
|
ee(() => window.dispatchEvent(new Event("resize")));
|
|
6377
6377
|
});
|
|
6378
|
-
function
|
|
6378
|
+
function I() {
|
|
6379
6379
|
if (!Object.values(k).some((e) => e.units > 0)) return;
|
|
6380
6380
|
S();
|
|
6381
6381
|
let e = [], t = 0, n = 0;
|
|
@@ -6412,7 +6412,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6412
6412
|
title: e.title,
|
|
6413
6413
|
subtitle: _(t)("booking.availability.selectATemplateRoom")
|
|
6414
6414
|
}, {
|
|
6415
|
-
footer: A(() => [g("div", cn, [
|
|
6415
|
+
footer: A(() => [g("div", cn, [ve.value.length > 0 ? (c(), f("div", ln, [(c(!0), f(y, null, m(ve.value, (e) => (c(), f("div", {
|
|
6416
6416
|
key: e.id,
|
|
6417
6417
|
class: "konnectio-template-selection-item"
|
|
6418
6418
|
}, [g("div", un, [g("span", dn, w(e.title), 1), g("span", fn, w(_(R)(e.totalPrice, _(x))), 1)]), g("div", pn, [(c(!0), f(y, null, m(e.units, (e, n) => (c(), f("span", {
|
|
@@ -6422,10 +6422,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6422
6422
|
r(w(_(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(_(t)("availability.adults")) + " ", 1),
|
|
6423
6423
|
e.children > 0 ? (c(), f(y, { key: 0 }, [r(" , " + w(e.children) + " " + w(_(t)("availability.children")), 1)], 64)) : a("", !0),
|
|
6424
6424
|
r(" · " + w(_(R)(e.price, _(x))), 1)
|
|
6425
|
-
]))), 128))])]))), 128))])) : a("", !0), C(
|
|
6426
|
-
onClickEvent:
|
|
6427
|
-
label: `${
|
|
6428
|
-
disabled:
|
|
6425
|
+
]))), 128))])]))), 128))])) : a("", !0), C(Ae, {
|
|
6426
|
+
onClickEvent: I,
|
|
6427
|
+
label: `${_e() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(R)(he(), _(x))})`,
|
|
6428
|
+
disabled: _e() === 0,
|
|
6429
6429
|
"full-width": ""
|
|
6430
6430
|
}, null, 8, ["label", "disabled"])])]),
|
|
6431
6431
|
default: A(() => [g("div", Q, [g("div", an, [(c(!0), f(y, null, m(j.value, (e) => (c(), o(ze, {
|
|
@@ -6440,7 +6440,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6440
6440
|
"includes-breakfast": !1,
|
|
6441
6441
|
"hide-info-button": !0
|
|
6442
6442
|
}, {
|
|
6443
|
-
action: A(() => [g("div", on, [g("div",
|
|
6443
|
+
action: A(() => [g("div", on, [g("div", $, [C(De, {
|
|
6444
6444
|
modelValue: k[e.id].units,
|
|
6445
6445
|
"onUpdate:modelValue": (t) => k[e.id].units = t,
|
|
6446
6446
|
label: _(t)("booking.availability.units"),
|
|
@@ -6458,7 +6458,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6458
6458
|
])]), (c(!0), f(y, null, m(k[e.id].configs, (n, r) => (c(), f("div", {
|
|
6459
6459
|
key: r,
|
|
6460
6460
|
class: "konnectio-template-room-unit-config"
|
|
6461
|
-
}, [g("div",
|
|
6461
|
+
}, [g("div", sn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(R)(me(e.id, r), _(x))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(ae)(_(l)) }]) }, [C(De, {
|
|
6462
6462
|
modelValue: n.adults,
|
|
6463
6463
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6464
6464
|
label: _(t)("availability.adults"),
|
|
@@ -6519,7 +6519,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6519
6519
|
callback: { type: Function }
|
|
6520
6520
|
},
|
|
6521
6521
|
setup(e) {
|
|
6522
|
-
let { t } = v(), n = e, { isSearchOutdated: r } = T(
|
|
6522
|
+
let { t } = v(), n = e, { isSearchOutdated: r } = T(ge()), i = M(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = P(!1);
|
|
6523
6523
|
function s() {
|
|
6524
6524
|
a.value = !0;
|
|
6525
6525
|
}
|
|
@@ -6532,12 +6532,12 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6532
6532
|
name: e.name,
|
|
6533
6533
|
description: e.description,
|
|
6534
6534
|
gallery: e.images,
|
|
6535
|
-
layout: _(
|
|
6535
|
+
layout: _(se).Template,
|
|
6536
6536
|
"includes-breakfast": !1,
|
|
6537
6537
|
"hide-info-button": !1,
|
|
6538
6538
|
"prices-from": i.value
|
|
6539
6539
|
}, {
|
|
6540
|
-
action: A(() => [g("div", hn, [C(
|
|
6540
|
+
action: A(() => [g("div", hn, [C(Ae, {
|
|
6541
6541
|
onClickEvent: s,
|
|
6542
6542
|
label: _(t)("booking.availability.selectPackage"),
|
|
6543
6543
|
"full-width": "",
|
|
@@ -6583,7 +6583,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6583
6583
|
roomGroups: {}
|
|
6584
6584
|
},
|
|
6585
6585
|
setup(e) {
|
|
6586
|
-
let { t } = v(), { updateDates: n } = ce(), { display: r } =
|
|
6586
|
+
let { t } = v(), { updateDates: n } = ce(), { display: r } = he(), i = e, a = P([]), s = M(() => ve(i.fromDate, i.toDate) === 1);
|
|
6587
6587
|
function u() {
|
|
6588
6588
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6589
6589
|
message: t("alert.error.selectDates"),
|
|
@@ -6598,7 +6598,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6598
6598
|
name: e.name,
|
|
6599
6599
|
description: e.description,
|
|
6600
6600
|
gallery: e.images,
|
|
6601
|
-
layout: _(
|
|
6601
|
+
layout: _(se).Template,
|
|
6602
6602
|
"includes-breakfast": !1,
|
|
6603
6603
|
"hide-info-button": !1,
|
|
6604
6604
|
"to-date": e.toDate,
|
|
@@ -6626,7 +6626,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6626
6626
|
"min-date",
|
|
6627
6627
|
"max-date",
|
|
6628
6628
|
"readonly"
|
|
6629
|
-
]), g("div", vn, [C(
|
|
6629
|
+
]), g("div", vn, [C(Ae, {
|
|
6630
6630
|
label: _(t)("availability.buttonLabel"),
|
|
6631
6631
|
onClick: j(u, ["prevent"])
|
|
6632
6632
|
}, null, 8, ["label"])])])]),
|
|
@@ -6781,7 +6781,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6781
6781
|
},
|
|
6782
6782
|
emits: ["update:modelValue", "update:title"],
|
|
6783
6783
|
setup(e, { emit: t }) {
|
|
6784
|
-
let n = e, r = t, i = n.id ||
|
|
6784
|
+
let n = e, r = t, i = n.id || de(), u = P(""), d = P(2);
|
|
6785
6785
|
function f() {
|
|
6786
6786
|
r("update:modelValue", u.value);
|
|
6787
6787
|
}
|
|
@@ -6791,7 +6791,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6791
6791
|
let { t: p } = v();
|
|
6792
6792
|
return l(() => {
|
|
6793
6793
|
n.modelValue && (u.value = n.modelValue), n.title && (d.value = n.title);
|
|
6794
|
-
}), (t, n) => (c(), o(
|
|
6794
|
+
}), (t, n) => (c(), o(Se, {
|
|
6795
6795
|
label: e.label,
|
|
6796
6796
|
id: _(i),
|
|
6797
6797
|
required: e.required,
|
|
@@ -6803,7 +6803,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6803
6803
|
key: 0,
|
|
6804
6804
|
modelValue: d.value,
|
|
6805
6805
|
"onUpdate:modelValue": n[0] ||= (e) => d.value = e,
|
|
6806
|
-
id: _(
|
|
6806
|
+
id: _(de)(),
|
|
6807
6807
|
icon: e.icon,
|
|
6808
6808
|
"icon-color": e.iconColor,
|
|
6809
6809
|
"icon-type": e.iconType,
|
|
@@ -6953,7 +6953,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6953
6953
|
__name: "Hotel",
|
|
6954
6954
|
props: {
|
|
6955
6955
|
accessToken: {},
|
|
6956
|
-
headerLayout: { default:
|
|
6956
|
+
headerLayout: { default: _e.Minimal },
|
|
6957
6957
|
onlyShow: { default: "everything" },
|
|
6958
6958
|
hideAddons: { default: "no" },
|
|
6959
6959
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6970,7 +6970,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6970
6970
|
styling: {}
|
|
6971
6971
|
},
|
|
6972
6972
|
setup(e) {
|
|
6973
|
-
let t = u(() => import("./_-
|
|
6973
|
+
let t = u(() => import("./_-DYoQFY32.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: ne, isReservationFormFilled: S, travelingFor: ie, arrivalTime: ae, departureTime: E, name: oe, nameTitle: D, email: O, phone: k, firmName: j, postal: P, city: F, address: se, country: de, remark: _e, allergies: ve, roomSelect: I, roomDisplay: xe, hasValidRoomSelection: Se, availabilityData: z, selectionHasNoAddons: ke, isAvailabilityDataAvailable: je, getSelectedPackageRooms: Me, selectedPackage: Pe, isSearchOutdated: Fe, isTemplateReservation: Ie, newsMails: ze, adultsMismatch: Be, childrenMismatch: Ve, totalAdults: We, totalChildren: Ge, hasGuestDiscountId: V, hasGuestDiscountCode: Ye, guestDiscountId: Xe, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = T(ge()), { adults: ct, children: lt, location: ut, arrivalDate: dt, departureDate: ft, hasHotelLocations: pt } = T(ce()), { isValidHotelId: mt, updateDates: ht } = ce(), { currency: _t, enableTracking: vt, disableNamePrefix: yt, disableTravelingFor: H, disableTravelingForBleasure: U, disableCompanyField: bt, hasPaymentGateway: xt, maxAdultAmount: St, maxChildAmount: Ct, defaultAdultAmount: W, defaultChildAmount: G, disableNewsletterSignup: wt, hasActiveIdFilter: Tt, hotelSettings: K } = T(ue()), { hasArrivalDepartureInputs: Et, hasUserArrivalSelection: Dt, hasUserDepartureSelection: Ot, earliestArrivalTime: q, latestArrivalTime: kt, earliestDepartureTime: At, latestDepartureTime: jt, setActiveIdFilter: Mt, clearActiveIdFilter: Nt } = ue(), { beginCheckout: Ft } = le(), { display: It } = he(), { createReservation: Lt, fetchMetadata: zt, fetchAvailabilityData: Bt, filterAddons: Vt, hasAvailableRoomAddons: J, checkGuestDiscount: Ut, setGuestDiscountCode: Y, validateMemberCard: Wt, onOverviewReset: Gt, validateDiscountCode: Kt } = ge(), qt = M(() => n.sortOrder === "desc"), X = M(() => [
|
|
6974
6974
|
{
|
|
6975
6975
|
id: "availability",
|
|
6976
6976
|
label: i("booking.availability.title"),
|
|
@@ -6995,7 +6995,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
6995
6995
|
label: i("booking.confirmation.title"),
|
|
6996
6996
|
icon: "calendar-check"
|
|
6997
6997
|
}
|
|
6998
|
-
]),
|
|
6998
|
+
]), Jt = M(() => {
|
|
6999
6999
|
let e = [{
|
|
7000
7000
|
label: i("booking.reservation.business"),
|
|
7001
7001
|
value: "Business"
|
|
@@ -7003,102 +7003,101 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7003
7003
|
label: i("booking.reservation.pleasure"),
|
|
7004
7004
|
value: "Pleasure"
|
|
7005
7005
|
}];
|
|
7006
|
-
return
|
|
7006
|
+
return U.value || e.push({
|
|
7007
7007
|
label: i("booking.reservation.bleasure"),
|
|
7008
7008
|
value: "Bleasure"
|
|
7009
7009
|
}), e;
|
|
7010
|
-
}),
|
|
7010
|
+
}), Yt = M(() => {
|
|
7011
7011
|
let e = z.value.roomGroups.slice();
|
|
7012
7012
|
function t(e, t) {
|
|
7013
|
-
return
|
|
7013
|
+
return qt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7014
7014
|
}
|
|
7015
7015
|
return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
7016
7016
|
});
|
|
7017
|
-
function
|
|
7017
|
+
function Z(e) {
|
|
7018
7018
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7019
7019
|
}
|
|
7020
|
-
let
|
|
7020
|
+
let Xt = M(() => {
|
|
7021
7021
|
let e = z.value.templates.slice();
|
|
7022
7022
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7023
|
-
let n =
|
|
7024
|
-
return
|
|
7023
|
+
let n = Z(e), r = Z(t);
|
|
7024
|
+
return qt.value ? r - n : n - r;
|
|
7025
7025
|
}), e;
|
|
7026
|
-
}),
|
|
7026
|
+
}), Zt = M(() => {
|
|
7027
7027
|
let e = z.value.specialTemplates.slice();
|
|
7028
7028
|
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7029
|
-
let n =
|
|
7030
|
-
return
|
|
7029
|
+
let n = Z(e), r = Z(t);
|
|
7030
|
+
return qt.value ? r - n : n - r;
|
|
7031
7031
|
}), e;
|
|
7032
|
-
}),
|
|
7033
|
-
function
|
|
7032
|
+
}), Qt = M(() => n.hideAddons === "yes" || Ie.value && n.hideAddons === "packages" || !Ie.value && n.hideAddons === "rooms");
|
|
7033
|
+
function $t(e) {
|
|
7034
7034
|
let t = $.discount;
|
|
7035
|
-
t ? (
|
|
7035
|
+
t ? (ot.value = t, Kt()) : Ye.value && !st.value && (ot.value = Qe.value, Kt()), e();
|
|
7036
7036
|
}
|
|
7037
|
-
function
|
|
7038
|
-
|
|
7037
|
+
function en(e) {
|
|
7038
|
+
Qt.value || ke.value ? e(2) : e();
|
|
7039
7039
|
}
|
|
7040
|
-
async function
|
|
7041
|
-
await
|
|
7040
|
+
async function tn(e, t) {
|
|
7041
|
+
await Lt(e, t);
|
|
7042
7042
|
}
|
|
7043
|
-
function
|
|
7044
|
-
if ((
|
|
7045
|
-
|
|
7043
|
+
function nn() {
|
|
7044
|
+
if ((ut.value === void 0 || isNaN(ut.value)) && pt.value) {
|
|
7045
|
+
It({
|
|
7046
7046
|
message: i("alert.error.selectHotelId"),
|
|
7047
7047
|
type: "error"
|
|
7048
7048
|
});
|
|
7049
7049
|
return;
|
|
7050
7050
|
}
|
|
7051
|
-
|
|
7051
|
+
Bt();
|
|
7052
7052
|
}
|
|
7053
|
-
function
|
|
7054
|
-
let e =
|
|
7055
|
-
|
|
7053
|
+
function Q() {
|
|
7054
|
+
let e = we("history", { removeNullishValues: !0 });
|
|
7055
|
+
Nt(), e.id = void 0, Bt();
|
|
7056
7056
|
}
|
|
7057
|
-
function
|
|
7058
|
-
|
|
7057
|
+
function an(e) {
|
|
7058
|
+
vt.value && Ft(), Ye.value && !st.value && (ot.value = Qe.value, Kt()), Qt.value || ke.value ? e(2) : e();
|
|
7059
7059
|
}
|
|
7060
|
-
function
|
|
7061
|
-
let e =
|
|
7062
|
-
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 &&
|
|
7060
|
+
function on() {
|
|
7061
|
+
let e = ut.value;
|
|
7062
|
+
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && K.value[e] && (K.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (K.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (K.value[e].departureDefault = n.forceDepartureTime));
|
|
7063
7063
|
}
|
|
7064
|
-
let $ =
|
|
7065
|
-
async function
|
|
7066
|
-
|
|
7064
|
+
let $ = we("history", { removeNullishValues: !0 });
|
|
7065
|
+
async function sn() {
|
|
7066
|
+
on();
|
|
7067
7067
|
let e = parseInt($.a), t = parseInt($.c), r = parseInt($.hid), a = parseInt($.n), o = $.ci, s = $.co, c = $.id, u = parseInt($.gid), d = $.discount, f = !1;
|
|
7068
|
-
if (isNaN(e) || (e >
|
|
7068
|
+
if (isNaN(e) || (e > St.value ? ct.value = St.value : ct.value = e, ct.value === W.value && ($.a = void 0)), isNaN(t) || (t > Ct.value ? lt.value = Ct.value : lt.value = t, lt.value === G.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (mt(r) ? (ut.value = r, f = !0) : ($.hid = void 0, It({
|
|
7069
7069
|
message: i("alert.error.hotelIdNotFound"),
|
|
7070
7070
|
type: "error"
|
|
7071
|
-
}))), o && s) if (
|
|
7071
|
+
}))), o && s) if (ye(o) && ye(s)) {
|
|
7072
7072
|
let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
|
|
7073
|
-
e <= t ? (
|
|
7073
|
+
e <= t ? (dt.value = e, ft.value = t) : ($.ci = void 0, $.co = void 0, It({
|
|
7074
7074
|
message: i("alert.error.invalidDateRange"),
|
|
7075
7075
|
type: "error"
|
|
7076
7076
|
}));
|
|
7077
|
-
} else
|
|
7077
|
+
} else It({
|
|
7078
7078
|
message: i("alert.error.wrongDateFormat"),
|
|
7079
7079
|
type: "error"
|
|
7080
7080
|
});
|
|
7081
|
-
if (c &&
|
|
7082
|
-
await
|
|
7081
|
+
if (c && Mt(c), u) {
|
|
7082
|
+
await Ut(u) || delete $.gid;
|
|
7083
7083
|
return;
|
|
7084
7084
|
}
|
|
7085
|
-
d &&
|
|
7085
|
+
d && Y(d), n.disableDefaultLocation === "yes" && f === !1 ? (ut.value = void 0, l.value = NaN) : Bt();
|
|
7086
7086
|
}
|
|
7087
|
-
return (n, u) => (c(), o(
|
|
7088
|
-
default: A(() => [(c(), o(N, { onResolve:
|
|
7087
|
+
return (n, u) => (c(), o(Ce, { styling: e.styling }, {
|
|
7088
|
+
default: A(() => [(c(), o(N, { onResolve: sn }, {
|
|
7089
7089
|
default: A(() => [C(_(t), {
|
|
7090
7090
|
id: "konnectio-hotel-module",
|
|
7091
7091
|
"access-token": e.accessToken,
|
|
7092
|
-
callback: _(
|
|
7092
|
+
callback: _(zt)
|
|
7093
7093
|
}, {
|
|
7094
7094
|
default: A(() => [
|
|
7095
|
-
b(C(Rt, { onCallback:
|
|
7096
|
-
b(C(Ht, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(
|
|
7095
|
+
b(C(Rt, { onCallback: sn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(V)]]),
|
|
7096
|
+
b(C(Ht, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Ye)]]),
|
|
7097
7097
|
b(C(Ue, {
|
|
7098
7098
|
layout: e.headerLayout,
|
|
7099
|
-
steps:
|
|
7100
|
-
|
|
7101
|
-
onReset: _(Kt)
|
|
7099
|
+
steps: X.value,
|
|
7100
|
+
onReset: _(Gt)
|
|
7102
7101
|
}, {
|
|
7103
7102
|
availability: A(({ next: t }) => [C(Pt, {
|
|
7104
7103
|
"show-remove-room": !0,
|
|
@@ -7115,19 +7114,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7115
7114
|
"disable-default-location",
|
|
7116
7115
|
"hide-locations"
|
|
7117
7116
|
])]),
|
|
7118
|
-
_(
|
|
7119
|
-
_(
|
|
7120
|
-
_(
|
|
7117
|
+
_(V) ? (c(), f("div", An, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Ze) ? _(Ze) : _(Xe)}</b>` }) }, null, 8, jn)])) : a("", !0),
|
|
7118
|
+
_(Ye) ? (c(), f("div", Mn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe)}</b>` }) }, null, 8, Nn)])) : a("", !0),
|
|
7119
|
+
_(Tt) ? (c(), f("div", Pn, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
|
|
7121
7120
|
class: "link",
|
|
7122
|
-
onClick: u[0] ||= (e) =>
|
|
7121
|
+
onClick: u[0] ||= (e) => Q()
|
|
7123
7122
|
}, w(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
|
|
7124
7123
|
a("", !0),
|
|
7125
|
-
!_(te) && _(je) ? (c(), f("div", Fn, [
|
|
7124
|
+
!_(te) && _(je) ? (c(), f("div", Fn, [Yt.value.camping && Yt.value.camping.length > 0 && e.onlyShow !== "non-camping" || Yt.value.rooms && Yt.value.rooms.length > 0 || _(z).templates.length > 0 || _(z).specialTemplates.length > 0 && !_(Tt) ? (c(), f("div", In, [
|
|
7126
7125
|
_(z).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div", Ln, [e.onlyShow === "packages" ? a("", !0) : (c(), f("h2", Rn, [C(B, {
|
|
7127
7126
|
icon: "box",
|
|
7128
7127
|
type: "fal",
|
|
7129
7128
|
color: "header"
|
|
7130
|
-
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", zn, [(c(!0), f(y, null, m(
|
|
7129
|
+
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", zn, [(c(!0), f(y, null, m(Xt.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(gn, {
|
|
7131
7130
|
key: n,
|
|
7132
7131
|
id: n,
|
|
7133
7132
|
description: s,
|
|
@@ -7147,28 +7146,28 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7147
7146
|
"callback",
|
|
7148
7147
|
"hide-addons"
|
|
7149
7148
|
]))), 128))])])) : a("", !0),
|
|
7150
|
-
_(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Bn, [
|
|
7149
|
+
_(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Bn, [Yt.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(z).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Vn, [C(B, {
|
|
7151
7150
|
icon: "house",
|
|
7152
7151
|
type: "fal",
|
|
7153
7152
|
color: "header"
|
|
7154
|
-
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Hn, [(c(!0), f(y, null, m(
|
|
7153
|
+
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Hn, [(c(!0), f(y, null, m(Yt.value.rooms, (e, n) => (c(), o(rn, {
|
|
7155
7154
|
room: e,
|
|
7156
7155
|
key: n,
|
|
7157
7156
|
callback: t
|
|
7158
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0),
|
|
7157
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), Yt.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(z).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Un, [C(B, {
|
|
7159
7158
|
icon: "map-location-dot",
|
|
7160
7159
|
type: "fal",
|
|
7161
7160
|
color: "header"
|
|
7162
|
-
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", Wn, [(c(!0), f(y, null, m(
|
|
7161
|
+
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", Wn, [(c(!0), f(y, null, m(Yt.value.camping, (e, n) => (c(), o(rn, {
|
|
7163
7162
|
room: e,
|
|
7164
7163
|
key: n,
|
|
7165
7164
|
callback: t
|
|
7166
7165
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0)])) : a("", !0),
|
|
7167
|
-
_(
|
|
7166
|
+
_(Tt) ? a("", !0) : (c(), f(y, { key: 2 }, [_(z).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("div", Gn, [g("h2", Kn, [C(B, {
|
|
7168
7167
|
icon: "sparkles",
|
|
7169
7168
|
type: "fal",
|
|
7170
7169
|
color: "header"
|
|
7171
|
-
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", qn, [(c(!0), f(y, null, m(
|
|
7170
|
+
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", qn, [(c(!0), f(y, null, m(Zt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(yn, {
|
|
7172
7171
|
key: e,
|
|
7173
7172
|
id: e,
|
|
7174
7173
|
description: i,
|
|
@@ -7206,11 +7205,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7206
7205
|
icon: "money-bill",
|
|
7207
7206
|
type: "fal",
|
|
7208
7207
|
color: "header"
|
|
7209
|
-
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(R)(e.priceStartFrom, _(
|
|
7210
|
-
C(
|
|
7208
|
+
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(R)(e.priceStartFrom, _(_t))), 1)])]),
|
|
7209
|
+
C(Ae, {
|
|
7211
7210
|
label: _(i)("booking.availability.selectDates"),
|
|
7212
7211
|
"full-width": "",
|
|
7213
|
-
onClickEvent: (t) => _(
|
|
7212
|
+
onClickEvent: (t) => _(ht)(new Date(e.fromDate), new Date(e.toDate))
|
|
7214
7213
|
}, null, 8, ["label", "onClickEvent"])
|
|
7215
7214
|
]))), 128))])
|
|
7216
7215
|
])) : (c(), f("div", nr, [g("span", null, w(_(i)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(_(l)) && !_(te) ? (c(), f("div", rr, [g("span", null, w(_(i)("alert.info.selectHotelToStart")), 1)])) : (c(), f("div", ir, [
|
|
@@ -7220,18 +7219,18 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7220
7219
|
]))
|
|
7221
7220
|
])]),
|
|
7222
7221
|
navigation: A(() => [
|
|
7223
|
-
_(Fe) ? (c(), o(
|
|
7222
|
+
_(Fe) ? (c(), o(Ae, {
|
|
7224
7223
|
key: 0,
|
|
7225
7224
|
label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
|
|
7226
7225
|
"is-loading": _(te),
|
|
7227
7226
|
"full-width": "",
|
|
7228
|
-
onClickEvent: u[2] ||= (e) =>
|
|
7229
|
-
}, null, 8, ["label", "is-loading"])) : (c(), o(
|
|
7227
|
+
onClickEvent: u[2] ||= (e) => nn()
|
|
7228
|
+
}, null, 8, ["label", "is-loading"])) : (c(), o(Ae, {
|
|
7230
7229
|
key: 1,
|
|
7231
|
-
label: _(
|
|
7232
|
-
disabled: !_(
|
|
7230
|
+
label: _(ke) || Qt.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
|
|
7231
|
+
disabled: !_(Se),
|
|
7233
7232
|
"full-width": "",
|
|
7234
|
-
onClickEvent: (e) =>
|
|
7233
|
+
onClickEvent: (e) => an(t)
|
|
7235
7234
|
}, null, 8, [
|
|
7236
7235
|
"label",
|
|
7237
7236
|
"disabled",
|
|
@@ -7241,22 +7240,22 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7241
7240
|
icon: "exclamation-triangle",
|
|
7242
7241
|
type: "fas"
|
|
7243
7242
|
}), g("span", null, w(_(i)("hotel.mismatchingAdults", {
|
|
7244
|
-
searchAdults: _(
|
|
7245
|
-
selectedAdults: _(
|
|
7246
|
-
})), 1)], 512), [[re, _(
|
|
7243
|
+
searchAdults: _(ct),
|
|
7244
|
+
selectedAdults: _(We)
|
|
7245
|
+
})), 1)], 512), [[re, _(Be)]]),
|
|
7247
7246
|
b(g("span", or, [C(B, {
|
|
7248
7247
|
icon: "exclamation-triangle",
|
|
7249
7248
|
type: "fas"
|
|
7250
7249
|
}), g("span", null, w(_(i)("hotel.mismatchingChildren", {
|
|
7251
|
-
searchChildren: _(
|
|
7252
|
-
selectedChildren: _(
|
|
7253
|
-
})), 1)], 512), [[re, _(
|
|
7250
|
+
searchChildren: _(lt),
|
|
7251
|
+
selectedChildren: _(Ge)
|
|
7252
|
+
})), 1)], 512), [[re, _(Ve)]])
|
|
7254
7253
|
]),
|
|
7255
7254
|
_: 2
|
|
7256
7255
|
}, 1024)]),
|
|
7257
7256
|
addons: A(({ next: e, prev: t }) => [_(je) ? (c(), o(Pt, {
|
|
7258
7257
|
key: 0,
|
|
7259
|
-
"prev-callback": () =>
|
|
7258
|
+
"prev-callback": () => en(t)
|
|
7260
7259
|
}, {
|
|
7261
7260
|
form: A(() => [g("form", sr, [
|
|
7262
7261
|
g("h2", null, [g("span", null, w(_(i)("booking.reservation.addons")), 1)]),
|
|
@@ -7264,11 +7263,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7264
7263
|
innerHTML: _(i)("hotel.addonTopNotice"),
|
|
7265
7264
|
class: "konnectio-wysiwyg"
|
|
7266
7265
|
}, null, 8, lr)])) : a("", !0),
|
|
7267
|
-
g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(
|
|
7266
|
+
g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(xe), (e) => (c(), f(y, { key: e.roomGroupID }, [_(J)(e) ? (c(), f("ul", dr, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, w(_(fe)(e.title)), 1)]), (c(!0), f(y, null, m(t.rooms, (r, i) => (c(), f("table", {
|
|
7268
7267
|
key: i,
|
|
7269
7268
|
class: "konnectio-table with-lines without-header"
|
|
7270
7269
|
}, [g("thead", null, [g("tr", null, [
|
|
7271
|
-
g("th", null, [g("span", null, w(_(
|
|
7270
|
+
g("th", null, [g("span", null, w(_(fe)(t.name)), 1)]),
|
|
7272
7271
|
a("", !0),
|
|
7273
7272
|
g("th", fr, [g("b", null, [
|
|
7274
7273
|
C(B, {
|
|
@@ -7285,17 +7284,17 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7285
7284
|
})) : a("", !0),
|
|
7286
7285
|
r.childrenCount > 0 ? (c(), f("span", pr, w(r.childrenCount), 1)) : a("", !0)
|
|
7287
7286
|
])])
|
|
7288
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7287
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Vt)(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: l, id: u, name: d, price: p, image: m, description: h }) => (c(), f("tr", { key: u }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", mr, [C(_(gt), {
|
|
7289
7288
|
src: m,
|
|
7290
7289
|
"zoom-scale": 1
|
|
7291
7290
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7292
|
-
g("b", null, w(_(
|
|
7293
|
-
g("span", null, w(_(R)(p, _(
|
|
7291
|
+
g("b", null, w(_(fe)(d)), 1),
|
|
7292
|
+
g("span", null, w(_(R)(p, _(_t))) + " " + w(_(be)(i)), 1),
|
|
7294
7293
|
h ? (c(), f("p", {
|
|
7295
7294
|
key: 0,
|
|
7296
|
-
innerHTML: _(
|
|
7295
|
+
innerHTML: _(me)(h)
|
|
7297
7296
|
}, null, 8, hr)) : a("", !0)
|
|
7298
|
-
])], 2), g("td", gr, [_(
|
|
7297
|
+
])], 2), g("td", gr, [_(I)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(Oe).Mandatory ? (c(), o(De, {
|
|
7299
7298
|
key: 0,
|
|
7300
7299
|
"model-value": 1,
|
|
7301
7300
|
small: !0,
|
|
@@ -7304,8 +7303,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7304
7303
|
readonly: ""
|
|
7305
7304
|
})) : (c(), o(De, {
|
|
7306
7305
|
key: 1,
|
|
7307
|
-
modelValue: _(
|
|
7308
|
-
"onUpdate:modelValue": (t) => _(
|
|
7306
|
+
modelValue: _(I)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
|
|
7307
|
+
"onUpdate:modelValue": (t) => _(I)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
|
|
7309
7308
|
small: !0,
|
|
7310
7309
|
"min-value": 0,
|
|
7311
7310
|
"max-value": l || Infinity
|
|
@@ -7317,20 +7316,20 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7317
7316
|
key: t,
|
|
7318
7317
|
class: "konnectio-table with-lines without-header"
|
|
7319
7318
|
}, [g("thead", null, [g("tr", null, [
|
|
7320
|
-
g("th", null, [g("span", null, w(_(
|
|
7319
|
+
g("th", null, [g("span", null, w(_(fe)(_(Me).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(h).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", vr, "(" + w(_(i)("booking.reservation.room")) + " " + w(_(h).slice(0, t + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
|
|
7321
7320
|
a("", !0),
|
|
7322
7321
|
u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7323
|
-
])]), g("tbody", null, [(c(!0), f(y, null, m(_(
|
|
7322
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Vt)(_(Me).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: l, price: u, description: d, image: m }) => (c(), f("tr", { key: i }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", yr, [C(_(gt), {
|
|
7324
7323
|
src: m,
|
|
7325
7324
|
"zoom-scale": 1
|
|
7326
7325
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7327
|
-
g("b", null, w(_(
|
|
7328
|
-
g("span", null, w(_(R)(u, _(
|
|
7326
|
+
g("b", null, w(_(fe)(l)), 1),
|
|
7327
|
+
g("span", null, w(_(R)(u, _(_t))) + " " + w(_(be)(n)), 1),
|
|
7329
7328
|
d ? (c(), f("p", {
|
|
7330
7329
|
key: 0,
|
|
7331
|
-
innerHTML: _(
|
|
7330
|
+
innerHTML: _(me)(d)
|
|
7332
7331
|
}, null, 8, br)) : a("", !0)
|
|
7333
|
-
])], 2), g("td", xr, [t === _(
|
|
7332
|
+
])], 2), g("td", xr, [t === _(Oe).Mandatory ? (c(), o(De, {
|
|
7334
7333
|
key: 0,
|
|
7335
7334
|
"model-value": 1,
|
|
7336
7335
|
small: !0,
|
|
@@ -7350,16 +7349,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7350
7349
|
"max-value"
|
|
7351
7350
|
]))])]))), 128))])]))), 128))])])) : a("", !0)])
|
|
7352
7351
|
])]),
|
|
7353
|
-
navigation: A(() => [C(
|
|
7352
|
+
navigation: A(() => [C(Ae, {
|
|
7354
7353
|
label: _(i)("general.startReservation"),
|
|
7355
7354
|
"full-width": "",
|
|
7356
|
-
onClickEvent: (t) =>
|
|
7355
|
+
onClickEvent: (t) => $t(e)
|
|
7357
7356
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7358
7357
|
_: 2
|
|
7359
7358
|
}, 1032, ["prev-callback"])) : a("", !0)]),
|
|
7360
7359
|
reservation: A(({ next: t, prev: n, reset: r }) => [_(je) ? (c(), o(Pt, {
|
|
7361
7360
|
key: 0,
|
|
7362
|
-
"prev-callback": () =>
|
|
7361
|
+
"prev-callback": () => en(n),
|
|
7363
7362
|
"show-terms-notice": !0,
|
|
7364
7363
|
"show-gift-card": !0
|
|
7365
7364
|
}, {
|
|
@@ -7369,29 +7368,29 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7369
7368
|
innerHTML: _(i)("hotel.reservationTopNotice"),
|
|
7370
7369
|
class: "konnectio-wysiwyg"
|
|
7371
7370
|
}, null, 8, wr)])) : a("", !0),
|
|
7372
|
-
_(
|
|
7371
|
+
_(Et)(_(l)) && _(Dt)(_(l)) && _(Ot)(_(l)) ? (c(), f("ul", {
|
|
7373
7372
|
key: 1,
|
|
7374
|
-
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(
|
|
7375
|
-
}, [_(
|
|
7373
|
+
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Dt)(_(l)) && _(Ot)(_(l)) }])
|
|
7374
|
+
}, [_(Dt)(_(l)) ? (c(), f("li", Tr, [C(bn, {
|
|
7376
7375
|
modelValue: _(ae),
|
|
7377
7376
|
"onUpdate:modelValue": u[3] ||= (e) => x(ae) ? ae.value = e : null,
|
|
7378
7377
|
label: _(i)("booking.reservation.arrivalTime"),
|
|
7379
7378
|
icon: "hourglass-start",
|
|
7380
|
-
"min-time": _(
|
|
7381
|
-
"max-time": _(
|
|
7379
|
+
"min-time": _(q)(_(l)),
|
|
7380
|
+
"max-time": _(kt)(_(l)),
|
|
7382
7381
|
required: ""
|
|
7383
7382
|
}, null, 8, [
|
|
7384
7383
|
"modelValue",
|
|
7385
7384
|
"label",
|
|
7386
7385
|
"min-time",
|
|
7387
7386
|
"max-time"
|
|
7388
|
-
])])) : a("", !0), _(
|
|
7387
|
+
])])) : a("", !0), _(Ot)(_(l)) ? (c(), f("li", Er, [C(bn, {
|
|
7389
7388
|
modelValue: _(E),
|
|
7390
7389
|
"onUpdate:modelValue": u[4] ||= (e) => x(E) ? E.value = e : null,
|
|
7391
7390
|
label: _(i)("booking.reservation.departureTime"),
|
|
7392
7391
|
icon: "hourglass-end",
|
|
7393
|
-
"min-time": _(
|
|
7394
|
-
"max-time": _(
|
|
7392
|
+
"min-time": _(At)(_(l)),
|
|
7393
|
+
"max-time": _(jt)(_(l)),
|
|
7395
7394
|
required: ""
|
|
7396
7395
|
}, null, 8, [
|
|
7397
7396
|
"modelValue",
|
|
@@ -7404,7 +7403,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7404
7403
|
"onUpdate:modelValue": u[5] ||= (e) => x(oe) ? oe.value = e : null,
|
|
7405
7404
|
title: _(D),
|
|
7406
7405
|
"onUpdate:title": u[6] ||= (e) => x(D) ? D.value = e : null,
|
|
7407
|
-
"exclude-title": _(
|
|
7406
|
+
"exclude-title": _(yt),
|
|
7408
7407
|
label: _(i)("booking.reservation.name"),
|
|
7409
7408
|
icon: "user-alt",
|
|
7410
7409
|
placeholder: _(i)("booking.reservation.namePlaceholder"),
|
|
@@ -7432,14 +7431,14 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7432
7431
|
"label",
|
|
7433
7432
|
"placeholder"
|
|
7434
7433
|
]),
|
|
7435
|
-
_(
|
|
7436
|
-
modelValue: _(
|
|
7437
|
-
"onUpdate:modelValue": u[8] ||= (e) => x(
|
|
7434
|
+
_(wt) ? a("", !0) : (c(), f("div", Dr, [C(qe, {
|
|
7435
|
+
modelValue: _(ze),
|
|
7436
|
+
"onUpdate:modelValue": u[8] ||= (e) => x(ze) ? ze.value = e : null,
|
|
7438
7437
|
type: "checkbox",
|
|
7439
7438
|
name: "newsletter",
|
|
7440
7439
|
label: _(i)("booking.reservation.newsletterSignUp")
|
|
7441
7440
|
}, null, 8, ["modelValue", "label"])])),
|
|
7442
|
-
_(
|
|
7441
|
+
_(bt) ? a("", !0) : (c(), o(Te, {
|
|
7443
7442
|
key: 3,
|
|
7444
7443
|
modelValue: _(j),
|
|
7445
7444
|
"onUpdate:modelValue": u[9] ||= (e) => x(j) ? j.value = e : null,
|
|
@@ -7467,8 +7466,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7467
7466
|
"placeholder"
|
|
7468
7467
|
]),
|
|
7469
7468
|
C(Sn, {
|
|
7470
|
-
modelValue: _(
|
|
7471
|
-
"onUpdate:modelValue": u[11] ||= (e) => x(
|
|
7469
|
+
modelValue: _(de),
|
|
7470
|
+
"onUpdate:modelValue": u[11] ||= (e) => x(de) ? de.value = e : null,
|
|
7472
7471
|
label: _(i)("booking.reservation.country"),
|
|
7473
7472
|
placeholder: _(i)("booking.reservation.countryPlaceholder"),
|
|
7474
7473
|
options: _(ee),
|
|
@@ -7525,8 +7524,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7525
7524
|
])])]),
|
|
7526
7525
|
e.hideRemarks === "yes" ? a("", !0) : (c(), o(Te, {
|
|
7527
7526
|
key: 4,
|
|
7528
|
-
modelValue: _(
|
|
7529
|
-
"onUpdate:modelValue": u[15] ||= (e) => x(
|
|
7527
|
+
modelValue: _(_e),
|
|
7528
|
+
"onUpdate:modelValue": u[15] ||= (e) => x(_e) ? _e.value = e : null,
|
|
7530
7529
|
type: "textarea",
|
|
7531
7530
|
label: _(i)("booking.reservation.remark"),
|
|
7532
7531
|
icon: "info-circle",
|
|
@@ -7549,36 +7548,36 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7549
7548
|
"label",
|
|
7550
7549
|
"placeholder"
|
|
7551
7550
|
])),
|
|
7552
|
-
_(
|
|
7551
|
+
_(H) ? a("", !0) : (c(), o(Le, {
|
|
7553
7552
|
key: 6,
|
|
7554
7553
|
modelValue: _(ie),
|
|
7555
7554
|
"onUpdate:modelValue": u[17] ||= (e) => x(ie) ? ie.value = e : null,
|
|
7556
7555
|
label: _(i)("booking.reservation.purposeOfStay"),
|
|
7557
7556
|
name: "travelingFor",
|
|
7558
|
-
checkboxes:
|
|
7557
|
+
checkboxes: Jt.value
|
|
7559
7558
|
}, null, 8, [
|
|
7560
7559
|
"modelValue",
|
|
7561
7560
|
"label",
|
|
7562
7561
|
"checkboxes"
|
|
7563
7562
|
])),
|
|
7564
|
-
_(
|
|
7565
|
-
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(
|
|
7566
|
-
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(
|
|
7567
|
-
_(
|
|
7563
|
+
_($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div", kr, [g("img", { src: _(at)?.iconUrl }, null, 8, Ar), g("ul", jr, [
|
|
7564
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(at)?.shortDescription })), 1)]),
|
|
7565
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(it).cardNumber), 1)]),
|
|
7566
|
+
_(it).controlNr ? (c(), f("li", Mr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(it).controlNr), 1)])) : a("", !0)
|
|
7568
7567
|
])])) : (c(), f(y, { key: 1 }, [C(Le, {
|
|
7569
|
-
modelValue: _(
|
|
7570
|
-
"onUpdate:modelValue": u[18] ||= (e) => x(
|
|
7568
|
+
modelValue: _(tt),
|
|
7569
|
+
"onUpdate:modelValue": u[18] ||= (e) => x(tt) ? tt.value = e : null,
|
|
7571
7570
|
label: _(i)("hotel.memberCards.selectCard"),
|
|
7572
7571
|
name: "memberCard",
|
|
7573
|
-
checkboxes: _(
|
|
7572
|
+
checkboxes: _(et)
|
|
7574
7573
|
}, null, 8, [
|
|
7575
7574
|
"modelValue",
|
|
7576
7575
|
"label",
|
|
7577
7576
|
"checkboxes"
|
|
7578
|
-
]), _(
|
|
7577
|
+
]), _(tt) ? (c(), f("form", Nr, [
|
|
7579
7578
|
C(Te, {
|
|
7580
|
-
modelValue: _(
|
|
7581
|
-
"onUpdate:modelValue": u[19] ||= (e) => x(
|
|
7579
|
+
modelValue: _(rt),
|
|
7580
|
+
"onUpdate:modelValue": u[19] ||= (e) => x(rt) ? rt.value = e : null,
|
|
7582
7581
|
type: "number",
|
|
7583
7582
|
label: _(i)("hotel.memberCards.cardNumber"),
|
|
7584
7583
|
icon: "credit-card",
|
|
@@ -7589,10 +7588,10 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7589
7588
|
"label",
|
|
7590
7589
|
"placeholder"
|
|
7591
7590
|
]),
|
|
7592
|
-
_(
|
|
7591
|
+
_(tt) === _(Ee).FirmaCard ? (c(), o(Te, {
|
|
7593
7592
|
key: 0,
|
|
7594
|
-
modelValue: _(
|
|
7595
|
-
"onUpdate:modelValue": u[20] ||= (e) => x(
|
|
7593
|
+
modelValue: _(nt),
|
|
7594
|
+
"onUpdate:modelValue": u[20] ||= (e) => x(nt) ? nt.value = e : null,
|
|
7596
7595
|
type: "text",
|
|
7597
7596
|
label: _(i)("hotel.memberCards.cardControlNumber"),
|
|
7598
7597
|
icon: "id-card",
|
|
@@ -7603,7 +7602,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7603
7602
|
"label",
|
|
7604
7603
|
"placeholder"
|
|
7605
7604
|
])) : a("", !0),
|
|
7606
|
-
_(
|
|
7605
|
+
_(tt) === _(Ee).DaneAge ? (c(), o(Te, {
|
|
7607
7606
|
key: 1,
|
|
7608
7607
|
modelValue: _(P),
|
|
7609
7608
|
"onUpdate:modelValue": u[21] ||= (e) => x(P) ? P.value = e : null,
|
|
@@ -7619,19 +7618,19 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7619
7618
|
"label",
|
|
7620
7619
|
"placeholder"
|
|
7621
7620
|
])) : a("", !0),
|
|
7622
|
-
C(
|
|
7621
|
+
C(Ae, {
|
|
7623
7622
|
label: _(i)("hotel.memberCards.validateAndSelectCard"),
|
|
7624
7623
|
"full-width": "",
|
|
7625
|
-
onClickEvent: _(
|
|
7624
|
+
onClickEvent: _(Wt)
|
|
7626
7625
|
}, null, 8, ["label", "onClickEvent"])
|
|
7627
7626
|
])) : a("", !0)], 64))], 64)) : a("", !0)
|
|
7628
7627
|
])]),
|
|
7629
|
-
navigation: A(() => [g("div", null, [C(
|
|
7630
|
-
label: _(
|
|
7628
|
+
navigation: A(() => [g("div", null, [C(Ae, {
|
|
7629
|
+
label: _(xt) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
|
|
7631
7630
|
disabled: !_(S),
|
|
7632
7631
|
"is-loading": _(ne),
|
|
7633
7632
|
"full-width": "",
|
|
7634
|
-
onClickEvent: (e) =>
|
|
7633
|
+
onClickEvent: (e) => tn(t, r)
|
|
7635
7634
|
}, null, 8, [
|
|
7636
7635
|
"label",
|
|
7637
7636
|
"disabled",
|
|
@@ -7646,9 +7645,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7646
7645
|
}, 8, [
|
|
7647
7646
|
"layout",
|
|
7648
7647
|
"steps",
|
|
7649
|
-
"initial-step-id",
|
|
7650
7648
|
"onReset"
|
|
7651
|
-
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(
|
|
7649
|
+
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(V)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(Ye))]])
|
|
7652
7650
|
]),
|
|
7653
7651
|
_: 1
|
|
7654
7652
|
}, 8, ["access-token", "callback"])]),
|
|
@@ -7658,7 +7656,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7658
7656
|
_: 1
|
|
7659
7657
|
}, 8, ["styling"]));
|
|
7660
7658
|
}
|
|
7661
|
-
}), [["__scopeId", "data-v-
|
|
7659
|
+
}), [["__scopeId", "data-v-5f3c2dd0"]]);
|
|
7662
7660
|
//#endregion
|
|
7663
7661
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7664
7662
|
function Fr(e, t) {
|