@konnectio/core 4.2.31 → 4.2.33
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-cb5L_q_m.js → ActionField-CvNjHq5i.js} +2 -2
- package/dist/ActionField-CvNjHq5i.js.br +0 -0
- package/dist/{AvailabilitySkeleton-c8KufSSw.js → AvailabilitySkeleton-BsbzDYCC.js} +5 -5
- package/dist/AvailabilitySkeleton-BsbzDYCC.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DWUzBkNe.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BuskneD-.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BuskneD-.js.br +0 -0
- package/dist/{CheckoutWindow-DNxxti6E.js → CheckoutWindow-Bz0wAPco.js} +2 -2
- package/dist/CheckoutWindow-Bz0wAPco.js.br +0 -0
- package/dist/{ErrorMessage-dGcwLy2B.js → ErrorMessage-BS_7tN_Y.js} +2 -2
- package/dist/ErrorMessage-BS_7tN_Y.js.br +0 -0
- package/dist/{EventAvailabilityForm-CaKW2Io8.js → EventAvailabilityForm-BAcRATKa.js} +3 -3
- package/dist/EventAvailabilityForm-BAcRATKa.js.br +0 -0
- package/dist/{Field-DYxVeStB.js → Field-D6no6ide.js} +3 -3
- package/dist/Field-D6no6ide.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Diw0tdFa.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DdDWtn5G.js} +2 -2
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DbLKGSNy.js +10938 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DbLKGSNy.js.br +0 -0
- package/dist/{TermsOfService-qsdXXZ8U.js → TermsOfService-NsOSaHd1.js} +3 -3
- package/dist/_-CCLCSy0U.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-C_GYvHtn.js → _.vue_vue_type_style_index_0_lang-DZNvsDyb.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +231 -225
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Dj9kIp9i.js → giftCard-D6HGu5kP.js} +2 -2
- package/dist/giftCard-D6HGu5kP.js.br +0 -0
- package/dist/hotel.js +107 -108
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BAYWTywE.js → masonry.plugin-8VIK6n5s.js} +7 -7
- package/dist/masonry.plugin-8VIK6n5s.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +14 -14
- package/dist/ActionField-cb5L_q_m.js.br +0 -0
- package/dist/AvailabilitySkeleton-c8KufSSw.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DWUzBkNe.js.br +0 -0
- package/dist/CheckoutWindow-DNxxti6E.js.br +0 -0
- package/dist/ErrorMessage-dGcwLy2B.js.br +0 -0
- package/dist/EventAvailabilityForm-CaKW2Io8.js.br +0 -0
- package/dist/Field-DYxVeStB.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BwOLAlKT.js +0 -10583
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BwOLAlKT.js.br +0 -0
- package/dist/_-CX-gTMIr.js +0 -5
- package/dist/giftCard-Dj9kIp9i.js.br +0 -0
- package/dist/masonry.plugin-BAYWTywE.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as U, u as
|
|
1
|
+
import { d as U, u as X, s as z, c as Z, r as Ae, a as p, b as l, g as e, w as m, q as J, e as t, i as d, f as b, n as lt, h as r, t as o, F as I, v as M, o as ot, j as st, x as me, y as it, z as R, A as rt, S as ut, k as dt, _ as ct, l as mt, m as pt, p as vt } from "./mitt-AdJLOdmH.js";
|
|
2
2
|
import { G as bt } from "./style-kldUesWw.js";
|
|
3
|
-
import { a as
|
|
4
|
-
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as Tt, _ as Vt, R as Nt, L as
|
|
6
|
-
import { g as St, e as Rt, c as Mt, n as Ut, a as
|
|
7
|
-
import { C as Gt, P as zt, a as
|
|
8
|
-
import { E as qt } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
3
|
+
import { a as we, f as se, g as K, B as ft, h as le, l as gt, s as G, e as pe, _ as q, I as oe, i as kt, j as ve, u as $e, k as yt, m as ht, n as Dt, o as Q, T as ce, O as Pt, p as $t, q as _e, C as wt, r as Et, t as Ot } from "./SelectField.vue_vue_type_style_index_0_lang-DbLKGSNy.js";
|
|
4
|
+
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-DZNvsDyb.js";
|
|
5
|
+
import { B as Tt, _ as Vt, R as Nt, L as Ie, S as Ft, M as Lt, T as Ct, C as Bt, V as At, a as It } from "./masonry.plugin-8VIK6n5s.js";
|
|
6
|
+
import { g as St, e as Rt, c as Mt, n as Ut, a as Te, m as Ve, b as Ne, d as Fe, f as Le, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BuskneD-.js";
|
|
7
|
+
import { C as Gt, P as zt, a as Ce } from "./CheckoutWindow-Bz0wAPco.js";
|
|
8
|
+
import { E as qt } from "./EventAvailabilityForm-BAcRATKa.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DdDWtn5G.js";
|
|
10
10
|
function Yt(P) {
|
|
11
11
|
return (n) => {
|
|
12
12
|
const k = (P ? Math[P] : Math.trunc)(n);
|
|
@@ -23,9 +23,9 @@ function jt(P, n, a) {
|
|
|
23
23
|
}), [y, h] = Ut(
|
|
24
24
|
a?.in,
|
|
25
25
|
...f > 0 ? [n, P] : [P, n]
|
|
26
|
-
), s = Yt("round"), V = h.getTime() - y.getTime(), $ = V /
|
|
26
|
+
), s = Yt("round"), V = h.getTime() - y.getTime(), $ = V / Le, C = Te(h) - Te(y), _ = (V - C) / Le, O = a?.unit;
|
|
27
27
|
let D;
|
|
28
|
-
if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ <
|
|
28
|
+
if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ < Ve ? D = "hour" : _ < Ne ? D = "day" : _ < Fe ? D = "month" : D = "year", D === "second") {
|
|
29
29
|
const w = s(V / 1e3);
|
|
30
30
|
return v.formatDistance("xSeconds", w, i);
|
|
31
31
|
} else if (D === "minute") {
|
|
@@ -35,13 +35,13 @@ function jt(P, n, a) {
|
|
|
35
35
|
const w = s($ / 60);
|
|
36
36
|
return v.formatDistance("xHours", w, i);
|
|
37
37
|
} else if (D === "day") {
|
|
38
|
-
const w = s(_ /
|
|
38
|
+
const w = s(_ / Ve);
|
|
39
39
|
return v.formatDistance("xDays", w, i);
|
|
40
40
|
} else if (D === "month") {
|
|
41
|
-
const w = s(_ /
|
|
41
|
+
const w = s(_ / Ne);
|
|
42
42
|
return w === 12 && O !== "month" ? v.formatDistance("xYears", 1, i) : v.formatDistance("xMonths", w, i);
|
|
43
43
|
} else {
|
|
44
|
-
const w = s(_ /
|
|
44
|
+
const w = s(_ / Fe);
|
|
45
45
|
return v.formatDistance("xYears", w, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -70,19 +70,19 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
70
70
|
callback: {}
|
|
71
71
|
},
|
|
72
72
|
setup(P) {
|
|
73
|
-
const { t: n } =
|
|
73
|
+
const { t: n } = X(), a = P, { display: k } = we(), {
|
|
74
74
|
hideEventGuestAmount: v
|
|
75
|
-
} =
|
|
75
|
+
} = z(se()), {
|
|
76
76
|
maxNumberOfPeople: f,
|
|
77
77
|
numberOfPeople: i,
|
|
78
78
|
eventId: y,
|
|
79
79
|
currentEventDate: h,
|
|
80
80
|
tableGroupId: s
|
|
81
|
-
} =
|
|
81
|
+
} = z(K()), {
|
|
82
82
|
getTemplateAvailability: V,
|
|
83
83
|
getEventAvailability: $,
|
|
84
84
|
isEventListingLoading: C
|
|
85
|
-
} =
|
|
85
|
+
} = K(), _ = Z(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), O = Ae(0), D = Z(() => C(a.listingId)), w = () => {
|
|
86
86
|
if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
87
87
|
k({
|
|
88
88
|
type: "error",
|
|
@@ -91,7 +91,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
y.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, V(a.callback);
|
|
94
|
-
},
|
|
94
|
+
}, x = () => {
|
|
95
95
|
if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
96
96
|
k({
|
|
97
97
|
type: "error",
|
|
@@ -113,20 +113,20 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
113
113
|
"disable-deep-link": E.disableDeepLink
|
|
114
114
|
}, {
|
|
115
115
|
description: m(() => [
|
|
116
|
-
|
|
116
|
+
J(E.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
|
|
117
117
|
]),
|
|
118
118
|
action: m(() => [
|
|
119
|
-
|
|
119
|
+
J(E.$slots, "action", {}, () => [
|
|
120
120
|
t("div", {
|
|
121
121
|
class: lt([
|
|
122
122
|
"konnectio-event-listing-action",
|
|
123
123
|
{ "no-selectable-people": E.useNumberOfProductsForPersons }
|
|
124
124
|
])
|
|
125
125
|
}, [
|
|
126
|
-
E.useNumberOfProductsForPersons ?
|
|
126
|
+
E.useNumberOfProductsForPersons ? d("", !0) : (l(), p(le, {
|
|
127
127
|
key: 0,
|
|
128
128
|
modelValue: O.value,
|
|
129
|
-
"onUpdate:modelValue": L[0] || (L[0] = (
|
|
129
|
+
"onUpdate:modelValue": L[0] || (L[0] = (Y) => O.value = Y),
|
|
130
130
|
label: e(n)("event.numberOfGuests"),
|
|
131
131
|
icon: "users",
|
|
132
132
|
"icon-type": "fas",
|
|
@@ -136,13 +136,13 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
136
136
|
"max-value": _.value
|
|
137
137
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
138
138
|
t("div", Wt, [
|
|
139
|
-
b(
|
|
139
|
+
b(pe, {
|
|
140
140
|
label: E.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
141
141
|
disabled: E.soldOut,
|
|
142
142
|
"is-loading": D.value,
|
|
143
143
|
"full-width": "",
|
|
144
|
-
"sub-label": e(
|
|
145
|
-
onClickEvent: L[1] || (L[1] = (
|
|
144
|
+
"sub-label": e(G)(e(h)),
|
|
145
|
+
onClickEvent: L[1] || (L[1] = (Y) => E.type === "event" ? x() : w())
|
|
146
146
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
147
147
|
])
|
|
148
148
|
], 2)
|
|
@@ -151,7 +151,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
151
151
|
_: 3
|
|
152
152
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
153
153
|
}
|
|
154
|
-
}),
|
|
154
|
+
}), Se = /* @__PURE__ */ q(Zt, [["__scopeId", "data-v-5bd6f82e"]]), Qt = { class: "konnectio-event-listing-information-new" };
|
|
155
155
|
const Jt = {
|
|
156
156
|
key: 1,
|
|
157
157
|
class: "konnectio-pill-button"
|
|
@@ -181,10 +181,10 @@ const Jt = {
|
|
|
181
181
|
callback: {}
|
|
182
182
|
},
|
|
183
183
|
setup(P) {
|
|
184
|
-
const n = P, { t: a } =
|
|
184
|
+
const n = P, { t: a } = X(), {
|
|
185
185
|
hideEventLength: k,
|
|
186
186
|
hideEventEndTime: v
|
|
187
|
-
} =
|
|
187
|
+
} = z(se()), f = Z(() => {
|
|
188
188
|
if (!n.length)
|
|
189
189
|
return;
|
|
190
190
|
const i = n.length.split(":");
|
|
@@ -193,7 +193,7 @@ const Jt = {
|
|
|
193
193
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
194
194
|
);
|
|
195
195
|
});
|
|
196
|
-
return (i, y) => (l(), p(
|
|
196
|
+
return (i, y) => (l(), p(Se, {
|
|
197
197
|
"listing-id": i.listingId,
|
|
198
198
|
name: i.name,
|
|
199
199
|
description: i.description,
|
|
@@ -211,9 +211,9 @@ const Jt = {
|
|
|
211
211
|
i.description ? (l(), p(Vt, {
|
|
212
212
|
key: 0,
|
|
213
213
|
text: i.description
|
|
214
|
-
}, null, 8, ["text"])) :
|
|
214
|
+
}, null, 8, ["text"])) : d("", !0),
|
|
215
215
|
t("ul", Qt, [
|
|
216
|
-
|
|
216
|
+
d("", !0),
|
|
217
217
|
!e(k) && f.value ? (l(), r("li", Jt, [
|
|
218
218
|
t("div", null, [
|
|
219
219
|
b(oe, {
|
|
@@ -223,7 +223,7 @@ const Jt = {
|
|
|
223
223
|
t("span", null, o(e(a)("event.lengthOfEvent")), 1)
|
|
224
224
|
]),
|
|
225
225
|
t("span", null, o(f.value), 1)
|
|
226
|
-
])) :
|
|
226
|
+
])) : d("", !0),
|
|
227
227
|
i.timeFrom ? (l(), r("li", Kt, [
|
|
228
228
|
t("div", null, [
|
|
229
229
|
b(oe, {
|
|
@@ -232,17 +232,17 @@ const Jt = {
|
|
|
232
232
|
}),
|
|
233
233
|
t("span", null, o(e(a)("event.startAndEndTime")), 1)
|
|
234
234
|
]),
|
|
235
|
-
e(v) ? (l(), r("span", xt, o(e(
|
|
236
|
-
])) :
|
|
235
|
+
e(v) ? (l(), r("span", xt, o(e(ve)(i.timeFrom)), 1)) : (l(), r("span", Xt, o(e(kt)(i.timeFrom, i.timeTo)), 1))
|
|
236
|
+
])) : d("", !0)
|
|
237
237
|
])
|
|
238
238
|
]),
|
|
239
239
|
action: m(() => [
|
|
240
|
-
|
|
240
|
+
J(i.$slots, "action", {}, void 0, !0)
|
|
241
241
|
]),
|
|
242
242
|
_: 3
|
|
243
243
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
244
244
|
}
|
|
245
|
-
}),
|
|
245
|
+
}), be = /* @__PURE__ */ q(en, [["__scopeId", "data-v-bd8a264c"]]), tn = {
|
|
246
246
|
key: 0,
|
|
247
247
|
class: "konnectio-event-grouped-listings-container"
|
|
248
248
|
}, nn = { class: "konnectio-event-grouped-listings" }, an = /* @__PURE__ */ U({
|
|
@@ -254,7 +254,7 @@ const Jt = {
|
|
|
254
254
|
},
|
|
255
255
|
setup(P) {
|
|
256
256
|
return (n, a) => n.events && n.events.length > 1 ? (l(), r("div", tn, [
|
|
257
|
-
|
|
257
|
+
d("", !0),
|
|
258
258
|
t("ul", nn, [
|
|
259
259
|
(l(!0), r(I, null, M(n.events, ({
|
|
260
260
|
id: k,
|
|
@@ -271,7 +271,7 @@ const Jt = {
|
|
|
271
271
|
maxPaxPerReservation: O,
|
|
272
272
|
useNumberOfProductsForPersons: D,
|
|
273
273
|
maxTicketsLimit: w
|
|
274
|
-
}) => (l(), p(
|
|
274
|
+
}) => (l(), p(be, {
|
|
275
275
|
key: k,
|
|
276
276
|
type: "event",
|
|
277
277
|
"listing-id": k,
|
|
@@ -289,7 +289,7 @@ const Jt = {
|
|
|
289
289
|
callback: n.callback
|
|
290
290
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
291
291
|
])
|
|
292
|
-
])) : n.events ? (l(), p(
|
|
292
|
+
])) : n.events ? (l(), p(be, {
|
|
293
293
|
key: n.events[0].id,
|
|
294
294
|
type: "event",
|
|
295
295
|
"listing-id": n.events[0].id,
|
|
@@ -307,9 +307,9 @@ const Jt = {
|
|
|
307
307
|
"sold-out": n.events[0].soldOut,
|
|
308
308
|
"use-number-of-products-for-persons": n.events[0].useNumberOfProductsForPersons,
|
|
309
309
|
callback: n.callback
|
|
310
|
-
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"])) :
|
|
310
|
+
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"])) : d("", !0);
|
|
311
311
|
}
|
|
312
|
-
}), ln = /* @__PURE__ */
|
|
312
|
+
}), ln = /* @__PURE__ */ q(an, [["__scopeId", "data-v-71c9af93"]]), on = { class: "konnectio-special-offer-availability" }, sn = { class: "konnectio-special-offer-availability-button" }, rn = { class: "konnectio-warning-notice" }, un = { key: 0 }, dn = { key: 1 }, cn = /* @__PURE__ */ U({
|
|
313
313
|
__name: "NextEvent",
|
|
314
314
|
props: {
|
|
315
315
|
name: {},
|
|
@@ -331,17 +331,17 @@ const Jt = {
|
|
|
331
331
|
callback: { type: Function }
|
|
332
332
|
},
|
|
333
333
|
setup(P) {
|
|
334
|
-
const { t: n } =
|
|
334
|
+
const { t: n } = X(), { updateEventDate: a } = $e(), { display: k } = we(), v = Ae(), f = P;
|
|
335
335
|
function i() {
|
|
336
336
|
v.value ? a(v.value) : k({
|
|
337
337
|
message: n("alert.error.selectDate"),
|
|
338
338
|
type: "error"
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
|
-
const y =
|
|
341
|
+
const y = Z(() => yt(f.fromDate, f.toDate) <= 1), h = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !ht(f.days).includes(s)));
|
|
342
342
|
return ot(() => {
|
|
343
343
|
y.value && (v.value = new Date(f.fromDate));
|
|
344
|
-
}), (s, V) => (l(), p(
|
|
344
|
+
}), (s, V) => (l(), p(be, {
|
|
345
345
|
name: s.name,
|
|
346
346
|
description: s.description,
|
|
347
347
|
"from-date": s.fromDate,
|
|
@@ -378,7 +378,7 @@ const Jt = {
|
|
|
378
378
|
"disabled-week-days": h.value
|
|
379
379
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
380
380
|
t("div", sn, [
|
|
381
|
-
b(
|
|
381
|
+
b(pe, {
|
|
382
382
|
label: e(n)("availability.buttonLabel"),
|
|
383
383
|
onClick: st(i, ["prevent"])
|
|
384
384
|
}, null, 8, ["label"])
|
|
@@ -386,10 +386,10 @@ const Jt = {
|
|
|
386
386
|
]),
|
|
387
387
|
t("div", rn, [
|
|
388
388
|
y.value ? (l(), r("span", un, [
|
|
389
|
-
|
|
390
|
-
t("u", null, o(e(
|
|
389
|
+
me("*" + o(e(n)("event.canBeBooked")) + " ", 1),
|
|
390
|
+
t("u", null, o(e(G)(s.fromDate)), 1)
|
|
391
391
|
])) : (l(), r("span", dn, [
|
|
392
|
-
|
|
392
|
+
me("*" + o(e(n)("event.canBeBooked")) + " ", 1),
|
|
393
393
|
t("u", null, o(e(Dt)(s.days)), 1)
|
|
394
394
|
]))
|
|
395
395
|
])
|
|
@@ -398,7 +398,7 @@ const Jt = {
|
|
|
398
398
|
_: 1
|
|
399
399
|
}, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
|
|
400
400
|
}
|
|
401
|
-
}), mn = /* @__PURE__ */
|
|
401
|
+
}), mn = /* @__PURE__ */ q(cn, [["__scopeId", "data-v-f6aed3b0"]]), pn = ["innerHTML"], vn = /* @__PURE__ */ U({
|
|
402
402
|
__name: "FallbackEvent",
|
|
403
403
|
props: {
|
|
404
404
|
name: {},
|
|
@@ -410,8 +410,8 @@ const Jt = {
|
|
|
410
410
|
callback: { type: Function }
|
|
411
411
|
},
|
|
412
412
|
setup(P) {
|
|
413
|
-
const { t: n } =
|
|
414
|
-
return (a, k) => (l(), p(
|
|
413
|
+
const { t: n } = X();
|
|
414
|
+
return (a, k) => (l(), p(be, {
|
|
415
415
|
name: a.name,
|
|
416
416
|
description: a.description,
|
|
417
417
|
"from-date": a.fromDate,
|
|
@@ -430,7 +430,7 @@ const Jt = {
|
|
|
430
430
|
_: 1
|
|
431
431
|
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "callback"]));
|
|
432
432
|
}
|
|
433
|
-
}), bn = /* @__PURE__ */
|
|
433
|
+
}), bn = /* @__PURE__ */ q(vn, [["__scopeId", "data-v-14c5e97e"]]), fn = /* @__PURE__ */ U({
|
|
434
434
|
__name: "Template",
|
|
435
435
|
props: {
|
|
436
436
|
name: {},
|
|
@@ -447,7 +447,7 @@ const Jt = {
|
|
|
447
447
|
callback: {}
|
|
448
448
|
},
|
|
449
449
|
setup(P) {
|
|
450
|
-
return (n, a) => (l(), p(
|
|
450
|
+
return (n, a) => (l(), p(Se, {
|
|
451
451
|
"listing-id": n.listingId,
|
|
452
452
|
gallery: n.images,
|
|
453
453
|
name: n.name,
|
|
@@ -461,10 +461,10 @@ const Jt = {
|
|
|
461
461
|
}), gn = {
|
|
462
462
|
key: 0,
|
|
463
463
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
464
|
-
}, kn = ["innerHTML"], yn = { key: 0 }, hn = { key: 1 }, Dn = { key: 2 }, Pn = { key: 0 }, $n = { key: 4 }, wn = { key: 5 }, En = { key:
|
|
464
|
+
}, kn = ["innerHTML"], yn = { key: 0 }, hn = { key: 1 }, Dn = { key: 2 }, Pn = { key: 0 }, $n = { key: 4 }, wn = { key: 5 }, En = { key: 6 }, On = { key: 0 }, _n = { key: 0 }, Tn = { key: 1 }, Vn = {
|
|
465
465
|
key: 0,
|
|
466
466
|
class: "konnectio-capitalize"
|
|
467
|
-
},
|
|
467
|
+
}, Nn = /* @__PURE__ */ U({
|
|
468
468
|
__name: "EventReservationForm",
|
|
469
469
|
props: {
|
|
470
470
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -472,7 +472,7 @@ const Jt = {
|
|
|
472
472
|
prevCallback: {}
|
|
473
473
|
},
|
|
474
474
|
setup(P) {
|
|
475
|
-
const { t: n } =
|
|
475
|
+
const { t: n } = X(), a = it(), {
|
|
476
476
|
areListingsAvailable: k,
|
|
477
477
|
arrivalTime: v,
|
|
478
478
|
numberOfPeople: f,
|
|
@@ -487,54 +487,56 @@ const Jt = {
|
|
|
487
487
|
basePrice: O,
|
|
488
488
|
totalPrice: D,
|
|
489
489
|
weekendFee: w,
|
|
490
|
-
roomUpgrade:
|
|
490
|
+
roomUpgrade: x,
|
|
491
491
|
discountCode: E,
|
|
492
|
-
totalSelectedProducts: L
|
|
493
|
-
|
|
494
|
-
|
|
492
|
+
totalSelectedProducts: L,
|
|
493
|
+
discountValue: Y,
|
|
494
|
+
appliedDiscountCode: fe
|
|
495
|
+
} = z(K()), { totalAddonPrice: ie, validateDiscountCode: ge } = K(), { currency: re, hideEventLength: ke } = z(se()), ee = n("event.reservationNotice");
|
|
496
|
+
return (H, ue) => (l(), p(Nt, {
|
|
495
497
|
"discount-code": e(E),
|
|
496
|
-
"onUpdate:discountCode":
|
|
497
|
-
"validate-discount-code": e(
|
|
498
|
-
"show-gift-card":
|
|
499
|
-
"show-terms-notice":
|
|
498
|
+
"onUpdate:discountCode": ue[0] || (ue[0] = (j) => R(E) ? E.value = j : null),
|
|
499
|
+
"validate-discount-code": e(ge),
|
|
500
|
+
"show-gift-card": H.showGiftCard,
|
|
501
|
+
"show-terms-notice": H.showTermsNotice,
|
|
500
502
|
"is-sidebar-loading": !e(k),
|
|
501
503
|
"base-price": e(O),
|
|
502
504
|
"total-price": e(D),
|
|
503
505
|
"weekend-fee": e(w),
|
|
504
|
-
"room-upgrade": e(
|
|
505
|
-
notice: e(
|
|
506
|
-
"prev-callback":
|
|
506
|
+
"room-upgrade": e(x),
|
|
507
|
+
notice: e(ee),
|
|
508
|
+
"prev-callback": H.prevCallback
|
|
507
509
|
}, rt({
|
|
508
510
|
form: m(() => [
|
|
509
|
-
|
|
510
|
-
e(
|
|
511
|
+
J(H.$slots, "form", {}, void 0, !0),
|
|
512
|
+
e(ee) ? (l(), r("div", gn, [
|
|
511
513
|
t("p", {
|
|
512
|
-
innerHTML: e(
|
|
514
|
+
innerHTML: e(ee),
|
|
513
515
|
class: "konnectio-wysiwyg"
|
|
514
516
|
}, null, 8, kn)
|
|
515
|
-
])) :
|
|
517
|
+
])) : d("", !0)
|
|
516
518
|
]),
|
|
517
519
|
"reservation-summary": m(() => [
|
|
518
|
-
e(h) ?
|
|
520
|
+
e(h) ? d("", !0) : (l(), r("li", yn, [
|
|
519
521
|
t("span", null, o(e(n)("general.date")), 1),
|
|
520
|
-
t("b", null, o(e(
|
|
522
|
+
t("b", null, o(e(G)(e(s))), 1)
|
|
521
523
|
])),
|
|
522
524
|
e(f) > 0 ? (l(), r("li", hn, [
|
|
523
525
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
524
526
|
t("b", null, o(e(f)), 1)
|
|
525
|
-
])) :
|
|
527
|
+
])) : d("", !0),
|
|
526
528
|
!e(h) && e(L) > 0 ? (l(), r("li", Dn, [
|
|
527
529
|
t("span", null, o(e(n)("event.numberOfProducts")), 1),
|
|
528
530
|
t("b", null, o(e(L)), 1)
|
|
529
|
-
])) :
|
|
531
|
+
])) : d("", !0),
|
|
530
532
|
e(h) ? (l(), r(I, { key: 3 }, [
|
|
531
533
|
t("li", null, [
|
|
532
534
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
533
|
-
t("b", null, o(e(
|
|
535
|
+
t("b", null, o(e(G)(e($))), 1)
|
|
534
536
|
]),
|
|
535
537
|
t("li", null, [
|
|
536
538
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
537
|
-
t("b", null, o(e(
|
|
539
|
+
t("b", null, o(e(G)(e($), e(y))), 1)
|
|
538
540
|
]),
|
|
539
541
|
t("li", null, [
|
|
540
542
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
@@ -543,79 +545,83 @@ const Jt = {
|
|
|
543
545
|
e(y) > 0 ? (l(), r("li", Pn, [
|
|
544
546
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
545
547
|
t("b", null, o(e(y)), 1)
|
|
546
|
-
])) :
|
|
547
|
-
], 64)) :
|
|
548
|
+
])) : d("", !0)
|
|
549
|
+
], 64)) : d("", !0),
|
|
548
550
|
!e(h) && e(v) ? (l(), r("li", $n, [
|
|
549
551
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
550
|
-
t("b", null, o(e(
|
|
551
|
-
])) :
|
|
552
|
-
!e(h) && e(V) && !e(
|
|
552
|
+
t("b", null, o(e(ve)(e(v))), 1)
|
|
553
|
+
])) : d("", !0),
|
|
554
|
+
!e(h) && e(V) && !e(ke) ? (l(), r("li", wn, [
|
|
553
555
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
554
|
-
t("b", null, o(e(
|
|
555
|
-
])) :
|
|
556
|
+
t("b", null, o(e(ve)(e(V))), 1)
|
|
557
|
+
])) : d("", !0),
|
|
558
|
+
e(Y) ? (l(), r("li", En, [
|
|
559
|
+
t("span", null, o(e(n)("general.discountCode")), 1),
|
|
560
|
+
t("b", null, o(e(fe)), 1)
|
|
561
|
+
])) : d("", !0)
|
|
556
562
|
]),
|
|
557
563
|
"price-summary": m(() => [
|
|
558
|
-
!e(h) && e(C) > 0 ? (l(), r("li",
|
|
564
|
+
!e(h) && e(C) > 0 ? (l(), r("li", On, [
|
|
559
565
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
560
|
-
t("b", null, o(e(
|
|
561
|
-
])) :
|
|
562
|
-
e(_) ? (l(!0), r(I, { key: 1 }, M(e(_), ({ roomGroupId: j },
|
|
563
|
-
e(
|
|
564
|
-
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(
|
|
565
|
-
t("b", null, o(e(
|
|
566
|
-
])) :
|
|
567
|
-
], 64))), 256)) :
|
|
566
|
+
t("b", null, o(e(Q)(e(C), e(re))), 1)
|
|
567
|
+
])) : d("", !0),
|
|
568
|
+
e(_) ? (l(!0), r(I, { key: 1 }, M(e(_), ({ roomGroupId: j }, W) => (l(), r(I, null, [
|
|
569
|
+
e(ie)(j, W) > 0 ? (l(), r("li", { key: j }, [
|
|
570
|
+
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(W + 1), 1),
|
|
571
|
+
t("b", null, o(e(Q)(e(ie)(j, W), e(re))), 1)
|
|
572
|
+
])) : d("", !0)
|
|
573
|
+
], 64))), 256)) : d("", !0)
|
|
568
574
|
]),
|
|
569
575
|
navigation: m(() => [
|
|
570
|
-
|
|
576
|
+
J(H.$slots, "navigation", {}, void 0, !0)
|
|
571
577
|
]),
|
|
572
578
|
"mobile-under-price": m(() => [
|
|
573
|
-
e(h) && e(y) > 0 ? (l(), r("div",
|
|
574
|
-
t("span", null, o(e(
|
|
575
|
-
])) : (l(), r("div",
|
|
576
|
-
t("span", null, o(e(
|
|
579
|
+
e(h) && e(y) > 0 ? (l(), r("div", _n, [
|
|
580
|
+
t("span", null, o(e(G)(e($))) + " - " + o(e(G)(e($), e(y))), 1)
|
|
581
|
+
])) : (l(), r("div", Tn, [
|
|
582
|
+
t("span", null, o(e(G)(e(s))), 1)
|
|
577
583
|
]))
|
|
578
584
|
]),
|
|
579
585
|
"mobile-summary": m(() => [
|
|
580
|
-
!e(h) && e(L) > 0 ? (l(), r("span",
|
|
586
|
+
!e(h) && e(L) > 0 ? (l(), r("span", Vn, o(e(n)("event.numberOfProducts")) + ": " + o(e(L)), 1)) : d("", !0)
|
|
581
587
|
]),
|
|
582
588
|
_: 2
|
|
583
589
|
}, [
|
|
584
590
|
e(a).sidebar ? {
|
|
585
591
|
name: "sidebar",
|
|
586
592
|
fn: m(() => [
|
|
587
|
-
|
|
593
|
+
J(H.$slots, "sidebar", {}, void 0, !0)
|
|
588
594
|
]),
|
|
589
595
|
key: "0"
|
|
590
596
|
} : void 0
|
|
591
597
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
|
|
592
598
|
}
|
|
593
|
-
}),
|
|
599
|
+
}), Pe = /* @__PURE__ */ q(Nn, [["__scopeId", "data-v-d2ff3f68"]]), Fn = { class: "event-skeleton" }, Ln = { class: "event-skeleton-content" }, Cn = { class: "event-skeleton-sidebar" }, Bn = /* @__PURE__ */ U({
|
|
594
600
|
__name: "EventSkeleton",
|
|
595
601
|
setup(P) {
|
|
596
|
-
return (n, a) => (l(), r("div",
|
|
597
|
-
t("div", Fn, [
|
|
598
|
-
b(Ae)
|
|
599
|
-
]),
|
|
602
|
+
return (n, a) => (l(), r("div", Fn, [
|
|
600
603
|
t("div", Ln, [
|
|
601
|
-
|
|
604
|
+
b(Ie)
|
|
605
|
+
]),
|
|
606
|
+
t("div", Cn, [
|
|
607
|
+
d("", !0),
|
|
602
608
|
b(Ft)
|
|
603
609
|
])
|
|
604
610
|
]));
|
|
605
611
|
}
|
|
606
|
-
}),
|
|
612
|
+
}), An = /* @__PURE__ */ q(Bn, [["__scopeId", "data-v-3e15c4e3"]]), In = {
|
|
607
613
|
key: 0,
|
|
608
614
|
id: "konnectio-event-listings-wrapper"
|
|
609
|
-
},
|
|
615
|
+
}, Sn = {
|
|
610
616
|
key: 1,
|
|
611
617
|
class: "konnectio-hotel-availability-title"
|
|
612
|
-
},
|
|
618
|
+
}, Rn = { class: "konnectio-event-listings" }, Mn = { class: "konnectio-hotel-availability-title" }, Un = { class: "konnectio-event-listings" }, Hn = ["innerHTML"], Gn = { class: "konnectio-panel" }, zn = {
|
|
613
619
|
key: 0,
|
|
614
620
|
id: "konnectio-event-addons"
|
|
615
|
-
},
|
|
621
|
+
}, qn = { class: "konnectio-table with-lines" }, Yn = { class: "konnectio-event-addons-price" }, jn = { class: "konnectio-event-addons-input" }, Wn = { class: "konnectio-event-addons-price" }, Zn = { class: "konnectio-event-addons-price" }, Qn = {
|
|
616
622
|
key: 1,
|
|
617
623
|
class: "konnectio-table with-lines without-header"
|
|
618
|
-
},
|
|
624
|
+
}, Jn = { class: "konnectio-table-addons-information" }, Kn = { key: 0 }, Xn = { class: "konnectio-table-addons-option" }, xn = { class: "konnectio-panel" }, ea = /* @__PURE__ */ U({
|
|
619
625
|
name: "EventLayout",
|
|
620
626
|
__name: "Event",
|
|
621
627
|
props: {
|
|
@@ -631,7 +637,7 @@ const Jt = {
|
|
|
631
637
|
styling: {}
|
|
632
638
|
},
|
|
633
639
|
setup(P) {
|
|
634
|
-
const n = P, { t: a } =
|
|
640
|
+
const n = P, { t: a } = X(), {
|
|
635
641
|
addons: k,
|
|
636
642
|
products: v,
|
|
637
643
|
numberOfDays: f,
|
|
@@ -646,31 +652,31 @@ const Jt = {
|
|
|
646
652
|
hasEvents: O,
|
|
647
653
|
hasTemplates: D,
|
|
648
654
|
getEvents: w,
|
|
649
|
-
getTemplates:
|
|
655
|
+
getTemplates: x,
|
|
650
656
|
getEventData: E,
|
|
651
657
|
getTemplateData: L,
|
|
652
|
-
getEventTableData:
|
|
653
|
-
hasProducts:
|
|
658
|
+
getEventTableData: Y,
|
|
659
|
+
hasProducts: fe,
|
|
654
660
|
eventRateType: ie,
|
|
655
|
-
areListingsAvailable:
|
|
656
|
-
isAvailabilityDataAvailable:
|
|
657
|
-
hasListingData:
|
|
658
|
-
isPaymentLoading:
|
|
659
|
-
isReservationFormFilled:
|
|
660
|
-
requiresArrivalTime:
|
|
661
|
-
hasSelectedRequiredProducts:
|
|
662
|
-
getUnavailableEvents:
|
|
663
|
-
hasFallbackEvents:
|
|
661
|
+
areListingsAvailable: ge,
|
|
662
|
+
isAvailabilityDataAvailable: re,
|
|
663
|
+
hasListingData: ke,
|
|
664
|
+
isPaymentLoading: ee,
|
|
665
|
+
isReservationFormFilled: H,
|
|
666
|
+
requiresArrivalTime: ue,
|
|
667
|
+
hasSelectedRequiredProducts: j,
|
|
668
|
+
getUnavailableEvents: W,
|
|
669
|
+
hasFallbackEvents: Ee,
|
|
664
670
|
getFallbackEvents: Re
|
|
665
|
-
} =
|
|
671
|
+
} = z(K()), { currency: de } = z(se()), { setActiveIdFilter: Me } = se(), { eventDate: Ue, eventLocation: He } = z($e()), { isValidRestaurantId: Ge } = $e(), {
|
|
666
672
|
initialize: ze,
|
|
667
673
|
fetchListings: qe,
|
|
668
674
|
createBooking: Ye,
|
|
669
675
|
localAddonPrice: je,
|
|
670
676
|
totalAddonPrice: We,
|
|
671
677
|
reset: Ze,
|
|
672
|
-
goBack:
|
|
673
|
-
} =
|
|
678
|
+
goBack: Oe
|
|
679
|
+
} = K(), { display: ye } = we(), Qe = Z(() => [
|
|
674
680
|
{
|
|
675
681
|
id: "availability",
|
|
676
682
|
label: a("booking.availability.title"),
|
|
@@ -696,12 +702,12 @@ const Jt = {
|
|
|
696
702
|
label: a("booking.confirmation.title"),
|
|
697
703
|
icon: "calendar-check"
|
|
698
704
|
}
|
|
699
|
-
]), Je =
|
|
705
|
+
]), Je = Z(() => {
|
|
700
706
|
const g = [];
|
|
701
|
-
return
|
|
702
|
-
g.find((F) => F.value ===
|
|
703
|
-
label:
|
|
704
|
-
value:
|
|
707
|
+
return Y.value && Y.value.forEach((c) => {
|
|
708
|
+
g.find((F) => F.value === c.time) || g.push({
|
|
709
|
+
label: ve(c.time),
|
|
710
|
+
value: c.time
|
|
705
711
|
});
|
|
706
712
|
}), g;
|
|
707
713
|
});
|
|
@@ -711,25 +717,25 @@ const Jt = {
|
|
|
711
717
|
function Xe() {
|
|
712
718
|
const g = Et("history", {
|
|
713
719
|
removeNullishValues: !0
|
|
714
|
-
}),
|
|
720
|
+
}), c = parseInt(g.rid), F = g.d, T = parseInt(g.eid);
|
|
715
721
|
if (F)
|
|
716
722
|
if (Ot(F)) {
|
|
717
723
|
const u = new Date(F), B = u.setHours(12, 0, 0, 0), S = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
718
|
-
B >= S ? Ue.value = u : (
|
|
724
|
+
B >= S ? Ue.value = u : (ye({
|
|
719
725
|
message: a("alert.error.invalidDateRange"),
|
|
720
726
|
type: "error"
|
|
721
727
|
}), g.d = void 0);
|
|
722
728
|
} else
|
|
723
|
-
|
|
729
|
+
ye({
|
|
724
730
|
message: a("alert.error.wrongDateFormat"),
|
|
725
731
|
type: "error"
|
|
726
732
|
});
|
|
727
|
-
isNaN(
|
|
733
|
+
isNaN(c) || (Ge(c) ? He.value = c : (g.rid = void 0, ye({
|
|
728
734
|
message: a("alert.error.hotelIdNotFound"),
|
|
729
735
|
type: "error"
|
|
730
736
|
}))), isNaN(T) || Me(T), qe();
|
|
731
737
|
}
|
|
732
|
-
return (g,
|
|
738
|
+
return (g, c) => (l(), p(wt, { styling: g.styling }, {
|
|
733
739
|
default: m(() => [
|
|
734
740
|
(l(), p(ut, { onResolve: Xe }, {
|
|
735
741
|
default: m(() => [
|
|
@@ -744,7 +750,7 @@ const Jt = {
|
|
|
744
750
|
onReset: Ke
|
|
745
751
|
}, {
|
|
746
752
|
availability: m(({ next: F }) => [
|
|
747
|
-
b(
|
|
753
|
+
b(Pe, null, {
|
|
748
754
|
sidebar: m(() => [
|
|
749
755
|
b(qt, {
|
|
750
756
|
redirection: !1,
|
|
@@ -753,8 +759,8 @@ const Jt = {
|
|
|
753
759
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
754
760
|
]),
|
|
755
761
|
form: m(() => [
|
|
756
|
-
e(
|
|
757
|
-
e(
|
|
762
|
+
e(ke) && e(ge) ? (l(), r("div", In, [
|
|
763
|
+
e(Ee) ? (l(!0), r(I, { key: 0 }, M(e(Re), ({
|
|
758
764
|
id: T,
|
|
759
765
|
name: u,
|
|
760
766
|
description: B,
|
|
@@ -767,22 +773,22 @@ const Jt = {
|
|
|
767
773
|
name: u,
|
|
768
774
|
gallery: S,
|
|
769
775
|
callback: F
|
|
770
|
-
}, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) :
|
|
771
|
-
e(O) && e(
|
|
776
|
+
}, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) : d("", !0),
|
|
777
|
+
e(O) && e(W).length > 0 ? (l(), r("h2", Sn, [
|
|
772
778
|
b(oe, {
|
|
773
779
|
icon: "calendar-clock",
|
|
774
780
|
type: "fal",
|
|
775
781
|
color: "header"
|
|
776
782
|
}),
|
|
777
783
|
t("span", null, o(e(a)("event.availableNow")), 1)
|
|
778
|
-
])) :
|
|
779
|
-
t("ul",
|
|
784
|
+
])) : d("", !0),
|
|
785
|
+
t("ul", Rn, [
|
|
780
786
|
e(O) && g.onlyShow !== "templates" ? (l(!0), r(I, { key: 0 }, M(e(w), (T) => (l(), p(ln, {
|
|
781
787
|
name: T.name,
|
|
782
788
|
events: T.events,
|
|
783
789
|
callback: F
|
|
784
|
-
}, null, 8, ["name", "events", "callback"]))), 256)) :
|
|
785
|
-
e(D) && g.onlyShow !== "events" ? (l(!0), r(I, { key: 1 }, M(e(
|
|
790
|
+
}, null, 8, ["name", "events", "callback"]))), 256)) : d("", !0),
|
|
791
|
+
e(D) && g.onlyShow !== "events" ? (l(!0), r(I, { key: 1 }, M(e(x), ({
|
|
786
792
|
id: T,
|
|
787
793
|
name: u,
|
|
788
794
|
fromDate: B,
|
|
@@ -802,10 +808,10 @@ const Jt = {
|
|
|
802
808
|
"minimum-person-count": N,
|
|
803
809
|
fromPrice: A,
|
|
804
810
|
callback: F
|
|
805
|
-
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) :
|
|
811
|
+
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : d("", !0)
|
|
806
812
|
]),
|
|
807
|
-
e(
|
|
808
|
-
t("h2",
|
|
813
|
+
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(I, { key: 2 }, [
|
|
814
|
+
t("h2", Mn, [
|
|
809
815
|
b(oe, {
|
|
810
816
|
icon: "calendar-circle-exclamation",
|
|
811
817
|
type: "fal",
|
|
@@ -813,8 +819,8 @@ const Jt = {
|
|
|
813
819
|
}),
|
|
814
820
|
t("span", null, o(e(a)("event.availableLater")), 1)
|
|
815
821
|
]),
|
|
816
|
-
t("ul",
|
|
817
|
-
(l(!0), r(I, null, M(e(
|
|
822
|
+
t("ul", Un, [
|
|
823
|
+
(l(!0), r(I, null, M(e(W), ({
|
|
818
824
|
id: T,
|
|
819
825
|
days: u,
|
|
820
826
|
name: B,
|
|
@@ -823,8 +829,8 @@ const Jt = {
|
|
|
823
829
|
fromDate: A,
|
|
824
830
|
toDate: te,
|
|
825
831
|
tableGroupId: ne,
|
|
826
|
-
description:
|
|
827
|
-
soldOut:
|
|
832
|
+
description: he,
|
|
833
|
+
soldOut: De,
|
|
828
834
|
length: ae,
|
|
829
835
|
images: xe,
|
|
830
836
|
maxOnlineReservationLimit: et,
|
|
@@ -836,7 +842,7 @@ const Jt = {
|
|
|
836
842
|
type: "event",
|
|
837
843
|
"listing-id": T,
|
|
838
844
|
"table-group-id": ne,
|
|
839
|
-
description:
|
|
845
|
+
description: he,
|
|
840
846
|
name: B,
|
|
841
847
|
length: ae,
|
|
842
848
|
gallery: xe,
|
|
@@ -846,33 +852,33 @@ const Jt = {
|
|
|
846
852
|
"max-online-reservation-limit": tt || et || at,
|
|
847
853
|
"time-from": S,
|
|
848
854
|
"time-to": N,
|
|
849
|
-
"sold-out":
|
|
855
|
+
"sold-out": De,
|
|
850
856
|
"use-number-of-products-for-persons": nt,
|
|
851
857
|
callback: F
|
|
852
858
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
853
859
|
])
|
|
854
|
-
], 64)) :
|
|
855
|
-
(!e(O) && !e(D) || !e(O) && g.onlyShow === "events" || !e(D) && g.onlyShow === "templates") && !e(
|
|
860
|
+
], 64)) : d("", !0),
|
|
861
|
+
(!e(O) && !e(D) || !e(O) && g.onlyShow === "events" || !e(D) && g.onlyShow === "templates") && !e(Ee) ? (l(), r("div", {
|
|
856
862
|
key: 3,
|
|
857
863
|
class: "konnectio-panel",
|
|
858
864
|
innerHTML: e(a)("event.nothingAvailable")
|
|
859
|
-
}, null, 8,
|
|
860
|
-
])) : (l(), p(
|
|
865
|
+
}, null, 8, Hn)) : d("", !0)
|
|
866
|
+
])) : (l(), p(Ie, { key: 1 }))
|
|
861
867
|
]),
|
|
862
868
|
_: 2
|
|
863
869
|
}, 1024)
|
|
864
870
|
]),
|
|
865
871
|
addons: m(({ next: F, prev: T }) => [
|
|
866
|
-
e(
|
|
872
|
+
e(re) ? (l(), p(Pe, {
|
|
867
873
|
key: 0,
|
|
868
|
-
"prev-callback": () => e(
|
|
874
|
+
"prev-callback": () => e(Oe)(T)
|
|
869
875
|
}, {
|
|
870
876
|
form: m(() => [
|
|
871
|
-
t("form",
|
|
877
|
+
t("form", Gn, [
|
|
872
878
|
t("h2", null, [
|
|
873
879
|
t("span", null, o(e(a)("event.selectProducts")), 1)
|
|
874
880
|
]),
|
|
875
|
-
e(L) && e(L).length > 0 ? (l(), r("ul",
|
|
881
|
+
e(L) && e(L).length > 0 ? (l(), r("ul", zn, [
|
|
876
882
|
(l(!0), r(I, null, M(e(L), ({
|
|
877
883
|
roomGroupId: u,
|
|
878
884
|
addons: B,
|
|
@@ -880,22 +886,22 @@ const Jt = {
|
|
|
880
886
|
}, N) => (l(), r("li", { key: u }, [
|
|
881
887
|
t("h5", null, [
|
|
882
888
|
t("span", null, o(e(a)("booking.reservation.room")) + " #" + o(N + 1), 1),
|
|
883
|
-
|
|
889
|
+
c[9] || (c[9] = me(" (", -1)),
|
|
884
890
|
b(oe, {
|
|
885
891
|
icon: "male",
|
|
886
892
|
type: "fas",
|
|
887
893
|
color: "header"
|
|
888
894
|
}),
|
|
889
|
-
|
|
895
|
+
me(" " + o(S) + ") ", 1)
|
|
890
896
|
]),
|
|
891
|
-
t("table",
|
|
897
|
+
t("table", qn, [
|
|
892
898
|
t("thead", null, [
|
|
893
899
|
t("tr", null, [
|
|
894
900
|
t("th", null, [
|
|
895
901
|
t("span", null, o(e(a)("booking.reservation.addons")), 1)
|
|
896
902
|
]),
|
|
897
|
-
|
|
898
|
-
t("th",
|
|
903
|
+
c[10] || (c[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
904
|
+
t("th", Yn, [
|
|
899
905
|
t("span", null, o(e(a)("booking.availability.price")), 1)
|
|
900
906
|
])
|
|
901
907
|
])
|
|
@@ -905,58 +911,58 @@ const Jt = {
|
|
|
905
911
|
id: A,
|
|
906
912
|
cardinality: te,
|
|
907
913
|
name: ne,
|
|
908
|
-
price:
|
|
909
|
-
quantityStrategy:
|
|
914
|
+
price: he,
|
|
915
|
+
quantityStrategy: De
|
|
910
916
|
}) => (l(), r("tr", { key: A }, [
|
|
911
917
|
t("td", null, [
|
|
912
918
|
t("b", null, o(ne), 1),
|
|
913
|
-
|
|
914
|
-
t("span", null, o(e(
|
|
919
|
+
c[11] || (c[11] = t("br", null, null, -1)),
|
|
920
|
+
t("span", null, o(e(Q)(he, e(de))) + " " + o(e($t)(De)), 1)
|
|
915
921
|
]),
|
|
916
|
-
t("td",
|
|
922
|
+
t("td", jn, [
|
|
917
923
|
te === 3 ? (l(), p(le, {
|
|
918
924
|
key: 0,
|
|
919
925
|
modelValue: e(k)[`${u}.${A}.${N}`],
|
|
920
926
|
"onUpdate:modelValue": (ae) => e(k)[`${u}.${A}.${N}`] = ae,
|
|
921
927
|
small: !0,
|
|
922
928
|
"min-value": 0
|
|
923
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(
|
|
929
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(Ce, {
|
|
924
930
|
key: 1,
|
|
925
931
|
modelValue: e(k)[`${u}.${A}.${N}`],
|
|
926
932
|
"onUpdate:modelValue": (ae) => e(k)[`${u}.${A}.${N}`] = ae,
|
|
927
933
|
numeric: !0
|
|
928
934
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
929
935
|
]),
|
|
930
|
-
t("td",
|
|
931
|
-
t("span", null, o(e(
|
|
936
|
+
t("td", Wn, [
|
|
937
|
+
t("span", null, o(e(Q)(e(je)(A, u, N), e(de))), 1)
|
|
932
938
|
])
|
|
933
939
|
]))), 128))
|
|
934
940
|
]),
|
|
935
941
|
t("tfoot", null, [
|
|
936
942
|
t("tr", null, [
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
t("td",
|
|
943
|
+
c[12] || (c[12] = t("td", null, null, -1)),
|
|
944
|
+
c[13] || (c[13] = t("td", null, null, -1)),
|
|
945
|
+
t("td", Zn, [
|
|
940
946
|
t("u", null, [
|
|
941
|
-
t("span", null, o(e(
|
|
947
|
+
t("span", null, o(e(Q)(e(We)(u, N), e(de))), 1)
|
|
942
948
|
])
|
|
943
949
|
])
|
|
944
950
|
])
|
|
945
951
|
])
|
|
946
952
|
])
|
|
947
953
|
]))), 128))
|
|
948
|
-
])) :
|
|
949
|
-
e(
|
|
954
|
+
])) : d("", !0),
|
|
955
|
+
e(fe) ? (l(), r("table", Qn, [
|
|
950
956
|
t("tbody", null, [
|
|
951
957
|
(l(!0), r(I, null, M(e(E).products, ({ id: u, name: B, price: S, description: N }) => (l(), r("tr", { key: u }, [
|
|
952
|
-
t("td",
|
|
958
|
+
t("td", Jn, [
|
|
953
959
|
t("b", null, [
|
|
954
|
-
t("span", null, o(e(
|
|
960
|
+
t("span", null, o(e(_e)(B)), 1)
|
|
955
961
|
]),
|
|
956
|
-
N && N !== B ? (l(), r("span",
|
|
957
|
-
t("u", null, o(e(
|
|
962
|
+
N && N !== B ? (l(), r("span", Kn, o(e(_e)(N)), 1)) : d("", !0),
|
|
963
|
+
t("u", null, o(e(Q)(S, e(de))), 1)
|
|
958
964
|
]),
|
|
959
|
-
t("td",
|
|
965
|
+
t("td", Xn, [
|
|
960
966
|
b(le, {
|
|
961
967
|
modelValue: e(v)[u],
|
|
962
968
|
"onUpdate:modelValue": (A) => e(v)[u] = A,
|
|
@@ -966,43 +972,43 @@ const Jt = {
|
|
|
966
972
|
])
|
|
967
973
|
]))), 128))
|
|
968
974
|
])
|
|
969
|
-
])) :
|
|
975
|
+
])) : d("", !0)
|
|
970
976
|
])
|
|
971
977
|
]),
|
|
972
978
|
navigation: m(() => [
|
|
973
|
-
b(
|
|
979
|
+
b(pe, {
|
|
974
980
|
label: e(a)("event.startReservation"),
|
|
975
|
-
disabled: !e(
|
|
981
|
+
disabled: !e(j),
|
|
976
982
|
"full-width": "",
|
|
977
983
|
onClickEvent: F
|
|
978
984
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
979
985
|
]),
|
|
980
986
|
_: 2
|
|
981
|
-
}, 1032, ["prev-callback"])) :
|
|
987
|
+
}, 1032, ["prev-callback"])) : d("", !0)
|
|
982
988
|
]),
|
|
983
989
|
reservation: m(({ next: F, prev: T }) => [
|
|
984
|
-
b(
|
|
990
|
+
b(Pe, {
|
|
985
991
|
"show-terms-notice": !0,
|
|
986
992
|
"show-gift-card": !0,
|
|
987
|
-
"prev-callback": () => e(
|
|
993
|
+
"prev-callback": () => e(Oe)(T)
|
|
988
994
|
}, {
|
|
989
995
|
form: m(() => [
|
|
990
|
-
t("form",
|
|
996
|
+
t("form", xn, [
|
|
991
997
|
t("h2", null, [
|
|
992
998
|
t("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
|
|
993
999
|
]),
|
|
994
|
-
b(
|
|
1000
|
+
b(ce, {
|
|
995
1001
|
modelValue: e(h),
|
|
996
|
-
"onUpdate:modelValue":
|
|
1002
|
+
"onUpdate:modelValue": c[0] || (c[0] = (u) => R(h) ? h.value = u : null),
|
|
997
1003
|
type: "text",
|
|
998
1004
|
label: e(a)("booking.reservation.name"),
|
|
999
1005
|
icon: "user-alt",
|
|
1000
1006
|
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
1001
1007
|
required: ""
|
|
1002
1008
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1003
|
-
b(
|
|
1009
|
+
b(ce, {
|
|
1004
1010
|
modelValue: e(V),
|
|
1005
|
-
"onUpdate:modelValue":
|
|
1011
|
+
"onUpdate:modelValue": c[1] || (c[1] = (u) => R(V) ? V.value = u : null),
|
|
1006
1012
|
label: e(a)("booking.reservation.email"),
|
|
1007
1013
|
type: "email",
|
|
1008
1014
|
name: "email",
|
|
@@ -1013,68 +1019,68 @@ const Jt = {
|
|
|
1013
1019
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1014
1020
|
b(zt, {
|
|
1015
1021
|
modelValue: e(s),
|
|
1016
|
-
"onUpdate:modelValue":
|
|
1022
|
+
"onUpdate:modelValue": c[2] || (c[2] = (u) => R(s) ? s.value = u : null),
|
|
1017
1023
|
label: e(a)("booking.reservation.phone"),
|
|
1018
1024
|
icon: "phone-office",
|
|
1019
1025
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
1020
1026
|
required: ""
|
|
1021
1027
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1022
|
-
e(
|
|
1028
|
+
e(ue) ? (l(), p(Bt, {
|
|
1023
1029
|
key: 0,
|
|
1024
1030
|
modelValue: e(_),
|
|
1025
|
-
"onUpdate:modelValue":
|
|
1031
|
+
"onUpdate:modelValue": c[3] || (c[3] = (u) => R(_) ? _.value = u : null),
|
|
1026
1032
|
label: e(a)("event.selectArrivalTime"),
|
|
1027
1033
|
name: "eventTimeTable",
|
|
1028
1034
|
checkboxes: Je.value,
|
|
1029
1035
|
required: ""
|
|
1030
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
1036
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
|
|
1031
1037
|
e(ie) === e(Pt).FullDayEvent ? (l(), p(le, {
|
|
1032
1038
|
key: 1,
|
|
1033
1039
|
modelValue: e(f),
|
|
1034
|
-
"onUpdate:modelValue":
|
|
1040
|
+
"onUpdate:modelValue": c[4] || (c[4] = (u) => R(f) ? f.value = u : null),
|
|
1035
1041
|
label: e(a)("event.numberOfDays"),
|
|
1036
1042
|
"min-value": 1,
|
|
1037
1043
|
required: ""
|
|
1038
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1044
|
+
}, null, 8, ["modelValue", "label"])) : d("", !0),
|
|
1039
1045
|
g.showHighChairs === "yes" ? (l(), p(le, {
|
|
1040
1046
|
key: 2,
|
|
1041
1047
|
modelValue: e(y),
|
|
1042
|
-
"onUpdate:modelValue":
|
|
1048
|
+
"onUpdate:modelValue": c[5] || (c[5] = (u) => R(y) ? y.value = u : null),
|
|
1043
1049
|
label: e(a)("event.numberOfHighChairs"),
|
|
1044
1050
|
icon: "baby",
|
|
1045
1051
|
"no-optional-label": !1
|
|
1046
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1047
|
-
g.showFlagOnTable === "yes" ? (l(), p(
|
|
1052
|
+
}, null, 8, ["modelValue", "label"])) : d("", !0),
|
|
1053
|
+
g.showFlagOnTable === "yes" ? (l(), p(Ce, {
|
|
1048
1054
|
key: 3,
|
|
1049
1055
|
modelValue: e(i),
|
|
1050
|
-
"onUpdate:modelValue":
|
|
1056
|
+
"onUpdate:modelValue": c[6] || (c[6] = (u) => R(i) ? i.value = u : null),
|
|
1051
1057
|
label: e(a)("event.flagOnTable")
|
|
1052
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1053
|
-
g.hideRemarks !== "yes" ? (l(), p(
|
|
1058
|
+
}, null, 8, ["modelValue", "label"])) : d("", !0),
|
|
1059
|
+
g.hideRemarks !== "yes" ? (l(), p(ce, {
|
|
1054
1060
|
key: 4,
|
|
1055
1061
|
modelValue: e($),
|
|
1056
|
-
"onUpdate:modelValue":
|
|
1062
|
+
"onUpdate:modelValue": c[7] || (c[7] = (u) => R($) ? $.value = u : null),
|
|
1057
1063
|
type: "textarea",
|
|
1058
1064
|
label: e(a)("booking.reservation.remark"),
|
|
1059
1065
|
icon: "info-circle",
|
|
1060
1066
|
placeholder: e(a)("booking.reservation.remarkPlaceholder")
|
|
1061
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) :
|
|
1062
|
-
g.hideAllergies !== "yes" ? (l(), p(
|
|
1067
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : d("", !0),
|
|
1068
|
+
g.hideAllergies !== "yes" ? (l(), p(ce, {
|
|
1063
1069
|
key: 5,
|
|
1064
1070
|
modelValue: e(C),
|
|
1065
|
-
"onUpdate:modelValue":
|
|
1071
|
+
"onUpdate:modelValue": c[8] || (c[8] = (u) => R(C) ? C.value = u : null),
|
|
1066
1072
|
type: "textarea",
|
|
1067
1073
|
label: e(a)("booking.reservation.allergies"),
|
|
1068
1074
|
icon: "allergies",
|
|
1069
1075
|
placeholder: e(a)("booking.reservation.allergiesPlaceholder")
|
|
1070
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) :
|
|
1076
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : d("", !0)
|
|
1071
1077
|
])
|
|
1072
1078
|
]),
|
|
1073
1079
|
navigation: m(() => [
|
|
1074
|
-
b(
|
|
1080
|
+
b(pe, {
|
|
1075
1081
|
label: e(a)("general.confirmReservation"),
|
|
1076
|
-
"is-loading": e(
|
|
1077
|
-
disabled: !e(
|
|
1082
|
+
"is-loading": e(ee),
|
|
1083
|
+
disabled: !e(H),
|
|
1078
1084
|
"full-width": "",
|
|
1079
1085
|
onClickEvent: (u) => e(Ye)(F)
|
|
1080
1086
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
@@ -1097,7 +1103,7 @@ const Jt = {
|
|
|
1097
1103
|
}, 8, ["access-token", "callback"])
|
|
1098
1104
|
]),
|
|
1099
1105
|
fallback: m(() => [
|
|
1100
|
-
b(
|
|
1106
|
+
b(An)
|
|
1101
1107
|
]),
|
|
1102
1108
|
_: 1
|
|
1103
1109
|
}))
|
|
@@ -1105,8 +1111,8 @@ const Jt = {
|
|
|
1105
1111
|
_: 1
|
|
1106
1112
|
}, 8, ["styling"]));
|
|
1107
1113
|
}
|
|
1108
|
-
}),
|
|
1109
|
-
class
|
|
1114
|
+
}), Be = /* @__PURE__ */ q(ea, [["__scopeId", "data-v-55115e88"]]), ta = dt(), na = ct, aa = na();
|
|
1115
|
+
class la extends HTMLElement {
|
|
1110
1116
|
vueApp;
|
|
1111
1117
|
constructor() {
|
|
1112
1118
|
super();
|
|
@@ -1115,14 +1121,14 @@ class aa extends HTMLElement {
|
|
|
1115
1121
|
this.vueApp.unmount();
|
|
1116
1122
|
}
|
|
1117
1123
|
connectedCallback() {
|
|
1118
|
-
const n = mt(
|
|
1119
|
-
this.vueApp = pt(
|
|
1124
|
+
const n = mt(Be, this.attributes);
|
|
1125
|
+
this.vueApp = pt(Be, n), this.vueApp.provide("emitter", aa), this.vueApp.use(vt), this.vueApp.use(ta), this.vueApp.use(At), this.vueApp.use(bt), this.vueApp.use(It);
|
|
1120
1126
|
const a = document.createElement("div");
|
|
1121
1127
|
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
1122
1128
|
}
|
|
1123
1129
|
}
|
|
1124
|
-
window.customElements.define("konnectio-event",
|
|
1130
|
+
window.customElements.define("konnectio-event", la);
|
|
1125
1131
|
export {
|
|
1126
|
-
|
|
1132
|
+
la as default
|
|
1127
1133
|
};
|
|
1128
1134
|
//# sourceMappingURL=event.js.map
|