@konnectio/core 4.0.91 → 4.0.92
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-B2CTKORV.js → ActionField-CgMznDNS.js} +3 -3
- package/dist/ActionField-CgMznDNS.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CEByne0E.js → AvailabilitySkeleton-B12FSS31.js} +21 -21
- package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js +9079 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
- package/dist/{CheckoutWindow-uezvZeM5.js → CheckoutWindow-BoEtvp4P.js} +26 -26
- package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
- package/dist/{ErrorMessage-BXOgd-QR.js → ErrorMessage-CvJnQM2S.js} +3 -3
- package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js +113 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
- package/dist/{Field-Bg6Pob-I.js → Field-Ce6P6QCM.js} +4 -4
- package/dist/Field-Ce6P6QCM.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BkgqTrge.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js} +5 -5
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js → SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js} +1790 -1779
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
- package/dist/{TermsOfService-DKXsflUi.js → TermsOfService-DS18Dl-L.js} +4 -4
- package/dist/_-Csc-2ekB.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CieEXQMV.js → _.vue_vue_type_style_index_0_lang-CXamzQ3j.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +572 -496
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-AACJPSo5.js → giftCard-Dx--Stye.js} +3 -3
- package/dist/giftCard-Dx--Stye.js.br +0 -0
- package/dist/hotel.js +163 -163
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CdawTHCn.js → masonry.plugin-CPsNk-yp.js} +7 -7
- package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
- package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
- package/dist/mitt-BGszhQ2P.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
- package/dist/style-Csy5Jdgv.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +14 -14
- package/dist/ActionField-B2CTKORV.js.br +0 -0
- package/dist/AvailabilitySkeleton-CEByne0E.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js +0 -8697
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js.br +0 -0
- package/dist/CheckoutWindow-uezvZeM5.js.br +0 -0
- package/dist/ErrorMessage-BXOgd-QR.js.br +0 -0
- package/dist/EventAvailabilityForm-m-dJgaNg.js +0 -110
- package/dist/EventAvailabilityForm-m-dJgaNg.js.br +0 -0
- package/dist/Field-Bg6Pob-I.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js.br +0 -0
- package/dist/_-Pu-92eeb.js +0 -5
- package/dist/giftCard-AACJPSo5.js.br +0 -0
- package/dist/masonry.plugin-CdawTHCn.js.br +0 -0
- package/dist/mitt-B7wNuBju.js.br +0 -0
- package/dist/style-B-eJeldE.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as ee, u as se, s as Z, r as le,
|
|
2
|
-
import { g as ve, b as ye, u as
|
|
3
|
-
import { G as Po } from "./style-
|
|
4
|
-
import { R as Ao, B as Ue, L as
|
|
5
|
-
import { A as Bo, H as Lo } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as Uo } from "./TermsOfService-
|
|
7
|
-
import { C as
|
|
8
|
-
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
1
|
+
import { d as ee, u as se, s as Z, r as le, a as d, b as D, y as uo, i as e, w as C, g as h, e as s, t as f, G as De, H as Je, f as v, j as w, z as j, F as O, v as ze, B as et, A as q, h as Tt, E as co, K as po, c as K, o as it, C as Ne, n as Me, S as mo, L as fo, M as ho, N as vo, k as yo, l as ko, m as go, p as bo, q as _o } from "./mitt-BGszhQ2P.js";
|
|
2
|
+
import { g as ve, b as ye, u as $e, I as x, s as oe, z as we, l as Ye, m as pe, j as ne, _ as fe, c as Le, A as wt, f as tt, d as me, B as Ct, a as $t, D as mt, T as ue, r as Vo, E as To, C as wo, k as ft, n as Co, o as ht, p as $o } from "./SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js";
|
|
3
|
+
import { G as Po } from "./style-Csy5Jdgv.js";
|
|
4
|
+
import { R as Ao, B as Ue, L as Ho, S as Do, M as So, b as Qe, C as Io, T as No, V as Mo, a as Ro } from "./masonry.plugin-CPsNk-yp.js";
|
|
5
|
+
import { A as Bo, H as Lo } from "./AvailabilitySkeleton-B12FSS31.js";
|
|
6
|
+
import { S as Uo } from "./TermsOfService-DS18Dl-L.js";
|
|
7
|
+
import { C as Ce, B as Eo, P as Fo, a as Oo } from "./CheckoutWindow-BoEtvp4P.js";
|
|
8
|
+
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js";
|
|
9
9
|
const Go = { key: 0 }, qo = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" }, Wo = { class: "konnectio-hotel-reservation-warning" };
|
|
10
10
|
const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnectio-reservation-actions" }, Yo = {
|
|
11
11
|
key: 0,
|
|
@@ -34,12 +34,12 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
34
34
|
selectedPackage: k,
|
|
35
35
|
discountVouchers: _,
|
|
36
36
|
currentArrivalDate: P,
|
|
37
|
-
currentDepartureDate:
|
|
37
|
+
currentDepartureDate: $,
|
|
38
38
|
datesMismatch: R,
|
|
39
39
|
currentLocation: L,
|
|
40
40
|
locationMismatch: I,
|
|
41
41
|
newsMails: V,
|
|
42
|
-
termsOfService:
|
|
42
|
+
termsOfService: H,
|
|
43
43
|
discountCode: S,
|
|
44
44
|
hasTermOfService: z,
|
|
45
45
|
acceptTerms: U,
|
|
@@ -49,13 +49,13 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
49
49
|
totalChildren: ie,
|
|
50
50
|
templateRoomTotalPrice: W,
|
|
51
51
|
weekendFee: ge
|
|
52
|
-
} = Z(ye()), { hasHotelLocations: be } = Z(
|
|
52
|
+
} = Z(ye()), { hasHotelLocations: be } = Z($e()), { removeRoom: Pe, validateDiscountCode: Ee } = ye(), { getHotelLocationName: Fe } = $e(), _e = le(!1);
|
|
53
53
|
function Ve(Q) {
|
|
54
54
|
return Q.reduce((he, { totalPrice: B }) => he + B, 0);
|
|
55
55
|
}
|
|
56
56
|
return (Q, E) => {
|
|
57
|
-
const he =
|
|
58
|
-
return d(),
|
|
57
|
+
const he = po("tooltip");
|
|
58
|
+
return d(), D(Ao, {
|
|
59
59
|
"discount-code": e(S),
|
|
60
60
|
"onUpdate:discountCode": E[4] || (E[4] = (B) => q(S) ? S.value = B : null),
|
|
61
61
|
"validate-discount-code": e(Ee),
|
|
@@ -66,11 +66,11 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
66
66
|
"is-sidebar-loading": e(y),
|
|
67
67
|
notice: e(t)("hotel.reservationNotice"),
|
|
68
68
|
"prev-callback": Q.prevCallback
|
|
69
|
-
},
|
|
70
|
-
form:
|
|
69
|
+
}, uo({
|
|
70
|
+
form: C(() => [
|
|
71
71
|
ze(Q.$slots, "form", {}, void 0, !0)
|
|
72
72
|
]),
|
|
73
|
-
"price-summary":
|
|
73
|
+
"price-summary": C(() => [
|
|
74
74
|
isNaN(e(u)) && e(m).length > 0 ? (d(!0), h(O, { key: 0 }, j(e(m), ({
|
|
75
75
|
roomGroupID: B,
|
|
76
76
|
title: Oe,
|
|
@@ -136,10 +136,10 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
136
136
|
])
|
|
137
137
|
])) : w("", !0)
|
|
138
138
|
]),
|
|
139
|
-
actions:
|
|
139
|
+
actions: C(() => [
|
|
140
140
|
s("ul", zo, [
|
|
141
141
|
e(n) ? w("", !0) : (d(), h("div", Yo, [
|
|
142
|
-
v(
|
|
142
|
+
v(Ce, {
|
|
143
143
|
modelValue: e(V),
|
|
144
144
|
"onUpdate:modelValue": E[0] || (E[0] = (B) => q(V) ? V.value = B : null),
|
|
145
145
|
type: "checkbox",
|
|
@@ -147,20 +147,20 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
147
147
|
label: e(t)("booking.reservation.newsletterSignUp")
|
|
148
148
|
}, null, 8, ["modelValue", "label"])
|
|
149
149
|
])),
|
|
150
|
-
e(z) ? (d(),
|
|
150
|
+
e(z) ? (d(), D(Ce, {
|
|
151
151
|
key: 1,
|
|
152
152
|
modelValue: e(U),
|
|
153
153
|
"onUpdate:modelValue": E[2] || (E[2] = (B) => q(U) ? U.value = B : null),
|
|
154
154
|
type: "checkbox",
|
|
155
155
|
name: "terms"
|
|
156
156
|
}, {
|
|
157
|
-
default:
|
|
158
|
-
v(e(
|
|
157
|
+
default: C(() => [
|
|
158
|
+
v(e(co), {
|
|
159
159
|
keypath: "general.termsAndConditionsCheckbox",
|
|
160
160
|
tag: "span",
|
|
161
161
|
scope: "global"
|
|
162
162
|
}, {
|
|
163
|
-
terms:
|
|
163
|
+
terms: C(() => [
|
|
164
164
|
s("a", {
|
|
165
165
|
class: "konnectio-accept-terms-link",
|
|
166
166
|
onClick: E[1] || (E[1] = Tt((B) => _e.value = !0, ["prevent"]))
|
|
@@ -177,30 +177,30 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
177
177
|
v(Uo, {
|
|
178
178
|
modelValue: _e.value,
|
|
179
179
|
"onUpdate:modelValue": E[3] || (E[3] = (B) => _e.value = B),
|
|
180
|
-
description: e(
|
|
180
|
+
description: e(H)
|
|
181
181
|
}, null, 8, ["modelValue", "description"])
|
|
182
182
|
])
|
|
183
183
|
]),
|
|
184
|
-
navigation:
|
|
184
|
+
navigation: C(() => [
|
|
185
185
|
ze(Q.$slots, "navigation", {}, void 0, !0)
|
|
186
186
|
]),
|
|
187
|
-
"mobile-under-price":
|
|
187
|
+
"mobile-under-price": C(() => [
|
|
188
188
|
E[6] || (E[6] = s("span", null, "For ", -1)),
|
|
189
|
-
s("b", null, f(e(we)(e(P), e(
|
|
190
|
-
|
|
189
|
+
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
|
|
190
|
+
De((d(), h("span", Qo, [
|
|
191
191
|
v(x, {
|
|
192
192
|
icon: "circle-info",
|
|
193
193
|
type: "fas"
|
|
194
194
|
})
|
|
195
195
|
])), [
|
|
196
196
|
[he, {
|
|
197
|
-
content: `<span>(${e(oe)(e(P))} - ${e(oe)(e(
|
|
197
|
+
content: `<span>(${e(oe)(e(P))} - ${e(oe)(e($))})</span>`,
|
|
198
198
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
199
199
|
html: !0
|
|
200
200
|
}]
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
|
-
"mobile-summary":
|
|
203
|
+
"mobile-summary": C(() => [
|
|
204
204
|
s("span", null, f(`${e(ae)} ${e(ae) === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1),
|
|
205
205
|
s("span", null, f(`${e(ie)} ${e(ie) === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1),
|
|
206
206
|
s("span", null, f(`${e(G)} ${e(G) === 1 ? e(t)("booking.reservation.room") : e(t)("booking.reservation.rooms")}`), 1)
|
|
@@ -209,12 +209,12 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
209
209
|
}, [
|
|
210
210
|
isNaN(e(L)) ? void 0 : {
|
|
211
211
|
name: "reservation-summary",
|
|
212
|
-
fn:
|
|
212
|
+
fn: C(() => [
|
|
213
213
|
e(be) ? (d(), h("li", Go, [
|
|
214
214
|
s("span", null, f(e(t)("general.location")), 1),
|
|
215
215
|
s("b", null, [
|
|
216
216
|
s("span", null, f(e(Fe)(e(L))), 1),
|
|
217
|
-
|
|
217
|
+
De(s("span", qo, [
|
|
218
218
|
v(x, {
|
|
219
219
|
icon: "exclamation-triangle",
|
|
220
220
|
type: "fas"
|
|
@@ -228,7 +228,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
228
228
|
s("span", null, f(e(t)("booking.reservation.arrival")), 1),
|
|
229
229
|
s("b", null, [
|
|
230
230
|
s("span", null, f(e(a)(e(L)) ? `${e(oe)(e(P))}, ${e(i)}` : e(oe)(e(P))), 1),
|
|
231
|
-
|
|
231
|
+
De(s("span", jo, [
|
|
232
232
|
v(x, {
|
|
233
233
|
icon: "exclamation-triangle",
|
|
234
234
|
type: "fas"
|
|
@@ -241,8 +241,8 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
241
241
|
s("li", null, [
|
|
242
242
|
s("span", null, f(e(t)("booking.reservation.departure")), 1),
|
|
243
243
|
s("b", null, [
|
|
244
|
-
s("span", null, f(e(a)(e(L)) ? `${e(oe)(e(
|
|
245
|
-
|
|
244
|
+
s("span", null, f(e(a)(e(L)) ? `${e(oe)(e($))}, ${e(r)}` : e(oe)(e($))), 1),
|
|
245
|
+
De(s("span", Wo, [
|
|
246
246
|
v(x, {
|
|
247
247
|
icon: "exclamation-triangle",
|
|
248
248
|
type: "fas"
|
|
@@ -254,7 +254,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
254
254
|
]),
|
|
255
255
|
s("li", null, [
|
|
256
256
|
s("span", null, f(e(t)("booking.reservation.nights")), 1),
|
|
257
|
-
s("b", null, f(e(we)(e(P), e(
|
|
257
|
+
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
|
|
258
258
|
]),
|
|
259
259
|
e(_) ? (d(!0), h(O, { key: 1 }, j(e(_), (B) => (d(), h("li", {
|
|
260
260
|
key: B.id
|
|
@@ -287,7 +287,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
287
287
|
get: () => i.modelValue,
|
|
288
288
|
set: (u) => r(u)
|
|
289
289
|
});
|
|
290
|
-
return (u, p) => (d(),
|
|
290
|
+
return (u, p) => (d(), D(Le, {
|
|
291
291
|
modelValue: m.value,
|
|
292
292
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => m.value = y),
|
|
293
293
|
label: u.label,
|
|
@@ -300,7 +300,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
300
300
|
required: u.required,
|
|
301
301
|
searchable: !1
|
|
302
302
|
}, {
|
|
303
|
-
option:
|
|
303
|
+
option: C(({ data: y }) => [
|
|
304
304
|
s("span", Zo, [
|
|
305
305
|
s("div", null, [
|
|
306
306
|
v(x, {
|
|
@@ -321,7 +321,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
321
321
|
s("span", null, f(`(${e(ne)(y.price, e(o))})`), 1)
|
|
322
322
|
])
|
|
323
323
|
]),
|
|
324
|
-
"selected-option":
|
|
324
|
+
"selected-option": C(({ data: y }) => [
|
|
325
325
|
s("div", tn, [
|
|
326
326
|
s("div", on, [
|
|
327
327
|
s("div", null, [
|
|
@@ -361,18 +361,18 @@ const pn = /* @__PURE__ */ ee({
|
|
|
361
361
|
const i = K(() => n.room.rates.map((V) => ({
|
|
362
362
|
label: V.name,
|
|
363
363
|
value: V.id
|
|
364
|
-
}))), { hideAvailableRoomAmount: r, autoSelectRateId: m } = Z(ve()), { roomSelect: u } = Z(ye()), { addToCart: p, removeFromCart: y } = wt(), c = (V,
|
|
365
|
-
value:
|
|
366
|
-
price:
|
|
367
|
-
adults:
|
|
368
|
-
children:
|
|
369
|
-
hasBreakfast:
|
|
370
|
-
})) || [] : [],
|
|
371
|
-
function R(V,
|
|
372
|
-
o.value[V].config[0].id = n.room.rates.find((S) => S.id ===
|
|
364
|
+
}))), { hideAvailableRoomAmount: r, autoSelectRateId: m } = Z(ve()), { roomSelect: u } = Z(ye()), { addToCart: p, removeFromCart: y } = wt(), c = (V, H) => n.room.rates.find((S) => S.id === V)?.occupantRates.find((S) => S.index === H), k = K(() => n.room.rates.every((V) => V.isBreakfastIncluded === !0)), _ = (V, H) => c(V, H) ? c(V, H)?.rooms : null, P = (V) => n.room.rates.length > 0 ? n.room.rates.find((H) => H.id === V)?.occupantRates.map((H) => ({
|
|
365
|
+
value: H.index,
|
|
366
|
+
price: H.totalPrice,
|
|
367
|
+
adults: H.adultsCount,
|
|
368
|
+
children: H.childrenCount,
|
|
369
|
+
hasBreakfast: H.hasBreakfast
|
|
370
|
+
})) || [] : [], $ = K(() => n.room.rates.length > 1);
|
|
371
|
+
function R(V, H) {
|
|
372
|
+
o.value[V].config[0].id = n.room.rates.find((S) => S.id === H.value)?.occupantRateIndex || NaN;
|
|
373
373
|
}
|
|
374
374
|
function L() {
|
|
375
|
-
|
|
375
|
+
$.value ? m.value ? o.value.push({
|
|
376
376
|
id: n.room.bestRateMatch || void 0,
|
|
377
377
|
config: [{
|
|
378
378
|
id: n.room.bestRateMatch && !isNaN(n.room.bestRateMatch) ? n.room.rates.find((V) => V.id === n.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -399,10 +399,10 @@ const pn = /* @__PURE__ */ ee({
|
|
|
399
399
|
L();
|
|
400
400
|
});
|
|
401
401
|
const I = K(() => JSON.parse(JSON.stringify(o.value)));
|
|
402
|
-
return Ne(I, (V,
|
|
403
|
-
|
|
402
|
+
return Ne(I, (V, H) => {
|
|
403
|
+
H.length > 0 && V.forEach((S, z) => {
|
|
404
404
|
S.config.forEach((U, Y) => {
|
|
405
|
-
const G = U.units, ae =
|
|
405
|
+
const G = U.units, ae = H[z].config[Y].units;
|
|
406
406
|
G !== ae && (G > ae ? (o.value[z].config[Y].addons.push({}), p({
|
|
407
407
|
id: n.room.id,
|
|
408
408
|
name: n.room.title,
|
|
@@ -416,7 +416,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
416
416
|
});
|
|
417
417
|
}, { deep: !0 }), Ne(o, () => {
|
|
418
418
|
u.value[n.room.id] = o.value;
|
|
419
|
-
}, { deep: !0 }), (V,
|
|
419
|
+
}, { deep: !0 }), (V, H) => (d(), D(Ue, {
|
|
420
420
|
type: "hotel",
|
|
421
421
|
"listing-id": V.room.id,
|
|
422
422
|
gallery: V.room.images,
|
|
@@ -427,13 +427,13 @@ const pn = /* @__PURE__ */ ee({
|
|
|
427
427
|
"prices-from": V.room.pricesFrom,
|
|
428
428
|
"includes-breakfast": k.value
|
|
429
429
|
}, {
|
|
430
|
-
action:
|
|
430
|
+
action: C(() => [
|
|
431
431
|
s("div", rn, [
|
|
432
432
|
(d(!0), h(O, null, j(o.value, (S, z) => (d(), h("div", {
|
|
433
433
|
key: S.id,
|
|
434
434
|
class: "konnectio-hotel-room"
|
|
435
435
|
}, [
|
|
436
|
-
|
|
436
|
+
$.value ? (d(), D(Le, {
|
|
437
437
|
key: 0,
|
|
438
438
|
modelValue: S.id,
|
|
439
439
|
"onUpdate:modelValue": (U) => S.id = U,
|
|
@@ -509,31 +509,31 @@ const pn = /* @__PURE__ */ ee({
|
|
|
509
509
|
function y(c) {
|
|
510
510
|
n.value = m.templateId, o.value = c, r(), m.hideAddons === !0 || a.value ? m.callback(2) : m.callback(1);
|
|
511
511
|
}
|
|
512
|
-
return (c, k) => (d(),
|
|
512
|
+
return (c, k) => (d(), D(Eo, {
|
|
513
513
|
title: c.title,
|
|
514
514
|
subtitle: e(t)("booking.availability.selectATemplateRoom")
|
|
515
515
|
}, {
|
|
516
|
-
default:
|
|
516
|
+
default: C(() => [
|
|
517
517
|
s("div", fn, [
|
|
518
518
|
s("div", hn, [
|
|
519
519
|
(d(!0), h(O, null, j(p.value, ({
|
|
520
520
|
id: _,
|
|
521
521
|
title: P,
|
|
522
|
-
description:
|
|
522
|
+
description: $,
|
|
523
523
|
images: R,
|
|
524
524
|
facilities: L,
|
|
525
525
|
extraPrice: I
|
|
526
|
-
}) => (d(),
|
|
526
|
+
}) => (d(), D(Ue, {
|
|
527
527
|
key: _,
|
|
528
528
|
"listing-id": _,
|
|
529
529
|
name: P,
|
|
530
|
-
description:
|
|
530
|
+
description: $,
|
|
531
531
|
facilities: L,
|
|
532
532
|
gallery: R,
|
|
533
533
|
"includes-breakfast": !1,
|
|
534
534
|
"hide-info-button": !0
|
|
535
535
|
}, {
|
|
536
|
-
action:
|
|
536
|
+
action: C(() => [
|
|
537
537
|
s("div", null, [
|
|
538
538
|
v(me, {
|
|
539
539
|
onClickEvent: (V) => y(_),
|
|
@@ -581,18 +581,18 @@ const pn = /* @__PURE__ */ ee({
|
|
|
581
581
|
function m(u) {
|
|
582
582
|
n.callback(u), i.value = !1;
|
|
583
583
|
}
|
|
584
|
-
return (u, p) => (d(),
|
|
584
|
+
return (u, p) => (d(), D(Ue, {
|
|
585
585
|
type: "template",
|
|
586
586
|
"listing-id": u.id,
|
|
587
587
|
name: u.name,
|
|
588
588
|
description: u.description,
|
|
589
589
|
gallery: a.value,
|
|
590
|
-
layout: e(
|
|
590
|
+
layout: e(Ct).Template,
|
|
591
591
|
"includes-breakfast": !1,
|
|
592
592
|
"hide-info-button": !1,
|
|
593
593
|
"prices-from": o.value
|
|
594
594
|
}, {
|
|
595
|
-
action:
|
|
595
|
+
action: C(() => [
|
|
596
596
|
s("div", yn, [
|
|
597
597
|
v(me, {
|
|
598
598
|
onClickEvent: r,
|
|
@@ -601,7 +601,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
601
601
|
}, null, 8, ["label"])
|
|
602
602
|
])
|
|
603
603
|
]),
|
|
604
|
-
default:
|
|
604
|
+
default: C(() => [
|
|
605
605
|
v(At, {
|
|
606
606
|
modelValue: i.value,
|
|
607
607
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => i.value = y),
|
|
@@ -629,7 +629,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
629
629
|
callback: { type: Function }
|
|
630
630
|
},
|
|
631
631
|
setup(l) {
|
|
632
|
-
const { t } = se(), { updateDates: n } =
|
|
632
|
+
const { t } = se(), { updateDates: n } = $e(), { display: o } = $t(), a = l, i = le([]), r = K(() => we(a.fromDate, a.toDate) === 1), m = K(() => [{
|
|
633
633
|
large: a.image.url,
|
|
634
634
|
medium: a.image.url,
|
|
635
635
|
thumb: a.image.url,
|
|
@@ -646,19 +646,19 @@ const pn = /* @__PURE__ */ ee({
|
|
|
646
646
|
}
|
|
647
647
|
return it(() => {
|
|
648
648
|
r.value && (i.value = [new Date(a.fromDate), new Date(a.toDate)]);
|
|
649
|
-
}), (c, k) => (d(),
|
|
649
|
+
}), (c, k) => (d(), D(Ue, {
|
|
650
650
|
type: "template",
|
|
651
651
|
"listing-id": c.id,
|
|
652
652
|
name: c.name,
|
|
653
653
|
description: c.description,
|
|
654
654
|
gallery: m.value,
|
|
655
|
-
layout: e(
|
|
655
|
+
layout: e(Ct).Template,
|
|
656
656
|
"includes-breakfast": !1,
|
|
657
657
|
"hide-info-button": !1,
|
|
658
658
|
"to-date": c.toDate,
|
|
659
659
|
"from-date": c.fromDate
|
|
660
660
|
}, {
|
|
661
|
-
action:
|
|
661
|
+
action: C(() => [
|
|
662
662
|
s("div", gn, [
|
|
663
663
|
v(Pt, {
|
|
664
664
|
modelValue: i.value,
|
|
@@ -682,7 +682,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
682
682
|
])
|
|
683
683
|
])
|
|
684
684
|
]),
|
|
685
|
-
default:
|
|
685
|
+
default: C(() => [
|
|
686
686
|
v(At, {
|
|
687
687
|
modelValue: u.value,
|
|
688
688
|
"onUpdate:modelValue": k[1] || (k[1] = (_) => u.value = _),
|
|
@@ -720,7 +720,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
720
720
|
const i = le(o.modelValue);
|
|
721
721
|
return Ne(i, (r) => {
|
|
722
722
|
a(r);
|
|
723
|
-
}), (r, m) => (d(),
|
|
723
|
+
}), (r, m) => (d(), D(Pt, {
|
|
724
724
|
modelValue: i.value,
|
|
725
725
|
"onUpdate:modelValue": m[0] || (m[0] = (u) => i.value = u),
|
|
726
726
|
type: "time",
|
|
@@ -757,7 +757,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
757
757
|
get: () => a.modelValue,
|
|
758
758
|
set: (m) => i(m)
|
|
759
759
|
});
|
|
760
|
-
return (m, u) => (d(),
|
|
760
|
+
return (m, u) => (d(), D(Le, {
|
|
761
761
|
modelValue: r.value,
|
|
762
762
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => r.value = p),
|
|
763
763
|
label: m.label,
|
|
@@ -767,13 +767,13 @@ const pn = /* @__PURE__ */ ee({
|
|
|
767
767
|
options: m.options,
|
|
768
768
|
required: m.required
|
|
769
769
|
}, {
|
|
770
|
-
option:
|
|
770
|
+
option: C(({ data: p }) => [
|
|
771
771
|
s("i", {
|
|
772
772
|
class: Me(["konnectio-flag-icon", p.iso])
|
|
773
773
|
}, null, 2),
|
|
774
774
|
s("span", null, f(p.name), 1)
|
|
775
775
|
]),
|
|
776
|
-
"selected-option":
|
|
776
|
+
"selected-option": C(({ data: p }) => [
|
|
777
777
|
s("div", Vn, [
|
|
778
778
|
s("i", {
|
|
779
779
|
class: Me(["konnectio-flag-icon", p.iso])
|
|
@@ -784,7 +784,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
784
784
|
_: 1
|
|
785
785
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
786
786
|
}
|
|
787
|
-
}), wn = /* @__PURE__ */ fe(Tn, [["__scopeId", "data-v-1462612d"]]),
|
|
787
|
+
}), wn = /* @__PURE__ */ fe(Tn, [["__scopeId", "data-v-1462612d"]]), Cn = /* @__PURE__ */ ee({
|
|
788
788
|
__name: "NameField",
|
|
789
789
|
props: {
|
|
790
790
|
modelValue: {},
|
|
@@ -816,7 +816,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
816
816
|
const { t: u } = se();
|
|
817
817
|
return it(() => {
|
|
818
818
|
n.modelValue && (i.value = n.modelValue), n.title && (r.value = n.title);
|
|
819
|
-
}), (p, y) => (d(),
|
|
819
|
+
}), (p, y) => (d(), D(Vo, {
|
|
820
820
|
label: p.label,
|
|
821
821
|
id: e(a),
|
|
822
822
|
required: p.required,
|
|
@@ -824,14 +824,14 @@ const pn = /* @__PURE__ */ ee({
|
|
|
824
824
|
readonly: p.readonly,
|
|
825
825
|
limit: p.limit
|
|
826
826
|
}, {
|
|
827
|
-
default:
|
|
827
|
+
default: C(() => [
|
|
828
828
|
s("div", {
|
|
829
829
|
class: Me([
|
|
830
830
|
"konnectio-name-input",
|
|
831
831
|
{ "no-title": p.excludeTitle }
|
|
832
832
|
])
|
|
833
833
|
}, [
|
|
834
|
-
p.excludeTitle ? w("", !0) : (d(),
|
|
834
|
+
p.excludeTitle ? w("", !0) : (d(), D(Le, {
|
|
835
835
|
key: 0,
|
|
836
836
|
modelValue: r.value,
|
|
837
837
|
"onUpdate:modelValue": y[0] || (y[0] = (c) => r.value = c),
|
|
@@ -888,20 +888,20 @@ const pn = /* @__PURE__ */ ee({
|
|
|
888
888
|
_: 1
|
|
889
889
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
890
890
|
}
|
|
891
|
-
}),
|
|
891
|
+
}), $n = /* @__PURE__ */ fe(Cn, [["__scopeId", "data-v-7c44829d"]]), Pn = { class: "hotel-skeleton" }, An = { class: "hotel-skeleton-content" }, Hn = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ ee({
|
|
892
892
|
__name: "HotelSkeleton",
|
|
893
893
|
setup(l) {
|
|
894
894
|
return (t, n) => (d(), h("div", Pn, [
|
|
895
895
|
s("div", An, [
|
|
896
896
|
v(Bo, { hotel: "" }),
|
|
897
|
-
v(Do)
|
|
898
|
-
]),
|
|
899
|
-
s("div", Dn, [
|
|
900
897
|
v(Ho)
|
|
898
|
+
]),
|
|
899
|
+
s("div", Hn, [
|
|
900
|
+
v(Do)
|
|
901
901
|
])
|
|
902
902
|
]));
|
|
903
903
|
}
|
|
904
|
-
}), Sn = /* @__PURE__ */ fe(
|
|
904
|
+
}), Sn = /* @__PURE__ */ fe(Dn, [["__scopeId", "data-v-1bb21da4"]]), In = { id: "booking-availability-container" }, Nn = { id: "booking-availability-controls" };
|
|
905
905
|
const Mn = { key: 1 }, Rn = { key: 0 }, Bn = {
|
|
906
906
|
key: 0,
|
|
907
907
|
id: "booking-availability-packages"
|
|
@@ -955,7 +955,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
955
955
|
styling: {}
|
|
956
956
|
},
|
|
957
957
|
setup(l) {
|
|
958
|
-
const t = fo(() => import("./_-
|
|
958
|
+
const t = fo(() => import("./_-Csc-2ekB.js")), n = l, { t: o } = se(), {
|
|
959
959
|
currentLocation: a,
|
|
960
960
|
templateID: i,
|
|
961
961
|
templateAddons: r,
|
|
@@ -967,12 +967,12 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
967
967
|
arrivalTime: k,
|
|
968
968
|
departureTime: _,
|
|
969
969
|
name: P,
|
|
970
|
-
nameTitle:
|
|
970
|
+
nameTitle: $,
|
|
971
971
|
email: R,
|
|
972
972
|
phone: L,
|
|
973
973
|
firmName: I,
|
|
974
974
|
postal: V,
|
|
975
|
-
city:
|
|
975
|
+
city: H,
|
|
976
976
|
address: S,
|
|
977
977
|
country: z,
|
|
978
978
|
remark: U,
|
|
@@ -996,7 +996,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
996
996
|
arrivalDate: Oe,
|
|
997
997
|
departureDate: Ge,
|
|
998
998
|
hasHotelLocations: Ae
|
|
999
|
-
} = Z(
|
|
999
|
+
} = Z($e()), { isValidHotelId: qe, updateDates: re } = $e(), {
|
|
1000
1000
|
currency: Te,
|
|
1001
1001
|
enableTracking: st,
|
|
1002
1002
|
disableNamePrefix: Rt,
|
|
@@ -1017,7 +1017,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1017
1017
|
latestArrivalTime: Wt,
|
|
1018
1018
|
earliestDepartureTime: xt,
|
|
1019
1019
|
latestDepartureTime: Kt
|
|
1020
|
-
} = ve(), { beginCheckout: Jt } = wt(), { display:
|
|
1020
|
+
} = ve(), { beginCheckout: Jt } = wt(), { display: He } = $t(), {
|
|
1021
1021
|
resetTemplate: zt,
|
|
1022
1022
|
resetDiscountVoucher: Yt,
|
|
1023
1023
|
createReservation: Qt,
|
|
@@ -1079,7 +1079,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1079
1079
|
}
|
|
1080
1080
|
function lo() {
|
|
1081
1081
|
if (isNaN(B.value) && Ae.value) {
|
|
1082
|
-
|
|
1082
|
+
He({
|
|
1083
1083
|
message: o("alert.error.selectHotelId"),
|
|
1084
1084
|
type: "error"
|
|
1085
1085
|
});
|
|
@@ -1091,46 +1091,46 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1091
1091
|
st.value && Jt(), xe.value || ge.value ? b(2) : b();
|
|
1092
1092
|
}
|
|
1093
1093
|
function io() {
|
|
1094
|
-
const b =
|
|
1094
|
+
const b = Co("history", {
|
|
1095
1095
|
removeNullishValues: !0
|
|
1096
1096
|
}), T = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), N = parseInt(b.n), g = b.ci, F = b.co, M = b.id;
|
|
1097
1097
|
let te = !1;
|
|
1098
|
-
if (isNaN(T) || (T > rt.value ? E.value = rt.value : E.value = T, E.value === Ft.value && (b.a = void 0)), isNaN(J) || (J > dt.value ? he.value = dt.value : he.value = J, he.value === Ot.value && (b.c = void 0)), isNaN(N) || N > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, te = !0) :
|
|
1098
|
+
if (isNaN(T) || (T > rt.value ? E.value = rt.value : E.value = T, E.value === Ft.value && (b.a = void 0)), isNaN(J) || (J > dt.value ? he.value = dt.value : he.value = J, he.value === Ot.value && (b.c = void 0)), isNaN(N) || N > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, te = !0) : He({
|
|
1099
1099
|
message: o("alert.error.hotelIdNotFound"),
|
|
1100
1100
|
type: "error"
|
|
1101
1101
|
})), g && F)
|
|
1102
1102
|
if (ht(g) && ht(F)) {
|
|
1103
1103
|
const ke = new Date(g), de = new Date(F);
|
|
1104
|
-
ke <= de ? (Oe.value = ke, Ge.value = de) : (b.ci = void 0, b.co = void 0,
|
|
1104
|
+
ke <= de ? (Oe.value = ke, Ge.value = de) : (b.ci = void 0, b.co = void 0, He({
|
|
1105
1105
|
message: o("alert.error.invalidDateRange"),
|
|
1106
1106
|
type: "error"
|
|
1107
1107
|
}));
|
|
1108
1108
|
} else
|
|
1109
|
-
|
|
1109
|
+
He({
|
|
1110
1110
|
message: o("alert.error.wrongDateFormat"),
|
|
1111
1111
|
type: "error"
|
|
1112
1112
|
});
|
|
1113
1113
|
let X = null;
|
|
1114
1114
|
M && (X = M), n.disableDefaultLocation === "yes" && te === !1 ? (B.value = void 0, a.value = void 0) : ut(X);
|
|
1115
1115
|
}
|
|
1116
|
-
return (b, T) => (d(),
|
|
1117
|
-
default:
|
|
1118
|
-
(d(),
|
|
1119
|
-
default:
|
|
1116
|
+
return (b, T) => (d(), D(wo, { styling: b.styling }, {
|
|
1117
|
+
default: C(() => [
|
|
1118
|
+
(d(), D(mo, { onResolve: io }, {
|
|
1119
|
+
default: C(() => [
|
|
1120
1120
|
v(e(t), {
|
|
1121
1121
|
id: "konnectio-hotel-module",
|
|
1122
1122
|
"access-token": b.accessToken,
|
|
1123
1123
|
callback: e(Xt)
|
|
1124
1124
|
}, {
|
|
1125
|
-
default:
|
|
1125
|
+
default: C(() => [
|
|
1126
1126
|
v(So, {
|
|
1127
1127
|
layout: b.headerLayout,
|
|
1128
1128
|
steps: eo.value,
|
|
1129
1129
|
onReset: e(zt)
|
|
1130
1130
|
}, {
|
|
1131
|
-
availability:
|
|
1131
|
+
availability: C(({ next: J }) => [
|
|
1132
1132
|
v(Xe, null, {
|
|
1133
|
-
form:
|
|
1133
|
+
form: C(() => [
|
|
1134
1134
|
s("div", In, [
|
|
1135
1135
|
s("div", Nn, [
|
|
1136
1136
|
v(Lo, {
|
|
@@ -1159,7 +1159,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1159
1159
|
image: F,
|
|
1160
1160
|
description: M,
|
|
1161
1161
|
weekendFee: te
|
|
1162
|
-
}) => (d(),
|
|
1162
|
+
}) => (d(), D(kn, {
|
|
1163
1163
|
key: A,
|
|
1164
1164
|
id: A,
|
|
1165
1165
|
description: M,
|
|
@@ -1182,7 +1182,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1182
1182
|
s("span", null, f(e(o)("booking.availability.roomsTitle")), 1)
|
|
1183
1183
|
])) : w("", !0),
|
|
1184
1184
|
s("ul", On, [
|
|
1185
|
-
(d(!0), h(O, null, j(oo.value, (A, N) => (d(),
|
|
1185
|
+
(d(!0), h(O, null, j(oo.value, (A, N) => (d(), D(mn, {
|
|
1186
1186
|
room: A,
|
|
1187
1187
|
key: N
|
|
1188
1188
|
}, null, 8, ["room"]))), 128))
|
|
@@ -1207,7 +1207,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1207
1207
|
weekendFee: te,
|
|
1208
1208
|
fromDate: X,
|
|
1209
1209
|
toDate: ke
|
|
1210
|
-
}) => (d(),
|
|
1210
|
+
}) => (d(), D(_n, {
|
|
1211
1211
|
key: A,
|
|
1212
1212
|
id: A,
|
|
1213
1213
|
description: M,
|
|
@@ -1277,14 +1277,14 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1277
1277
|
]))
|
|
1278
1278
|
])
|
|
1279
1279
|
]),
|
|
1280
|
-
navigation:
|
|
1281
|
-
e(Fe) ? (d(),
|
|
1280
|
+
navigation: C(() => [
|
|
1281
|
+
e(Fe) ? (d(), D(me, {
|
|
1282
1282
|
key: 0,
|
|
1283
1283
|
label: isNaN(e(a)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1284
1284
|
"is-loading": e(u),
|
|
1285
1285
|
"full-width": "",
|
|
1286
1286
|
onClickEvent: T[1] || (T[1] = (A) => lo())
|
|
1287
|
-
}, null, 8, ["label", "is-loading"])) : (d(),
|
|
1287
|
+
}, null, 8, ["label", "is-loading"])) : (d(), D(me, {
|
|
1288
1288
|
key: 1,
|
|
1289
1289
|
label: e(ge) || xe.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1290
1290
|
disabled: !e(ie),
|
|
@@ -1295,12 +1295,12 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1295
1295
|
_: 2
|
|
1296
1296
|
}, 1024)
|
|
1297
1297
|
]),
|
|
1298
|
-
addons:
|
|
1299
|
-
e(be) ? (d(),
|
|
1298
|
+
addons: C(({ next: J, prev: A }) => [
|
|
1299
|
+
e(be) ? (d(), D(Xe, {
|
|
1300
1300
|
key: 0,
|
|
1301
1301
|
"prev-callback": () => pt(A)
|
|
1302
1302
|
}, {
|
|
1303
|
-
form:
|
|
1303
|
+
form: C(() => [
|
|
1304
1304
|
s("form", el, [
|
|
1305
1305
|
s("h2", null, [
|
|
1306
1306
|
s("span", null, f(e(o)("booking.reservation.addons")), 1)
|
|
@@ -1334,7 +1334,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1334
1334
|
color: "font"
|
|
1335
1335
|
}),
|
|
1336
1336
|
s("span", null, f(M.adultsCount), 1),
|
|
1337
|
-
M.childrenCount > 0 ? (d(),
|
|
1337
|
+
M.childrenCount > 0 ? (d(), D(x, {
|
|
1338
1338
|
key: 0,
|
|
1339
1339
|
icon: "child",
|
|
1340
1340
|
type: "fas",
|
|
@@ -1359,14 +1359,14 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1359
1359
|
]),
|
|
1360
1360
|
s("td", al, [
|
|
1361
1361
|
e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx] ? (d(), h(O, { key: 0 }, [
|
|
1362
|
-
X === 1 || X === 12 ? (d(),
|
|
1362
|
+
X === 1 || X === 12 ? (d(), D(tt, {
|
|
1363
1363
|
key: 0,
|
|
1364
1364
|
modelValue: e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de],
|
|
1365
1365
|
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1366
1366
|
small: !0,
|
|
1367
1367
|
"min-value": 0,
|
|
1368
1368
|
"max-value": ke || 1 / 0
|
|
1369
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(),
|
|
1369
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1370
1370
|
key: 1,
|
|
1371
1371
|
modelValue: e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de],
|
|
1372
1372
|
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
@@ -1407,14 +1407,14 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1407
1407
|
s("span", null, f(e(ne)(te, e(Te))) + " " + f(e(ft)(N)), 1)
|
|
1408
1408
|
]),
|
|
1409
1409
|
s("td", dl, [
|
|
1410
|
-
N === 1 || N === 12 ? (d(),
|
|
1410
|
+
N === 1 || N === 12 ? (d(), D(tt, {
|
|
1411
1411
|
key: 0,
|
|
1412
1412
|
modelValue: e(r)[F],
|
|
1413
1413
|
"onUpdate:modelValue": (X) => e(r)[F] = X,
|
|
1414
1414
|
small: !0,
|
|
1415
1415
|
"min-value": 0,
|
|
1416
1416
|
"max-value": g || 1 / 0
|
|
1417
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(),
|
|
1417
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1418
1418
|
key: 1,
|
|
1419
1419
|
modelValue: e(r)[F],
|
|
1420
1420
|
"onUpdate:modelValue": (X) => e(r)[F] = X,
|
|
@@ -1429,7 +1429,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1429
1429
|
])
|
|
1430
1430
|
])
|
|
1431
1431
|
]),
|
|
1432
|
-
navigation:
|
|
1432
|
+
navigation: C(() => [
|
|
1433
1433
|
v(me, {
|
|
1434
1434
|
label: e(o)("general.startReservation"),
|
|
1435
1435
|
"full-width": "",
|
|
@@ -1439,14 +1439,14 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1439
1439
|
_: 2
|
|
1440
1440
|
}, 1032, ["prev-callback"])) : w("", !0)
|
|
1441
1441
|
]),
|
|
1442
|
-
reservation:
|
|
1443
|
-
e(be) ? (d(),
|
|
1442
|
+
reservation: C(({ next: J, prev: A, reset: N }) => [
|
|
1443
|
+
e(be) ? (d(), D(Xe, {
|
|
1444
1444
|
key: 0,
|
|
1445
1445
|
"prev-callback": () => pt(A),
|
|
1446
1446
|
"show-terms-notice": !0,
|
|
1447
1447
|
"show-gift-card": !0
|
|
1448
1448
|
}, {
|
|
1449
|
-
form:
|
|
1449
|
+
form: C(() => [
|
|
1450
1450
|
s("form", ul, [
|
|
1451
1451
|
s("h2", null, [
|
|
1452
1452
|
s("span", null, f(e(o)("booking.reservation.detailsTitle")), 1)
|
|
@@ -1478,11 +1478,11 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1478
1478
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1479
1479
|
])) : w("", !0)
|
|
1480
1480
|
], 2)) : w("", !0),
|
|
1481
|
-
v(
|
|
1481
|
+
v($n, {
|
|
1482
1482
|
modelValue: e(P),
|
|
1483
1483
|
"onUpdate:modelValue": T[4] || (T[4] = (g) => q(P) ? P.value = g : null),
|
|
1484
|
-
title: e(
|
|
1485
|
-
"onUpdate:title": T[5] || (T[5] = (g) => q(
|
|
1484
|
+
title: e($),
|
|
1485
|
+
"onUpdate:title": T[5] || (T[5] = (g) => q($) ? $.value = g : null),
|
|
1486
1486
|
"exclude-title": e(Rt),
|
|
1487
1487
|
label: e(o)("booking.reservation.name"),
|
|
1488
1488
|
icon: "user-alt",
|
|
@@ -1502,7 +1502,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1502
1502
|
required: ""
|
|
1503
1503
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1504
1504
|
e(Gt) ? w("", !0) : (d(), h("div", ml, [
|
|
1505
|
-
v(
|
|
1505
|
+
v(Ce, {
|
|
1506
1506
|
modelValue: e(Q),
|
|
1507
1507
|
"onUpdate:modelValue": T[7] || (T[7] = (g) => q(Q) ? Q.value = g : null),
|
|
1508
1508
|
type: "checkbox",
|
|
@@ -1510,7 +1510,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1510
1510
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
1511
1511
|
}, null, 8, ["modelValue", "label"])
|
|
1512
1512
|
])),
|
|
1513
|
-
e(Ut) ? w("", !0) : (d(),
|
|
1513
|
+
e(Ut) ? w("", !0) : (d(), D(ue, {
|
|
1514
1514
|
key: 2,
|
|
1515
1515
|
modelValue: e(I),
|
|
1516
1516
|
"onUpdate:modelValue": T[8] || (T[8] = (g) => q(I) ? I.value = g : null),
|
|
@@ -1564,8 +1564,8 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1564
1564
|
]),
|
|
1565
1565
|
s("li", null, [
|
|
1566
1566
|
v(ue, {
|
|
1567
|
-
modelValue: e(
|
|
1568
|
-
"onUpdate:modelValue": T[13] || (T[13] = (g) => q(
|
|
1567
|
+
modelValue: e(H),
|
|
1568
|
+
"onUpdate:modelValue": T[13] || (T[13] = (g) => q(H) ? H.value = g : null),
|
|
1569
1569
|
type: "text",
|
|
1570
1570
|
name: "city",
|
|
1571
1571
|
autocomplete: "address-level2",
|
|
@@ -1592,7 +1592,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1592
1592
|
icon: "allergies",
|
|
1593
1593
|
placeholder: e(o)("booking.reservation.allergiesPlaceholder")
|
|
1594
1594
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1595
|
-
e(Bt) ? w("", !0) : (d(),
|
|
1595
|
+
e(Bt) ? w("", !0) : (d(), D(Io, {
|
|
1596
1596
|
key: 3,
|
|
1597
1597
|
modelValue: e(c),
|
|
1598
1598
|
"onUpdate:modelValue": T[16] || (T[16] = (g) => q(c) ? c.value = g : null),
|
|
@@ -1602,7 +1602,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1602
1602
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1603
1603
|
])
|
|
1604
1604
|
]),
|
|
1605
|
-
navigation:
|
|
1605
|
+
navigation: C(() => [
|
|
1606
1606
|
s("div", null, [
|
|
1607
1607
|
v(me, {
|
|
1608
1608
|
label: e(Et) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
@@ -1616,10 +1616,10 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1616
1616
|
_: 2
|
|
1617
1617
|
}, 1032, ["prev-callback"])) : w("", !0)
|
|
1618
1618
|
]),
|
|
1619
|
-
payment:
|
|
1619
|
+
payment: C(() => [
|
|
1620
1620
|
v(Oo)
|
|
1621
1621
|
]),
|
|
1622
|
-
confirmation:
|
|
1622
|
+
confirmation: C(() => [
|
|
1623
1623
|
v(No, {
|
|
1624
1624
|
message: e(o)("booking.confirmation.thankYou")
|
|
1625
1625
|
}, null, 8, ["message"])
|
|
@@ -1630,7 +1630,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1630
1630
|
_: 1
|
|
1631
1631
|
}, 8, ["access-token", "callback"])
|
|
1632
1632
|
]),
|
|
1633
|
-
fallback:
|
|
1633
|
+
fallback: C(() => [
|
|
1634
1634
|
v(Sn)
|
|
1635
1635
|
]),
|
|
1636
1636
|
_: 1
|
|
@@ -1658,7 +1658,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1658
1658
|
"style",
|
|
1659
1659
|
"script",
|
|
1660
1660
|
"noscript"
|
|
1661
|
-
]), kl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]),
|
|
1661
|
+
]), kl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), Ht = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), gl = typeof window < "u";
|
|
1662
1662
|
function Re(l) {
|
|
1663
1663
|
let t = 9;
|
|
1664
1664
|
for (let n = 0; n < l.length; )
|
|
@@ -1691,7 +1691,7 @@ function nt(l, t, n, o) {
|
|
|
1691
1691
|
tag: l,
|
|
1692
1692
|
props: a
|
|
1693
1693
|
};
|
|
1694
|
-
for (const r of
|
|
1694
|
+
for (const r of Ht) {
|
|
1695
1695
|
const m = i.props[r] !== void 0 ? i.props[r] : n[r];
|
|
1696
1696
|
m !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || vl.has(i.tag)) && (i[r === "children" ? "innerHTML" : r] = m), delete i.props[r]);
|
|
1697
1697
|
}
|
|
@@ -1701,7 +1701,7 @@ function _l(l, t) {
|
|
|
1701
1701
|
const n = l === "class" ? " " : ";";
|
|
1702
1702
|
return t && typeof t == "object" && !Array.isArray(t) && (t = Object.entries(t).filter(([, o]) => o).map(([o, a]) => l === "style" ? `${o}:${a}` : o)), String(Array.isArray(t) ? t.join(n) : t)?.split(n).filter((o) => !!o.trim()).join(n);
|
|
1703
1703
|
}
|
|
1704
|
-
function
|
|
1704
|
+
function Dt(l, t, n, o) {
|
|
1705
1705
|
for (let a = o; a < n.length; a += 1) {
|
|
1706
1706
|
const i = n[a];
|
|
1707
1707
|
if (i === "class" || i === "style") {
|
|
@@ -1709,15 +1709,15 @@ function Ht(l, t, n, o) {
|
|
|
1709
1709
|
continue;
|
|
1710
1710
|
}
|
|
1711
1711
|
if (l[i] instanceof Promise)
|
|
1712
|
-
return l[i].then((r) => (l[i] = r,
|
|
1713
|
-
if (!t && !
|
|
1712
|
+
return l[i].then((r) => (l[i] = r, Dt(l, t, n, a)));
|
|
1713
|
+
if (!t && !Ht.has(i)) {
|
|
1714
1714
|
const r = String(l[i]), m = i.startsWith("data-");
|
|
1715
1715
|
r === "true" || r === "" ? l[i] = m ? "true" : !0 : l[i] || (m && r === "false" ? l[i] = "false" : delete l[i]);
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
1719
|
function St(l, t = !1) {
|
|
1720
|
-
const n =
|
|
1720
|
+
const n = Dt(l, t, Object.keys(l), 0);
|
|
1721
1721
|
return n instanceof Promise ? n.then(() => l) : l;
|
|
1722
1722
|
}
|
|
1723
1723
|
const Vl = 10;
|
|
@@ -1766,7 +1766,7 @@ function Be(l) {
|
|
|
1766
1766
|
let n = 100;
|
|
1767
1767
|
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), t && t in bt ? n + bt[t] : n;
|
|
1768
1768
|
}
|
|
1769
|
-
const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
|
|
1769
|
+
const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Cl = ["name", "property", "http-equiv"];
|
|
1770
1770
|
function Nt(l) {
|
|
1771
1771
|
const { props: t, tag: n } = l;
|
|
1772
1772
|
if (kl.has(n))
|
|
@@ -1777,13 +1777,13 @@ function Nt(l) {
|
|
|
1777
1777
|
return "charset";
|
|
1778
1778
|
if (t.id)
|
|
1779
1779
|
return `${n}:id:${t.id}`;
|
|
1780
|
-
for (const o of
|
|
1780
|
+
for (const o of Cl)
|
|
1781
1781
|
if (t[o] !== void 0)
|
|
1782
1782
|
return `${n}:${o}:${t[o]}`;
|
|
1783
1783
|
return !1;
|
|
1784
1784
|
}
|
|
1785
1785
|
const ce = "%separator";
|
|
1786
|
-
function
|
|
1786
|
+
function $l(l, t) {
|
|
1787
1787
|
let n;
|
|
1788
1788
|
if (t === "s" || t === "pageTitle")
|
|
1789
1789
|
n = l.pageTitle;
|
|
@@ -1810,7 +1810,7 @@ function Se(l, t, n) {
|
|
|
1810
1810
|
return l = l.replace(/%\w+(?:\.\w+)?/g, (r) => {
|
|
1811
1811
|
if (r === ce || !a.includes(r))
|
|
1812
1812
|
return r;
|
|
1813
|
-
const m =
|
|
1813
|
+
const m = $l(t, r.slice(1));
|
|
1814
1814
|
return m !== void 0 ? m : r;
|
|
1815
1815
|
}).trim(), i && (l.endsWith(ce) && (l = l.slice(0, -ce.length)), l.startsWith(ce) && (l = l.slice(ce.length)), l = l.replace(Pl, n).trim()), l;
|
|
1816
1816
|
}
|
|
@@ -1838,13 +1838,13 @@ async function Al(l, t = {}) {
|
|
|
1838
1838
|
for (const k of ["body", "head"]) {
|
|
1839
1839
|
const _ = n[k]?.children;
|
|
1840
1840
|
for (const P of _) {
|
|
1841
|
-
const
|
|
1842
|
-
if (!Ie.has(
|
|
1841
|
+
const $ = P.tagName.toLowerCase();
|
|
1842
|
+
if (!Ie.has($))
|
|
1843
1843
|
continue;
|
|
1844
1844
|
const R = {
|
|
1845
|
-
tag:
|
|
1845
|
+
tag: $,
|
|
1846
1846
|
props: await St(
|
|
1847
|
-
P.getAttributeNames().reduce((
|
|
1847
|
+
P.getAttributeNames().reduce((H, S) => ({ ...H, [S]: P.getAttribute(S) }), {})
|
|
1848
1848
|
),
|
|
1849
1849
|
innerHTML: P.innerHTML
|
|
1850
1850
|
}, L = Nt(R);
|
|
@@ -1865,32 +1865,32 @@ async function Al(l, t = {}) {
|
|
|
1865
1865
|
if (r.elMap[c] = k, P || (_.textContent && _.textContent !== k.textContent && (k.textContent = _.textContent), _.innerHTML && _.innerHTML !== k.innerHTML && (k.innerHTML = _.innerHTML), m(c, "el", () => {
|
|
1866
1866
|
r.elMap[c]?.remove(), delete r.elMap[c];
|
|
1867
1867
|
})), _._eventHandlers)
|
|
1868
|
-
for (const
|
|
1869
|
-
Object.prototype.hasOwnProperty.call(_._eventHandlers,
|
|
1868
|
+
for (const $ in _._eventHandlers)
|
|
1869
|
+
Object.prototype.hasOwnProperty.call(_._eventHandlers, $) && k.getAttribute(`data-${$}`) !== "" && ((_.tag === "bodyAttrs" ? n.defaultView : k).addEventListener(
|
|
1870
1870
|
// onload -> load
|
|
1871
|
-
|
|
1872
|
-
_._eventHandlers[
|
|
1873
|
-
), k.setAttribute(`data-${
|
|
1874
|
-
for (const
|
|
1875
|
-
if (!Object.prototype.hasOwnProperty.call(_.props,
|
|
1871
|
+
$.substring(2),
|
|
1872
|
+
_._eventHandlers[$].bind(k)
|
|
1873
|
+
), k.setAttribute(`data-${$}`, ""));
|
|
1874
|
+
for (const $ in _.props) {
|
|
1875
|
+
if (!Object.prototype.hasOwnProperty.call(_.props, $))
|
|
1876
1876
|
continue;
|
|
1877
|
-
const R = _.props[
|
|
1878
|
-
if (
|
|
1877
|
+
const R = _.props[$], L = `attr:${$}`;
|
|
1878
|
+
if ($ === "class") {
|
|
1879
1879
|
if (!R)
|
|
1880
1880
|
continue;
|
|
1881
1881
|
for (const I of R.split(" "))
|
|
1882
1882
|
P && m(c, `${L}:${I}`, () => k.classList.remove(I)), !k.classList.contains(I) && k.classList.add(I);
|
|
1883
|
-
} else if (
|
|
1883
|
+
} else if ($ === "style") {
|
|
1884
1884
|
if (!R)
|
|
1885
1885
|
continue;
|
|
1886
1886
|
for (const I of R.split(";")) {
|
|
1887
|
-
const V = I.indexOf(":"),
|
|
1888
|
-
m(c, `${L}:${
|
|
1889
|
-
k.style.removeProperty(
|
|
1890
|
-
}), k.style.setProperty(
|
|
1887
|
+
const V = I.indexOf(":"), H = I.substring(0, V).trim(), S = I.substring(V + 1).trim();
|
|
1888
|
+
m(c, `${L}:${H}`, () => {
|
|
1889
|
+
k.style.removeProperty(H);
|
|
1890
|
+
}), k.style.setProperty(H, S);
|
|
1891
1891
|
}
|
|
1892
1892
|
} else
|
|
1893
|
-
k.getAttribute(
|
|
1893
|
+
k.getAttribute($) !== R && k.setAttribute($, R === !0 ? "" : String(R)), P && m(c, L, () => k.removeAttribute($));
|
|
1894
1894
|
}
|
|
1895
1895
|
}
|
|
1896
1896
|
const p = [], y = {
|
|
@@ -1922,21 +1922,21 @@ async function Al(l, t = {}) {
|
|
|
1922
1922
|
l._domUpdatePromise = void 0, l.dirty = !1;
|
|
1923
1923
|
})), l._domUpdatePromise;
|
|
1924
1924
|
}
|
|
1925
|
-
function
|
|
1925
|
+
function Hl(l, t = {}) {
|
|
1926
1926
|
const n = t.delayFn || ((o) => setTimeout(o, 10));
|
|
1927
1927
|
return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() => Al(l, t).then(() => {
|
|
1928
1928
|
delete l._domDebouncedUpdatePromise, o();
|
|
1929
1929
|
})));
|
|
1930
1930
|
}
|
|
1931
1931
|
// @__NO_SIDE_EFFECTS__
|
|
1932
|
-
function
|
|
1932
|
+
function Dl(l) {
|
|
1933
1933
|
return (t) => {
|
|
1934
1934
|
const n = t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1935
1935
|
return n && t.push(JSON.parse(n)), {
|
|
1936
1936
|
mode: "client",
|
|
1937
1937
|
hooks: {
|
|
1938
1938
|
"entries:updated": (o) => {
|
|
1939
|
-
|
|
1939
|
+
Hl(o, l);
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
1942
|
};
|
|
@@ -2254,7 +2254,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2254
2254
|
// @__NO_SIDE_EFFECTS__
|
|
2255
2255
|
function Yl(l = {}) {
|
|
2256
2256
|
const t = Ql(l);
|
|
2257
|
-
return t.use(/* @__PURE__ */
|
|
2257
|
+
return t.use(/* @__PURE__ */ Dl()), t;
|
|
2258
2258
|
}
|
|
2259
2259
|
function Vt(l, t) {
|
|
2260
2260
|
return !l || l === "server" && t || l === "client" && !t;
|
|
@@ -2381,7 +2381,7 @@ class sa extends HTMLElement {
|
|
|
2381
2381
|
}
|
|
2382
2382
|
connectedCallback() {
|
|
2383
2383
|
const t = ko(yt, this.attributes);
|
|
2384
|
-
this.vueApp = go(yt, t), this.vueApp.provide("emitter", ia), this.vueApp.use(aa), this.vueApp.use(la), this.vueApp.use(Mo), this.vueApp.use(bo), this.vueApp.use(Ro), this.vueApp.use(Po), this.vueApp.use(
|
|
2384
|
+
this.vueApp = go(yt, t), this.vueApp.provide("emitter", ia), this.vueApp.use(aa), this.vueApp.use(la), this.vueApp.use(Mo), this.vueApp.use(bo), this.vueApp.use(Ro), this.vueApp.use(Po), this.vueApp.use($o, { bootstrap: !0 });
|
|
2385
2385
|
const n = document.createElement("div");
|
|
2386
2386
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
2387
2387
|
}
|