@konnectio/core 4.0.56-rc44 → 4.0.56-rc46
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-Djfp-835.js → ActionField-l77AHDt_.js} +10 -10
- package/dist/ActionField-l77AHDt_.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DDFsTOcT.js → AvailabilitySkeleton-6QuYlrqw.js} +53 -53
- package/dist/AvailabilitySkeleton-6QuYlrqw.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js +7814 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js.br +0 -0
- package/dist/{CheckoutWindow-CNEuNkIt.js → CheckoutWindow-CNF_LAo6.js} +4 -4
- package/dist/CheckoutWindow-CNF_LAo6.js.br +0 -0
- package/dist/{ErrorMessage-bD3z1ENc.js → ErrorMessage-B0Hm-dJ0.js} +4 -4
- package/dist/ErrorMessage-B0Hm-dJ0.js.br +0 -0
- package/dist/{EventAvailabilityForm-BJ6gzh6V.js → EventAvailabilityForm-BfhYKChb.js} +77 -78
- package/dist/EventAvailabilityForm-BfhYKChb.js.br +0 -0
- package/dist/{Field-BflvstOX.js → Field-BJ8nOhMT.js} +8 -8
- package/dist/Field-BJ8nOhMT.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js} +2382 -2376
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js.br +0 -0
- package/dist/TermsOfService-f7DfHbk2.js +35 -0
- package/dist/TermsOfService-f7DfHbk2.js.br +0 -0
- package/dist/{_-DuCIctjS.js → _-CaC826yR.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js +68 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js.br +0 -0
- package/dist/{_commonjsHelpers-BnQF6Gki.js → _commonjsHelpers-ytV6SVHa.js} +2025 -2027
- package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/event.js +100 -99
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +25 -25
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +130 -131
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-CWyKVevn.js → giftCard-DhbT2_l0.js} +6 -6
- package/dist/giftCard-DhbT2_l0.js.br +0 -0
- package/dist/hotel.js +275 -274
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CttzlASt.js → masonry.plugin-CVpZ_aQu.js} +3386 -3355
- package/dist/masonry.plugin-CVpZ_aQu.js.br +0 -0
- package/dist/navigation.js +2 -2
- package/dist/polyfill.js +3830 -3828
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-D1A53_C5.js +18 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-wnoA9-xG.js → tracing-wxeFiHIa.js} +3 -3
- package/dist/tracing-wxeFiHIa.js.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-Djfp-835.js.br +0 -0
- package/dist/AvailabilitySkeleton-DDFsTOcT.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js +0 -7746
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js.br +0 -0
- package/dist/CheckoutWindow-CNEuNkIt.js.br +0 -0
- package/dist/ErrorMessage-bD3z1ENc.js.br +0 -0
- package/dist/EventAvailabilityForm-BJ6gzh6V.js.br +0 -0
- package/dist/Field-BflvstOX.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js.br +0 -0
- package/dist/TermsOfService-CgTw1PTk.js +0 -35
- package/dist/TermsOfService-CgTw1PTk.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js +0 -71
- package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js.br +0 -0
- package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
- package/dist/giftCard-CWyKVevn.js.br +0 -0
- package/dist/masonry.plugin-CttzlASt.js.br +0 -0
- package/dist/sentry-6-6DYT4Z.js +0 -18
- package/dist/tracing-wnoA9-xG.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { h as ne, s as ee, b as ge, y as me, B as re, z as K, Q as qe, H as ot, R as se, A as X, D as oo, _ as de, k as De, U as ft, l as Ge, C as pe, j as ht, J as vt, m as We, r as lt, T as ie, I as lo, V as no, n as ao, N as nt, W as io, o as so, p as ro, F as uo, q as co } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
3
|
-
import { R as po, B as He, L as mo, S as fo, M as ho, a as Ne, C as vo, T as yo, V as go, G as
|
|
4
|
-
import { A as
|
|
5
|
-
import { S as Vo } from "./TermsOfService-
|
|
6
|
-
import { a as Pe, B as To, P as $o, C as Co } from "./CheckoutWindow-
|
|
7
|
-
import { _ as yt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
1
|
+
import { d as Q, r as te, o as c, b as D, w as T, v as Le, g as a, t as v, u as o, y as et, z as tt, f as g, a as h, A as N, F as E, e as k, D as je, x as L, i as $e, c as q, p as pt, j as mt, h as Je, q as Ce, n as we, S as Yt, N as Zt, K as Xt, O as eo, k as to } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
+
import { h as ne, s as ee, b as ge, y as me, B as re, z as K, Q as qe, H as ot, R as se, A as X, D as oo, _ as de, k as De, U as ft, l as Ge, C as pe, j as ht, J as vt, m as We, r as lt, T as ie, I as lo, V as no, n as ao, N as nt, W as io, o as so, p as ro, F as uo, q as co } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js";
|
|
3
|
+
import { R as po, B as He, L as mo, S as fo, M as ho, a as Ne, C as vo, T as yo, V as go, G as bo } from "./masonry.plugin-CVpZ_aQu.js";
|
|
4
|
+
import { A as ko, H as _o } from "./AvailabilitySkeleton-6QuYlrqw.js";
|
|
5
|
+
import { S as Vo } from "./TermsOfService-f7DfHbk2.js";
|
|
6
|
+
import { a as Pe, B as To, P as $o, C as Co } from "./CheckoutWindow-CNF_LAo6.js";
|
|
7
|
+
import { _ as yt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js";
|
|
8
8
|
import "./navigation.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] = "5b8c414b-b7d3-4651-94ea-1c6ba43501d3", n._sentryDebugIdIdentifier = "sentry-dbid-5b8c414b-b7d3-4651-94ea-1c6ba43501d3");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
16
|
const wo = { class: "konnectio-hotel-reservation-warning" }, Po = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
-
const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnectio-reservation-actions" }, Io = /* @__PURE__ */
|
|
17
|
+
const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnectio-reservation-actions" }, Io = /* @__PURE__ */ Q({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -33,28 +33,28 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
33
33
|
arrivalTime: r,
|
|
34
34
|
departureTime: d,
|
|
35
35
|
roomDisplay: f,
|
|
36
|
-
templateID:
|
|
36
|
+
templateID: V,
|
|
37
37
|
totalPrice: P,
|
|
38
38
|
areListingsLoading: C,
|
|
39
39
|
getSelectedPackageRoom: S,
|
|
40
40
|
selectedPackage: I,
|
|
41
|
-
discountVouchers:
|
|
41
|
+
discountVouchers: b,
|
|
42
42
|
currentArrivalDate: w,
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: F,
|
|
45
45
|
newsMails: U,
|
|
46
|
-
termsOfService:
|
|
46
|
+
termsOfService: x,
|
|
47
47
|
discountCode: R,
|
|
48
48
|
hasTermOfService: z,
|
|
49
|
-
acceptTerms:
|
|
50
|
-
totalTemplateAddonPrice:
|
|
49
|
+
acceptTerms: Y,
|
|
50
|
+
totalTemplateAddonPrice: be
|
|
51
51
|
} = ee(me()), { removeRoom: O, validateDiscountCode: he } = me(), ue = te(!1);
|
|
52
52
|
function fe(oe) {
|
|
53
53
|
return oe.reduce((M, { totalPrice: ve }) => M + ve, 0);
|
|
54
54
|
}
|
|
55
|
-
return (oe,
|
|
55
|
+
return (oe, G) => (c(), D(po, {
|
|
56
56
|
"discount-code": o(R),
|
|
57
|
-
"onUpdate:discountCode":
|
|
57
|
+
"onUpdate:discountCode": G[4] || (G[4] = (M) => L(R) ? R.value = M : null),
|
|
58
58
|
"validate-discount-code": o(he),
|
|
59
59
|
"total-price": o(P),
|
|
60
60
|
"show-gift-card": oe.showGiftCard,
|
|
@@ -62,10 +62,10 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
62
62
|
"is-sidebar-loading": o(C),
|
|
63
63
|
notice: o(l)("hotel.reservationNotice")
|
|
64
64
|
}, {
|
|
65
|
-
form:
|
|
65
|
+
form: T(() => [
|
|
66
66
|
Le(oe.$slots, "form", {}, void 0, !0)
|
|
67
67
|
]),
|
|
68
|
-
"reservation-summary":
|
|
68
|
+
"reservation-summary": T(() => [
|
|
69
69
|
a("li", null, [
|
|
70
70
|
a("span", null, v(o(l)("booking.reservation.arrival")), 1),
|
|
71
71
|
a("b", null, [
|
|
@@ -98,15 +98,15 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
98
98
|
a("span", null, v(o(l)("booking.reservation.nights")), 1),
|
|
99
99
|
a("b", null, v(o(qe)(o(w), o(H))) + " " + v(o(ot)(o(qe)(o(w), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
|
|
100
100
|
]),
|
|
101
|
-
o(
|
|
101
|
+
o(b) ? (c(!0), h(E, { key: 0 }, N(o(b), (M) => (c(), h("li", {
|
|
102
102
|
key: M.id
|
|
103
103
|
}, [
|
|
104
104
|
a("span", null, v(`${o(l)("general.discountCode")} (${M.value})`), 1),
|
|
105
105
|
a("b", null, v(M.key), 1)
|
|
106
|
-
]))), 128)) :
|
|
106
|
+
]))), 128)) : k("", !0)
|
|
107
107
|
]),
|
|
108
|
-
"price-summary":
|
|
109
|
-
isNaN(o(
|
|
108
|
+
"price-summary": T(() => [
|
|
109
|
+
isNaN(o(V)) && o(f).length > 0 ? (c(!0), h(E, { key: 0 }, N(o(f), ({
|
|
110
110
|
roomGroupID: M,
|
|
111
111
|
title: ve,
|
|
112
112
|
variants: Se
|
|
@@ -114,41 +114,41 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
114
114
|
a("h6", null, [
|
|
115
115
|
a("span", null, v(ve), 1)
|
|
116
116
|
]),
|
|
117
|
-
(c(!0), h(E, null, N(Se, (
|
|
118
|
-
(c(!0), h(E, null, N(
|
|
117
|
+
(c(!0), h(E, null, N(Se, (ke, Ie) => (c(), h("div", { key: Ie }, [
|
|
118
|
+
(c(!0), h(E, null, N(ke.rooms, (Z, Be) => (c(), h("ul", { key: Be }, [
|
|
119
119
|
a("li", null, [
|
|
120
120
|
a("span", null, [
|
|
121
121
|
a("span", null, [
|
|
122
|
-
je(v(o(se)(
|
|
122
|
+
je(v(o(se)(ke.name)) + " ( ", 1),
|
|
123
123
|
g(K, {
|
|
124
124
|
icon: "male",
|
|
125
125
|
type: "fas",
|
|
126
126
|
color: "font"
|
|
127
127
|
}),
|
|
128
|
-
a("span", null, v(
|
|
129
|
-
|
|
128
|
+
a("span", null, v(Z.adultsCount), 1),
|
|
129
|
+
Z.childrenCount > 0 ? (c(), h(E, { key: 0 }, [
|
|
130
130
|
g(K, {
|
|
131
131
|
icon: "child",
|
|
132
132
|
type: "fas",
|
|
133
133
|
color: "font"
|
|
134
134
|
}),
|
|
135
|
-
a("span", null, v(
|
|
136
|
-
], 64)) :
|
|
135
|
+
a("span", null, v(Z.childrenCount), 1)
|
|
136
|
+
], 64)) : k("", !0),
|
|
137
137
|
je(") ")
|
|
138
138
|
])
|
|
139
139
|
]),
|
|
140
140
|
a("b", null, [
|
|
141
|
-
a("span", null, v(o(X)(
|
|
142
|
-
|
|
141
|
+
a("span", null, v(o(X)(Z.totalPrice, o(u))), 1),
|
|
142
|
+
k("", !0)
|
|
143
143
|
])
|
|
144
144
|
]),
|
|
145
|
-
fe(
|
|
145
|
+
fe(Z.roomAddons) > 0 ? (c(), h("li", Ao, [
|
|
146
146
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
147
|
-
a("b", null, v(o(X)(fe(
|
|
148
|
-
])) :
|
|
147
|
+
a("b", null, v(o(X)(fe(Z.roomAddons), o(u))), 1)
|
|
148
|
+
])) : k("", !0)
|
|
149
149
|
]))), 128))
|
|
150
150
|
]))), 128))
|
|
151
|
-
]))), 128)) :
|
|
151
|
+
]))), 128)) : k("", !0),
|
|
152
152
|
o(S) && o(I) ? (c(), h("div", Do, [
|
|
153
153
|
a("h6", null, [
|
|
154
154
|
a("span", null, v(o(se)(o(I).name)), 1)
|
|
@@ -163,41 +163,41 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
163
163
|
a("span", null, v(o(X)(o(S).extraPrice, o(u))), 1)
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
o(
|
|
166
|
+
o(be) ? (c(), h("li", Ho, [
|
|
167
167
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
168
|
-
a("b", null, v(o(X)(o(
|
|
169
|
-
])) :
|
|
168
|
+
a("b", null, v(o(X)(o(be), o(u))), 1)
|
|
169
|
+
])) : k("", !0)
|
|
170
170
|
])
|
|
171
171
|
])
|
|
172
|
-
])) :
|
|
172
|
+
])) : k("", !0)
|
|
173
173
|
]),
|
|
174
|
-
actions:
|
|
174
|
+
actions: T(() => [
|
|
175
175
|
a("ul", So, [
|
|
176
|
-
o(p) ?
|
|
176
|
+
o(p) ? k("", !0) : (c(), D(Pe, {
|
|
177
177
|
key: 0,
|
|
178
178
|
modelValue: o(U),
|
|
179
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": G[0] || (G[0] = (M) => L(U) ? U.value = M : null),
|
|
180
180
|
type: "checkbox",
|
|
181
181
|
name: "newsletter",
|
|
182
182
|
label: o(l)("booking.reservation.newsletterSignUp")
|
|
183
183
|
}, null, 8, ["modelValue", "label"])),
|
|
184
184
|
o(z) ? (c(), D(Pe, {
|
|
185
185
|
key: 1,
|
|
186
|
-
modelValue: o(
|
|
187
|
-
"onUpdate:modelValue":
|
|
186
|
+
modelValue: o(Y),
|
|
187
|
+
"onUpdate:modelValue": G[2] || (G[2] = (M) => L(Y) ? Y.value = M : null),
|
|
188
188
|
type: "checkbox",
|
|
189
189
|
name: "terms"
|
|
190
190
|
}, {
|
|
191
|
-
default:
|
|
191
|
+
default: T(() => [
|
|
192
192
|
g(o(oo), {
|
|
193
193
|
keypath: "general.termsAndConditionsCheckbox",
|
|
194
194
|
tag: "span",
|
|
195
195
|
scope: "global"
|
|
196
196
|
}, {
|
|
197
|
-
terms:
|
|
197
|
+
terms: T(() => [
|
|
198
198
|
a("a", {
|
|
199
199
|
class: "konnectio-accept-terms-link",
|
|
200
|
-
onClick:
|
|
200
|
+
onClick: G[1] || (G[1] = $e((M) => ue.value = !0, ["prevent"]))
|
|
201
201
|
}, [
|
|
202
202
|
a("span", null, v(o(ot)(o(l)("general.termsAndConditions"))), 1)
|
|
203
203
|
])
|
|
@@ -206,22 +206,22 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
206
206
|
})
|
|
207
207
|
]),
|
|
208
208
|
_: 1
|
|
209
|
-
}, 8, ["modelValue"])) :
|
|
209
|
+
}, 8, ["modelValue"])) : k("", !0),
|
|
210
210
|
Le(oe.$slots, "actions", {}, void 0, !0),
|
|
211
211
|
g(Vo, {
|
|
212
212
|
modelValue: ue.value,
|
|
213
|
-
"onUpdate:modelValue":
|
|
214
|
-
description: o(
|
|
213
|
+
"onUpdate:modelValue": G[3] || (G[3] = (M) => ue.value = M),
|
|
214
|
+
description: o(x)
|
|
215
215
|
}, null, 8, ["modelValue", "description"])
|
|
216
216
|
])
|
|
217
217
|
]),
|
|
218
|
-
navigation:
|
|
218
|
+
navigation: T(() => [
|
|
219
219
|
Le(oe.$slots, "navigation", {}, void 0, !0)
|
|
220
220
|
]),
|
|
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
|
-
}), Fe = /* @__PURE__ */ de(Io, [["__scopeId", "data-v-f47e4ac5"]]), Bo = (n) => (pt("data-v-69fe83d8"), n = n(), mt(), n), Eo = { class: "konnectio-room-config-option" }, Mo = { key: 0 }, Uo = { class: "konnectio-selected-room-config" }, Ro = { class: "konnectio-selected-room-config-people" }, Lo = { key: 0 }, No = { class: "konnectio-selected-room-config-price" }, Fo = /* @__PURE__ */ Bo(() => /* @__PURE__ */ a("span", null, null, -1)), Oo = /* @__PURE__ */
|
|
224
|
+
}), Fe = /* @__PURE__ */ de(Io, [["__scopeId", "data-v-f47e4ac5"]]), Bo = (n) => (pt("data-v-69fe83d8"), n = n(), mt(), n), Eo = { class: "konnectio-room-config-option" }, Mo = { key: 0 }, Uo = { class: "konnectio-selected-room-config" }, Ro = { class: "konnectio-selected-room-config-people" }, Lo = { key: 0 }, No = { class: "konnectio-selected-room-config-price" }, Fo = /* @__PURE__ */ Bo(() => /* @__PURE__ */ a("span", null, null, -1)), Oo = /* @__PURE__ */ Q({
|
|
225
225
|
__name: "RoomConfigField",
|
|
226
226
|
props: {
|
|
227
227
|
modelValue: {},
|
|
@@ -253,7 +253,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
253
253
|
required: u.required,
|
|
254
254
|
searchable: !1
|
|
255
255
|
}, {
|
|
256
|
-
option:
|
|
256
|
+
option: T(({ data: d }) => [
|
|
257
257
|
a("span", Eo, [
|
|
258
258
|
a("div", null, [
|
|
259
259
|
g(K, {
|
|
@@ -269,22 +269,22 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
269
269
|
color: "font"
|
|
270
270
|
}),
|
|
271
271
|
a("span", null, v(`${d.children}`), 1)
|
|
272
|
-
])) :
|
|
272
|
+
])) : k("", !0)
|
|
273
273
|
]),
|
|
274
274
|
a("span", null, v(`(${o(X)(d.price, o(t))})`), 1)
|
|
275
275
|
])
|
|
276
276
|
]),
|
|
277
|
-
"selected-option":
|
|
277
|
+
"selected-option": T(({ data: d }) => [
|
|
278
278
|
a("div", Uo, [
|
|
279
279
|
a("div", Ro, [
|
|
280
280
|
a("div", null, [
|
|
281
|
-
|
|
281
|
+
k("", !0),
|
|
282
282
|
a("span", null, v(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
|
|
283
283
|
]),
|
|
284
284
|
d.children > 0 ? (c(), h("div", Lo, [
|
|
285
|
-
|
|
285
|
+
k("", !0),
|
|
286
286
|
a("span", null, v(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
|
|
287
|
-
])) :
|
|
287
|
+
])) : k("", !0)
|
|
288
288
|
]),
|
|
289
289
|
a("div", No, [
|
|
290
290
|
Fo,
|
|
@@ -296,7 +296,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
296
296
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
297
297
|
}
|
|
298
298
|
}), jo = /* @__PURE__ */ de(Oo, [["__scopeId", "data-v-69fe83d8"]]), qo = { class: "konnectio-availability-listing-selection" }, Go = { key: 1 }, Wo = { class: "konnectio-listing-config-body" }, Ko = { class: "konnectio-listing-units-body" };
|
|
299
|
-
const zo = /* @__PURE__ */
|
|
299
|
+
const zo = /* @__PURE__ */ Q({
|
|
300
300
|
__name: "Hotel",
|
|
301
301
|
props: {
|
|
302
302
|
room: {},
|
|
@@ -304,17 +304,17 @@ const zo = /* @__PURE__ */ x({
|
|
|
304
304
|
},
|
|
305
305
|
setup(n) {
|
|
306
306
|
const { t: l } = ne(), e = n, t = te([]);
|
|
307
|
-
function i(
|
|
308
|
-
t.value[
|
|
307
|
+
function i(b) {
|
|
308
|
+
t.value[b].config.push({
|
|
309
309
|
id: NaN,
|
|
310
310
|
units: 0,
|
|
311
311
|
addons: []
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
const s = q(() => e.room.rates.map((
|
|
315
|
-
label:
|
|
316
|
-
value:
|
|
317
|
-
}))), { hideAvailableRoomAmount: m } = ee(ge()), { roomSelect: p } = ee(me()), { addToCart: u, removeFromCart: r } = ft(), d = (
|
|
314
|
+
const s = q(() => e.room.rates.map((b) => ({
|
|
315
|
+
label: b.name,
|
|
316
|
+
value: b.id
|
|
317
|
+
}))), { hideAvailableRoomAmount: m } = ee(ge()), { roomSelect: p } = ee(me()), { addToCart: u, removeFromCart: r } = ft(), d = (b, w) => e.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === w), f = q(() => e.room.rates.every((b) => b.isBreakfastIncluded === !0)), V = (b, w) => d(b, w) ? d(b, w)?.rooms : null, P = (b) => e.room.rates.length > 0 ? e.room.rates.find((w) => w.id === b)?.occupantRates.map((w) => ({
|
|
318
318
|
value: w.index,
|
|
319
319
|
price: w.totalPrice,
|
|
320
320
|
adults: w.adultsCount,
|
|
@@ -342,15 +342,15 @@ const zo = /* @__PURE__ */ x({
|
|
|
342
342
|
S();
|
|
343
343
|
});
|
|
344
344
|
const I = q(() => JSON.parse(JSON.stringify(t.value)));
|
|
345
|
-
return Ce(I, (
|
|
346
|
-
w.length > 0 &&
|
|
347
|
-
H.config.forEach((U,
|
|
348
|
-
const R = U.units, z = w[F].config[
|
|
349
|
-
R !== z && (R > z ? (t.value[F].config[
|
|
345
|
+
return Ce(I, (b, w) => {
|
|
346
|
+
w.length > 0 && b.forEach((H, F) => {
|
|
347
|
+
H.config.forEach((U, x) => {
|
|
348
|
+
const R = U.units, z = w[F].config[x].units;
|
|
349
|
+
R !== z && (R > z ? (t.value[F].config[x].addons.push({}), u({
|
|
350
350
|
id: e.room.id,
|
|
351
351
|
name: e.room.title,
|
|
352
352
|
value: e.room.rates[F].rackRate
|
|
353
|
-
})) : (t.value[F].config[
|
|
353
|
+
})) : (t.value[F].config[x].addons.pop(), r({
|
|
354
354
|
id: e.room.id,
|
|
355
355
|
name: e.room.title,
|
|
356
356
|
value: e.room.rates[F].rackRate
|
|
@@ -359,17 +359,18 @@ const zo = /* @__PURE__ */ x({
|
|
|
359
359
|
});
|
|
360
360
|
}, { deep: !0 }), Ce(t, () => {
|
|
361
361
|
p.value[e.room.id] = t.value;
|
|
362
|
-
}, { deep: !0 }), (
|
|
363
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
362
|
+
}, { deep: !0 }), (b, w) => (c(), D(He, {
|
|
363
|
+
type: "hotel",
|
|
364
|
+
"listing-id": b.room.id,
|
|
365
|
+
gallery: b.room.images,
|
|
366
|
+
name: b.room.title,
|
|
367
|
+
description: b.room.description,
|
|
368
|
+
layout: b.layout,
|
|
369
|
+
facilities: b.room.facilities,
|
|
370
|
+
"prices-from": b.room.pricesFrom,
|
|
370
371
|
"includes-breakfast": f.value
|
|
371
372
|
}, {
|
|
372
|
-
action:
|
|
373
|
+
action: T(() => [
|
|
373
374
|
a("div", qo, [
|
|
374
375
|
(c(!0), h(E, null, N(t.value, (H, F) => (c(), h("div", {
|
|
375
376
|
key: H.id,
|
|
@@ -383,11 +384,11 @@ const zo = /* @__PURE__ */ x({
|
|
|
383
384
|
placeholder: o(l)("hotel.chooseARoomVariant"),
|
|
384
385
|
options: s.value,
|
|
385
386
|
searchable: !1
|
|
386
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) :
|
|
387
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : k("", !0),
|
|
387
388
|
H.id ? (c(), h("div", Go, [
|
|
388
|
-
(c(!0), h(E, null, N(
|
|
389
|
+
(c(!0), h(E, null, N(b.room.rates, ({
|
|
389
390
|
id: U,
|
|
390
|
-
maximumOccupants:
|
|
391
|
+
maximumOccupants: x
|
|
391
392
|
}) => (c(), h("div", {
|
|
392
393
|
key: U,
|
|
393
394
|
class: "konnectio-listing-action-selective-i"
|
|
@@ -399,11 +400,11 @@ const zo = /* @__PURE__ */ x({
|
|
|
399
400
|
a("ul", Wo, [
|
|
400
401
|
g(jo, {
|
|
401
402
|
modelValue: R.id,
|
|
402
|
-
"onUpdate:modelValue": (
|
|
403
|
+
"onUpdate:modelValue": (Y) => R.id = Y,
|
|
403
404
|
icon: "male",
|
|
404
405
|
"icon-type": "fas",
|
|
405
406
|
label: o(l)("general.guests"),
|
|
406
|
-
description: `${o(l)("general.maximumGuests")}: ${
|
|
407
|
+
description: `${o(l)("general.maximumGuests")}: ${x}`,
|
|
407
408
|
options: P(U),
|
|
408
409
|
readonly: !(P(U).length > 1)
|
|
409
410
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
@@ -411,27 +412,27 @@ const zo = /* @__PURE__ */ x({
|
|
|
411
412
|
a("ul", Ko, [
|
|
412
413
|
g(Ge, {
|
|
413
414
|
modelValue: R.units,
|
|
414
|
-
"onUpdate:modelValue": (
|
|
415
|
-
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${
|
|
415
|
+
"onUpdate:modelValue": (Y) => R.units = Y,
|
|
416
|
+
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, R.id)}`,
|
|
416
417
|
icon: "house",
|
|
417
418
|
"icon-type": "fas",
|
|
418
419
|
"icon-placement": "label",
|
|
419
420
|
label: o(l)("booking.availability.units"),
|
|
420
421
|
minValue: 0,
|
|
421
|
-
"max-value":
|
|
422
|
+
"max-value": V(U, R.id) || 1 / 0
|
|
422
423
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
423
424
|
]),
|
|
424
|
-
|
|
425
|
-
]))), 128)) :
|
|
425
|
+
k("", !0)
|
|
426
|
+
]))), 128)) : k("", !0)
|
|
426
427
|
]))), 128))
|
|
427
|
-
])) :
|
|
428
|
+
])) : k("", !0)
|
|
428
429
|
]))), 128))
|
|
429
430
|
])
|
|
430
431
|
]),
|
|
431
432
|
_: 1
|
|
432
433
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
433
434
|
}
|
|
434
|
-
}), Jo = /* @__PURE__ */ de(zo, [["__scopeId", "data-v-
|
|
435
|
+
}), Jo = /* @__PURE__ */ de(zo, [["__scopeId", "data-v-090cdca2"]]), xo = { class: "konnectio-template-side-panel" }, Qo = { class: "konnectio-template-side-panel-listings" }, Yo = /* @__PURE__ */ Q({
|
|
435
436
|
__name: "Template",
|
|
436
437
|
props: {
|
|
437
438
|
title: {},
|
|
@@ -442,19 +443,19 @@ const zo = /* @__PURE__ */ x({
|
|
|
442
443
|
},
|
|
443
444
|
setup(n) {
|
|
444
445
|
const { t: l } = ne(), { templateID: e, roomGroupID: t, selectionHasNoAddons: i } = ee(me()), { currency: s } = ee(ge()), { clearRoomSelection: m } = me(), p = n, u = te(!0), r = q(() => {
|
|
445
|
-
function f(
|
|
446
|
-
return u.value === !0 ?
|
|
446
|
+
function f(V, P) {
|
|
447
|
+
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
447
448
|
}
|
|
448
449
|
return p.roomGroups?.slice().sort(f);
|
|
449
450
|
});
|
|
450
451
|
function d(f) {
|
|
451
452
|
e.value = p.templateId, t.value = f, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
|
|
452
453
|
}
|
|
453
|
-
return (f,
|
|
454
|
+
return (f, V) => (c(), D(To, {
|
|
454
455
|
title: f.title,
|
|
455
456
|
subtitle: o(l)("booking.availability.selectATemplateRoom")
|
|
456
457
|
}, {
|
|
457
|
-
default:
|
|
458
|
+
default: T(() => [
|
|
458
459
|
a("div", xo, [
|
|
459
460
|
a("div", Qo, [
|
|
460
461
|
(c(!0), h(E, null, N(r.value, ({
|
|
@@ -462,19 +463,19 @@ const zo = /* @__PURE__ */ x({
|
|
|
462
463
|
title: C,
|
|
463
464
|
description: S,
|
|
464
465
|
images: I,
|
|
465
|
-
facilities:
|
|
466
|
+
facilities: b,
|
|
466
467
|
extraPrice: w
|
|
467
468
|
}) => (c(), D(He, {
|
|
468
469
|
key: P,
|
|
469
470
|
"listing-id": P,
|
|
470
471
|
name: C,
|
|
471
472
|
description: S,
|
|
472
|
-
facilities:
|
|
473
|
+
facilities: b,
|
|
473
474
|
gallery: I,
|
|
474
475
|
"includes-breakfast": !1,
|
|
475
476
|
"hide-info-button": !0
|
|
476
477
|
}, {
|
|
477
|
-
action:
|
|
478
|
+
action: T(() => [
|
|
478
479
|
a("div", null, [
|
|
479
480
|
g(pe, {
|
|
480
481
|
onClickEvent: (H) => d(P),
|
|
@@ -491,7 +492,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
491
492
|
_: 1
|
|
492
493
|
}, 8, ["title", "subtitle"]));
|
|
493
494
|
}
|
|
494
|
-
}), gt = /* @__PURE__ */ de(Yo, [["__scopeId", "data-v-35a96ba4"]]), Zo = ["innerHTML"], Xo = { class: "konnectio-template-select-package" }, el = /* @__PURE__ */
|
|
495
|
+
}), gt = /* @__PURE__ */ de(Yo, [["__scopeId", "data-v-35a96ba4"]]), Zo = ["innerHTML"], Xo = { class: "konnectio-template-select-package" }, el = /* @__PURE__ */ Q({
|
|
495
496
|
__name: "Template",
|
|
496
497
|
props: {
|
|
497
498
|
id: {},
|
|
@@ -532,13 +533,13 @@ const zo = /* @__PURE__ */ x({
|
|
|
532
533
|
"hide-info-button": !1,
|
|
533
534
|
"prices-from": t.value
|
|
534
535
|
}, {
|
|
535
|
-
description:
|
|
536
|
+
description: T(() => [
|
|
536
537
|
u.description ? (c(), h("p", {
|
|
537
538
|
key: 0,
|
|
538
539
|
innerHTML: o(ht)(u.description)
|
|
539
|
-
}, null, 8, Zo)) :
|
|
540
|
+
}, null, 8, Zo)) : k("", !0)
|
|
540
541
|
]),
|
|
541
|
-
action:
|
|
542
|
+
action: T(() => [
|
|
542
543
|
a("div", Xo, [
|
|
543
544
|
g(pe, {
|
|
544
545
|
onClickEvent: m,
|
|
@@ -547,7 +548,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
547
548
|
}, null, 8, ["label"])
|
|
548
549
|
])
|
|
549
550
|
]),
|
|
550
|
-
default:
|
|
551
|
+
default: T(() => [
|
|
551
552
|
g(gt, {
|
|
552
553
|
modelValue: s.value,
|
|
553
554
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
@@ -561,7 +562,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
561
562
|
_: 1
|
|
562
563
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
563
564
|
}
|
|
564
|
-
}), tl = ["innerHTML"], ol = { class: "konnectio-special-offer-availability" }, ll = { class: "konnectio-special-offer-availability-button" }, nl = /* @__PURE__ */
|
|
565
|
+
}), tl = ["innerHTML"], ol = { class: "konnectio-special-offer-availability" }, ll = { class: "konnectio-special-offer-availability-button" }, nl = /* @__PURE__ */ Q({
|
|
565
566
|
__name: "SpecialOffer",
|
|
566
567
|
props: {
|
|
567
568
|
id: {},
|
|
@@ -600,17 +601,17 @@ const zo = /* @__PURE__ */ x({
|
|
|
600
601
|
"to-date": d.toDate,
|
|
601
602
|
"from-date": d.fromDate
|
|
602
603
|
}, {
|
|
603
|
-
description:
|
|
604
|
+
description: T(() => [
|
|
604
605
|
d.description ? (c(), h("p", {
|
|
605
606
|
key: 0,
|
|
606
607
|
innerHTML: o(ht)(d.description)
|
|
607
|
-
}, null, 8, tl)) :
|
|
608
|
+
}, null, 8, tl)) : k("", !0)
|
|
608
609
|
]),
|
|
609
|
-
action:
|
|
610
|
+
action: T(() => [
|
|
610
611
|
a("div", ol, [
|
|
611
612
|
g(yt, {
|
|
612
613
|
modelValue: i.value,
|
|
613
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
614
|
+
"onUpdate:modelValue": f[0] || (f[0] = (V) => i.value = V),
|
|
614
615
|
label: o(l)("availability.checkInOut"),
|
|
615
616
|
placeholder: o(l)("booking.availability.selectDates"),
|
|
616
617
|
"icon-type": "fas",
|
|
@@ -630,10 +631,10 @@ const zo = /* @__PURE__ */ x({
|
|
|
630
631
|
])
|
|
631
632
|
])
|
|
632
633
|
]),
|
|
633
|
-
default:
|
|
634
|
+
default: T(() => [
|
|
634
635
|
g(gt, {
|
|
635
636
|
modelValue: p.value,
|
|
636
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
637
|
+
"onUpdate:modelValue": f[1] || (f[1] = (V) => p.value = V),
|
|
637
638
|
title: d.name,
|
|
638
639
|
"template-id": d.id,
|
|
639
640
|
roomGroups: d.roomGroups,
|
|
@@ -643,7 +644,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
643
644
|
_: 1
|
|
644
645
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
645
646
|
}
|
|
646
|
-
}), at = /* @__PURE__ */
|
|
647
|
+
}), at = /* @__PURE__ */ Q({
|
|
647
648
|
__name: "TimeField",
|
|
648
649
|
props: {
|
|
649
650
|
modelValue: {},
|
|
@@ -690,7 +691,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
690
691
|
readonly: m.readonly
|
|
691
692
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
692
693
|
}
|
|
693
|
-
}), al = { style: { display: "flex", "align-items": "baseline" } }, il = /* @__PURE__ */
|
|
694
|
+
}), al = { style: { display: "flex", "align-items": "baseline" } }, il = /* @__PURE__ */ Q({
|
|
694
695
|
__name: "CountryField",
|
|
695
696
|
props: {
|
|
696
697
|
modelValue: {},
|
|
@@ -720,13 +721,13 @@ const zo = /* @__PURE__ */ x({
|
|
|
720
721
|
options: p.options,
|
|
721
722
|
required: p.required
|
|
722
723
|
}, {
|
|
723
|
-
option:
|
|
724
|
+
option: T(({ data: r }) => [
|
|
724
725
|
a("i", {
|
|
725
726
|
class: we(["konnectio-flag-icon", r.iso])
|
|
726
727
|
}, null, 2),
|
|
727
728
|
a("span", null, v(r.name), 1)
|
|
728
729
|
]),
|
|
729
|
-
"selected-option":
|
|
730
|
+
"selected-option": T(({ data: r }) => [
|
|
730
731
|
a("div", al, [
|
|
731
732
|
a("i", {
|
|
732
733
|
class: we(["konnectio-flag-icon", r.iso])
|
|
@@ -737,7 +738,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
737
738
|
_: 1
|
|
738
739
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
739
740
|
}
|
|
740
|
-
}), sl = /* @__PURE__ */ de(il, [["__scopeId", "data-v-1462612d"]]), rl = /* @__PURE__ */
|
|
741
|
+
}), sl = /* @__PURE__ */ de(il, [["__scopeId", "data-v-1462612d"]]), rl = /* @__PURE__ */ Q({
|
|
741
742
|
__name: "NameField",
|
|
742
743
|
props: {
|
|
743
744
|
modelValue: {},
|
|
@@ -777,14 +778,14 @@ const zo = /* @__PURE__ */ x({
|
|
|
777
778
|
readonly: r.readonly,
|
|
778
779
|
limit: r.limit
|
|
779
780
|
}, {
|
|
780
|
-
default:
|
|
781
|
+
default: T(() => [
|
|
781
782
|
a("div", {
|
|
782
783
|
class: we([
|
|
783
784
|
"fresh-booking-name-input",
|
|
784
785
|
{ "no-title": r.excludeTitle }
|
|
785
786
|
])
|
|
786
787
|
}, [
|
|
787
|
-
r.excludeTitle ?
|
|
788
|
+
r.excludeTitle ? k("", !0) : (c(), D(De, {
|
|
788
789
|
key: 0,
|
|
789
790
|
modelValue: m.value,
|
|
790
791
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => m.value = f),
|
|
@@ -841,12 +842,12 @@ const zo = /* @__PURE__ */ x({
|
|
|
841
842
|
_: 1
|
|
842
843
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
843
844
|
}
|
|
844
|
-
}), dl = /* @__PURE__ */ de(rl, [["__scopeId", "data-v-78b0b319"]]), ul = { class: "hotel-skeleton" }, cl = { class: "hotel-skeleton-content" }, pl = { class: "hotel-skeleton-sidebar" }, ml = /* @__PURE__ */
|
|
845
|
+
}), dl = /* @__PURE__ */ de(rl, [["__scopeId", "data-v-78b0b319"]]), ul = { class: "hotel-skeleton" }, cl = { class: "hotel-skeleton-content" }, pl = { class: "hotel-skeleton-sidebar" }, ml = /* @__PURE__ */ Q({
|
|
845
846
|
__name: "HotelSkeleton",
|
|
846
847
|
setup(n) {
|
|
847
848
|
return (l, e) => (c(), h("div", ul, [
|
|
848
849
|
a("div", cl, [
|
|
849
|
-
g(
|
|
850
|
+
g(ko, { hotel: "" }),
|
|
850
851
|
g(mo)
|
|
851
852
|
]),
|
|
852
853
|
a("div", pl, [
|
|
@@ -854,11 +855,11 @@ const zo = /* @__PURE__ */ x({
|
|
|
854
855
|
])
|
|
855
856
|
]));
|
|
856
857
|
}
|
|
857
|
-
}), fl = /* @__PURE__ */ de(ml, [["__scopeId", "data-v-1bb21da4"]]), xe = (n) => (pt("data-v-
|
|
858
|
-
const yl = { key: 1 }, gl = { key: 0 },
|
|
858
|
+
}), fl = /* @__PURE__ */ de(ml, [["__scopeId", "data-v-1bb21da4"]]), xe = (n) => (pt("data-v-d7806f22"), n = n(), mt(), n), hl = { id: "booking-availability-container" }, vl = { id: "booking-availability-controls" };
|
|
859
|
+
const yl = { key: 1 }, gl = { key: 0 }, bl = {
|
|
859
860
|
key: 0,
|
|
860
861
|
id: "booking-availability-packages"
|
|
861
|
-
},
|
|
862
|
+
}, kl = {
|
|
862
863
|
key: 0,
|
|
863
864
|
class: "konnectio-hotel-availability-title"
|
|
864
865
|
}, _l = { id: "booking-availability-packages-wrapper" }, Vl = { key: 1 }, Tl = {
|
|
@@ -892,7 +893,7 @@ const Rl = { class: "konnectio-event-addons-price" }, Ll = { key: 1 }, Nl = /* @
|
|
|
892
893
|
key: 1,
|
|
893
894
|
id: "konnectio-hotel-addons"
|
|
894
895
|
}, jl = { class: "konnectio-table with-lines" };
|
|
895
|
-
const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Gl = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("br", null, null, -1)), Wl = { class: "konnectio-hotel-addons-option" }, Kl = ["onClick"], zl = { class: "konnectio-panel" }, Jl = { key: 0 }, xl = { key: 1 }, Ql = { class: "konnectio-split-inputs" }, Yl = ["onClick"], Zl = /* @__PURE__ */
|
|
896
|
+
const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Gl = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("br", null, null, -1)), Wl = { class: "konnectio-hotel-addons-option" }, Kl = ["onClick"], zl = { class: "konnectio-panel" }, Jl = { key: 0 }, xl = { key: 1 }, Ql = { class: "konnectio-split-inputs" }, Yl = ["onClick"], Zl = /* @__PURE__ */ Q({
|
|
896
897
|
name: "HotelLayout",
|
|
897
898
|
__name: "Hotel",
|
|
898
899
|
props: {
|
|
@@ -903,7 +904,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
903
904
|
styling: {}
|
|
904
905
|
},
|
|
905
906
|
setup(n) {
|
|
906
|
-
const l = Zt(() => import("./_-
|
|
907
|
+
const l = Zt(() => import("./_-CaC826yR.js")), e = n, { t } = ne(), {
|
|
907
908
|
templateID: i,
|
|
908
909
|
templateAddons: s,
|
|
909
910
|
countries: m,
|
|
@@ -912,34 +913,34 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
912
913
|
isReservationFormFilled: r,
|
|
913
914
|
travelingFor: d,
|
|
914
915
|
arrivalTime: f,
|
|
915
|
-
departureTime:
|
|
916
|
+
departureTime: V,
|
|
916
917
|
name: P,
|
|
917
918
|
nameTitle: C,
|
|
918
919
|
email: S,
|
|
919
920
|
phone: I,
|
|
920
|
-
firmName:
|
|
921
|
+
firmName: b,
|
|
921
922
|
postal: w,
|
|
922
923
|
city: H,
|
|
923
924
|
address: F,
|
|
924
925
|
country: U,
|
|
925
|
-
remark:
|
|
926
|
+
remark: x,
|
|
926
927
|
allergies: R,
|
|
927
928
|
roomSelect: z,
|
|
928
|
-
roomDisplay:
|
|
929
|
-
hasValidRoomSelection:
|
|
929
|
+
roomDisplay: Y,
|
|
930
|
+
hasValidRoomSelection: be,
|
|
930
931
|
availabilityData: O,
|
|
931
932
|
selectionHasNoAddons: he,
|
|
932
933
|
isAvailabilityDataAvailable: ue,
|
|
933
934
|
getSelectedPackageRoom: fe,
|
|
934
935
|
selectedPackage: oe
|
|
935
936
|
} = ee(me()), {
|
|
936
|
-
adults:
|
|
937
|
+
adults: G,
|
|
937
938
|
children: M,
|
|
938
939
|
location: ve,
|
|
939
940
|
arrivalDate: Se,
|
|
940
|
-
departureDate:
|
|
941
|
+
departureDate: ke
|
|
941
942
|
} = ee(We()), { isValidHotelId: Ie } = We(), {
|
|
942
|
-
currency:
|
|
943
|
+
currency: Z,
|
|
943
944
|
arrivalEarliest: Be,
|
|
944
945
|
arrivalLatest: Ye,
|
|
945
946
|
departureEarliest: Tt,
|
|
@@ -962,7 +963,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
962
963
|
fetchMetadata: Lt,
|
|
963
964
|
fetchAvailabilityData: Ze
|
|
964
965
|
} = me(), Nt = te(!0), Ft = q(() => {
|
|
965
|
-
const
|
|
966
|
+
const _ = [
|
|
966
967
|
{
|
|
967
968
|
label: t("booking.reservation.business"),
|
|
968
969
|
value: "Business"
|
|
@@ -972,16 +973,16 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
972
973
|
value: "Pleasure"
|
|
973
974
|
}
|
|
974
975
|
];
|
|
975
|
-
return St.value ||
|
|
976
|
+
return St.value || _.push({
|
|
976
977
|
label: t("booking.reservation.bleasure"),
|
|
977
978
|
value: "Bleasure"
|
|
978
|
-
}),
|
|
979
|
+
}), _;
|
|
979
980
|
}), Ot = q(() => {
|
|
980
|
-
const
|
|
981
|
-
function
|
|
982
|
-
return Nt.value === !0 ?
|
|
981
|
+
const _ = O.value.roomGroups.slice();
|
|
982
|
+
function $(W, A) {
|
|
983
|
+
return Nt.value === !0 ? W.pricesFrom > A.pricesFrom ? -1 : 1 : W.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
983
984
|
}
|
|
984
|
-
return
|
|
985
|
+
return _.sort($);
|
|
985
986
|
}), jt = q(() => [[
|
|
986
987
|
parseInt(Be.value.split(":")[0]),
|
|
987
988
|
parseInt(Ye.value.split(":")[0])
|
|
@@ -989,65 +990,65 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
989
990
|
parseInt(Tt.value.split(":")[0]),
|
|
990
991
|
parseInt($t.value.split(":")[0])
|
|
991
992
|
]]);
|
|
992
|
-
function Xe(
|
|
993
|
-
e.hideAddons === "yes" || he.value ?
|
|
993
|
+
function Xe(_) {
|
|
994
|
+
e.hideAddons === "yes" || he.value ? _(2) : _(), Ut();
|
|
994
995
|
}
|
|
995
|
-
function Gt(
|
|
996
|
-
|
|
996
|
+
function Gt(_, $) {
|
|
997
|
+
ke.value = new Date($), Se.value = new Date(_), Ze();
|
|
997
998
|
}
|
|
998
|
-
async function Wt(
|
|
999
|
-
await Rt(
|
|
999
|
+
async function Wt(_) {
|
|
1000
|
+
await Rt(_);
|
|
1000
1001
|
}
|
|
1001
|
-
function Kt(
|
|
1002
|
-
Ct.value && Et(), e.hideAddons === "yes" || he.value ?
|
|
1002
|
+
function Kt(_) {
|
|
1003
|
+
Ct.value && Et(), e.hideAddons === "yes" || he.value ? _(2) : _();
|
|
1003
1004
|
}
|
|
1004
1005
|
function zt() {
|
|
1005
|
-
f.value === "" && (f.value = wt.value),
|
|
1006
|
+
f.value === "" && (f.value = wt.value), V.value === "" && (V.value = Pt.value);
|
|
1006
1007
|
}
|
|
1007
1008
|
function Jt() {
|
|
1008
|
-
const
|
|
1009
|
+
const _ = io("hash-params", {
|
|
1009
1010
|
removeNullishValues: !0
|
|
1010
|
-
}),
|
|
1011
|
-
|
|
1011
|
+
}), $ = parseInt(_.adults), W = parseInt(_.children), A = parseInt(_.location), y = _.checkin, J = _.checkout;
|
|
1012
|
+
isNaN($) || (G.value = $, _.adults = void 0), isNaN(W) || (M.value = W, _.children = void 0), isNaN(A) || (Ie(A) ? (ve.value = A, _.location = void 0) : console.log("Hotel ID: not found")), console.log(y, J), zt(), Ze();
|
|
1012
1013
|
}
|
|
1013
|
-
return (
|
|
1014
|
-
default:
|
|
1014
|
+
return (_, $) => (c(), D(ao, { styling: _.styling }, {
|
|
1015
|
+
default: T(() => [
|
|
1015
1016
|
(c(), D(Yt, { onResolve: Jt }, {
|
|
1016
|
-
default:
|
|
1017
|
+
default: T(() => [
|
|
1017
1018
|
g(o(l), {
|
|
1018
1019
|
id: "konnectio-hotel-module",
|
|
1019
|
-
"access-token":
|
|
1020
|
-
|
|
1020
|
+
"access-token": _.accessToken,
|
|
1021
|
+
callback: o(Lt)
|
|
1021
1022
|
}, {
|
|
1022
|
-
default:
|
|
1023
|
+
default: T(() => [
|
|
1023
1024
|
g(ho, {
|
|
1024
|
-
layout:
|
|
1025
|
+
layout: _.headerLayout,
|
|
1025
1026
|
onReset: o(Mt)
|
|
1026
1027
|
}, {
|
|
1027
|
-
availability:
|
|
1028
|
+
availability: T(({ next: W }) => [
|
|
1028
1029
|
g(Fe, null, {
|
|
1029
|
-
form:
|
|
1030
|
+
form: T(() => [
|
|
1030
1031
|
a("div", hl, [
|
|
1031
1032
|
a("div", vl, [
|
|
1032
1033
|
g(_o, { booking: !0 })
|
|
1033
1034
|
]),
|
|
1034
|
-
|
|
1035
|
+
k("", !0),
|
|
1035
1036
|
!o(p) && o(ue) ? (c(), h("div", yl, [
|
|
1036
1037
|
o(O).roomGroups.length > 0 || o(O).templates.length > 0 || o(O).specialTemplates.length > 0 ? (c(), h("div", gl, [
|
|
1037
|
-
o(O).templates.length > 0 &&
|
|
1038
|
-
|
|
1038
|
+
o(O).templates.length > 0 && _.onlyShow !== "rooms" ? (c(), h("div", bl, [
|
|
1039
|
+
_.onlyShow !== "packages" ? (c(), h("h2", kl, [
|
|
1039
1040
|
g(K, {
|
|
1040
1041
|
icon: "box",
|
|
1041
1042
|
type: "fal",
|
|
1042
1043
|
color: "header"
|
|
1043
1044
|
}),
|
|
1044
1045
|
a("span", null, v(o(t)("booking.availability.packagesTitle")), 1)
|
|
1045
|
-
])) :
|
|
1046
|
+
])) : k("", !0),
|
|
1046
1047
|
a("ul", _l, [
|
|
1047
1048
|
(c(!0), h(E, null, N(o(O).templates, ({
|
|
1048
1049
|
id: A,
|
|
1049
1050
|
name: y,
|
|
1050
|
-
templateRoomGroups:
|
|
1051
|
+
templateRoomGroups: J,
|
|
1051
1052
|
image: j,
|
|
1052
1053
|
description: B,
|
|
1053
1054
|
weekendFee: ce
|
|
@@ -1058,42 +1059,42 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1058
1059
|
name: y,
|
|
1059
1060
|
image: j,
|
|
1060
1061
|
weekendFee: ce,
|
|
1061
|
-
"room-groups":
|
|
1062
|
-
callback:
|
|
1063
|
-
"hide-addons":
|
|
1062
|
+
"room-groups": J,
|
|
1063
|
+
callback: W,
|
|
1064
|
+
"hide-addons": _.hideAddons
|
|
1064
1065
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1065
1066
|
])
|
|
1066
|
-
])) :
|
|
1067
|
-
o(O).roomGroups.length > 0 &&
|
|
1068
|
-
o(O).templates.length > 0 &&
|
|
1067
|
+
])) : k("", !0),
|
|
1068
|
+
o(O).roomGroups.length > 0 && _.onlyShow !== "packages" ? (c(), h("div", Vl, [
|
|
1069
|
+
o(O).templates.length > 0 && _.onlyShow !== "rooms" ? (c(), h("h2", Tl, [
|
|
1069
1070
|
g(K, {
|
|
1070
1071
|
icon: "house",
|
|
1071
1072
|
type: "fal",
|
|
1072
1073
|
color: "header"
|
|
1073
1074
|
}),
|
|
1074
1075
|
a("span", null, v(o(t)("booking.availability.roomsTitle")), 1)
|
|
1075
|
-
])) :
|
|
1076
|
+
])) : k("", !0),
|
|
1076
1077
|
a("ul", $l, [
|
|
1077
1078
|
(c(!0), h(E, null, N(Ot.value, (A, y) => (c(), D(Jo, {
|
|
1078
1079
|
room: A,
|
|
1079
1080
|
key: y
|
|
1080
1081
|
}, null, 8, ["room"]))), 128))
|
|
1081
1082
|
])
|
|
1082
|
-
])) :
|
|
1083
|
-
o(O).specialTemplates.length > 0 &&
|
|
1084
|
-
|
|
1083
|
+
])) : k("", !0),
|
|
1084
|
+
o(O).specialTemplates.length > 0 && _.onlyShow !== "rooms" ? (c(), h("div", Cl, [
|
|
1085
|
+
_.onlyShow !== "packages" ? (c(), h("h2", wl, [
|
|
1085
1086
|
g(K, {
|
|
1086
1087
|
icon: "sparkles",
|
|
1087
1088
|
type: "fal",
|
|
1088
1089
|
color: "header"
|
|
1089
1090
|
}),
|
|
1090
1091
|
a("span", null, v(o(t)("hotel.specialOffers")), 1)
|
|
1091
|
-
])) :
|
|
1092
|
+
])) : k("", !0),
|
|
1092
1093
|
a("ul", Pl, [
|
|
1093
1094
|
(c(!0), h(E, null, N(o(O).specialTemplates, ({
|
|
1094
1095
|
id: A,
|
|
1095
1096
|
name: y,
|
|
1096
|
-
templateRoomGroups:
|
|
1097
|
+
templateRoomGroups: J,
|
|
1097
1098
|
image: j,
|
|
1098
1099
|
description: B,
|
|
1099
1100
|
weekendFee: ce,
|
|
@@ -1108,14 +1109,14 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1108
1109
|
fromDate: le,
|
|
1109
1110
|
toDate: Ue,
|
|
1110
1111
|
weekendFee: ce,
|
|
1111
|
-
"room-groups":
|
|
1112
|
-
callback:
|
|
1112
|
+
"room-groups": J,
|
|
1113
|
+
callback: W
|
|
1113
1114
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1114
1115
|
])
|
|
1115
|
-
])) :
|
|
1116
|
-
(o(O).templates.length === 0 &&
|
|
1116
|
+
])) : k("", !0),
|
|
1117
|
+
(o(O).templates.length === 0 && _.onlyShow !== "rooms" || o(O).roomGroups.length === 0 && _.onlyShow !== "packages") && (_.onlyShow === "rooms" || _.onlyShow === "packages") ? (c(), h("div", Al, [
|
|
1117
1118
|
a("span", null, v(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1118
|
-
])) :
|
|
1119
|
+
])) : k("", !0)
|
|
1119
1120
|
])) : o(O).nextAvailableDates.length === 0 ? (c(), h("div", Dl, [
|
|
1120
1121
|
a("span", null, v(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1121
1122
|
])) : (c(), h("div", Hl, [
|
|
@@ -1135,20 +1136,20 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1135
1136
|
a("span", null, v(`${o(re)(A.fromDate)} - ${o(re)(A.toDate)}`), 1)
|
|
1136
1137
|
], 8, Bl),
|
|
1137
1138
|
a("ul", null, [
|
|
1138
|
-
|
|
1139
|
+
k("", !0),
|
|
1139
1140
|
a("li", null, [
|
|
1140
1141
|
g(K, {
|
|
1141
1142
|
icon: "money-bill",
|
|
1142
1143
|
type: "fal",
|
|
1143
1144
|
color: "header"
|
|
1144
1145
|
}),
|
|
1145
|
-
a("span", null, v(o(t)("booking.availability.pricesFrom")) + ": " + v(o(X)(A.priceStartFrom, o(
|
|
1146
|
+
a("span", null, v(o(t)("booking.availability.pricesFrom")) + ": " + v(o(X)(A.priceStartFrom, o(Z))), 1)
|
|
1146
1147
|
])
|
|
1147
1148
|
]),
|
|
1148
1149
|
g(pe, {
|
|
1149
1150
|
label: o(t)("booking.availability.selectDates"),
|
|
1150
1151
|
"full-width": "",
|
|
1151
|
-
onClickEvent: (
|
|
1152
|
+
onClickEvent: (J) => Gt(A.fromDate, A.toDate)
|
|
1152
1153
|
}, null, 8, ["label", "onClickEvent"])
|
|
1153
1154
|
]))), 128))
|
|
1154
1155
|
])
|
|
@@ -1160,46 +1161,46 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1160
1161
|
]))
|
|
1161
1162
|
])
|
|
1162
1163
|
]),
|
|
1163
|
-
navigation:
|
|
1164
|
+
navigation: T(() => [
|
|
1164
1165
|
g(pe, {
|
|
1165
|
-
label: o(he) ? o(t)("booking.availability.nextButton") : o(t)("general.chooseAddons"),
|
|
1166
|
-
disabled: !o(
|
|
1166
|
+
label: o(he) || _.hideAddons === "yes" ? o(t)("booking.availability.nextButton") : o(t)("general.chooseAddons"),
|
|
1167
|
+
disabled: !o(be),
|
|
1167
1168
|
"is-loading": !1,
|
|
1168
1169
|
"full-width": "",
|
|
1169
|
-
onClickEvent: (A) => Kt(
|
|
1170
|
+
onClickEvent: (A) => Kt(W)
|
|
1170
1171
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1171
1172
|
]),
|
|
1172
1173
|
_: 2
|
|
1173
1174
|
}, 1024)
|
|
1174
1175
|
]),
|
|
1175
|
-
addons:
|
|
1176
|
+
addons: T(({ next: W, prev: A }) => [
|
|
1176
1177
|
o(ue) ? (c(), D(Fe, { key: 0 }, {
|
|
1177
|
-
form:
|
|
1178
|
+
form: T(() => [
|
|
1178
1179
|
a("form", Ml, [
|
|
1179
1180
|
a("h2", null, [
|
|
1180
1181
|
a("span", null, v(o(t)("booking.reservation.addons")), 1)
|
|
1181
1182
|
]),
|
|
1182
1183
|
a("div", null, [
|
|
1183
1184
|
isNaN(o(i)) ? (c(), h("div", Ul, [
|
|
1184
|
-
(c(!0), h(E, null, N(o(
|
|
1185
|
+
(c(!0), h(E, null, N(o(Y), (y) => (c(), h("ul", {
|
|
1185
1186
|
key: y.roomGroupID
|
|
1186
1187
|
}, [
|
|
1187
|
-
(c(!0), h(E, null, N(y.variants, (
|
|
1188
|
-
key:
|
|
1188
|
+
(c(!0), h(E, null, N(y.variants, (J, j) => (c(), h("li", {
|
|
1189
|
+
key: J.ratePlanID
|
|
1189
1190
|
}, [
|
|
1190
1191
|
a("h4", null, [
|
|
1191
1192
|
a("span", null, v(o(se)(y.title)), 1)
|
|
1192
1193
|
]),
|
|
1193
|
-
(c(!0), h(E, null, N(
|
|
1194
|
+
(c(!0), h(E, null, N(J.rooms, (B, ce) => (c(), h("table", {
|
|
1194
1195
|
key: ce,
|
|
1195
1196
|
class: "konnectio-table with-lines"
|
|
1196
1197
|
}, [
|
|
1197
1198
|
a("thead", null, [
|
|
1198
1199
|
a("tr", null, [
|
|
1199
1200
|
a("th", null, [
|
|
1200
|
-
a("span", null, v(o(se)(
|
|
1201
|
+
a("span", null, v(o(se)(J.name)), 1)
|
|
1201
1202
|
]),
|
|
1202
|
-
|
|
1203
|
+
k("", !0),
|
|
1203
1204
|
a("th", Rl, [
|
|
1204
1205
|
a("b", null, [
|
|
1205
1206
|
g(K, {
|
|
@@ -1213,8 +1214,8 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1213
1214
|
icon: "child",
|
|
1214
1215
|
type: "fas",
|
|
1215
1216
|
color: "font"
|
|
1216
|
-
})) :
|
|
1217
|
-
B.childrenCount > 0 ? (c(), h("span", Ll, v(B.childrenCount), 1)) :
|
|
1217
|
+
})) : k("", !0),
|
|
1218
|
+
B.childrenCount > 0 ? (c(), h("span", Ll, v(B.childrenCount), 1)) : k("", !0)
|
|
1218
1219
|
])
|
|
1219
1220
|
])
|
|
1220
1221
|
])
|
|
@@ -1230,7 +1231,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1230
1231
|
a("td", null, [
|
|
1231
1232
|
a("b", null, v(o(se)(xt)), 1),
|
|
1232
1233
|
Nl,
|
|
1233
|
-
a("span", null, v(o(X)(Qt, o(
|
|
1234
|
+
a("span", null, v(o(X)(Qt, o(Z))) + " " + v(o(nt)(le)), 1)
|
|
1234
1235
|
]),
|
|
1235
1236
|
a("td", Fl, [
|
|
1236
1237
|
o(z)[y.roomGroupID][j].config[B.configIdx].addons[B.roomIdx] ? (c(), h(E, { key: 0 }, [
|
|
@@ -1247,7 +1248,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1247
1248
|
"onUpdate:modelValue": (Re) => o(z)[y.roomGroupID][j].config[B.configIdx].addons[B.roomIdx][ye] = Re,
|
|
1248
1249
|
numeric: !0
|
|
1249
1250
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1250
|
-
], 64)) :
|
|
1251
|
+
], 64)) : k("", !0)
|
|
1251
1252
|
])
|
|
1252
1253
|
]))), 128))
|
|
1253
1254
|
])
|
|
@@ -1265,14 +1266,14 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1265
1266
|
a("th", null, [
|
|
1266
1267
|
a("span", null, v(o(se)(o(fe).title)), 1)
|
|
1267
1268
|
]),
|
|
1268
|
-
|
|
1269
|
+
k("", !0),
|
|
1269
1270
|
ql
|
|
1270
1271
|
])
|
|
1271
1272
|
]),
|
|
1272
1273
|
a("tbody", null, [
|
|
1273
1274
|
(c(!0), h(E, null, N(o(fe).addons, ({
|
|
1274
1275
|
quantityStrategy: y,
|
|
1275
|
-
maximumNumber:
|
|
1276
|
+
maximumNumber: J,
|
|
1276
1277
|
id: j,
|
|
1277
1278
|
name: B,
|
|
1278
1279
|
price: ce
|
|
@@ -1280,7 +1281,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1280
1281
|
a("td", null, [
|
|
1281
1282
|
a("b", null, v(o(se)(B)), 1),
|
|
1282
1283
|
Gl,
|
|
1283
|
-
a("span", null, v(o(X)(ce, o(
|
|
1284
|
+
a("span", null, v(o(X)(ce, o(Z))) + " " + v(o(nt)(y)), 1)
|
|
1284
1285
|
]),
|
|
1285
1286
|
a("td", Wl, [
|
|
1286
1287
|
y === 1 || y === 12 ? (c(), D(Ge, {
|
|
@@ -1289,7 +1290,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1289
1290
|
"onUpdate:modelValue": (le) => o(s)[j] = le,
|
|
1290
1291
|
small: !0,
|
|
1291
1292
|
"min-value": 0,
|
|
1292
|
-
"max-value":
|
|
1293
|
+
"max-value": J || 1 / 0
|
|
1293
1294
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(Pe, {
|
|
1294
1295
|
key: 1,
|
|
1295
1296
|
modelValue: o(s)[j],
|
|
@@ -1301,15 +1302,15 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1301
1302
|
])
|
|
1302
1303
|
])
|
|
1303
1304
|
])
|
|
1304
|
-
])) :
|
|
1305
|
+
])) : k("", !0)
|
|
1305
1306
|
])
|
|
1306
1307
|
])
|
|
1307
1308
|
]),
|
|
1308
|
-
navigation:
|
|
1309
|
+
navigation: T(() => [
|
|
1309
1310
|
g(pe, {
|
|
1310
1311
|
label: o(t)("general.startReservation"),
|
|
1311
1312
|
"full-width": "",
|
|
1312
|
-
onClickEvent:
|
|
1313
|
+
onClickEvent: W
|
|
1313
1314
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1314
1315
|
a("button", {
|
|
1315
1316
|
class: "konnectio-abort-reservation link",
|
|
@@ -1319,15 +1320,15 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1319
1320
|
], 8, Kl)
|
|
1320
1321
|
]),
|
|
1321
1322
|
_: 2
|
|
1322
|
-
}, 1024)) :
|
|
1323
|
+
}, 1024)) : k("", !0)
|
|
1323
1324
|
]),
|
|
1324
|
-
reservation:
|
|
1325
|
+
reservation: T(({ next: W, prev: A }) => [
|
|
1325
1326
|
o(ue) ? (c(), D(Fe, {
|
|
1326
1327
|
key: 0,
|
|
1327
1328
|
"show-terms-notice": !0,
|
|
1328
1329
|
"show-gift-card": !0
|
|
1329
1330
|
}, {
|
|
1330
|
-
form:
|
|
1331
|
+
form: T(() => [
|
|
1331
1332
|
a("form", zl, [
|
|
1332
1333
|
a("h2", null, [
|
|
1333
1334
|
a("span", null, v(o(t)("booking.reservation.detailsTitle")), 1)
|
|
@@ -1336,32 +1337,32 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1336
1337
|
key: 0,
|
|
1337
1338
|
class: we({ "konnectio-split-inputs": !o(Ee) && !o(Me) })
|
|
1338
1339
|
}, [
|
|
1339
|
-
o(Ee) ?
|
|
1340
|
+
o(Ee) ? k("", !0) : (c(), h("li", Jl, [
|
|
1340
1341
|
g(at, {
|
|
1341
1342
|
modelValue: o(f),
|
|
1342
|
-
"onUpdate:modelValue":
|
|
1343
|
+
"onUpdate:modelValue": $[1] || ($[1] = (y) => L(f) ? f.value = y : null),
|
|
1343
1344
|
label: o(t)("booking.reservation.arrivalTime"),
|
|
1344
1345
|
icon: "hourglass-start",
|
|
1345
1346
|
"hour-range": jt.value,
|
|
1346
1347
|
required: ""
|
|
1347
1348
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1348
1349
|
])),
|
|
1349
|
-
o(Me) ?
|
|
1350
|
+
o(Me) ? k("", !0) : (c(), h("li", xl, [
|
|
1350
1351
|
g(at, {
|
|
1351
|
-
modelValue: o(
|
|
1352
|
-
"onUpdate:modelValue":
|
|
1352
|
+
modelValue: o(V),
|
|
1353
|
+
"onUpdate:modelValue": $[2] || ($[2] = (y) => L(V) ? V.value = y : null),
|
|
1353
1354
|
label: o(t)("booking.reservation.departureTime"),
|
|
1354
1355
|
icon: "hourglass-end",
|
|
1355
1356
|
"hour-range": qt.value,
|
|
1356
1357
|
required: ""
|
|
1357
1358
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1358
1359
|
]))
|
|
1359
|
-
], 2)) :
|
|
1360
|
+
], 2)) : k("", !0),
|
|
1360
1361
|
g(dl, {
|
|
1361
1362
|
modelValue: o(P),
|
|
1362
|
-
"onUpdate:modelValue":
|
|
1363
|
+
"onUpdate:modelValue": $[3] || ($[3] = (y) => L(P) ? P.value = y : null),
|
|
1363
1364
|
title: o(C),
|
|
1364
|
-
"onUpdate:title":
|
|
1365
|
+
"onUpdate:title": $[4] || ($[4] = (y) => L(C) ? C.value = y : null),
|
|
1365
1366
|
"exclude-title": o(Dt),
|
|
1366
1367
|
label: o(t)("booking.reservation.name"),
|
|
1367
1368
|
icon: "user-alt",
|
|
@@ -1370,7 +1371,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1370
1371
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1371
1372
|
g(ie, {
|
|
1372
1373
|
modelValue: o(S),
|
|
1373
|
-
"onUpdate:modelValue":
|
|
1374
|
+
"onUpdate:modelValue": $[5] || ($[5] = (y) => L(S) ? S.value = y : null),
|
|
1374
1375
|
type: "email",
|
|
1375
1376
|
name: "email",
|
|
1376
1377
|
autocomplete: "email",
|
|
@@ -1379,10 +1380,10 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1379
1380
|
placeholder: o(t)("booking.reservation.emailPlaceholder"),
|
|
1380
1381
|
required: ""
|
|
1381
1382
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1382
|
-
o(It) ?
|
|
1383
|
+
o(It) ? k("", !0) : (c(), D(ie, {
|
|
1383
1384
|
key: 1,
|
|
1384
|
-
modelValue: o(
|
|
1385
|
-
"onUpdate:modelValue":
|
|
1385
|
+
modelValue: o(b),
|
|
1386
|
+
"onUpdate:modelValue": $[6] || ($[6] = (y) => L(b) ? b.value = y : null),
|
|
1386
1387
|
type: "text",
|
|
1387
1388
|
name: "firm",
|
|
1388
1389
|
autocomplete: "firm",
|
|
@@ -1392,7 +1393,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1392
1393
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1393
1394
|
g($o, {
|
|
1394
1395
|
modelValue: o(I),
|
|
1395
|
-
"onUpdate:modelValue":
|
|
1396
|
+
"onUpdate:modelValue": $[7] || ($[7] = (y) => L(I) ? I.value = y : null),
|
|
1396
1397
|
icon: "phone-office",
|
|
1397
1398
|
label: o(t)("booking.reservation.phone"),
|
|
1398
1399
|
placeholder: o(t)("booking.reservation.phonePlaceholder"),
|
|
@@ -1400,7 +1401,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1400
1401
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1401
1402
|
g(sl, {
|
|
1402
1403
|
modelValue: o(U),
|
|
1403
|
-
"onUpdate:modelValue":
|
|
1404
|
+
"onUpdate:modelValue": $[8] || ($[8] = (y) => L(U) ? U.value = y : null),
|
|
1404
1405
|
label: o(t)("booking.reservation.country"),
|
|
1405
1406
|
placeholder: o(t)("booking.reservation.countryPlaceholder"),
|
|
1406
1407
|
options: o(m),
|
|
@@ -1408,7 +1409,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1408
1409
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1409
1410
|
g(ie, {
|
|
1410
1411
|
modelValue: o(F),
|
|
1411
|
-
"onUpdate:modelValue":
|
|
1412
|
+
"onUpdate:modelValue": $[9] || ($[9] = (y) => L(F) ? F.value = y : null),
|
|
1412
1413
|
type: "textarea",
|
|
1413
1414
|
name: "address",
|
|
1414
1415
|
autocomplete: "street-address",
|
|
@@ -1421,7 +1422,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1421
1422
|
a("li", null, [
|
|
1422
1423
|
g(ie, {
|
|
1423
1424
|
modelValue: o(w),
|
|
1424
|
-
"onUpdate:modelValue":
|
|
1425
|
+
"onUpdate:modelValue": $[10] || ($[10] = (y) => L(w) ? w.value = y : null),
|
|
1425
1426
|
type: "text",
|
|
1426
1427
|
name: "postal",
|
|
1427
1428
|
autocomplete: "postal-code",
|
|
@@ -1434,7 +1435,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1434
1435
|
a("li", null, [
|
|
1435
1436
|
g(ie, {
|
|
1436
1437
|
modelValue: o(H),
|
|
1437
|
-
"onUpdate:modelValue":
|
|
1438
|
+
"onUpdate:modelValue": $[11] || ($[11] = (y) => L(H) ? H.value = y : null),
|
|
1438
1439
|
type: "text",
|
|
1439
1440
|
name: "city",
|
|
1440
1441
|
autocomplete: "address-level2",
|
|
@@ -1446,8 +1447,8 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1446
1447
|
])
|
|
1447
1448
|
]),
|
|
1448
1449
|
g(ie, {
|
|
1449
|
-
modelValue: o(
|
|
1450
|
-
"onUpdate:modelValue":
|
|
1450
|
+
modelValue: o(x),
|
|
1451
|
+
"onUpdate:modelValue": $[12] || ($[12] = (y) => L(x) ? x.value = y : null),
|
|
1451
1452
|
type: "textarea",
|
|
1452
1453
|
label: `${o(t)("booking.reservation.remark")} (${o(t)("booking.reservation.optional")})`,
|
|
1453
1454
|
icon: "info-circle",
|
|
@@ -1455,30 +1456,30 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1455
1456
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1456
1457
|
g(ie, {
|
|
1457
1458
|
modelValue: o(R),
|
|
1458
|
-
"onUpdate:modelValue":
|
|
1459
|
+
"onUpdate:modelValue": $[13] || ($[13] = (y) => L(R) ? R.value = y : null),
|
|
1459
1460
|
type: "textarea",
|
|
1460
1461
|
label: `${o(t)("booking.reservation.allergies")} (${o(t)("booking.reservation.optional")})`,
|
|
1461
1462
|
icon: "allergies",
|
|
1462
1463
|
placeholder: o(t)("booking.reservation.allergiesPlaceholder")
|
|
1463
1464
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1464
|
-
o(Ht) ?
|
|
1465
|
+
o(Ht) ? k("", !0) : (c(), D(vo, {
|
|
1465
1466
|
key: 2,
|
|
1466
1467
|
modelValue: o(d),
|
|
1467
|
-
"onUpdate:modelValue":
|
|
1468
|
+
"onUpdate:modelValue": $[14] || ($[14] = (y) => L(d) ? d.value = y : null),
|
|
1468
1469
|
label: `${o(t)("booking.reservation.purposeOfStay")} (${o(t)("booking.reservation.optional")})`,
|
|
1469
1470
|
name: "travelingFor",
|
|
1470
1471
|
checkboxes: Ft.value
|
|
1471
1472
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1472
1473
|
])
|
|
1473
1474
|
]),
|
|
1474
|
-
navigation:
|
|
1475
|
+
navigation: T(() => [
|
|
1475
1476
|
a("div", null, [
|
|
1476
1477
|
g(pe, {
|
|
1477
1478
|
label: o(Bt) ? o(t)("booking.reservation.nextButton") : o(t)("general.confirmReservation"),
|
|
1478
1479
|
disabled: !o(r),
|
|
1479
1480
|
"is-loading": o(u),
|
|
1480
1481
|
"full-width": "",
|
|
1481
|
-
onClickEvent: (y) => Wt(
|
|
1482
|
+
onClickEvent: (y) => Wt(W)
|
|
1482
1483
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1483
1484
|
a("button", {
|
|
1484
1485
|
class: "konnectio-abort-reservation link",
|
|
@@ -1489,12 +1490,12 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1489
1490
|
])
|
|
1490
1491
|
]),
|
|
1491
1492
|
_: 2
|
|
1492
|
-
}, 1024)) :
|
|
1493
|
+
}, 1024)) : k("", !0)
|
|
1493
1494
|
]),
|
|
1494
|
-
payment:
|
|
1495
|
+
payment: T(() => [
|
|
1495
1496
|
g(Co)
|
|
1496
1497
|
]),
|
|
1497
|
-
confirmation:
|
|
1498
|
+
confirmation: T(() => [
|
|
1498
1499
|
g(yo, {
|
|
1499
1500
|
message: o(t)("booking.confirmation.thankYou")
|
|
1500
1501
|
}, null, 8, ["message"])
|
|
@@ -1503,9 +1504,9 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1503
1504
|
}, 8, ["layout", "onReset"])
|
|
1504
1505
|
]),
|
|
1505
1506
|
_: 1
|
|
1506
|
-
}, 8, ["access-token"])
|
|
1507
|
+
}, 8, ["access-token", "callback"])
|
|
1507
1508
|
]),
|
|
1508
|
-
fallback:
|
|
1509
|
+
fallback: T(() => [
|
|
1509
1510
|
g(fl)
|
|
1510
1511
|
]),
|
|
1511
1512
|
_: 1
|
|
@@ -1514,7 +1515,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1514
1515
|
_: 1
|
|
1515
1516
|
}, 8, ["styling"]));
|
|
1516
1517
|
}
|
|
1517
|
-
}), _e = /* @__PURE__ */ de(Zl, [["__scopeId", "data-v-
|
|
1518
|
+
}), _e = /* @__PURE__ */ de(Zl, [["__scopeId", "data-v-d7806f22"]]);
|
|
1518
1519
|
function Ke(n, l = {}, e) {
|
|
1519
1520
|
for (const t in n) {
|
|
1520
1521
|
const i = n[t], s = e ? `${e}:${t}` : t;
|
|
@@ -1522,16 +1523,16 @@ function Ke(n, l = {}, e) {
|
|
|
1522
1523
|
}
|
|
1523
1524
|
return l;
|
|
1524
1525
|
}
|
|
1525
|
-
const Xl = { run: (n) => n() }, en = () => Xl,
|
|
1526
|
+
const Xl = { run: (n) => n() }, en = () => Xl, bt = typeof console.createTask < "u" ? console.createTask : en;
|
|
1526
1527
|
function tn(n, l) {
|
|
1527
|
-
const e = l.shift(), t =
|
|
1528
|
+
const e = l.shift(), t = bt(e);
|
|
1528
1529
|
return n.reduce(
|
|
1529
1530
|
(i, s) => i.then(() => t.run(() => s(...l))),
|
|
1530
1531
|
Promise.resolve()
|
|
1531
1532
|
);
|
|
1532
1533
|
}
|
|
1533
1534
|
function on(n, l) {
|
|
1534
|
-
const e = l.shift(), t =
|
|
1535
|
+
const e = l.shift(), t = bt(e);
|
|
1535
1536
|
return Promise.all(n.map((i) => t.run(() => i(...l))));
|
|
1536
1537
|
}
|
|
1537
1538
|
function Oe(n, l) {
|
|
@@ -1665,7 +1666,7 @@ const sn = ["title", "titleTemplate", "script", "style", "noscript"], Ve = [
|
|
|
1665
1666
|
"style",
|
|
1666
1667
|
"script",
|
|
1667
1668
|
"noscript"
|
|
1668
|
-
], dn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"],
|
|
1669
|
+
], dn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], kt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], un = typeof window < "u";
|
|
1669
1670
|
function Qe(n) {
|
|
1670
1671
|
let l = 9;
|
|
1671
1672
|
for (let e = 0; e < n.length; )
|
|
@@ -1705,7 +1706,7 @@ async function cn(n, l, e) {
|
|
|
1705
1706
|
["templateParams", "titleTemplate"].includes(n)
|
|
1706
1707
|
)
|
|
1707
1708
|
};
|
|
1708
|
-
return
|
|
1709
|
+
return kt.forEach((i) => {
|
|
1709
1710
|
const s = typeof t.props[i] < "u" ? t.props[i] : e[i];
|
|
1710
1711
|
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || sn.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
|
|
1711
1712
|
}), 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;
|
|
@@ -1720,7 +1721,7 @@ async function Vt(n, l) {
|
|
|
1720
1721
|
n[e] = pn(e, n[e]);
|
|
1721
1722
|
continue;
|
|
1722
1723
|
}
|
|
1723
|
-
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !
|
|
1724
|
+
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !kt.includes(e)) {
|
|
1724
1725
|
const t = String(n[e]), i = e.startsWith("data-");
|
|
1725
1726
|
t === "true" || t === "" ? n[e] = i ? "true" : !0 : n[e] || (i && t === "false" ? n[e] = "false" : delete n[e]);
|
|
1726
1727
|
}
|
|
@@ -1786,45 +1787,45 @@ async function vn(n, l = {}) {
|
|
|
1786
1787
|
elMap: { htmlAttrs: e.documentElement, bodyAttrs: e.body }
|
|
1787
1788
|
};
|
|
1788
1789
|
for (const d of ["body", "head"]) {
|
|
1789
|
-
const f = e[d]?.children,
|
|
1790
|
+
const f = e[d]?.children, V = [];
|
|
1790
1791
|
for (const P of [...f].filter((C) => Ve.includes(C.tagName.toLowerCase()))) {
|
|
1791
1792
|
const C = {
|
|
1792
1793
|
tag: P.tagName.toLowerCase(),
|
|
1793
1794
|
props: await Vt(
|
|
1794
|
-
P.getAttributeNames().reduce((
|
|
1795
|
+
P.getAttributeNames().reduce((b, w) => ({ ...b, [w]: P.getAttribute(w) }), {})
|
|
1795
1796
|
),
|
|
1796
1797
|
innerHTML: P.innerHTML
|
|
1797
1798
|
};
|
|
1798
1799
|
let S = 1, I = _t(C);
|
|
1799
|
-
for (; I &&
|
|
1800
|
+
for (; I && V.find((b) => b._d === I); )
|
|
1800
1801
|
I = `${I}:${S++}`;
|
|
1801
|
-
C._d = I || void 0,
|
|
1802
|
+
C._d = I || void 0, V.push(C), s.elMap[P.getAttribute("data-hid") || it(C)] = P;
|
|
1802
1803
|
}
|
|
1803
1804
|
}
|
|
1804
1805
|
}
|
|
1805
1806
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1806
|
-
function m(d, f,
|
|
1807
|
+
function m(d, f, V) {
|
|
1807
1808
|
const P = `${d}:${f}`;
|
|
1808
|
-
s.sideEffects[P] =
|
|
1809
|
+
s.sideEffects[P] = V, delete s.pendingSideEffects[P];
|
|
1809
1810
|
}
|
|
1810
|
-
function p({ id: d, $el: f, tag:
|
|
1811
|
-
const P =
|
|
1811
|
+
function p({ id: d, $el: f, tag: V }) {
|
|
1812
|
+
const P = V.tag.endsWith("Attrs");
|
|
1812
1813
|
s.elMap[d] = f, P || (["textContent", "innerHTML"].forEach((C) => {
|
|
1813
|
-
|
|
1814
|
+
V[C] && V[C] !== f[C] && (f[C] = V[C]);
|
|
1814
1815
|
}), m(d, "el", () => {
|
|
1815
1816
|
s.elMap[d]?.remove(), delete s.elMap[d];
|
|
1816
1817
|
}));
|
|
1817
|
-
for (const [C, S] of Object.entries(
|
|
1818
|
-
f.getAttribute(`data-${C}`) !== "" && ((
|
|
1819
|
-
Object.entries(
|
|
1818
|
+
for (const [C, S] of Object.entries(V._eventHandlers || {}))
|
|
1819
|
+
f.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? e.defaultView : f).addEventListener(C.replace("on", ""), S.bind(f)), f.setAttribute(`data-${C}`, ""));
|
|
1820
|
+
Object.entries(V.props).forEach(([C, S]) => {
|
|
1820
1821
|
const I = `attr:${C}`;
|
|
1821
1822
|
if (C === "class")
|
|
1822
|
-
for (const
|
|
1823
|
-
P && m(d, `${I}:${
|
|
1823
|
+
for (const b of (S || "").split(" ").filter(Boolean))
|
|
1824
|
+
P && m(d, `${I}:${b}`, () => f.classList.remove(b)), !f.classList.contains(b) && f.classList.add(b);
|
|
1824
1825
|
else if (C === "style")
|
|
1825
|
-
for (const
|
|
1826
|
-
const [w, ...H] =
|
|
1827
|
-
m(d, `${I}:${
|
|
1826
|
+
for (const b of (S || "").split(";").filter(Boolean)) {
|
|
1827
|
+
const [w, ...H] = b.split(":").map((F) => F.trim());
|
|
1828
|
+
m(d, `${I}:${b}:${w}`, () => {
|
|
1828
1829
|
f.style.removeProperty(w);
|
|
1829
1830
|
}), f.style.setProperty(w, H.join(":"));
|
|
1830
1831
|
}
|
|
@@ -1838,8 +1839,8 @@ async function vn(n, l = {}) {
|
|
|
1838
1839
|
head: void 0
|
|
1839
1840
|
};
|
|
1840
1841
|
for (const d of i) {
|
|
1841
|
-
const { tag: f, shouldRender:
|
|
1842
|
-
if (
|
|
1842
|
+
const { tag: f, shouldRender: V, id: P } = d;
|
|
1843
|
+
if (V) {
|
|
1843
1844
|
if (f.tag === "title") {
|
|
1844
1845
|
e.title = f.textContent;
|
|
1845
1846
|
continue;
|
|
@@ -1875,7 +1876,7 @@ function gn(n) {
|
|
|
1875
1876
|
};
|
|
1876
1877
|
};
|
|
1877
1878
|
}
|
|
1878
|
-
const
|
|
1879
|
+
const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], kn = {
|
|
1879
1880
|
hooks: {
|
|
1880
1881
|
"tag:normalise": function({ tag: n }) {
|
|
1881
1882
|
["hid", "vmid", "key"].forEach((t) => {
|
|
@@ -1890,7 +1891,7 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1890
1891
|
const i = (t.key ? `${t.tag}:${t.key}` : t._d) || t._p, s = l[i];
|
|
1891
1892
|
if (s) {
|
|
1892
1893
|
let p = t?.tagDuplicateStrategy;
|
|
1893
|
-
if (!p &&
|
|
1894
|
+
if (!p && bn.includes(t.tag) && (p = "merge"), p === "merge") {
|
|
1894
1895
|
const u = s.props;
|
|
1895
1896
|
["class", "style"].forEach((r) => {
|
|
1896
1897
|
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]);
|
|
@@ -2055,7 +2056,7 @@ function In(n = {}) {
|
|
|
2055
2056
|
},
|
|
2056
2057
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2057
2058
|
patch(f) {
|
|
2058
|
-
s = s.map((
|
|
2059
|
+
s = s.map((V) => (V._i === d._i && (V.input = d.input = f), V)), t();
|
|
2059
2060
|
}
|
|
2060
2061
|
};
|
|
2061
2062
|
},
|
|
@@ -2066,8 +2067,8 @@ function In(n = {}) {
|
|
|
2066
2067
|
const d = r.resolvedInput || r.input;
|
|
2067
2068
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2068
2069
|
for (const f of await fn(r)) {
|
|
2069
|
-
const
|
|
2070
|
-
await l.callHook("tag:normalise",
|
|
2070
|
+
const V = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2071
|
+
await l.callHook("tag:normalise", V), u.tags.push(V.tag);
|
|
2071
2072
|
}
|
|
2072
2073
|
}
|
|
2073
2074
|
return await l.callHook("tags:beforeResolve", u), await l.callHook("tags:resolve", u), await l.callHook("tags:afterResolve", u), u.tags;
|
|
@@ -2075,7 +2076,7 @@ function In(n = {}) {
|
|
|
2075
2076
|
ssr: e
|
|
2076
2077
|
};
|
|
2077
2078
|
return [
|
|
2078
|
-
|
|
2079
|
+
kn,
|
|
2079
2080
|
_n,
|
|
2080
2081
|
Tn,
|
|
2081
2082
|
Cn,
|
|
@@ -2141,7 +2142,7 @@ class jn extends HTMLElement {
|
|
|
2141
2142
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2142
2143
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2143
2144
|
}
|
|
2144
|
-
this.vueApp = to(_e, s), this.vueApp.provide("emitter", On), this.vueApp.use(Fn), this.vueApp.use(Nn), this.vueApp.use(go), this.vueApp.use(ro), this.vueApp.use(
|
|
2145
|
+
this.vueApp = to(_e, s), this.vueApp.provide("emitter", On), this.vueApp.use(Fn), this.vueApp.use(Nn), this.vueApp.use(go), this.vueApp.use(ro), this.vueApp.use(bo), this.vueApp.use(uo, { bootstrap: !0 });
|
|
2145
2146
|
const p = document.createElement("div");
|
|
2146
2147
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2147
2148
|
}
|