@konnectio/core 4.8.1 → 4.8.3
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-nQffsZA2.js → ActionField-BmK388lK.js} +1 -1
- package/dist/ActionField-BmK388lK.js.br +0 -0
- package/dist/ActionField-BmK388lK.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-AmgXdz28.js → AvailabilitySkeleton-BCEm7qR0.js} +419 -419
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.br +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.gz +0 -0
- package/dist/{CheckoutWindow-D8IPM2hs.js → CheckoutWindow-DvJ7vnNs.js} +4 -4
- package/dist/CheckoutWindow-DvJ7vnNs.js.br +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.gz +0 -0
- package/dist/{ErrorMessage-DJAdBPXD.js → ErrorMessage-KXjD72UF.js} +7 -7
- package/dist/ErrorMessage-KXjD72UF.js.br +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.gz +0 -0
- package/dist/{EventAvailabilityForm-Bspi3PTG.js → EventAvailabilityForm-CYlTT_Hr.js} +17 -17
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.br +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.gz +0 -0
- package/dist/{Field-BbzATkQp.js → Field-BDefa6ac.js} +1 -1
- package/dist/Field-BDefa6ac.js.br +0 -0
- package/dist/Field-BDefa6ac.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js +320 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.br +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.gz +0 -0
- package/dist/{SelectField-DRafB_Cb.js → SelectField-D7e73Bye.js} +1560 -1550
- package/dist/SelectField-D7e73Bye.js.br +0 -0
- package/dist/SelectField-D7e73Bye.js.gz +0 -0
- package/dist/{TermsOfService-BJaXGVwJ.js → TermsOfService-CAeM3I9r.js} +2 -2
- package/dist/TermsOfService-CAeM3I9r.js.br +0 -0
- package/dist/TermsOfService-CAeM3I9r.js.gz +0 -0
- package/dist/{_-P_tgh1jk.js → _-B4tCu0BU.js} +1 -1
- package/dist/_-B4tCu0BU.js.br +0 -0
- package/dist/_-B4tCu0BU.js.gz +2 -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 +15 -15
- 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-D4EW1Jz1.js → dist-B3QSYyxo.js} +7 -6
- package/dist/dist-B3QSYyxo.js.br +0 -0
- package/dist/dist-B3QSYyxo.js.gz +0 -0
- package/dist/{dist-BHP07uuH.js → dist-Div6l3C2.js} +2 -2
- package/dist/dist-Div6l3C2.js.br +0 -0
- package/dist/dist-Div6l3C2.js.gz +0 -0
- package/dist/event.js +159 -159
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +15 -15
- 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-Db5RQgXn.js → giftCard-DPU-N3nF.js} +11 -11
- package/dist/giftCard-DPU-N3nF.js.br +0 -0
- package/dist/giftCard-DPU-N3nF.js.gz +0 -0
- package/dist/hotel.js +130 -130
- 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-CLohB3MA.js → style-Bb9B24D1.js} +1 -1
- package/dist/style-Bb9B24D1.js.br +0 -0
- package/dist/style-Bb9B24D1.js.gz +0 -0
- package/dist-wix/availability.js +19 -19
- package/dist-wix/event.js +5 -5
- package/dist-wix/gift-card-validation.js +3 -3
- package/dist-wix/gift-card.js +4 -4
- package/dist-wix/hotel.js +5 -5
- package/package.json +1 -1
- package/dist/ActionField-nQffsZA2.js.br +0 -0
- package/dist/ActionField-nQffsZA2.js.gz +0 -0
- package/dist/AvailabilitySkeleton-AmgXdz28.js.br +0 -0
- package/dist/AvailabilitySkeleton-AmgXdz28.js.gz +0 -0
- package/dist/CheckoutWindow-D8IPM2hs.js.br +0 -0
- package/dist/CheckoutWindow-D8IPM2hs.js.gz +0 -0
- package/dist/ErrorMessage-DJAdBPXD.js.br +0 -0
- package/dist/ErrorMessage-DJAdBPXD.js.gz +0 -0
- package/dist/EventAvailabilityForm-Bspi3PTG.js.br +0 -0
- package/dist/EventAvailabilityForm-Bspi3PTG.js.gz +0 -0
- package/dist/Field-BbzATkQp.js.br +0 -0
- package/dist/Field-BbzATkQp.js.gz +0 -4
- package/dist/HotelAvailabilityForm-DcNJrBEP.js +0 -324
- package/dist/HotelAvailabilityForm-DcNJrBEP.js.br +0 -0
- package/dist/HotelAvailabilityForm-DcNJrBEP.js.gz +0 -0
- package/dist/SelectField-DRafB_Cb.js.br +0 -0
- package/dist/SelectField-DRafB_Cb.js.gz +0 -0
- package/dist/TermsOfService-BJaXGVwJ.js.br +0 -0
- package/dist/TermsOfService-BJaXGVwJ.js.gz +0 -0
- package/dist/_-P_tgh1jk.js.br +0 -0
- package/dist/_-P_tgh1jk.js.gz +0 -3
- package/dist/dist-BHP07uuH.js.br +0 -0
- package/dist/dist-BHP07uuH.js.gz +0 -0
- package/dist/dist-D4EW1Jz1.js.br +0 -0
- package/dist/dist-D4EW1Jz1.js.gz +0 -0
- package/dist/giftCard-Db5RQgXn.js.br +0 -0
- package/dist/giftCard-Db5RQgXn.js.gz +0 -0
- package/dist/style-CLohB3MA.js.br +0 -0
- package/dist/style-CLohB3MA.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ct as m, ht as h, j as g, k as _, kt as v, l as y, n as b, o as x, ot as S, s as C, ut as w, v as T, w as E, x as D, xt as O, yt as k } from "./i18n-BF6zkld-.js";
|
|
2
|
-
import { t as A } 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 A } from "./dist-Div6l3C2.js";
|
|
3
|
+
import { C as j, D as ee, E as M, G as te, H as ne, J as N, L as re, N as P, Q as F, S as I, T as ie, V as L, Y as R, Z as z, b as ae, ct as oe, et as B, ht as se, it as V, j as ce, lt as le, n as H, nt as ue, r as U, tt as W, v as G, w as K, x as q, z as de } from "./SelectField-D7e73Bye.js";
|
|
4
|
+
import { a as fe, c as pe, i as me, l as he, n as ge, s as _e, t as ve } from "./CheckoutWindow-DvJ7vnNs.js";
|
|
5
|
+
import { t as ye } from "./_-B4tCu0BU.js";
|
|
6
|
+
import { a as J, c as be, d as xe, f as Se, i as Ce, l as we, n as Te, o as Ee, r as De, s as Oe, u as ke } from "./AvailabilitySkeleton-BCEm7qR0.js";
|
|
7
|
+
import { t as Ae } from "./EventAvailabilityForm-CYlTT_Hr.js";
|
|
8
|
+
import { t as Y } from "./style-Bb9B24D1.js";
|
|
9
|
+
import { a as je, c as Me, i as Ne, l as Pe, n as Fe, o as Ie, s as Le, t as Re, u as X } from "./dist-B3QSYyxo.js";
|
|
10
10
|
//#region node_modules/date-fns/formatDistanceStrict.js
|
|
11
|
-
function
|
|
12
|
-
let r =
|
|
11
|
+
function Z(e, t, n) {
|
|
12
|
+
let r = be(), i = n?.locale ?? r.locale ?? De, 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] = Ee(n?.in, ...a > 0 ? [t, e] : [e, t]), l = Ce(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / we, f = (u - (Oe(c) - Oe(s))) / we, 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 X(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 / ke);
|
|
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 / xe);
|
|
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 / Se);
|
|
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 ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
46
46
|
__name: "_",
|
|
47
47
|
props: {
|
|
48
48
|
name: {},
|
|
@@ -73,7 +73,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
73
73
|
callback: {}
|
|
74
74
|
},
|
|
75
75
|
setup(t) {
|
|
76
|
-
let { t: o } = f(), s = t, { display: c } =
|
|
76
|
+
let { t: o } = f(), s = t, { display: c } = P(), { hideEventGuestAmount: l } = y(M()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: h, currentEventDate: _, tableGroupId: v } = y(K()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = K(), { addToCart: C } = ee(), T = E(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), D = k(0), O = E(() => S(s.listingId)), A = () => {
|
|
77
77
|
if (!s.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
|
|
78
78
|
c({
|
|
79
79
|
type: "error",
|
|
@@ -100,7 +100,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
100
100
|
value: s.fromPrice || 0
|
|
101
101
|
}), h.value = s.listingId, v.value = s.tableGroupId, m.value = s.useNumberOfProductsForPersons ? NaN : D.value, x(s.callback);
|
|
102
102
|
};
|
|
103
|
-
return (s, c) => (a(), r(
|
|
103
|
+
return (s, c) => (a(), r(Pe, {
|
|
104
104
|
type: "event",
|
|
105
105
|
"listing-id": t.listingId,
|
|
106
106
|
gallery: t.gallery,
|
|
@@ -108,11 +108,11 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
108
108
|
description: t.description,
|
|
109
109
|
"prices-from": t.fromPrice,
|
|
110
110
|
"to-date": t.toDate,
|
|
111
|
-
layout: d(
|
|
111
|
+
layout: d(V).Event,
|
|
112
112
|
"disable-deep-link": t.disableDeepLink
|
|
113
113
|
}, {
|
|
114
114
|
description: w(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
|
|
115
|
-
action: w(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(
|
|
115
|
+
action: w(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(U, {
|
|
116
116
|
key: 0,
|
|
117
117
|
modelValue: D.value,
|
|
118
118
|
"onUpdate:modelValue": c[0] ||= (e) => D.value = e,
|
|
@@ -120,7 +120,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
120
120
|
icon: "users",
|
|
121
121
|
"icon-type": "fas",
|
|
122
122
|
"icon-placement": "label",
|
|
123
|
-
description: T.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${T.value} ${d(
|
|
123
|
+
description: T.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${T.value} ${d(R)(d(o)("general.guests"))}` : void 0,
|
|
124
124
|
"min-value": 0,
|
|
125
125
|
"max-value": T.value
|
|
126
126
|
}, null, 8, [
|
|
@@ -128,7 +128,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
128
128
|
"label",
|
|
129
129
|
"description",
|
|
130
130
|
"max-value"
|
|
131
|
-
])), u("div",
|
|
131
|
+
])), u("div", ze, [g(G, {
|
|
132
132
|
label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
|
|
133
133
|
disabled: t.soldOut,
|
|
134
134
|
"is-loading": O.value,
|
|
@@ -153,13 +153,13 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
153
153
|
"disable-deep-link"
|
|
154
154
|
]));
|
|
155
155
|
}
|
|
156
|
-
}), [["__scopeId", "data-v-bfd98c31"]]),
|
|
156
|
+
}), [["__scopeId", "data-v-bfd98c31"]]), Ve = { class: "konnectio-event-listing-information-new" }, He = {
|
|
157
157
|
key: 1,
|
|
158
158
|
class: "konnectio-pill-button"
|
|
159
|
-
},
|
|
159
|
+
}, Ue = {
|
|
160
160
|
key: 2,
|
|
161
161
|
class: "konnectio-pill-button"
|
|
162
|
-
},
|
|
162
|
+
}, We = { key: 0 }, Ge = { key: 1 }, Q = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
163
163
|
__name: "Event",
|
|
164
164
|
props: {
|
|
165
165
|
name: {},
|
|
@@ -182,12 +182,12 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
182
182
|
callback: {}
|
|
183
183
|
},
|
|
184
184
|
setup(t) {
|
|
185
|
-
let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = y(
|
|
185
|
+
let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = y(M()), p = E(() => {
|
|
186
186
|
if (!i.length) return;
|
|
187
187
|
let e = i.length.split(":");
|
|
188
|
-
return
|
|
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 (i, f) => (a(), r(
|
|
190
|
+
return (i, f) => (a(), r(Be, {
|
|
191
191
|
"listing-id": t.listingId,
|
|
192
192
|
name: t.name,
|
|
193
193
|
description: t.description,
|
|
@@ -202,19 +202,19 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
202
202
|
"tracking-enabled": t.trackingEnabled,
|
|
203
203
|
callback: t.callback
|
|
204
204
|
}, {
|
|
205
|
-
description: w(() => [t.description ? (a(), r(
|
|
205
|
+
description: w(() => [t.description ? (a(), r(X, {
|
|
206
206
|
key: 0,
|
|
207
207
|
text: t.description
|
|
208
|
-
}, null, 8, ["text"])) : n("", !0), u("ul",
|
|
208
|
+
}, null, 8, ["text"])) : n("", !0), u("ul", Ve, [
|
|
209
209
|
n("", !0),
|
|
210
|
-
!d(s) && p.value ? (a(), c("li",
|
|
210
|
+
!d(s) && p.value ? (a(), c("li", He, [u("div", null, [g(q, {
|
|
211
211
|
icon: "calendar-clock",
|
|
212
212
|
color: "header"
|
|
213
213
|
}), u("span", null, v(d(o)("event.lengthOfEvent")), 1)]), u("span", null, v(p.value), 1)])) : n("", !0),
|
|
214
|
-
t.timeFrom ? (a(), c("li",
|
|
214
|
+
t.timeFrom ? (a(), c("li", Ue, [u("div", null, [g(q, {
|
|
215
215
|
icon: "calendar-clock",
|
|
216
216
|
color: "header"
|
|
217
|
-
}), u("span", null, v(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span",
|
|
217
|
+
}), u("span", null, v(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Ge, v(d(W)(t.timeFrom)), 1)) : (a(), c("span", We, v(d(ue)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
|
|
218
218
|
])]),
|
|
219
219
|
action: w(() => [e(i.$slots, "action", {}, void 0, !0)]),
|
|
220
220
|
_: 3
|
|
@@ -233,10 +233,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
233
233
|
"callback"
|
|
234
234
|
]));
|
|
235
235
|
}
|
|
236
|
-
}), [["__scopeId", "data-v-2ecac268"]]),
|
|
236
|
+
}), [["__scopeId", "data-v-2ecac268"]]), Ke = {
|
|
237
237
|
key: 0,
|
|
238
238
|
class: "konnectio-event-grouped-listings-container"
|
|
239
|
-
},
|
|
239
|
+
}, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
240
240
|
__name: "Event",
|
|
241
241
|
props: {
|
|
242
242
|
name: {},
|
|
@@ -245,7 +245,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
245
245
|
callback: { type: Function }
|
|
246
246
|
},
|
|
247
247
|
setup(e) {
|
|
248
|
-
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div",
|
|
248
|
+
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", Ke, [n("", !0), u("ul", qe, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, tableGroupId: c, description: l, soldOut: u, length: d, images: f, maxOnlineReservationLimit: p, maxPaxPerReservation: m, useNumberOfProductsForPersons: h, maxTicketsLimit: g }) => (a(), r(Q, {
|
|
249
249
|
key: t,
|
|
250
250
|
type: "event",
|
|
251
251
|
"listing-id": t,
|
|
@@ -277,7 +277,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
277
277
|
"use-number-of-products-for-persons",
|
|
278
278
|
"tracking-enabled",
|
|
279
279
|
"callback"
|
|
280
|
-
]))), 128))])])) : e.events ? (a(), r(
|
|
280
|
+
]))), 128))])])) : e.events ? (a(), r(Q, {
|
|
281
281
|
key: e.events[0].id,
|
|
282
282
|
type: "event",
|
|
283
283
|
"listing-id": e.events[0].id,
|
|
@@ -315,7 +315,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
315
315
|
"callback"
|
|
316
316
|
])) : n("", !0);
|
|
317
317
|
}
|
|
318
|
-
}), [["__scopeId", "data-v-1c96b9a2"]]),
|
|
318
|
+
}), [["__scopeId", "data-v-1c96b9a2"]]), Ye = { class: "konnectio-special-offer-availability" }, Xe = { class: "konnectio-special-offer-availability-button" }, Ze = { class: "konnectio-warning-notice" }, Qe = { key: 0 }, $ = { key: 1 }, $e = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
319
319
|
__name: "NextEvent",
|
|
320
320
|
props: {
|
|
321
321
|
name: {},
|
|
@@ -337,14 +337,14 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
337
337
|
callback: { type: Function }
|
|
338
338
|
},
|
|
339
339
|
setup(e) {
|
|
340
|
-
let { t: n } = f(), { updateEventDate: i } =
|
|
340
|
+
let { t: n } = f(), { updateEventDate: i } = j(), { display: s } = P(), l = k(), p = e;
|
|
341
341
|
function m() {
|
|
342
342
|
l.value ? i(l.value) : s({
|
|
343
343
|
message: n("alert.error.selectDate"),
|
|
344
344
|
type: "error"
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
|
-
let h = E(() =>
|
|
347
|
+
let h = E(() => de(p.fromDate, p.toDate) <= 1), _ = E(() => [
|
|
348
348
|
0,
|
|
349
349
|
1,
|
|
350
350
|
2,
|
|
@@ -352,10 +352,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
352
352
|
4,
|
|
353
353
|
5,
|
|
354
354
|
6
|
|
355
|
-
].filter((e) => !
|
|
355
|
+
].filter((e) => !L(p.days).includes(e)));
|
|
356
356
|
return o(() => {
|
|
357
357
|
h.value && (l.value = new Date(p.fromDate));
|
|
358
|
-
}), (i, o) => (a(), r(
|
|
358
|
+
}), (i, o) => (a(), r(Q, {
|
|
359
359
|
name: e.name,
|
|
360
360
|
description: e.description,
|
|
361
361
|
"from-date": e.fromDate,
|
|
@@ -375,7 +375,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
375
375
|
callback: e.callback,
|
|
376
376
|
"disable-deep-link": !0
|
|
377
377
|
}, {
|
|
378
|
-
action: w(() => [u("div", null, [u("div",
|
|
378
|
+
action: w(() => [u("div", null, [u("div", Ye, [g(Te, {
|
|
379
379
|
modelValue: l.value,
|
|
380
380
|
"onUpdate:modelValue": o[0] ||= (e) => l.value = e,
|
|
381
381
|
label: `${d(n)("event.selectDate")}*`,
|
|
@@ -396,10 +396,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
396
396
|
"min-date",
|
|
397
397
|
"max-date",
|
|
398
398
|
"disabled-week-days"
|
|
399
|
-
]), u("div",
|
|
399
|
+
]), u("div", Xe, [g(G, {
|
|
400
400
|
label: d(n)("availability.buttonLabel"),
|
|
401
401
|
onClick: T(m, ["prevent"])
|
|
402
|
-
}, null, 8, ["label"])])]), u("div",
|
|
402
|
+
}, null, 8, ["label"])])]), u("div", Ze, [h.value ? (a(), c("span", Qe, [t("*" + v(d(n)("event.canBeBooked")) + " ", 1), u("u", null, v(d(z)(e.fromDate)), 1)])) : (a(), c("span", $, [t("*" + v(d(n)("event.canBeBooked")) + " ", 1), u("u", null, v(d(F)(e.days)), 1)]))])])]),
|
|
403
403
|
_: 1
|
|
404
404
|
}, 8, [
|
|
405
405
|
"name",
|
|
@@ -421,10 +421,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
421
421
|
"callback"
|
|
422
422
|
]));
|
|
423
423
|
}
|
|
424
|
-
}), [["__scopeId", "data-v-91ea584c"]]),
|
|
424
|
+
}), [["__scopeId", "data-v-91ea584c"]]), et = {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "konnectio-event-grouped-listings-container"
|
|
427
|
-
},
|
|
427
|
+
}, tt = { class: "konnectio-event-grouped-listings" }, nt = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
428
428
|
__name: "NextEvent",
|
|
429
429
|
props: {
|
|
430
430
|
name: {},
|
|
@@ -433,7 +433,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
433
433
|
callback: { type: Function }
|
|
434
434
|
},
|
|
435
435
|
setup(e) {
|
|
436
|
-
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div",
|
|
436
|
+
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", et, [n("", !0), u("ul", tt, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, fromDate: c, toDate: l, tableGroupId: u, description: d, soldOut: f, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (a(), r($e, {
|
|
437
437
|
key: t,
|
|
438
438
|
type: "event",
|
|
439
439
|
"listing-id": t,
|
|
@@ -469,7 +469,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
469
469
|
"use-number-of-products-for-persons",
|
|
470
470
|
"tracking-enabled",
|
|
471
471
|
"callback"
|
|
472
|
-
]))), 128))])])) : e.events ? (a(), r(
|
|
472
|
+
]))), 128))])])) : e.events ? (a(), r($e, {
|
|
473
473
|
key: e.events[0].id,
|
|
474
474
|
type: "event",
|
|
475
475
|
"listing-id": e.events[0].id,
|
|
@@ -507,7 +507,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
507
507
|
"callback"
|
|
508
508
|
])) : n("", !0);
|
|
509
509
|
}
|
|
510
|
-
}), [["__scopeId", "data-v-56a468d4"]]),
|
|
510
|
+
}), [["__scopeId", "data-v-56a468d4"]]), rt = ["innerHTML"], it = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
511
511
|
__name: "FallbackEvent",
|
|
512
512
|
props: {
|
|
513
513
|
name: {},
|
|
@@ -521,7 +521,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
521
521
|
},
|
|
522
522
|
setup(e) {
|
|
523
523
|
let { t } = f();
|
|
524
|
-
return (n, i) => (a(), r(
|
|
524
|
+
return (n, i) => (a(), r(Q, {
|
|
525
525
|
name: e.name,
|
|
526
526
|
description: e.description,
|
|
527
527
|
"from-date": e.fromDate,
|
|
@@ -535,7 +535,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
535
535
|
action: w(() => [u("div", {
|
|
536
536
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
537
537
|
innerHTML: d(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
|
|
538
|
-
}, null, 8,
|
|
538
|
+
}, null, 8, rt)]),
|
|
539
539
|
_: 1
|
|
540
540
|
}, 8, [
|
|
541
541
|
"name",
|
|
@@ -565,7 +565,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
565
565
|
callback: {}
|
|
566
566
|
},
|
|
567
567
|
setup(e) {
|
|
568
|
-
return (t, n) => (a(), r(
|
|
568
|
+
return (t, n) => (a(), r(Be, {
|
|
569
569
|
"listing-id": e.listingId,
|
|
570
570
|
gallery: e.images,
|
|
571
571
|
name: e.name,
|
|
@@ -592,7 +592,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
592
592
|
}, st = ["innerHTML"], ct = { key: 0 }, lt = { key: 1 }, ut = { key: 2 }, dt = { key: 0 }, ft = { key: 4 }, pt = { key: 5 }, mt = { key: 6 }, ht = { key: 0 }, gt = { key: 0 }, _t = { key: 1 }, vt = {
|
|
593
593
|
key: 0,
|
|
594
594
|
class: "konnectio-capitalize"
|
|
595
|
-
}, yt = /*#__PURE__*/
|
|
595
|
+
}, yt = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
596
596
|
__name: "EventReservationForm",
|
|
597
597
|
props: {
|
|
598
598
|
showGiftCard: {
|
|
@@ -606,43 +606,43 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
606
606
|
prevCallback: {}
|
|
607
607
|
},
|
|
608
608
|
setup(t) {
|
|
609
|
-
let { t: i } = f(), o = S(), { areListingsAvailable: s, arrivalTime: m, numberOfPeople: g, numberOfRooms: b, numberOfTotalDays: x, isTemplateEvent: C, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice:
|
|
610
|
-
return (f, y) => (a(), r(
|
|
611
|
-
"discount-code": d(
|
|
612
|
-
"onUpdate:discountCode": y[0] ||= (e) => h(
|
|
613
|
-
"validate-discount-code": d(
|
|
609
|
+
let { t: i } = f(), o = S(), { areListingsAvailable: s, arrivalTime: m, numberOfPeople: g, numberOfRooms: b, numberOfTotalDays: x, isTemplateEvent: C, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: te, discountCode: ne, totalSelectedProducts: N, discountValue: re, appliedDiscountCode: P } = y(K()), { totalAddonPrice: F, validateDiscountCode: I } = K(), { currency: ie, hideEventLength: L } = y(M()), R = i("event.reservationNotice");
|
|
610
|
+
return (f, y) => (a(), r(je, {
|
|
611
|
+
"discount-code": d(ne),
|
|
612
|
+
"onUpdate:discountCode": y[0] ||= (e) => h(ne) ? ne.value = e : null,
|
|
613
|
+
"validate-discount-code": d(I),
|
|
614
614
|
"show-gift-card": t.showGiftCard,
|
|
615
615
|
"show-terms-notice": t.showTermsNotice,
|
|
616
616
|
"is-sidebar-loading": !d(s),
|
|
617
617
|
"base-price": d(A),
|
|
618
|
-
"total-price": d(
|
|
618
|
+
"total-price": d(j),
|
|
619
619
|
"weekend-fee": d(ee),
|
|
620
620
|
"room-upgrade": d(te),
|
|
621
|
-
notice: d(
|
|
621
|
+
notice: d(R),
|
|
622
622
|
"prev-callback": t.prevCallback
|
|
623
623
|
}, _({
|
|
624
|
-
form: w(() => [e(f.$slots, "form", {}, void 0, !0), d(
|
|
625
|
-
innerHTML: d(
|
|
624
|
+
form: w(() => [e(f.$slots, "form", {}, void 0, !0), d(R) ? (a(), c("div", ot, [u("p", {
|
|
625
|
+
innerHTML: d(R),
|
|
626
626
|
class: "konnectio-wysiwyg"
|
|
627
627
|
}, null, 8, st)])) : n("", !0)]),
|
|
628
628
|
"reservation-summary": w(() => [
|
|
629
629
|
d(C) ? n("", !0) : (a(), c("li", ct, [u("span", null, v(d(i)("general.date")), 1), u("b", null, v(d(z)(d(T))), 1)])),
|
|
630
630
|
d(g) > 0 ? (a(), c("li", lt, [u("span", null, v(d(i)("event.numberOfGuests")), 1), u("b", null, v(d(g)), 1)])) : n("", !0),
|
|
631
|
-
!d(C) && d(
|
|
631
|
+
!d(C) && d(N) > 0 ? (a(), c("li", ut, [u("span", null, v(d(i)("event.numberOfProducts")), 1), u("b", null, v(d(N)), 1)])) : n("", !0),
|
|
632
632
|
d(C) ? (a(), c(p, { key: 3 }, [
|
|
633
633
|
u("li", null, [u("span", null, v(d(i)("booking.reservation.arrival")), 1), u("b", null, v(d(z)(d(D))), 1)]),
|
|
634
634
|
u("li", null, [u("span", null, v(d(i)("booking.reservation.departure")), 1), u("b", null, v(d(z)(d(D), d(x))), 1)]),
|
|
635
635
|
u("li", null, [u("span", null, v(d(i)("event.numberOfRooms")), 1), u("b", null, v(d(b)), 1)]),
|
|
636
636
|
d(x) > 0 ? (a(), c("li", dt, [u("span", null, v(d(i)("event.numberOfDays")), 1), u("b", null, v(d(x)), 1)])) : n("", !0)
|
|
637
637
|
], 64)) : n("", !0),
|
|
638
|
-
!d(C) && d(m) ? (a(), c("li", ft, [u("span", null, v(d(i)("event.startOfEvent")), 1), u("b", null, v(d(
|
|
639
|
-
!d(C) && d(E) && !d(
|
|
640
|
-
d(
|
|
638
|
+
!d(C) && d(m) ? (a(), c("li", ft, [u("span", null, v(d(i)("event.startOfEvent")), 1), u("b", null, v(d(W)(d(m))), 1)])) : n("", !0),
|
|
639
|
+
!d(C) && d(E) && !d(L) ? (a(), c("li", pt, [u("span", null, v(d(i)("event.lengthOfEvent")), 1), u("b", null, v(d(W)(d(E))), 1)])) : n("", !0),
|
|
640
|
+
d(re) ? (a(), c("li", mt, [u("span", null, v(d(i)("general.discountCode")), 1), u("b", null, v(d(P)), 1)])) : n("", !0)
|
|
641
641
|
]),
|
|
642
|
-
"price-summary": w(() => [!d(C) && d(O) > 0 ? (a(), c("li", ht, [u("span", null, v(d(i)("booking.availability.basePrice")), 1), u("b", null, v(d(
|
|
642
|
+
"price-summary": w(() => [!d(C) && d(O) > 0 ? (a(), c("li", ht, [u("span", null, v(d(i)("booking.availability.basePrice")), 1), u("b", null, v(d(B)(d(O), d(ie))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(F)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, v(d(i)("booking.reservation.addons")) + " - " + v(d(i)("booking.reservation.room")) + " #" + v(t + 1), 1), u("b", null, v(d(B)(d(F)(e, t), d(ie))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
|
|
643
643
|
navigation: w(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
|
|
644
644
|
"mobile-under-price": w(() => [d(C) && d(x) > 0 ? (a(), c("div", gt, [u("span", null, v(d(z)(d(D))) + " - " + v(d(z)(d(D), d(x))), 1)])) : (a(), c("div", _t, [u("span", null, v(d(z)(d(T))), 1)]))]),
|
|
645
|
-
"mobile-summary": w(() => [!d(C) && d(
|
|
645
|
+
"mobile-summary": w(() => [!d(C) && d(N) > 0 ? (a(), c("span", vt, v(d(i)("event.numberOfProducts")) + ": " + v(d(N)), 1)) : n("", !0)]),
|
|
646
646
|
_: 2
|
|
647
647
|
}, [d(o).sidebar ? {
|
|
648
648
|
name: "sidebar",
|
|
@@ -662,10 +662,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
662
662
|
"prev-callback"
|
|
663
663
|
]));
|
|
664
664
|
}
|
|
665
|
-
}), [["__scopeId", "data-v-c1e1c642"]]), bt = { class: "event-skeleton" }, xt = { class: "event-skeleton-content" }, St = { class: "event-skeleton-sidebar" }, Ct = /*#__PURE__*/
|
|
665
|
+
}), [["__scopeId", "data-v-c1e1c642"]]), bt = { class: "event-skeleton" }, xt = { class: "event-skeleton-content" }, St = { class: "event-skeleton-sidebar" }, Ct = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
666
666
|
__name: "EventSkeleton",
|
|
667
667
|
setup(e) {
|
|
668
|
-
return (e, t) => (a(), c("div", bt, [u("div", xt, [g(
|
|
668
|
+
return (e, t) => (a(), c("div", bt, [u("div", xt, [g(Fe)]), u("div", St, [n("", !0), g(Ie)])]));
|
|
669
669
|
}
|
|
670
670
|
}), [["__scopeId", "data-v-af0e7efb"]]), wt = {
|
|
671
671
|
key: 0,
|
|
@@ -682,7 +682,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
682
682
|
}, Nt = { class: "konnectio-table with-lines" }, Pt = { class: "konnectio-event-addons-price" }, Ft = { class: "konnectio-event-addons-input" }, It = { class: "konnectio-event-addons-price" }, Lt = { class: "konnectio-event-addons-price" }, Rt = {
|
|
683
683
|
key: 1,
|
|
684
684
|
class: "konnectio-table with-lines without-header"
|
|
685
|
-
}, zt = { class: "konnectio-table-addons-information" }, Bt = { key: 0 }, Vt = { class: "konnectio-table-addons-option" }, Ht = { class: "konnectio-panel" }, Ut = /*#__PURE__*/
|
|
685
|
+
}, zt = { class: "konnectio-table-addons-information" }, Bt = { key: 0 }, Vt = { class: "konnectio-table-addons-option" }, Ht = { class: "konnectio-panel" }, Ut = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
686
686
|
name: "EventLayout",
|
|
687
687
|
__name: "Event",
|
|
688
688
|
props: {
|
|
@@ -700,25 +700,25 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
700
700
|
styling: {}
|
|
701
701
|
},
|
|
702
702
|
setup(e) {
|
|
703
|
-
let i = e, { t: o } = f(), s =
|
|
704
|
-
|
|
705
|
-
let
|
|
706
|
-
function
|
|
707
|
-
let { url: e, data: t } =
|
|
708
|
-
if (
|
|
709
|
-
let n =
|
|
710
|
-
n.setValidationTimeout(600),
|
|
703
|
+
let i = e, { t: o } = f(), s = K(), { isHostedCheckoutActive: _ } = y(ce()), { addons: b, products: x, numberOfDays: S, flagOnTable: C, numberOfHighChairs: T, name: k, phone: A, email: F, remark: I, allergies: L, arrivalTime: R, hasEvents: z, hasTemplates: V, getTemplates: ue, getEventData: de, getTemplateData: J, getEventTableData: be, hasProducts: xe, eventRateType: Se, areListingsAvailable: Ce, isAvailabilityDataAvailable: we, hasListingData: Te, isPaymentLoading: Ee, isReservationFormFilled: De, requiresArrivalTime: Oe, hasSelectedRequiredProducts: ke, getUnavailableEvents: Y, hasFallbackEvents: je, getFallbackEvents: Pe, excludeEventIds: Ie } = y(s), Re = E(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = y(M()), { setActiveIdFilter: ze } = M(), { eventDate: Be, eventLocation: Ve } = y(j()), { isValidRestaurantId: He } = j(), { initialize: Ue, fetchListings: We, createBooking: Ge, bookingPayload: Q, localAddonPrice: Ke, totalAddonPrice: qe, reset: Ye, goBack: Xe } = K(), { beginEventCheckout: Ze } = ee(), { display: Qe } = P();
|
|
704
|
+
he.useHttpClient(_e(ie()));
|
|
705
|
+
let $ = O(), $e;
|
|
706
|
+
function et() {
|
|
707
|
+
let { url: e, data: t } = Q();
|
|
708
|
+
if (!$.value || $e !== e) {
|
|
709
|
+
let n = pe("post", e, t);
|
|
710
|
+
n.setValidationTimeout(600), $e = e, $.value = n;
|
|
711
711
|
}
|
|
712
|
-
return
|
|
712
|
+
return $.value;
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
let t =
|
|
716
|
-
t.setData(
|
|
714
|
+
function tt(e) {
|
|
715
|
+
let t = et();
|
|
716
|
+
t.setData(Q().data), t.validate(e);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
718
|
+
function rt(e) {
|
|
719
|
+
return $.value?.errors[e];
|
|
720
720
|
}
|
|
721
|
-
m(k, () =>
|
|
721
|
+
m(k, () => tt("name")), m(F, () => tt("email")), m(A, () => tt("phone"));
|
|
722
722
|
let ot = E(() => [
|
|
723
723
|
{
|
|
724
724
|
id: "availability",
|
|
@@ -747,66 +747,66 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
747
747
|
}
|
|
748
748
|
]), st = E(() => {
|
|
749
749
|
let e = [];
|
|
750
|
-
return
|
|
750
|
+
return be.value && be.value.forEach((t) => {
|
|
751
751
|
e.find((e) => e.value === t.time) || e.push({
|
|
752
|
-
label:
|
|
752
|
+
label: W(t.time),
|
|
753
753
|
value: t.time
|
|
754
754
|
});
|
|
755
755
|
}), e;
|
|
756
756
|
});
|
|
757
757
|
function ct() {
|
|
758
|
-
|
|
758
|
+
Ye(i.resetDate === "yes");
|
|
759
759
|
}
|
|
760
760
|
async function lt(e) {
|
|
761
|
-
|
|
762
|
-
let t = await
|
|
763
|
-
t &&
|
|
761
|
+
Z.value && Ze();
|
|
762
|
+
let t = await Ge(e);
|
|
763
|
+
t && et().setErrors(t);
|
|
764
764
|
}
|
|
765
765
|
function ut() {
|
|
766
766
|
let e = se("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
767
767
|
if (n) {
|
|
768
|
-
if (
|
|
768
|
+
if (N(n)) {
|
|
769
769
|
let t = new Date(n);
|
|
770
|
-
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ?
|
|
770
|
+
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Be.value = t : (Qe({
|
|
771
771
|
message: o("alert.error.invalidDateRange"),
|
|
772
772
|
type: "error"
|
|
773
773
|
}), e.d = void 0);
|
|
774
|
-
} else
|
|
774
|
+
} else Qe({
|
|
775
775
|
message: o("alert.error.wrongDateFormat"),
|
|
776
776
|
type: "error"
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
|
-
isNaN(t) || (
|
|
779
|
+
isNaN(t) || (He(t) ? Ve.value = t : (e.rid = void 0, Qe({
|
|
780
780
|
message: o("alert.error.hotelIdNotFound"),
|
|
781
781
|
type: "error"
|
|
782
|
-
}))), isNaN(r) ||
|
|
782
|
+
}))), isNaN(r) || ze(String(r)), i.excludeEventIds && (Ie.value = i.excludeEventIds), We();
|
|
783
783
|
}
|
|
784
|
-
return (i, s) => (a(), r(
|
|
784
|
+
return (i, s) => (a(), r(ae, { styling: e.styling }, {
|
|
785
785
|
default: w(() => [(a(), r(D, { onResolve: ut }, {
|
|
786
|
-
default: w(() => [g(
|
|
786
|
+
default: w(() => [g(ye, {
|
|
787
787
|
id: "konnectio-event-module",
|
|
788
788
|
"access-token": e.accessToken,
|
|
789
|
-
callback: d(
|
|
789
|
+
callback: d(Ue)
|
|
790
790
|
}, {
|
|
791
|
-
default: w(() => [g(
|
|
791
|
+
default: w(() => [g(Le, {
|
|
792
792
|
steps: ot.value,
|
|
793
793
|
onReset: ct
|
|
794
794
|
}, {
|
|
795
795
|
availability: w(({ next: t }) => [g(yt, null, {
|
|
796
|
-
sidebar: w(() => [g(
|
|
796
|
+
sidebar: w(() => [g(Ae, {
|
|
797
797
|
redirection: !1,
|
|
798
798
|
"selected-location": Number(e.selectedLocation),
|
|
799
799
|
"hide-locations": e.hideLocations === "yes"
|
|
800
800
|
}, null, 8, ["selected-location", "hide-locations"])]),
|
|
801
|
-
form: w(() => [d(
|
|
802
|
-
d(
|
|
801
|
+
form: w(() => [d(Te) && d(Ce) ? (a(), c("div", wt, [
|
|
802
|
+
d(je) ? (a(), c("ul", Tt, [(a(!0), c(p, null, l(d(Pe), ({ id: e, name: n, description: i, images: o }) => (a(), r(it, {
|
|
803
803
|
key: e,
|
|
804
804
|
type: "event",
|
|
805
805
|
"listing-id": e,
|
|
806
806
|
description: i,
|
|
807
807
|
name: n,
|
|
808
808
|
gallery: o,
|
|
809
|
-
"tracking-enabled": d(
|
|
809
|
+
"tracking-enabled": d(Z),
|
|
810
810
|
callback: t
|
|
811
811
|
}, null, 8, [
|
|
812
812
|
"listing-id",
|
|
@@ -816,23 +816,23 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
816
816
|
"tracking-enabled",
|
|
817
817
|
"callback"
|
|
818
818
|
]))), 128))])) : n("", !0),
|
|
819
|
-
|
|
819
|
+
Re.value.length > 0 && d(Y).length > 0 ? (a(), c("h2", Et, [g(q, {
|
|
820
820
|
icon: "calendar-clock",
|
|
821
821
|
type: "fal",
|
|
822
822
|
color: "header"
|
|
823
823
|
}), u("span", null, v(d(o)("event.availableNow")), 1)])) : n("", !0),
|
|
824
|
-
u("ul", Dt, [d(
|
|
824
|
+
u("ul", Dt, [d(z) && e.onlyShow !== "templates" ? (a(!0), c(p, { key: 0 }, l(Re.value, (e) => (a(), r(Je, {
|
|
825
825
|
key: e.name,
|
|
826
826
|
name: e.name,
|
|
827
827
|
events: e.events ?? [],
|
|
828
|
-
"tracking-enabled": d(
|
|
828
|
+
"tracking-enabled": d(Z),
|
|
829
829
|
callback: t
|
|
830
830
|
}, null, 8, [
|
|
831
831
|
"name",
|
|
832
832
|
"events",
|
|
833
833
|
"tracking-enabled",
|
|
834
834
|
"callback"
|
|
835
|
-
]))), 128)) : n("", !0), d(
|
|
835
|
+
]))), 128)) : n("", !0), d(V) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(ue), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(at, {
|
|
836
836
|
key: e,
|
|
837
837
|
"listing-id": e,
|
|
838
838
|
name: n,
|
|
@@ -842,7 +842,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
842
842
|
"to-date": o,
|
|
843
843
|
"minimum-person-count": s,
|
|
844
844
|
fromPrice: c,
|
|
845
|
-
"tracking-enabled": d(
|
|
845
|
+
"tracking-enabled": d(Z),
|
|
846
846
|
callback: t
|
|
847
847
|
}, null, 8, [
|
|
848
848
|
"listing-id",
|
|
@@ -856,15 +856,15 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
856
856
|
"tracking-enabled",
|
|
857
857
|
"callback"
|
|
858
858
|
]))), 128)) : n("", !0)]),
|
|
859
|
-
d(
|
|
859
|
+
d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", Ot, [g(q, {
|
|
860
860
|
icon: "calendar-circle-exclamation",
|
|
861
861
|
type: "fal",
|
|
862
862
|
color: "header"
|
|
863
|
-
}), u("span", null, v(d(o)("event.availableLater")), 1)]), u("ul", kt, [(a(!0), c(p, null, l(d(
|
|
863
|
+
}), u("span", null, v(d(o)("event.availableLater")), 1)]), u("ul", kt, [(a(!0), c(p, null, l(d(Y), (e) => (a(), r(nt, {
|
|
864
864
|
key: e.name,
|
|
865
865
|
name: e.name,
|
|
866
866
|
events: e.events ?? [],
|
|
867
|
-
"tracking-enabled": d(
|
|
867
|
+
"tracking-enabled": d(Z),
|
|
868
868
|
callback: t
|
|
869
869
|
}, null, 8, [
|
|
870
870
|
"name",
|
|
@@ -872,24 +872,24 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
872
872
|
"tracking-enabled",
|
|
873
873
|
"callback"
|
|
874
874
|
]))), 128))])], 64)) : n("", !0),
|
|
875
|
-
(!d(
|
|
875
|
+
(!d(z) && !d(V) || !d(z) && e.onlyShow === "events" || !d(V) && e.onlyShow === "templates") && !d(je) ? (a(), c("div", {
|
|
876
876
|
key: 3,
|
|
877
877
|
class: "konnectio-panel",
|
|
878
878
|
innerHTML: d(o)("event.nothingAvailable")
|
|
879
879
|
}, null, 8, At)) : n("", !0)
|
|
880
|
-
])) : (a(), r(
|
|
880
|
+
])) : (a(), r(Fe, { key: 1 }))]),
|
|
881
881
|
_: 2
|
|
882
882
|
}, 1024)]),
|
|
883
|
-
addons: w(({ next: e, prev: i }) => [d(
|
|
883
|
+
addons: w(({ next: e, prev: i }) => [d(we) ? (a(), r(yt, {
|
|
884
884
|
key: 0,
|
|
885
|
-
"prev-callback": () => d(
|
|
885
|
+
"prev-callback": () => d(Xe)(i)
|
|
886
886
|
}, {
|
|
887
887
|
form: w(() => [u("form", jt, [
|
|
888
888
|
u("h2", null, [u("span", null, v(d(o)("event.selectProducts")), 1)]),
|
|
889
|
-
d(
|
|
889
|
+
d(J) && d(J).length > 0 ? (a(), c("ul", Mt, [(a(!0), c(p, null, l(d(J), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
|
|
890
890
|
u("span", null, v(d(o)("booking.reservation.room")) + " #" + v(f + 1), 1),
|
|
891
891
|
s[9] ||= t(" (", -1),
|
|
892
|
-
g(
|
|
892
|
+
g(q, {
|
|
893
893
|
icon: "male",
|
|
894
894
|
type: "fas",
|
|
895
895
|
color: "header"
|
|
@@ -905,49 +905,49 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
905
905
|
u("td", null, [
|
|
906
906
|
u("b", null, v(i), 1),
|
|
907
907
|
s[11] ||= u("br", null, null, -1),
|
|
908
|
-
u("span", null, v(d(
|
|
908
|
+
u("span", null, v(d(B)(o, d(X))) + " " + v(d(te)(l)), 1)
|
|
909
909
|
]),
|
|
910
|
-
u("td", Ft, [n === d(
|
|
910
|
+
u("td", Ft, [n === d(oe).Mandatory ? (a(), r(U, {
|
|
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
|
-
})) : (a(), r(
|
|
917
|
+
})) : (a(), r(U, {
|
|
918
918
|
key: 1,
|
|
919
919
|
modelValue: d(b)[`${e}.${t}.${f}`],
|
|
920
920
|
"onUpdate:modelValue": (n) => d(b)[`${e}.${t}.${f}`] = n,
|
|
921
921
|
small: !0,
|
|
922
922
|
"min-value": 0,
|
|
923
|
-
"max-value": d(
|
|
923
|
+
"max-value": d(ne)(n)
|
|
924
924
|
}, null, 8, [
|
|
925
925
|
"modelValue",
|
|
926
926
|
"onUpdate:modelValue",
|
|
927
927
|
"max-value"
|
|
928
928
|
]))]),
|
|
929
|
-
u("td", It, [u("span", null, v(d(
|
|
929
|
+
u("td", It, [u("span", null, v(d(B)(d(Ke)(t, e, f), d(X))), 1)])
|
|
930
930
|
]))), 128))]),
|
|
931
931
|
u("tfoot", null, [u("tr", null, [
|
|
932
932
|
s[12] ||= u("td", null, null, -1),
|
|
933
933
|
s[13] ||= u("td", null, null, -1),
|
|
934
|
-
u("td", Lt, [u("u", null, [u("span", null, v(d(
|
|
934
|
+
u("td", Lt, [u("u", null, [u("span", null, v(d(B)(d(qe)(e, f), d(X))), 1)])])
|
|
935
935
|
])])
|
|
936
936
|
])]))), 128))])) : n("", !0),
|
|
937
|
-
d(
|
|
938
|
-
u("b", null, [u("span", null, v(d(
|
|
939
|
-
i && i !== t ? (a(), c("span", Bt, v(d(
|
|
940
|
-
u("u", null, v(d(
|
|
941
|
-
]), u("td", Vt, [g(
|
|
937
|
+
d(xe) ? (a(), c("table", Rt, [u("tbody", null, [(a(!0), c(p, null, l(d(de).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", zt, [
|
|
938
|
+
u("b", null, [u("span", null, v(d(re)(t)), 1)]),
|
|
939
|
+
i && i !== t ? (a(), c("span", Bt, v(d(re)(i)), 1)) : n("", !0),
|
|
940
|
+
u("u", null, v(d(B)(r, d(X))), 1)
|
|
941
|
+
]), u("td", Vt, [g(U, {
|
|
942
942
|
modelValue: d(x)[e],
|
|
943
943
|
"onUpdate:modelValue": (t) => d(x)[e] = t,
|
|
944
944
|
small: !0,
|
|
945
945
|
"min-value": 0
|
|
946
946
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : n("", !0)
|
|
947
947
|
])]),
|
|
948
|
-
navigation: w(() => [g(
|
|
948
|
+
navigation: w(() => [g(G, {
|
|
949
949
|
label: d(o)("event.startReservation"),
|
|
950
|
-
disabled: !d(
|
|
950
|
+
disabled: !d(ke),
|
|
951
951
|
"full-width": "",
|
|
952
952
|
onClickEvent: e
|
|
953
953
|
}, null, 8, [
|
|
@@ -960,18 +960,18 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
960
960
|
reservation: w(({ next: t, prev: i }) => [g(yt, {
|
|
961
961
|
"show-terms-notice": !0,
|
|
962
962
|
"show-gift-card": !0,
|
|
963
|
-
"prev-callback": () => d(
|
|
963
|
+
"prev-callback": () => d(Xe)(i)
|
|
964
964
|
}, {
|
|
965
965
|
form: w(() => [u("form", Ht, [
|
|
966
966
|
u("h2", null, [u("span", null, v(d(o)("booking.reservation.detailsTitle")), 1)]),
|
|
967
|
-
g(
|
|
967
|
+
g(H, {
|
|
968
968
|
modelValue: d(k),
|
|
969
969
|
"onUpdate:modelValue": s[0] ||= (e) => h(k) ? k.value = e : null,
|
|
970
970
|
type: "text",
|
|
971
971
|
label: d(o)("booking.reservation.name"),
|
|
972
972
|
icon: "user-alt",
|
|
973
973
|
placeholder: d(o)("booking.reservation.namePlaceholder"),
|
|
974
|
-
error:
|
|
974
|
+
error: rt("name"),
|
|
975
975
|
required: ""
|
|
976
976
|
}, null, 8, [
|
|
977
977
|
"modelValue",
|
|
@@ -979,16 +979,16 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
979
979
|
"placeholder",
|
|
980
980
|
"error"
|
|
981
981
|
]),
|
|
982
|
-
g(
|
|
983
|
-
modelValue: d(
|
|
984
|
-
"onUpdate:modelValue": s[1] ||= (e) => h(
|
|
982
|
+
g(H, {
|
|
983
|
+
modelValue: d(F),
|
|
984
|
+
"onUpdate:modelValue": s[1] ||= (e) => h(F) ? F.value = e : null,
|
|
985
985
|
label: d(o)("booking.reservation.email"),
|
|
986
986
|
type: "email",
|
|
987
987
|
name: "email",
|
|
988
988
|
autocomplete: "email",
|
|
989
989
|
icon: "at",
|
|
990
990
|
placeholder: d(o)("booking.reservation.emailPlaceholder"),
|
|
991
|
-
error:
|
|
991
|
+
error: rt("email"),
|
|
992
992
|
required: ""
|
|
993
993
|
}, null, 8, [
|
|
994
994
|
"modelValue",
|
|
@@ -996,13 +996,13 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
996
996
|
"placeholder",
|
|
997
997
|
"error"
|
|
998
998
|
]),
|
|
999
|
-
g(
|
|
999
|
+
g(fe, {
|
|
1000
1000
|
modelValue: d(A),
|
|
1001
1001
|
"onUpdate:modelValue": s[2] ||= (e) => h(A) ? A.value = e : null,
|
|
1002
1002
|
label: d(o)("booking.reservation.phone"),
|
|
1003
1003
|
icon: "phone-office",
|
|
1004
1004
|
placeholder: d(o)("booking.reservation.phonePlaceholder"),
|
|
1005
|
-
error:
|
|
1005
|
+
error: rt("phone"),
|
|
1006
1006
|
required: ""
|
|
1007
1007
|
}, null, 8, [
|
|
1008
1008
|
"modelValue",
|
|
@@ -1010,10 +1010,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1010
1010
|
"placeholder",
|
|
1011
1011
|
"error"
|
|
1012
1012
|
]),
|
|
1013
|
-
d(
|
|
1013
|
+
d(Oe) ? (a(), r(Me, {
|
|
1014
1014
|
key: 0,
|
|
1015
|
-
modelValue: d(
|
|
1016
|
-
"onUpdate:modelValue": s[3] ||= (e) => h(
|
|
1015
|
+
modelValue: d(R),
|
|
1016
|
+
"onUpdate:modelValue": s[3] ||= (e) => h(R) ? R.value = e : null,
|
|
1017
1017
|
label: d(o)("event.selectArrivalTime"),
|
|
1018
1018
|
name: "eventTimeTable",
|
|
1019
1019
|
checkboxes: st.value,
|
|
@@ -1023,7 +1023,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1023
1023
|
"label",
|
|
1024
1024
|
"checkboxes"
|
|
1025
1025
|
])) : n("", !0),
|
|
1026
|
-
d(
|
|
1026
|
+
d(Se) === d(le).FullDayEvent ? (a(), r(U, {
|
|
1027
1027
|
key: 1,
|
|
1028
1028
|
modelValue: d(S),
|
|
1029
1029
|
"onUpdate:modelValue": s[4] ||= (e) => h(S) ? S.value = e : null,
|
|
@@ -1031,7 +1031,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1031
1031
|
"min-value": 1,
|
|
1032
1032
|
required: ""
|
|
1033
1033
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
1034
|
-
e.showHighChairs === "yes" ? (a(), r(
|
|
1034
|
+
e.showHighChairs === "yes" ? (a(), r(U, {
|
|
1035
1035
|
key: 2,
|
|
1036
1036
|
modelValue: d(T),
|
|
1037
1037
|
"onUpdate:modelValue": s[5] ||= (e) => h(T) ? T.value = e : null,
|
|
@@ -1039,16 +1039,16 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1039
1039
|
icon: "baby",
|
|
1040
1040
|
"no-optional-label": !1
|
|
1041
1041
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
1042
|
-
e.showFlagOnTable === "yes" ? (a(), r(
|
|
1042
|
+
e.showFlagOnTable === "yes" ? (a(), r(me, {
|
|
1043
1043
|
key: 3,
|
|
1044
1044
|
modelValue: d(C),
|
|
1045
1045
|
"onUpdate:modelValue": s[6] ||= (e) => h(C) ? C.value = e : null,
|
|
1046
1046
|
label: d(o)("event.flagOnTable")
|
|
1047
1047
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
1048
|
-
e.hideRemarks === "yes" ? n("", !0) : (a(), r(
|
|
1048
|
+
e.hideRemarks === "yes" ? n("", !0) : (a(), r(H, {
|
|
1049
1049
|
key: 4,
|
|
1050
|
-
modelValue: d(
|
|
1051
|
-
"onUpdate:modelValue": s[7] ||= (e) => h(
|
|
1050
|
+
modelValue: d(I),
|
|
1051
|
+
"onUpdate:modelValue": s[7] ||= (e) => h(I) ? I.value = e : null,
|
|
1052
1052
|
type: "textarea",
|
|
1053
1053
|
label: d(o)("booking.reservation.remark"),
|
|
1054
1054
|
icon: "info-circle",
|
|
@@ -1058,10 +1058,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1058
1058
|
"label",
|
|
1059
1059
|
"placeholder"
|
|
1060
1060
|
])),
|
|
1061
|
-
e.hideAllergies !== "yes" && d(
|
|
1061
|
+
e.hideAllergies !== "yes" && d(de)?.showAllergyFoodFieldOnline ? (a(), r(H, {
|
|
1062
1062
|
key: 5,
|
|
1063
|
-
modelValue: d(
|
|
1064
|
-
"onUpdate:modelValue": s[8] ||= (e) => h(
|
|
1063
|
+
modelValue: d(L),
|
|
1064
|
+
"onUpdate:modelValue": s[8] ||= (e) => h(L) ? L.value = e : null,
|
|
1065
1065
|
type: "textarea",
|
|
1066
1066
|
label: d(o)("booking.reservation.allergies"),
|
|
1067
1067
|
icon: "allergies",
|
|
@@ -1072,10 +1072,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1072
1072
|
"placeholder"
|
|
1073
1073
|
])) : n("", !0)
|
|
1074
1074
|
])]),
|
|
1075
|
-
navigation: w(() => [d(_) ? (a(), r(
|
|
1075
|
+
navigation: w(() => [d(_) ? (a(), r(ge, { key: 0 })) : n("", !0), g(G, {
|
|
1076
1076
|
label: d(o)("general.confirmReservation"),
|
|
1077
|
-
"is-loading": d(
|
|
1078
|
-
disabled: !d(
|
|
1077
|
+
"is-loading": d(Ee) || d(_),
|
|
1078
|
+
disabled: !d(De),
|
|
1079
1079
|
"full-width": "",
|
|
1080
1080
|
onClickEvent: (e) => lt(t)
|
|
1081
1081
|
}, null, 8, [
|
|
@@ -1086,8 +1086,8 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1086
1086
|
])]),
|
|
1087
1087
|
_: 2
|
|
1088
1088
|
}, 1032, ["prev-callback"])]),
|
|
1089
|
-
payment: w(() => [g(
|
|
1090
|
-
confirmation: w(() => [g(
|
|
1089
|
+
payment: w(() => [g(ve)]),
|
|
1090
|
+
confirmation: w(() => [g(Ne, { message: d(o)("event.confirmationMessage") }, null, 8, ["message"])]),
|
|
1091
1091
|
_: 1
|
|
1092
1092
|
}, 8, ["steps"])]),
|
|
1093
1093
|
_: 1
|
|
@@ -1099,7 +1099,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
|
|
|
1099
1099
|
}, 8, ["styling"]));
|
|
1100
1100
|
}
|
|
1101
1101
|
}), [["__scopeId", "data-v-7b7bd39f"]]), Wt = C(), Gt = x("konnectio-event", Ut, (e) => {
|
|
1102
|
-
e.use(A), e.use(b), e.use(Wt), e.use(
|
|
1102
|
+
e.use(A), e.use(b), e.use(Wt), e.use(Y), e.use(Re);
|
|
1103
1103
|
});
|
|
1104
1104
|
//#endregion
|
|
1105
1105
|
export { Gt as default };
|