@konnectio/core 4.7.9 → 4.7.11
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-BLUufdat.js → ActionField-DUL0XvJT.js} +6 -6
- package/dist/ActionField-DUL0XvJT.js.br +0 -0
- package/dist/ActionField-DUL0XvJT.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DlcBMiZx.js → AvailabilitySkeleton-DEr2RxbZ.js} +113 -113
- package/dist/AvailabilitySkeleton-DEr2RxbZ.js.br +0 -0
- package/dist/AvailabilitySkeleton-DEr2RxbZ.js.gz +0 -0
- package/dist/{CheckoutWindow-BcRZIzMT.js → CheckoutWindow-BNE0eaqa.js} +96 -89
- package/dist/CheckoutWindow-BNE0eaqa.js.br +0 -0
- package/dist/CheckoutWindow-BNE0eaqa.js.gz +0 -0
- package/dist/{ErrorMessage-C8zkJCJE.js → ErrorMessage-c1Xb-slW.js} +7 -7
- package/dist/ErrorMessage-c1Xb-slW.js.br +0 -0
- package/dist/ErrorMessage-c1Xb-slW.js.gz +0 -0
- package/dist/{EventAvailabilityForm-B4sFsGhI.js → EventAvailabilityForm-7jg44O4p.js} +16 -16
- package/dist/EventAvailabilityForm-7jg44O4p.js.br +0 -0
- package/dist/EventAvailabilityForm-7jg44O4p.js.gz +0 -0
- package/dist/{Field-De-fvk85.js → Field-BpOBWcqm.js} +1 -1
- package/dist/Field-BpOBWcqm.js.br +0 -0
- package/dist/Field-BpOBWcqm.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-C8uTiy9J.js → HotelAvailabilityForm-D-BlPPkO.js} +6 -6
- package/dist/HotelAvailabilityForm-D-BlPPkO.js.br +0 -0
- package/dist/HotelAvailabilityForm-D-BlPPkO.js.gz +0 -0
- package/dist/{SelectField-CDAxug6h.js → SelectField-BgawaMC_.js} +1889 -1870
- package/dist/SelectField-BgawaMC_.js.br +0 -0
- package/dist/SelectField-BgawaMC_.js.gz +0 -0
- package/dist/{TermsOfService-Dt5Q1SCK.js → TermsOfService-ByMc3JXX.js} +6 -6
- package/dist/TermsOfService-ByMc3JXX.js.br +0 -0
- package/dist/TermsOfService-ByMc3JXX.js.gz +2 -0
- package/dist/{_-Be3oAOAc.js → _-BftIyTSa.js} +1 -1
- package/dist/_-BftIyTSa.js.br +0 -0
- package/dist/_-BftIyTSa.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 +11 -11
- 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-BPlclb9p.js → dist-BRdmfOkq.js} +2 -2
- package/dist/dist-BRdmfOkq.js.br +0 -0
- package/dist/dist-BRdmfOkq.js.gz +0 -0
- package/dist/{dist-C_IilFmu.js → dist-DOhI4S1k.js} +25 -26
- package/dist/dist-DOhI4S1k.js.br +0 -0
- package/dist/dist-DOhI4S1k.js.gz +0 -0
- package/dist/event.js +176 -176
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/giftCard-D7hskPCe.js +104 -0
- package/dist/giftCard-D7hskPCe.js.br +0 -0
- package/dist/giftCard-D7hskPCe.js.gz +0 -0
- package/dist/hotel.js +1047 -1049
- 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-D9WMflRR.js → style-CHNgkDj2.js} +1 -1
- package/dist/style-CHNgkDj2.js.br +0 -0
- package/dist/style-CHNgkDj2.js.gz +0 -0
- package/dist-wix/availability.js +19 -19
- package/dist-wix/event.js +6 -6
- package/dist-wix/gift-card-validation.js +20 -20
- package/dist-wix/gift-card.js +20 -20
- package/dist-wix/hotel.js +6 -6
- package/package.json +4 -1
- package/dist/ActionField-BLUufdat.js.br +0 -0
- package/dist/ActionField-BLUufdat.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.br +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.gz +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.br +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.gz +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.br +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.gz +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.br +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.gz +0 -0
- package/dist/Field-De-fvk85.js.br +0 -0
- package/dist/Field-De-fvk85.js.gz +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.br +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.gz +0 -0
- package/dist/SelectField-CDAxug6h.js.br +0 -0
- package/dist/SelectField-CDAxug6h.js.gz +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.br +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.gz +0 -0
- package/dist/_-Be3oAOAc.js.br +0 -0
- package/dist/_-Be3oAOAc.js.gz +0 -5
- package/dist/dist-BPlclb9p.js.br +0 -0
- package/dist/dist-BPlclb9p.js.gz +0 -0
- package/dist/dist-C_IilFmu.js.br +0 -0
- package/dist/dist-C_IilFmu.js.gz +0 -0
- package/dist/giftCard-CxI94mQ4.js +0 -104
- package/dist/giftCard-CxI94mQ4.js.br +0 -0
- package/dist/giftCard-CxI94mQ4.js.gz +0 -0
- package/dist/style-D9WMflRR.js.br +0 -0
- package/dist/style-D9WMflRR.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, ht as m, j as h, k as g, kt as _, l as v, n as y, o as b, ot as x, s as S, ut as C, v as w, w as T, x as E, yt as D } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { t as O } from "./dist-
|
|
3
|
-
import { $ as k, B as A, C as j, D as ee, E as M,
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { a as
|
|
9
|
-
import { i as
|
|
2
|
+
import { t as O } from "./dist-BRdmfOkq.js";
|
|
3
|
+
import { $ as k, B as A, C as j, D as ee, E as M, I as N, K as P, N as F, R as I, S as L, U as te, V as ne, W as R, X as z, Y as B, Z as V, b as re, it as H, j as ie, mt as ae, n as U, q as oe, r as W, v as G, w as K, x as q } from "./SelectField-BgawaMC_.js";
|
|
4
|
+
import { t as se } from "./_-BftIyTSa.js";
|
|
5
|
+
import { a as J, c as ce, d as le, f as ue, i as de, l as fe, n as pe, o as me, r as he, s as ge, u as _e } from "./AvailabilitySkeleton-DEr2RxbZ.js";
|
|
6
|
+
import { t as ve } from "./EventAvailabilityForm-7jg44O4p.js";
|
|
7
|
+
import { t as Y } from "./style-CHNgkDj2.js";
|
|
8
|
+
import { a as ye, c as be, i as xe, l as Se, n as Ce, o as we, s as Te, t as Ee, u as X } from "./dist-DOhI4S1k.js";
|
|
9
|
+
import { a as De, i as Oe, n as ke, t as Ae } from "./CheckoutWindow-BNE0eaqa.js";
|
|
10
10
|
//#region node_modules/date-fns/formatDistanceStrict.js
|
|
11
|
-
function
|
|
12
|
-
let r =
|
|
11
|
+
function Z(e, t, n) {
|
|
12
|
+
let r = ce(), i = n?.locale ?? r.locale ?? he, 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] = me(n?.in, ...a > 0 ? [t, e] : [e, t]), l = de(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / fe, f = (u - (ge(c) - ge(s))) / fe, 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);
|
|
@@ -25,19 +25,19 @@ function Oe(e, t, n) {
|
|
|
25
25
|
let e = l(d / 60);
|
|
26
26
|
return i.formatDistance("xHours", e, o);
|
|
27
27
|
} else if (m === "day") {
|
|
28
|
-
let e = l(f /
|
|
28
|
+
let e = l(f / _e);
|
|
29
29
|
return i.formatDistance("xDays", e, o);
|
|
30
30
|
} else if (m === "month") {
|
|
31
|
-
let e = l(f /
|
|
31
|
+
let e = l(f / le);
|
|
32
32
|
return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
|
|
33
33
|
} else {
|
|
34
|
-
let e = l(f /
|
|
34
|
+
let e = l(f / ue);
|
|
35
35
|
return i.formatDistance("xYears", e, o);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
|
|
40
|
-
var
|
|
40
|
+
var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
41
41
|
__name: "_",
|
|
42
42
|
props: {
|
|
43
43
|
name: {},
|
|
@@ -68,7 +68,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
68
68
|
callback: {}
|
|
69
69
|
},
|
|
70
70
|
setup(t) {
|
|
71
|
-
let { t: o } = f(), s = t, { display: c } =
|
|
71
|
+
let { t: o } = f(), s = t, { display: c } = F(), { hideEventGuestAmount: l } = v(M()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(K()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = K(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), A = T(() => S(s.listingId)), j = () => {
|
|
72
72
|
if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
73
73
|
c({
|
|
74
74
|
type: "error",
|
|
@@ -81,7 +81,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
81
81
|
name: s.name,
|
|
82
82
|
value: s.fromPrice || 0
|
|
83
83
|
}), g.value = s.listingId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, b(s.callback);
|
|
84
|
-
},
|
|
84
|
+
}, N = () => {
|
|
85
85
|
if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
86
86
|
c({
|
|
87
87
|
type: "error",
|
|
@@ -95,7 +95,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
95
95
|
value: s.fromPrice || 0
|
|
96
96
|
}), g.value = s.listingId, y.value = s.tableGroupId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, x(s.callback);
|
|
97
97
|
};
|
|
98
|
-
return (s, c) => (a(), r(
|
|
98
|
+
return (s, c) => (a(), r(Se, {
|
|
99
99
|
type: "event",
|
|
100
100
|
"listing-id": t.listingId,
|
|
101
101
|
gallery: t.gallery,
|
|
@@ -103,7 +103,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
103
103
|
description: t.description,
|
|
104
104
|
"prices-from": t.fromPrice,
|
|
105
105
|
"to-date": t.toDate,
|
|
106
|
-
layout: d(
|
|
106
|
+
layout: d(k).Event,
|
|
107
107
|
"disable-deep-link": t.disableDeepLink
|
|
108
108
|
}, {
|
|
109
109
|
description: C(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
|
|
@@ -115,7 +115,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
115
115
|
icon: "users",
|
|
116
116
|
"icon-type": "fas",
|
|
117
117
|
"icon-placement": "label",
|
|
118
|
-
description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(
|
|
118
|
+
description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(R)(d(o)("general.guests"))}` : void 0,
|
|
119
119
|
"min-value": 0,
|
|
120
120
|
"max-value": E.value
|
|
121
121
|
}, null, 8, [
|
|
@@ -123,13 +123,13 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
123
123
|
"label",
|
|
124
124
|
"description",
|
|
125
125
|
"max-value"
|
|
126
|
-
])), u("div",
|
|
126
|
+
])), u("div", je, [h(G, {
|
|
127
127
|
label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
|
|
128
128
|
disabled: t.soldOut,
|
|
129
|
-
"is-loading":
|
|
129
|
+
"is-loading": A.value,
|
|
130
130
|
"full-width": "",
|
|
131
|
-
"sub-label": d(
|
|
132
|
-
onClickEvent: c[1] ||= (e) => t.type === "event" ?
|
|
131
|
+
"sub-label": d(P)(d(_)),
|
|
132
|
+
onClickEvent: c[1] ||= (e) => t.type === "event" ? N() : j()
|
|
133
133
|
}, null, 8, [
|
|
134
134
|
"label",
|
|
135
135
|
"disabled",
|
|
@@ -148,13 +148,13 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
148
148
|
"disable-deep-link"
|
|
149
149
|
]));
|
|
150
150
|
}
|
|
151
|
-
}), [["__scopeId", "data-v-bfd98c31"]]),
|
|
151
|
+
}), [["__scopeId", "data-v-bfd98c31"]]), Ne = { class: "konnectio-event-listing-information-new" }, Pe = {
|
|
152
152
|
key: 1,
|
|
153
153
|
class: "konnectio-pill-button"
|
|
154
|
-
},
|
|
154
|
+
}, Fe = {
|
|
155
155
|
key: 2,
|
|
156
156
|
class: "konnectio-pill-button"
|
|
157
|
-
},
|
|
157
|
+
}, Ie = { key: 0 }, Le = { key: 1 }, Q = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
158
158
|
__name: "Event",
|
|
159
159
|
props: {
|
|
160
160
|
name: {},
|
|
@@ -180,9 +180,9 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
180
180
|
let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(M()), p = T(() => {
|
|
181
181
|
if (!i.length) return;
|
|
182
182
|
let e = i.length.split(":");
|
|
183
|
-
return
|
|
183
|
+
return Z(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
|
|
184
184
|
});
|
|
185
|
-
return (i, f) => (a(), r(
|
|
185
|
+
return (i, f) => (a(), r(Me, {
|
|
186
186
|
"listing-id": t.listingId,
|
|
187
187
|
name: t.name,
|
|
188
188
|
description: t.description,
|
|
@@ -197,19 +197,19 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
197
197
|
"tracking-enabled": t.trackingEnabled,
|
|
198
198
|
callback: t.callback
|
|
199
199
|
}, {
|
|
200
|
-
description: C(() => [t.description ? (a(), r(
|
|
200
|
+
description: C(() => [t.description ? (a(), r(X, {
|
|
201
201
|
key: 0,
|
|
202
202
|
text: t.description
|
|
203
|
-
}, null, 8, ["text"])) : n("", !0), u("ul",
|
|
203
|
+
}, null, 8, ["text"])) : n("", !0), u("ul", Ne, [
|
|
204
204
|
n("", !0),
|
|
205
|
-
!d(s) && p.value ? (a(), c("li",
|
|
205
|
+
!d(s) && p.value ? (a(), c("li", Pe, [u("div", null, [h(q, {
|
|
206
206
|
icon: "calendar-clock",
|
|
207
207
|
color: "header"
|
|
208
208
|
}), u("span", null, _(d(o)("event.lengthOfEvent")), 1)]), u("span", null, _(p.value), 1)])) : n("", !0),
|
|
209
|
-
t.timeFrom ? (a(), c("li",
|
|
209
|
+
t.timeFrom ? (a(), c("li", Fe, [u("div", null, [h(q, {
|
|
210
210
|
icon: "calendar-clock",
|
|
211
211
|
color: "header"
|
|
212
|
-
}), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span",
|
|
212
|
+
}), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Le, _(d(z)(t.timeFrom)), 1)) : (a(), c("span", Ie, _(d(V)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
|
|
213
213
|
])]),
|
|
214
214
|
action: C(() => [e(i.$slots, "action", {}, void 0, !0)]),
|
|
215
215
|
_: 3
|
|
@@ -228,10 +228,10 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
228
228
|
"callback"
|
|
229
229
|
]));
|
|
230
230
|
}
|
|
231
|
-
}), [["__scopeId", "data-v-2ecac268"]]),
|
|
231
|
+
}), [["__scopeId", "data-v-2ecac268"]]), Re = {
|
|
232
232
|
key: 0,
|
|
233
233
|
class: "konnectio-event-grouped-listings-container"
|
|
234
|
-
},
|
|
234
|
+
}, ze = { class: "konnectio-event-grouped-listings" }, Be = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
235
235
|
__name: "Event",
|
|
236
236
|
props: {
|
|
237
237
|
name: {},
|
|
@@ -240,7 +240,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
240
240
|
callback: { type: Function }
|
|
241
241
|
},
|
|
242
242
|
setup(e) {
|
|
243
|
-
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div",
|
|
243
|
+
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", Re, [n("", !0), u("ul", ze, [(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, {
|
|
244
244
|
key: t,
|
|
245
245
|
type: "event",
|
|
246
246
|
"listing-id": t,
|
|
@@ -310,7 +310,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
310
310
|
"callback"
|
|
311
311
|
])) : n("", !0);
|
|
312
312
|
}
|
|
313
|
-
}), [["__scopeId", "data-v-3584070d"]]),
|
|
313
|
+
}), [["__scopeId", "data-v-3584070d"]]), Ve = { class: "konnectio-special-offer-availability" }, He = { class: "konnectio-special-offer-availability-button" }, $ = { class: "konnectio-warning-notice" }, Ue = { key: 0 }, We = { key: 1 }, Ge = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
314
314
|
__name: "NextEvent",
|
|
315
315
|
props: {
|
|
316
316
|
name: {},
|
|
@@ -332,14 +332,14 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
332
332
|
callback: { type: Function }
|
|
333
333
|
},
|
|
334
334
|
setup(e) {
|
|
335
|
-
let { t: n } = f(), { updateEventDate: i } = j(), { display: s } =
|
|
335
|
+
let { t: n } = f(), { updateEventDate: i } = j(), { display: s } = F(), l = D(), p = e;
|
|
336
336
|
function m() {
|
|
337
337
|
l.value ? i(l.value) : s({
|
|
338
338
|
message: n("alert.error.selectDate"),
|
|
339
339
|
type: "error"
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
|
-
let g = T(() =>
|
|
342
|
+
let g = T(() => I(p.fromDate, p.toDate) <= 1), v = T(() => [
|
|
343
343
|
0,
|
|
344
344
|
1,
|
|
345
345
|
2,
|
|
@@ -347,7 +347,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
347
347
|
4,
|
|
348
348
|
5,
|
|
349
349
|
6
|
|
350
|
-
].filter((e) => !
|
|
350
|
+
].filter((e) => !A(p.days).includes(e)));
|
|
351
351
|
return o(() => {
|
|
352
352
|
g.value && (l.value = new Date(p.fromDate));
|
|
353
353
|
}), (i, o) => (a(), r(Q, {
|
|
@@ -370,7 +370,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
370
370
|
callback: e.callback,
|
|
371
371
|
"disable-deep-link": !0
|
|
372
372
|
}, {
|
|
373
|
-
action: C(() => [u("div", null, [u("div",
|
|
373
|
+
action: C(() => [u("div", null, [u("div", Ve, [h(pe, {
|
|
374
374
|
modelValue: l.value,
|
|
375
375
|
"onUpdate:modelValue": o[0] ||= (e) => l.value = e,
|
|
376
376
|
label: `${d(n)("event.selectDate")}*`,
|
|
@@ -391,10 +391,10 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
391
391
|
"min-date",
|
|
392
392
|
"max-date",
|
|
393
393
|
"disabled-week-days"
|
|
394
|
-
]), u("div",
|
|
394
|
+
]), u("div", He, [h(G, {
|
|
395
395
|
label: d(n)("availability.buttonLabel"),
|
|
396
396
|
onClick: w(m, ["prevent"])
|
|
397
|
-
}, null, 8, ["label"])])]), u("div",
|
|
397
|
+
}, null, 8, ["label"])])]), u("div", $, [g.value ? (a(), c("span", Ue, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(P)(e.fromDate)), 1)])) : (a(), c("span", We, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(oe)(e.days)), 1)]))])])]),
|
|
398
398
|
_: 1
|
|
399
399
|
}, 8, [
|
|
400
400
|
"name",
|
|
@@ -416,10 +416,10 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
416
416
|
"callback"
|
|
417
417
|
]));
|
|
418
418
|
}
|
|
419
|
-
}), [["__scopeId", "data-v-91ea584c"]]),
|
|
419
|
+
}), [["__scopeId", "data-v-91ea584c"]]), Ke = {
|
|
420
420
|
key: 0,
|
|
421
421
|
class: "konnectio-event-grouped-listings-container"
|
|
422
|
-
},
|
|
422
|
+
}, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
423
423
|
__name: "NextEvent",
|
|
424
424
|
props: {
|
|
425
425
|
name: {},
|
|
@@ -428,7 +428,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
428
428
|
callback: { type: Function }
|
|
429
429
|
},
|
|
430
430
|
setup(e) {
|
|
431
|
-
return (t, i) => e.events && e.events.length > 1 ? (a(), c("div",
|
|
431
|
+
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, fromDate: c, toDate: l, tableGroupId: u, description: d, soldOut: f, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (a(), r(Ge, {
|
|
432
432
|
key: t,
|
|
433
433
|
type: "event",
|
|
434
434
|
"listing-id": t,
|
|
@@ -464,7 +464,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
464
464
|
"use-number-of-products-for-persons",
|
|
465
465
|
"tracking-enabled",
|
|
466
466
|
"callback"
|
|
467
|
-
]))), 128))])])) : e.events ? (a(), r(
|
|
467
|
+
]))), 128))])])) : e.events ? (a(), r(Ge, {
|
|
468
468
|
key: e.events[0].id,
|
|
469
469
|
type: "event",
|
|
470
470
|
"listing-id": e.events[0].id,
|
|
@@ -502,7 +502,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
502
502
|
"callback"
|
|
503
503
|
])) : n("", !0);
|
|
504
504
|
}
|
|
505
|
-
}), [["__scopeId", "data-v-138f6cac"]]),
|
|
505
|
+
}), [["__scopeId", "data-v-138f6cac"]]), Ye = ["innerHTML"], Xe = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
506
506
|
__name: "FallbackEvent",
|
|
507
507
|
props: {
|
|
508
508
|
name: {},
|
|
@@ -530,7 +530,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
530
530
|
action: C(() => [u("div", {
|
|
531
531
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
532
532
|
innerHTML: d(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
|
|
533
|
-
}, null, 8,
|
|
533
|
+
}, null, 8, Ye)]),
|
|
534
534
|
_: 1
|
|
535
535
|
}, 8, [
|
|
536
536
|
"name",
|
|
@@ -543,7 +543,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
543
543
|
"callback"
|
|
544
544
|
]));
|
|
545
545
|
}
|
|
546
|
-
}), [["__scopeId", "data-v-aca89b02"]]),
|
|
546
|
+
}), [["__scopeId", "data-v-aca89b02"]]), Ze = /* @__PURE__ */ s({
|
|
547
547
|
__name: "Template",
|
|
548
548
|
props: {
|
|
549
549
|
name: {},
|
|
@@ -560,7 +560,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
560
560
|
callback: {}
|
|
561
561
|
},
|
|
562
562
|
setup(e) {
|
|
563
|
-
return (t, n) => (a(), r(
|
|
563
|
+
return (t, n) => (a(), r(Me, {
|
|
564
564
|
"listing-id": e.listingId,
|
|
565
565
|
gallery: e.images,
|
|
566
566
|
name: e.name,
|
|
@@ -581,13 +581,13 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
581
581
|
"callback"
|
|
582
582
|
]));
|
|
583
583
|
}
|
|
584
|
-
}),
|
|
584
|
+
}), Qe = {
|
|
585
585
|
key: 0,
|
|
586
586
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
587
|
-
},
|
|
587
|
+
}, $e = ["innerHTML"], et = { key: 0 }, tt = { key: 1 }, nt = { key: 2 }, rt = { key: 0 }, it = { key: 4 }, at = { key: 5 }, ot = { key: 6 }, st = { key: 0 }, ct = { key: 0 }, lt = { key: 1 }, ut = {
|
|
588
588
|
key: 0,
|
|
589
589
|
class: "konnectio-capitalize"
|
|
590
|
-
},
|
|
590
|
+
}, dt = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
591
591
|
__name: "EventReservationForm",
|
|
592
592
|
props: {
|
|
593
593
|
showGiftCard: {
|
|
@@ -601,11 +601,11 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
601
601
|
prevCallback: {}
|
|
602
602
|
},
|
|
603
603
|
setup(t) {
|
|
604
|
-
let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: N, discountCode:
|
|
605
|
-
return (f, v) => (a(), r(
|
|
606
|
-
"discount-code": d(
|
|
607
|
-
"onUpdate:discountCode": v[0] ||= (e) => m(
|
|
608
|
-
"validate-discount-code": d(
|
|
604
|
+
let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: N, discountCode: F, totalSelectedProducts: I, discountValue: L, appliedDiscountCode: te } = v(K()), { totalAddonPrice: ne, validateDiscountCode: R } = K(), { currency: V, hideEventLength: re } = v(M()), H = i("event.reservationNotice");
|
|
605
|
+
return (f, v) => (a(), r(ye, {
|
|
606
|
+
"discount-code": d(F),
|
|
607
|
+
"onUpdate:discountCode": v[0] ||= (e) => m(F) ? F.value = e : null,
|
|
608
|
+
"validate-discount-code": d(R),
|
|
609
609
|
"show-gift-card": t.showGiftCard,
|
|
610
610
|
"show-terms-notice": t.showTermsNotice,
|
|
611
611
|
"is-sidebar-loading": !d(s),
|
|
@@ -616,28 +616,28 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
616
616
|
notice: d(H),
|
|
617
617
|
"prev-callback": t.prevCallback
|
|
618
618
|
}, g({
|
|
619
|
-
form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(H) ? (a(), c("div",
|
|
619
|
+
form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(H) ? (a(), c("div", Qe, [u("p", {
|
|
620
620
|
innerHTML: d(H),
|
|
621
621
|
class: "konnectio-wysiwyg"
|
|
622
|
-
}, null, 8,
|
|
622
|
+
}, null, 8, $e)])) : n("", !0)]),
|
|
623
623
|
"reservation-summary": C(() => [
|
|
624
|
-
d(w) ? n("", !0) : (a(), c("li",
|
|
625
|
-
d(y) > 0 ? (a(), c("li",
|
|
626
|
-
!d(w) && d(
|
|
624
|
+
d(w) ? n("", !0) : (a(), c("li", et, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(P)(d(T))), 1)])),
|
|
625
|
+
d(y) > 0 ? (a(), c("li", tt, [u("span", null, _(d(i)("event.numberOfGuests")), 1), u("b", null, _(d(y)), 1)])) : n("", !0),
|
|
626
|
+
!d(w) && d(I) > 0 ? (a(), c("li", nt, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(I)), 1)])) : n("", !0),
|
|
627
627
|
d(w) ? (a(), c(p, { key: 3 }, [
|
|
628
|
-
u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(
|
|
629
|
-
u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(
|
|
628
|
+
u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(P)(d(D))), 1)]),
|
|
629
|
+
u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(P)(d(D), d(S))), 1)]),
|
|
630
630
|
u("li", null, [u("span", null, _(d(i)("event.numberOfRooms")), 1), u("b", null, _(d(b)), 1)]),
|
|
631
|
-
d(S) > 0 ? (a(), c("li",
|
|
631
|
+
d(S) > 0 ? (a(), c("li", rt, [u("span", null, _(d(i)("event.numberOfDays")), 1), u("b", null, _(d(S)), 1)])) : n("", !0)
|
|
632
632
|
], 64)) : n("", !0),
|
|
633
|
-
!d(w) && d(h) ? (a(), c("li",
|
|
634
|
-
!d(w) && d(E) && !d(re) ? (a(), c("li",
|
|
635
|
-
d(L) ? (a(), c("li",
|
|
633
|
+
!d(w) && d(h) ? (a(), c("li", it, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(z)(d(h))), 1)])) : n("", !0),
|
|
634
|
+
!d(w) && d(E) && !d(re) ? (a(), c("li", at, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(z)(d(E))), 1)])) : n("", !0),
|
|
635
|
+
d(L) ? (a(), c("li", ot, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(te)), 1)])) : n("", !0)
|
|
636
636
|
]),
|
|
637
|
-
"price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li",
|
|
637
|
+
"price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", st, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(B)(d(O), d(V))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(ne)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, _(d(i)("booking.reservation.addons")) + " - " + _(d(i)("booking.reservation.room")) + " #" + _(t + 1), 1), u("b", null, _(d(B)(d(ne)(e, t), d(V))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
|
|
638
638
|
navigation: C(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
|
|
639
|
-
"mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div",
|
|
640
|
-
"mobile-summary": C(() => [!d(w) && d(
|
|
639
|
+
"mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ct, [u("span", null, _(d(P)(d(D))) + " - " + _(d(P)(d(D), d(S))), 1)])) : (a(), c("div", lt, [u("span", null, _(d(P)(d(T))), 1)]))]),
|
|
640
|
+
"mobile-summary": C(() => [!d(w) && d(I) > 0 ? (a(), c("span", ut, _(d(i)("event.numberOfProducts")) + ": " + _(d(I)), 1)) : n("", !0)]),
|
|
641
641
|
_: 2
|
|
642
642
|
}, [d(o).sidebar ? {
|
|
643
643
|
name: "sidebar",
|
|
@@ -657,27 +657,27 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
657
657
|
"prev-callback"
|
|
658
658
|
]));
|
|
659
659
|
}
|
|
660
|
-
}), [["__scopeId", "data-v-c1e1c642"]]),
|
|
660
|
+
}), [["__scopeId", "data-v-c1e1c642"]]), ft = { class: "event-skeleton" }, pt = { class: "event-skeleton-content" }, mt = { class: "event-skeleton-sidebar" }, ht = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
661
661
|
__name: "EventSkeleton",
|
|
662
662
|
setup(e) {
|
|
663
|
-
return (e, t) => (a(), c("div",
|
|
663
|
+
return (e, t) => (a(), c("div", ft, [u("div", pt, [h(Ce)]), u("div", mt, [n("", !0), h(we)])]));
|
|
664
664
|
}
|
|
665
|
-
}), [["__scopeId", "data-v-af0e7efb"]]),
|
|
665
|
+
}), [["__scopeId", "data-v-af0e7efb"]]), gt = {
|
|
666
666
|
key: 0,
|
|
667
667
|
id: "konnectio-event-listings-wrapper"
|
|
668
|
-
},
|
|
668
|
+
}, _t = {
|
|
669
669
|
key: 0,
|
|
670
670
|
class: "konnectio-event-listings"
|
|
671
|
-
},
|
|
671
|
+
}, vt = {
|
|
672
672
|
key: 1,
|
|
673
673
|
class: "konnectio-hotel-availability-title"
|
|
674
|
-
},
|
|
674
|
+
}, yt = { class: "konnectio-event-listings" }, bt = { class: "konnectio-hotel-availability-title" }, xt = { class: "konnectio-event-listings" }, St = ["innerHTML"], Ct = { class: "konnectio-panel" }, wt = {
|
|
675
675
|
key: 0,
|
|
676
676
|
id: "konnectio-event-addons"
|
|
677
|
-
},
|
|
677
|
+
}, Tt = { class: "konnectio-table with-lines" }, Et = { class: "konnectio-event-addons-price" }, Dt = { class: "konnectio-event-addons-input" }, Ot = { class: "konnectio-event-addons-price" }, kt = { class: "konnectio-event-addons-price" }, At = {
|
|
678
678
|
key: 1,
|
|
679
679
|
class: "konnectio-table with-lines without-header"
|
|
680
|
-
},
|
|
680
|
+
}, jt = { class: "konnectio-table-addons-information" }, Mt = { key: 0 }, Nt = { class: "konnectio-table-addons-option" }, Pt = { class: "konnectio-panel" }, Ft = /*#__PURE__*/ L(/* @__PURE__ */ s({
|
|
681
681
|
name: "EventLayout",
|
|
682
682
|
__name: "Event",
|
|
683
683
|
props: {
|
|
@@ -695,7 +695,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
695
695
|
styling: {}
|
|
696
696
|
},
|
|
697
697
|
setup(e) {
|
|
698
|
-
let i = e, { t: o } = f(), s =
|
|
698
|
+
let i = e, { t: o } = f(), s = K(), { isHostedCheckoutActive: g } = v(ie()), { addons: y, products: b, numberOfDays: x, flagOnTable: S, numberOfHighChairs: w, name: D, phone: O, email: k, remark: A, allergies: P, arrivalTime: I, hasEvents: L, hasTemplates: R, getTemplates: V, getEventData: oe, getTemplateData: J, getEventTableData: ce, hasProducts: le, eventRateType: ue, areListingsAvailable: de, isAvailabilityDataAvailable: fe, hasListingData: pe, isPaymentLoading: me, isReservationFormFilled: he, requiresArrivalTime: ge, hasSelectedRequiredProducts: _e, getUnavailableEvents: Y, hasFallbackEvents: ye, getFallbackEvents: Se, excludeEventIds: we } = v(s), Ee = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(M()), { setActiveIdFilter: je } = M(), { eventDate: Me, eventLocation: Ne } = v(j()), { isValidRestaurantId: Pe } = j(), { initialize: Fe, fetchListings: Ie, createBooking: Le, localAddonPrice: Q, totalAddonPrice: Re, reset: ze, goBack: Ve } = K(), { beginEventCheckout: He } = ee(), { display: $ } = F(), Ue = T(() => [
|
|
699
699
|
{
|
|
700
700
|
id: "availability",
|
|
701
701
|
label: o("booking.availability.title"),
|
|
@@ -721,26 +721,26 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
721
721
|
label: o("booking.confirmation.title"),
|
|
722
722
|
icon: "calendar-check"
|
|
723
723
|
}
|
|
724
|
-
]),
|
|
724
|
+
]), We = T(() => {
|
|
725
725
|
let e = [];
|
|
726
|
-
return
|
|
726
|
+
return ce.value && ce.value.forEach((t) => {
|
|
727
727
|
e.find((e) => e.value === t.time) || e.push({
|
|
728
|
-
label:
|
|
728
|
+
label: z(t.time),
|
|
729
729
|
value: t.time
|
|
730
730
|
});
|
|
731
731
|
}), e;
|
|
732
732
|
});
|
|
733
|
-
function
|
|
734
|
-
|
|
733
|
+
function Ge() {
|
|
734
|
+
ze(i.resetDate === "yes");
|
|
735
735
|
}
|
|
736
|
-
function
|
|
737
|
-
Z.value &&
|
|
736
|
+
function Ke(e) {
|
|
737
|
+
Z.value && He(), Le(e);
|
|
738
738
|
}
|
|
739
|
-
function
|
|
740
|
-
let e =
|
|
741
|
-
if (n) if (
|
|
739
|
+
function qe() {
|
|
740
|
+
let e = ae("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
741
|
+
if (n) if (te(n)) {
|
|
742
742
|
let t = new Date(n);
|
|
743
|
-
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ?
|
|
743
|
+
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Me.value = t : ($({
|
|
744
744
|
message: o("alert.error.invalidDateRange"),
|
|
745
745
|
type: "error"
|
|
746
746
|
}), e.d = void 0);
|
|
@@ -748,30 +748,30 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
748
748
|
message: o("alert.error.wrongDateFormat"),
|
|
749
749
|
type: "error"
|
|
750
750
|
});
|
|
751
|
-
isNaN(t) || (
|
|
751
|
+
isNaN(t) || (Pe(t) ? Ne.value = t : (e.rid = void 0, $({
|
|
752
752
|
message: o("alert.error.hotelIdNotFound"),
|
|
753
753
|
type: "error"
|
|
754
|
-
}))), isNaN(r) ||
|
|
754
|
+
}))), isNaN(r) || je(String(r)), i.excludeEventIds && (we.value = i.excludeEventIds), Ie();
|
|
755
755
|
}
|
|
756
756
|
return (i, s) => (a(), r(re, { styling: e.styling }, {
|
|
757
|
-
default: C(() => [(a(), r(E, { onResolve:
|
|
758
|
-
default: C(() => [h(
|
|
757
|
+
default: C(() => [(a(), r(E, { onResolve: qe }, {
|
|
758
|
+
default: C(() => [h(se, {
|
|
759
759
|
id: "konnectio-event-module",
|
|
760
760
|
"access-token": e.accessToken,
|
|
761
|
-
callback: d(
|
|
761
|
+
callback: d(Fe)
|
|
762
762
|
}, {
|
|
763
|
-
default: C(() => [h(
|
|
764
|
-
steps:
|
|
765
|
-
onReset:
|
|
763
|
+
default: C(() => [h(Te, {
|
|
764
|
+
steps: Ue.value,
|
|
765
|
+
onReset: Ge
|
|
766
766
|
}, {
|
|
767
|
-
availability: C(({ next: t }) => [h(
|
|
768
|
-
sidebar: C(() => [h(
|
|
767
|
+
availability: C(({ next: t }) => [h(dt, null, {
|
|
768
|
+
sidebar: C(() => [h(ve, {
|
|
769
769
|
redirection: !1,
|
|
770
770
|
"selected-location": Number(e.selectedLocation),
|
|
771
771
|
"hide-locations": e.hideLocations === "yes"
|
|
772
772
|
}, null, 8, ["selected-location", "hide-locations"])]),
|
|
773
|
-
form: C(() => [d(
|
|
774
|
-
d(
|
|
773
|
+
form: C(() => [d(pe) && d(de) ? (a(), c("div", gt, [
|
|
774
|
+
d(ye) ? (a(), c("ul", _t, [(a(!0), c(p, null, l(d(Se), ({ id: e, name: n, description: i, images: o }) => (a(), r(Xe, {
|
|
775
775
|
key: e,
|
|
776
776
|
type: "event",
|
|
777
777
|
"listing-id": e,
|
|
@@ -788,12 +788,12 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
788
788
|
"tracking-enabled",
|
|
789
789
|
"callback"
|
|
790
790
|
]))), 128))])) : n("", !0),
|
|
791
|
-
|
|
791
|
+
Ee.value.length > 0 && d(Y).length > 0 ? (a(), c("h2", vt, [h(q, {
|
|
792
792
|
icon: "calendar-clock",
|
|
793
793
|
type: "fal",
|
|
794
794
|
color: "header"
|
|
795
795
|
}), u("span", null, _(d(o)("event.availableNow")), 1)])) : n("", !0),
|
|
796
|
-
u("ul",
|
|
796
|
+
u("ul", yt, [d(L) && e.onlyShow !== "templates" ? (a(!0), c(p, { key: 0 }, l(Ee.value, (e) => (a(), r(Be, {
|
|
797
797
|
name: e.name,
|
|
798
798
|
events: e.events ?? [],
|
|
799
799
|
"tracking-enabled": d(Z),
|
|
@@ -803,7 +803,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
803
803
|
"events",
|
|
804
804
|
"tracking-enabled",
|
|
805
805
|
"callback"
|
|
806
|
-
]))), 256)) : n("", !0), d(
|
|
806
|
+
]))), 256)) : n("", !0), d(R) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(V), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(Ze, {
|
|
807
807
|
key: e,
|
|
808
808
|
"listing-id": e,
|
|
809
809
|
name: n,
|
|
@@ -827,11 +827,11 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
827
827
|
"tracking-enabled",
|
|
828
828
|
"callback"
|
|
829
829
|
]))), 128)) : n("", !0)]),
|
|
830
|
-
d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2",
|
|
830
|
+
d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", bt, [h(q, {
|
|
831
831
|
icon: "calendar-circle-exclamation",
|
|
832
832
|
type: "fal",
|
|
833
833
|
color: "header"
|
|
834
|
-
}), u("span", null, _(d(o)("event.availableLater")), 1)]), u("ul",
|
|
834
|
+
}), u("span", null, _(d(o)("event.availableLater")), 1)]), u("ul", xt, [(a(!0), c(p, null, l(d(Y), (e) => (a(), r(Je, {
|
|
835
835
|
name: e.name,
|
|
836
836
|
events: e.events ?? [],
|
|
837
837
|
"tracking-enabled": d(Z),
|
|
@@ -842,75 +842,75 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
842
842
|
"tracking-enabled",
|
|
843
843
|
"callback"
|
|
844
844
|
]))), 256))])], 64)) : n("", !0),
|
|
845
|
-
(!d(
|
|
845
|
+
(!d(L) && !d(R) || !d(L) && e.onlyShow === "events" || !d(R) && e.onlyShow === "templates") && !d(ye) ? (a(), c("div", {
|
|
846
846
|
key: 3,
|
|
847
847
|
class: "konnectio-panel",
|
|
848
848
|
innerHTML: d(o)("event.nothingAvailable")
|
|
849
|
-
}, null, 8,
|
|
850
|
-
])) : (a(), r(
|
|
849
|
+
}, null, 8, St)) : n("", !0)
|
|
850
|
+
])) : (a(), r(Ce, { key: 1 }))]),
|
|
851
851
|
_: 2
|
|
852
852
|
}, 1024)]),
|
|
853
|
-
addons: C(({ next: e, prev: i }) => [d(
|
|
853
|
+
addons: C(({ next: e, prev: i }) => [d(fe) ? (a(), r(dt, {
|
|
854
854
|
key: 0,
|
|
855
|
-
"prev-callback": () => d(
|
|
855
|
+
"prev-callback": () => d(Ve)(i)
|
|
856
856
|
}, {
|
|
857
|
-
form: C(() => [u("form",
|
|
857
|
+
form: C(() => [u("form", Ct, [
|
|
858
858
|
u("h2", null, [u("span", null, _(d(o)("event.selectProducts")), 1)]),
|
|
859
|
-
d(
|
|
859
|
+
d(J) && d(J).length > 0 ? (a(), c("ul", wt, [(a(!0), c(p, null, l(d(J), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
|
|
860
860
|
u("span", null, _(d(o)("booking.reservation.room")) + " #" + _(f + 1), 1),
|
|
861
861
|
s[9] ||= t(" (", -1),
|
|
862
|
-
h(
|
|
862
|
+
h(q, {
|
|
863
863
|
icon: "male",
|
|
864
864
|
type: "fas",
|
|
865
865
|
color: "header"
|
|
866
866
|
}),
|
|
867
867
|
t(" " + _(i) + ") ", 1)
|
|
868
|
-
]), u("table",
|
|
868
|
+
]), u("table", Tt, [
|
|
869
869
|
u("thead", null, [u("tr", null, [
|
|
870
870
|
u("th", null, [u("span", null, _(d(o)("booking.reservation.addons")), 1)]),
|
|
871
871
|
s[10] ||= u("th", { class: "konnectio-event-addons-input" }, null, -1),
|
|
872
|
-
u("th",
|
|
872
|
+
u("th", Et, [u("span", null, _(d(o)("booking.availability.price")), 1)])
|
|
873
873
|
])]),
|
|
874
874
|
u("tbody", null, [(a(!0), c(p, null, l(n, ({ id: t, cardinality: n, name: i, price: o, quantityStrategy: l }) => (a(), c("tr", { key: t }, [
|
|
875
875
|
u("td", null, [
|
|
876
876
|
u("b", null, _(i), 1),
|
|
877
877
|
s[11] ||= u("br", null, null, -1),
|
|
878
|
-
u("span", null, _(d(
|
|
878
|
+
u("span", null, _(d(B)(o, d(X))) + " " + _(d(ne)(l)), 1)
|
|
879
879
|
]),
|
|
880
|
-
u("td",
|
|
880
|
+
u("td", Dt, [n === 3 ? (a(), r(W, {
|
|
881
881
|
key: 0,
|
|
882
|
-
modelValue: d(
|
|
883
|
-
"onUpdate:modelValue": (n) => d(
|
|
882
|
+
modelValue: d(y)[`${e}.${t}.${f}`],
|
|
883
|
+
"onUpdate:modelValue": (n) => d(y)[`${e}.${t}.${f}`] = n,
|
|
884
884
|
small: !0,
|
|
885
885
|
"min-value": 0
|
|
886
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), r(
|
|
886
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), r(Oe, {
|
|
887
887
|
key: 1,
|
|
888
|
-
modelValue: d(
|
|
889
|
-
"onUpdate:modelValue": (n) => d(
|
|
888
|
+
modelValue: d(y)[`${e}.${t}.${f}`],
|
|
889
|
+
"onUpdate:modelValue": (n) => d(y)[`${e}.${t}.${f}`] = n,
|
|
890
890
|
numeric: !0
|
|
891
891
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))]),
|
|
892
|
-
u("td",
|
|
892
|
+
u("td", Ot, [u("span", null, _(d(B)(d(Q)(t, e, f), d(X))), 1)])
|
|
893
893
|
]))), 128))]),
|
|
894
894
|
u("tfoot", null, [u("tr", null, [
|
|
895
895
|
s[12] ||= u("td", null, null, -1),
|
|
896
896
|
s[13] ||= u("td", null, null, -1),
|
|
897
|
-
u("td",
|
|
897
|
+
u("td", kt, [u("u", null, [u("span", null, _(d(B)(d(Re)(e, f), d(X))), 1)])])
|
|
898
898
|
])])
|
|
899
899
|
])]))), 128))])) : n("", !0),
|
|
900
|
-
d(
|
|
901
|
-
u("b", null, [u("span", null, _(d(
|
|
902
|
-
i && i !== t ? (a(), c("span",
|
|
903
|
-
u("u", null, _(d(
|
|
904
|
-
]), u("td",
|
|
905
|
-
modelValue: d(
|
|
906
|
-
"onUpdate:modelValue": (t) => d(
|
|
900
|
+
d(le) ? (a(), c("table", At, [u("tbody", null, [(a(!0), c(p, null, l(d(oe).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", jt, [
|
|
901
|
+
u("b", null, [u("span", null, _(d(N)(t)), 1)]),
|
|
902
|
+
i && i !== t ? (a(), c("span", Mt, _(d(N)(i)), 1)) : n("", !0),
|
|
903
|
+
u("u", null, _(d(B)(r, d(X))), 1)
|
|
904
|
+
]), u("td", Nt, [h(W, {
|
|
905
|
+
modelValue: d(b)[e],
|
|
906
|
+
"onUpdate:modelValue": (t) => d(b)[e] = t,
|
|
907
907
|
small: !0,
|
|
908
908
|
"min-value": 0
|
|
909
909
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : n("", !0)
|
|
910
910
|
])]),
|
|
911
|
-
navigation: C(() => [h(
|
|
911
|
+
navigation: C(() => [h(G, {
|
|
912
912
|
label: d(o)("event.startReservation"),
|
|
913
|
-
disabled: !d(
|
|
913
|
+
disabled: !d(_e),
|
|
914
914
|
"full-width": "",
|
|
915
915
|
onClickEvent: e
|
|
916
916
|
}, null, 8, [
|
|
@@ -920,16 +920,16 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
920
920
|
])]),
|
|
921
921
|
_: 2
|
|
922
922
|
}, 1032, ["prev-callback"])) : n("", !0)]),
|
|
923
|
-
reservation: C(({ next: t, prev: i }) => [h(
|
|
923
|
+
reservation: C(({ next: t, prev: i }) => [h(dt, {
|
|
924
924
|
"show-terms-notice": !0,
|
|
925
925
|
"show-gift-card": !0,
|
|
926
|
-
"prev-callback": () => d(
|
|
926
|
+
"prev-callback": () => d(Ve)(i)
|
|
927
927
|
}, {
|
|
928
|
-
form: C(() => [u("form",
|
|
928
|
+
form: C(() => [u("form", Pt, [
|
|
929
929
|
u("h2", null, [u("span", null, _(d(o)("booking.reservation.detailsTitle")), 1)]),
|
|
930
930
|
h(U, {
|
|
931
|
-
modelValue: d(
|
|
932
|
-
"onUpdate:modelValue": s[0] ||= (e) => m(
|
|
931
|
+
modelValue: d(D),
|
|
932
|
+
"onUpdate:modelValue": s[0] ||= (e) => m(D) ? D.value = e : null,
|
|
933
933
|
type: "text",
|
|
934
934
|
label: d(o)("booking.reservation.name"),
|
|
935
935
|
icon: "user-alt",
|
|
@@ -941,8 +941,8 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
941
941
|
"placeholder"
|
|
942
942
|
]),
|
|
943
943
|
h(U, {
|
|
944
|
-
modelValue: d(
|
|
945
|
-
"onUpdate:modelValue": s[1] ||= (e) => m(
|
|
944
|
+
modelValue: d(k),
|
|
945
|
+
"onUpdate:modelValue": s[1] ||= (e) => m(k) ? k.value = e : null,
|
|
946
946
|
label: d(o)("booking.reservation.email"),
|
|
947
947
|
type: "email",
|
|
948
948
|
name: "email",
|
|
@@ -955,9 +955,9 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
955
955
|
"label",
|
|
956
956
|
"placeholder"
|
|
957
957
|
]),
|
|
958
|
-
h(
|
|
959
|
-
modelValue: d(
|
|
960
|
-
"onUpdate:modelValue": s[2] ||= (e) => m(
|
|
958
|
+
h(De, {
|
|
959
|
+
modelValue: d(O),
|
|
960
|
+
"onUpdate:modelValue": s[2] ||= (e) => m(O) ? O.value = e : null,
|
|
961
961
|
label: d(o)("booking.reservation.phone"),
|
|
962
962
|
icon: "phone-office",
|
|
963
963
|
placeholder: d(o)("booking.reservation.phonePlaceholder"),
|
|
@@ -967,45 +967,45 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
967
967
|
"label",
|
|
968
968
|
"placeholder"
|
|
969
969
|
]),
|
|
970
|
-
d(
|
|
970
|
+
d(ge) ? (a(), r(be, {
|
|
971
971
|
key: 0,
|
|
972
|
-
modelValue: d(
|
|
973
|
-
"onUpdate:modelValue": s[3] ||= (e) => m(
|
|
972
|
+
modelValue: d(I),
|
|
973
|
+
"onUpdate:modelValue": s[3] ||= (e) => m(I) ? I.value = e : null,
|
|
974
974
|
label: d(o)("event.selectArrivalTime"),
|
|
975
975
|
name: "eventTimeTable",
|
|
976
|
-
checkboxes:
|
|
976
|
+
checkboxes: We.value,
|
|
977
977
|
required: ""
|
|
978
978
|
}, null, 8, [
|
|
979
979
|
"modelValue",
|
|
980
980
|
"label",
|
|
981
981
|
"checkboxes"
|
|
982
982
|
])) : n("", !0),
|
|
983
|
-
d(
|
|
983
|
+
d(ue) === d(H).FullDayEvent ? (a(), r(W, {
|
|
984
984
|
key: 1,
|
|
985
|
-
modelValue: d(
|
|
986
|
-
"onUpdate:modelValue": s[4] ||= (e) => m(
|
|
985
|
+
modelValue: d(x),
|
|
986
|
+
"onUpdate:modelValue": s[4] ||= (e) => m(x) ? x.value = e : null,
|
|
987
987
|
label: d(o)("event.numberOfDays"),
|
|
988
988
|
"min-value": 1,
|
|
989
989
|
required: ""
|
|
990
990
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
991
991
|
e.showHighChairs === "yes" ? (a(), r(W, {
|
|
992
992
|
key: 2,
|
|
993
|
-
modelValue: d(
|
|
994
|
-
"onUpdate:modelValue": s[5] ||= (e) => m(
|
|
993
|
+
modelValue: d(w),
|
|
994
|
+
"onUpdate:modelValue": s[5] ||= (e) => m(w) ? w.value = e : null,
|
|
995
995
|
label: d(o)("event.numberOfHighChairs"),
|
|
996
996
|
icon: "baby",
|
|
997
997
|
"no-optional-label": !1
|
|
998
998
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
999
|
-
e.showFlagOnTable === "yes" ? (a(), r(
|
|
999
|
+
e.showFlagOnTable === "yes" ? (a(), r(Oe, {
|
|
1000
1000
|
key: 3,
|
|
1001
|
-
modelValue: d(
|
|
1002
|
-
"onUpdate:modelValue": s[6] ||= (e) => m(
|
|
1001
|
+
modelValue: d(S),
|
|
1002
|
+
"onUpdate:modelValue": s[6] ||= (e) => m(S) ? S.value = e : null,
|
|
1003
1003
|
label: d(o)("event.flagOnTable")
|
|
1004
1004
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
1005
1005
|
e.hideRemarks === "yes" ? n("", !0) : (a(), r(U, {
|
|
1006
1006
|
key: 4,
|
|
1007
|
-
modelValue: d(
|
|
1008
|
-
"onUpdate:modelValue": s[7] ||= (e) => m(
|
|
1007
|
+
modelValue: d(A),
|
|
1008
|
+
"onUpdate:modelValue": s[7] ||= (e) => m(A) ? A.value = e : null,
|
|
1009
1009
|
type: "textarea",
|
|
1010
1010
|
label: d(o)("booking.reservation.remark"),
|
|
1011
1011
|
icon: "info-circle",
|
|
@@ -1015,10 +1015,10 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
1015
1015
|
"label",
|
|
1016
1016
|
"placeholder"
|
|
1017
1017
|
])),
|
|
1018
|
-
e.hideAllergies !== "yes" && d(
|
|
1018
|
+
e.hideAllergies !== "yes" && d(oe)?.showAllergyFoodFieldOnline ? (a(), r(U, {
|
|
1019
1019
|
key: 5,
|
|
1020
|
-
modelValue: d(
|
|
1021
|
-
"onUpdate:modelValue": s[8] ||= (e) => m(
|
|
1020
|
+
modelValue: d(P),
|
|
1021
|
+
"onUpdate:modelValue": s[8] ||= (e) => m(P) ? P.value = e : null,
|
|
1022
1022
|
type: "textarea",
|
|
1023
1023
|
label: d(o)("booking.reservation.allergies"),
|
|
1024
1024
|
icon: "allergies",
|
|
@@ -1029,12 +1029,12 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
1029
1029
|
"placeholder"
|
|
1030
1030
|
])) : n("", !0)
|
|
1031
1031
|
])]),
|
|
1032
|
-
navigation: C(() => [h(
|
|
1032
|
+
navigation: C(() => [d(g) ? (a(), r(ke, { key: 0 })) : n("", !0), h(G, {
|
|
1033
1033
|
label: d(o)("general.confirmReservation"),
|
|
1034
|
-
"is-loading": d(
|
|
1035
|
-
disabled: !d(
|
|
1034
|
+
"is-loading": d(me) || d(g),
|
|
1035
|
+
disabled: !d(he),
|
|
1036
1036
|
"full-width": "",
|
|
1037
|
-
onClickEvent: (e) =>
|
|
1037
|
+
onClickEvent: (e) => Ke(t)
|
|
1038
1038
|
}, null, 8, [
|
|
1039
1039
|
"label",
|
|
1040
1040
|
"is-loading",
|
|
@@ -1043,20 +1043,20 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
|
|
|
1043
1043
|
])]),
|
|
1044
1044
|
_: 2
|
|
1045
1045
|
}, 1032, ["prev-callback"])]),
|
|
1046
|
-
payment: C(() => [h(
|
|
1047
|
-
confirmation: C(() => [h(
|
|
1046
|
+
payment: C(() => [h(Ae)]),
|
|
1047
|
+
confirmation: C(() => [h(xe, { message: d(o)("event.confirmationMessage") }, null, 8, ["message"])]),
|
|
1048
1048
|
_: 1
|
|
1049
1049
|
}, 8, ["steps"])]),
|
|
1050
1050
|
_: 1
|
|
1051
1051
|
}, 8, ["access-token", "callback"])]),
|
|
1052
|
-
fallback: C(() => [h(
|
|
1052
|
+
fallback: C(() => [h(ht)]),
|
|
1053
1053
|
_: 1
|
|
1054
1054
|
}))]),
|
|
1055
1055
|
_: 1
|
|
1056
1056
|
}, 8, ["styling"]));
|
|
1057
1057
|
}
|
|
1058
|
-
}), [["__scopeId", "data-v-
|
|
1059
|
-
e.use(O), e.use(y), e.use(
|
|
1058
|
+
}), [["__scopeId", "data-v-c36cf4ac"]]), It = S(), Lt = b("konnectio-event", Ft, (e) => {
|
|
1059
|
+
e.use(O), e.use(y), e.use(It), e.use(Y), e.use(Ee);
|
|
1060
1060
|
});
|
|
1061
1061
|
//#endregion
|
|
1062
|
-
export {
|
|
1062
|
+
export { Lt as default };
|