@konnectio/core 4.8.4 → 4.8.5
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-DNhrzibV.js → ActionField-CPB28GGH.js} +1 -1
- package/dist/ActionField-CPB28GGH.js.br +0 -0
- package/dist/ActionField-CPB28GGH.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DyHPcQ3l.js → AvailabilitySkeleton-CS-VIC0g.js} +1805 -1805
- package/dist/AvailabilitySkeleton-CS-VIC0g.js.br +0 -0
- package/dist/AvailabilitySkeleton-CS-VIC0g.js.gz +0 -0
- package/dist/{CheckoutWindow-C7AVcaIo.js → CheckoutWindow-uSUIYV_l.js} +6 -6
- package/dist/CheckoutWindow-uSUIYV_l.js.br +0 -0
- package/dist/CheckoutWindow-uSUIYV_l.js.gz +0 -0
- package/dist/{ErrorMessage-i6VD5R-W.js → ErrorMessage-BqtkQrjv.js} +1 -1
- package/dist/ErrorMessage-BqtkQrjv.js.br +0 -0
- package/dist/{ErrorMessage-i6VD5R-W.js.gz → ErrorMessage-BqtkQrjv.js.gz} +0 -0
- package/dist/{EventAvailabilityForm-B5degNGN.js → EventAvailabilityForm-CZi_9ylK.js} +2 -2
- package/dist/EventAvailabilityForm-CZi_9ylK.js.br +0 -0
- package/dist/EventAvailabilityForm-CZi_9ylK.js.gz +0 -0
- package/dist/{Field-CysA6ZKB.js → Field-DrBptDMM.js} +1 -1
- package/dist/Field-DrBptDMM.js.br +0 -0
- package/dist/Field-DrBptDMM.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-BGzRuNRM.js → HotelAvailabilityForm-DrvHOZZc.js} +2 -2
- package/dist/HotelAvailabilityForm-DrvHOZZc.js.br +0 -0
- package/dist/HotelAvailabilityForm-DrvHOZZc.js.gz +0 -0
- package/dist/{SelectField-BUeYRCxc.js → SelectField-BgtOlOM4.js} +1568 -1561
- package/dist/SelectField-BgtOlOM4.js.br +0 -0
- package/dist/SelectField-BgtOlOM4.js.gz +0 -0
- package/dist/{TermsOfService-DgMhoS_V.js → TermsOfService-D7jKevUz.js} +2 -2
- package/dist/TermsOfService-D7jKevUz.js.br +0 -0
- package/dist/TermsOfService-D7jKevUz.js.gz +0 -0
- package/dist/{_-DFyJPf6E.js → _-BxcV2Z7Q.js} +1 -1
- package/dist/_-BxcV2Z7Q.js.br +0 -0
- package/dist/_-BxcV2Z7Q.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +16 -16
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-CS5pBdeg.js → dist-B0ZO0eAh.js} +2 -2
- package/dist/dist-B0ZO0eAh.js.br +0 -0
- package/dist/{dist-CS5pBdeg.js.gz → dist-B0ZO0eAh.js.gz} +0 -0
- package/dist/{dist-D4fD_33g.js → dist-CrMfGnKf.js} +4 -4
- package/dist/dist-CrMfGnKf.js.br +0 -0
- package/dist/dist-CrMfGnKf.js.gz +0 -0
- package/dist/event.js +177 -177
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +13 -13
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-ChLbvI2n.js → giftCard-BaDKuJaZ.js} +10 -10
- package/dist/giftCard-BaDKuJaZ.js.br +0 -0
- package/dist/giftCard-BaDKuJaZ.js.gz +0 -0
- package/dist/hotel.js +858 -858
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-DWSfukOm.js → style-D3G491g0.js} +1 -1
- package/dist/style-D3G491g0.js.br +0 -0
- package/dist/style-D3G491g0.js.gz +0 -0
- package/dist-wix/availability.js +25 -25
- package/dist-wix/event.js +5 -5
- package/dist-wix/gift-card-validation.js +16 -16
- package/dist-wix/gift-card.js +19 -19
- package/dist-wix/hotel.js +5 -5
- package/package.json +1 -1
- package/dist/ActionField-DNhrzibV.js.br +0 -0
- package/dist/ActionField-DNhrzibV.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
- package/dist/Field-CysA6ZKB.js.br +0 -0
- package/dist/Field-CysA6ZKB.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
- package/dist/SelectField-BUeYRCxc.js.br +0 -0
- package/dist/SelectField-BUeYRCxc.js.gz +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
- package/dist/_-DFyJPf6E.js.br +0 -0
- package/dist/_-DFyJPf6E.js.gz +0 -0
- package/dist/dist-CS5pBdeg.js.br +0 -0
- package/dist/dist-D4fD_33g.js.br +0 -0
- package/dist/dist-D4fD_33g.js.gz +0 -0
- package/dist/giftCard-ChLbvI2n.js.br +0 -0
- package/dist/giftCard-ChLbvI2n.js.gz +0 -0
- package/dist/style-DWSfukOm.js.br +0 -0
- package/dist/style-DWSfukOm.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { A as e, At as t, D as n, E as r, Et as i, F as a, I as o, L as s, M as c, N as l, P as u, Pt as d, Q as f, a as p, at as m, bt as h, et as g, f as _, ft as v, gt as y, h as b, it as x, j as S, jt as C, mt as w, n as T, o as E, p as D, w as O, wt as k, z as A } from "./i18n-_behsDNX.js";
|
|
2
|
-
import { t as j } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { t as
|
|
6
|
-
import { a as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { a as
|
|
2
|
+
import { t as j } from "./dist-B0ZO0eAh.js";
|
|
3
|
+
import { $ as M, C as ee, D as N, E as P, G as F, H as te, J as ne, L as re, N as I, Q as L, S as R, T as ie, V as z, X as ae, Y as B, at as V, b as oe, j as se, lt as ce, n as H, nt as U, r as W, rt as le, tt as G, ut as ue, v as de, w as K, x as q, z as fe } from "./SelectField-BgtOlOM4.js";
|
|
4
|
+
import { a as pe, c as me, i as he, l as ge, n as _e, s as ve, t as ye } from "./CheckoutWindow-uSUIYV_l.js";
|
|
5
|
+
import { t as be } from "./_-BxcV2Z7Q.js";
|
|
6
|
+
import { a as J, c as xe, d as Se, f as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, s as ke, u as Ae } from "./AvailabilitySkeleton-CS-VIC0g.js";
|
|
7
|
+
import { t as je } from "./EventAvailabilityForm-CZi_9ylK.js";
|
|
8
|
+
import { t as Y } from "./style-D3G491g0.js";
|
|
9
|
+
import { a as Me, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, s as Re, t as ze, u as X } from "./dist-CrMfGnKf.js";
|
|
10
10
|
//#region node_modules/date-fns/formatDistanceStrict.js
|
|
11
11
|
function Z(e, t, n) {
|
|
12
|
-
let r =
|
|
12
|
+
let r = xe(), i = n?.locale ?? r.locale ?? Oe, a = J(e, t);
|
|
13
13
|
if (isNaN(a)) throw RangeError("Invalid time value");
|
|
14
14
|
let o = Object.assign({}, n, {
|
|
15
15
|
addSuffix: n?.addSuffix,
|
|
16
16
|
comparison: a
|
|
17
|
-
}), [s, c] =
|
|
17
|
+
}), [s, c] = De(n?.in, ...a > 0 ? [t, e] : [e, t]), l = we(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / Te, f = (u - (ke(c) - ke(s))) / Te, p = n?.unit, m;
|
|
18
18
|
if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
|
|
19
19
|
let e = l(u / 1e3);
|
|
20
20
|
return i.formatDistance("xSeconds", e, o);
|
|
@@ -28,21 +28,21 @@ function Z(e, t, n) {
|
|
|
28
28
|
return i.formatDistance("xHours", e, o);
|
|
29
29
|
}
|
|
30
30
|
if (m === "day") {
|
|
31
|
-
let e = l(f /
|
|
31
|
+
let e = l(f / Ae);
|
|
32
32
|
return i.formatDistance("xDays", e, o);
|
|
33
33
|
}
|
|
34
34
|
if (m === "month") {
|
|
35
|
-
let e = l(f /
|
|
35
|
+
let e = l(f / Se);
|
|
36
36
|
return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
|
|
37
37
|
}
|
|
38
38
|
{
|
|
39
|
-
let e = l(f /
|
|
39
|
+
let e = l(f / Ce);
|
|
40
40
|
return i.formatDistance("xYears", e, o);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
|
|
45
|
-
var
|
|
45
|
+
var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
46
46
|
__name: "_",
|
|
47
47
|
props: {
|
|
48
48
|
name: {},
|
|
@@ -73,7 +73,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
73
73
|
callback: {}
|
|
74
74
|
},
|
|
75
75
|
setup(n) {
|
|
76
|
-
let { t: r } = p(), i = n, { display: a } = I(), { hideEventGuestAmount: o } = b(
|
|
76
|
+
let { t: r } = p(), i = n, { display: a } = I(), { hideEventGuestAmount: o } = b(P()), { maxNumberOfPeople: u, numberOfPeople: d, eventId: f, currentEventDate: h, tableGroupId: _ } = b(K()), { getTemplateAvailability: v, getEventAvailability: x, isEventListingLoading: w } = K(), { addToCart: T } = N(), E = e(() => i.maxGuests || i.maxOnlineReservationLimit || u.value || Infinity), D = k(0), O = e(() => w(i.listingId)), A = () => {
|
|
77
77
|
if (!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
|
|
78
78
|
a({
|
|
79
79
|
type: "error",
|
|
@@ -100,7 +100,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
100
100
|
value: i.fromPrice || 0
|
|
101
101
|
}), f.value = i.listingId, _.value = i.tableGroupId, d.value = i.useNumberOfProductsForPersons ? NaN : D.value, x(i.callback);
|
|
102
102
|
};
|
|
103
|
-
return (e, i) => (g(), c(
|
|
103
|
+
return (e, i) => (g(), c(Fe, {
|
|
104
104
|
type: "event",
|
|
105
105
|
"listing-id": n.listingId,
|
|
106
106
|
gallery: n.gallery,
|
|
@@ -108,11 +108,11 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
108
108
|
description: n.description,
|
|
109
109
|
"prices-from": n.fromPrice,
|
|
110
110
|
"to-date": n.toDate,
|
|
111
|
-
layout: t(
|
|
111
|
+
layout: t(V).Event,
|
|
112
112
|
"disable-deep-link": n.disableDeepLink
|
|
113
113
|
}, {
|
|
114
114
|
description: y(() => [m(e.$slots, "description", { maxNumberOfPeople: t(u) }, void 0, !0)]),
|
|
115
|
-
action: y(() => [m(e.$slots, "action", {}, () => [S("div", { class: C(["konnectio-event-listing-action", { "no-selectable-people": n.useNumberOfProductsForPersons }]) }, [n.useNumberOfProductsForPersons ? l("", !0) : (g(), c(
|
|
115
|
+
action: y(() => [m(e.$slots, "action", {}, () => [S("div", { class: C(["konnectio-event-listing-action", { "no-selectable-people": n.useNumberOfProductsForPersons }]) }, [n.useNumberOfProductsForPersons ? l("", !0) : (g(), c(W, {
|
|
116
116
|
key: 0,
|
|
117
117
|
modelValue: D.value,
|
|
118
118
|
"onUpdate:modelValue": i[0] ||= (e) => D.value = e,
|
|
@@ -128,12 +128,12 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
128
128
|
"label",
|
|
129
129
|
"description",
|
|
130
130
|
"max-value"
|
|
131
|
-
])), S("div",
|
|
131
|
+
])), S("div", Be, [s(de, {
|
|
132
132
|
label: n.soldOut ? t(r)("event.soldOut") : t(r)("event.bookNowButton"),
|
|
133
133
|
disabled: n.soldOut,
|
|
134
134
|
"is-loading": O.value,
|
|
135
135
|
"full-width": "",
|
|
136
|
-
"sub-label": t(
|
|
136
|
+
"sub-label": t(L)(t(h)),
|
|
137
137
|
onClickEvent: i[1] ||= (e) => n.type === "event" ? j() : A()
|
|
138
138
|
}, null, 8, [
|
|
139
139
|
"label",
|
|
@@ -153,13 +153,13 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
153
153
|
"disable-deep-link"
|
|
154
154
|
]));
|
|
155
155
|
}
|
|
156
|
-
}), [["__scopeId", "data-v-bfd98c31"]]),
|
|
156
|
+
}), [["__scopeId", "data-v-bfd98c31"]]), He = { class: "konnectio-event-listing-information-new" }, Ue = {
|
|
157
157
|
key: 1,
|
|
158
158
|
class: "konnectio-pill-button"
|
|
159
|
-
},
|
|
159
|
+
}, We = {
|
|
160
160
|
key: 2,
|
|
161
161
|
class: "konnectio-pill-button"
|
|
162
|
-
},
|
|
162
|
+
}, Ge = { key: 0 }, Ke = { key: 1 }, Q = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
163
163
|
__name: "Event",
|
|
164
164
|
props: {
|
|
165
165
|
name: {},
|
|
@@ -182,12 +182,12 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
182
182
|
callback: {}
|
|
183
183
|
},
|
|
184
184
|
setup(n) {
|
|
185
|
-
let r = n, { t: i } = p(), { hideEventLength: a, hideEventEndTime: o } = b(
|
|
185
|
+
let r = n, { t: i } = p(), { hideEventLength: a, hideEventEndTime: o } = b(P()), f = e(() => {
|
|
186
186
|
if (!r.length) return;
|
|
187
187
|
let e = r.length.split(":");
|
|
188
188
|
return Z(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
|
|
189
189
|
});
|
|
190
|
-
return (e, r) => (g(), c(
|
|
190
|
+
return (e, r) => (g(), c(Ve, {
|
|
191
191
|
"listing-id": n.listingId,
|
|
192
192
|
name: n.name,
|
|
193
193
|
description: n.description,
|
|
@@ -205,16 +205,16 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
205
205
|
description: y(() => [n.description ? (g(), c(X, {
|
|
206
206
|
key: 0,
|
|
207
207
|
text: n.description
|
|
208
|
-
}, null, 8, ["text"])) : l("", !0), S("ul",
|
|
208
|
+
}, null, 8, ["text"])) : l("", !0), S("ul", He, [
|
|
209
209
|
l("", !0),
|
|
210
|
-
!t(a) && f.value ? (g(), u("li",
|
|
210
|
+
!t(a) && f.value ? (g(), u("li", Ue, [S("div", null, [s(q, {
|
|
211
211
|
icon: "calendar-clock",
|
|
212
212
|
color: "header"
|
|
213
213
|
}), S("span", null, d(t(i)("event.lengthOfEvent")), 1)]), S("span", null, d(f.value), 1)])) : l("", !0),
|
|
214
|
-
n.timeFrom ? (g(), u("li",
|
|
214
|
+
n.timeFrom ? (g(), u("li", We, [S("div", null, [s(q, {
|
|
215
215
|
icon: "calendar-clock",
|
|
216
216
|
color: "header"
|
|
217
|
-
}), S("span", null, d(t(i)("event.startAndEndTime")), 1)]), t(o) ? (g(), u("span",
|
|
217
|
+
}), S("span", null, d(t(i)("event.startAndEndTime")), 1)]), t(o) ? (g(), u("span", Ke, d(t(U)(n.timeFrom)), 1)) : (g(), u("span", Ge, d(t(le)(n.timeFrom, n.timeTo)), 1))])) : l("", !0)
|
|
218
218
|
])]),
|
|
219
219
|
action: y(() => [m(e.$slots, "action", {}, void 0, !0)]),
|
|
220
220
|
_: 3
|
|
@@ -233,10 +233,10 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
233
233
|
"callback"
|
|
234
234
|
]));
|
|
235
235
|
}
|
|
236
|
-
}), [["__scopeId", "data-v-2ecac268"]]),
|
|
236
|
+
}), [["__scopeId", "data-v-2ecac268"]]), qe = {
|
|
237
237
|
key: 0,
|
|
238
238
|
class: "konnectio-event-grouped-listings-container"
|
|
239
|
-
},
|
|
239
|
+
}, Je = { class: "konnectio-event-grouped-listings" }, Ye = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
240
240
|
__name: "Event",
|
|
241
241
|
props: {
|
|
242
242
|
name: {},
|
|
@@ -245,7 +245,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
245
245
|
callback: { type: Function }
|
|
246
246
|
},
|
|
247
247
|
setup(e) {
|
|
248
|
-
return (t, n) => e.events && e.events.length > 1 ? (g(), u("div",
|
|
248
|
+
return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", qe, [l("", !0), S("ul", Je, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, tableGroupId: o, description: s, soldOut: l, length: u, images: d, maxOnlineReservationLimit: f, maxPaxPerReservation: p, useNumberOfProductsForPersons: m, maxTicketsLimit: h }) => (g(), c(Q, {
|
|
249
249
|
key: t,
|
|
250
250
|
type: "event",
|
|
251
251
|
"listing-id": t,
|
|
@@ -315,7 +315,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
315
315
|
"callback"
|
|
316
316
|
])) : l("", !0);
|
|
317
317
|
}
|
|
318
|
-
}), [["__scopeId", "data-v-1c96b9a2"]]),
|
|
318
|
+
}), [["__scopeId", "data-v-1c96b9a2"]]), Xe = { class: "konnectio-special-offer-availability" }, Ze = { class: "konnectio-special-offer-availability-button" }, Qe = { class: "konnectio-warning-notice" }, $e = { key: 0 }, $ = { key: 1 }, et = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
319
319
|
__name: "NextEvent",
|
|
320
320
|
props: {
|
|
321
321
|
name: {},
|
|
@@ -337,14 +337,14 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
337
337
|
callback: { type: Function }
|
|
338
338
|
},
|
|
339
339
|
setup(n) {
|
|
340
|
-
let { t: r } = p(), { updateEventDate: i } =
|
|
340
|
+
let { t: r } = p(), { updateEventDate: i } = ee(), { display: a } = I(), l = k(), m = n;
|
|
341
341
|
function h() {
|
|
342
342
|
l.value ? i(l.value) : a({
|
|
343
343
|
message: r("alert.error.selectDate"),
|
|
344
344
|
type: "error"
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
|
-
let _ = e(() =>
|
|
347
|
+
let _ = e(() => fe(m.fromDate, m.toDate) <= 1), v = e(() => [
|
|
348
348
|
0,
|
|
349
349
|
1,
|
|
350
350
|
2,
|
|
@@ -375,7 +375,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
375
375
|
callback: n.callback,
|
|
376
376
|
"disable-deep-link": !0
|
|
377
377
|
}, {
|
|
378
|
-
action: y(() => [S("div", null, [S("div",
|
|
378
|
+
action: y(() => [S("div", null, [S("div", Xe, [s(Ee, {
|
|
379
379
|
modelValue: l.value,
|
|
380
380
|
"onUpdate:modelValue": i[0] ||= (e) => l.value = e,
|
|
381
381
|
label: `${t(r)("event.selectDate")}*`,
|
|
@@ -396,10 +396,10 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
396
396
|
"min-date",
|
|
397
397
|
"max-date",
|
|
398
398
|
"disabled-week-days"
|
|
399
|
-
]), S("div",
|
|
399
|
+
]), S("div", Ze, [s(de, {
|
|
400
400
|
label: t(r)("availability.buttonLabel"),
|
|
401
401
|
onClick: O(h, ["prevent"])
|
|
402
|
-
}, null, 8, ["label"])])]), S("div",
|
|
402
|
+
}, null, 8, ["label"])])]), S("div", Qe, [_.value ? (g(), u("span", $e, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(L)(n.fromDate)), 1)])) : (g(), u("span", $, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(M)(n.days)), 1)]))])])]),
|
|
403
403
|
_: 1
|
|
404
404
|
}, 8, [
|
|
405
405
|
"name",
|
|
@@ -421,10 +421,10 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
421
421
|
"callback"
|
|
422
422
|
]));
|
|
423
423
|
}
|
|
424
|
-
}), [["__scopeId", "data-v-91ea584c"]]),
|
|
424
|
+
}), [["__scopeId", "data-v-91ea584c"]]), tt = {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "konnectio-event-grouped-listings-container"
|
|
427
|
-
},
|
|
427
|
+
}, nt = { class: "konnectio-event-grouped-listings" }, rt = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
428
428
|
__name: "NextEvent",
|
|
429
429
|
props: {
|
|
430
430
|
name: {},
|
|
@@ -433,7 +433,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
433
433
|
callback: { type: Function }
|
|
434
434
|
},
|
|
435
435
|
setup(e) {
|
|
436
|
-
return (t, n) => e.events && e.events.length > 1 ? (g(), u("div",
|
|
436
|
+
return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", tt, [l("", !0), S("ul", nt, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, fromDate: o, toDate: s, tableGroupId: l, description: u, soldOut: d, length: f, images: p, maxOnlineReservationLimit: m, maxPaxPerReservation: h, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (g(), c(et, {
|
|
437
437
|
key: t,
|
|
438
438
|
type: "event",
|
|
439
439
|
"listing-id": t,
|
|
@@ -469,7 +469,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
469
469
|
"use-number-of-products-for-persons",
|
|
470
470
|
"tracking-enabled",
|
|
471
471
|
"callback"
|
|
472
|
-
]))), 128))])])) : e.events ? (g(), c(
|
|
472
|
+
]))), 128))])])) : e.events ? (g(), c(et, {
|
|
473
473
|
key: e.events[0].id,
|
|
474
474
|
type: "event",
|
|
475
475
|
"listing-id": e.events[0].id,
|
|
@@ -507,7 +507,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
507
507
|
"callback"
|
|
508
508
|
])) : l("", !0);
|
|
509
509
|
}
|
|
510
|
-
}), [["__scopeId", "data-v-56a468d4"]]),
|
|
510
|
+
}), [["__scopeId", "data-v-56a468d4"]]), it = ["innerHTML"], at = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
511
511
|
__name: "FallbackEvent",
|
|
512
512
|
props: {
|
|
513
513
|
name: {},
|
|
@@ -535,7 +535,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
535
535
|
action: y(() => [S("div", {
|
|
536
536
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
537
537
|
innerHTML: t(n)("event.notAvailable", { name: `<b>${e.name}</b>` })
|
|
538
|
-
}, null, 8,
|
|
538
|
+
}, null, 8, it)]),
|
|
539
539
|
_: 1
|
|
540
540
|
}, 8, [
|
|
541
541
|
"name",
|
|
@@ -548,7 +548,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
548
548
|
"callback"
|
|
549
549
|
]));
|
|
550
550
|
}
|
|
551
|
-
}), [["__scopeId", "data-v-aca89b02"]]),
|
|
551
|
+
}), [["__scopeId", "data-v-aca89b02"]]), ot = /* @__PURE__ */ A({
|
|
552
552
|
__name: "Template",
|
|
553
553
|
props: {
|
|
554
554
|
name: {},
|
|
@@ -565,7 +565,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
565
565
|
callback: {}
|
|
566
566
|
},
|
|
567
567
|
setup(e) {
|
|
568
|
-
return (t, n) => (g(), c(
|
|
568
|
+
return (t, n) => (g(), c(Ve, {
|
|
569
569
|
"listing-id": e.listingId,
|
|
570
570
|
gallery: e.images,
|
|
571
571
|
name: e.name,
|
|
@@ -586,13 +586,13 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
586
586
|
"callback"
|
|
587
587
|
]));
|
|
588
588
|
}
|
|
589
|
-
}),
|
|
589
|
+
}), st = {
|
|
590
590
|
key: 0,
|
|
591
591
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
592
|
-
},
|
|
592
|
+
}, ct = ["innerHTML"], lt = { key: 0 }, ut = { key: 1 }, dt = { key: 2 }, ft = { key: 0 }, pt = { key: 4 }, mt = { key: 5 }, ht = { key: 6 }, gt = { key: 0 }, _t = { key: 0 }, vt = { key: 1 }, yt = {
|
|
593
593
|
key: 0,
|
|
594
594
|
class: "konnectio-capitalize"
|
|
595
|
-
},
|
|
595
|
+
}, bt = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
596
596
|
__name: "EventReservationForm",
|
|
597
597
|
props: {
|
|
598
598
|
showGiftCard: {
|
|
@@ -606,11 +606,11 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
606
606
|
prevCallback: {}
|
|
607
607
|
},
|
|
608
608
|
setup(e) {
|
|
609
|
-
let { t: n } = p(), i = v(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: f, numberOfRooms: _, numberOfTotalDays: C, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: M, roomUpgrade: ee, discountCode:
|
|
610
|
-
return (p, v) => (g(), c(
|
|
611
|
-
"discount-code": t(
|
|
612
|
-
"onUpdate:discountCode": v[0] ||= (e) => h(
|
|
613
|
-
"validate-discount-code": t(
|
|
609
|
+
let { t: n } = p(), i = v(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: f, numberOfRooms: _, numberOfTotalDays: C, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: M, roomUpgrade: ee, discountCode: N, totalSelectedProducts: F, discountValue: te, appliedDiscountCode: ne } = b(K()), { totalAddonPrice: re, validateDiscountCode: I } = K(), { currency: R, hideEventLength: ie } = b(P()), z = n("event.reservationNotice");
|
|
610
|
+
return (p, v) => (g(), c(Me, {
|
|
611
|
+
"discount-code": t(N),
|
|
612
|
+
"onUpdate:discountCode": v[0] ||= (e) => h(N) ? N.value = e : null,
|
|
613
|
+
"validate-discount-code": t(I),
|
|
614
614
|
"show-gift-card": e.showGiftCard,
|
|
615
615
|
"show-terms-notice": e.showTermsNotice,
|
|
616
616
|
"is-sidebar-loading": !t(o),
|
|
@@ -621,28 +621,28 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
621
621
|
notice: t(z),
|
|
622
622
|
"prev-callback": e.prevCallback
|
|
623
623
|
}, a({
|
|
624
|
-
form: y(() => [m(p.$slots, "form", {}, void 0, !0), t(z) ? (g(), u("div",
|
|
624
|
+
form: y(() => [m(p.$slots, "form", {}, void 0, !0), t(z) ? (g(), u("div", st, [S("p", {
|
|
625
625
|
innerHTML: t(z),
|
|
626
626
|
class: "konnectio-wysiwyg"
|
|
627
|
-
}, null, 8,
|
|
627
|
+
}, null, 8, ct)])) : l("", !0)]),
|
|
628
628
|
"reservation-summary": y(() => [
|
|
629
|
-
t(w) ? l("", !0) : (g(), u("li",
|
|
630
|
-
t(f) > 0 ? (g(), u("li",
|
|
631
|
-
!t(w) && t(F) > 0 ? (g(), u("li",
|
|
629
|
+
t(w) ? l("", !0) : (g(), u("li", lt, [S("span", null, d(t(n)("general.date")), 1), S("b", null, d(t(L)(t(T))), 1)])),
|
|
630
|
+
t(f) > 0 ? (g(), u("li", ut, [S("span", null, d(t(n)("event.numberOfGuests")), 1), S("b", null, d(t(f)), 1)])) : l("", !0),
|
|
631
|
+
!t(w) && t(F) > 0 ? (g(), u("li", dt, [S("span", null, d(t(n)("event.numberOfProducts")), 1), S("b", null, d(t(F)), 1)])) : l("", !0),
|
|
632
632
|
t(w) ? (g(), u(r, { key: 3 }, [
|
|
633
|
-
S("li", null, [S("span", null, d(t(n)("booking.reservation.arrival")), 1), S("b", null, d(t(
|
|
634
|
-
S("li", null, [S("span", null, d(t(n)("booking.reservation.departure")), 1), S("b", null, d(t(
|
|
633
|
+
S("li", null, [S("span", null, d(t(n)("booking.reservation.arrival")), 1), S("b", null, d(t(L)(t(D))), 1)]),
|
|
634
|
+
S("li", null, [S("span", null, d(t(n)("booking.reservation.departure")), 1), S("b", null, d(t(L)(t(D), t(C))), 1)]),
|
|
635
635
|
S("li", null, [S("span", null, d(t(n)("event.numberOfRooms")), 1), S("b", null, d(t(_)), 1)]),
|
|
636
|
-
t(C) > 0 ? (g(), u("li",
|
|
636
|
+
t(C) > 0 ? (g(), u("li", ft, [S("span", null, d(t(n)("event.numberOfDays")), 1), S("b", null, d(t(C)), 1)])) : l("", !0)
|
|
637
637
|
], 64)) : l("", !0),
|
|
638
|
-
!t(w) && t(s) ? (g(), u("li",
|
|
639
|
-
!t(w) && t(E) && !t(
|
|
640
|
-
t(te) ? (g(), u("li",
|
|
638
|
+
!t(w) && t(s) ? (g(), u("li", pt, [S("span", null, d(t(n)("event.startOfEvent")), 1), S("b", null, d(t(U)(t(s))), 1)])) : l("", !0),
|
|
639
|
+
!t(w) && t(E) && !t(ie) ? (g(), u("li", mt, [S("span", null, d(t(n)("event.lengthOfEvent")), 1), S("b", null, d(t(U)(t(E))), 1)])) : l("", !0),
|
|
640
|
+
t(te) ? (g(), u("li", ht, [S("span", null, d(t(n)("general.discountCode")), 1), S("b", null, d(t(ne)), 1)])) : l("", !0)
|
|
641
641
|
]),
|
|
642
|
-
"price-summary": y(() => [!t(w) && t(O) > 0 ? (g(), u("li",
|
|
642
|
+
"price-summary": y(() => [!t(w) && t(O) > 0 ? (g(), u("li", gt, [S("span", null, d(t(n)("booking.availability.basePrice")), 1), S("b", null, d(t(G)(t(O), t(R))), 1)])) : l("", !0), t(k) ? (g(!0), u(r, { key: 1 }, x(t(k), ({ roomGroupId: e }, i) => (g(), u(r, null, [t(re)(e, i) > 0 ? (g(), u("li", { key: e }, [S("span", null, d(t(n)("booking.reservation.addons")) + " - " + d(t(n)("booking.reservation.room")) + " #" + d(i + 1), 1), S("b", null, d(t(G)(t(re)(e, i), t(R))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
|
|
643
643
|
navigation: y(() => [m(p.$slots, "navigation", {}, void 0, !0)]),
|
|
644
|
-
"mobile-under-price": y(() => [t(w) && t(C) > 0 ? (g(), u("div",
|
|
645
|
-
"mobile-summary": y(() => [!t(w) && t(F) > 0 ? (g(), u("span",
|
|
644
|
+
"mobile-under-price": y(() => [t(w) && t(C) > 0 ? (g(), u("div", _t, [S("span", null, d(t(L)(t(D))) + " - " + d(t(L)(t(D), t(C))), 1)])) : (g(), u("div", vt, [S("span", null, d(t(L)(t(T))), 1)]))]),
|
|
645
|
+
"mobile-summary": y(() => [!t(w) && t(F) > 0 ? (g(), u("span", yt, d(t(n)("event.numberOfProducts")) + ": " + d(t(F)), 1)) : l("", !0)]),
|
|
646
646
|
_: 2
|
|
647
647
|
}, [t(i).sidebar ? {
|
|
648
648
|
name: "sidebar",
|
|
@@ -662,27 +662,27 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
662
662
|
"prev-callback"
|
|
663
663
|
]));
|
|
664
664
|
}
|
|
665
|
-
}), [["__scopeId", "data-v-c1e1c642"]]),
|
|
665
|
+
}), [["__scopeId", "data-v-c1e1c642"]]), xt = { class: "event-skeleton" }, St = { class: "event-skeleton-content" }, Ct = { class: "event-skeleton-sidebar" }, wt = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
666
666
|
__name: "EventSkeleton",
|
|
667
667
|
setup(e) {
|
|
668
|
-
return (e, t) => (g(), u("div",
|
|
668
|
+
return (e, t) => (g(), u("div", xt, [S("div", St, [s(Ie)]), S("div", Ct, [l("", !0), s(Le)])]));
|
|
669
669
|
}
|
|
670
|
-
}), [["__scopeId", "data-v-af0e7efb"]]),
|
|
670
|
+
}), [["__scopeId", "data-v-af0e7efb"]]), Tt = {
|
|
671
671
|
key: 0,
|
|
672
672
|
id: "konnectio-event-listings-wrapper"
|
|
673
|
-
},
|
|
673
|
+
}, Et = {
|
|
674
674
|
key: 0,
|
|
675
675
|
class: "konnectio-event-listings"
|
|
676
|
-
},
|
|
676
|
+
}, Dt = {
|
|
677
677
|
key: 1,
|
|
678
678
|
class: "konnectio-hotel-availability-title"
|
|
679
|
-
},
|
|
679
|
+
}, Ot = { class: "konnectio-event-listings" }, kt = { class: "konnectio-hotel-availability-title" }, At = { class: "konnectio-event-listings" }, jt = ["innerHTML"], Mt = { class: "konnectio-panel" }, Nt = {
|
|
680
680
|
key: 0,
|
|
681
681
|
id: "konnectio-event-addons"
|
|
682
|
-
},
|
|
682
|
+
}, Pt = { class: "konnectio-table with-lines" }, Ft = { class: "konnectio-event-addons-price" }, It = { class: "konnectio-event-addons-input" }, Lt = { class: "konnectio-event-addons-price" }, Rt = { class: "konnectio-event-addons-price" }, zt = {
|
|
683
683
|
key: 1,
|
|
684
684
|
class: "konnectio-table with-lines without-header"
|
|
685
|
-
},
|
|
685
|
+
}, Bt = { class: "konnectio-table-addons-information" }, Vt = { key: 0 }, Ht = { class: "konnectio-table-addons-option" }, Ut = { class: "konnectio-panel" }, Wt = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
686
686
|
name: "EventLayout",
|
|
687
687
|
__name: "Event",
|
|
688
688
|
props: {
|
|
@@ -700,26 +700,26 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
700
700
|
styling: {}
|
|
701
701
|
},
|
|
702
702
|
setup(a) {
|
|
703
|
-
let f = a, { t: m } = p(), v =
|
|
704
|
-
|
|
705
|
-
let $ = i(),
|
|
706
|
-
function
|
|
703
|
+
let f = a, { t: m } = p(), v = K(), { isHostedCheckoutActive: C } = b(se()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: M, remark: L, allergies: R, arrivalTime: z, hasEvents: B, hasTemplates: V, getTemplates: le, getEventData: fe, getTemplateData: J, getEventTableData: xe, hasProducts: Se, eventRateType: Ce, areListingsAvailable: we, isAvailabilityDataAvailable: Te, hasListingData: Ee, isPaymentLoading: De, isReservationFormFilled: Oe, requiresArrivalTime: ke, hasSelectedRequiredProducts: Ae, getUnavailableEvents: Y, hasFallbackEvents: Me, getFallbackEvents: Fe, excludeEventIds: Le } = b(v), ze = e(() => v.getSortedEvents(f.sortOrder)), { currency: X, enableTracking: Z } = b(P()), { setActiveIdFilter: Be } = P(), { eventDate: Ve, eventLocation: He } = b(ee()), { isValidRestaurantId: Ue } = ee(), { initialize: We, fetchListings: Ge, createBooking: Ke, bookingPayload: Q, localAddonPrice: qe, totalAddonPrice: Je, reset: Xe, goBack: Ze } = K(), { beginEventCheckout: Qe } = N(), { display: $e } = I();
|
|
704
|
+
ge.useHttpClient(ve(ie()));
|
|
705
|
+
let $ = i(), et;
|
|
706
|
+
function tt() {
|
|
707
707
|
let { url: e, data: t } = Q();
|
|
708
|
-
if (!$.value ||
|
|
709
|
-
let n =
|
|
710
|
-
n.setValidationTimeout(600),
|
|
708
|
+
if (!$.value || et !== e) {
|
|
709
|
+
let n = me("post", e, t);
|
|
710
|
+
n.setValidationTimeout(600), et = e, $.value = n;
|
|
711
711
|
}
|
|
712
712
|
return $.value;
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
let t =
|
|
714
|
+
function nt(e) {
|
|
715
|
+
let t = tt();
|
|
716
716
|
t.setData(Q().data), t.validate(e);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function it(e) {
|
|
719
719
|
return $.value?.errors[e];
|
|
720
720
|
}
|
|
721
|
-
w(A, () =>
|
|
722
|
-
let
|
|
721
|
+
w(A, () => nt("name")), w(M, () => nt("email")), w(j, () => nt("phone"));
|
|
722
|
+
let st = e(() => [
|
|
723
723
|
{
|
|
724
724
|
id: "availability",
|
|
725
725
|
label: m("booking.availability.title"),
|
|
@@ -745,61 +745,61 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
745
745
|
label: m("booking.confirmation.title"),
|
|
746
746
|
icon: "calendar-check"
|
|
747
747
|
}
|
|
748
|
-
]),
|
|
748
|
+
]), ct = e(() => {
|
|
749
749
|
let e = [];
|
|
750
|
-
return
|
|
750
|
+
return xe.value && xe.value.forEach((t) => {
|
|
751
751
|
e.find((e) => e.value === t.time) || e.push({
|
|
752
|
-
label:
|
|
752
|
+
label: U(t.time),
|
|
753
753
|
value: t.time
|
|
754
754
|
});
|
|
755
755
|
}), e;
|
|
756
756
|
});
|
|
757
|
-
function
|
|
758
|
-
|
|
757
|
+
function lt() {
|
|
758
|
+
Xe(f.resetDate === "yes");
|
|
759
759
|
}
|
|
760
|
-
async function
|
|
761
|
-
Z.value &&
|
|
762
|
-
let t = await
|
|
763
|
-
t &&
|
|
760
|
+
async function ut(e) {
|
|
761
|
+
Z.value && Qe();
|
|
762
|
+
let t = await Ke(e);
|
|
763
|
+
t && tt().setErrors(t);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function dt() {
|
|
766
766
|
let e = _("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
767
767
|
if (n) {
|
|
768
|
-
if (
|
|
769
|
-
let t =
|
|
770
|
-
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ?
|
|
768
|
+
if (ne(n)) {
|
|
769
|
+
let t = ae(n);
|
|
770
|
+
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Ve.value = t : ($e({
|
|
771
771
|
message: m("alert.error.invalidDateRange"),
|
|
772
772
|
type: "error"
|
|
773
773
|
}), e.d = void 0);
|
|
774
|
-
} else
|
|
774
|
+
} else $e({
|
|
775
775
|
message: m("alert.error.wrongDateFormat"),
|
|
776
776
|
type: "error"
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
|
-
isNaN(t) || (
|
|
779
|
+
isNaN(t) || (Ue(t) ? He.value = t : (e.rid = void 0, $e({
|
|
780
780
|
message: m("alert.error.hotelIdNotFound"),
|
|
781
781
|
type: "error"
|
|
782
|
-
}))), isNaN(r) ||
|
|
782
|
+
}))), isNaN(r) || Be(String(r)), f.excludeEventIds && (Le.value = f.excludeEventIds), Ge();
|
|
783
783
|
}
|
|
784
|
-
return (e, i) => (g(), c(
|
|
785
|
-
default: y(() => [(g(), c(n, { onResolve:
|
|
786
|
-
default: y(() => [s(
|
|
784
|
+
return (e, i) => (g(), c(oe, { styling: a.styling }, {
|
|
785
|
+
default: y(() => [(g(), c(n, { onResolve: dt }, {
|
|
786
|
+
default: y(() => [s(be, {
|
|
787
787
|
id: "konnectio-event-module",
|
|
788
788
|
"access-token": a.accessToken,
|
|
789
|
-
callback: t(
|
|
789
|
+
callback: t(We)
|
|
790
790
|
}, {
|
|
791
|
-
default: y(() => [s(
|
|
792
|
-
steps:
|
|
793
|
-
onReset:
|
|
791
|
+
default: y(() => [s(Re, {
|
|
792
|
+
steps: st.value,
|
|
793
|
+
onReset: lt
|
|
794
794
|
}, {
|
|
795
|
-
availability: y(({ next: e }) => [s(
|
|
796
|
-
sidebar: y(() => [s(
|
|
795
|
+
availability: y(({ next: e }) => [s(bt, null, {
|
|
796
|
+
sidebar: y(() => [s(je, {
|
|
797
797
|
redirection: !1,
|
|
798
798
|
"selected-location": Number(a.selectedLocation),
|
|
799
799
|
"hide-locations": a.hideLocations === "yes"
|
|
800
800
|
}, null, 8, ["selected-location", "hide-locations"])]),
|
|
801
|
-
form: y(() => [t(
|
|
802
|
-
t(
|
|
801
|
+
form: y(() => [t(Ee) && t(we) ? (g(), u("div", Tt, [
|
|
802
|
+
t(Me) ? (g(), u("ul", Et, [(g(!0), u(r, null, x(t(Fe), ({ id: n, name: r, description: i, images: a }) => (g(), c(at, {
|
|
803
803
|
key: n,
|
|
804
804
|
type: "event",
|
|
805
805
|
"listing-id": n,
|
|
@@ -816,12 +816,12 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
816
816
|
"tracking-enabled",
|
|
817
817
|
"callback"
|
|
818
818
|
]))), 128))])) : l("", !0),
|
|
819
|
-
|
|
819
|
+
ze.value.length > 0 && t(Y).length > 0 ? (g(), u("h2", Dt, [s(q, {
|
|
820
820
|
icon: "calendar-clock",
|
|
821
821
|
type: "fal",
|
|
822
822
|
color: "header"
|
|
823
823
|
}), S("span", null, d(t(m)("event.availableNow")), 1)])) : l("", !0),
|
|
824
|
-
S("ul",
|
|
824
|
+
S("ul", Ot, [t(B) && a.onlyShow !== "templates" ? (g(!0), u(r, { key: 0 }, x(ze.value, (n) => (g(), c(Ye, {
|
|
825
825
|
key: n.name,
|
|
826
826
|
name: n.name,
|
|
827
827
|
events: n.events ?? [],
|
|
@@ -832,7 +832,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
832
832
|
"events",
|
|
833
833
|
"tracking-enabled",
|
|
834
834
|
"callback"
|
|
835
|
-
]))), 128)) : l("", !0), t(
|
|
835
|
+
]))), 128)) : l("", !0), t(V) && a.onlyShow !== "events" ? (g(!0), u(r, { key: 1 }, x(t(le), ({ id: n, name: r, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (g(), c(ot, {
|
|
836
836
|
key: n,
|
|
837
837
|
"listing-id": n,
|
|
838
838
|
name: r,
|
|
@@ -856,11 +856,11 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
856
856
|
"tracking-enabled",
|
|
857
857
|
"callback"
|
|
858
858
|
]))), 128)) : l("", !0)]),
|
|
859
|
-
t(
|
|
859
|
+
t(Y).length > 0 && a.onlyShow !== "templates" ? (g(), u(r, { key: 2 }, [S("h2", kt, [s(q, {
|
|
860
860
|
icon: "calendar-circle-exclamation",
|
|
861
861
|
type: "fal",
|
|
862
862
|
color: "header"
|
|
863
|
-
}), S("span", null, d(t(m)("event.availableLater")), 1)]), S("ul",
|
|
863
|
+
}), S("span", null, d(t(m)("event.availableLater")), 1)]), S("ul", At, [(g(!0), u(r, null, x(t(Y), (n) => (g(), c(rt, {
|
|
864
864
|
key: n.name,
|
|
865
865
|
name: n.name,
|
|
866
866
|
events: n.events ?? [],
|
|
@@ -872,82 +872,82 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
872
872
|
"tracking-enabled",
|
|
873
873
|
"callback"
|
|
874
874
|
]))), 128))])], 64)) : l("", !0),
|
|
875
|
-
(!t(
|
|
875
|
+
(!t(B) && !t(V) || !t(B) && a.onlyShow === "events" || !t(V) && a.onlyShow === "templates") && !t(Me) ? (g(), u("div", {
|
|
876
876
|
key: 3,
|
|
877
877
|
class: "konnectio-panel",
|
|
878
878
|
innerHTML: t(m)("event.nothingAvailable")
|
|
879
|
-
}, null, 8,
|
|
880
|
-
])) : (g(), c(
|
|
879
|
+
}, null, 8, jt)) : l("", !0)
|
|
880
|
+
])) : (g(), c(Ie, { key: 1 }))]),
|
|
881
881
|
_: 2
|
|
882
882
|
}, 1024)]),
|
|
883
|
-
addons: y(({ next: e, prev: n }) => [t(
|
|
883
|
+
addons: y(({ next: e, prev: n }) => [t(Te) ? (g(), c(bt, {
|
|
884
884
|
key: 0,
|
|
885
|
-
"prev-callback": () => t(
|
|
885
|
+
"prev-callback": () => t(Ze)(n)
|
|
886
886
|
}, {
|
|
887
|
-
form: y(() => [S("form",
|
|
887
|
+
form: y(() => [S("form", Mt, [
|
|
888
888
|
S("h2", null, [S("span", null, d(t(m)("event.selectProducts")), 1)]),
|
|
889
|
-
t(
|
|
889
|
+
t(J) && t(J).length > 0 ? (g(), u("ul", Nt, [(g(!0), u(r, null, x(t(J), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (g(), u("li", { key: e }, [S("h5", null, [
|
|
890
890
|
S("span", null, d(t(m)("booking.reservation.room")) + " #" + d(l + 1), 1),
|
|
891
891
|
i[9] ||= o(" (", -1),
|
|
892
|
-
s(
|
|
892
|
+
s(q, {
|
|
893
893
|
icon: "male",
|
|
894
894
|
type: "fas",
|
|
895
895
|
color: "header"
|
|
896
896
|
}),
|
|
897
897
|
o(" " + d(a) + ") ", 1)
|
|
898
|
-
]), S("table",
|
|
898
|
+
]), S("table", Pt, [
|
|
899
899
|
S("thead", null, [S("tr", null, [
|
|
900
900
|
S("th", null, [S("span", null, d(t(m)("booking.reservation.addons")), 1)]),
|
|
901
901
|
i[10] ||= S("th", { class: "konnectio-event-addons-input" }, null, -1),
|
|
902
|
-
S("th",
|
|
902
|
+
S("th", Ft, [S("span", null, d(t(m)("booking.availability.price")), 1)])
|
|
903
903
|
])]),
|
|
904
904
|
S("tbody", null, [(g(!0), u(r, null, x(n, ({ id: n, cardinality: r, name: a, price: o, quantityStrategy: s }) => (g(), u("tr", { key: n }, [
|
|
905
905
|
S("td", null, [
|
|
906
906
|
S("b", null, d(a), 1),
|
|
907
907
|
i[11] ||= S("br", null, null, -1),
|
|
908
|
-
S("span", null, d(t(
|
|
908
|
+
S("span", null, d(t(G)(o, t(X))) + " " + d(t(F)(s)), 1)
|
|
909
909
|
]),
|
|
910
|
-
S("td",
|
|
910
|
+
S("td", It, [r === t(ce).Mandatory ? (g(), c(W, {
|
|
911
911
|
key: 0,
|
|
912
912
|
"model-value": 1,
|
|
913
913
|
small: !0,
|
|
914
914
|
"min-value": 1,
|
|
915
915
|
"max-value": 1,
|
|
916
916
|
readonly: ""
|
|
917
|
-
})) : (g(), c(
|
|
917
|
+
})) : (g(), c(W, {
|
|
918
918
|
key: 1,
|
|
919
919
|
modelValue: t(T)[`${e}.${n}.${l}`],
|
|
920
920
|
"onUpdate:modelValue": (r) => t(T)[`${e}.${n}.${l}`] = r,
|
|
921
921
|
small: !0,
|
|
922
922
|
"min-value": 0,
|
|
923
|
-
"max-value": t(
|
|
923
|
+
"max-value": t(te)(r)
|
|
924
924
|
}, null, 8, [
|
|
925
925
|
"modelValue",
|
|
926
926
|
"onUpdate:modelValue",
|
|
927
927
|
"max-value"
|
|
928
928
|
]))]),
|
|
929
|
-
S("td",
|
|
929
|
+
S("td", Lt, [S("span", null, d(t(G)(t(qe)(n, e, l), t(X))), 1)])
|
|
930
930
|
]))), 128))]),
|
|
931
931
|
S("tfoot", null, [S("tr", null, [
|
|
932
932
|
i[12] ||= S("td", null, null, -1),
|
|
933
933
|
i[13] ||= S("td", null, null, -1),
|
|
934
|
-
S("td",
|
|
934
|
+
S("td", Rt, [S("u", null, [S("span", null, d(t(G)(t(Je)(e, l), t(X))), 1)])])
|
|
935
935
|
])])
|
|
936
936
|
])]))), 128))])) : l("", !0),
|
|
937
|
-
t(
|
|
938
|
-
S("b", null, [S("span", null, d(t(
|
|
939
|
-
i && i !== n ? (g(), u("span",
|
|
940
|
-
S("u", null, d(t(
|
|
941
|
-
]), S("td",
|
|
937
|
+
t(Se) ? (g(), u("table", zt, [S("tbody", null, [(g(!0), u(r, null, x(t(fe).products, ({ id: e, name: n, price: r, description: i }) => (g(), u("tr", { key: e }, [S("td", Bt, [
|
|
938
|
+
S("b", null, [S("span", null, d(t(re)(n)), 1)]),
|
|
939
|
+
i && i !== n ? (g(), u("span", Vt, d(t(re)(i)), 1)) : l("", !0),
|
|
940
|
+
S("u", null, d(t(G)(r, t(X))), 1)
|
|
941
|
+
]), S("td", Ht, [s(W, {
|
|
942
942
|
modelValue: t(E)[e],
|
|
943
943
|
"onUpdate:modelValue": (n) => t(E)[e] = n,
|
|
944
944
|
small: !0,
|
|
945
945
|
"min-value": 0
|
|
946
946
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : l("", !0)
|
|
947
947
|
])]),
|
|
948
|
-
navigation: y(() => [s(
|
|
948
|
+
navigation: y(() => [s(de, {
|
|
949
949
|
label: t(m)("event.startReservation"),
|
|
950
|
-
disabled: !t(
|
|
950
|
+
disabled: !t(Ae),
|
|
951
951
|
"full-width": "",
|
|
952
952
|
onClickEvent: e
|
|
953
953
|
}, null, 8, [
|
|
@@ -957,21 +957,21 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
957
957
|
])]),
|
|
958
958
|
_: 2
|
|
959
959
|
}, 1032, ["prev-callback"])) : l("", !0)]),
|
|
960
|
-
reservation: y(({ next: e, prev: n }) => [s(
|
|
960
|
+
reservation: y(({ next: e, prev: n }) => [s(bt, {
|
|
961
961
|
"show-terms-notice": !0,
|
|
962
962
|
"show-gift-card": !0,
|
|
963
|
-
"prev-callback": () => t(
|
|
963
|
+
"prev-callback": () => t(Ze)(n)
|
|
964
964
|
}, {
|
|
965
|
-
form: y(() => [S("form",
|
|
965
|
+
form: y(() => [S("form", Ut, [
|
|
966
966
|
S("h2", null, [S("span", null, d(t(m)("booking.reservation.detailsTitle")), 1)]),
|
|
967
|
-
s(
|
|
967
|
+
s(H, {
|
|
968
968
|
modelValue: t(A),
|
|
969
969
|
"onUpdate:modelValue": i[0] ||= (e) => h(A) ? A.value = e : null,
|
|
970
970
|
type: "text",
|
|
971
971
|
label: t(m)("booking.reservation.name"),
|
|
972
972
|
icon: "user-alt",
|
|
973
973
|
placeholder: t(m)("booking.reservation.namePlaceholder"),
|
|
974
|
-
error:
|
|
974
|
+
error: it("name"),
|
|
975
975
|
required: ""
|
|
976
976
|
}, null, 8, [
|
|
977
977
|
"modelValue",
|
|
@@ -979,16 +979,16 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
979
979
|
"placeholder",
|
|
980
980
|
"error"
|
|
981
981
|
]),
|
|
982
|
-
s(
|
|
983
|
-
modelValue: t(
|
|
984
|
-
"onUpdate:modelValue": i[1] ||= (e) => h(
|
|
982
|
+
s(H, {
|
|
983
|
+
modelValue: t(M),
|
|
984
|
+
"onUpdate:modelValue": i[1] ||= (e) => h(M) ? M.value = e : null,
|
|
985
985
|
label: t(m)("booking.reservation.email"),
|
|
986
986
|
type: "email",
|
|
987
987
|
name: "email",
|
|
988
988
|
autocomplete: "email",
|
|
989
989
|
icon: "at",
|
|
990
990
|
placeholder: t(m)("booking.reservation.emailPlaceholder"),
|
|
991
|
-
error:
|
|
991
|
+
error: it("email"),
|
|
992
992
|
required: ""
|
|
993
993
|
}, null, 8, [
|
|
994
994
|
"modelValue",
|
|
@@ -996,13 +996,13 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
996
996
|
"placeholder",
|
|
997
997
|
"error"
|
|
998
998
|
]),
|
|
999
|
-
s(
|
|
999
|
+
s(pe, {
|
|
1000
1000
|
modelValue: t(j),
|
|
1001
1001
|
"onUpdate:modelValue": i[2] ||= (e) => h(j) ? j.value = e : null,
|
|
1002
1002
|
label: t(m)("booking.reservation.phone"),
|
|
1003
1003
|
icon: "phone-office",
|
|
1004
1004
|
placeholder: t(m)("booking.reservation.phonePlaceholder"),
|
|
1005
|
-
error:
|
|
1005
|
+
error: it("phone"),
|
|
1006
1006
|
required: ""
|
|
1007
1007
|
}, null, 8, [
|
|
1008
1008
|
"modelValue",
|
|
@@ -1010,20 +1010,20 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1010
1010
|
"placeholder",
|
|
1011
1011
|
"error"
|
|
1012
1012
|
]),
|
|
1013
|
-
t(
|
|
1013
|
+
t(ke) ? (g(), c(Ne, {
|
|
1014
1014
|
key: 0,
|
|
1015
|
-
modelValue: t(
|
|
1016
|
-
"onUpdate:modelValue": i[3] ||= (e) => h(
|
|
1015
|
+
modelValue: t(z),
|
|
1016
|
+
"onUpdate:modelValue": i[3] ||= (e) => h(z) ? z.value = e : null,
|
|
1017
1017
|
label: t(m)("event.selectArrivalTime"),
|
|
1018
1018
|
name: "eventTimeTable",
|
|
1019
|
-
checkboxes:
|
|
1019
|
+
checkboxes: ct.value,
|
|
1020
1020
|
required: ""
|
|
1021
1021
|
}, null, 8, [
|
|
1022
1022
|
"modelValue",
|
|
1023
1023
|
"label",
|
|
1024
1024
|
"checkboxes"
|
|
1025
1025
|
])) : l("", !0),
|
|
1026
|
-
t(
|
|
1026
|
+
t(Ce) === t(ue).FullDayEvent ? (g(), c(W, {
|
|
1027
1027
|
key: 1,
|
|
1028
1028
|
modelValue: t(D),
|
|
1029
1029
|
"onUpdate:modelValue": i[4] ||= (e) => h(D) ? D.value = e : null,
|
|
@@ -1031,7 +1031,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1031
1031
|
"min-value": 1,
|
|
1032
1032
|
required: ""
|
|
1033
1033
|
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1034
|
-
a.showHighChairs === "yes" ? (g(), c(
|
|
1034
|
+
a.showHighChairs === "yes" ? (g(), c(W, {
|
|
1035
1035
|
key: 2,
|
|
1036
1036
|
modelValue: t(k),
|
|
1037
1037
|
"onUpdate:modelValue": i[5] ||= (e) => h(k) ? k.value = e : null,
|
|
@@ -1039,16 +1039,16 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1039
1039
|
icon: "baby",
|
|
1040
1040
|
"no-optional-label": !1
|
|
1041
1041
|
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1042
|
-
a.showFlagOnTable === "yes" ? (g(), c(
|
|
1042
|
+
a.showFlagOnTable === "yes" ? (g(), c(he, {
|
|
1043
1043
|
key: 3,
|
|
1044
1044
|
modelValue: t(O),
|
|
1045
1045
|
"onUpdate:modelValue": i[6] ||= (e) => h(O) ? O.value = e : null,
|
|
1046
1046
|
label: t(m)("event.flagOnTable")
|
|
1047
1047
|
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1048
|
-
a.hideRemarks === "yes" ? l("", !0) : (g(), c(
|
|
1048
|
+
a.hideRemarks === "yes" ? l("", !0) : (g(), c(H, {
|
|
1049
1049
|
key: 4,
|
|
1050
|
-
modelValue: t(
|
|
1051
|
-
"onUpdate:modelValue": i[7] ||= (e) => h(
|
|
1050
|
+
modelValue: t(L),
|
|
1051
|
+
"onUpdate:modelValue": i[7] ||= (e) => h(L) ? L.value = e : null,
|
|
1052
1052
|
type: "textarea",
|
|
1053
1053
|
label: t(m)("booking.reservation.remark"),
|
|
1054
1054
|
icon: "info-circle",
|
|
@@ -1058,10 +1058,10 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1058
1058
|
"label",
|
|
1059
1059
|
"placeholder"
|
|
1060
1060
|
])),
|
|
1061
|
-
a.hideAllergies !== "yes" && t(
|
|
1061
|
+
a.hideAllergies !== "yes" && t(fe)?.showAllergyFoodFieldOnline ? (g(), c(H, {
|
|
1062
1062
|
key: 5,
|
|
1063
|
-
modelValue: t(
|
|
1064
|
-
"onUpdate:modelValue": i[8] ||= (e) => h(
|
|
1063
|
+
modelValue: t(R),
|
|
1064
|
+
"onUpdate:modelValue": i[8] ||= (e) => h(R) ? R.value = e : null,
|
|
1065
1065
|
type: "textarea",
|
|
1066
1066
|
label: t(m)("booking.reservation.allergies"),
|
|
1067
1067
|
icon: "allergies",
|
|
@@ -1072,12 +1072,12 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1072
1072
|
"placeholder"
|
|
1073
1073
|
])) : l("", !0)
|
|
1074
1074
|
])]),
|
|
1075
|
-
navigation: y(() => [t(C) ? (g(), c(
|
|
1075
|
+
navigation: y(() => [t(C) ? (g(), c(_e, { key: 0 })) : l("", !0), s(de, {
|
|
1076
1076
|
label: t(m)("general.confirmReservation"),
|
|
1077
|
-
"is-loading": t(
|
|
1078
|
-
disabled: !t(
|
|
1077
|
+
"is-loading": t(De) || t(C),
|
|
1078
|
+
disabled: !t(Oe),
|
|
1079
1079
|
"full-width": "",
|
|
1080
|
-
onClickEvent: (t) =>
|
|
1080
|
+
onClickEvent: (t) => ut(e)
|
|
1081
1081
|
}, null, 8, [
|
|
1082
1082
|
"label",
|
|
1083
1083
|
"is-loading",
|
|
@@ -1086,20 +1086,20 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1086
1086
|
])]),
|
|
1087
1087
|
_: 2
|
|
1088
1088
|
}, 1032, ["prev-callback"])]),
|
|
1089
|
-
payment: y(() => [s(
|
|
1090
|
-
confirmation: y(() => [s(
|
|
1089
|
+
payment: y(() => [s(ye)]),
|
|
1090
|
+
confirmation: y(() => [s(Pe, { message: t(m)("event.confirmationMessage") }, null, 8, ["message"])]),
|
|
1091
1091
|
_: 1
|
|
1092
1092
|
}, 8, ["steps"])]),
|
|
1093
1093
|
_: 1
|
|
1094
1094
|
}, 8, ["access-token", "callback"])]),
|
|
1095
|
-
fallback: y(() => [s(
|
|
1095
|
+
fallback: y(() => [s(wt)]),
|
|
1096
1096
|
_: 1
|
|
1097
1097
|
}))]),
|
|
1098
1098
|
_: 1
|
|
1099
1099
|
}, 8, ["styling"]));
|
|
1100
1100
|
}
|
|
1101
|
-
}), [["__scopeId", "data-v-
|
|
1102
|
-
e.use(j), e.use(T), e.use(
|
|
1101
|
+
}), [["__scopeId", "data-v-6e9540b0"]]), Gt = D(), Kt = E("konnectio-event", Wt, (e) => {
|
|
1102
|
+
e.use(j), e.use(T), e.use(Gt), e.use(Y), e.use(ze);
|
|
1103
1103
|
});
|
|
1104
1104
|
//#endregion
|
|
1105
|
-
export {
|
|
1105
|
+
export { Kt as default };
|