@konnectio/core 4.7.7 → 4.7.9
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-DOQFnJta.js → ActionField-BLUufdat.js} +6 -6
- package/dist/ActionField-BLUufdat.js.br +0 -0
- package/dist/ActionField-BLUufdat.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-nIhak-Uc.js → AvailabilitySkeleton-DlcBMiZx.js} +113 -113
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.br +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.gz +0 -0
- package/dist/{CheckoutWindow-DE2yzGnz.js → CheckoutWindow-BcRZIzMT.js} +7 -7
- package/dist/CheckoutWindow-BcRZIzMT.js.br +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.gz +0 -0
- package/dist/{ErrorMessage-BQ3QCzgM.js → ErrorMessage-C8zkJCJE.js} +7 -7
- package/dist/ErrorMessage-C8zkJCJE.js.br +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.gz +0 -0
- package/dist/{EventAvailabilityForm-B5vpdc8N.js → EventAvailabilityForm-B4sFsGhI.js} +16 -16
- package/dist/EventAvailabilityForm-B4sFsGhI.js.br +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.gz +0 -0
- package/dist/{Field-BRgNjvD3.js → Field-De-fvk85.js} +1 -1
- package/dist/Field-De-fvk85.js.br +0 -0
- package/dist/Field-De-fvk85.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-BgcU8KsZ.js → HotelAvailabilityForm-C8uTiy9J.js} +6 -6
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.br +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.gz +0 -0
- package/dist/{SelectField-CaXEgPcr.js → SelectField-CDAxug6h.js} +3 -3
- package/dist/SelectField-CDAxug6h.js.br +0 -0
- package/dist/{SelectField-CaXEgPcr.js.gz → SelectField-CDAxug6h.js.gz} +0 -0
- package/dist/{TermsOfService-CJFPo6Ld.js → TermsOfService-Dt5Q1SCK.js} +6 -6
- package/dist/TermsOfService-Dt5Q1SCK.js.br +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.gz +0 -0
- package/dist/{_-TrefP0NY.js → _-Be3oAOAc.js} +1 -1
- package/dist/_-Be3oAOAc.js.br +0 -0
- package/dist/_-Be3oAOAc.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/{dist-Cj1zdC8i.js → dist-BPlclb9p.js} +2 -2
- package/dist/dist-BPlclb9p.js.br +0 -0
- package/dist/dist-BPlclb9p.js.gz +0 -0
- package/dist/{dist-DQ2EbDk2.js → dist-C_IilFmu.js} +4 -4
- package/dist/dist-C_IilFmu.js.br +0 -0
- package/dist/dist-C_IilFmu.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-CxI94mQ4.js +104 -0
- package/dist/giftCard-CxI94mQ4.js.br +0 -0
- package/dist/giftCard-CxI94mQ4.js.gz +0 -0
- package/dist/hotel.js +104 -104
- 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-DyffPZ8F.js → style-D9WMflRR.js} +1 -1
- package/dist/style-D9WMflRR.js.br +0 -0
- package/dist/style-D9WMflRR.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 +11 -11
- package/dist-wix/hotel.js +2 -2
- package/package.json +1 -1
- package/dist/ActionField-DOQFnJta.js.br +0 -0
- package/dist/ActionField-DOQFnJta.js.gz +0 -0
- package/dist/AvailabilitySkeleton-nIhak-Uc.js.br +0 -0
- package/dist/AvailabilitySkeleton-nIhak-Uc.js.gz +0 -0
- package/dist/CheckoutWindow-DE2yzGnz.js.br +0 -0
- package/dist/CheckoutWindow-DE2yzGnz.js.gz +0 -0
- package/dist/ErrorMessage-BQ3QCzgM.js.br +0 -0
- package/dist/ErrorMessage-BQ3QCzgM.js.gz +0 -0
- package/dist/EventAvailabilityForm-B5vpdc8N.js.br +0 -0
- package/dist/EventAvailabilityForm-B5vpdc8N.js.gz +0 -0
- package/dist/Field-BRgNjvD3.js.br +0 -0
- package/dist/Field-BRgNjvD3.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BgcU8KsZ.js.br +0 -0
- package/dist/HotelAvailabilityForm-BgcU8KsZ.js.gz +0 -0
- package/dist/SelectField-CaXEgPcr.js.br +0 -0
- package/dist/TermsOfService-CJFPo6Ld.js.br +0 -0
- package/dist/TermsOfService-CJFPo6Ld.js.gz +0 -0
- package/dist/_-TrefP0NY.js.br +0 -0
- package/dist/_-TrefP0NY.js.gz +0 -0
- package/dist/dist-Cj1zdC8i.js.br +0 -0
- package/dist/dist-Cj1zdC8i.js.gz +0 -0
- package/dist/dist-DQ2EbDk2.js.br +0 -0
- package/dist/dist-DQ2EbDk2.js.gz +0 -0
- package/dist/giftCard-DsgsenXN.js +0 -101
- package/dist/giftCard-DsgsenXN.js.br +0 -0
- package/dist/giftCard-DsgsenXN.js.gz +0 -0
- package/dist/style-DyffPZ8F.js.br +0 -0
- package/dist/style-DyffPZ8F.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-BPlclb9p.js";
|
|
4
|
+
import { B as se, C as ce, D as le, E as ue, F as de, G as fe, J as pe, K as me, O as he, R as ge, S as I, U as _e, Z as R, _ as ve, at as ye, b as be, et as xe, ft as Se, gt as Ce, it as we, n as Te, q as Ee, r as De, t as z, tt as Oe, v as ke, x as B, z as Ae } from "./SelectField-CDAxug6h.js";
|
|
5
|
+
import { n as je, t as Me } from "./AvailabilitySkeleton-DlcBMiZx.js";
|
|
6
|
+
import { t as Ne } from "./HotelAvailabilityForm-C8uTiy9J.js";
|
|
7
|
+
import { t as Pe } from "./style-D9WMflRR.js";
|
|
8
|
+
import { t as Fe } from "./ActionField-BLUufdat.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-C_IilFmu.js";
|
|
10
|
+
import { a as Ge, i as Ke, r as qe, t as Je } from "./CheckoutWindow-BcRZIzMT.js";
|
|
11
|
+
import { t as V } from "./TermsOfService-Dt5Q1SCK.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: le, discountCode: de, hasTermOfService: fe, acceptTerms: I, totalTemplateAddonPrice: _e, totalRooms: ve, totalAdults: ye, totalChildren: be, weekendFee: xe, selectedMemberCardData: Se, appliedDiscountCode: Ce, guestDiscountCode: we, isValidatingDiscountCode: Te } = T(he()), { hasHotelLocations: Ee } = T(ce()), { removeRoom: De, validateDiscountCode: z, getMandatoryRoomGroupAddons: Oe, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: je, fetchAvailabilityData: Me } = he(), { 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": _(de),
|
|
375
|
+
"onUpdate:discountCode": T[4] ||= (e) => x(de) ? de.value = e : null,
|
|
376
|
+
"validate-discount-code": _(z),
|
|
377
377
|
"total-price": _(h),
|
|
378
|
-
"weekend-fee": _(
|
|
378
|
+
"weekend-fee": _(xe),
|
|
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(_(ge)(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(_(ge)(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(_(ge)(_(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(_(ge)(_(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) + _(xe), _(i))), 1)]),
|
|
425
|
+
_(Oe)(e.roomGroupId) ? (c(!0), f(y, { key: 0 }, m(_(Oe)(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)), _(_e) ? (c(), f("li", kt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(R)(_(_e), _(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
|
+
_(fe) ? (c(), f("div", Mt, [C(qe, {
|
|
436
|
+
modelValue: _(I),
|
|
437
|
+
"onUpdate:modelValue": T[2] ||= (e) => x(I) ? I.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(_(me)(_(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: _(le)
|
|
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(_(se)(_(oe), _(D))) + " " + w(_(me)(_(se)(_(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(`${_(ye)} ${_(ye) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
|
|
476
|
+
g("span", null, w(`${_(be)} ${_(be) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
|
|
477
|
+
g("span", null, w(`${_(ve)} ${_(ve) === 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(_(se)(_(oe), _(D))) + " " + w(_(me)(_(se)(_(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 = Ce("history"), r = he(), { display: i } = de(), 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 = Ce("history"), r = he(), { display: i } = de(), 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, I = ge && !document.addEventListener, _e = "msLaunchUri" in navigator && !("documentMode" in document), R = Je("webkit"), ve = Je("android"), ye = Je("android 2") || Je("android 3"), be = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), xe = ve && Je("Google") && be < 537 && !("AudioNode" in window), Se = !!window.opera, Ce = !_e && Je("chrome"), we = Je("gecko") && !R && !Se && !ge, Te = !Ce && Je("safari"), Ee = Je("phantom"), De = "OTransition" in he, z = navigator.platform.indexOf("Win") === 0, Oe = ge && "transition" in he, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ye, B = "MozPerspective" in he, Ae = !window.L_DISABLE_3D && (Oe || ke || B) && !De && !Ee, je = typeof orientation < "u" || Je("mobile"), Me = je && R, 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: I,
|
|
1300
|
+
edge: _e,
|
|
1301
|
+
webkit: R,
|
|
1302
|
+
android: ve,
|
|
1303
|
+
android23: ye,
|
|
1304
|
+
androidStock: xe,
|
|
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: z,
|
|
1312
|
+
ie3d: Oe,
|
|
1313
1313
|
webkit3d: ke,
|
|
1314
|
-
gecko3d:
|
|
1315
|
-
any3d:
|
|
1314
|
+
gecko3d: B,
|
|
1315
|
+
any3d: Ae,
|
|
1316
1316
|
mobile: je,
|
|
1317
1317
|
mobileWebkit: Me,
|
|
1318
1318
|
mobileWebkit3d: Ne,
|
|
@@ -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(he()), 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 } = Se(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(he()), { 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(ke, {
|
|
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(ke, {
|
|
6222
6222
|
onClickEvent: n,
|
|
6223
6223
|
label: _(i)("hotel.selectRoomOnMap"),
|
|
6224
6224
|
secondary: "",
|
|
@@ -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 = he(), { 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 ge() {
|
|
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 I() {
|
|
6360
6360
|
return Object.values(k).reduce((e, t) => e + t.units, 0);
|
|
6361
6361
|
}
|
|
6362
|
-
let
|
|
6362
|
+
let _e = 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(_e, () => {
|
|
6376
6376
|
ee(() => window.dispatchEvent(new Event("resize")));
|
|
6377
6377
|
});
|
|
6378
|
-
function
|
|
6378
|
+
function ve() {
|
|
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, [_e.value.length > 0 ? (c(), f("div", ln, [(c(!0), f(y, null, m(_e.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(ke, {
|
|
6426
|
+
onClickEvent: ve,
|
|
6427
|
+
label: `${I() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(R)(ge(), _(x))})`,
|
|
6428
|
+
disabled: I() === 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, {
|
|
@@ -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(he()), 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: _(Oe).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(ke, {
|
|
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 } = de(), i = e, a = P([]), s = M(() => se(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: _(Oe).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(ke, {
|
|
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 || Ee(), 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(ve, {
|
|
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: _(Ee)(),
|
|
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: xe.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("./_-Be3oAOAc.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: me, remark: I, allergies: ve, roomSelect: xe, roomDisplay: Se, hasValidRoomSelection: Ee, availabilityData: z, selectionHasNoAddons: Oe, isAvailabilityDataAvailable: je, getSelectedPackageRooms: Me, selectedPackage: Pe, isSearchOutdated: Fe, isTemplateReservation: Ie, isReturningFromReepay: ze, newsMails: Be, adultsMismatch: Ve, childrenMismatch: We, totalAdults: Ge, totalChildren: V, hasGuestDiscountId: Ye, hasGuestDiscountCode: Xe, guestDiscountId: Ze, guestDiscountName: Qe, guestDiscountCode: $e, hasMemberCards: et, memberCardList: tt, selectedMemberCard: nt, memberCardControlNumber: rt, memberCardNumber: it, selectedMemberCardObject: at, selectedMemberCardData: ot, discountCode: st, discountPayload: ct } = T(he()), { adults: lt, children: ut, location: dt, arrivalDate: ft, departureDate: pt, hasHotelLocations: mt } = T(ce()), { isValidHotelId: ht, updateDates: _t } = ce(), { currency: vt, enableTracking: yt, disableNamePrefix: H, disableTravelingFor: U, disableTravelingForBleasure: bt, disableCompanyField: xt, hasPaymentGateway: St, maxAdultAmount: Ct, maxChildAmount: W, defaultAdultAmount: G, defaultChildAmount: wt, disableNewsletterSignup: Tt, hasActiveIdFilter: K, hotelSettings: Et } = T(ue()), { hasArrivalDepartureInputs: Dt, hasUserArrivalSelection: Ot, hasUserDepartureSelection: q, earliestArrivalTime: kt, latestArrivalTime: At, earliestDepartureTime: jt, latestDepartureTime: Mt, setActiveIdFilter: Nt, clearActiveIdFilter: Ft } = ue(), { beginCheckout: It } = le(), { display: Lt } = de(), { createReservation: zt, fetchMetadata: Bt, fetchAvailabilityData: Vt, filterAddons: J, hasAvailableRoomAddons: Ut, checkGuestDiscount: Y, setGuestDiscountCode: Wt, validateMemberCard: Gt, onOverviewReset: Kt, validateDiscountCode: qt } = he(), X = M(() => n.sortOrder === "desc"), Jt = M(() => [
|
|
6974
6974
|
{
|
|
6975
6975
|
id: "availability",
|
|
6976
6976
|
label: i("booking.availability.title"),
|
|
@@ -7035,7 +7035,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7035
7035
|
t ? (st.value = t, qt()) : Xe.value && !ct.value && (st.value = $e.value, qt()), e();
|
|
7036
7036
|
}
|
|
7037
7037
|
function tn(e) {
|
|
7038
|
-
$t.value ||
|
|
7038
|
+
$t.value || Oe.value ? e(2) : e();
|
|
7039
7039
|
}
|
|
7040
7040
|
async function nn(e, t) {
|
|
7041
7041
|
await zt(e, t);
|
|
@@ -7051,24 +7051,24 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7051
7051
|
Vt();
|
|
7052
7052
|
}
|
|
7053
7053
|
function an() {
|
|
7054
|
-
let e =
|
|
7054
|
+
let e = Ce("history", { removeNullishValues: !0 });
|
|
7055
7055
|
Ft(), e.id = void 0, Vt();
|
|
7056
7056
|
}
|
|
7057
7057
|
function on(e) {
|
|
7058
|
-
yt.value && It(), Xe.value && !ct.value && (st.value = $e.value, qt()), $t.value ||
|
|
7058
|
+
yt.value && It(), Xe.value && !ct.value && (st.value = $e.value, qt()), $t.value || Oe.value ? e(2) : e();
|
|
7059
7059
|
}
|
|
7060
7060
|
function sn() {
|
|
7061
7061
|
let e = dt.value;
|
|
7062
7062
|
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && Et.value[e] && (Et.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (Et.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (Et.value[e].departureDefault = n.forceDepartureTime));
|
|
7063
7063
|
}
|
|
7064
|
-
let $ =
|
|
7064
|
+
let $ = Ce("history", { removeNullishValues: !0 });
|
|
7065
7065
|
async function cn() {
|
|
7066
7066
|
sn();
|
|
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
7068
|
if (isNaN(e) || (e > Ct.value ? lt.value = Ct.value : lt.value = e, lt.value === G.value && ($.a = void 0)), isNaN(t) || (t > W.value ? ut.value = W.value : ut.value = t, ut.value === wt.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (ht(r) ? (dt.value = r, f = !0) : ($.hid = void 0, Lt({
|
|
7069
7069
|
message: i("alert.error.hotelIdNotFound"),
|
|
7070
7070
|
type: "error"
|
|
7071
|
-
}))), o && s) if (
|
|
7071
|
+
}))), o && s) if (fe(o) && fe(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
7073
|
e <= t ? (ft.value = e, pt.value = t) : ($.ci = void 0, $.co = void 0, Lt({
|
|
7074
7074
|
message: i("alert.error.invalidDateRange"),
|
|
@@ -7084,7 +7084,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7084
7084
|
}
|
|
7085
7085
|
d && Wt(d), n.disableDefaultLocation === "yes" && f === !1 ? (dt.value = void 0, l.value = NaN) : Vt();
|
|
7086
7086
|
}
|
|
7087
|
-
return (n, u) => (c(), o(
|
|
7087
|
+
return (n, u) => (c(), o(be, { styling: e.styling }, {
|
|
7088
7088
|
default: A(() => [(c(), o(N, { onResolve: cn }, {
|
|
7089
7089
|
default: A(() => [C(_(t), {
|
|
7090
7090
|
id: "konnectio-hotel-module",
|
|
@@ -7207,7 +7207,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7207
7207
|
type: "fal",
|
|
7208
7208
|
color: "header"
|
|
7209
7209
|
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(R)(e.priceStartFrom, _(vt))), 1)])]),
|
|
7210
|
-
C(
|
|
7210
|
+
C(ke, {
|
|
7211
7211
|
label: _(i)("booking.availability.selectDates"),
|
|
7212
7212
|
"full-width": "",
|
|
7213
7213
|
onClickEvent: (t) => _(_t)(new Date(e.fromDate), new Date(e.toDate))
|
|
@@ -7220,16 +7220,16 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7220
7220
|
]))
|
|
7221
7221
|
])]),
|
|
7222
7222
|
navigation: A(() => [
|
|
7223
|
-
_(Fe) ? (c(), o(
|
|
7223
|
+
_(Fe) ? (c(), o(ke, {
|
|
7224
7224
|
key: 0,
|
|
7225
7225
|
label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
|
|
7226
7226
|
"is-loading": _(te),
|
|
7227
7227
|
"full-width": "",
|
|
7228
7228
|
onClickEvent: u[2] ||= (e) => Q()
|
|
7229
|
-
}, null, 8, ["label", "is-loading"])) : (c(), o(
|
|
7229
|
+
}, null, 8, ["label", "is-loading"])) : (c(), o(ke, {
|
|
7230
7230
|
key: 1,
|
|
7231
|
-
label: _(
|
|
7232
|
-
disabled: !_(
|
|
7231
|
+
label: _(Oe) || $t.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
|
|
7232
|
+
disabled: !_(Ee),
|
|
7233
7233
|
"full-width": "",
|
|
7234
7234
|
onClickEvent: (e) => on(t)
|
|
7235
7235
|
}, null, 8, [
|
|
@@ -7264,11 +7264,11 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7264
7264
|
innerHTML: _(i)("hotel.addonTopNotice"),
|
|
7265
7265
|
class: "konnectio-wysiwyg"
|
|
7266
7266
|
}, null, 8, lr)])) : a("", !0),
|
|
7267
|
-
g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(
|
|
7267
|
+
g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(Se), (e) => (c(), f(y, { key: e.roomGroupID }, [_(Ut)(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(_(ge)(e.title)), 1)]), (c(!0), f(y, null, m(t.rooms, (r, i) => (c(), f("table", {
|
|
7268
7268
|
key: i,
|
|
7269
7269
|
class: "konnectio-table with-lines without-header"
|
|
7270
7270
|
}, [g("thead", null, [g("tr", null, [
|
|
7271
|
-
g("th", null, [g("span", null, w(_(
|
|
7271
|
+
g("th", null, [g("span", null, w(_(ge)(t.name)), 1)]),
|
|
7272
7272
|
a("", !0),
|
|
7273
7273
|
g("th", fr, [g("b", null, [
|
|
7274
7274
|
C(B, {
|
|
@@ -7289,13 +7289,13 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7289
7289
|
src: m,
|
|
7290
7290
|
"zoom-scale": 1
|
|
7291
7291
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7292
|
-
g("b", null, w(_(
|
|
7293
|
-
g("span", null, w(_(R)(p, _(vt))) + " " + w(_(
|
|
7292
|
+
g("b", null, w(_(ge)(d)), 1),
|
|
7293
|
+
g("span", null, w(_(R)(p, _(vt))) + " " + w(_(_e)(i)), 1),
|
|
7294
7294
|
h ? (c(), f("p", {
|
|
7295
7295
|
key: 0,
|
|
7296
|
-
innerHTML: _(
|
|
7296
|
+
innerHTML: _(Ae)(h)
|
|
7297
7297
|
}, null, 8, hr)) : a("", !0)
|
|
7298
|
-
])], 2), g("td", gr, [_(
|
|
7298
|
+
])], 2), g("td", gr, [_(xe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(ye).Mandatory ? (c(), o(De, {
|
|
7299
7299
|
key: 0,
|
|
7300
7300
|
"model-value": 1,
|
|
7301
7301
|
small: !0,
|
|
@@ -7304,8 +7304,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7304
7304
|
readonly: ""
|
|
7305
7305
|
})) : (c(), o(De, {
|
|
7306
7306
|
key: 1,
|
|
7307
|
-
modelValue: _(
|
|
7308
|
-
"onUpdate:modelValue": (t) => _(
|
|
7307
|
+
modelValue: _(xe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
|
|
7308
|
+
"onUpdate:modelValue": (t) => _(xe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
|
|
7309
7309
|
small: !0,
|
|
7310
7310
|
"min-value": 0,
|
|
7311
7311
|
"max-value": l || Infinity
|
|
@@ -7317,20 +7317,20 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7317
7317
|
key: t,
|
|
7318
7318
|
class: "konnectio-table with-lines without-header"
|
|
7319
7319
|
}, [g("thead", null, [g("tr", null, [
|
|
7320
|
-
g("th", null, [g("span", null, w(_(
|
|
7320
|
+
g("th", null, [g("span", null, w(_(ge)(_(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
7321
|
a("", !0),
|
|
7322
7322
|
u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7323
7323
|
])]), g("tbody", null, [(c(!0), f(y, null, m(_(J)(_(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
7324
|
src: m,
|
|
7325
7325
|
"zoom-scale": 1
|
|
7326
7326
|
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7327
|
-
g("b", null, w(_(
|
|
7328
|
-
g("span", null, w(_(R)(u, _(vt))) + " " + w(_(
|
|
7327
|
+
g("b", null, w(_(ge)(l)), 1),
|
|
7328
|
+
g("span", null, w(_(R)(u, _(vt))) + " " + w(_(_e)(n)), 1),
|
|
7329
7329
|
d ? (c(), f("p", {
|
|
7330
7330
|
key: 0,
|
|
7331
|
-
innerHTML: _(
|
|
7331
|
+
innerHTML: _(Ae)(d)
|
|
7332
7332
|
}, null, 8, br)) : a("", !0)
|
|
7333
|
-
])], 2), g("td", xr, [t === _(
|
|
7333
|
+
])], 2), g("td", xr, [t === _(ye).Mandatory ? (c(), o(De, {
|
|
7334
7334
|
key: 0,
|
|
7335
7335
|
"model-value": 1,
|
|
7336
7336
|
small: !0,
|
|
@@ -7350,7 +7350,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7350
7350
|
"max-value"
|
|
7351
7351
|
]))])]))), 128))])]))), 128))])])) : a("", !0)])
|
|
7352
7352
|
])]),
|
|
7353
|
-
navigation: A(() => [C(
|
|
7353
|
+
navigation: A(() => [C(ke, {
|
|
7354
7354
|
label: _(i)("general.startReservation"),
|
|
7355
7355
|
"full-width": "",
|
|
7356
7356
|
onClickEvent: (t) => en(e)
|
|
@@ -7467,8 +7467,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7467
7467
|
"placeholder"
|
|
7468
7468
|
]),
|
|
7469
7469
|
C(Sn, {
|
|
7470
|
-
modelValue: _(
|
|
7471
|
-
"onUpdate:modelValue": u[11] ||= (e) => x(
|
|
7470
|
+
modelValue: _(me),
|
|
7471
|
+
"onUpdate:modelValue": u[11] ||= (e) => x(me) ? me.value = e : null,
|
|
7472
7472
|
label: _(i)("booking.reservation.country"),
|
|
7473
7473
|
placeholder: _(i)("booking.reservation.countryPlaceholder"),
|
|
7474
7474
|
options: _(ee),
|
|
@@ -7525,8 +7525,8 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7525
7525
|
])])]),
|
|
7526
7526
|
e.hideRemarks === "yes" ? a("", !0) : (c(), o(Te, {
|
|
7527
7527
|
key: 4,
|
|
7528
|
-
modelValue: _(
|
|
7529
|
-
"onUpdate:modelValue": u[15] ||= (e) => x(
|
|
7528
|
+
modelValue: _(I),
|
|
7529
|
+
"onUpdate:modelValue": u[15] ||= (e) => x(I) ? I.value = e : null,
|
|
7530
7530
|
type: "textarea",
|
|
7531
7531
|
label: _(i)("booking.reservation.remark"),
|
|
7532
7532
|
icon: "info-circle",
|
|
@@ -7589,7 +7589,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7589
7589
|
"label",
|
|
7590
7590
|
"placeholder"
|
|
7591
7591
|
]),
|
|
7592
|
-
_(nt) === _(
|
|
7592
|
+
_(nt) === _(we).FirmaCard ? (c(), o(Te, {
|
|
7593
7593
|
key: 0,
|
|
7594
7594
|
modelValue: _(rt),
|
|
7595
7595
|
"onUpdate:modelValue": u[20] ||= (e) => x(rt) ? rt.value = e : null,
|
|
@@ -7603,7 +7603,7 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7603
7603
|
"label",
|
|
7604
7604
|
"placeholder"
|
|
7605
7605
|
])) : a("", !0),
|
|
7606
|
-
_(nt) === _(
|
|
7606
|
+
_(nt) === _(we).DaneAge ? (c(), o(Te, {
|
|
7607
7607
|
key: 1,
|
|
7608
7608
|
modelValue: _(P),
|
|
7609
7609
|
"onUpdate:modelValue": u[21] ||= (e) => x(P) ? P.value = e : null,
|
|
@@ -7619,14 +7619,14 @@ var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAA
|
|
|
7619
7619
|
"label",
|
|
7620
7620
|
"placeholder"
|
|
7621
7621
|
])) : a("", !0),
|
|
7622
|
-
C(
|
|
7622
|
+
C(ke, {
|
|
7623
7623
|
label: _(i)("hotel.memberCards.validateAndSelectCard"),
|
|
7624
7624
|
"full-width": "",
|
|
7625
7625
|
onClickEvent: _(Gt)
|
|
7626
7626
|
}, null, 8, ["label", "onClickEvent"])
|
|
7627
7627
|
])) : a("", !0)], 64))], 64)) : a("", !0)
|
|
7628
7628
|
])]),
|
|
7629
|
-
navigation: A(() => [g("div", null, [C(
|
|
7629
|
+
navigation: A(() => [g("div", null, [C(ke, {
|
|
7630
7630
|
label: _(St) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
|
|
7631
7631
|
disabled: !_(S),
|
|
7632
7632
|
"is-loading": _(ne),
|