@konnectio/core 4.0.56-rc50 → 4.0.56-rc51
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-BQQitCzR.js → ActionField-CsHUzdDM.js} +13 -13
- package/dist/ActionField-CsHUzdDM.js.br +0 -0
- package/dist/{AvailabilitySkeleton-TZiNrJ8t.js → AvailabilitySkeleton-BpS3qH0r.js} +31 -31
- package/dist/AvailabilitySkeleton-BpS3qH0r.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js.br +0 -0
- package/dist/{CheckoutWindow-DBBmXrsX.js → CheckoutWindow-DQUTHQEL.js} +14 -14
- package/dist/CheckoutWindow-DQUTHQEL.js.br +0 -0
- package/dist/{ErrorMessage-Dw-TLplp.js → ErrorMessage-CWHVx0Pk.js} +4 -4
- package/dist/ErrorMessage-CWHVx0Pk.js.br +0 -0
- package/dist/{EventAvailabilityForm-DimufYUP.js → EventAvailabilityForm-Bk4wdYKU.js} +5 -5
- package/dist/EventAvailabilityForm-Bk4wdYKU.js.br +0 -0
- package/dist/{Field-B4x3qSfU.js → Field-CIQ61QX5.js} +12 -12
- package/dist/Field-CIQ61QX5.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js} +953 -959
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js.br +0 -0
- package/dist/{TermsOfService-DLchxC08.js → TermsOfService-BZzRUgUN.js} +10 -10
- package/dist/TermsOfService-BZzRUgUN.js.br +0 -0
- package/dist/_-CRFAvFk8.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DF6d_VKc.js +68 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DF6d_VKc.js.br +0 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js +9530 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/event.js +38 -37
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +23 -22
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +58 -57
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-9uCMmY6r.js → giftCard-iMEwS4uA.js} +5 -5
- package/dist/giftCard-iMEwS4uA.js.br +0 -0
- package/dist/hotel.js +223 -223
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C4-Uj22v.js → masonry.plugin-BSptmqjG.js} +166 -166
- package/dist/masonry.plugin-BSptmqjG.js.br +0 -0
- package/dist/polyfill.js +123 -122
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-BSHzssDu.js +18 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-wxeFiHIa.js +2287 -0
- package/dist/tracing-wxeFiHIa.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BQQitCzR.js.br +0 -0
- package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
- package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
- package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
- package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
- package/dist/Field-B4x3qSfU.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
- package/dist/TermsOfService-DLchxC08.js.br +0 -0
- package/dist/_-C7wxqlYk.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js +0 -68
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
- package/dist/giftCard-9uCMmY6r.js.br +0 -0
- package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
- package/dist/tracing-Dm-FNj-F.js +0 -11807
- package/dist/tracing-Dm-FNj-F.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as X, r as oe, o as c, b as D, w as T, v as Ne, g as a, t as y, u as o, y as ot, z as lt, f as g, a as f, A as F, F as M, e as _, D as Ge, x as N, i as Ce, c as G, p as ht, j as vt, h as Je, q as we, n as Pe, S as
|
|
2
|
-
import { h as ne, s as te, b as ke,
|
|
3
|
-
import { R as
|
|
4
|
-
import { A as
|
|
5
|
-
import { S as
|
|
6
|
-
import { a as Ae, B as
|
|
7
|
-
import { _ as bt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
1
|
+
import { d as X, r as oe, o as c, b as D, w as T, v as Ne, g as a, t as y, u as o, y as ot, z as lt, f as g, a as f, A as F, F as M, e as _, D as Ge, x as N, i as Ce, c as G, p as ht, j as vt, h as Je, q as we, n as Pe, S as Yt, N as Zt, K as eo, O as to, k as oo } from "./_commonjsHelpers-04Qj4xBt.js";
|
|
2
|
+
import { h as ne, s as te, b as ke, y as me, B as de, z, Q as qe, H as nt, R as re, A as ee, D as lo, _ as ue, k as He, U as yt, l as We, C as pe, j as gt, J as kt, m as Ke, r as at, T as se, I as no, V as ao, a as io, n as so, N as it, W as ro, X as st, o as uo, p as co, F as po, q as mo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js";
|
|
3
|
+
import { R as fo, B as Ie, L as ho, S as vo, M as yo, a as Fe, C as go, T as ko, V as bo, G as _o } from "./masonry.plugin-BSptmqjG.js";
|
|
4
|
+
import { A as Vo, H as To } from "./AvailabilitySkeleton-BpS3qH0r.js";
|
|
5
|
+
import { S as $o } from "./TermsOfService-BZzRUgUN.js";
|
|
6
|
+
import { a as Ae, B as Co, P as wo, C as Po } from "./CheckoutWindow-DQUTHQEL.js";
|
|
7
|
+
import { _ as bt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js";
|
|
8
8
|
import "./deep-link.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
|
11
11
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
12
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
12
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "41f188e0-d093-460f-b70c-c540da1b5439", n._sentryDebugIdIdentifier = "sentry-dbid-41f188e0-d093-460f-b70c-c540da1b5439");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const Ao = { class: "konnectio-hotel-reservation-warning" }, Do = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
+
const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnectio-reservation-actions" }, Eo = /* @__PURE__ */ X({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -43,16 +43,16 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: O,
|
|
45
45
|
newsMails: R,
|
|
46
|
-
termsOfService:
|
|
46
|
+
termsOfService: Q,
|
|
47
47
|
discountCode: L,
|
|
48
48
|
hasTermOfService: x,
|
|
49
|
-
acceptTerms:
|
|
49
|
+
acceptTerms: Y,
|
|
50
50
|
totalTemplateAddonPrice: be
|
|
51
51
|
} = te(me()), { removeRoom: j, validateDiscountCode: he } = me(), ce = oe(!1);
|
|
52
52
|
function fe(le) {
|
|
53
53
|
return le.reduce((E, { totalPrice: ve }) => E + ve, 0);
|
|
54
54
|
}
|
|
55
|
-
return (le, q) => (c(), D(
|
|
55
|
+
return (le, q) => (c(), D(fo, {
|
|
56
56
|
"discount-code": o(L),
|
|
57
57
|
"onUpdate:discountCode": q[4] || (q[4] = (E) => N(L) ? L.value = E : null),
|
|
58
58
|
"validate-discount-code": o(he),
|
|
@@ -70,7 +70,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
70
70
|
a("span", null, y(o(l)("booking.reservation.arrival")), 1),
|
|
71
71
|
a("b", null, [
|
|
72
72
|
a("span", null, y(o(e) ? o(de)(o(C)) : `${o(de)(o(C))}, ${o(t) ? o(s) : o(r)}`), 1),
|
|
73
|
-
ot(a("span",
|
|
73
|
+
ot(a("span", Ao, [
|
|
74
74
|
g(z, {
|
|
75
75
|
icon: "exclamation-triangle",
|
|
76
76
|
type: "fas"
|
|
@@ -84,7 +84,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
84
84
|
a("span", null, y(o(l)("booking.reservation.departure")), 1),
|
|
85
85
|
a("b", null, [
|
|
86
86
|
a("span", null, y(o(e) ? o(de)(o(H)) : `${o(de)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
|
|
87
|
-
ot(a("span",
|
|
87
|
+
ot(a("span", Do, [
|
|
88
88
|
g(z, {
|
|
89
89
|
icon: "exclamation-triangle",
|
|
90
90
|
type: "fas"
|
|
@@ -142,14 +142,14 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
142
142
|
_("", !0)
|
|
143
143
|
])
|
|
144
144
|
]),
|
|
145
|
-
fe(ae.roomAddons) > 0 ? (c(), f("li",
|
|
145
|
+
fe(ae.roomAddons) > 0 ? (c(), f("li", Ho, [
|
|
146
146
|
a("span", null, y(o(l)("general.addons")), 1),
|
|
147
147
|
a("b", null, y(o(ee)(fe(ae.roomAddons), o(u))), 1)
|
|
148
148
|
])) : _("", !0)
|
|
149
149
|
]))), 128))
|
|
150
150
|
]))), 128))
|
|
151
151
|
]))), 128)) : _("", !0),
|
|
152
|
-
o(S) && o(B) ? (c(), f("div",
|
|
152
|
+
o(S) && o(B) ? (c(), f("div", Io, [
|
|
153
153
|
a("h6", null, [
|
|
154
154
|
a("span", null, y(o(re)(o(B).name)), 1)
|
|
155
155
|
]),
|
|
@@ -163,7 +163,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
163
163
|
a("span", null, y(o(ee)(o(S).extraPrice, o(u))), 1)
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
o(be) ? (c(), f("li",
|
|
166
|
+
o(be) ? (c(), f("li", So, [
|
|
167
167
|
a("span", null, y(o(l)("general.addons")), 1),
|
|
168
168
|
a("b", null, y(o(ee)(o(be), o(u))), 1)
|
|
169
169
|
])) : _("", !0)
|
|
@@ -172,7 +172,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
172
172
|
])) : _("", !0)
|
|
173
173
|
]),
|
|
174
174
|
actions: T(() => [
|
|
175
|
-
a("ul",
|
|
175
|
+
a("ul", Bo, [
|
|
176
176
|
o(p) ? _("", !0) : (c(), D(Ae, {
|
|
177
177
|
key: 0,
|
|
178
178
|
modelValue: o(R),
|
|
@@ -183,8 +183,8 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
183
183
|
}, null, 8, ["modelValue", "label"])),
|
|
184
184
|
o(x) ? (c(), D(Ae, {
|
|
185
185
|
key: 1,
|
|
186
|
-
modelValue: o(
|
|
187
|
-
"onUpdate:modelValue": q[2] || (q[2] = (E) => N(
|
|
186
|
+
modelValue: o(Y),
|
|
187
|
+
"onUpdate:modelValue": q[2] || (q[2] = (E) => N(Y) ? Y.value = E : null),
|
|
188
188
|
type: "checkbox",
|
|
189
189
|
name: "terms"
|
|
190
190
|
}, {
|
|
@@ -208,10 +208,10 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
208
208
|
_: 1
|
|
209
209
|
}, 8, ["modelValue"])) : _("", !0),
|
|
210
210
|
Ne(le.$slots, "actions", {}, void 0, !0),
|
|
211
|
-
g(
|
|
211
|
+
g($o, {
|
|
212
212
|
modelValue: ce.value,
|
|
213
213
|
"onUpdate:modelValue": q[3] || (q[3] = (E) => ce.value = E),
|
|
214
|
-
description: o(
|
|
214
|
+
description: o(Q)
|
|
215
215
|
}, null, 8, ["modelValue", "description"])
|
|
216
216
|
])
|
|
217
217
|
]),
|
|
@@ -221,7 +221,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
221
221
|
_: 3
|
|
222
222
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
223
223
|
}
|
|
224
|
-
}), Oe = /* @__PURE__ */ ue(
|
|
224
|
+
}), Oe = /* @__PURE__ */ ue(Eo, [["__scopeId", "data-v-f47e4ac5"]]), Mo = (n) => (ht("data-v-69fe83d8"), n = n(), vt(), n), Uo = { class: "konnectio-room-config-option" }, Ro = { key: 0 }, Lo = { class: "konnectio-selected-room-config" }, No = { class: "konnectio-selected-room-config-people" }, Fo = { key: 0 }, Oo = { class: "konnectio-selected-room-config-price" }, jo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ a("span", null, null, -1)), Go = /* @__PURE__ */ X({
|
|
225
225
|
__name: "RoomConfigField",
|
|
226
226
|
props: {
|
|
227
227
|
modelValue: {},
|
|
@@ -254,7 +254,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
254
254
|
searchable: !1
|
|
255
255
|
}, {
|
|
256
256
|
option: T(({ data: d }) => [
|
|
257
|
-
a("span",
|
|
257
|
+
a("span", Uo, [
|
|
258
258
|
a("div", null, [
|
|
259
259
|
g(z, {
|
|
260
260
|
icon: "male",
|
|
@@ -262,7 +262,7 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
262
262
|
color: "font"
|
|
263
263
|
}),
|
|
264
264
|
a("span", null, y(`${d.adults}`), 1),
|
|
265
|
-
d.children > 0 ? (c(), f("span",
|
|
265
|
+
d.children > 0 ? (c(), f("span", Ro, [
|
|
266
266
|
g(z, {
|
|
267
267
|
icon: "child",
|
|
268
268
|
type: "fas",
|
|
@@ -275,19 +275,19 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
275
275
|
])
|
|
276
276
|
]),
|
|
277
277
|
"selected-option": T(({ data: d }) => [
|
|
278
|
-
a("div",
|
|
279
|
-
a("div",
|
|
278
|
+
a("div", Lo, [
|
|
279
|
+
a("div", No, [
|
|
280
280
|
a("div", null, [
|
|
281
281
|
_("", !0),
|
|
282
282
|
a("span", null, y(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
|
|
283
283
|
]),
|
|
284
|
-
d.children > 0 ? (c(), f("div",
|
|
284
|
+
d.children > 0 ? (c(), f("div", Fo, [
|
|
285
285
|
_("", !0),
|
|
286
286
|
a("span", null, y(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
|
|
287
287
|
])) : _("", !0)
|
|
288
288
|
]),
|
|
289
|
-
a("div",
|
|
290
|
-
|
|
289
|
+
a("div", Oo, [
|
|
290
|
+
jo,
|
|
291
291
|
Ge(" " + y(`(${o(ee)(d.price, o(t))})`), 1)
|
|
292
292
|
])
|
|
293
293
|
])
|
|
@@ -295,8 +295,8 @@ const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnecti
|
|
|
295
295
|
_: 1
|
|
296
296
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
297
297
|
}
|
|
298
|
-
}),
|
|
299
|
-
const
|
|
298
|
+
}), qo = /* @__PURE__ */ ue(Go, [["__scopeId", "data-v-69fe83d8"]]), Wo = { class: "konnectio-availability-listing-selection" }, Ko = { key: 1 }, zo = { class: "konnectio-listing-config-body" }, xo = { class: "konnectio-listing-units-body" };
|
|
299
|
+
const Jo = /* @__PURE__ */ X({
|
|
300
300
|
__name: "Hotel",
|
|
301
301
|
props: {
|
|
302
302
|
room: {},
|
|
@@ -344,13 +344,13 @@ const Yo = /* @__PURE__ */ X({
|
|
|
344
344
|
const B = G(() => JSON.parse(JSON.stringify(t.value)));
|
|
345
345
|
return we(B, (k, C) => {
|
|
346
346
|
C.length > 0 && k.forEach((H, O) => {
|
|
347
|
-
H.config.forEach((R,
|
|
348
|
-
const L = R.units, x = C[O].config[
|
|
349
|
-
L !== x && (L > x ? (t.value[O].config[
|
|
347
|
+
H.config.forEach((R, Q) => {
|
|
348
|
+
const L = R.units, x = C[O].config[Q].units;
|
|
349
|
+
L !== x && (L > x ? (t.value[O].config[Q].addons.push({}), u({
|
|
350
350
|
id: e.room.id,
|
|
351
351
|
name: e.room.title,
|
|
352
352
|
value: e.room.rates[O].rackRate
|
|
353
|
-
})) : (t.value[O].config[
|
|
353
|
+
})) : (t.value[O].config[Q].addons.pop(), r({
|
|
354
354
|
id: e.room.id,
|
|
355
355
|
name: e.room.title,
|
|
356
356
|
value: e.room.rates[O].rackRate
|
|
@@ -371,7 +371,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
371
371
|
"includes-breakfast": h.value
|
|
372
372
|
}, {
|
|
373
373
|
action: T(() => [
|
|
374
|
-
a("div",
|
|
374
|
+
a("div", Wo, [
|
|
375
375
|
(c(!0), f(M, null, F(t.value, (H, O) => (c(), f("div", {
|
|
376
376
|
key: H.id,
|
|
377
377
|
class: "freshbooking-hotel-room"
|
|
@@ -385,10 +385,10 @@ const Yo = /* @__PURE__ */ X({
|
|
|
385
385
|
options: s.value,
|
|
386
386
|
searchable: !1
|
|
387
387
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
388
|
-
H.id ? (c(), f("div",
|
|
388
|
+
H.id ? (c(), f("div", Ko, [
|
|
389
389
|
(c(!0), f(M, null, F(k.room.rates, ({
|
|
390
390
|
id: R,
|
|
391
|
-
maximumOccupants:
|
|
391
|
+
maximumOccupants: Q
|
|
392
392
|
}) => (c(), f("div", {
|
|
393
393
|
key: R,
|
|
394
394
|
class: "konnectio-listing-action-selective-i"
|
|
@@ -397,22 +397,22 @@ const Yo = /* @__PURE__ */ X({
|
|
|
397
397
|
key: x,
|
|
398
398
|
class: "konnectio-listing-action-selective"
|
|
399
399
|
}, [
|
|
400
|
-
a("ul",
|
|
401
|
-
g(
|
|
400
|
+
a("ul", zo, [
|
|
401
|
+
g(qo, {
|
|
402
402
|
modelValue: L.id,
|
|
403
|
-
"onUpdate:modelValue": (
|
|
403
|
+
"onUpdate:modelValue": (Y) => L.id = Y,
|
|
404
404
|
icon: "male",
|
|
405
405
|
"icon-type": "fas",
|
|
406
406
|
label: o(l)("general.guests"),
|
|
407
|
-
description: `${o(l)("general.maximumGuests")}: ${
|
|
407
|
+
description: `${o(l)("general.maximumGuests")}: ${Q}`,
|
|
408
408
|
options: P(R),
|
|
409
409
|
readonly: !(P(R).length > 1)
|
|
410
410
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
411
411
|
]),
|
|
412
|
-
a("ul",
|
|
412
|
+
a("ul", xo, [
|
|
413
413
|
g(We, {
|
|
414
414
|
modelValue: L.units,
|
|
415
|
-
"onUpdate:modelValue": (
|
|
415
|
+
"onUpdate:modelValue": (Y) => L.units = Y,
|
|
416
416
|
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, L.id)}`,
|
|
417
417
|
icon: "house",
|
|
418
418
|
"icon-type": "fas",
|
|
@@ -432,7 +432,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
432
432
|
_: 1
|
|
433
433
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
434
434
|
}
|
|
435
|
-
}),
|
|
435
|
+
}), Qo = /* @__PURE__ */ ue(Jo, [["__scopeId", "data-v-090cdca2"]]), Xo = { class: "konnectio-template-side-panel" }, Yo = { class: "konnectio-template-side-panel-listings" }, Zo = /* @__PURE__ */ X({
|
|
436
436
|
__name: "Template",
|
|
437
437
|
props: {
|
|
438
438
|
title: {},
|
|
@@ -451,13 +451,13 @@ const Yo = /* @__PURE__ */ X({
|
|
|
451
451
|
function d(h) {
|
|
452
452
|
e.value = p.templateId, t.value = h, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
|
|
453
453
|
}
|
|
454
|
-
return (h, V) => (c(), D(
|
|
454
|
+
return (h, V) => (c(), D(Co, {
|
|
455
455
|
title: h.title,
|
|
456
456
|
subtitle: o(l)("booking.availability.selectATemplateRoom")
|
|
457
457
|
}, {
|
|
458
458
|
default: T(() => [
|
|
459
|
-
a("div",
|
|
460
|
-
a("div",
|
|
459
|
+
a("div", Xo, [
|
|
460
|
+
a("div", Yo, [
|
|
461
461
|
(c(!0), f(M, null, F(r.value, ({
|
|
462
462
|
id: P,
|
|
463
463
|
title: $,
|
|
@@ -492,7 +492,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
492
492
|
_: 1
|
|
493
493
|
}, 8, ["title", "subtitle"]));
|
|
494
494
|
}
|
|
495
|
-
}), _t = /* @__PURE__ */ ue(
|
|
495
|
+
}), _t = /* @__PURE__ */ ue(Zo, [["__scopeId", "data-v-35a96ba4"]]), el = ["innerHTML"], tl = { class: "konnectio-template-select-package" }, ol = /* @__PURE__ */ X({
|
|
496
496
|
__name: "Template",
|
|
497
497
|
props: {
|
|
498
498
|
id: {},
|
|
@@ -537,10 +537,10 @@ const Yo = /* @__PURE__ */ X({
|
|
|
537
537
|
u.description ? (c(), f("p", {
|
|
538
538
|
key: 0,
|
|
539
539
|
innerHTML: o(gt)(u.description)
|
|
540
|
-
}, null, 8,
|
|
540
|
+
}, null, 8, el)) : _("", !0)
|
|
541
541
|
]),
|
|
542
542
|
action: T(() => [
|
|
543
|
-
a("div",
|
|
543
|
+
a("div", tl, [
|
|
544
544
|
g(pe, {
|
|
545
545
|
onClickEvent: m,
|
|
546
546
|
label: o(l)("booking.availability.selectPackage"),
|
|
@@ -562,7 +562,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
562
562
|
_: 1
|
|
563
563
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
564
564
|
}
|
|
565
|
-
}),
|
|
565
|
+
}), ll = ["innerHTML"], nl = { class: "konnectio-special-offer-availability" }, al = { class: "konnectio-special-offer-availability-button" }, il = /* @__PURE__ */ X({
|
|
566
566
|
__name: "SpecialOffer",
|
|
567
567
|
props: {
|
|
568
568
|
id: {},
|
|
@@ -605,10 +605,10 @@ const Yo = /* @__PURE__ */ X({
|
|
|
605
605
|
d.description ? (c(), f("p", {
|
|
606
606
|
key: 0,
|
|
607
607
|
innerHTML: o(gt)(d.description)
|
|
608
|
-
}, null, 8,
|
|
608
|
+
}, null, 8, ll)) : _("", !0)
|
|
609
609
|
]),
|
|
610
610
|
action: T(() => [
|
|
611
|
-
a("div",
|
|
611
|
+
a("div", nl, [
|
|
612
612
|
g(bt, {
|
|
613
613
|
modelValue: i.value,
|
|
614
614
|
"onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
|
|
@@ -623,7 +623,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
623
623
|
readonly: s.value,
|
|
624
624
|
range: ""
|
|
625
625
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
626
|
-
a("div",
|
|
626
|
+
a("div", al, [
|
|
627
627
|
g(pe, {
|
|
628
628
|
label: o(l)("availability.buttonLabel"),
|
|
629
629
|
onClick: Ce(r, ["prevent"])
|
|
@@ -691,7 +691,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
691
691
|
readonly: m.readonly
|
|
692
692
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
693
693
|
}
|
|
694
|
-
}),
|
|
694
|
+
}), sl = { style: { display: "flex", "align-items": "baseline" } }, rl = /* @__PURE__ */ X({
|
|
695
695
|
__name: "CountryField",
|
|
696
696
|
props: {
|
|
697
697
|
modelValue: {},
|
|
@@ -728,7 +728,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
728
728
|
a("span", null, y(r.name), 1)
|
|
729
729
|
]),
|
|
730
730
|
"selected-option": T(({ data: r }) => [
|
|
731
|
-
a("div",
|
|
731
|
+
a("div", sl, [
|
|
732
732
|
a("i", {
|
|
733
733
|
class: Pe(["konnectio-flag-icon", r.iso])
|
|
734
734
|
}, null, 2),
|
|
@@ -738,7 +738,7 @@ const Yo = /* @__PURE__ */ X({
|
|
|
738
738
|
_: 1
|
|
739
739
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
740
740
|
}
|
|
741
|
-
}),
|
|
741
|
+
}), dl = /* @__PURE__ */ ue(rl, [["__scopeId", "data-v-1462612d"]]), ul = /* @__PURE__ */ X({
|
|
742
742
|
__name: "NameField",
|
|
743
743
|
props: {
|
|
744
744
|
modelValue: {},
|
|
@@ -842,58 +842,58 @@ const Yo = /* @__PURE__ */ X({
|
|
|
842
842
|
_: 1
|
|
843
843
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
844
844
|
}
|
|
845
|
-
}),
|
|
845
|
+
}), cl = /* @__PURE__ */ ue(ul, [["__scopeId", "data-v-78b0b319"]]), pl = { class: "hotel-skeleton" }, ml = { class: "hotel-skeleton-content" }, fl = { class: "hotel-skeleton-sidebar" }, hl = /* @__PURE__ */ X({
|
|
846
846
|
__name: "HotelSkeleton",
|
|
847
847
|
setup(n) {
|
|
848
|
-
return (l, e) => (c(), f("div",
|
|
848
|
+
return (l, e) => (c(), f("div", pl, [
|
|
849
|
+
a("div", ml, [
|
|
850
|
+
g(Vo, { hotel: "" }),
|
|
851
|
+
g(ho)
|
|
852
|
+
]),
|
|
849
853
|
a("div", fl, [
|
|
850
|
-
g(To, { hotel: "" }),
|
|
851
854
|
g(vo)
|
|
852
|
-
]),
|
|
853
|
-
a("div", hl, [
|
|
854
|
-
g(yo)
|
|
855
855
|
])
|
|
856
856
|
]));
|
|
857
857
|
}
|
|
858
|
-
}),
|
|
859
|
-
const
|
|
858
|
+
}), vl = /* @__PURE__ */ ue(hl, [["__scopeId", "data-v-1bb21da4"]]), Qe = (n) => (ht("data-v-27fc0ab8"), n = n(), vt(), n), yl = { id: "booking-availability-container" }, gl = { id: "booking-availability-controls" };
|
|
859
|
+
const kl = { key: 1 }, bl = { key: 0 }, _l = {
|
|
860
860
|
key: 0,
|
|
861
861
|
id: "booking-availability-packages"
|
|
862
|
-
},
|
|
862
|
+
}, Vl = {
|
|
863
863
|
key: 0,
|
|
864
864
|
class: "konnectio-hotel-availability-title"
|
|
865
|
-
},
|
|
865
|
+
}, Tl = { id: "booking-availability-packages-wrapper" }, $l = { key: 1 }, Cl = {
|
|
866
866
|
key: 0,
|
|
867
867
|
class: "konnectio-hotel-availability-title"
|
|
868
|
-
},
|
|
868
|
+
}, wl = { id: "konnectio-listings" }, Pl = {
|
|
869
869
|
key: 2,
|
|
870
870
|
id: "booking-availability-packages"
|
|
871
|
-
},
|
|
871
|
+
}, Al = {
|
|
872
872
|
key: 0,
|
|
873
873
|
class: "konnectio-hotel-availability-title"
|
|
874
|
-
},
|
|
874
|
+
}, Dl = { id: "booking-availability-packages-wrapper" }, Hl = {
|
|
875
875
|
key: 3,
|
|
876
876
|
id: "booking-availability-no-listings",
|
|
877
877
|
class: "konnectio-panel"
|
|
878
|
-
},
|
|
878
|
+
}, Il = {
|
|
879
879
|
key: 1,
|
|
880
880
|
id: "booking-availability-no-listings"
|
|
881
|
-
},
|
|
881
|
+
}, Sl = {
|
|
882
882
|
key: 2,
|
|
883
883
|
id: "reservation-availability-next-dates"
|
|
884
|
-
},
|
|
885
|
-
const
|
|
884
|
+
}, Bl = { class: "konnectio-hotel-availability-title" }, El = { class: "reservation-special-offers-grid" }, Ml = ["title"];
|
|
885
|
+
const Ul = {
|
|
886
886
|
key: 2,
|
|
887
887
|
class: "konnectio-listing-loading"
|
|
888
|
-
},
|
|
888
|
+
}, Rl = { class: "konnectio-panel" }, Ll = {
|
|
889
889
|
key: 0,
|
|
890
890
|
id: "konnectio-hotel-addons"
|
|
891
891
|
};
|
|
892
|
-
const
|
|
892
|
+
const Nl = { class: "konnectio-event-addons-price" }, Fl = { key: 1 }, Ol = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("br", null, null, -1)), jl = { class: "konnectio-hotel-addons-option" }, Gl = {
|
|
893
893
|
key: 1,
|
|
894
894
|
id: "konnectio-hotel-addons"
|
|
895
|
-
},
|
|
896
|
-
const
|
|
895
|
+
}, ql = { class: "konnectio-table with-lines" };
|
|
896
|
+
const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Kl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("br", null, null, -1)), zl = { class: "konnectio-hotel-addons-option" }, xl = ["onClick"], Jl = { class: "konnectio-panel" }, Ql = { key: 0 }, Xl = { key: 1 }, Yl = { class: "konnectio-split-inputs" }, Zl = ["onClick"], en = /* @__PURE__ */ X({
|
|
897
897
|
name: "HotelLayout",
|
|
898
898
|
__name: "Hotel",
|
|
899
899
|
props: {
|
|
@@ -904,7 +904,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
904
904
|
styling: {}
|
|
905
905
|
},
|
|
906
906
|
setup(n) {
|
|
907
|
-
const l =
|
|
907
|
+
const l = Zt(() => import("./_-CRFAvFk8.js")), e = n, { t } = ne(), {
|
|
908
908
|
templateID: i,
|
|
909
909
|
templateAddons: s,
|
|
910
910
|
countries: m,
|
|
@@ -923,10 +923,10 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
923
923
|
city: H,
|
|
924
924
|
address: O,
|
|
925
925
|
country: R,
|
|
926
|
-
remark:
|
|
926
|
+
remark: Q,
|
|
927
927
|
allergies: L,
|
|
928
928
|
roomSelect: x,
|
|
929
|
-
roomDisplay:
|
|
929
|
+
roomDisplay: Y,
|
|
930
930
|
hasValidRoomSelection: be,
|
|
931
931
|
availabilityData: j,
|
|
932
932
|
selectionHasNoAddons: he,
|
|
@@ -941,7 +941,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
941
941
|
departureDate: _e
|
|
942
942
|
} = te(Ke()), { isValidHotelId: Be, updateDates: ae } = Ke(), {
|
|
943
943
|
currency: ye,
|
|
944
|
-
arrivalEarliest:
|
|
944
|
+
arrivalEarliest: Ye,
|
|
945
945
|
arrivalLatest: wt,
|
|
946
946
|
departureEarliest: Pt,
|
|
947
947
|
departureLatest: At,
|
|
@@ -954,7 +954,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
954
954
|
disableTravelingForBleasure: Bt,
|
|
955
955
|
disableCompanyField: Et,
|
|
956
956
|
hasPaymentGateway: Mt,
|
|
957
|
-
maxAdultAmount:
|
|
957
|
+
maxAdultAmount: Ze,
|
|
958
958
|
maxChildAmount: et
|
|
959
959
|
} = te(ke()), { beginCheckout: Ut } = yt(), { display: Ue } = io(), {
|
|
960
960
|
resetTemplate: Rt,
|
|
@@ -984,7 +984,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
984
984
|
}
|
|
985
985
|
return b.sort(w);
|
|
986
986
|
}), Wt = G(() => [[
|
|
987
|
-
parseInt(
|
|
987
|
+
parseInt(Ye.value.split(":")[0]),
|
|
988
988
|
parseInt(wt.value.split(":")[0])
|
|
989
989
|
]]), Kt = G(() => [[
|
|
990
990
|
parseInt(Pt.value.split(":")[0]),
|
|
@@ -1003,13 +1003,13 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1003
1003
|
const b = ro("hash-params", {
|
|
1004
1004
|
removeNullishValues: !0
|
|
1005
1005
|
}), w = parseInt(b.adults), W = parseInt(b.children), A = parseInt(b.hId), v = b.checkin, K = b.checkout, U = b.roomGroupId;
|
|
1006
|
-
if (isNaN(w) || (w >
|
|
1006
|
+
if (isNaN(w) || (w > Ze.value ? q.value = Ze.value : q.value = w, b.adults = void 0), isNaN(W) || (W > et.value ? E.value = et.value : E.value = W, b.children = void 0), isNaN(A) || (Be(A) ? (ve.value = A, b.hId = void 0) : Ue({
|
|
1007
1007
|
message: "Hotel ID: not found",
|
|
1008
1008
|
type: "error"
|
|
1009
1009
|
})), v && K)
|
|
1010
1010
|
if (st(v) && st(K)) {
|
|
1011
|
-
const
|
|
1012
|
-
|
|
1011
|
+
const Z = new Date(v), J = new Date(K);
|
|
1012
|
+
Z <= J ? (Se.value = Z, _e.value = J, b.checkin = void 0, b.checkout = void 0) : Ue({
|
|
1013
1013
|
message: "Invalid date range",
|
|
1014
1014
|
type: "error"
|
|
1015
1015
|
});
|
|
@@ -1023,7 +1023,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1023
1023
|
}
|
|
1024
1024
|
return (b, w) => (c(), D(so, { styling: b.styling }, {
|
|
1025
1025
|
default: T(() => [
|
|
1026
|
-
(c(), D(
|
|
1026
|
+
(c(), D(Yt, { onResolve: Jt }, {
|
|
1027
1027
|
default: T(() => [
|
|
1028
1028
|
g(o(l), {
|
|
1029
1029
|
id: "konnectio-hotel-module",
|
|
@@ -1031,22 +1031,22 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1031
1031
|
callback: o(Ft)
|
|
1032
1032
|
}, {
|
|
1033
1033
|
default: T(() => [
|
|
1034
|
-
g(
|
|
1034
|
+
g(yo, {
|
|
1035
1035
|
layout: b.headerLayout,
|
|
1036
1036
|
onReset: o(Rt)
|
|
1037
1037
|
}, {
|
|
1038
1038
|
availability: T(({ next: W }) => [
|
|
1039
1039
|
g(Oe, null, {
|
|
1040
1040
|
form: T(() => [
|
|
1041
|
-
a("div",
|
|
1042
|
-
a("div",
|
|
1043
|
-
g(
|
|
1041
|
+
a("div", yl, [
|
|
1042
|
+
a("div", gl, [
|
|
1043
|
+
g(To, { booking: !0 })
|
|
1044
1044
|
]),
|
|
1045
1045
|
_("", !0),
|
|
1046
|
-
!o(p) && o(ce) ? (c(), f("div",
|
|
1047
|
-
o(j).roomGroups.length > 0 || o(j).templates.length > 0 || o(j).specialTemplates.length > 0 ? (c(), f("div",
|
|
1048
|
-
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div",
|
|
1049
|
-
b.onlyShow !== "packages" ? (c(), f("h2",
|
|
1046
|
+
!o(p) && o(ce) ? (c(), f("div", kl, [
|
|
1047
|
+
o(j).roomGroups.length > 0 || o(j).templates.length > 0 || o(j).specialTemplates.length > 0 ? (c(), f("div", bl, [
|
|
1048
|
+
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", _l, [
|
|
1049
|
+
b.onlyShow !== "packages" ? (c(), f("h2", Vl, [
|
|
1050
1050
|
g(z, {
|
|
1051
1051
|
icon: "box",
|
|
1052
1052
|
type: "fal",
|
|
@@ -1054,29 +1054,29 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1054
1054
|
}),
|
|
1055
1055
|
a("span", null, y(o(t)("booking.availability.packagesTitle")), 1)
|
|
1056
1056
|
])) : _("", !0),
|
|
1057
|
-
a("ul",
|
|
1057
|
+
a("ul", Tl, [
|
|
1058
1058
|
(c(!0), f(M, null, F(o(j).templates, ({
|
|
1059
1059
|
id: A,
|
|
1060
1060
|
name: v,
|
|
1061
1061
|
templateRoomGroups: K,
|
|
1062
1062
|
image: U,
|
|
1063
1063
|
description: I,
|
|
1064
|
-
weekendFee:
|
|
1065
|
-
}) => (c(), D(
|
|
1064
|
+
weekendFee: Z
|
|
1065
|
+
}) => (c(), D(ol, {
|
|
1066
1066
|
key: A,
|
|
1067
1067
|
id: A,
|
|
1068
1068
|
description: I,
|
|
1069
1069
|
name: v,
|
|
1070
1070
|
image: U,
|
|
1071
|
-
weekendFee:
|
|
1071
|
+
weekendFee: Z,
|
|
1072
1072
|
"room-groups": K,
|
|
1073
1073
|
callback: W,
|
|
1074
1074
|
"hide-addons": b.hideAddons
|
|
1075
1075
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1076
1076
|
])
|
|
1077
1077
|
])) : _("", !0),
|
|
1078
|
-
o(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div",
|
|
1079
|
-
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2",
|
|
1078
|
+
o(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", $l, [
|
|
1079
|
+
o(j).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", Cl, [
|
|
1080
1080
|
g(z, {
|
|
1081
1081
|
icon: "house",
|
|
1082
1082
|
type: "fal",
|
|
@@ -1084,15 +1084,15 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1084
1084
|
}),
|
|
1085
1085
|
a("span", null, y(o(t)("booking.availability.roomsTitle")), 1)
|
|
1086
1086
|
])) : _("", !0),
|
|
1087
|
-
a("ul",
|
|
1088
|
-
(c(!0), f(M, null, F(qt.value, (A, v) => (c(), D(
|
|
1087
|
+
a("ul", wl, [
|
|
1088
|
+
(c(!0), f(M, null, F(qt.value, (A, v) => (c(), D(Qo, {
|
|
1089
1089
|
room: A,
|
|
1090
1090
|
key: v
|
|
1091
1091
|
}, null, 8, ["room"]))), 128))
|
|
1092
1092
|
])
|
|
1093
1093
|
])) : _("", !0),
|
|
1094
|
-
o(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div",
|
|
1095
|
-
b.onlyShow !== "packages" ? (c(), f("h2",
|
|
1094
|
+
o(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Pl, [
|
|
1095
|
+
b.onlyShow !== "packages" ? (c(), f("h2", Al, [
|
|
1096
1096
|
g(z, {
|
|
1097
1097
|
icon: "sparkles",
|
|
1098
1098
|
type: "fal",
|
|
@@ -1100,17 +1100,17 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1100
1100
|
}),
|
|
1101
1101
|
a("span", null, y(o(t)("hotel.specialOffers")), 1)
|
|
1102
1102
|
])) : _("", !0),
|
|
1103
|
-
a("ul",
|
|
1103
|
+
a("ul", Dl, [
|
|
1104
1104
|
(c(!0), f(M, null, F(o(j).specialTemplates, ({
|
|
1105
1105
|
id: A,
|
|
1106
1106
|
name: v,
|
|
1107
1107
|
templateRoomGroups: K,
|
|
1108
1108
|
image: U,
|
|
1109
1109
|
description: I,
|
|
1110
|
-
weekendFee:
|
|
1110
|
+
weekendFee: Z,
|
|
1111
1111
|
fromDate: J,
|
|
1112
1112
|
toDate: Re
|
|
1113
|
-
}) => (c(), D(
|
|
1113
|
+
}) => (c(), D(il, {
|
|
1114
1114
|
key: A,
|
|
1115
1115
|
id: A,
|
|
1116
1116
|
description: I,
|
|
@@ -1118,19 +1118,19 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1118
1118
|
image: U,
|
|
1119
1119
|
fromDate: J,
|
|
1120
1120
|
toDate: Re,
|
|
1121
|
-
weekendFee:
|
|
1121
|
+
weekendFee: Z,
|
|
1122
1122
|
"room-groups": K,
|
|
1123
1123
|
callback: W
|
|
1124
1124
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1125
1125
|
])
|
|
1126
1126
|
])) : _("", !0),
|
|
1127
|
-
(o(j).templates.length === 0 && b.onlyShow !== "rooms" || o(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div",
|
|
1127
|
+
(o(j).templates.length === 0 && b.onlyShow !== "rooms" || o(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Hl, [
|
|
1128
1128
|
a("span", null, y(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1129
1129
|
])) : _("", !0)
|
|
1130
|
-
])) : o(j).nextAvailableDates.length === 0 ? (c(), f("div",
|
|
1130
|
+
])) : o(j).nextAvailableDates.length === 0 ? (c(), f("div", Il, [
|
|
1131
1131
|
a("span", null, y(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1132
|
-
])) : (c(), f("div",
|
|
1133
|
-
a("h2",
|
|
1132
|
+
])) : (c(), f("div", Sl, [
|
|
1133
|
+
a("h2", Bl, [
|
|
1134
1134
|
g(z, {
|
|
1135
1135
|
icon: "calendar-circle-exclamation",
|
|
1136
1136
|
type: "fal",
|
|
@@ -1138,13 +1138,13 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1138
1138
|
}),
|
|
1139
1139
|
a("span", null, y(o(t)("booking.availability.nextAvailableDates")), 1)
|
|
1140
1140
|
]),
|
|
1141
|
-
a("ul",
|
|
1141
|
+
a("ul", El, [
|
|
1142
1142
|
(c(!0), f(M, null, F(o(j).nextAvailableDates, (A, v) => (c(), f("li", { key: v }, [
|
|
1143
1143
|
a("h3", {
|
|
1144
1144
|
title: `${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`
|
|
1145
1145
|
}, [
|
|
1146
1146
|
a("span", null, y(`${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`), 1)
|
|
1147
|
-
], 8,
|
|
1147
|
+
], 8, Ml),
|
|
1148
1148
|
a("ul", null, [
|
|
1149
1149
|
_("", !0),
|
|
1150
1150
|
a("li", null, [
|
|
@@ -1164,7 +1164,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1164
1164
|
]))), 128))
|
|
1165
1165
|
])
|
|
1166
1166
|
]))
|
|
1167
|
-
])) : (c(), f("div",
|
|
1167
|
+
])) : (c(), f("div", Ul, [
|
|
1168
1168
|
g(Fe),
|
|
1169
1169
|
g(Fe),
|
|
1170
1170
|
g(Fe)
|
|
@@ -1186,13 +1186,13 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1186
1186
|
addons: T(({ next: W, prev: A }) => [
|
|
1187
1187
|
o(ce) ? (c(), D(Oe, { key: 0 }, {
|
|
1188
1188
|
form: T(() => [
|
|
1189
|
-
a("form",
|
|
1189
|
+
a("form", Rl, [
|
|
1190
1190
|
a("h2", null, [
|
|
1191
1191
|
a("span", null, y(o(t)("booking.reservation.addons")), 1)
|
|
1192
1192
|
]),
|
|
1193
1193
|
a("div", null, [
|
|
1194
|
-
isNaN(o(i)) ? (c(), f("div",
|
|
1195
|
-
(c(!0), f(M, null, F(o(
|
|
1194
|
+
isNaN(o(i)) ? (c(), f("div", Ll, [
|
|
1195
|
+
(c(!0), f(M, null, F(o(Y), (v) => (c(), f("ul", {
|
|
1196
1196
|
key: v.roomGroupID
|
|
1197
1197
|
}, [
|
|
1198
1198
|
(c(!0), f(M, null, F(v.variants, (K, U) => (c(), f("li", {
|
|
@@ -1201,8 +1201,8 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1201
1201
|
a("h4", null, [
|
|
1202
1202
|
a("span", null, y(o(re)(v.title)), 1)
|
|
1203
1203
|
]),
|
|
1204
|
-
(c(!0), f(M, null, F(K.rooms, (I,
|
|
1205
|
-
key:
|
|
1204
|
+
(c(!0), f(M, null, F(K.rooms, (I, Z) => (c(), f("table", {
|
|
1205
|
+
key: Z,
|
|
1206
1206
|
class: "konnectio-table with-lines"
|
|
1207
1207
|
}, [
|
|
1208
1208
|
a("thead", null, [
|
|
@@ -1211,7 +1211,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1211
1211
|
a("span", null, y(o(re)(K.name)), 1)
|
|
1212
1212
|
]),
|
|
1213
1213
|
_("", !0),
|
|
1214
|
-
a("th",
|
|
1214
|
+
a("th", Nl, [
|
|
1215
1215
|
a("b", null, [
|
|
1216
1216
|
g(z, {
|
|
1217
1217
|
icon: "male",
|
|
@@ -1225,7 +1225,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1225
1225
|
type: "fas",
|
|
1226
1226
|
color: "font"
|
|
1227
1227
|
})) : _("", !0),
|
|
1228
|
-
I.childrenCount > 0 ? (c(), f("span",
|
|
1228
|
+
I.childrenCount > 0 ? (c(), f("span", Fl, y(I.childrenCount), 1)) : _("", !0)
|
|
1229
1229
|
])
|
|
1230
1230
|
])
|
|
1231
1231
|
])
|
|
@@ -1235,15 +1235,15 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1235
1235
|
quantityStrategy: J,
|
|
1236
1236
|
maximumNumber: Re,
|
|
1237
1237
|
id: ge,
|
|
1238
|
-
name:
|
|
1238
|
+
name: Qt,
|
|
1239
1239
|
price: Xt
|
|
1240
1240
|
}) => (c(), f("tr", { key: ge }, [
|
|
1241
1241
|
a("td", null, [
|
|
1242
|
-
a("b", null, y(o(re)(
|
|
1243
|
-
|
|
1242
|
+
a("b", null, y(o(re)(Qt)), 1),
|
|
1243
|
+
Ol,
|
|
1244
1244
|
a("span", null, y(o(ee)(Xt, o(ye))) + " " + y(o(it)(J)), 1)
|
|
1245
1245
|
]),
|
|
1246
|
-
a("td",
|
|
1246
|
+
a("td", jl, [
|
|
1247
1247
|
o(x)[v.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(M, { key: 0 }, [
|
|
1248
1248
|
J === 1 || J === 12 ? (c(), D(We, {
|
|
1249
1249
|
key: 0,
|
|
@@ -1265,19 +1265,19 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1265
1265
|
]))), 128))
|
|
1266
1266
|
]))), 128))
|
|
1267
1267
|
]))), 128))
|
|
1268
|
-
])) : o(fe) ? (c(), f("div",
|
|
1268
|
+
])) : o(fe) ? (c(), f("div", Gl, [
|
|
1269
1269
|
a("div", null, [
|
|
1270
1270
|
a("h4", null, [
|
|
1271
1271
|
a("span", null, y(o(le).name), 1)
|
|
1272
1272
|
]),
|
|
1273
|
-
a("table",
|
|
1273
|
+
a("table", ql, [
|
|
1274
1274
|
a("thead", null, [
|
|
1275
1275
|
a("tr", null, [
|
|
1276
1276
|
a("th", null, [
|
|
1277
1277
|
a("span", null, y(o(re)(o(fe).title)), 1)
|
|
1278
1278
|
]),
|
|
1279
1279
|
_("", !0),
|
|
1280
|
-
|
|
1280
|
+
Wl
|
|
1281
1281
|
])
|
|
1282
1282
|
]),
|
|
1283
1283
|
a("tbody", null, [
|
|
@@ -1286,14 +1286,14 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1286
1286
|
maximumNumber: K,
|
|
1287
1287
|
id: U,
|
|
1288
1288
|
name: I,
|
|
1289
|
-
price:
|
|
1289
|
+
price: Z
|
|
1290
1290
|
}) => (c(), f("tr", { key: U }, [
|
|
1291
1291
|
a("td", null, [
|
|
1292
1292
|
a("b", null, y(o(re)(I)), 1),
|
|
1293
|
-
|
|
1294
|
-
a("span", null, y(o(ee)(
|
|
1293
|
+
Kl,
|
|
1294
|
+
a("span", null, y(o(ee)(Z, o(ye))) + " " + y(o(it)(v)), 1)
|
|
1295
1295
|
]),
|
|
1296
|
-
a("td",
|
|
1296
|
+
a("td", zl, [
|
|
1297
1297
|
v === 1 || v === 12 ? (c(), D(We, {
|
|
1298
1298
|
key: 0,
|
|
1299
1299
|
modelValue: o(s)[U],
|
|
@@ -1327,7 +1327,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1327
1327
|
onClick: Ce((v) => tt(A), ["prevent"])
|
|
1328
1328
|
}, [
|
|
1329
1329
|
a("span", null, y(o(t)("general.goAStepBack")), 1)
|
|
1330
|
-
], 8,
|
|
1330
|
+
], 8, xl)
|
|
1331
1331
|
]),
|
|
1332
1332
|
_: 2
|
|
1333
1333
|
}, 1024)) : _("", !0)
|
|
@@ -1339,7 +1339,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1339
1339
|
"show-gift-card": !0
|
|
1340
1340
|
}, {
|
|
1341
1341
|
form: T(() => [
|
|
1342
|
-
a("form",
|
|
1342
|
+
a("form", Jl, [
|
|
1343
1343
|
a("h2", null, [
|
|
1344
1344
|
a("span", null, y(o(t)("booking.reservation.detailsTitle")), 1)
|
|
1345
1345
|
]),
|
|
@@ -1347,7 +1347,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1347
1347
|
key: 0,
|
|
1348
1348
|
class: Pe({ "konnectio-split-inputs": !o(Ee) && !o(Me) })
|
|
1349
1349
|
}, [
|
|
1350
|
-
o(Ee) ? _("", !0) : (c(), f("li",
|
|
1350
|
+
o(Ee) ? _("", !0) : (c(), f("li", Ql, [
|
|
1351
1351
|
g(rt, {
|
|
1352
1352
|
modelValue: o(h),
|
|
1353
1353
|
"onUpdate:modelValue": w[1] || (w[1] = (v) => N(h) ? h.value = v : null),
|
|
@@ -1357,7 +1357,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1357
1357
|
required: ""
|
|
1358
1358
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1359
1359
|
])),
|
|
1360
|
-
o(Me) ? _("", !0) : (c(), f("li",
|
|
1360
|
+
o(Me) ? _("", !0) : (c(), f("li", Xl, [
|
|
1361
1361
|
g(rt, {
|
|
1362
1362
|
modelValue: o(V),
|
|
1363
1363
|
"onUpdate:modelValue": w[2] || (w[2] = (v) => N(V) ? V.value = v : null),
|
|
@@ -1368,7 +1368,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1368
1368
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1369
1369
|
]))
|
|
1370
1370
|
], 2)) : _("", !0),
|
|
1371
|
-
g(
|
|
1371
|
+
g(cl, {
|
|
1372
1372
|
modelValue: o(P),
|
|
1373
1373
|
"onUpdate:modelValue": w[3] || (w[3] = (v) => N(P) ? P.value = v : null),
|
|
1374
1374
|
title: o($),
|
|
@@ -1401,7 +1401,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1401
1401
|
icon: "id-card",
|
|
1402
1402
|
placeholder: o(t)("booking.reservation.companyNamePlaceholder")
|
|
1403
1403
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1404
|
-
g(
|
|
1404
|
+
g(wo, {
|
|
1405
1405
|
modelValue: o(B),
|
|
1406
1406
|
"onUpdate:modelValue": w[7] || (w[7] = (v) => N(B) ? B.value = v : null),
|
|
1407
1407
|
icon: "phone-office",
|
|
@@ -1409,7 +1409,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1409
1409
|
placeholder: o(t)("booking.reservation.phonePlaceholder"),
|
|
1410
1410
|
required: ""
|
|
1411
1411
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1412
|
-
g(
|
|
1412
|
+
g(dl, {
|
|
1413
1413
|
modelValue: o(R),
|
|
1414
1414
|
"onUpdate:modelValue": w[8] || (w[8] = (v) => N(R) ? R.value = v : null),
|
|
1415
1415
|
label: o(t)("booking.reservation.country"),
|
|
@@ -1428,7 +1428,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1428
1428
|
placeholder: o(t)("booking.reservation.streetAddressPlaceholder"),
|
|
1429
1429
|
required: ""
|
|
1430
1430
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1431
|
-
a("ul",
|
|
1431
|
+
a("ul", Yl, [
|
|
1432
1432
|
a("li", null, [
|
|
1433
1433
|
g(se, {
|
|
1434
1434
|
modelValue: o(C),
|
|
@@ -1457,8 +1457,8 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1457
1457
|
])
|
|
1458
1458
|
]),
|
|
1459
1459
|
g(se, {
|
|
1460
|
-
modelValue: o(
|
|
1461
|
-
"onUpdate:modelValue": w[12] || (w[12] = (v) => N(
|
|
1460
|
+
modelValue: o(Q),
|
|
1461
|
+
"onUpdate:modelValue": w[12] || (w[12] = (v) => N(Q) ? Q.value = v : null),
|
|
1462
1462
|
type: "textarea",
|
|
1463
1463
|
label: `${o(t)("booking.reservation.remark")} (${o(t)("booking.reservation.optional")})`,
|
|
1464
1464
|
icon: "info-circle",
|
|
@@ -1472,7 +1472,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1472
1472
|
icon: "allergies",
|
|
1473
1473
|
placeholder: o(t)("booking.reservation.allergiesPlaceholder")
|
|
1474
1474
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1475
|
-
o(St) ? _("", !0) : (c(), D(
|
|
1475
|
+
o(St) ? _("", !0) : (c(), D(go, {
|
|
1476
1476
|
key: 2,
|
|
1477
1477
|
modelValue: o(d),
|
|
1478
1478
|
"onUpdate:modelValue": w[14] || (w[14] = (v) => N(d) ? d.value = v : null),
|
|
@@ -1496,17 +1496,17 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1496
1496
|
onClick: Ce((v) => tt(A), ["prevent"])
|
|
1497
1497
|
}, [
|
|
1498
1498
|
a("span", null, y(o(t)("general.goAStepBack")), 1)
|
|
1499
|
-
], 8,
|
|
1499
|
+
], 8, Zl)
|
|
1500
1500
|
])
|
|
1501
1501
|
]),
|
|
1502
1502
|
_: 2
|
|
1503
1503
|
}, 1024)) : _("", !0)
|
|
1504
1504
|
]),
|
|
1505
1505
|
payment: T(() => [
|
|
1506
|
-
g(
|
|
1506
|
+
g(Po)
|
|
1507
1507
|
]),
|
|
1508
1508
|
confirmation: T(() => [
|
|
1509
|
-
g(
|
|
1509
|
+
g(ko, {
|
|
1510
1510
|
message: o(t)("booking.confirmation.thankYou")
|
|
1511
1511
|
}, null, 8, ["message"])
|
|
1512
1512
|
]),
|
|
@@ -1517,7 +1517,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1517
1517
|
}, 8, ["access-token", "callback"])
|
|
1518
1518
|
]),
|
|
1519
1519
|
fallback: T(() => [
|
|
1520
|
-
g(
|
|
1520
|
+
g(vl)
|
|
1521
1521
|
]),
|
|
1522
1522
|
_: 1
|
|
1523
1523
|
}))
|
|
@@ -1525,7 +1525,7 @@ const Kl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1525
1525
|
_: 1
|
|
1526
1526
|
}, 8, ["styling"]));
|
|
1527
1527
|
}
|
|
1528
|
-
}), Ve = /* @__PURE__ */ ue(
|
|
1528
|
+
}), Ve = /* @__PURE__ */ ue(en, [["__scopeId", "data-v-27fc0ab8"]]);
|
|
1529
1529
|
function ze(n, l = {}, e) {
|
|
1530
1530
|
for (const t in n) {
|
|
1531
1531
|
const i = n[t], s = e ? `${e}:${t}` : t;
|
|
@@ -1533,15 +1533,15 @@ function ze(n, l = {}, e) {
|
|
|
1533
1533
|
}
|
|
1534
1534
|
return l;
|
|
1535
1535
|
}
|
|
1536
|
-
const
|
|
1537
|
-
function
|
|
1536
|
+
const tn = { run: (n) => n() }, on = () => tn, Vt = typeof console.createTask < "u" ? console.createTask : on;
|
|
1537
|
+
function ln(n, l) {
|
|
1538
1538
|
const e = l.shift(), t = Vt(e);
|
|
1539
1539
|
return n.reduce(
|
|
1540
1540
|
(i, s) => i.then(() => t.run(() => s(...l))),
|
|
1541
1541
|
Promise.resolve()
|
|
1542
1542
|
);
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function nn(n, l) {
|
|
1545
1545
|
const e = l.shift(), t = Vt(e);
|
|
1546
1546
|
return Promise.all(n.map((i) => t.run(() => i(...l))));
|
|
1547
1547
|
}
|
|
@@ -1549,7 +1549,7 @@ function je(n, l) {
|
|
|
1549
1549
|
for (const e of [...n])
|
|
1550
1550
|
e(l);
|
|
1551
1551
|
}
|
|
1552
|
-
class
|
|
1552
|
+
class an {
|
|
1553
1553
|
constructor() {
|
|
1554
1554
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
1555
1555
|
}
|
|
@@ -1618,10 +1618,10 @@ class sn {
|
|
|
1618
1618
|
delete this._hooks[l];
|
|
1619
1619
|
}
|
|
1620
1620
|
callHook(l, ...e) {
|
|
1621
|
-
return e.unshift(l), this.callHookWith(
|
|
1621
|
+
return e.unshift(l), this.callHookWith(ln, l, ...e);
|
|
1622
1622
|
}
|
|
1623
1623
|
callHookParallel(l, ...e) {
|
|
1624
|
-
return e.unshift(l), this.callHookWith(
|
|
1624
|
+
return e.unshift(l), this.callHookWith(nn, l, ...e);
|
|
1625
1625
|
}
|
|
1626
1626
|
callHookWith(l, e, ...t) {
|
|
1627
1627
|
const i = this._before || this._after ? { name: e, args: t, context: {} } : void 0;
|
|
@@ -1651,20 +1651,20 @@ class sn {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1655
|
-
return new
|
|
1654
|
+
function sn() {
|
|
1655
|
+
return new an();
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function rn(n) {
|
|
1658
1658
|
return Array.isArray(n) ? n : [n];
|
|
1659
1659
|
}
|
|
1660
|
-
const
|
|
1660
|
+
const dn = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
1661
1661
|
"base",
|
|
1662
1662
|
"meta",
|
|
1663
1663
|
"link",
|
|
1664
1664
|
"style",
|
|
1665
1665
|
"script",
|
|
1666
1666
|
"noscript"
|
|
1667
|
-
],
|
|
1667
|
+
], un = [
|
|
1668
1668
|
"title",
|
|
1669
1669
|
"titleTemplate",
|
|
1670
1670
|
"templateParams",
|
|
@@ -1676,7 +1676,7 @@ const un = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
|
1676
1676
|
"style",
|
|
1677
1677
|
"script",
|
|
1678
1678
|
"noscript"
|
|
1679
|
-
],
|
|
1679
|
+
], cn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Tt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], pn = typeof window < "u";
|
|
1680
1680
|
function Xe(n) {
|
|
1681
1681
|
let l = 9;
|
|
1682
1682
|
for (let e = 0; e < n.length; )
|
|
@@ -1688,7 +1688,7 @@ function dt(n) {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
function $t(n, l) {
|
|
1690
1690
|
const { props: e, tag: t } = n;
|
|
1691
|
-
if (
|
|
1691
|
+
if (cn.includes(t))
|
|
1692
1692
|
return t;
|
|
1693
1693
|
if (t === "link" && e.rel === "canonical")
|
|
1694
1694
|
return "canonical";
|
|
@@ -1706,7 +1706,7 @@ function $t(n, l) {
|
|
|
1706
1706
|
function ut(n, l) {
|
|
1707
1707
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1708
1708
|
}
|
|
1709
|
-
async function
|
|
1709
|
+
async function mn(n, l, e) {
|
|
1710
1710
|
const t = {
|
|
1711
1711
|
tag: n,
|
|
1712
1712
|
props: await Ct(
|
|
@@ -1718,17 +1718,17 @@ async function fn(n, l, e) {
|
|
|
1718
1718
|
};
|
|
1719
1719
|
return Tt.forEach((i) => {
|
|
1720
1720
|
const s = typeof t.props[i] < "u" ? t.props[i] : e[i];
|
|
1721
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1721
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || dn.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
|
|
1722
1722
|
}), t.props.body && (t.tagPosition = "bodyClose", delete t.props.body), t.tag === "script" && typeof t.innerHTML == "object" && (t.innerHTML = JSON.stringify(t.innerHTML), t.props.type = t.props.type || "application/json"), Array.isArray(t.props.content) ? t.props.content.map((i) => ({ ...t, props: { ...t.props, content: i } })) : t;
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function fn(n, l) {
|
|
1725
1725
|
const e = n === "class" ? " " : ";";
|
|
1726
1726
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, t]) => t).map(([t, i]) => n === "style" ? `${t}:${i}` : t)), (Array.isArray(l) ? l.join(e) : l)?.split(e).filter((t) => t.trim()).filter(Boolean).join(e);
|
|
1727
1727
|
}
|
|
1728
1728
|
async function Ct(n, l) {
|
|
1729
1729
|
for (const e of Object.keys(n)) {
|
|
1730
1730
|
if (["class", "style"].includes(e)) {
|
|
1731
|
-
n[e] =
|
|
1731
|
+
n[e] = fn(e, n[e]);
|
|
1732
1732
|
continue;
|
|
1733
1733
|
}
|
|
1734
1734
|
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !Tt.includes(e)) {
|
|
@@ -1738,13 +1738,13 @@ async function Ct(n, l) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
return n;
|
|
1740
1740
|
}
|
|
1741
|
-
const
|
|
1742
|
-
async function
|
|
1741
|
+
const hn = 10;
|
|
1742
|
+
async function vn(n) {
|
|
1743
1743
|
const l = [];
|
|
1744
|
-
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" &&
|
|
1745
|
-
const i =
|
|
1746
|
-
l.push(...i.map((s) =>
|
|
1747
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i <<
|
|
1744
|
+
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" && un.includes(e)).forEach(([e, t]) => {
|
|
1745
|
+
const i = rn(t);
|
|
1746
|
+
l.push(...i.map((s) => mn(e, s, n)).flat());
|
|
1747
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << hn) + t, e));
|
|
1748
1748
|
}
|
|
1749
1749
|
const ct = {
|
|
1750
1750
|
// tags
|
|
@@ -1761,7 +1761,7 @@ function De(n) {
|
|
|
1761
1761
|
const e = n.tagPriority;
|
|
1762
1762
|
return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in ct && (l = ct[n.tag]), typeof e == "string" && e in pt ? l + pt[e] : l);
|
|
1763
1763
|
}
|
|
1764
|
-
const
|
|
1764
|
+
const yn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], mt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
1765
1765
|
function $e(n, l, e) {
|
|
1766
1766
|
if (typeof n != "string" || !n.includes("%"))
|
|
1767
1767
|
return n;
|
|
@@ -1779,7 +1779,7 @@ function $e(n, l, e) {
|
|
|
1779
1779
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1780
1780
|
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = $e(n, { separator: e }, e)), n;
|
|
1781
1781
|
}
|
|
1782
|
-
async function
|
|
1782
|
+
async function gn(n, l = {}) {
|
|
1783
1783
|
const e = l.document || n.resolvedOptions.document;
|
|
1784
1784
|
if (!e || !n.dirty)
|
|
1785
1785
|
return;
|
|
@@ -1866,27 +1866,27 @@ async function kn(n, l = {}) {
|
|
|
1866
1866
|
await n.hooks.callHook("dom:renderTag", d, e, m);
|
|
1867
1867
|
r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1868
1868
|
}
|
|
1869
|
-
async function
|
|
1869
|
+
async function kn(n, l = {}) {
|
|
1870
1870
|
const e = l.delayFn || ((t) => setTimeout(t, 10));
|
|
1871
1871
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((t) => e(async () => {
|
|
1872
|
-
await
|
|
1872
|
+
await gn(n, l), delete n._domUpdatePromise, t();
|
|
1873
1873
|
}));
|
|
1874
1874
|
}
|
|
1875
1875
|
// @__NO_SIDE_EFFECTS__
|
|
1876
|
-
function
|
|
1876
|
+
function bn(n) {
|
|
1877
1877
|
return (l) => {
|
|
1878
1878
|
const e = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1879
1879
|
return e && l.push(JSON.parse(e)), {
|
|
1880
1880
|
mode: "client",
|
|
1881
1881
|
hooks: {
|
|
1882
1882
|
"entries:updated": function(t) {
|
|
1883
|
-
|
|
1883
|
+
kn(t, n);
|
|
1884
1884
|
}
|
|
1885
1885
|
}
|
|
1886
1886
|
};
|
|
1887
1887
|
};
|
|
1888
1888
|
}
|
|
1889
|
-
const
|
|
1889
|
+
const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
1890
1890
|
hooks: {
|
|
1891
1891
|
"tag:normalise": function({ tag: n }) {
|
|
1892
1892
|
["hid", "vmid", "key"].forEach((t) => {
|
|
@@ -1901,7 +1901,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
1901
1901
|
const i = (t.key ? `${t.tag}:${t.key}` : t._d) || t._p, s = l[i];
|
|
1902
1902
|
if (s) {
|
|
1903
1903
|
let p = t?.tagDuplicateStrategy;
|
|
1904
|
-
if (!p &&
|
|
1904
|
+
if (!p && _n.includes(t.tag) && (p = "merge"), p === "merge") {
|
|
1905
1905
|
const u = s.props;
|
|
1906
1906
|
["class", "style"].forEach((r) => {
|
|
1907
1907
|
u[r] && (t.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), t.props[r] = `${u[r]} ${t.props[r]}`) : t.props[r] = u[r]);
|
|
@@ -1930,7 +1930,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
1930
1930
|
}), n.tags = e, n.tags = n.tags.filter((t) => !(t.tag === "meta" && (t.props.name || t.props.property) && !t.props.content));
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
1933
|
-
},
|
|
1933
|
+
}, Tn = {
|
|
1934
1934
|
mode: "server",
|
|
1935
1935
|
hooks: {
|
|
1936
1936
|
"tags:resolve": function(n) {
|
|
@@ -1944,10 +1944,10 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
1944
1944
|
});
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
},
|
|
1947
|
+
}, $n = ["script", "link", "bodyAttrs"], Cn = (n) => ({
|
|
1948
1948
|
hooks: {
|
|
1949
1949
|
"tags:resolve": function(l) {
|
|
1950
|
-
for (const e of l.tags.filter((t) =>
|
|
1950
|
+
for (const e of l.tags.filter((t) => $n.includes(t.tag)))
|
|
1951
1951
|
Object.entries(e.props).forEach(([t, i]) => {
|
|
1952
1952
|
t.startsWith("on") && typeof i == "function" && (n.ssr && mt.includes(t) ? e.props[t] = `this.dataset.${t}fired = true` : delete e.props[t], e._eventHandlers = e._eventHandlers || {}, e._eventHandlers[t] = i);
|
|
1953
1953
|
}), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key || Xe(e.props.src || e.props.href));
|
|
@@ -1959,17 +1959,17 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
1961
|
}
|
|
1962
|
-
}),
|
|
1962
|
+
}), wn = ["link", "style", "script", "noscript"], Pn = {
|
|
1963
1963
|
hooks: {
|
|
1964
1964
|
"tag:normalise": ({ tag: n }) => {
|
|
1965
|
-
n.key &&
|
|
1965
|
+
n.key && wn.includes(n.tag) && (n.props["data-hid"] = n._h = Xe(n.key));
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
|
-
},
|
|
1968
|
+
}, An = {
|
|
1969
1969
|
hooks: {
|
|
1970
1970
|
"tags:resolve": (n) => {
|
|
1971
1971
|
const l = (e) => n.tags.find((t) => t._d === e)?._p;
|
|
1972
|
-
for (const { prefix: e, offset: t } of
|
|
1972
|
+
for (const { prefix: e, offset: t } of yn)
|
|
1973
1973
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
|
|
1974
1974
|
const s = l(
|
|
1975
1975
|
i.tagPriority.replace(e, "")
|
|
@@ -1979,17 +1979,17 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
1979
1979
|
n.tags.sort((e, t) => e._p - t._p).sort((e, t) => De(e) - De(t));
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
|
-
},
|
|
1982
|
+
}, Dn = {
|
|
1983
1983
|
meta: "content",
|
|
1984
1984
|
link: "href",
|
|
1985
1985
|
htmlAttrs: "lang"
|
|
1986
|
-
},
|
|
1986
|
+
}, Hn = (n) => ({
|
|
1987
1987
|
hooks: {
|
|
1988
1988
|
"tags:resolve": (l) => {
|
|
1989
1989
|
const { tags: e } = l, t = e.find((p) => p.tag === "title")?.textContent, i = e.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? e[i].props : {}, m = s.separator || "|";
|
|
1990
1990
|
delete s.separator, s.pageTitle = $e(s.pageTitle || t || "", s, m);
|
|
1991
1991
|
for (const p of e.filter((u) => u.processTemplateParams !== !1)) {
|
|
1992
|
-
const u =
|
|
1992
|
+
const u = Dn[p.tag];
|
|
1993
1993
|
u && typeof p.props[u] == "string" ? p.props[u] = $e(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
1994
1994
|
typeof p[r] == "string" && (p[r] = $e(p[r], s, m));
|
|
1995
1995
|
});
|
|
@@ -1997,7 +1997,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
1997
1997
|
n._templateParams = s, n._separator = m, l.tags = e.filter((p) => p.tag !== "templateParams");
|
|
1998
1998
|
}
|
|
1999
1999
|
}
|
|
2000
|
-
}),
|
|
2000
|
+
}), In = {
|
|
2001
2001
|
hooks: {
|
|
2002
2002
|
"tags:resolve": (n) => {
|
|
2003
2003
|
const { tags: l } = n;
|
|
@@ -2018,7 +2018,7 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
2018
2018
|
e !== -1 && delete l[e], n.tags = l.filter(Boolean);
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
|
-
},
|
|
2021
|
+
}, Sn = {
|
|
2022
2022
|
hooks: {
|
|
2023
2023
|
"tags:afterResolve": function(n) {
|
|
2024
2024
|
for (const l of n.tags)
|
|
@@ -2027,16 +2027,16 @@ const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
};
|
|
2029
2029
|
// @__NO_SIDE_EFFECTS__
|
|
2030
|
-
function
|
|
2031
|
-
const l =
|
|
2032
|
-
return l.use(/* @__PURE__ */
|
|
2030
|
+
function Bn(n = {}) {
|
|
2031
|
+
const l = En(n);
|
|
2032
|
+
return l.use(/* @__PURE__ */ bn()), l;
|
|
2033
2033
|
}
|
|
2034
2034
|
function ft(n, l) {
|
|
2035
2035
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2038
|
-
const l =
|
|
2039
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2037
|
+
function En(n = {}) {
|
|
2038
|
+
const l = sn();
|
|
2039
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (pn ? document : void 0);
|
|
2040
2040
|
const e = !n.document, t = () => {
|
|
2041
2041
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2042
2042
|
};
|
|
@@ -2076,7 +2076,7 @@ function Mn(n = {}) {
|
|
|
2076
2076
|
for (const r of u.entries) {
|
|
2077
2077
|
const d = r.resolvedInput || r.input;
|
|
2078
2078
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2079
|
-
for (const h of await
|
|
2079
|
+
for (const h of await vn(r)) {
|
|
2080
2080
|
const V = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2081
2081
|
await l.callHook("tag:normalise", V), u.tags.push(V.tag);
|
|
2082
2082
|
}
|
|
@@ -2086,51 +2086,51 @@ function Mn(n = {}) {
|
|
|
2086
2086
|
ssr: e
|
|
2087
2087
|
};
|
|
2088
2088
|
return [
|
|
2089
|
+
Vn,
|
|
2089
2090
|
Tn,
|
|
2090
|
-
|
|
2091
|
-
|
|
2091
|
+
Cn,
|
|
2092
|
+
Pn,
|
|
2092
2093
|
An,
|
|
2093
|
-
|
|
2094
|
+
Hn,
|
|
2094
2095
|
In,
|
|
2095
2096
|
Sn,
|
|
2096
|
-
Bn,
|
|
2097
2097
|
...n?.plugins || []
|
|
2098
2098
|
].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
|
|
2099
2099
|
}
|
|
2100
|
-
const
|
|
2101
|
-
function
|
|
2100
|
+
const Mn = to.startsWith("3");
|
|
2101
|
+
function Un(n) {
|
|
2102
2102
|
return typeof n == "function" ? n() : o(n);
|
|
2103
2103
|
}
|
|
2104
2104
|
function xe(n, l = "") {
|
|
2105
2105
|
if (n instanceof Promise)
|
|
2106
2106
|
return n;
|
|
2107
|
-
const e =
|
|
2107
|
+
const e = Un(n);
|
|
2108
2108
|
return !n || !e ? e : Array.isArray(e) ? e.map((t) => xe(t, l)) : typeof e == "object" ? Object.fromEntries(
|
|
2109
2109
|
Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t, xe(i, t)])
|
|
2110
2110
|
) : e;
|
|
2111
2111
|
}
|
|
2112
|
-
const
|
|
2112
|
+
const Rn = {
|
|
2113
2113
|
hooks: {
|
|
2114
2114
|
"entries:resolve": function(n) {
|
|
2115
2115
|
for (const l of n.entries)
|
|
2116
2116
|
l.resolvedInput = xe(l.input);
|
|
2117
2117
|
}
|
|
2118
2118
|
}
|
|
2119
|
-
},
|
|
2120
|
-
function
|
|
2119
|
+
}, Ln = "usehead";
|
|
2120
|
+
function Nn(n) {
|
|
2121
2121
|
return {
|
|
2122
2122
|
install(e) {
|
|
2123
|
-
|
|
2123
|
+
Mn && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Ln, n));
|
|
2124
2124
|
}
|
|
2125
2125
|
}.install;
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function Fn(n = {}) {
|
|
2128
2128
|
n.domDelayFn = n.domDelayFn || ((e) => eo(() => setTimeout(() => e(), 0)));
|
|
2129
|
-
const l = /* @__PURE__ */
|
|
2130
|
-
return l.use(
|
|
2129
|
+
const l = /* @__PURE__ */ Bn(n);
|
|
2130
|
+
return l.use(Rn), l.install = Nn(l), l;
|
|
2131
2131
|
}
|
|
2132
|
-
const
|
|
2133
|
-
class
|
|
2132
|
+
const On = uo(), jn = Fn(), Gn = mo();
|
|
2133
|
+
class qn extends HTMLElement {
|
|
2134
2134
|
vueApp;
|
|
2135
2135
|
constructor() {
|
|
2136
2136
|
super();
|
|
@@ -2152,13 +2152,13 @@ class Wn extends HTMLElement {
|
|
|
2152
2152
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2153
2153
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2154
2154
|
}
|
|
2155
|
-
this.vueApp = oo(Ve, s),
|
|
2155
|
+
this.vueApp = oo(Ve, s), this.vueApp.provide("emitter", Gn), this.vueApp.use(jn), this.vueApp.use(On), this.vueApp.use(bo), this.vueApp.use(co), this.vueApp.use(_o), this.vueApp.use(po, { bootstrap: !0 });
|
|
2156
2156
|
const p = document.createElement("div");
|
|
2157
2157
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
|
-
window.customElements.define("konnectio-hotel",
|
|
2160
|
+
window.customElements.define("konnectio-hotel", qn);
|
|
2161
2161
|
export {
|
|
2162
|
-
|
|
2162
|
+
qn as default
|
|
2163
2163
|
};
|
|
2164
2164
|
//# sourceMappingURL=hotel.js.map
|