@konnectio/core 4.0.56-rc55 → 4.0.56-rc56
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-BAL1bpnL.js → ActionField-D2cIxYLO.js} +12 -12
- package/dist/ActionField-D2cIxYLO.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BX61UaDK.js → AvailabilitySkeleton-fSj-D3gr.js} +50 -49
- package/dist/AvailabilitySkeleton-fSj-D3gr.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js +8174 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js.br +0 -0
- package/dist/{CheckoutWindow-DufEgcza.js → CheckoutWindow-DDFex8_M.js} +242 -233
- package/dist/CheckoutWindow-DDFex8_M.js.br +0 -0
- package/dist/{ErrorMessage-CbGOS1Nq.js → ErrorMessage-BxEkmAcA.js} +4 -4
- package/dist/ErrorMessage-BxEkmAcA.js.br +0 -0
- package/dist/EventAvailabilityForm-Bh21jXV0.js +120 -0
- package/dist/EventAvailabilityForm-Bh21jXV0.js.br +0 -0
- package/dist/{Field-flvSuRTL.js → Field-C1-c1E69.js} +9 -9
- package/dist/Field-C1-c1E69.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js +18603 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js.br +0 -0
- package/dist/TermsOfService-Cf3uVbvE.js +36 -0
- package/dist/TermsOfService-Cf3uVbvE.js.br +0 -0
- package/dist/{_-Wr8LhfrM.js → _-DpyfRShv.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js +69 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js.br +0 -0
- package/dist/_commonjsHelpers-7Ka-lrVJ.js +17 -0
- package/dist/_sentry-release-injection-file-BwRPXfCP.js +11186 -0
- package/dist/_sentry-release-injection-file-BwRPXfCP.js.br +0 -0
- package/dist/availability.js +24 -24
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +56 -4
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +316 -300
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +32 -33
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +87 -88
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-D4D0qX4c.js +134 -0
- package/dist/giftCard-D4D0qX4c.js.br +0 -0
- package/dist/hotel.js +211 -211
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BMRfOcVe.js → masonry.plugin-BJrxifpp.js} +3352 -3334
- package/dist/masonry.plugin-BJrxifpp.js.br +0 -0
- package/dist/mitt-CKlYOuwf.js +4290 -0
- package/dist/mitt-CKlYOuwf.js.br +0 -0
- package/dist/polyfill.js +4523 -4515
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-wxeFiHIa.js → tracing-NLDFmjvp.js} +3 -3
- package/dist/tracing-NLDFmjvp.js.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-BAL1bpnL.js.br +0 -0
- package/dist/AvailabilitySkeleton-BX61UaDK.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js +0 -7814
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js.br +0 -0
- package/dist/CheckoutWindow-DufEgcza.js.br +0 -0
- package/dist/ErrorMessage-CbGOS1Nq.js.br +0 -0
- package/dist/EventAvailabilityForm-CO2Vt9WR.js +0 -452
- package/dist/EventAvailabilityForm-CO2Vt9WR.js.br +0 -0
- package/dist/Field-flvSuRTL.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js +0 -21414
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js.br +0 -0
- package/dist/TermsOfService-ZtJSXzfs.js +0 -35
- package/dist/TermsOfService-ZtJSXzfs.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js +0 -68
- package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js.br +0 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js +0 -9530
- package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
- package/dist/giftCard-DHP_enh5.js +0 -127
- package/dist/giftCard-DHP_enh5.js.br +0 -0
- package/dist/masonry.plugin-BMRfOcVe.js.br +0 -0
- package/dist/sentry-BSHzssDu.js +0 -18
- package/dist/tracing-wxeFiHIa.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
1
|
+
import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as E, x as Ye, v as N, h as Ce, c as G, p as bt, j as _t, o as tt, z as Pe, n as Ae, S as Xt, C as eo, D as to, E as oo, k as lo } from "./_sentry-release-injection-file-BwRPXfCP.js";
|
|
2
|
+
import { u as ne, s as Z, T as no, c as ao, i as io, m as so } from "./mitt-CKlYOuwf.js";
|
|
3
|
+
import { e as _e, x as pe, u as be, I as K, f as ue, y as Ze, l as dt, z as re, h as te, _ as ce, n as Se, A as Vt, b as Qe, c as de, d as Tt, B as $t, D as ut, T as se, p as ro, F as uo, a as co, C as po, i as ct, j as mo, k as pt, m as fo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js";
|
|
4
|
+
import { R as ho, B as Ie, L as vo, S as yo, M as go, a as xe, C as ko, T as bo, V as _o, G as Vo } from "./masonry.plugin-BJrxifpp.js";
|
|
5
|
+
import { A as To, H as $o } from "./AvailabilitySkeleton-fSj-D3gr.js";
|
|
6
|
+
import { S as wo } from "./TermsOfService-Cf3uVbvE.js";
|
|
7
|
+
import { C as De, B as Co, P as Po, a as Ao } from "./CheckoutWindow-DDFex8_M.js";
|
|
8
|
+
import { _ as wt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.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] = "10492921-3727-40ab-bd90-b9c5269ec0a1", n._sentryDebugIdIdentifier = "sentry-dbid-10492921-3727-40ab-bd90-b9c5269ec0a1");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
16
|
const Do = { key: 0 }, Ho = { class: "konnectio-hotel-reservation-warning" }, So = { class: "konnectio-hotel-reservation-warning" }, Io = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
-
const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnectio-reservation-actions" }, Uo = /* @__PURE__ */
|
|
17
|
+
const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnectio-reservation-actions" }, Uo = /* @__PURE__ */ Q({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -29,7 +29,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
29
29
|
departureDefault: m,
|
|
30
30
|
disableNewsletterSignup: p,
|
|
31
31
|
currency: u
|
|
32
|
-
} =
|
|
32
|
+
} = Z(_e()), {
|
|
33
33
|
arrivalTime: r,
|
|
34
34
|
departureTime: d,
|
|
35
35
|
roomDisplay: h,
|
|
@@ -43,20 +43,20 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: O,
|
|
45
45
|
currentLocation: j,
|
|
46
|
-
locationMismatch:
|
|
46
|
+
locationMismatch: Y,
|
|
47
47
|
newsMails: R,
|
|
48
|
-
termsOfService:
|
|
49
|
-
discountCode:
|
|
48
|
+
termsOfService: z,
|
|
49
|
+
discountCode: X,
|
|
50
50
|
hasTermOfService: Be,
|
|
51
51
|
acceptTerms: M,
|
|
52
52
|
totalTemplateAddonPrice: me
|
|
53
|
-
} =
|
|
54
|
-
function
|
|
53
|
+
} = Z(pe()), { hasHotelLocations: ve } = Z(be()), { removeRoom: Ve, validateDiscountCode: Ee } = pe(), { getHotelLocationName: Me } = be(), fe = oe(!1);
|
|
54
|
+
function ye(le) {
|
|
55
55
|
return le.reduce((L, { totalPrice: ge }) => L + ge, 0);
|
|
56
56
|
}
|
|
57
|
-
return (le,
|
|
58
|
-
"discount-code": o(
|
|
59
|
-
"onUpdate:discountCode":
|
|
57
|
+
return (le, x) => (c(), A(ho, {
|
|
58
|
+
"discount-code": o(X),
|
|
59
|
+
"onUpdate:discountCode": x[4] || (x[4] = (L) => N(X) ? X.value = L : null),
|
|
60
60
|
"validate-discount-code": o(Ee),
|
|
61
61
|
"total-price": o(P),
|
|
62
62
|
"show-gift-card": le.showGiftCard,
|
|
@@ -68,24 +68,24 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
68
68
|
qe(le.$slots, "form", {}, void 0, !0)
|
|
69
69
|
]),
|
|
70
70
|
"reservation-summary": $(() => [
|
|
71
|
-
o(
|
|
72
|
-
a("span", null,
|
|
71
|
+
o(ve) ? (c(), f("li", Do, [
|
|
72
|
+
a("span", null, v(o(l)("general.location")), 1),
|
|
73
73
|
a("b", null, [
|
|
74
|
-
a("span", null,
|
|
74
|
+
a("span", null, v(o(Me)(o(j))), 1),
|
|
75
75
|
We(a("span", Ho, [
|
|
76
76
|
g(K, {
|
|
77
77
|
icon: "exclamation-triangle",
|
|
78
78
|
type: "fas"
|
|
79
79
|
})
|
|
80
80
|
], 512), [
|
|
81
|
-
[Ke, o(
|
|
81
|
+
[Ke, o(Y)]
|
|
82
82
|
])
|
|
83
83
|
])
|
|
84
84
|
])) : _("", !0),
|
|
85
85
|
a("li", null, [
|
|
86
|
-
a("span", null,
|
|
86
|
+
a("span", null, v(o(l)("booking.reservation.arrival")), 1),
|
|
87
87
|
a("b", null, [
|
|
88
|
-
a("span", null,
|
|
88
|
+
a("span", null, v(o(t) ? o(ue)(o(C)) : `${o(ue)(o(C))}, ${o(e) ? o(s) : o(r)}`), 1),
|
|
89
89
|
We(a("span", So, [
|
|
90
90
|
g(K, {
|
|
91
91
|
icon: "exclamation-triangle",
|
|
@@ -97,9 +97,9 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
97
97
|
])
|
|
98
98
|
]),
|
|
99
99
|
a("li", null, [
|
|
100
|
-
a("span", null,
|
|
100
|
+
a("span", null, v(o(l)("booking.reservation.departure")), 1),
|
|
101
101
|
a("b", null, [
|
|
102
|
-
a("span", null,
|
|
102
|
+
a("span", null, v(o(t) ? o(ue)(o(H)) : `${o(ue)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
|
|
103
103
|
We(a("span", Io, [
|
|
104
104
|
g(K, {
|
|
105
105
|
icon: "exclamation-triangle",
|
|
@@ -111,14 +111,14 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
111
111
|
])
|
|
112
112
|
]),
|
|
113
113
|
a("li", null, [
|
|
114
|
-
a("span", null,
|
|
115
|
-
a("b", null,
|
|
114
|
+
a("span", null, v(o(l)("booking.reservation.nights")), 1),
|
|
115
|
+
a("b", null, v(o(Ze)(o(C), o(H))) + " " + v(o(dt)(o(Ze)(o(C), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
|
|
116
116
|
]),
|
|
117
117
|
o(k) ? (c(!0), f(E, { key: 1 }, F(o(k), (L) => (c(), f("li", {
|
|
118
118
|
key: L.id
|
|
119
119
|
}, [
|
|
120
|
-
a("span", null,
|
|
121
|
-
a("b", null,
|
|
120
|
+
a("span", null, v(`${o(l)("general.discountCode")} (${L.value})`), 1),
|
|
121
|
+
a("b", null, v(L.key), 1)
|
|
122
122
|
]))), 128)) : _("", !0)
|
|
123
123
|
]),
|
|
124
124
|
"price-summary": $(() => [
|
|
@@ -128,60 +128,60 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
128
128
|
variants: Le
|
|
129
129
|
}) => (c(), f("div", { key: L }, [
|
|
130
130
|
a("h6", null, [
|
|
131
|
-
a("span", null,
|
|
131
|
+
a("span", null, v(ge), 1)
|
|
132
132
|
]),
|
|
133
133
|
(c(!0), f(E, null, F(Le, (he, Ue) => (c(), f("div", { key: Ue }, [
|
|
134
134
|
(c(!0), f(E, null, F(he.rooms, (ae, Re) => (c(), f("ul", { key: Re }, [
|
|
135
135
|
a("li", null, [
|
|
136
136
|
a("span", null, [
|
|
137
137
|
a("span", null, [
|
|
138
|
-
|
|
138
|
+
Ye(v(o(re)(he.name)) + " ( ", 1),
|
|
139
139
|
g(K, {
|
|
140
140
|
icon: "male",
|
|
141
141
|
type: "fas",
|
|
142
142
|
color: "font"
|
|
143
143
|
}),
|
|
144
|
-
a("span", null,
|
|
144
|
+
a("span", null, v(ae.adultsCount), 1),
|
|
145
145
|
ae.childrenCount > 0 ? (c(), f(E, { key: 0 }, [
|
|
146
146
|
g(K, {
|
|
147
147
|
icon: "child",
|
|
148
148
|
type: "fas",
|
|
149
149
|
color: "font"
|
|
150
150
|
}),
|
|
151
|
-
a("span", null,
|
|
151
|
+
a("span", null, v(ae.childrenCount), 1)
|
|
152
152
|
], 64)) : _("", !0),
|
|
153
|
-
|
|
153
|
+
Ye(") ")
|
|
154
154
|
])
|
|
155
155
|
]),
|
|
156
156
|
a("b", null, [
|
|
157
|
-
a("span", null,
|
|
157
|
+
a("span", null, v(o(te)(ae.totalPrice, o(u))), 1),
|
|
158
158
|
_("", !0)
|
|
159
159
|
])
|
|
160
160
|
]),
|
|
161
|
-
|
|
162
|
-
a("span", null,
|
|
163
|
-
a("b", null,
|
|
161
|
+
ye(ae.roomAddons) > 0 ? (c(), f("li", Bo, [
|
|
162
|
+
a("span", null, v(o(l)("general.addons")), 1),
|
|
163
|
+
a("b", null, v(o(te)(ye(ae.roomAddons), o(u))), 1)
|
|
164
164
|
])) : _("", !0)
|
|
165
165
|
]))), 128))
|
|
166
166
|
]))), 128))
|
|
167
167
|
]))), 128)) : _("", !0),
|
|
168
168
|
o(I) && o(B) ? (c(), f("div", Eo, [
|
|
169
169
|
a("h6", null, [
|
|
170
|
-
a("span", null,
|
|
170
|
+
a("span", null, v(o(re)(o(B).name)), 1)
|
|
171
171
|
]),
|
|
172
172
|
a("div", null, [
|
|
173
173
|
a("ul", null, [
|
|
174
174
|
a("li", null, [
|
|
175
175
|
a("span", null, [
|
|
176
|
-
a("span", null,
|
|
176
|
+
a("span", null, v(o(re)(o(I).title)), 1)
|
|
177
177
|
]),
|
|
178
178
|
a("b", null, [
|
|
179
|
-
a("span", null,
|
|
179
|
+
a("span", null, v(o(te)(o(I).extraPrice, o(u))), 1)
|
|
180
180
|
])
|
|
181
181
|
]),
|
|
182
182
|
o(me) ? (c(), f("li", Mo, [
|
|
183
|
-
a("span", null,
|
|
184
|
-
a("b", null,
|
|
183
|
+
a("span", null, v(o(l)("general.addons")), 1),
|
|
184
|
+
a("b", null, v(o(te)(o(me), o(u))), 1)
|
|
185
185
|
])) : _("", !0)
|
|
186
186
|
])
|
|
187
187
|
])
|
|
@@ -192,7 +192,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
192
192
|
o(p) ? _("", !0) : (c(), A(De, {
|
|
193
193
|
key: 0,
|
|
194
194
|
modelValue: o(R),
|
|
195
|
-
"onUpdate:modelValue":
|
|
195
|
+
"onUpdate:modelValue": x[0] || (x[0] = (L) => N(R) ? R.value = L : null),
|
|
196
196
|
type: "checkbox",
|
|
197
197
|
name: "newsletter",
|
|
198
198
|
label: o(l)("booking.reservation.newsletterSignUp")
|
|
@@ -200,7 +200,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
200
200
|
o(Be) ? (c(), A(De, {
|
|
201
201
|
key: 1,
|
|
202
202
|
modelValue: o(M),
|
|
203
|
-
"onUpdate:modelValue":
|
|
203
|
+
"onUpdate:modelValue": x[2] || (x[2] = (L) => N(M) ? M.value = L : null),
|
|
204
204
|
type: "checkbox",
|
|
205
205
|
name: "terms"
|
|
206
206
|
}, {
|
|
@@ -213,9 +213,9 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
213
213
|
terms: $(() => [
|
|
214
214
|
a("a", {
|
|
215
215
|
class: "konnectio-accept-terms-link",
|
|
216
|
-
onClick:
|
|
216
|
+
onClick: x[1] || (x[1] = Ce((L) => fe.value = !0, ["prevent"]))
|
|
217
217
|
}, [
|
|
218
|
-
a("span", null,
|
|
218
|
+
a("span", null, v(o(dt)(o(l)("general.termsAndConditions"))), 1)
|
|
219
219
|
])
|
|
220
220
|
]),
|
|
221
221
|
_: 1
|
|
@@ -226,8 +226,8 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
226
226
|
qe(le.$slots, "actions", {}, void 0, !0),
|
|
227
227
|
g(wo, {
|
|
228
228
|
modelValue: fe.value,
|
|
229
|
-
"onUpdate:modelValue":
|
|
230
|
-
description: o(
|
|
229
|
+
"onUpdate:modelValue": x[3] || (x[3] = (L) => fe.value = L),
|
|
230
|
+
description: o(z)
|
|
231
231
|
}, null, 8, ["modelValue", "description"])
|
|
232
232
|
])
|
|
233
233
|
]),
|
|
@@ -237,7 +237,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
237
237
|
_: 3
|
|
238
238
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
239
239
|
}
|
|
240
|
-
}),
|
|
240
|
+
}), ze = /* @__PURE__ */ ce(Uo, [["__scopeId", "data-v-61664f48"]]), Ro = (n) => (bt("data-v-69fe83d8"), n = n(), _t(), n), No = { class: "konnectio-room-config-option" }, Fo = { key: 0 }, Oo = { class: "konnectio-selected-room-config" }, jo = { class: "konnectio-selected-room-config-people" }, Go = { key: 0 }, qo = { class: "konnectio-selected-room-config-price" }, Wo = /* @__PURE__ */ Ro(() => /* @__PURE__ */ a("span", null, null, -1)), Ko = /* @__PURE__ */ Q({
|
|
241
241
|
__name: "RoomConfigField",
|
|
242
242
|
props: {
|
|
243
243
|
modelValue: {},
|
|
@@ -248,7 +248,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
248
248
|
},
|
|
249
249
|
emits: ["update:modelValue"],
|
|
250
250
|
setup(n, { emit: l }) {
|
|
251
|
-
const { t } = ne(), { currency: e } =
|
|
251
|
+
const { t } = ne(), { currency: e } = Z(_e()), i = l, s = n;
|
|
252
252
|
function m(u) {
|
|
253
253
|
i("update:modelValue", u);
|
|
254
254
|
}
|
|
@@ -277,17 +277,17 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
277
277
|
type: "fas",
|
|
278
278
|
color: "font"
|
|
279
279
|
}),
|
|
280
|
-
a("span", null,
|
|
280
|
+
a("span", null, v(`${d.adults}`), 1),
|
|
281
281
|
d.children > 0 ? (c(), f("span", Fo, [
|
|
282
282
|
g(K, {
|
|
283
283
|
icon: "child",
|
|
284
284
|
type: "fas",
|
|
285
285
|
color: "font"
|
|
286
286
|
}),
|
|
287
|
-
a("span", null,
|
|
287
|
+
a("span", null, v(`${d.children}`), 1)
|
|
288
288
|
])) : _("", !0)
|
|
289
289
|
]),
|
|
290
|
-
a("span", null,
|
|
290
|
+
a("span", null, v(`(${o(te)(d.price, o(e))})`), 1)
|
|
291
291
|
])
|
|
292
292
|
]),
|
|
293
293
|
"selected-option": $(({ data: d }) => [
|
|
@@ -295,24 +295,24 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
295
295
|
a("div", jo, [
|
|
296
296
|
a("div", null, [
|
|
297
297
|
_("", !0),
|
|
298
|
-
a("span", null,
|
|
298
|
+
a("span", null, v(`${d.adults} ${d.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
|
|
299
299
|
]),
|
|
300
300
|
d.children > 0 ? (c(), f("div", Go, [
|
|
301
301
|
_("", !0),
|
|
302
|
-
a("span", null,
|
|
302
|
+
a("span", null, v(`& ${d.children} ${d.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
|
|
303
303
|
])) : _("", !0)
|
|
304
304
|
]),
|
|
305
305
|
a("div", qo, [
|
|
306
306
|
Wo,
|
|
307
|
-
|
|
307
|
+
Ye(" " + v(`(${o(te)(d.price, o(e))})`), 1)
|
|
308
308
|
])
|
|
309
309
|
])
|
|
310
310
|
]),
|
|
311
311
|
_: 1
|
|
312
312
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
313
313
|
}
|
|
314
|
-
}),
|
|
315
|
-
const
|
|
314
|
+
}), xo = /* @__PURE__ */ ce(Ko, [["__scopeId", "data-v-69fe83d8"]]), zo = { class: "konnectio-availability-listing-selection" }, Jo = { key: 1 }, Yo = { class: "konnectio-listing-config-body" }, Zo = { class: "konnectio-listing-units-body" };
|
|
315
|
+
const Qo = /* @__PURE__ */ Q({
|
|
316
316
|
__name: "Hotel",
|
|
317
317
|
props: {
|
|
318
318
|
room: {},
|
|
@@ -330,7 +330,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
330
330
|
const s = G(() => t.room.rates.map((k) => ({
|
|
331
331
|
label: k.name,
|
|
332
332
|
value: k.id
|
|
333
|
-
}))), { hideAvailableRoomAmount: m } =
|
|
333
|
+
}))), { hideAvailableRoomAmount: m } = Z(_e()), { roomSelect: p } = Z(pe()), { addToCart: u, removeFromCart: r } = Vt(), d = (k, C) => t.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === C), h = G(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, C) => d(k, C) ? d(k, C)?.rooms : null, P = (k) => t.room.rates.length > 0 ? t.room.rates.find((C) => C.id === k)?.occupantRates.map((C) => ({
|
|
334
334
|
value: C.index,
|
|
335
335
|
price: C.totalPrice,
|
|
336
336
|
adults: C.adultsCount,
|
|
@@ -360,13 +360,13 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
360
360
|
const B = G(() => JSON.parse(JSON.stringify(e.value)));
|
|
361
361
|
return Pe(B, (k, C) => {
|
|
362
362
|
C.length > 0 && k.forEach((H, O) => {
|
|
363
|
-
H.config.forEach((j,
|
|
364
|
-
const R = j.units,
|
|
365
|
-
R !==
|
|
363
|
+
H.config.forEach((j, Y) => {
|
|
364
|
+
const R = j.units, z = C[O].config[Y].units;
|
|
365
|
+
R !== z && (R > z ? (e.value[O].config[Y].addons.push({}), u({
|
|
366
366
|
id: t.room.id,
|
|
367
367
|
name: t.room.title,
|
|
368
368
|
value: t.room.rates[O].rackRate
|
|
369
|
-
})) : (e.value[O].config[
|
|
369
|
+
})) : (e.value[O].config[Y].addons.pop(), r({
|
|
370
370
|
id: t.room.id,
|
|
371
371
|
name: t.room.title,
|
|
372
372
|
value: t.room.rates[O].rackRate
|
|
@@ -387,7 +387,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
387
387
|
"includes-breakfast": h.value
|
|
388
388
|
}, {
|
|
389
389
|
action: $(() => [
|
|
390
|
-
a("div",
|
|
390
|
+
a("div", zo, [
|
|
391
391
|
(c(!0), f(E, null, F(e.value, (H, O) => (c(), f("div", {
|
|
392
392
|
key: H.id,
|
|
393
393
|
class: "freshbooking-hotel-room"
|
|
@@ -404,31 +404,31 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
404
404
|
H.id ? (c(), f("div", Jo, [
|
|
405
405
|
(c(!0), f(E, null, F(k.room.rates, ({
|
|
406
406
|
id: j,
|
|
407
|
-
maximumOccupants:
|
|
407
|
+
maximumOccupants: Y
|
|
408
408
|
}) => (c(), f("div", {
|
|
409
409
|
key: j,
|
|
410
410
|
class: "konnectio-listing-action-selective-i"
|
|
411
411
|
}, [
|
|
412
|
-
H.id === j ? (c(!0), f(E, { key: 0 }, F(H.config, (R,
|
|
413
|
-
key:
|
|
412
|
+
H.id === j ? (c(!0), f(E, { key: 0 }, F(H.config, (R, z) => (c(), f("div", {
|
|
413
|
+
key: z,
|
|
414
414
|
class: "konnectio-listing-action-selective"
|
|
415
415
|
}, [
|
|
416
|
-
a("ul",
|
|
417
|
-
g(
|
|
416
|
+
a("ul", Yo, [
|
|
417
|
+
g(xo, {
|
|
418
418
|
modelValue: R.id,
|
|
419
|
-
"onUpdate:modelValue": (
|
|
419
|
+
"onUpdate:modelValue": (X) => R.id = X,
|
|
420
420
|
icon: "male",
|
|
421
421
|
"icon-type": "fas",
|
|
422
422
|
label: o(l)("general.guests"),
|
|
423
|
-
description: `${o(l)("general.maximumGuests")}: ${
|
|
423
|
+
description: `${o(l)("general.maximumGuests")}: ${Y}`,
|
|
424
424
|
options: P(j),
|
|
425
425
|
readonly: !(P(j).length > 1)
|
|
426
426
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
427
427
|
]),
|
|
428
|
-
a("ul",
|
|
429
|
-
g(
|
|
428
|
+
a("ul", Zo, [
|
|
429
|
+
g(Qe, {
|
|
430
430
|
modelValue: R.units,
|
|
431
|
-
"onUpdate:modelValue": (
|
|
431
|
+
"onUpdate:modelValue": (X) => R.units = X,
|
|
432
432
|
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, R.id)}`,
|
|
433
433
|
icon: "house",
|
|
434
434
|
"icon-type": "fas",
|
|
@@ -448,7 +448,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
448
448
|
_: 1
|
|
449
449
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
450
450
|
}
|
|
451
|
-
}),
|
|
451
|
+
}), Xo = /* @__PURE__ */ ce(Qo, [["__scopeId", "data-v-090cdca2"]]), el = { class: "konnectio-template-side-panel" }, tl = { class: "konnectio-template-side-panel-listings" }, ol = /* @__PURE__ */ Q({
|
|
452
452
|
__name: "Template",
|
|
453
453
|
props: {
|
|
454
454
|
title: {},
|
|
@@ -458,7 +458,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
458
458
|
callback: { type: Function }
|
|
459
459
|
},
|
|
460
460
|
setup(n) {
|
|
461
|
-
const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } =
|
|
461
|
+
const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(pe()), { currency: s } = Z(_e()), { clearRoomSelection: m } = pe(), p = n, u = oe(!0), r = G(() => {
|
|
462
462
|
function h(V, P) {
|
|
463
463
|
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
464
464
|
}
|
|
@@ -508,7 +508,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
508
508
|
_: 1
|
|
509
509
|
}, 8, ["title", "subtitle"]));
|
|
510
510
|
}
|
|
511
|
-
}), Ct = /* @__PURE__ */ ce(ol, [["__scopeId", "data-v-35a96ba4"]]), ll = ["innerHTML"], nl = { class: "konnectio-template-select-package" }, al = /* @__PURE__ */
|
|
511
|
+
}), Ct = /* @__PURE__ */ ce(ol, [["__scopeId", "data-v-35a96ba4"]]), ll = ["innerHTML"], nl = { class: "konnectio-template-select-package" }, al = /* @__PURE__ */ Q({
|
|
512
512
|
__name: "Template",
|
|
513
513
|
props: {
|
|
514
514
|
id: {},
|
|
@@ -579,7 +579,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
579
579
|
_: 1
|
|
580
580
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
581
581
|
}
|
|
582
|
-
}), il = ["innerHTML"], sl = { class: "konnectio-special-offer-availability" }, rl = { class: "konnectio-special-offer-availability-button" }, dl = /* @__PURE__ */
|
|
582
|
+
}), il = ["innerHTML"], sl = { class: "konnectio-special-offer-availability" }, rl = { class: "konnectio-special-offer-availability-button" }, dl = /* @__PURE__ */ Q({
|
|
583
583
|
__name: "SpecialOffer",
|
|
584
584
|
props: {
|
|
585
585
|
id: {},
|
|
@@ -593,7 +593,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
593
593
|
callback: { type: Function }
|
|
594
594
|
},
|
|
595
595
|
setup(n) {
|
|
596
|
-
const { t: l } = ne(), { updateDates: t } = be(), e = n, i = oe([]), s = G(() =>
|
|
596
|
+
const { t: l } = ne(), { updateDates: t } = be(), e = n, i = oe([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
|
|
597
597
|
large: e.image.url,
|
|
598
598
|
medium: e.image.url,
|
|
599
599
|
thumb: e.image.url,
|
|
@@ -662,7 +662,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
662
662
|
_: 1
|
|
663
663
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
664
664
|
}
|
|
665
|
-
}), mt = /* @__PURE__ */
|
|
665
|
+
}), mt = /* @__PURE__ */ Q({
|
|
666
666
|
__name: "TimeField",
|
|
667
667
|
props: {
|
|
668
668
|
modelValue: {},
|
|
@@ -709,7 +709,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
709
709
|
readonly: m.readonly
|
|
710
710
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
711
711
|
}
|
|
712
|
-
}), ul = { style: { display: "flex", "align-items": "baseline" } }, cl = /* @__PURE__ */
|
|
712
|
+
}), ul = { style: { display: "flex", "align-items": "baseline" } }, cl = /* @__PURE__ */ Q({
|
|
713
713
|
__name: "CountryField",
|
|
714
714
|
props: {
|
|
715
715
|
modelValue: {},
|
|
@@ -743,20 +743,20 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
743
743
|
a("i", {
|
|
744
744
|
class: Ae(["konnectio-flag-icon", r.iso])
|
|
745
745
|
}, null, 2),
|
|
746
|
-
a("span", null,
|
|
746
|
+
a("span", null, v(r.name), 1)
|
|
747
747
|
]),
|
|
748
748
|
"selected-option": $(({ data: r }) => [
|
|
749
749
|
a("div", ul, [
|
|
750
750
|
a("i", {
|
|
751
751
|
class: Ae(["konnectio-flag-icon", r.iso])
|
|
752
752
|
}, null, 2),
|
|
753
|
-
a("span", null,
|
|
753
|
+
a("span", null, v(r.name), 1)
|
|
754
754
|
])
|
|
755
755
|
]),
|
|
756
756
|
_: 1
|
|
757
757
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
758
758
|
}
|
|
759
|
-
}), pl = /* @__PURE__ */ ce(cl, [["__scopeId", "data-v-1462612d"]]), ml = /* @__PURE__ */
|
|
759
|
+
}), pl = /* @__PURE__ */ ce(cl, [["__scopeId", "data-v-1462612d"]]), ml = /* @__PURE__ */ Q({
|
|
760
760
|
__name: "NameField",
|
|
761
761
|
props: {
|
|
762
762
|
modelValue: {},
|
|
@@ -788,7 +788,7 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
788
788
|
const { t: u } = ne();
|
|
789
789
|
return tt(() => {
|
|
790
790
|
t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
|
|
791
|
-
}), (r, d) => (c(), A(
|
|
791
|
+
}), (r, d) => (c(), A(ro, {
|
|
792
792
|
label: r.label,
|
|
793
793
|
id: o(i),
|
|
794
794
|
required: r.required,
|
|
@@ -860,20 +860,20 @@ const Yo = /* @__PURE__ */ Y({
|
|
|
860
860
|
_: 1
|
|
861
861
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
862
862
|
}
|
|
863
|
-
}), fl = /* @__PURE__ */ ce(ml, [["__scopeId", "data-v-78b0b319"]]), hl = { class: "hotel-skeleton" },
|
|
863
|
+
}), fl = /* @__PURE__ */ ce(ml, [["__scopeId", "data-v-78b0b319"]]), hl = { class: "hotel-skeleton" }, vl = { class: "hotel-skeleton-content" }, yl = { class: "hotel-skeleton-sidebar" }, gl = /* @__PURE__ */ Q({
|
|
864
864
|
__name: "HotelSkeleton",
|
|
865
865
|
setup(n) {
|
|
866
866
|
return (l, t) => (c(), f("div", hl, [
|
|
867
|
-
a("div", yl, [
|
|
868
|
-
g(To, { hotel: "" }),
|
|
869
|
-
g(yo)
|
|
870
|
-
]),
|
|
871
867
|
a("div", vl, [
|
|
868
|
+
g(To, { hotel: "" }),
|
|
872
869
|
g(vo)
|
|
870
|
+
]),
|
|
871
|
+
a("div", yl, [
|
|
872
|
+
g(yo)
|
|
873
873
|
])
|
|
874
874
|
]));
|
|
875
875
|
}
|
|
876
|
-
}), kl = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (bt("data-v-
|
|
876
|
+
}), kl = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (bt("data-v-b70d2572"), n = n(), _t(), n), bl = { id: "booking-availability-container" }, _l = { id: "booking-availability-controls" };
|
|
877
877
|
const Vl = { key: 1 }, Tl = { key: 0 }, $l = {
|
|
878
878
|
key: 0,
|
|
879
879
|
id: "booking-availability-packages"
|
|
@@ -910,20 +910,20 @@ const Nl = {
|
|
|
910
910
|
const jl = { class: "konnectio-event-addons-price" }, Gl = { key: 1 }, ql = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Wl = { class: "konnectio-hotel-addons-option" }, Kl = {
|
|
911
911
|
key: 1,
|
|
912
912
|
id: "konnectio-hotel-addons"
|
|
913
|
-
},
|
|
914
|
-
const
|
|
913
|
+
}, xl = { class: "konnectio-table with-lines" };
|
|
914
|
+
const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Yl = { class: "konnectio-hotel-addons-option" }, Zl = ["onClick"], Ql = { class: "konnectio-panel" }, Xl = { key: 0 }, en = { key: 1 }, tn = { class: "konnectio-split-inputs" }, on = ["onClick"], ln = /* @__PURE__ */ Q({
|
|
915
915
|
name: "HotelLayout",
|
|
916
916
|
__name: "Hotel",
|
|
917
917
|
props: {
|
|
918
918
|
accessToken: {},
|
|
919
|
-
headerLayout: { default:
|
|
919
|
+
headerLayout: { default: uo.Minimal },
|
|
920
920
|
onlyShow: { default: "everything" },
|
|
921
921
|
hideAddons: { default: "no" },
|
|
922
922
|
selectedLocation: {},
|
|
923
923
|
styling: {}
|
|
924
924
|
},
|
|
925
925
|
setup(n) {
|
|
926
|
-
const l = eo(() => import("./_-
|
|
926
|
+
const l = eo(() => import("./_-DpyfRShv.js")), t = n, { t: e } = ne(), {
|
|
927
927
|
templateID: i,
|
|
928
928
|
templateAddons: s,
|
|
929
929
|
countries: m,
|
|
@@ -942,24 +942,24 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
942
942
|
city: H,
|
|
943
943
|
address: O,
|
|
944
944
|
country: j,
|
|
945
|
-
remark:
|
|
945
|
+
remark: Y,
|
|
946
946
|
allergies: R,
|
|
947
|
-
roomSelect:
|
|
948
|
-
roomDisplay:
|
|
947
|
+
roomSelect: z,
|
|
948
|
+
roomDisplay: X,
|
|
949
949
|
hasValidRoomSelection: Be,
|
|
950
950
|
availabilityData: M,
|
|
951
951
|
selectionHasNoAddons: me,
|
|
952
|
-
isAvailabilityDataAvailable:
|
|
952
|
+
isAvailabilityDataAvailable: ve,
|
|
953
953
|
getSelectedPackageRoom: Ve,
|
|
954
954
|
selectedPackage: Ee,
|
|
955
955
|
isSearchOutdated: Me
|
|
956
|
-
} =
|
|
956
|
+
} = Z(pe()), {
|
|
957
957
|
adults: fe,
|
|
958
|
-
children:
|
|
958
|
+
children: ye,
|
|
959
959
|
location: le,
|
|
960
|
-
arrivalDate:
|
|
960
|
+
arrivalDate: x,
|
|
961
961
|
departureDate: L
|
|
962
|
-
} =
|
|
962
|
+
} = Z(be()), { isValidHotelId: ge, updateDates: Le } = be(), {
|
|
963
963
|
currency: he,
|
|
964
964
|
arrivalEarliest: Ue,
|
|
965
965
|
arrivalLatest: ae,
|
|
@@ -976,7 +976,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
976
976
|
hasPaymentGateway: Ut,
|
|
977
977
|
maxAdultAmount: at,
|
|
978
978
|
maxChildAmount: it
|
|
979
|
-
} =
|
|
979
|
+
} = Z(_e()), { beginCheckout: Rt } = Vt(), { display: Oe } = co(), {
|
|
980
980
|
resetTemplate: Nt,
|
|
981
981
|
resetDiscountVoucher: Ft,
|
|
982
982
|
createReservation: Ot,
|
|
@@ -1006,30 +1006,30 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1006
1006
|
}), Kt = G(() => [[
|
|
1007
1007
|
parseInt(Ue.value.split(":")[0]),
|
|
1008
1008
|
parseInt(ae.value.split(":")[0])
|
|
1009
|
-
]]),
|
|
1009
|
+
]]), xt = G(() => [[
|
|
1010
1010
|
parseInt(Re.value.split(":")[0]),
|
|
1011
1011
|
parseInt(nt.value.split(":")[0])
|
|
1012
1012
|
]]);
|
|
1013
1013
|
function rt(b) {
|
|
1014
1014
|
t.hideAddons === "yes" || me.value ? b(2) : b(), Ft();
|
|
1015
1015
|
}
|
|
1016
|
-
async function
|
|
1016
|
+
async function zt(b) {
|
|
1017
1017
|
await Ot(b);
|
|
1018
1018
|
}
|
|
1019
1019
|
function Jt(b) {
|
|
1020
1020
|
St.value && Rt(), t.hideAddons === "yes" || me.value ? b(2) : b();
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1023
|
-
const b =
|
|
1022
|
+
function Yt() {
|
|
1023
|
+
const b = mo("hash-params", {
|
|
1024
1024
|
removeNullishValues: !0
|
|
1025
|
-
}), T = parseInt(b.adults), q = parseInt(b.children), D = parseInt(b.hId),
|
|
1026
|
-
if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, b.adults = void 0), isNaN(q) || (q > it.value ?
|
|
1025
|
+
}), T = parseInt(b.adults), q = parseInt(b.children), D = parseInt(b.hId), y = b.checkin, W = b.checkout, U = b.roomGroupId;
|
|
1026
|
+
if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, b.adults = void 0), isNaN(q) || (q > it.value ? ye.value = it.value : ye.value = q, b.children = void 0), isNaN(D) || (ge(D) ? (le.value = D, b.hId = void 0) : Oe({
|
|
1027
1027
|
message: e("alert.error.hotelIdNotFound"),
|
|
1028
1028
|
type: "error"
|
|
1029
|
-
})),
|
|
1030
|
-
if (pt(
|
|
1031
|
-
const ee = new Date(
|
|
1032
|
-
ee <= J ? (
|
|
1029
|
+
})), y && W)
|
|
1030
|
+
if (pt(y) && pt(W)) {
|
|
1031
|
+
const ee = new Date(y), J = new Date(W);
|
|
1032
|
+
ee <= J ? (x.value = ee, L.value = J, b.checkin = void 0, b.checkout = void 0) : Oe({
|
|
1033
1033
|
message: e("alert.error.invalidDateRange"),
|
|
1034
1034
|
type: "error"
|
|
1035
1035
|
});
|
|
@@ -1041,9 +1041,9 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1041
1041
|
let S = null;
|
|
1042
1042
|
U && (S = U), st(S);
|
|
1043
1043
|
}
|
|
1044
|
-
return (b, T) => (c(), A(
|
|
1044
|
+
return (b, T) => (c(), A(po, { styling: b.styling }, {
|
|
1045
1045
|
default: $(() => [
|
|
1046
|
-
(c(), A(
|
|
1046
|
+
(c(), A(Xt, { onResolve: Yt }, {
|
|
1047
1047
|
default: $(() => [
|
|
1048
1048
|
g(o(l), {
|
|
1049
1049
|
id: "konnectio-hotel-module",
|
|
@@ -1056,7 +1056,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1056
1056
|
onReset: o(Nt)
|
|
1057
1057
|
}, {
|
|
1058
1058
|
availability: $(({ next: q }) => [
|
|
1059
|
-
g(
|
|
1059
|
+
g(ze, null, {
|
|
1060
1060
|
form: $(() => [
|
|
1061
1061
|
a("div", bl, [
|
|
1062
1062
|
a("div", _l, [
|
|
@@ -1066,7 +1066,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1066
1066
|
}, null, 8, ["selected-location"])
|
|
1067
1067
|
]),
|
|
1068
1068
|
_("", !0),
|
|
1069
|
-
!o(p) && o(
|
|
1069
|
+
!o(p) && o(ve) ? (c(), f("div", Vl, [
|
|
1070
1070
|
o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", Tl, [
|
|
1071
1071
|
o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", $l, [
|
|
1072
1072
|
b.onlyShow !== "packages" ? (c(), f("h2", wl, [
|
|
@@ -1075,12 +1075,12 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1075
1075
|
type: "fal",
|
|
1076
1076
|
color: "header"
|
|
1077
1077
|
}),
|
|
1078
|
-
a("span", null,
|
|
1078
|
+
a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
|
|
1079
1079
|
])) : _("", !0),
|
|
1080
1080
|
a("ul", Cl, [
|
|
1081
1081
|
(c(!0), f(E, null, F(o(M).templates, ({
|
|
1082
1082
|
id: D,
|
|
1083
|
-
name:
|
|
1083
|
+
name: y,
|
|
1084
1084
|
templateRoomGroups: W,
|
|
1085
1085
|
image: U,
|
|
1086
1086
|
description: S,
|
|
@@ -1089,7 +1089,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1089
1089
|
key: D,
|
|
1090
1090
|
id: D,
|
|
1091
1091
|
description: S,
|
|
1092
|
-
name:
|
|
1092
|
+
name: y,
|
|
1093
1093
|
image: U,
|
|
1094
1094
|
weekendFee: ee,
|
|
1095
1095
|
"room-groups": W,
|
|
@@ -1105,12 +1105,12 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1105
1105
|
type: "fal",
|
|
1106
1106
|
color: "header"
|
|
1107
1107
|
}),
|
|
1108
|
-
a("span", null,
|
|
1108
|
+
a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
|
|
1109
1109
|
])) : _("", !0),
|
|
1110
1110
|
a("ul", Dl, [
|
|
1111
|
-
(c(!0), f(E, null, F(Wt.value, (D,
|
|
1111
|
+
(c(!0), f(E, null, F(Wt.value, (D, y) => (c(), A(Xo, {
|
|
1112
1112
|
room: D,
|
|
1113
|
-
key:
|
|
1113
|
+
key: y
|
|
1114
1114
|
}, null, 8, ["room"]))), 128))
|
|
1115
1115
|
])
|
|
1116
1116
|
])) : _("", !0),
|
|
@@ -1121,12 +1121,12 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1121
1121
|
type: "fal",
|
|
1122
1122
|
color: "header"
|
|
1123
1123
|
}),
|
|
1124
|
-
a("span", null,
|
|
1124
|
+
a("span", null, v(o(e)("hotel.specialOffers")), 1)
|
|
1125
1125
|
])) : _("", !0),
|
|
1126
1126
|
a("ul", Il, [
|
|
1127
1127
|
(c(!0), f(E, null, F(o(M).specialTemplates, ({
|
|
1128
1128
|
id: D,
|
|
1129
|
-
name:
|
|
1129
|
+
name: y,
|
|
1130
1130
|
templateRoomGroups: W,
|
|
1131
1131
|
image: U,
|
|
1132
1132
|
description: S,
|
|
@@ -1137,7 +1137,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1137
1137
|
key: D,
|
|
1138
1138
|
id: D,
|
|
1139
1139
|
description: S,
|
|
1140
|
-
name:
|
|
1140
|
+
name: y,
|
|
1141
1141
|
image: U,
|
|
1142
1142
|
fromDate: J,
|
|
1143
1143
|
toDate: je,
|
|
@@ -1148,10 +1148,10 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1148
1148
|
])
|
|
1149
1149
|
])) : _("", !0),
|
|
1150
1150
|
(o(M).templates.length === 0 && b.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Bl, [
|
|
1151
|
-
a("span", null,
|
|
1151
|
+
a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1152
1152
|
])) : _("", !0)
|
|
1153
1153
|
])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", El, [
|
|
1154
|
-
a("span", null,
|
|
1154
|
+
a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1155
1155
|
])) : (c(), f("div", Ml, [
|
|
1156
1156
|
a("h2", Ll, [
|
|
1157
1157
|
g(K, {
|
|
@@ -1159,14 +1159,14 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1159
1159
|
type: "fal",
|
|
1160
1160
|
color: "header"
|
|
1161
1161
|
}),
|
|
1162
|
-
a("span", null,
|
|
1162
|
+
a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
|
|
1163
1163
|
]),
|
|
1164
1164
|
a("ul", Ul, [
|
|
1165
|
-
(c(!0), f(E, null, F(o(M).nextAvailableDates, (D,
|
|
1165
|
+
(c(!0), f(E, null, F(o(M).nextAvailableDates, (D, y) => (c(), f("li", { key: y }, [
|
|
1166
1166
|
a("h3", {
|
|
1167
1167
|
title: `${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`
|
|
1168
1168
|
}, [
|
|
1169
|
-
a("span", null,
|
|
1169
|
+
a("span", null, v(`${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`), 1)
|
|
1170
1170
|
], 8, Rl),
|
|
1171
1171
|
a("ul", null, [
|
|
1172
1172
|
_("", !0),
|
|
@@ -1176,7 +1176,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1176
1176
|
type: "fal",
|
|
1177
1177
|
color: "header"
|
|
1178
1178
|
}),
|
|
1179
|
-
a("span", null,
|
|
1179
|
+
a("span", null, v(o(e)("booking.availability.pricesFrom")) + ": " + v(o(te)(D.priceStartFrom, o(he))), 1)
|
|
1180
1180
|
])
|
|
1181
1181
|
]),
|
|
1182
1182
|
g(de, {
|
|
@@ -1188,9 +1188,9 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1188
1188
|
])
|
|
1189
1189
|
]))
|
|
1190
1190
|
])) : (c(), f("div", Nl, [
|
|
1191
|
-
g(
|
|
1192
|
-
g(
|
|
1193
|
-
g(
|
|
1191
|
+
g(xe),
|
|
1192
|
+
g(xe),
|
|
1193
|
+
g(xe)
|
|
1194
1194
|
]))
|
|
1195
1195
|
])
|
|
1196
1196
|
]),
|
|
@@ -1213,22 +1213,22 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1213
1213
|
}, 1024)
|
|
1214
1214
|
]),
|
|
1215
1215
|
addons: $(({ next: q, prev: D }) => [
|
|
1216
|
-
o(
|
|
1216
|
+
o(ve) ? (c(), A(ze, { key: 0 }, {
|
|
1217
1217
|
form: $(() => [
|
|
1218
1218
|
a("form", Fl, [
|
|
1219
1219
|
a("h2", null, [
|
|
1220
|
-
a("span", null,
|
|
1220
|
+
a("span", null, v(o(e)("booking.reservation.addons")), 1)
|
|
1221
1221
|
]),
|
|
1222
1222
|
a("div", null, [
|
|
1223
1223
|
isNaN(o(i)) ? (c(), f("div", Ol, [
|
|
1224
|
-
(c(!0), f(E, null, F(o(
|
|
1225
|
-
key:
|
|
1224
|
+
(c(!0), f(E, null, F(o(X), (y) => (c(), f("ul", {
|
|
1225
|
+
key: y.roomGroupID
|
|
1226
1226
|
}, [
|
|
1227
|
-
(c(!0), f(E, null, F(
|
|
1227
|
+
(c(!0), f(E, null, F(y.variants, (W, U) => (c(), f("li", {
|
|
1228
1228
|
key: W.ratePlanID
|
|
1229
1229
|
}, [
|
|
1230
1230
|
a("h4", null, [
|
|
1231
|
-
a("span", null,
|
|
1231
|
+
a("span", null, v(o(re)(y.title)), 1)
|
|
1232
1232
|
]),
|
|
1233
1233
|
(c(!0), f(E, null, F(W.rooms, (S, ee) => (c(), f("table", {
|
|
1234
1234
|
key: ee,
|
|
@@ -1237,7 +1237,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1237
1237
|
a("thead", null, [
|
|
1238
1238
|
a("tr", null, [
|
|
1239
1239
|
a("th", null, [
|
|
1240
|
-
a("span", null,
|
|
1240
|
+
a("span", null, v(o(re)(W.name)), 1)
|
|
1241
1241
|
]),
|
|
1242
1242
|
_("", !0),
|
|
1243
1243
|
a("th", jl, [
|
|
@@ -1247,44 +1247,44 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1247
1247
|
type: "fas",
|
|
1248
1248
|
color: "font"
|
|
1249
1249
|
}),
|
|
1250
|
-
a("span", null,
|
|
1250
|
+
a("span", null, v(S.adultsCount), 1),
|
|
1251
1251
|
S.childrenCount > 0 ? (c(), A(K, {
|
|
1252
1252
|
key: 0,
|
|
1253
1253
|
icon: "child",
|
|
1254
1254
|
type: "fas",
|
|
1255
1255
|
color: "font"
|
|
1256
1256
|
})) : _("", !0),
|
|
1257
|
-
S.childrenCount > 0 ? (c(), f("span", Gl,
|
|
1257
|
+
S.childrenCount > 0 ? (c(), f("span", Gl, v(S.childrenCount), 1)) : _("", !0)
|
|
1258
1258
|
])
|
|
1259
1259
|
])
|
|
1260
1260
|
])
|
|
1261
1261
|
]),
|
|
1262
1262
|
a("tbody", null, [
|
|
1263
|
-
(c(!0), f(E, null, F(
|
|
1263
|
+
(c(!0), f(E, null, F(y.addons, ({
|
|
1264
1264
|
quantityStrategy: J,
|
|
1265
1265
|
maximumNumber: je,
|
|
1266
1266
|
id: ke,
|
|
1267
|
-
name:
|
|
1268
|
-
price:
|
|
1267
|
+
name: Zt,
|
|
1268
|
+
price: Qt
|
|
1269
1269
|
}) => (c(), f("tr", { key: ke }, [
|
|
1270
1270
|
a("td", null, [
|
|
1271
|
-
a("b", null,
|
|
1271
|
+
a("b", null, v(o(re)(Zt)), 1),
|
|
1272
1272
|
ql,
|
|
1273
|
-
a("span", null,
|
|
1273
|
+
a("span", null, v(o(te)(Qt, o(he))) + " " + v(o(ct)(J)), 1)
|
|
1274
1274
|
]),
|
|
1275
1275
|
a("td", Wl, [
|
|
1276
|
-
o(
|
|
1277
|
-
J === 1 || J === 12 ? (c(), A(
|
|
1276
|
+
o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx] ? (c(), f(E, { key: 0 }, [
|
|
1277
|
+
J === 1 || J === 12 ? (c(), A(Qe, {
|
|
1278
1278
|
key: 0,
|
|
1279
|
-
modelValue: o(
|
|
1280
|
-
"onUpdate:modelValue": (Ge) => o(
|
|
1279
|
+
modelValue: o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
|
|
1280
|
+
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
|
|
1281
1281
|
small: !0,
|
|
1282
1282
|
"min-value": 0,
|
|
1283
1283
|
"max-value": je || 1 / 0
|
|
1284
1284
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(De, {
|
|
1285
1285
|
key: 1,
|
|
1286
|
-
modelValue: o(
|
|
1287
|
-
"onUpdate:modelValue": (Ge) => o(
|
|
1286
|
+
modelValue: o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
|
|
1287
|
+
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
|
|
1288
1288
|
numeric: !0
|
|
1289
1289
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1290
1290
|
], 64)) : _("", !0)
|
|
@@ -1297,33 +1297,33 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1297
1297
|
])) : o(Ve) ? (c(), f("div", Kl, [
|
|
1298
1298
|
a("div", null, [
|
|
1299
1299
|
a("h4", null, [
|
|
1300
|
-
a("span", null,
|
|
1300
|
+
a("span", null, v(o(Ee).name), 1)
|
|
1301
1301
|
]),
|
|
1302
|
-
a("table",
|
|
1302
|
+
a("table", xl, [
|
|
1303
1303
|
a("thead", null, [
|
|
1304
1304
|
a("tr", null, [
|
|
1305
1305
|
a("th", null, [
|
|
1306
|
-
a("span", null,
|
|
1306
|
+
a("span", null, v(o(re)(o(Ve).title)), 1)
|
|
1307
1307
|
]),
|
|
1308
1308
|
_("", !0),
|
|
1309
|
-
|
|
1309
|
+
zl
|
|
1310
1310
|
])
|
|
1311
1311
|
]),
|
|
1312
1312
|
a("tbody", null, [
|
|
1313
1313
|
(c(!0), f(E, null, F(o(Ve).addons, ({
|
|
1314
|
-
quantityStrategy:
|
|
1314
|
+
quantityStrategy: y,
|
|
1315
1315
|
maximumNumber: W,
|
|
1316
1316
|
id: U,
|
|
1317
1317
|
name: S,
|
|
1318
1318
|
price: ee
|
|
1319
1319
|
}) => (c(), f("tr", { key: U }, [
|
|
1320
1320
|
a("td", null, [
|
|
1321
|
-
a("b", null,
|
|
1321
|
+
a("b", null, v(o(re)(S)), 1),
|
|
1322
1322
|
Jl,
|
|
1323
|
-
a("span", null,
|
|
1323
|
+
a("span", null, v(o(te)(ee, o(he))) + " " + v(o(ct)(y)), 1)
|
|
1324
1324
|
]),
|
|
1325
|
-
a("td",
|
|
1326
|
-
|
|
1325
|
+
a("td", Yl, [
|
|
1326
|
+
y === 1 || y === 12 ? (c(), A(Qe, {
|
|
1327
1327
|
key: 0,
|
|
1328
1328
|
modelValue: o(s)[U],
|
|
1329
1329
|
"onUpdate:modelValue": (J) => o(s)[U] = J,
|
|
@@ -1353,33 +1353,33 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1353
1353
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1354
1354
|
a("button", {
|
|
1355
1355
|
class: "konnectio-abort-reservation link",
|
|
1356
|
-
onClick: Ce((
|
|
1356
|
+
onClick: Ce((y) => rt(D), ["prevent"])
|
|
1357
1357
|
}, [
|
|
1358
|
-
a("span", null,
|
|
1359
|
-
], 8,
|
|
1358
|
+
a("span", null, v(o(e)("general.goAStepBack")), 1)
|
|
1359
|
+
], 8, Zl)
|
|
1360
1360
|
]),
|
|
1361
1361
|
_: 2
|
|
1362
1362
|
}, 1024)) : _("", !0)
|
|
1363
1363
|
]),
|
|
1364
1364
|
reservation: $(({ next: q, prev: D }) => [
|
|
1365
|
-
o(
|
|
1365
|
+
o(ve) ? (c(), A(ze, {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
"show-terms-notice": !0,
|
|
1368
1368
|
"show-gift-card": !0
|
|
1369
1369
|
}, {
|
|
1370
1370
|
form: $(() => [
|
|
1371
|
-
a("form",
|
|
1371
|
+
a("form", Ql, [
|
|
1372
1372
|
a("h2", null, [
|
|
1373
|
-
a("span", null,
|
|
1373
|
+
a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
|
|
1374
1374
|
]),
|
|
1375
1375
|
!o(It) && !(o(Ne) && o(Fe)) ? (c(), f("ul", {
|
|
1376
1376
|
key: 0,
|
|
1377
1377
|
class: Ae({ "konnectio-split-inputs": !o(Ne) && !o(Fe) })
|
|
1378
1378
|
}, [
|
|
1379
|
-
o(Ne) ? _("", !0) : (c(), f("li",
|
|
1379
|
+
o(Ne) ? _("", !0) : (c(), f("li", Xl, [
|
|
1380
1380
|
g(mt, {
|
|
1381
1381
|
modelValue: o(h),
|
|
1382
|
-
"onUpdate:modelValue": T[2] || (T[2] = (
|
|
1382
|
+
"onUpdate:modelValue": T[2] || (T[2] = (y) => N(h) ? h.value = y : null),
|
|
1383
1383
|
label: o(e)("booking.reservation.arrivalTime"),
|
|
1384
1384
|
icon: "hourglass-start",
|
|
1385
1385
|
"hour-range": Kt.value,
|
|
@@ -1389,19 +1389,19 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1389
1389
|
o(Fe) ? _("", !0) : (c(), f("li", en, [
|
|
1390
1390
|
g(mt, {
|
|
1391
1391
|
modelValue: o(V),
|
|
1392
|
-
"onUpdate:modelValue": T[3] || (T[3] = (
|
|
1392
|
+
"onUpdate:modelValue": T[3] || (T[3] = (y) => N(V) ? V.value = y : null),
|
|
1393
1393
|
label: o(e)("booking.reservation.departureTime"),
|
|
1394
1394
|
icon: "hourglass-end",
|
|
1395
|
-
"hour-range":
|
|
1395
|
+
"hour-range": xt.value,
|
|
1396
1396
|
required: ""
|
|
1397
1397
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1398
1398
|
]))
|
|
1399
1399
|
], 2)) : _("", !0),
|
|
1400
1400
|
g(fl, {
|
|
1401
1401
|
modelValue: o(P),
|
|
1402
|
-
"onUpdate:modelValue": T[4] || (T[4] = (
|
|
1402
|
+
"onUpdate:modelValue": T[4] || (T[4] = (y) => N(P) ? P.value = y : null),
|
|
1403
1403
|
title: o(w),
|
|
1404
|
-
"onUpdate:title": T[5] || (T[5] = (
|
|
1404
|
+
"onUpdate:title": T[5] || (T[5] = (y) => N(w) ? w.value = y : null),
|
|
1405
1405
|
"exclude-title": o(Bt),
|
|
1406
1406
|
label: o(e)("booking.reservation.name"),
|
|
1407
1407
|
icon: "user-alt",
|
|
@@ -1410,7 +1410,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1410
1410
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1411
1411
|
g(se, {
|
|
1412
1412
|
modelValue: o(I),
|
|
1413
|
-
"onUpdate:modelValue": T[6] || (T[6] = (
|
|
1413
|
+
"onUpdate:modelValue": T[6] || (T[6] = (y) => N(I) ? I.value = y : null),
|
|
1414
1414
|
type: "email",
|
|
1415
1415
|
name: "email",
|
|
1416
1416
|
autocomplete: "email",
|
|
@@ -1422,7 +1422,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1422
1422
|
o(Lt) ? _("", !0) : (c(), A(se, {
|
|
1423
1423
|
key: 1,
|
|
1424
1424
|
modelValue: o(k),
|
|
1425
|
-
"onUpdate:modelValue": T[7] || (T[7] = (
|
|
1425
|
+
"onUpdate:modelValue": T[7] || (T[7] = (y) => N(k) ? k.value = y : null),
|
|
1426
1426
|
type: "text",
|
|
1427
1427
|
name: "firm",
|
|
1428
1428
|
autocomplete: "firm",
|
|
@@ -1432,7 +1432,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1432
1432
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1433
1433
|
g(Po, {
|
|
1434
1434
|
modelValue: o(B),
|
|
1435
|
-
"onUpdate:modelValue": T[8] || (T[8] = (
|
|
1435
|
+
"onUpdate:modelValue": T[8] || (T[8] = (y) => N(B) ? B.value = y : null),
|
|
1436
1436
|
icon: "phone-office",
|
|
1437
1437
|
label: o(e)("booking.reservation.phone"),
|
|
1438
1438
|
placeholder: o(e)("booking.reservation.phonePlaceholder"),
|
|
@@ -1440,7 +1440,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1440
1440
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1441
1441
|
g(pl, {
|
|
1442
1442
|
modelValue: o(j),
|
|
1443
|
-
"onUpdate:modelValue": T[9] || (T[9] = (
|
|
1443
|
+
"onUpdate:modelValue": T[9] || (T[9] = (y) => N(j) ? j.value = y : null),
|
|
1444
1444
|
label: o(e)("booking.reservation.country"),
|
|
1445
1445
|
placeholder: o(e)("booking.reservation.countryPlaceholder"),
|
|
1446
1446
|
options: o(m),
|
|
@@ -1448,7 +1448,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1448
1448
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1449
1449
|
g(se, {
|
|
1450
1450
|
modelValue: o(O),
|
|
1451
|
-
"onUpdate:modelValue": T[10] || (T[10] = (
|
|
1451
|
+
"onUpdate:modelValue": T[10] || (T[10] = (y) => N(O) ? O.value = y : null),
|
|
1452
1452
|
type: "textarea",
|
|
1453
1453
|
name: "address",
|
|
1454
1454
|
autocomplete: "street-address",
|
|
@@ -1461,7 +1461,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1461
1461
|
a("li", null, [
|
|
1462
1462
|
g(se, {
|
|
1463
1463
|
modelValue: o(C),
|
|
1464
|
-
"onUpdate:modelValue": T[11] || (T[11] = (
|
|
1464
|
+
"onUpdate:modelValue": T[11] || (T[11] = (y) => N(C) ? C.value = y : null),
|
|
1465
1465
|
type: "text",
|
|
1466
1466
|
name: "postal",
|
|
1467
1467
|
autocomplete: "postal-code",
|
|
@@ -1474,7 +1474,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1474
1474
|
a("li", null, [
|
|
1475
1475
|
g(se, {
|
|
1476
1476
|
modelValue: o(H),
|
|
1477
|
-
"onUpdate:modelValue": T[12] || (T[12] = (
|
|
1477
|
+
"onUpdate:modelValue": T[12] || (T[12] = (y) => N(H) ? H.value = y : null),
|
|
1478
1478
|
type: "text",
|
|
1479
1479
|
name: "city",
|
|
1480
1480
|
autocomplete: "address-level2",
|
|
@@ -1486,8 +1486,8 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1486
1486
|
])
|
|
1487
1487
|
]),
|
|
1488
1488
|
g(se, {
|
|
1489
|
-
modelValue: o(
|
|
1490
|
-
"onUpdate:modelValue": T[13] || (T[13] = (
|
|
1489
|
+
modelValue: o(Y),
|
|
1490
|
+
"onUpdate:modelValue": T[13] || (T[13] = (y) => N(Y) ? Y.value = y : null),
|
|
1491
1491
|
type: "textarea",
|
|
1492
1492
|
label: `${o(e)("booking.reservation.remark")} (${o(e)("booking.reservation.optional")})`,
|
|
1493
1493
|
icon: "info-circle",
|
|
@@ -1495,7 +1495,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1495
1495
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1496
1496
|
g(se, {
|
|
1497
1497
|
modelValue: o(R),
|
|
1498
|
-
"onUpdate:modelValue": T[14] || (T[14] = (
|
|
1498
|
+
"onUpdate:modelValue": T[14] || (T[14] = (y) => N(R) ? R.value = y : null),
|
|
1499
1499
|
type: "textarea",
|
|
1500
1500
|
label: `${o(e)("booking.reservation.allergies")} (${o(e)("booking.reservation.optional")})`,
|
|
1501
1501
|
icon: "allergies",
|
|
@@ -1504,7 +1504,7 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1504
1504
|
o(Et) ? _("", !0) : (c(), A(ko, {
|
|
1505
1505
|
key: 2,
|
|
1506
1506
|
modelValue: o(d),
|
|
1507
|
-
"onUpdate:modelValue": T[15] || (T[15] = (
|
|
1507
|
+
"onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
|
|
1508
1508
|
label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
|
|
1509
1509
|
name: "travelingFor",
|
|
1510
1510
|
checkboxes: qt.value
|
|
@@ -1518,13 +1518,13 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1518
1518
|
disabled: !o(r),
|
|
1519
1519
|
"is-loading": o(u),
|
|
1520
1520
|
"full-width": "",
|
|
1521
|
-
onClickEvent: (
|
|
1521
|
+
onClickEvent: (y) => zt(q)
|
|
1522
1522
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1523
1523
|
a("button", {
|
|
1524
1524
|
class: "konnectio-abort-reservation link",
|
|
1525
|
-
onClick: Ce((
|
|
1525
|
+
onClick: Ce((y) => rt(D), ["prevent"])
|
|
1526
1526
|
}, [
|
|
1527
|
-
a("span", null,
|
|
1527
|
+
a("span", null, v(o(e)("general.goAStepBack")), 1)
|
|
1528
1528
|
], 8, on)
|
|
1529
1529
|
])
|
|
1530
1530
|
]),
|
|
@@ -1554,11 +1554,11 @@ const xl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}, 8, ["styling"]));
|
|
1556
1556
|
}
|
|
1557
|
-
}), Te = /* @__PURE__ */ ce(ln, [["__scopeId", "data-v-
|
|
1558
|
-
function
|
|
1557
|
+
}), Te = /* @__PURE__ */ ce(ln, [["__scopeId", "data-v-b70d2572"]]);
|
|
1558
|
+
function Xe(n, l = {}, t) {
|
|
1559
1559
|
for (const e in n) {
|
|
1560
1560
|
const i = n[e], s = t ? `${t}:${e}` : e;
|
|
1561
|
-
typeof i == "object" && i !== null ?
|
|
1561
|
+
typeof i == "object" && i !== null ? Xe(i, l, s) : typeof i == "function" && (l[s] = i);
|
|
1562
1562
|
}
|
|
1563
1563
|
return l;
|
|
1564
1564
|
}
|
|
@@ -1629,7 +1629,7 @@ class dn {
|
|
|
1629
1629
|
this.deprecateHook(t, l[t]);
|
|
1630
1630
|
}
|
|
1631
1631
|
addHooks(l) {
|
|
1632
|
-
const t =
|
|
1632
|
+
const t = Xe(l), e = Object.keys(t).map(
|
|
1633
1633
|
(i) => this.hook(i, t[i])
|
|
1634
1634
|
);
|
|
1635
1635
|
return () => {
|
|
@@ -1638,7 +1638,7 @@ class dn {
|
|
|
1638
1638
|
};
|
|
1639
1639
|
}
|
|
1640
1640
|
removeHooks(l) {
|
|
1641
|
-
const t =
|
|
1641
|
+
const t = Xe(l);
|
|
1642
1642
|
for (const e in t)
|
|
1643
1643
|
this.removeHook(e, t[e]);
|
|
1644
1644
|
}
|
|
@@ -1735,7 +1735,7 @@ function Dt(n, l) {
|
|
|
1735
1735
|
function ht(n, l) {
|
|
1736
1736
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1737
1737
|
}
|
|
1738
|
-
async function
|
|
1738
|
+
async function vn(n, l, t) {
|
|
1739
1739
|
const e = {
|
|
1740
1740
|
tag: n,
|
|
1741
1741
|
props: await Ht(
|
|
@@ -1750,14 +1750,14 @@ async function yn(n, l, t) {
|
|
|
1750
1750
|
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || pn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
|
|
1751
1751
|
}), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
|
|
1752
1752
|
}
|
|
1753
|
-
function
|
|
1753
|
+
function yn(n, l) {
|
|
1754
1754
|
const t = n === "class" ? " " : ";";
|
|
1755
1755
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), (Array.isArray(l) ? l.join(t) : l)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
|
|
1756
1756
|
}
|
|
1757
1757
|
async function Ht(n, l) {
|
|
1758
1758
|
for (const t of Object.keys(n)) {
|
|
1759
1759
|
if (["class", "style"].includes(t)) {
|
|
1760
|
-
n[t] =
|
|
1760
|
+
n[t] = yn(t, n[t]);
|
|
1761
1761
|
continue;
|
|
1762
1762
|
}
|
|
1763
1763
|
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !At.includes(t)) {
|
|
@@ -1772,14 +1772,14 @@ async function kn(n) {
|
|
|
1772
1772
|
const l = [];
|
|
1773
1773
|
return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && mn.includes(t)).forEach(([t, e]) => {
|
|
1774
1774
|
const i = cn(e);
|
|
1775
|
-
l.push(...i.map((s) =>
|
|
1775
|
+
l.push(...i.map((s) => vn(t, s, n)).flat());
|
|
1776
1776
|
}), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << gn) + e, t));
|
|
1777
1777
|
}
|
|
1778
|
-
const
|
|
1778
|
+
const vt = {
|
|
1779
1779
|
// tags
|
|
1780
1780
|
base: -10,
|
|
1781
1781
|
title: 10
|
|
1782
|
-
},
|
|
1782
|
+
}, yt = {
|
|
1783
1783
|
// relative scores to their default values
|
|
1784
1784
|
critical: -80,
|
|
1785
1785
|
high: -10,
|
|
@@ -1788,7 +1788,7 @@ const yt = {
|
|
|
1788
1788
|
function He(n) {
|
|
1789
1789
|
let l = 100;
|
|
1790
1790
|
const t = n.tagPriority;
|
|
1791
|
-
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in
|
|
1791
|
+
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in vt && (l = vt[n.tag]), typeof t == "string" && t in yt ? l + yt[t] : l);
|
|
1792
1792
|
}
|
|
1793
1793
|
const bn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
1794
1794
|
function we(n, l, t) {
|
|
@@ -2158,8 +2158,8 @@ function Gn(n = {}) {
|
|
|
2158
2158
|
const l = /* @__PURE__ */ Ln(n);
|
|
2159
2159
|
return l.use(Fn), l.install = jn(l), l;
|
|
2160
2160
|
}
|
|
2161
|
-
const qn =
|
|
2162
|
-
class
|
|
2161
|
+
const qn = ao(), Wn = Gn(), Kn = so();
|
|
2162
|
+
class xn extends HTMLElement {
|
|
2163
2163
|
vueApp;
|
|
2164
2164
|
constructor() {
|
|
2165
2165
|
super();
|
|
@@ -2181,13 +2181,13 @@ class zn extends HTMLElement {
|
|
|
2181
2181
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2182
2182
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2183
2183
|
}
|
|
2184
|
-
this.vueApp = lo(Te, s), this.vueApp.provide("emitter", Kn), this.vueApp.use(Wn), this.vueApp.use(qn), this.vueApp.use(_o), this.vueApp.use(
|
|
2184
|
+
this.vueApp = lo(Te, s), this.vueApp.provide("emitter", Kn), this.vueApp.use(Wn), this.vueApp.use(qn), this.vueApp.use(_o), this.vueApp.use(io), this.vueApp.use(Vo), this.vueApp.use(fo, { bootstrap: !0 });
|
|
2185
2185
|
const p = document.createElement("div");
|
|
2186
2186
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
2189
|
-
window.customElements.define("konnectio-hotel",
|
|
2189
|
+
window.customElements.define("konnectio-hotel", xn);
|
|
2190
2190
|
export {
|
|
2191
|
-
|
|
2191
|
+
xn as default
|
|
2192
2192
|
};
|
|
2193
2193
|
//# sourceMappingURL=hotel.js.map
|