@konnectio/core 4.0.93 → 4.0.95
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-C7lWLc8e.js → ActionField-75ouujfn.js} +3 -3
- package/dist/ActionField-75ouujfn.js.br +0 -0
- package/dist/AvailabilitySkeleton-B2wU57Y_.js +319 -0
- package/dist/AvailabilitySkeleton-B2wU57Y_.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js} +253 -245
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js.br +0 -0
- package/dist/{CheckoutWindow-CGSJxkWB.js → CheckoutWindow-BW2LLOP1.js} +3 -3
- package/dist/CheckoutWindow-BW2LLOP1.js.br +0 -0
- package/dist/{ErrorMessage-HrnuoiPk.js → ErrorMessage-BIOzUcZf.js} +3 -3
- package/dist/ErrorMessage-BIOzUcZf.js.br +0 -0
- package/dist/{EventAvailabilityForm-CoCMi3LO.js → EventAvailabilityForm-JUmCQKin.js} +4 -4
- package/dist/EventAvailabilityForm-JUmCQKin.js.br +0 -0
- package/dist/{Field-EJv450KD.js → Field-Btoh6D8R.js} +4 -4
- package/dist/Field-Btoh6D8R.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7rweWQ6.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bc5WP2-j.js} +3 -3
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js → SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js} +1296 -1292
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js.br +0 -0
- package/dist/{TermsOfService-C3ep4du7.js → TermsOfService-CNi3QNyf.js} +4 -4
- package/dist/_-DvjoqbLF.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CKnvU28k.js → _.vue_vue_type_style_index_0_lang-D6Jd6LKN.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-CpohNznT.js → giftCard-ClY1nVIQ.js} +3 -3
- package/dist/giftCard-ClY1nVIQ.js.br +0 -0
- package/dist/hotel.js +307 -305
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DbzRiqiK.js → masonry.plugin-BPhhJrT1.js} +7 -7
- package/dist/masonry.plugin-BPhhJrT1.js.br +0 -0
- package/dist/{mitt-BGszhQ2P.js → mitt-BvlSsOyy.js} +3570 -3619
- package/dist/mitt-BvlSsOyy.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-Csy5Jdgv.js → style-CYxgAqoT.js} +2 -2
- package/dist/style-CYxgAqoT.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +11 -11
- package/dist/ActionField-C7lWLc8e.js.br +0 -0
- package/dist/AvailabilitySkeleton-dwmEvgDZ.js +0 -321
- package/dist/AvailabilitySkeleton-dwmEvgDZ.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js.br +0 -0
- package/dist/CheckoutWindow-CGSJxkWB.js.br +0 -0
- package/dist/ErrorMessage-HrnuoiPk.js.br +0 -0
- package/dist/EventAvailabilityForm-CoCMi3LO.js.br +0 -0
- package/dist/Field-EJv450KD.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js.br +0 -0
- package/dist/_-kDfMKlCV.js +0 -5
- package/dist/giftCard-CpohNznT.js.br +0 -0
- package/dist/masonry.plugin-DbzRiqiK.js.br +0 -0
- package/dist/mitt-BGszhQ2P.js.br +0 -0
- package/dist/style-Csy5Jdgv.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as ee, u as se, s as Z, r as ie, a as d, b as D, y as ro, i as e, w as
|
|
2
|
-
import { g as ve, b as ye, u as
|
|
3
|
-
import { G as
|
|
4
|
-
import { R as Po, B as Ue, L as Ao, S as Ho, M as Do, b as Qe, C as So, T as Io, V as No, a as Mo } from "./masonry.plugin-
|
|
5
|
-
import { A as Ro, H as Bo } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as Lo } from "./TermsOfService-
|
|
7
|
-
import { C as
|
|
8
|
-
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
9
|
-
const Fo = { key: 0 },
|
|
1
|
+
import { d as ee, u as se, s as Z, r as ie, a as d, b as D, y as ro, i as e, w as C, g as h, e as s, t as m, G as De, H as Je, f as y, j as T, z as j, F, v as ze, B as et, A as q, h as Tt, E as uo, K as co, c as K, o as it, C as Ne, n as Me, S as po, L as mo, M as fo, N as ho, k as vo, l as yo, m as ko, p as go, q as bo } from "./mitt-BvlSsOyy.js";
|
|
2
|
+
import { g as ve, b as ye, u as $e, I as W, s as oe, z as we, l as Ye, m as pe, j as ne, _ as fe, c as Le, A as wt, f as tt, d as me, B as Ct, a as $t, D as mt, T as ue, r as _o, E as Vo, C as To, k as ft, n as wo, o as ht, p as Co } from "./SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js";
|
|
3
|
+
import { G as $o } from "./style-CYxgAqoT.js";
|
|
4
|
+
import { R as Po, B as Ue, L as Ao, S as Ho, M as Do, b as Qe, C as So, T as Io, V as No, a as Mo } from "./masonry.plugin-BPhhJrT1.js";
|
|
5
|
+
import { A as Ro, H as Bo } from "./AvailabilitySkeleton-B2wU57Y_.js";
|
|
6
|
+
import { S as Lo } from "./TermsOfService-CNi3QNyf.js";
|
|
7
|
+
import { C as Ce, B as Uo, P as Eo, a as Oo } from "./CheckoutWindow-BW2LLOP1.js";
|
|
8
|
+
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js";
|
|
9
|
+
const Fo = { key: 0 }, Go = { class: "konnectio-hotel-reservation-warning" }, qo = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" };
|
|
10
10
|
const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnectio-reservation-actions" }, zo = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "konnectio-newsletter-signup"
|
|
@@ -31,56 +31,56 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
31
31
|
totalPrice: u,
|
|
32
32
|
areListingsLoading: v,
|
|
33
33
|
getSelectedPackageRoom: f,
|
|
34
|
-
selectedPackage:
|
|
34
|
+
selectedPackage: k,
|
|
35
35
|
discountVouchers: w,
|
|
36
36
|
currentArrivalDate: P,
|
|
37
|
-
currentDepartureDate:
|
|
37
|
+
currentDepartureDate: $,
|
|
38
38
|
datesMismatch: R,
|
|
39
39
|
currentLocation: L,
|
|
40
40
|
locationMismatch: I,
|
|
41
41
|
newsMails: _,
|
|
42
42
|
termsOfService: H,
|
|
43
43
|
discountCode: S,
|
|
44
|
-
hasTermOfService:
|
|
44
|
+
hasTermOfService: z,
|
|
45
45
|
acceptTerms: U,
|
|
46
|
-
totalTemplateAddonPrice:
|
|
47
|
-
totalRooms:
|
|
46
|
+
totalTemplateAddonPrice: Y,
|
|
47
|
+
totalRooms: G,
|
|
48
48
|
totalAdults: le,
|
|
49
49
|
totalChildren: ae,
|
|
50
50
|
templateRoomTotalPrice: x,
|
|
51
|
-
weekendFee:
|
|
52
|
-
} = Z(ye()), { hasHotelLocations: be } = Z(
|
|
53
|
-
function
|
|
51
|
+
weekendFee: ge
|
|
52
|
+
} = Z(ye()), { hasHotelLocations: be } = Z($e()), { removeRoom: Pe, validateDiscountCode: Ee } = ye(), { getHotelLocationName: Oe } = $e(), _e = ie(!1);
|
|
53
|
+
function Ve(Q) {
|
|
54
54
|
return Q.reduce((he, { totalPrice: B }) => he + B, 0);
|
|
55
55
|
}
|
|
56
56
|
return (Q, E) => {
|
|
57
57
|
const he = co("tooltip");
|
|
58
58
|
return d(), D(Po, {
|
|
59
59
|
"discount-code": e(S),
|
|
60
|
-
"onUpdate:discountCode": E[4] || (E[4] = (B) =>
|
|
60
|
+
"onUpdate:discountCode": E[4] || (E[4] = (B) => q(S) ? S.value = B : null),
|
|
61
61
|
"validate-discount-code": e(Ee),
|
|
62
62
|
"total-price": e(u),
|
|
63
|
-
"weekend-fee": e(
|
|
63
|
+
"weekend-fee": e(ge),
|
|
64
64
|
"show-gift-card": Q.showGiftCard,
|
|
65
65
|
"show-terms-notice": Q.showTermsNotice,
|
|
66
66
|
"is-sidebar-loading": e(v),
|
|
67
67
|
notice: e(t)("hotel.reservationNotice"),
|
|
68
68
|
"prev-callback": Q.prevCallback
|
|
69
69
|
}, ro({
|
|
70
|
-
form:
|
|
70
|
+
form: C(() => [
|
|
71
71
|
ze(Q.$slots, "form", {}, void 0, !0)
|
|
72
72
|
]),
|
|
73
|
-
"price-summary":
|
|
73
|
+
"price-summary": C(() => [
|
|
74
74
|
isNaN(e(c)) && e(p).length > 0 ? (d(!0), h(F, { key: 0 }, j(e(p), ({
|
|
75
75
|
roomGroupID: B,
|
|
76
76
|
title: Fe,
|
|
77
|
-
variants:
|
|
77
|
+
variants: Ge
|
|
78
78
|
}) => (d(), h("div", { key: B }, [
|
|
79
79
|
s("h6", null, [
|
|
80
80
|
s("span", null, m(Fe), 1)
|
|
81
81
|
]),
|
|
82
|
-
(d(!0), h(F, null, j(
|
|
83
|
-
(d(!0), h(F, null, j(Ae.rooms, (re,
|
|
82
|
+
(d(!0), h(F, null, j(Ge, (Ae, qe) => (d(), h("div", { key: qe }, [
|
|
83
|
+
(d(!0), h(F, null, j(Ae.rooms, (re, Te) => (d(), h("ul", { key: Te }, [
|
|
84
84
|
s("li", null, [
|
|
85
85
|
s("span", null, [
|
|
86
86
|
s("span", null, [
|
|
@@ -98,25 +98,25 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
98
98
|
color: "font"
|
|
99
99
|
}),
|
|
100
100
|
s("span", null, m(re.childrenCount), 1)
|
|
101
|
-
], 64)) :
|
|
101
|
+
], 64)) : T("", !0),
|
|
102
102
|
E[5] || (E[5] = et(") "))
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
105
|
s("b", null, [
|
|
106
106
|
s("span", null, m(e(ne)(re.totalPrice, e(o))), 1),
|
|
107
|
-
|
|
107
|
+
T("", !0)
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
110
|
-
|
|
110
|
+
Ve(re.roomAddons) > 0 ? (d(), h("li", xo, [
|
|
111
111
|
s("span", null, m(e(t)("general.addons")), 1),
|
|
112
|
-
s("b", null, m(e(ne)(
|
|
113
|
-
])) :
|
|
112
|
+
s("b", null, m(e(ne)(Ve(re.roomAddons), e(o))), 1)
|
|
113
|
+
])) : T("", !0)
|
|
114
114
|
]))), 128))
|
|
115
115
|
]))), 128))
|
|
116
|
-
]))), 128)) :
|
|
117
|
-
e(f) && e(
|
|
116
|
+
]))), 128)) : T("", !0),
|
|
117
|
+
e(f) && e(k) ? (d(), h("div", Wo, [
|
|
118
118
|
s("h6", null, [
|
|
119
|
-
s("span", null, m(e(pe)(e(
|
|
119
|
+
s("span", null, m(e(pe)(e(k).name)), 1)
|
|
120
120
|
]),
|
|
121
121
|
s("div", null, [
|
|
122
122
|
s("ul", null, [
|
|
@@ -128,42 +128,42 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
128
128
|
s("span", null, m(e(ne)(e(x), e(o))), 1)
|
|
129
129
|
])
|
|
130
130
|
]),
|
|
131
|
-
e(
|
|
131
|
+
e(Y) ? (d(), h("li", Ko, [
|
|
132
132
|
s("span", null, m(e(t)("general.addons")), 1),
|
|
133
|
-
s("b", null, m(e(ne)(e(
|
|
134
|
-
])) :
|
|
133
|
+
s("b", null, m(e(ne)(e(Y), e(o))), 1)
|
|
134
|
+
])) : T("", !0)
|
|
135
135
|
])
|
|
136
136
|
])
|
|
137
|
-
])) :
|
|
137
|
+
])) : T("", !0)
|
|
138
138
|
]),
|
|
139
|
-
actions:
|
|
139
|
+
actions: C(() => [
|
|
140
140
|
s("ul", Jo, [
|
|
141
|
-
e(n) ?
|
|
142
|
-
y(
|
|
141
|
+
e(n) ? T("", !0) : (d(), h("div", zo, [
|
|
142
|
+
y(Ce, {
|
|
143
143
|
modelValue: e(_),
|
|
144
|
-
"onUpdate:modelValue": E[0] || (E[0] = (B) =>
|
|
144
|
+
"onUpdate:modelValue": E[0] || (E[0] = (B) => q(_) ? _.value = B : null),
|
|
145
145
|
type: "checkbox",
|
|
146
146
|
name: "newsletter",
|
|
147
147
|
label: e(t)("booking.reservation.newsletterSignUp")
|
|
148
148
|
}, null, 8, ["modelValue", "label"])
|
|
149
149
|
])),
|
|
150
|
-
e(
|
|
150
|
+
e(z) ? (d(), D(Ce, {
|
|
151
151
|
key: 1,
|
|
152
152
|
modelValue: e(U),
|
|
153
|
-
"onUpdate:modelValue": E[2] || (E[2] = (B) =>
|
|
153
|
+
"onUpdate:modelValue": E[2] || (E[2] = (B) => q(U) ? U.value = B : null),
|
|
154
154
|
type: "checkbox",
|
|
155
155
|
name: "terms"
|
|
156
156
|
}, {
|
|
157
|
-
default:
|
|
157
|
+
default: C(() => [
|
|
158
158
|
y(e(uo), {
|
|
159
159
|
keypath: "general.termsAndConditionsCheckbox",
|
|
160
160
|
tag: "span",
|
|
161
161
|
scope: "global"
|
|
162
162
|
}, {
|
|
163
|
-
terms:
|
|
163
|
+
terms: C(() => [
|
|
164
164
|
s("a", {
|
|
165
165
|
class: "konnectio-accept-terms-link",
|
|
166
|
-
onClick: E[1] || (E[1] =
|
|
166
|
+
onClick: E[1] || (E[1] = Tt((B) => _e.value = !0, ["prevent"]))
|
|
167
167
|
}, [
|
|
168
168
|
s("span", null, m(e(Ye)(e(t)("general.termsAndConditions"))), 1)
|
|
169
169
|
])
|
|
@@ -172,7 +172,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
172
172
|
})
|
|
173
173
|
]),
|
|
174
174
|
_: 1
|
|
175
|
-
}, 8, ["modelValue"])) :
|
|
175
|
+
}, 8, ["modelValue"])) : T("", !0),
|
|
176
176
|
ze(Q.$slots, "actions", {}, void 0, !0),
|
|
177
177
|
y(Lo, {
|
|
178
178
|
modelValue: _e.value,
|
|
@@ -181,12 +181,12 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
181
181
|
}, null, 8, ["modelValue", "description"])
|
|
182
182
|
])
|
|
183
183
|
]),
|
|
184
|
-
navigation:
|
|
184
|
+
navigation: C(() => [
|
|
185
185
|
ze(Q.$slots, "navigation", {}, void 0, !0)
|
|
186
186
|
]),
|
|
187
|
-
"mobile-under-price":
|
|
187
|
+
"mobile-under-price": C(() => [
|
|
188
188
|
E[6] || (E[6] = s("span", null, "For ", -1)),
|
|
189
|
-
s("b", null, m(e(we)(e(P), e(
|
|
189
|
+
s("b", null, m(e(we)(e(P), e($))) + " " + m(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
|
|
190
190
|
De((d(), h("span", Yo, [
|
|
191
191
|
y(W, {
|
|
192
192
|
icon: "circle-info",
|
|
@@ -194,27 +194,27 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
194
194
|
})
|
|
195
195
|
])), [
|
|
196
196
|
[he, {
|
|
197
|
-
content: `<span>(${e(oe)(e(P))} - ${e(oe)(e(
|
|
197
|
+
content: `<span>(${e(oe)(e(P))} - ${e(oe)(e($))})</span>`,
|
|
198
198
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
199
199
|
html: !0
|
|
200
200
|
}]
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
|
-
"mobile-summary":
|
|
203
|
+
"mobile-summary": C(() => [
|
|
204
204
|
s("span", null, m(`${e(le)} ${e(le) === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1),
|
|
205
205
|
s("span", null, m(`${e(ae)} ${e(ae) === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1),
|
|
206
|
-
s("span", null, m(`${e(
|
|
206
|
+
s("span", null, m(`${e(G)} ${e(G) === 1 ? e(t)("booking.reservation.room") : e(t)("booking.reservation.rooms")}`), 1)
|
|
207
207
|
]),
|
|
208
208
|
_: 2
|
|
209
209
|
}, [
|
|
210
210
|
isNaN(e(L)) ? void 0 : {
|
|
211
211
|
name: "reservation-summary",
|
|
212
|
-
fn:
|
|
212
|
+
fn: C(() => [
|
|
213
213
|
e(be) ? (d(), h("li", Fo, [
|
|
214
214
|
s("span", null, m(e(t)("general.location")), 1),
|
|
215
215
|
s("b", null, [
|
|
216
216
|
s("span", null, m(e(Oe)(e(L))), 1),
|
|
217
|
-
De(s("span",
|
|
217
|
+
De(s("span", Go, [
|
|
218
218
|
y(W, {
|
|
219
219
|
icon: "exclamation-triangle",
|
|
220
220
|
type: "fas"
|
|
@@ -223,12 +223,12 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
223
223
|
[Je, e(I)]
|
|
224
224
|
])
|
|
225
225
|
])
|
|
226
|
-
])) :
|
|
226
|
+
])) : T("", !0),
|
|
227
227
|
s("li", null, [
|
|
228
228
|
s("span", null, m(e(t)("booking.reservation.arrival")), 1),
|
|
229
229
|
s("b", null, [
|
|
230
230
|
s("span", null, m(e(a)(e(L)) ? `${e(oe)(e(P))}, ${e(i)}` : e(oe)(e(P))), 1),
|
|
231
|
-
De(s("span",
|
|
231
|
+
De(s("span", qo, [
|
|
232
232
|
y(W, {
|
|
233
233
|
icon: "exclamation-triangle",
|
|
234
234
|
type: "fas"
|
|
@@ -241,7 +241,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
241
241
|
s("li", null, [
|
|
242
242
|
s("span", null, m(e(t)("booking.reservation.departure")), 1),
|
|
243
243
|
s("b", null, [
|
|
244
|
-
s("span", null, m(e(a)(e(L)) ? `${e(oe)(e(
|
|
244
|
+
s("span", null, m(e(a)(e(L)) ? `${e(oe)(e($))}, ${e(r)}` : e(oe)(e($))), 1),
|
|
245
245
|
De(s("span", jo, [
|
|
246
246
|
y(W, {
|
|
247
247
|
icon: "exclamation-triangle",
|
|
@@ -254,14 +254,14 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
254
254
|
]),
|
|
255
255
|
s("li", null, [
|
|
256
256
|
s("span", null, m(e(t)("booking.reservation.nights")), 1),
|
|
257
|
-
s("b", null, m(e(we)(e(P), e(
|
|
257
|
+
s("b", null, m(e(we)(e(P), e($))) + " " + m(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
|
|
258
258
|
]),
|
|
259
259
|
e(w) ? (d(!0), h(F, { key: 1 }, j(e(w), (B) => (d(), h("li", {
|
|
260
260
|
key: B.id
|
|
261
261
|
}, [
|
|
262
262
|
s("span", null, m(`${e(t)("general.discountCode")} (${B.value})`), 1),
|
|
263
263
|
s("b", null, m(B.key), 1)
|
|
264
|
-
]))), 128)) :
|
|
264
|
+
]))), 128)) : T("", !0)
|
|
265
265
|
]),
|
|
266
266
|
key: "0"
|
|
267
267
|
}
|
|
@@ -300,7 +300,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
300
300
|
required: c.required,
|
|
301
301
|
searchable: !1
|
|
302
302
|
}, {
|
|
303
|
-
option:
|
|
303
|
+
option: C(({ data: v }) => [
|
|
304
304
|
s("span", Xo, [
|
|
305
305
|
s("div", null, [
|
|
306
306
|
y(W, {
|
|
@@ -316,22 +316,22 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
316
316
|
color: "font"
|
|
317
317
|
}),
|
|
318
318
|
s("span", null, m(`${v.children}`), 1)
|
|
319
|
-
])) :
|
|
319
|
+
])) : T("", !0)
|
|
320
320
|
]),
|
|
321
321
|
s("span", null, m(`(${e(ne)(v.price, e(o))})`), 1)
|
|
322
322
|
])
|
|
323
323
|
]),
|
|
324
|
-
"selected-option":
|
|
324
|
+
"selected-option": C(({ data: v }) => [
|
|
325
325
|
s("div", en, [
|
|
326
326
|
s("div", tn, [
|
|
327
327
|
s("div", null, [
|
|
328
|
-
|
|
328
|
+
T("", !0),
|
|
329
329
|
s("span", null, m(`${v.adults} ${v.adults === 1 ? e(n)("general.adult") : e(n)("general.adults")}`), 1)
|
|
330
330
|
]),
|
|
331
331
|
v.children > 0 ? (d(), h("div", on, [
|
|
332
|
-
|
|
332
|
+
T("", !0),
|
|
333
333
|
s("span", null, m(`& ${v.children} ${v.children === 1 ? e(n)("general.child") : e(n)("general.children")}`), 1)
|
|
334
|
-
])) :
|
|
334
|
+
])) : T("", !0)
|
|
335
335
|
]),
|
|
336
336
|
s("div", nn, [
|
|
337
337
|
u[1] || (u[1] = s("span", null, null, -1)),
|
|
@@ -361,18 +361,18 @@ const cn = /* @__PURE__ */ ee({
|
|
|
361
361
|
const i = K(() => n.room.rates.map((_) => ({
|
|
362
362
|
label: _.name,
|
|
363
363
|
value: _.id
|
|
364
|
-
}))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = Z(ve()), { roomSelect: c } = Z(ye()), { addToCart: u, removeFromCart: v } = wt(), f = (_, H) => n.room.rates.find((S) => S.id === _)?.occupantRates.find((S) => S.index === H),
|
|
364
|
+
}))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = Z(ve()), { roomSelect: c } = Z(ye()), { addToCart: u, removeFromCart: v } = wt(), f = (_, H) => n.room.rates.find((S) => S.id === _)?.occupantRates.find((S) => S.index === H), k = K(() => n.room.rates.every((_) => _.isBreakfastIncluded === !0)), w = (_, H) => f(_, H) ? f(_, H)?.rooms : null, P = (_) => n.room.rates.length > 0 ? n.room.rates.find((H) => H.id === _)?.occupantRates.map((H) => ({
|
|
365
365
|
value: H.index,
|
|
366
366
|
price: H.totalPrice,
|
|
367
367
|
adults: H.adultsCount,
|
|
368
368
|
children: H.childrenCount,
|
|
369
369
|
hasBreakfast: H.hasBreakfast
|
|
370
|
-
})) || [] : [],
|
|
370
|
+
})) || [] : [], $ = K(() => n.room.rates.length > 1);
|
|
371
371
|
function R(_, H) {
|
|
372
372
|
o.value[_].config[0].id = n.room.rates.find((S) => S.id === H.value)?.occupantRateIndex || NaN;
|
|
373
373
|
}
|
|
374
374
|
function L() {
|
|
375
|
-
|
|
375
|
+
$.value ? p.value ? o.value.push({
|
|
376
376
|
id: n.room.bestRateMatch || void 0,
|
|
377
377
|
config: [{
|
|
378
378
|
id: n.room.bestRateMatch && !isNaN(n.room.bestRateMatch) ? n.room.rates.find((_) => _.id === n.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -400,17 +400,17 @@ const cn = /* @__PURE__ */ ee({
|
|
|
400
400
|
});
|
|
401
401
|
const I = K(() => JSON.parse(JSON.stringify(o.value)));
|
|
402
402
|
return Ne(I, (_, H) => {
|
|
403
|
-
H.length > 0 && _.forEach((S,
|
|
404
|
-
S.config.forEach((U,
|
|
405
|
-
const
|
|
406
|
-
|
|
403
|
+
H.length > 0 && _.forEach((S, z) => {
|
|
404
|
+
S.config.forEach((U, Y) => {
|
|
405
|
+
const G = U.units, le = H[z].config[Y].units;
|
|
406
|
+
G !== le && (G > le ? (o.value[z].config[Y].addons.push({}), u({
|
|
407
407
|
id: n.room.id,
|
|
408
408
|
name: n.room.title,
|
|
409
|
-
value: n.room.rates[
|
|
410
|
-
})) : (o.value[
|
|
409
|
+
value: n.room.rates[z].rackRate
|
|
410
|
+
})) : (o.value[z].config[Y].addons.pop(), v({
|
|
411
411
|
id: n.room.id,
|
|
412
412
|
name: n.room.title,
|
|
413
|
-
value: n.room.rates[
|
|
413
|
+
value: n.room.rates[z].rackRate
|
|
414
414
|
})));
|
|
415
415
|
});
|
|
416
416
|
});
|
|
@@ -425,15 +425,15 @@ const cn = /* @__PURE__ */ ee({
|
|
|
425
425
|
layout: _.layout,
|
|
426
426
|
facilities: _.room.facilities,
|
|
427
427
|
"prices-from": _.room.pricesFrom,
|
|
428
|
-
"includes-breakfast":
|
|
428
|
+
"includes-breakfast": k.value
|
|
429
429
|
}, {
|
|
430
|
-
action:
|
|
430
|
+
action: C(() => [
|
|
431
431
|
s("div", sn, [
|
|
432
|
-
(d(!0), h(F, null, j(o.value, (S,
|
|
432
|
+
(d(!0), h(F, null, j(o.value, (S, z) => (d(), h("div", {
|
|
433
433
|
key: S.id,
|
|
434
434
|
class: "konnectio-hotel-room"
|
|
435
435
|
}, [
|
|
436
|
-
|
|
436
|
+
$.value ? (d(), D(Le, {
|
|
437
437
|
key: 0,
|
|
438
438
|
modelValue: S.id,
|
|
439
439
|
"onUpdate:modelValue": (U) => S.id = U,
|
|
@@ -441,49 +441,49 @@ const cn = /* @__PURE__ */ ee({
|
|
|
441
441
|
placeholder: e(t)("hotel.chooseARoomVariant"),
|
|
442
442
|
options: i.value,
|
|
443
443
|
searchable: !1,
|
|
444
|
-
onChanged: (U) => R(
|
|
445
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) :
|
|
444
|
+
onChanged: (U) => R(z, U)
|
|
445
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : T("", !0),
|
|
446
446
|
S.id ? (d(), h("div", rn, [
|
|
447
447
|
(d(!0), h(F, null, j(_.room.rates, ({
|
|
448
448
|
id: U,
|
|
449
|
-
maximumOccupants:
|
|
449
|
+
maximumOccupants: Y
|
|
450
450
|
}) => (d(), h("div", {
|
|
451
451
|
key: U,
|
|
452
452
|
class: "konnectio-listing-action-selective-i"
|
|
453
453
|
}, [
|
|
454
|
-
S.id === U ? (d(!0), h(F, { key: 0 }, j(S.config, (
|
|
454
|
+
S.id === U ? (d(!0), h(F, { key: 0 }, j(S.config, (G, le) => (d(), h("div", {
|
|
455
455
|
key: le,
|
|
456
456
|
class: "konnectio-listing-action-selective"
|
|
457
457
|
}, [
|
|
458
458
|
s("ul", dn, [
|
|
459
459
|
y(an, {
|
|
460
|
-
modelValue:
|
|
461
|
-
"onUpdate:modelValue": (ae) =>
|
|
460
|
+
modelValue: G.id,
|
|
461
|
+
"onUpdate:modelValue": (ae) => G.id = ae,
|
|
462
462
|
icon: "male",
|
|
463
463
|
"icon-type": "fas",
|
|
464
464
|
label: e(t)("general.guests"),
|
|
465
|
-
description:
|
|
465
|
+
description: Y === 0 ? void 0 : `${e(t)("general.maximumGuests")}: ${Y}`,
|
|
466
466
|
options: P(U),
|
|
467
467
|
readonly: !(P(U).length > 1)
|
|
468
468
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
469
469
|
]),
|
|
470
470
|
s("ul", un, [
|
|
471
471
|
y(tt, {
|
|
472
|
-
modelValue:
|
|
473
|
-
"onUpdate:modelValue": (ae) =>
|
|
474
|
-
description: e(r) ? void 0 : `${e(t)("booking.availability.availableUnits")}: ${w(S.id,
|
|
472
|
+
modelValue: G.units,
|
|
473
|
+
"onUpdate:modelValue": (ae) => G.units = ae,
|
|
474
|
+
description: e(r) ? void 0 : `${e(t)("booking.availability.availableUnits")}: ${w(S.id, G.id)}`,
|
|
475
475
|
icon: "house",
|
|
476
476
|
"icon-type": "fas",
|
|
477
477
|
"icon-placement": "label",
|
|
478
478
|
label: e(t)("booking.availability.units"),
|
|
479
479
|
minValue: 0,
|
|
480
|
-
"max-value": w(U,
|
|
480
|
+
"max-value": w(U, G.id) || 1 / 0
|
|
481
481
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
482
482
|
]),
|
|
483
|
-
|
|
484
|
-
]))), 128)) :
|
|
483
|
+
T("", !0)
|
|
484
|
+
]))), 128)) : T("", !0)
|
|
485
485
|
]))), 128))
|
|
486
|
-
])) :
|
|
486
|
+
])) : T("", !0)
|
|
487
487
|
]))), 128))
|
|
488
488
|
])
|
|
489
489
|
]),
|
|
@@ -501,8 +501,8 @@ const cn = /* @__PURE__ */ ee({
|
|
|
501
501
|
},
|
|
502
502
|
setup(l) {
|
|
503
503
|
const { t } = se(), { templateID: n, roomGroupID: o, selectionHasNoAddons: a } = Z(ye()), { currency: i } = Z(ve()), { clearRoomSelection: r } = ye(), p = l, c = ie(!0), u = K(() => {
|
|
504
|
-
function f(
|
|
505
|
-
return c.value === !0 ?
|
|
504
|
+
function f(k, w) {
|
|
505
|
+
return c.value === !0 ? k.extraPrice > w.extraPrice ? -1 : 1 : k.extraPrice > w.extraPrice ? 1 : -1;
|
|
506
506
|
}
|
|
507
507
|
return p.roomGroups?.slice().sort(f);
|
|
508
508
|
});
|
|
@@ -513,17 +513,17 @@ const cn = /* @__PURE__ */ ee({
|
|
|
513
513
|
}
|
|
514
514
|
p.callback(2);
|
|
515
515
|
}
|
|
516
|
-
return (f,
|
|
516
|
+
return (f, k) => (d(), D(Uo, {
|
|
517
517
|
title: f.title,
|
|
518
518
|
subtitle: e(t)("booking.availability.selectATemplateRoom")
|
|
519
519
|
}, {
|
|
520
|
-
default:
|
|
520
|
+
default: C(() => [
|
|
521
521
|
s("div", mn, [
|
|
522
522
|
s("div", fn, [
|
|
523
523
|
(d(!0), h(F, null, j(u.value, ({
|
|
524
524
|
id: w,
|
|
525
525
|
title: P,
|
|
526
|
-
description:
|
|
526
|
+
description: $,
|
|
527
527
|
images: R,
|
|
528
528
|
facilities: L,
|
|
529
529
|
extraPrice: I
|
|
@@ -532,13 +532,13 @@ const cn = /* @__PURE__ */ ee({
|
|
|
532
532
|
key: w,
|
|
533
533
|
"listing-id": w,
|
|
534
534
|
name: P,
|
|
535
|
-
description:
|
|
535
|
+
description: $,
|
|
536
536
|
facilities: L,
|
|
537
537
|
gallery: R,
|
|
538
538
|
"includes-breakfast": !1,
|
|
539
539
|
"hide-info-button": !0
|
|
540
540
|
}, {
|
|
541
|
-
action:
|
|
541
|
+
action: C(() => [
|
|
542
542
|
s("div", null, [
|
|
543
543
|
y(me, {
|
|
544
544
|
onClickEvent: (_) => v(w),
|
|
@@ -555,7 +555,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
555
555
|
_: 1
|
|
556
556
|
}, 8, ["title", "subtitle"]));
|
|
557
557
|
}
|
|
558
|
-
}), vn = /* @__PURE__ */ fe(hn, [["__scopeId", "data-v-d65a8a63"]]), yn = { class: "konnectio-template-select-package" },
|
|
558
|
+
}), vn = /* @__PURE__ */ fe(hn, [["__scopeId", "data-v-d65a8a63"]]), yn = { class: "konnectio-template-select-package" }, kn = /* @__PURE__ */ ee({
|
|
559
559
|
__name: "Template",
|
|
560
560
|
props: {
|
|
561
561
|
id: {},
|
|
@@ -592,12 +592,12 @@ const cn = /* @__PURE__ */ ee({
|
|
|
592
592
|
name: c.name,
|
|
593
593
|
description: c.description,
|
|
594
594
|
gallery: a.value,
|
|
595
|
-
layout: e(
|
|
595
|
+
layout: e(Ct).Template,
|
|
596
596
|
"includes-breakfast": !1,
|
|
597
597
|
"hide-info-button": !1,
|
|
598
598
|
"prices-from": o.value
|
|
599
599
|
}, {
|
|
600
|
-
action:
|
|
600
|
+
action: C(() => [
|
|
601
601
|
s("div", yn, [
|
|
602
602
|
y(me, {
|
|
603
603
|
onClickEvent: r,
|
|
@@ -606,7 +606,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
606
606
|
}, null, 8, ["label"])
|
|
607
607
|
])
|
|
608
608
|
]),
|
|
609
|
-
default:
|
|
609
|
+
default: C(() => [
|
|
610
610
|
y(vn, {
|
|
611
611
|
modelValue: i.value,
|
|
612
612
|
"onUpdate:modelValue": u[0] || (u[0] = (v) => i.value = v),
|
|
@@ -620,7 +620,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
620
620
|
_: 1
|
|
621
621
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
622
622
|
}
|
|
623
|
-
}),
|
|
623
|
+
}), gn = { class: "konnectio-special-offer-availability" }, bn = { class: "konnectio-special-offer-availability-button" }, _n = /* @__PURE__ */ ee({
|
|
624
624
|
__name: "SpecialOffer",
|
|
625
625
|
props: {
|
|
626
626
|
id: {},
|
|
@@ -633,7 +633,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
633
633
|
roomGroups: {}
|
|
634
634
|
},
|
|
635
635
|
setup(l) {
|
|
636
|
-
const { t } = se(), { updateDates: n } =
|
|
636
|
+
const { t } = se(), { updateDates: n } = $e(), { display: o } = $t(), a = l, i = ie([]), r = K(() => we(a.fromDate, a.toDate) === 1), p = K(() => [{
|
|
637
637
|
large: a.image.url,
|
|
638
638
|
medium: a.image.url,
|
|
639
639
|
thumb: a.image.url,
|
|
@@ -653,14 +653,14 @@ const cn = /* @__PURE__ */ ee({
|
|
|
653
653
|
name: u.name,
|
|
654
654
|
description: u.description,
|
|
655
655
|
gallery: p.value,
|
|
656
|
-
layout: e(
|
|
656
|
+
layout: e(Ct).Template,
|
|
657
657
|
"includes-breakfast": !1,
|
|
658
658
|
"hide-info-button": !1,
|
|
659
659
|
"to-date": u.toDate,
|
|
660
660
|
"from-date": u.fromDate
|
|
661
661
|
}, {
|
|
662
|
-
action:
|
|
663
|
-
s("div",
|
|
662
|
+
action: C(() => [
|
|
663
|
+
s("div", gn, [
|
|
664
664
|
y(Pt, {
|
|
665
665
|
modelValue: i.value,
|
|
666
666
|
"onUpdate:modelValue": v[0] || (v[0] = (f) => i.value = f),
|
|
@@ -678,7 +678,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
678
678
|
s("div", bn, [
|
|
679
679
|
y(me, {
|
|
680
680
|
label: e(t)("availability.buttonLabel"),
|
|
681
|
-
onClick:
|
|
681
|
+
onClick: Tt(c, ["prevent"])
|
|
682
682
|
}, null, 8, ["label"])
|
|
683
683
|
])
|
|
684
684
|
])
|
|
@@ -728,7 +728,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
728
728
|
"max-time": r.maxTime
|
|
729
729
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
730
730
|
}
|
|
731
|
-
}),
|
|
731
|
+
}), Vn = { style: { display: "flex", "align-items": "baseline" } }, Tn = /* @__PURE__ */ ee({
|
|
732
732
|
__name: "CountryField",
|
|
733
733
|
props: {
|
|
734
734
|
modelValue: {},
|
|
@@ -758,14 +758,14 @@ const cn = /* @__PURE__ */ ee({
|
|
|
758
758
|
options: p.options,
|
|
759
759
|
required: p.required
|
|
760
760
|
}, {
|
|
761
|
-
option:
|
|
761
|
+
option: C(({ data: u }) => [
|
|
762
762
|
s("i", {
|
|
763
763
|
class: Me(["konnectio-flag-icon", u.iso])
|
|
764
764
|
}, null, 2),
|
|
765
765
|
s("span", null, m(u.name), 1)
|
|
766
766
|
]),
|
|
767
|
-
"selected-option":
|
|
768
|
-
s("div",
|
|
767
|
+
"selected-option": C(({ data: u }) => [
|
|
768
|
+
s("div", Vn, [
|
|
769
769
|
s("i", {
|
|
770
770
|
class: Me(["konnectio-flag-icon", u.iso])
|
|
771
771
|
}, null, 2),
|
|
@@ -775,7 +775,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
775
775
|
_: 1
|
|
776
776
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
777
777
|
}
|
|
778
|
-
}), wn = /* @__PURE__ */ fe(
|
|
778
|
+
}), wn = /* @__PURE__ */ fe(Tn, [["__scopeId", "data-v-1462612d"]]), Cn = /* @__PURE__ */ ee({
|
|
779
779
|
__name: "NameField",
|
|
780
780
|
props: {
|
|
781
781
|
modelValue: {},
|
|
@@ -815,14 +815,14 @@ const cn = /* @__PURE__ */ ee({
|
|
|
815
815
|
readonly: u.readonly,
|
|
816
816
|
limit: u.limit
|
|
817
817
|
}, {
|
|
818
|
-
default:
|
|
818
|
+
default: C(() => [
|
|
819
819
|
s("div", {
|
|
820
820
|
class: Me([
|
|
821
821
|
"konnectio-name-input",
|
|
822
822
|
{ "no-title": u.excludeTitle }
|
|
823
823
|
])
|
|
824
824
|
}, [
|
|
825
|
-
u.excludeTitle ?
|
|
825
|
+
u.excludeTitle ? T("", !0) : (d(), D(Le, {
|
|
826
826
|
key: 0,
|
|
827
827
|
modelValue: r.value,
|
|
828
828
|
"onUpdate:modelValue": v[0] || (v[0] = (f) => r.value = f),
|
|
@@ -879,7 +879,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
879
879
|
_: 1
|
|
880
880
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
881
881
|
}
|
|
882
|
-
}),
|
|
882
|
+
}), $n = /* @__PURE__ */ fe(Cn, [["__scopeId", "data-v-7c44829d"]]), Pn = { class: "hotel-skeleton" }, An = { class: "hotel-skeleton-content" }, Hn = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ ee({
|
|
883
883
|
__name: "HotelSkeleton",
|
|
884
884
|
setup(l) {
|
|
885
885
|
return (t, n) => (d(), h("div", Pn, [
|
|
@@ -902,10 +902,10 @@ const Mn = { key: 1 }, Rn = { key: 0 }, Bn = {
|
|
|
902
902
|
}, Un = { id: "booking-availability-packages-wrapper" }, En = { key: 1 }, On = {
|
|
903
903
|
key: 0,
|
|
904
904
|
class: "konnectio-hotel-availability-title"
|
|
905
|
-
}, Fn = { id: "konnectio-listings" },
|
|
905
|
+
}, Fn = { id: "konnectio-listings" }, Gn = {
|
|
906
906
|
key: 2,
|
|
907
907
|
id: "booking-availability-packages"
|
|
908
|
-
},
|
|
908
|
+
}, qn = { class: "konnectio-hotel-availability-title" }, jn = { id: "booking-availability-packages-wrapper" }, xn = {
|
|
909
909
|
key: 3,
|
|
910
910
|
id: "booking-availability-no-listings",
|
|
911
911
|
class: "konnectio-panel"
|
|
@@ -932,12 +932,13 @@ const ol = { class: "konnectio-event-addons-price" }, nl = { key: 1 }, ll = { cl
|
|
|
932
932
|
const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konnectio-table-addons-option" }, ul = { class: "konnectio-panel" }, cl = { key: 0 }, pl = { key: 1 }, ml = {
|
|
933
933
|
key: 1,
|
|
934
934
|
class: "konnectio-show-on-mobile"
|
|
935
|
-
}, fl = { class: "konnectio-split-inputs" }
|
|
935
|
+
}, fl = { class: "konnectio-split-inputs" };
|
|
936
|
+
const hl = /* @__PURE__ */ ee({
|
|
936
937
|
name: "HotelLayout",
|
|
937
938
|
__name: "Hotel",
|
|
938
939
|
props: {
|
|
939
940
|
accessToken: {},
|
|
940
|
-
headerLayout: { default:
|
|
941
|
+
headerLayout: { default: Vo.Minimal },
|
|
941
942
|
onlyShow: { default: "everything" },
|
|
942
943
|
hideAddons: { default: "no" },
|
|
943
944
|
disableDefaultLocation: { default: "no" },
|
|
@@ -946,7 +947,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
946
947
|
styling: {}
|
|
947
948
|
},
|
|
948
949
|
setup(l) {
|
|
949
|
-
const t = mo(() => import("./_-
|
|
950
|
+
const t = mo(() => import("./_-DvjoqbLF.js")), n = l, { t: o } = se(), {
|
|
950
951
|
currentLocation: a,
|
|
951
952
|
templateID: i,
|
|
952
953
|
templateAddons: r,
|
|
@@ -955,40 +956,40 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
955
956
|
isPaymentLoading: u,
|
|
956
957
|
isReservationFormFilled: v,
|
|
957
958
|
travelingFor: f,
|
|
958
|
-
arrivalTime:
|
|
959
|
+
arrivalTime: k,
|
|
959
960
|
departureTime: w,
|
|
960
961
|
name: P,
|
|
961
|
-
nameTitle:
|
|
962
|
+
nameTitle: $,
|
|
962
963
|
email: R,
|
|
963
964
|
phone: L,
|
|
964
965
|
firmName: I,
|
|
965
966
|
postal: _,
|
|
966
967
|
city: H,
|
|
967
968
|
address: S,
|
|
968
|
-
country:
|
|
969
|
+
country: z,
|
|
969
970
|
remark: U,
|
|
970
|
-
allergies:
|
|
971
|
-
roomSelect:
|
|
971
|
+
allergies: Y,
|
|
972
|
+
roomSelect: G,
|
|
972
973
|
roomDisplay: le,
|
|
973
974
|
hasValidRoomSelection: ae,
|
|
974
975
|
availabilityData: x,
|
|
975
|
-
selectionHasNoAddons:
|
|
976
|
+
selectionHasNoAddons: ge,
|
|
976
977
|
isAvailabilityDataAvailable: be,
|
|
977
978
|
getSelectedPackageRoom: Pe,
|
|
978
979
|
selectedPackage: Ee,
|
|
979
980
|
isSearchOutdated: Oe,
|
|
980
981
|
currentChildren: _e,
|
|
981
|
-
isTemplateReservation:
|
|
982
|
+
isTemplateReservation: Ve,
|
|
982
983
|
newsMails: Q
|
|
983
984
|
} = Z(ye()), {
|
|
984
985
|
adults: E,
|
|
985
986
|
children: he,
|
|
986
987
|
location: B,
|
|
987
988
|
arrivalDate: Fe,
|
|
988
|
-
departureDate:
|
|
989
|
+
departureDate: Ge,
|
|
989
990
|
hasHotelLocations: Ae
|
|
990
|
-
} = Z(
|
|
991
|
-
currency:
|
|
991
|
+
} = Z($e()), { isValidHotelId: qe, updateDates: re } = $e(), {
|
|
992
|
+
currency: Te,
|
|
992
993
|
enableTracking: st,
|
|
993
994
|
disableNamePrefix: Mt,
|
|
994
995
|
disableTravelingFor: Rt,
|
|
@@ -1001,14 +1002,14 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1001
1002
|
defaultChildAmount: Ot,
|
|
1002
1003
|
disableNewsletterSignup: Ft
|
|
1003
1004
|
} = Z(ve()), {
|
|
1004
|
-
hasArrivalDepartureInputs:
|
|
1005
|
+
hasArrivalDepartureInputs: Gt,
|
|
1005
1006
|
hasUserArrivalSelection: je,
|
|
1006
1007
|
hasUserDepartureSelection: xe,
|
|
1007
|
-
earliestArrivalTime:
|
|
1008
|
+
earliestArrivalTime: qt,
|
|
1008
1009
|
latestArrivalTime: jt,
|
|
1009
1010
|
earliestDepartureTime: xt,
|
|
1010
1011
|
latestDepartureTime: Wt
|
|
1011
|
-
} = ve(), { beginCheckout: Kt } = wt(), { display: He } =
|
|
1012
|
+
} = ve(), { beginCheckout: Kt } = wt(), { display: He } = $t(), {
|
|
1012
1013
|
resetTemplate: Jt,
|
|
1013
1014
|
resetDiscountVoucher: zt,
|
|
1014
1015
|
createReservation: Yt,
|
|
@@ -1057,16 +1058,16 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1057
1058
|
}), b;
|
|
1058
1059
|
}), to = K(() => {
|
|
1059
1060
|
const b = x.value.roomGroups.slice();
|
|
1060
|
-
function
|
|
1061
|
-
return Xt.value === !0 ?
|
|
1061
|
+
function V(J, A) {
|
|
1062
|
+
return Xt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
1062
1063
|
}
|
|
1063
|
-
return n.sortBy === "price" ? b.sort(
|
|
1064
|
-
}), We = K(() => n.hideAddons === "yes" ||
|
|
1064
|
+
return n.sortBy === "price" ? b.sort(V) : b;
|
|
1065
|
+
}), We = K(() => n.hideAddons === "yes" || Ve.value && n.hideAddons === "packages" || !Ve.value && n.hideAddons === "rooms");
|
|
1065
1066
|
function pt(b) {
|
|
1066
|
-
We.value ||
|
|
1067
|
+
We.value || ge.value ? b(2) : b(), zt();
|
|
1067
1068
|
}
|
|
1068
|
-
async function oo(b,
|
|
1069
|
-
await Yt(b,
|
|
1069
|
+
async function oo(b, V) {
|
|
1070
|
+
await Yt(b, V);
|
|
1070
1071
|
}
|
|
1071
1072
|
function no() {
|
|
1072
1073
|
if (isNaN(B.value) && Ae.value) {
|
|
@@ -1079,20 +1080,20 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1079
1080
|
ut();
|
|
1080
1081
|
}
|
|
1081
1082
|
function lo(b) {
|
|
1082
|
-
st.value && Kt(), We.value ||
|
|
1083
|
+
st.value && Kt(), We.value || ge.value ? b(2) : b();
|
|
1083
1084
|
}
|
|
1084
1085
|
function ao() {
|
|
1085
1086
|
const b = wo("history", {
|
|
1086
1087
|
removeNullishValues: !0
|
|
1087
|
-
}),
|
|
1088
|
+
}), V = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), N = parseInt(b.n), g = b.ci, O = b.co, M = b.id;
|
|
1088
1089
|
let te = !1;
|
|
1089
|
-
if (isNaN(
|
|
1090
|
+
if (isNaN(V) || (V > rt.value ? E.value = rt.value : E.value = V, E.value === Et.value && (b.a = void 0)), isNaN(J) || (J > dt.value ? he.value = dt.value : he.value = J, he.value === Ot.value && (b.c = void 0)), isNaN(N) || N > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, te = !0) : He({
|
|
1090
1091
|
message: o("alert.error.hotelIdNotFound"),
|
|
1091
1092
|
type: "error"
|
|
1092
|
-
})),
|
|
1093
|
-
if (ht(
|
|
1094
|
-
const
|
|
1095
|
-
|
|
1093
|
+
})), g && O)
|
|
1094
|
+
if (ht(g) && ht(O)) {
|
|
1095
|
+
const ke = new Date(g), de = new Date(O);
|
|
1096
|
+
ke <= de ? (Fe.value = ke, Ge.value = de) : (b.ci = void 0, b.co = void 0, He({
|
|
1096
1097
|
message: o("alert.error.invalidDateRange"),
|
|
1097
1098
|
type: "error"
|
|
1098
1099
|
}));
|
|
@@ -1104,24 +1105,24 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1104
1105
|
let X = null;
|
|
1105
1106
|
M && (X = M), n.disableDefaultLocation === "yes" && te === !1 ? (B.value = void 0, a.value = void 0) : ut(X);
|
|
1106
1107
|
}
|
|
1107
|
-
return (b,
|
|
1108
|
-
default:
|
|
1108
|
+
return (b, V) => (d(), D(To, { styling: b.styling }, {
|
|
1109
|
+
default: C(() => [
|
|
1109
1110
|
(d(), D(po, { onResolve: ao }, {
|
|
1110
|
-
default:
|
|
1111
|
+
default: C(() => [
|
|
1111
1112
|
y(e(t), {
|
|
1112
1113
|
id: "konnectio-hotel-module",
|
|
1113
1114
|
"access-token": b.accessToken,
|
|
1114
1115
|
callback: e(Qt)
|
|
1115
1116
|
}, {
|
|
1116
|
-
default:
|
|
1117
|
+
default: C(() => [
|
|
1117
1118
|
y(Do, {
|
|
1118
1119
|
layout: b.headerLayout,
|
|
1119
1120
|
steps: Zt.value,
|
|
1120
1121
|
onReset: e(Jt)
|
|
1121
1122
|
}, {
|
|
1122
|
-
availability:
|
|
1123
|
+
availability: C(({ next: J }) => [
|
|
1123
1124
|
y(Xe, null, {
|
|
1124
|
-
form:
|
|
1125
|
+
form: C(() => [
|
|
1125
1126
|
s("div", In, [
|
|
1126
1127
|
s("div", Nn, [
|
|
1127
1128
|
y(Bo, {
|
|
@@ -1130,7 +1131,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1130
1131
|
"disable-default-location": b.disableDefaultLocation === "yes"
|
|
1131
1132
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1132
1133
|
]),
|
|
1133
|
-
|
|
1134
|
+
T("", !0),
|
|
1134
1135
|
!e(c) && e(be) ? (d(), h("div", Mn, [
|
|
1135
1136
|
e(x).roomGroups.length > 0 || e(x).templates.length > 0 || e(x).specialTemplates.length > 0 ? (d(), h("div", Rn, [
|
|
1136
1137
|
e(x).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Bn, [
|
|
@@ -1141,28 +1142,28 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1141
1142
|
color: "header"
|
|
1142
1143
|
}),
|
|
1143
1144
|
s("span", null, m(e(o)("booking.availability.packagesTitle")), 1)
|
|
1144
|
-
])) :
|
|
1145
|
+
])) : T("", !0),
|
|
1145
1146
|
s("ul", Un, [
|
|
1146
1147
|
(d(!0), h(F, null, j(e(x).templates, ({
|
|
1147
1148
|
id: A,
|
|
1148
1149
|
name: N,
|
|
1149
|
-
templateRoomGroups:
|
|
1150
|
+
templateRoomGroups: g,
|
|
1150
1151
|
image: O,
|
|
1151
1152
|
description: M,
|
|
1152
1153
|
weekendFee: te
|
|
1153
|
-
}) => (d(), D(
|
|
1154
|
+
}) => (d(), D(kn, {
|
|
1154
1155
|
key: A,
|
|
1155
1156
|
id: A,
|
|
1156
1157
|
description: M,
|
|
1157
1158
|
name: N,
|
|
1158
1159
|
image: O,
|
|
1159
1160
|
weekendFee: te,
|
|
1160
|
-
"room-groups":
|
|
1161
|
-
callback:
|
|
1161
|
+
"room-groups": g,
|
|
1162
|
+
callback: J,
|
|
1162
1163
|
"hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
|
|
1163
1164
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1164
1165
|
])
|
|
1165
|
-
])) :
|
|
1166
|
+
])) : T("", !0),
|
|
1166
1167
|
e(x).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div", En, [
|
|
1167
1168
|
e(x).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2", On, [
|
|
1168
1169
|
y(W, {
|
|
@@ -1171,16 +1172,16 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1171
1172
|
color: "header"
|
|
1172
1173
|
}),
|
|
1173
1174
|
s("span", null, m(e(o)("booking.availability.roomsTitle")), 1)
|
|
1174
|
-
])) :
|
|
1175
|
+
])) : T("", !0),
|
|
1175
1176
|
s("ul", Fn, [
|
|
1176
1177
|
(d(!0), h(F, null, j(to.value, (A, N) => (d(), D(pn, {
|
|
1177
1178
|
room: A,
|
|
1178
1179
|
key: N
|
|
1179
1180
|
}, null, 8, ["room"]))), 128))
|
|
1180
1181
|
])
|
|
1181
|
-
])) :
|
|
1182
|
-
e(x).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div",
|
|
1183
|
-
s("h2",
|
|
1182
|
+
])) : T("", !0),
|
|
1183
|
+
e(x).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Gn, [
|
|
1184
|
+
s("h2", qn, [
|
|
1184
1185
|
y(W, {
|
|
1185
1186
|
icon: "sparkles",
|
|
1186
1187
|
type: "fal",
|
|
@@ -1192,12 +1193,12 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1192
1193
|
(d(!0), h(F, null, j(e(x).specialTemplates, ({
|
|
1193
1194
|
id: A,
|
|
1194
1195
|
name: N,
|
|
1195
|
-
templateRoomGroups:
|
|
1196
|
+
templateRoomGroups: g,
|
|
1196
1197
|
image: O,
|
|
1197
1198
|
description: M,
|
|
1198
1199
|
weekendFee: te,
|
|
1199
1200
|
fromDate: X,
|
|
1200
|
-
toDate:
|
|
1201
|
+
toDate: ke
|
|
1201
1202
|
}) => (d(), D(_n, {
|
|
1202
1203
|
key: A,
|
|
1203
1204
|
id: A,
|
|
@@ -1205,15 +1206,15 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1205
1206
|
name: N,
|
|
1206
1207
|
image: O,
|
|
1207
1208
|
fromDate: X,
|
|
1208
|
-
toDate:
|
|
1209
|
+
toDate: ke,
|
|
1209
1210
|
weekendFee: te,
|
|
1210
|
-
"room-groups":
|
|
1211
|
+
"room-groups": g
|
|
1211
1212
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
1212
1213
|
])
|
|
1213
|
-
])) :
|
|
1214
|
+
])) : T("", !0),
|
|
1214
1215
|
(e(x).templates.length === 0 && b.onlyShow !== "rooms" || e(x).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (d(), h("div", xn, [
|
|
1215
1216
|
s("span", null, m(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1216
|
-
])) :
|
|
1217
|
+
])) : T("", !0)
|
|
1217
1218
|
])) : e(x).nextAvailableDates.length === 0 ? (d(), h("div", Wn, [
|
|
1218
1219
|
s("span", null, m(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1219
1220
|
])) : (d(), h("div", Kn, [
|
|
@@ -1233,7 +1234,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1233
1234
|
s("span", null, m(`${e(oe)(A.fromDate, 0, !0)} - ${e(oe)(A.toDate, 0, !0)}`), 1)
|
|
1234
1235
|
], 8, Yn),
|
|
1235
1236
|
s("ul", null, [
|
|
1236
|
-
isNaN(A.roomCount) ?
|
|
1237
|
+
isNaN(A.roomCount) ? T("", !0) : (d(), h("li", Qn, [
|
|
1237
1238
|
y(W, {
|
|
1238
1239
|
icon: "house",
|
|
1239
1240
|
type: "fal",
|
|
@@ -1247,13 +1248,13 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1247
1248
|
type: "fal",
|
|
1248
1249
|
color: "header"
|
|
1249
1250
|
}),
|
|
1250
|
-
s("span", null, m(e(o)("booking.availability.pricesFrom")) + ": " + m(e(ne)(A.priceStartFrom, e(
|
|
1251
|
+
s("span", null, m(e(o)("booking.availability.pricesFrom")) + ": " + m(e(ne)(A.priceStartFrom, e(Te))) + " " + m(e(o)("general.perNight")), 1)
|
|
1251
1252
|
])
|
|
1252
1253
|
]),
|
|
1253
1254
|
y(me, {
|
|
1254
1255
|
label: e(o)("booking.availability.selectDates"),
|
|
1255
1256
|
"full-width": "",
|
|
1256
|
-
onClickEvent: (
|
|
1257
|
+
onClickEvent: (g) => e(re)(new Date(A.fromDate), new Date(A.toDate))
|
|
1257
1258
|
}, null, 8, ["label", "onClickEvent"])
|
|
1258
1259
|
]))), 128))
|
|
1259
1260
|
])
|
|
@@ -1267,30 +1268,30 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1267
1268
|
]))
|
|
1268
1269
|
])
|
|
1269
1270
|
]),
|
|
1270
|
-
navigation:
|
|
1271
|
+
navigation: C(() => [
|
|
1271
1272
|
e(Oe) ? (d(), D(me, {
|
|
1272
1273
|
key: 0,
|
|
1273
1274
|
label: isNaN(e(a)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1274
1275
|
"is-loading": e(c),
|
|
1275
1276
|
"full-width": "",
|
|
1276
|
-
onClickEvent:
|
|
1277
|
+
onClickEvent: V[1] || (V[1] = (A) => no())
|
|
1277
1278
|
}, null, 8, ["label", "is-loading"])) : (d(), D(me, {
|
|
1278
1279
|
key: 1,
|
|
1279
|
-
label: e(
|
|
1280
|
+
label: e(ge) || We.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1280
1281
|
disabled: !e(ae),
|
|
1281
1282
|
"full-width": "",
|
|
1282
|
-
onClickEvent: (A) => lo(
|
|
1283
|
+
onClickEvent: (A) => lo(J)
|
|
1283
1284
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
1284
1285
|
]),
|
|
1285
1286
|
_: 2
|
|
1286
1287
|
}, 1024)
|
|
1287
1288
|
]),
|
|
1288
|
-
addons:
|
|
1289
|
+
addons: C(({ next: J, prev: A }) => [
|
|
1289
1290
|
e(be) ? (d(), D(Xe, {
|
|
1290
1291
|
key: 0,
|
|
1291
1292
|
"prev-callback": () => pt(A)
|
|
1292
1293
|
}, {
|
|
1293
|
-
form:
|
|
1294
|
+
form: C(() => [
|
|
1294
1295
|
s("form", el, [
|
|
1295
1296
|
s("h2", null, [
|
|
1296
1297
|
s("span", null, m(e(o)("booking.reservation.addons")), 1)
|
|
@@ -1300,22 +1301,22 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1300
1301
|
(d(!0), h(F, null, j(e(le), (N) => (d(), h("ul", {
|
|
1301
1302
|
key: N.roomGroupID
|
|
1302
1303
|
}, [
|
|
1303
|
-
(d(!0), h(F, null, j(N.variants, (
|
|
1304
|
-
key:
|
|
1304
|
+
(d(!0), h(F, null, j(N.variants, (g, O) => (d(), h("li", {
|
|
1305
|
+
key: g.ratePlanID
|
|
1305
1306
|
}, [
|
|
1306
1307
|
s("h4", null, [
|
|
1307
1308
|
s("span", null, m(e(pe)(N.title)), 1)
|
|
1308
1309
|
]),
|
|
1309
|
-
(d(!0), h(F, null, j(
|
|
1310
|
+
(d(!0), h(F, null, j(g.rooms, (M, te) => (d(), h("table", {
|
|
1310
1311
|
key: te,
|
|
1311
1312
|
class: "konnectio-table with-lines"
|
|
1312
1313
|
}, [
|
|
1313
1314
|
s("thead", null, [
|
|
1314
1315
|
s("tr", null, [
|
|
1315
1316
|
s("th", null, [
|
|
1316
|
-
s("span", null, m(e(pe)(
|
|
1317
|
+
s("span", null, m(e(pe)(g.name)), 1)
|
|
1317
1318
|
]),
|
|
1318
|
-
|
|
1319
|
+
T("", !0),
|
|
1319
1320
|
s("th", ol, [
|
|
1320
1321
|
s("b", null, [
|
|
1321
1322
|
y(W, {
|
|
@@ -1329,40 +1330,40 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1329
1330
|
icon: "child",
|
|
1330
1331
|
type: "fas",
|
|
1331
1332
|
color: "font"
|
|
1332
|
-
})) :
|
|
1333
|
-
M.childrenCount > 0 ? (d(), h("span", nl, m(M.childrenCount), 1)) :
|
|
1333
|
+
})) : T("", !0),
|
|
1334
|
+
M.childrenCount > 0 ? (d(), h("span", nl, m(M.childrenCount), 1)) : T("", !0)
|
|
1334
1335
|
])
|
|
1335
1336
|
])
|
|
1336
1337
|
])
|
|
1337
1338
|
]),
|
|
1338
1339
|
s("tbody", null, [
|
|
1339
|
-
(d(!0), h(F, null, j(e(ct)(
|
|
1340
|
+
(d(!0), h(F, null, j(e(ct)(g.addons, M.childrenCount), ({
|
|
1340
1341
|
quantityStrategy: X,
|
|
1341
|
-
maximumNumber:
|
|
1342
|
+
maximumNumber: ke,
|
|
1342
1343
|
id: de,
|
|
1343
1344
|
name: io,
|
|
1344
1345
|
price: so
|
|
1345
1346
|
}) => (d(), h("tr", { key: de }, [
|
|
1346
1347
|
s("td", ll, [
|
|
1347
1348
|
s("b", null, m(e(pe)(io)), 1),
|
|
1348
|
-
s("span", null, m(e(ne)(so, e(
|
|
1349
|
+
s("span", null, m(e(ne)(so, e(Te))) + " " + m(e(ft)(X)), 1)
|
|
1349
1350
|
]),
|
|
1350
1351
|
s("td", al, [
|
|
1351
|
-
e(
|
|
1352
|
+
e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx] ? (d(), h(F, { key: 0 }, [
|
|
1352
1353
|
X === 1 || X === 12 ? (d(), D(tt, {
|
|
1353
1354
|
key: 0,
|
|
1354
|
-
modelValue: e(
|
|
1355
|
-
"onUpdate:modelValue": (Ke) => e(
|
|
1355
|
+
modelValue: e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de],
|
|
1356
|
+
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1356
1357
|
small: !0,
|
|
1357
1358
|
"min-value": 0,
|
|
1358
|
-
"max-value":
|
|
1359
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(
|
|
1359
|
+
"max-value": ke || 1 / 0
|
|
1360
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1360
1361
|
key: 1,
|
|
1361
|
-
modelValue: e(
|
|
1362
|
-
"onUpdate:modelValue": (Ke) => e(
|
|
1362
|
+
modelValue: e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de],
|
|
1363
|
+
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1363
1364
|
numeric: !0
|
|
1364
1365
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1365
|
-
], 64)) :
|
|
1366
|
+
], 64)) : T("", !0)
|
|
1366
1367
|
])
|
|
1367
1368
|
]))), 128))
|
|
1368
1369
|
])
|
|
@@ -1380,21 +1381,21 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1380
1381
|
s("th", null, [
|
|
1381
1382
|
s("span", null, m(e(pe)(e(Pe).title)), 1)
|
|
1382
1383
|
]),
|
|
1383
|
-
|
|
1384
|
-
|
|
1384
|
+
T("", !0),
|
|
1385
|
+
V[19] || (V[19] = s("th", { class: "konnectio-event-addons-price" }, null, -1))
|
|
1385
1386
|
])
|
|
1386
1387
|
]),
|
|
1387
1388
|
s("tbody", null, [
|
|
1388
1389
|
(d(!0), h(F, null, j(e(ct)(e(Pe).addons, e(_e)), ({
|
|
1389
1390
|
quantityStrategy: N,
|
|
1390
|
-
maximumNumber:
|
|
1391
|
+
maximumNumber: g,
|
|
1391
1392
|
id: O,
|
|
1392
1393
|
name: M,
|
|
1393
1394
|
price: te
|
|
1394
1395
|
}) => (d(), h("tr", { key: O }, [
|
|
1395
1396
|
s("td", rl, [
|
|
1396
1397
|
s("b", null, m(e(pe)(M)), 1),
|
|
1397
|
-
s("span", null, m(e(ne)(te, e(
|
|
1398
|
+
s("span", null, m(e(ne)(te, e(Te))) + " " + m(e(ft)(N)), 1)
|
|
1398
1399
|
]),
|
|
1399
1400
|
s("td", dl, [
|
|
1400
1401
|
N === 1 || N === 12 ? (d(), D(tt, {
|
|
@@ -1403,8 +1404,8 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1403
1404
|
"onUpdate:modelValue": (X) => e(r)[O] = X,
|
|
1404
1405
|
small: !0,
|
|
1405
1406
|
"min-value": 0,
|
|
1406
|
-
"max-value":
|
|
1407
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(
|
|
1407
|
+
"max-value": g || 1 / 0
|
|
1408
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1408
1409
|
key: 1,
|
|
1409
1410
|
modelValue: e(r)[O],
|
|
1410
1411
|
"onUpdate:modelValue": (X) => e(r)[O] = X,
|
|
@@ -1415,64 +1416,64 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1415
1416
|
])
|
|
1416
1417
|
])
|
|
1417
1418
|
])
|
|
1418
|
-
])) :
|
|
1419
|
+
])) : T("", !0)
|
|
1419
1420
|
])
|
|
1420
1421
|
])
|
|
1421
1422
|
]),
|
|
1422
|
-
navigation:
|
|
1423
|
+
navigation: C(() => [
|
|
1423
1424
|
y(me, {
|
|
1424
1425
|
label: e(o)("general.startReservation"),
|
|
1425
1426
|
"full-width": "",
|
|
1426
|
-
onClickEvent:
|
|
1427
|
+
onClickEvent: J
|
|
1427
1428
|
}, null, 8, ["label", "onClickEvent"])
|
|
1428
1429
|
]),
|
|
1429
1430
|
_: 2
|
|
1430
|
-
}, 1032, ["prev-callback"])) :
|
|
1431
|
+
}, 1032, ["prev-callback"])) : T("", !0)
|
|
1431
1432
|
]),
|
|
1432
|
-
reservation:
|
|
1433
|
+
reservation: C(({ next: J, prev: A, reset: N }) => [
|
|
1433
1434
|
e(be) ? (d(), D(Xe, {
|
|
1434
1435
|
key: 0,
|
|
1435
1436
|
"prev-callback": () => pt(A),
|
|
1436
1437
|
"show-terms-notice": !0,
|
|
1437
1438
|
"show-gift-card": !0
|
|
1438
1439
|
}, {
|
|
1439
|
-
form:
|
|
1440
|
+
form: C(() => [
|
|
1440
1441
|
s("form", ul, [
|
|
1441
1442
|
s("h2", null, [
|
|
1442
1443
|
s("span", null, m(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1443
1444
|
]),
|
|
1444
|
-
e(
|
|
1445
|
+
e(Gt)(e(a)) && e(je)(e(a)) && e(xe)(e(a)) ? (d(), h("ul", {
|
|
1445
1446
|
key: 0,
|
|
1446
1447
|
class: Me(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(je)(e(a)) && e(xe)(e(a)) }])
|
|
1447
1448
|
}, [
|
|
1448
1449
|
e(je)(e(a)) ? (d(), h("li", cl, [
|
|
1449
1450
|
y(vt, {
|
|
1450
|
-
modelValue: e(
|
|
1451
|
-
"onUpdate:modelValue":
|
|
1451
|
+
modelValue: e(k),
|
|
1452
|
+
"onUpdate:modelValue": V[2] || (V[2] = (g) => q(k) ? k.value = g : null),
|
|
1452
1453
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1453
1454
|
icon: "hourglass-start",
|
|
1454
|
-
"min-time": e(
|
|
1455
|
+
"min-time": e(qt)(e(a)),
|
|
1455
1456
|
"max-time": e(jt)(e(a)),
|
|
1456
1457
|
required: ""
|
|
1457
1458
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1458
|
-
])) :
|
|
1459
|
+
])) : T("", !0),
|
|
1459
1460
|
e(xe)(e(a)) ? (d(), h("li", pl, [
|
|
1460
1461
|
y(vt, {
|
|
1461
1462
|
modelValue: e(w),
|
|
1462
|
-
"onUpdate:modelValue":
|
|
1463
|
+
"onUpdate:modelValue": V[3] || (V[3] = (g) => q(w) ? w.value = g : null),
|
|
1463
1464
|
label: e(o)("booking.reservation.departureTime"),
|
|
1464
1465
|
icon: "hourglass-end",
|
|
1465
1466
|
"min-time": e(xt)(e(a)),
|
|
1466
1467
|
"max-time": e(Wt)(e(a)),
|
|
1467
1468
|
required: ""
|
|
1468
1469
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1469
|
-
])) :
|
|
1470
|
-
], 2)) :
|
|
1471
|
-
y(
|
|
1470
|
+
])) : T("", !0)
|
|
1471
|
+
], 2)) : T("", !0),
|
|
1472
|
+
y($n, {
|
|
1472
1473
|
modelValue: e(P),
|
|
1473
|
-
"onUpdate:modelValue":
|
|
1474
|
-
title: e(
|
|
1475
|
-
"onUpdate:title":
|
|
1474
|
+
"onUpdate:modelValue": V[4] || (V[4] = (g) => q(P) ? P.value = g : null),
|
|
1475
|
+
title: e($),
|
|
1476
|
+
"onUpdate:title": V[5] || (V[5] = (g) => q($) ? $.value = g : null),
|
|
1476
1477
|
"exclude-title": e(Mt),
|
|
1477
1478
|
label: e(o)("booking.reservation.name"),
|
|
1478
1479
|
icon: "user-alt",
|
|
@@ -1481,7 +1482,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1481
1482
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1482
1483
|
y(ue, {
|
|
1483
1484
|
modelValue: e(R),
|
|
1484
|
-
"onUpdate:modelValue":
|
|
1485
|
+
"onUpdate:modelValue": V[6] || (V[6] = (g) => q(R) ? R.value = g : null),
|
|
1485
1486
|
type: "email",
|
|
1486
1487
|
name: "email",
|
|
1487
1488
|
autocomplete: "email",
|
|
@@ -1491,19 +1492,19 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1491
1492
|
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
1492
1493
|
required: ""
|
|
1493
1494
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1494
|
-
e(Ft) ?
|
|
1495
|
-
y(
|
|
1495
|
+
e(Ft) ? T("", !0) : (d(), h("div", ml, [
|
|
1496
|
+
y(Ce, {
|
|
1496
1497
|
modelValue: e(Q),
|
|
1497
|
-
"onUpdate:modelValue":
|
|
1498
|
+
"onUpdate:modelValue": V[7] || (V[7] = (g) => q(Q) ? Q.value = g : null),
|
|
1498
1499
|
type: "checkbox",
|
|
1499
1500
|
name: "newsletter",
|
|
1500
1501
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
1501
1502
|
}, null, 8, ["modelValue", "label"])
|
|
1502
1503
|
])),
|
|
1503
|
-
e(Lt) ?
|
|
1504
|
+
e(Lt) ? T("", !0) : (d(), D(ue, {
|
|
1504
1505
|
key: 2,
|
|
1505
1506
|
modelValue: e(I),
|
|
1506
|
-
"onUpdate:modelValue":
|
|
1507
|
+
"onUpdate:modelValue": V[8] || (V[8] = (g) => q(I) ? I.value = g : null),
|
|
1507
1508
|
type: "text",
|
|
1508
1509
|
name: "firm",
|
|
1509
1510
|
autocomplete: "firm",
|
|
@@ -1513,15 +1514,15 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1513
1514
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1514
1515
|
y(Eo, {
|
|
1515
1516
|
modelValue: e(L),
|
|
1516
|
-
"onUpdate:modelValue":
|
|
1517
|
+
"onUpdate:modelValue": V[9] || (V[9] = (g) => q(L) ? L.value = g : null),
|
|
1517
1518
|
icon: "phone-office",
|
|
1518
1519
|
label: e(o)("booking.reservation.phone"),
|
|
1519
1520
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
1520
1521
|
required: ""
|
|
1521
1522
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1522
1523
|
y(wn, {
|
|
1523
|
-
modelValue: e(
|
|
1524
|
-
"onUpdate:modelValue":
|
|
1524
|
+
modelValue: e(z),
|
|
1525
|
+
"onUpdate:modelValue": V[10] || (V[10] = (g) => q(z) ? z.value = g : null),
|
|
1525
1526
|
label: e(o)("booking.reservation.country"),
|
|
1526
1527
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1527
1528
|
options: e(p),
|
|
@@ -1529,7 +1530,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1529
1530
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1530
1531
|
y(ue, {
|
|
1531
1532
|
modelValue: e(S),
|
|
1532
|
-
"onUpdate:modelValue":
|
|
1533
|
+
"onUpdate:modelValue": V[11] || (V[11] = (g) => q(S) ? S.value = g : null),
|
|
1533
1534
|
type: "textarea",
|
|
1534
1535
|
name: "address",
|
|
1535
1536
|
autocomplete: "street-address",
|
|
@@ -1542,7 +1543,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1542
1543
|
s("li", null, [
|
|
1543
1544
|
y(ue, {
|
|
1544
1545
|
modelValue: e(_),
|
|
1545
|
-
"onUpdate:modelValue":
|
|
1546
|
+
"onUpdate:modelValue": V[12] || (V[12] = (g) => q(_) ? _.value = g : null),
|
|
1546
1547
|
type: "text",
|
|
1547
1548
|
name: "postal",
|
|
1548
1549
|
autocomplete: "postal-code",
|
|
@@ -1555,7 +1556,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1555
1556
|
s("li", null, [
|
|
1556
1557
|
y(ue, {
|
|
1557
1558
|
modelValue: e(H),
|
|
1558
|
-
"onUpdate:modelValue":
|
|
1559
|
+
"onUpdate:modelValue": V[13] || (V[13] = (g) => q(H) ? H.value = g : null),
|
|
1559
1560
|
type: "text",
|
|
1560
1561
|
name: "city",
|
|
1561
1562
|
autocomplete: "address-level2",
|
|
@@ -1568,48 +1569,49 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1568
1569
|
]),
|
|
1569
1570
|
y(ue, {
|
|
1570
1571
|
modelValue: e(U),
|
|
1571
|
-
"onUpdate:modelValue":
|
|
1572
|
+
"onUpdate:modelValue": V[14] || (V[14] = (g) => q(U) ? U.value = g : null),
|
|
1572
1573
|
type: "textarea",
|
|
1573
1574
|
label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
|
|
1574
1575
|
icon: "info-circle",
|
|
1575
1576
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1576
1577
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1577
1578
|
y(ue, {
|
|
1578
|
-
modelValue: e(
|
|
1579
|
-
"onUpdate:modelValue":
|
|
1579
|
+
modelValue: e(Y),
|
|
1580
|
+
"onUpdate:modelValue": V[15] || (V[15] = (g) => q(Y) ? Y.value = g : null),
|
|
1580
1581
|
type: "textarea",
|
|
1581
1582
|
label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
|
|
1582
1583
|
icon: "allergies",
|
|
1583
1584
|
placeholder: e(o)("booking.reservation.allergiesPlaceholder")
|
|
1584
1585
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1585
|
-
e(Rt) ?
|
|
1586
|
+
e(Rt) ? T("", !0) : (d(), D(So, {
|
|
1586
1587
|
key: 3,
|
|
1587
1588
|
modelValue: e(f),
|
|
1588
|
-
"onUpdate:modelValue":
|
|
1589
|
+
"onUpdate:modelValue": V[16] || (V[16] = (g) => q(f) ? f.value = g : null),
|
|
1589
1590
|
label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
|
|
1590
1591
|
name: "travelingFor",
|
|
1591
1592
|
checkboxes: eo.value
|
|
1592
1593
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1593
1594
|
])
|
|
1594
1595
|
]),
|
|
1595
|
-
navigation:
|
|
1596
|
+
navigation: C(() => [
|
|
1596
1597
|
s("div", null, [
|
|
1597
1598
|
y(me, {
|
|
1598
1599
|
label: e(Ut) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1599
1600
|
disabled: !e(v),
|
|
1600
1601
|
"is-loading": e(u),
|
|
1601
1602
|
"full-width": "",
|
|
1602
|
-
onClickEvent: (
|
|
1603
|
+
onClickEvent: (g) => oo(J, N)
|
|
1603
1604
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1604
1605
|
])
|
|
1605
1606
|
]),
|
|
1606
1607
|
_: 2
|
|
1607
|
-
}, 1032, ["prev-callback"])) :
|
|
1608
|
+
}, 1032, ["prev-callback"])) : T("", !0)
|
|
1608
1609
|
]),
|
|
1609
|
-
payment:
|
|
1610
|
-
y(Oo)
|
|
1610
|
+
payment: C(({ prev: J }) => [
|
|
1611
|
+
y(Oo),
|
|
1612
|
+
T("", !0)
|
|
1611
1613
|
]),
|
|
1612
|
-
confirmation:
|
|
1614
|
+
confirmation: C(() => [
|
|
1613
1615
|
y(Io, {
|
|
1614
1616
|
message: e(o)("booking.confirmation.thankYou")
|
|
1615
1617
|
}, null, 8, ["message"])
|
|
@@ -1620,7 +1622,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1620
1622
|
_: 1
|
|
1621
1623
|
}, 8, ["access-token", "callback"])
|
|
1622
1624
|
]),
|
|
1623
|
-
fallback:
|
|
1625
|
+
fallback: C(() => [
|
|
1624
1626
|
y(Sn)
|
|
1625
1627
|
]),
|
|
1626
1628
|
_: 1
|
|
@@ -1629,7 +1631,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1629
1631
|
_: 1
|
|
1630
1632
|
}, 8, ["styling"]));
|
|
1631
1633
|
}
|
|
1632
|
-
}), yt = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-
|
|
1634
|
+
}), yt = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-f63a500c"]]), vl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), Ie = /* @__PURE__ */ new Set([
|
|
1633
1635
|
"base",
|
|
1634
1636
|
"meta",
|
|
1635
1637
|
"link",
|
|
@@ -1648,7 +1650,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1648
1650
|
"style",
|
|
1649
1651
|
"script",
|
|
1650
1652
|
"noscript"
|
|
1651
|
-
]),
|
|
1653
|
+
]), kl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), At = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), gl = typeof window < "u";
|
|
1652
1654
|
function Re(l) {
|
|
1653
1655
|
let t = 9;
|
|
1654
1656
|
for (let n = 0; n < l.length; )
|
|
@@ -1710,7 +1712,7 @@ function Dt(l, t = !1) {
|
|
|
1710
1712
|
const n = Ht(l, t, Object.keys(l), 0);
|
|
1711
1713
|
return n instanceof Promise ? n.then(() => l) : l;
|
|
1712
1714
|
}
|
|
1713
|
-
const
|
|
1715
|
+
const Vl = 10;
|
|
1714
1716
|
function St(l, t, n) {
|
|
1715
1717
|
for (let o = n; o < t.length; o += 1) {
|
|
1716
1718
|
const a = t[o];
|
|
@@ -1719,7 +1721,7 @@ function St(l, t, n) {
|
|
|
1719
1721
|
Array.isArray(a) ? l.push(...a) : l.push(a);
|
|
1720
1722
|
}
|
|
1721
1723
|
}
|
|
1722
|
-
function
|
|
1724
|
+
function Tl(l) {
|
|
1723
1725
|
const t = [], n = l.resolvedInput;
|
|
1724
1726
|
for (const a in n) {
|
|
1725
1727
|
if (!Object.prototype.hasOwnProperty.call(n, a))
|
|
@@ -1737,9 +1739,9 @@ function Vl(l) {
|
|
|
1737
1739
|
if (t.length === 0)
|
|
1738
1740
|
return [];
|
|
1739
1741
|
const o = [];
|
|
1740
|
-
return bl(St(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i <<
|
|
1742
|
+
return bl(St(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i << Vl) + i, a)));
|
|
1741
1743
|
}
|
|
1742
|
-
const
|
|
1744
|
+
const kt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), gt = {
|
|
1743
1745
|
// tags
|
|
1744
1746
|
base: -10,
|
|
1745
1747
|
title: 10
|
|
@@ -1754,12 +1756,12 @@ function Be(l) {
|
|
|
1754
1756
|
if (typeof t == "number")
|
|
1755
1757
|
return t;
|
|
1756
1758
|
let n = 100;
|
|
1757
|
-
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in
|
|
1759
|
+
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), t && t in bt ? n + bt[t] : n;
|
|
1758
1760
|
}
|
|
1759
|
-
const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
|
|
1761
|
+
const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Cl = ["name", "property", "http-equiv"];
|
|
1760
1762
|
function It(l) {
|
|
1761
1763
|
const { props: t, tag: n } = l;
|
|
1762
|
-
if (
|
|
1764
|
+
if (kl.has(n))
|
|
1763
1765
|
return n;
|
|
1764
1766
|
if (n === "link" && t.rel === "canonical")
|
|
1765
1767
|
return "canonical";
|
|
@@ -1767,13 +1769,13 @@ function It(l) {
|
|
|
1767
1769
|
return "charset";
|
|
1768
1770
|
if (t.id)
|
|
1769
1771
|
return `${n}:id:${t.id}`;
|
|
1770
|
-
for (const o of
|
|
1772
|
+
for (const o of Cl)
|
|
1771
1773
|
if (t[o] !== void 0)
|
|
1772
1774
|
return `${n}:${o}:${t[o]}`;
|
|
1773
1775
|
return !1;
|
|
1774
1776
|
}
|
|
1775
1777
|
const ce = "%separator";
|
|
1776
|
-
function
|
|
1778
|
+
function $l(l, t) {
|
|
1777
1779
|
let n;
|
|
1778
1780
|
if (t === "s" || t === "pageTitle")
|
|
1779
1781
|
n = l.pageTitle;
|
|
@@ -1800,7 +1802,7 @@ function Se(l, t, n) {
|
|
|
1800
1802
|
return l = l.replace(/%\w+(?:\.\w+)?/g, (r) => {
|
|
1801
1803
|
if (r === ce || !a.includes(r))
|
|
1802
1804
|
return r;
|
|
1803
|
-
const p =
|
|
1805
|
+
const p = $l(t, r.slice(1));
|
|
1804
1806
|
return p !== void 0 ? p : r;
|
|
1805
1807
|
}).trim(), i && (l.endsWith(ce) && (l = l.slice(0, -ce.length)), l.startsWith(ce) && (l = l.slice(ce.length)), l = l.replace(Pl, n).trim()), l;
|
|
1806
1808
|
}
|
|
@@ -1825,14 +1827,14 @@ async function Al(l, t = {}) {
|
|
|
1825
1827
|
elMap: { htmlAttrs: n.documentElement, bodyAttrs: n.body }
|
|
1826
1828
|
};
|
|
1827
1829
|
const f = /* @__PURE__ */ new Set();
|
|
1828
|
-
for (const
|
|
1829
|
-
const w = n[
|
|
1830
|
+
for (const k of ["body", "head"]) {
|
|
1831
|
+
const w = n[k]?.children;
|
|
1830
1832
|
for (const P of w) {
|
|
1831
|
-
const
|
|
1832
|
-
if (!Ie.has(
|
|
1833
|
+
const $ = P.tagName.toLowerCase();
|
|
1834
|
+
if (!Ie.has($))
|
|
1833
1835
|
continue;
|
|
1834
1836
|
const R = {
|
|
1835
|
-
tag:
|
|
1837
|
+
tag: $,
|
|
1836
1838
|
props: await Dt(
|
|
1837
1839
|
P.getAttributeNames().reduce((H, S) => ({ ...H, [S]: P.getAttribute(S) }), {})
|
|
1838
1840
|
),
|
|
@@ -1846,41 +1848,41 @@ async function Al(l, t = {}) {
|
|
|
1846
1848
|
}
|
|
1847
1849
|
}
|
|
1848
1850
|
r.pendingSideEffects = { ...r.sideEffects }, r.sideEffects = {};
|
|
1849
|
-
function p(f,
|
|
1850
|
-
const P = `${f}:${
|
|
1851
|
+
function p(f, k, w) {
|
|
1852
|
+
const P = `${f}:${k}`;
|
|
1851
1853
|
r.sideEffects[P] = w, delete r.pendingSideEffects[P];
|
|
1852
1854
|
}
|
|
1853
|
-
function c({ id: f, $el:
|
|
1855
|
+
function c({ id: f, $el: k, tag: w }) {
|
|
1854
1856
|
const P = w.tag.endsWith("Attrs");
|
|
1855
|
-
if (r.elMap[f] =
|
|
1857
|
+
if (r.elMap[f] = k, P || (w.textContent && w.textContent !== k.textContent && (k.textContent = w.textContent), w.innerHTML && w.innerHTML !== k.innerHTML && (k.innerHTML = w.innerHTML), p(f, "el", () => {
|
|
1856
1858
|
r.elMap[f]?.remove(), delete r.elMap[f];
|
|
1857
1859
|
})), w._eventHandlers)
|
|
1858
|
-
for (const
|
|
1859
|
-
Object.prototype.hasOwnProperty.call(w._eventHandlers,
|
|
1860
|
+
for (const $ in w._eventHandlers)
|
|
1861
|
+
Object.prototype.hasOwnProperty.call(w._eventHandlers, $) && k.getAttribute(`data-${$}`) !== "" && ((w.tag === "bodyAttrs" ? n.defaultView : k).addEventListener(
|
|
1860
1862
|
// onload -> load
|
|
1861
|
-
|
|
1862
|
-
w._eventHandlers[
|
|
1863
|
-
),
|
|
1864
|
-
for (const
|
|
1865
|
-
if (!Object.prototype.hasOwnProperty.call(w.props,
|
|
1863
|
+
$.substring(2),
|
|
1864
|
+
w._eventHandlers[$].bind(k)
|
|
1865
|
+
), k.setAttribute(`data-${$}`, ""));
|
|
1866
|
+
for (const $ in w.props) {
|
|
1867
|
+
if (!Object.prototype.hasOwnProperty.call(w.props, $))
|
|
1866
1868
|
continue;
|
|
1867
|
-
const R = w.props[
|
|
1868
|
-
if (
|
|
1869
|
+
const R = w.props[$], L = `attr:${$}`;
|
|
1870
|
+
if ($ === "class") {
|
|
1869
1871
|
if (!R)
|
|
1870
1872
|
continue;
|
|
1871
1873
|
for (const I of R.split(" "))
|
|
1872
|
-
P && p(f, `${L}:${I}`, () =>
|
|
1873
|
-
} else if (
|
|
1874
|
+
P && p(f, `${L}:${I}`, () => k.classList.remove(I)), !k.classList.contains(I) && k.classList.add(I);
|
|
1875
|
+
} else if ($ === "style") {
|
|
1874
1876
|
if (!R)
|
|
1875
1877
|
continue;
|
|
1876
1878
|
for (const I of R.split(";")) {
|
|
1877
1879
|
const _ = I.indexOf(":"), H = I.substring(0, _).trim(), S = I.substring(_ + 1).trim();
|
|
1878
1880
|
p(f, `${L}:${H}`, () => {
|
|
1879
|
-
|
|
1880
|
-
}),
|
|
1881
|
+
k.style.removeProperty(H);
|
|
1882
|
+
}), k.style.setProperty(H, S);
|
|
1881
1883
|
}
|
|
1882
1884
|
} else
|
|
1883
|
-
|
|
1885
|
+
k.getAttribute($) !== R && k.setAttribute($, R === !0 ? "" : String(R)), P && p(f, L, () => k.removeAttribute($));
|
|
1884
1886
|
}
|
|
1885
1887
|
}
|
|
1886
1888
|
const u = [], v = {
|
|
@@ -1889,18 +1891,18 @@ async function Al(l, t = {}) {
|
|
|
1889
1891
|
head: void 0
|
|
1890
1892
|
};
|
|
1891
1893
|
for (const f of i) {
|
|
1892
|
-
const { tag:
|
|
1894
|
+
const { tag: k, shouldRender: w, id: P } = f;
|
|
1893
1895
|
if (w) {
|
|
1894
|
-
if (
|
|
1895
|
-
n.title =
|
|
1896
|
+
if (k.tag === "title") {
|
|
1897
|
+
n.title = k.textContent;
|
|
1896
1898
|
continue;
|
|
1897
1899
|
}
|
|
1898
|
-
f.$el = f.$el || r.elMap[P], f.$el ? c(f) : Ie.has(
|
|
1900
|
+
f.$el = f.$el || r.elMap[P], f.$el ? c(f) : Ie.has(k.tag) && u.push(f);
|
|
1899
1901
|
}
|
|
1900
1902
|
}
|
|
1901
1903
|
for (const f of u) {
|
|
1902
|
-
const
|
|
1903
|
-
f.$el = n.createElement(f.tag.tag), c(f), v[
|
|
1904
|
+
const k = f.tag.tagPosition || "head";
|
|
1905
|
+
f.$el = n.createElement(f.tag.tag), c(f), v[k] = v[k] || n.createDocumentFragment(), v[k].appendChild(f.$el);
|
|
1904
1906
|
}
|
|
1905
1907
|
for (const f of i)
|
|
1906
1908
|
await l.hooks.callHook("dom:renderTag", f, n, p);
|
|
@@ -2113,7 +2115,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2113
2115
|
if (a[0] !== "o" || a[1] !== "n" || !Object.prototype.hasOwnProperty.call(o, a))
|
|
2114
2116
|
continue;
|
|
2115
2117
|
const i = o[a];
|
|
2116
|
-
typeof i == "function" && (l.ssr &&
|
|
2118
|
+
typeof i == "function" && (l.ssr && kt.has(a) ? o[a] = `this.dataset.${a}fired = true` : delete o[a], n._eventHandlers = n._eventHandlers || {}, n._eventHandlers[a] = i);
|
|
2117
2119
|
}
|
|
2118
2120
|
l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key || Re(n.props.src || n.props.href));
|
|
2119
2121
|
}
|
|
@@ -2125,17 +2127,17 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2125
2127
|
if (!a.endsWith("fired"))
|
|
2126
2128
|
continue;
|
|
2127
2129
|
const i = a.slice(0, -5);
|
|
2128
|
-
|
|
2130
|
+
kt.has(i) && n._eventHandlers?.[i]?.call(t, new Event(i.substring(2)));
|
|
2129
2131
|
}
|
|
2130
2132
|
}
|
|
2131
2133
|
}
|
|
2132
|
-
}), Fl = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]),
|
|
2134
|
+
}), Fl = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Gl = {
|
|
2133
2135
|
hooks: {
|
|
2134
2136
|
"tag:normalise": ({ tag: l }) => {
|
|
2135
2137
|
l.key && Fl.has(l.tag) && (l.props["data-hid"] = l._h = Re(l.key));
|
|
2136
2138
|
}
|
|
2137
2139
|
}
|
|
2138
|
-
},
|
|
2140
|
+
}, ql = {
|
|
2139
2141
|
mode: "server",
|
|
2140
2142
|
hooks: {
|
|
2141
2143
|
"tags:beforeResolve": (l) => {
|
|
@@ -2246,12 +2248,12 @@ function Yl(l = {}) {
|
|
|
2246
2248
|
const t = Ql(l);
|
|
2247
2249
|
return t.use(/* @__PURE__ */ Dl()), t;
|
|
2248
2250
|
}
|
|
2249
|
-
function
|
|
2251
|
+
function Vt(l, t) {
|
|
2250
2252
|
return !l || l === "server" && t || l === "client" && !t;
|
|
2251
2253
|
}
|
|
2252
2254
|
function Ql(l = {}) {
|
|
2253
2255
|
const t = Bl();
|
|
2254
|
-
t.addHooks(l.hooks || {}), l.document = l.document || (
|
|
2256
|
+
t.addHooks(l.hooks || {}), l.document = l.document || (gl ? document : void 0);
|
|
2255
2257
|
const n = !l.document, o = () => {
|
|
2256
2258
|
p.dirty = !0, t.callHook("entries:updated", p);
|
|
2257
2259
|
};
|
|
@@ -2266,7 +2268,7 @@ function Ql(l = {}) {
|
|
|
2266
2268
|
},
|
|
2267
2269
|
use(c) {
|
|
2268
2270
|
const u = typeof c == "function" ? c(p) : c;
|
|
2269
|
-
(!u.key || !r.some((v) => v.key === u.key)) && (r.push(u),
|
|
2271
|
+
(!u.key || !r.some((v) => v.key === u.key)) && (r.push(u), Vt(u.mode, n) && t.addHooks(u.hooks || {}));
|
|
2270
2272
|
},
|
|
2271
2273
|
push(c, u) {
|
|
2272
2274
|
delete u?.head;
|
|
@@ -2275,14 +2277,14 @@ function Ql(l = {}) {
|
|
|
2275
2277
|
input: c,
|
|
2276
2278
|
...u
|
|
2277
2279
|
};
|
|
2278
|
-
return
|
|
2280
|
+
return Vt(v.mode, n) && (i.push(v), o()), {
|
|
2279
2281
|
dispose() {
|
|
2280
2282
|
i = i.filter((f) => f._i !== v._i), o();
|
|
2281
2283
|
},
|
|
2282
2284
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2283
2285
|
patch(f) {
|
|
2284
|
-
for (const
|
|
2285
|
-
|
|
2286
|
+
for (const k of i)
|
|
2287
|
+
k._i === v._i && (k.input = v.input = f);
|
|
2286
2288
|
o();
|
|
2287
2289
|
}
|
|
2288
2290
|
};
|
|
@@ -2293,9 +2295,9 @@ function Ql(l = {}) {
|
|
|
2293
2295
|
for (const u of c.entries) {
|
|
2294
2296
|
const v = u.resolvedInput || u.input;
|
|
2295
2297
|
if (u.resolvedInput = await (u.transform ? u.transform(v) : v), u.resolvedInput)
|
|
2296
|
-
for (const f of await
|
|
2297
|
-
const
|
|
2298
|
-
await t.callHook("tag:normalise",
|
|
2298
|
+
for (const f of await Tl(u)) {
|
|
2299
|
+
const k = { tag: f, entry: u, resolvedOptions: p.resolvedOptions };
|
|
2300
|
+
await t.callHook("tag:normalise", k), c.tags.push(k.tag);
|
|
2299
2301
|
}
|
|
2300
2302
|
}
|
|
2301
2303
|
return await t.callHook("tags:beforeResolve", c), await t.callHook("tags:resolve", c), await t.callHook("tags:afterResolve", c), c.tags;
|
|
@@ -2304,9 +2306,9 @@ function Ql(l = {}) {
|
|
|
2304
2306
|
};
|
|
2305
2307
|
return [
|
|
2306
2308
|
Ul,
|
|
2307
|
-
Gl,
|
|
2308
|
-
Ol,
|
|
2309
2309
|
ql,
|
|
2310
|
+
Ol,
|
|
2311
|
+
Gl,
|
|
2310
2312
|
jl,
|
|
2311
2313
|
Kl,
|
|
2312
2314
|
Jl,
|
|
@@ -2371,7 +2373,7 @@ class sa extends HTMLElement {
|
|
|
2371
2373
|
}
|
|
2372
2374
|
connectedCallback() {
|
|
2373
2375
|
const t = yo(yt, this.attributes);
|
|
2374
|
-
this.vueApp =
|
|
2376
|
+
this.vueApp = ko(yt, t), this.vueApp.provide("emitter", ia), this.vueApp.use(aa), this.vueApp.use(la), this.vueApp.use(No), this.vueApp.use(go), this.vueApp.use(Mo), this.vueApp.use($o), this.vueApp.use(Co, { bootstrap: !0 });
|
|
2375
2377
|
const n = document.createElement("div");
|
|
2376
2378
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
2377
2379
|
}
|